Revision: 6392
Author: [email protected]
Date: Fri Oct 16 09:44:38 2009
Log: Add protobuf library, which is required by the generated Java files.
http://code.google.com/p/google-web-toolkit/source/detail?r=6392

Added:
   
/branches/remote-ui-communication/dev/core/src/com/google/gwt/dev/shell/remoteui/RemoteMessageProto.java
Modified:
  /branches/remote-ui-communication/dev/build.xml
  /branches/remote-ui-communication/eclipse/dev/.classpath

=======================================
--- /dev/null
+++  
/branches/remote-ui-communication/dev/core/src/com/google/gwt/dev/shell/remoteui/RemoteMessageProto.java
         
Fri Oct 16 09:44:38 2009
@@ -0,0 +1,8009 @@
+// Generated by the protocol buffer compiler.  DO NOT EDIT!
+
+package com.google.gwt.dev.shell.remoteui;
+
+public final class RemoteMessageProto {
+  private RemoteMessageProto() {}
+  public static void registerAllExtensions(
+      com.google.protobuf.ExtensionRegistry registry) {
+  }
+  public static final class Message extends
+      com.google.protobuf.GeneratedMessage {
+    // Use Message.newBuilder() to construct.
+    private Message() {}
+
+    private static final Message defaultInstance = new Message();
+    public static Message getDefaultInstance() {
+      return defaultInstance;
+    }
+
+    public Message getDefaultInstanceForType() {
+      return defaultInstance;
+    }
+
+    public static final com.google.protobuf.Descriptors.Descriptor
+        getDescriptor() {
+      return  
com.google.gwt.dev.shell.remoteui.RemoteMessageProto.internal_static_com_google_gwt_dev_shell_remoteui_Message_descriptor;
+    }
+
+    protected com.google.protobuf.GeneratedMessage.FieldAccessorTable
+        internalGetFieldAccessorTable() {
+      return  
com.google.gwt.dev.shell.remoteui.RemoteMessageProto.internal_static_com_google_gwt_dev_shell_remoteui_Message_fieldAccessorTable;
+    }
+
+    public enum MessageType
+        implements com.google.protobuf.ProtocolMessageEnum {
+      REQUEST(0, 0),
+      RESPONSE(1, 1),
+      ;
+
+
+      public final int getNumber() { return value; }
+
+      public static MessageType valueOf(int value) {
+        switch (value) {
+          case 0: return REQUEST;
+          case 1: return RESPONSE;
+          default: return null;
+        }
+      }
+
+      public static com.google.protobuf.Internal.EnumLiteMap<MessageType>
+          internalGetValueMap() {
+        return internalValueMap;
+      }
+      private static com.google.protobuf.Internal.EnumLiteMap<MessageType>
+          internalValueMap =
+            new com.google.protobuf.Internal.EnumLiteMap<MessageType>() {
+              public MessageType findValueByNumber(int number) {
+                return MessageType.valueOf(number)
+      ;        }
+            };
+
+      public final com.google.protobuf.Descriptors.EnumValueDescriptor
+          getValueDescriptor() {
+        return getDescriptor().getValues().get(index);
+      }
+      public final com.google.protobuf.Descriptors.EnumDescriptor
+          getDescriptorForType() {
+        return getDescriptor();
+      }
+      public static final com.google.protobuf.Descriptors.EnumDescriptor
+          getDescriptor() {
+        return  
com.google.gwt.dev.shell.remoteui.RemoteMessageProto.Message.getDescriptor().getEnumTypes().get(0);
+      }
+
+      private static final MessageType[] VALUES = {
+        REQUEST, RESPONSE,
+      };
+      public static MessageType valueOf(
+          com.google.protobuf.Descriptors.EnumValueDescriptor desc) {
+        if (desc.getType() != getDescriptor()) {
+          throw new java.lang.IllegalArgumentException(
+            "EnumValueDescriptor is not for this type.");
+        }
+        return VALUES[desc.getIndex()];
+      }
+      private final int index;
+      private final int value;
+      private MessageType(int index, int value) {
+        this.index = index;
+        this.value = value;
+      }
+
+      static {
+         
com.google.gwt.dev.shell.remoteui.RemoteMessageProto.getDescriptor();
+      }
+    }
+
+    public static final class Request extends
+        com.google.protobuf.GeneratedMessage {
+      // Use Request.newBuilder() to construct.
+      private Request() {}
+
+      private static final Request defaultInstance = new Request();
+      public static Request getDefaultInstance() {
+        return defaultInstance;
+      }
+
+      public Request getDefaultInstanceForType() {
+        return defaultInstance;
+      }
+
+      public static final com.google.protobuf.Descriptors.Descriptor
+          getDescriptor() {
+        return  
com.google.gwt.dev.shell.remoteui.RemoteMessageProto.internal_static_com_google_gwt_dev_shell_remoteui_Message_Request_descriptor;
+      }
+
+      protected com.google.protobuf.GeneratedMessage.FieldAccessorTable
+          internalGetFieldAccessorTable() {
+        return  
com.google.gwt.dev.shell.remoteui.RemoteMessageProto.internal_static_com_google_gwt_dev_shell_remoteui_Message_Request_fieldAccessorTable;
+      }
+
+      public enum ServiceType
+          implements com.google.protobuf.ProtocolMessageEnum {
+        VIEWER(0, 0),
+        DEV_MODE(1, 1),
+        ;
+
+
+        public final int getNumber() { return value; }
+
+        public static ServiceType valueOf(int value) {
+          switch (value) {
+            case 0: return VIEWER;
+            case 1: return DEV_MODE;
+            default: return null;
+          }
+        }
+
+        public static com.google.protobuf.Internal.EnumLiteMap<ServiceType>
+            internalGetValueMap() {
+          return internalValueMap;
+        }
+        private static  
com.google.protobuf.Internal.EnumLiteMap<ServiceType>
+            internalValueMap =
+              new com.google.protobuf.Internal.EnumLiteMap<ServiceType>() {
+                public ServiceType findValueByNumber(int number) {
+                  return ServiceType.valueOf(number)
+        ;        }
+              };
+
+        public final com.google.protobuf.Descriptors.EnumValueDescriptor
+            getValueDescriptor() {
+          return getDescriptor().getValues().get(index);
+        }
+        public final com.google.protobuf.Descriptors.EnumDescriptor
+            getDescriptorForType() {
+          return getDescriptor();
+        }
+        public static final com.google.protobuf.Descriptors.EnumDescriptor
+            getDescriptor() {
+          return  
com.google.gwt.dev.shell.remoteui.RemoteMessageProto.Message.Request.getDescriptor().getEnumTypes().get(0);
+        }
+
+        private static final ServiceType[] VALUES = {
+          VIEWER, DEV_MODE,
+        };
+        public static ServiceType valueOf(
+            com.google.protobuf.Descriptors.EnumValueDescriptor desc) {
+          if (desc.getType() != getDescriptor()) {
+            throw new java.lang.IllegalArgumentException(
+              "EnumValueDescriptor is not for this type.");
+          }
+          return VALUES[desc.getIndex()];
+        }
+        private final int index;
+        private final int value;
+        private ServiceType(int index, int value) {
+          this.index = index;
+          this.value = value;
+        }
+
+        static {
+           
com.google.gwt.dev.shell.remoteui.RemoteMessageProto.getDescriptor();
+        }
+      }
+
+      public static final class ViewerRequest extends
+          com.google.protobuf.GeneratedMessage {
+        // Use ViewerRequest.newBuilder() to construct.
+        private ViewerRequest() {}
+
+        private static final ViewerRequest defaultInstance = new  
ViewerRequest();
+        public static ViewerRequest getDefaultInstance() {
+          return defaultInstance;
+        }
+
+        public ViewerRequest getDefaultInstanceForType() {
+          return defaultInstance;
+        }
+
+        public static final com.google.protobuf.Descriptors.Descriptor
+            getDescriptor() {
+          return  
com.google.gwt.dev.shell.remoteui.RemoteMessageProto.internal_static_com_google_gwt_dev_shell_remoteui_Message_Request_ViewerRequest_descriptor;
+        }
+
+        protected com.google.protobuf.GeneratedMessage.FieldAccessorTable
+            internalGetFieldAccessorTable() {
+          return  
com.google.gwt.dev.shell.remoteui.RemoteMessageProto.internal_static_com_google_gwt_dev_shell_remoteui_Message_Request_ViewerRequest_fieldAccessorTable;
+        }
+
+        public enum RequestType
+            implements com.google.protobuf.ProtocolMessageEnum {
+          ADD_LOG(0, 0),
+          ADD_LOG_BRANCH(1, 1),
+          ADD_LOG_ENTRY(2, 2),
+          DISCONNECT_LOG(3, 3),
+          ;
+
+
+          public final int getNumber() { return value; }
+
+          public static RequestType valueOf(int value) {
+            switch (value) {
+              case 0: return ADD_LOG;
+              case 1: return ADD_LOG_BRANCH;
+              case 2: return ADD_LOG_ENTRY;
+              case 3: return DISCONNECT_LOG;
+              default: return null;
+            }
+          }
+
+          public static  
com.google.protobuf.Internal.EnumLiteMap<RequestType>
+              internalGetValueMap() {
+            return internalValueMap;
+          }
+          private static  
com.google.protobuf.Internal.EnumLiteMap<RequestType>
+              internalValueMap =
+                new  
com.google.protobuf.Internal.EnumLiteMap<RequestType>() {
+                  public RequestType findValueByNumber(int number) {
+                    return RequestType.valueOf(number)
+          ;        }
+                };
+
+          public final com.google.protobuf.Descriptors.EnumValueDescriptor
+              getValueDescriptor() {
+            return getDescriptor().getValues().get(index);
+          }
+          public final com.google.protobuf.Descriptors.EnumDescriptor
+              getDescriptorForType() {
+            return getDescriptor();
+          }
+          public static final  
com.google.protobuf.Descriptors.EnumDescriptor
+              getDescriptor() {
+            return  
com.google.gwt.dev.shell.remoteui.RemoteMessageProto.Message.Request.ViewerRequest.getDescriptor().getEnumTypes().get(0);
+          }
+
+          private static final RequestType[] VALUES = {
+            ADD_LOG, ADD_LOG_BRANCH, ADD_LOG_ENTRY, DISCONNECT_LOG,
+          };
+          public static RequestType valueOf(
+              com.google.protobuf.Descriptors.EnumValueDescriptor desc) {
+            if (desc.getType() != getDescriptor()) {
+              throw new java.lang.IllegalArgumentException(
+                "EnumValueDescriptor is not for this type.");
+            }
+            return VALUES[desc.getIndex()];
+          }
+          private final int index;
+          private final int value;
+          private RequestType(int index, int value) {
+            this.index = index;
+            this.value = value;
+          }
+
+          static {
+             
com.google.gwt.dev.shell.remoteui.RemoteMessageProto.getDescriptor();
+          }
+        }
+
+        public static final class AddLog extends
+            com.google.protobuf.GeneratedMessage {
+          // Use AddLog.newBuilder() to construct.
+          private AddLog() {}
+
+          private static final AddLog defaultInstance = new AddLog();
+          public static AddLog getDefaultInstance() {
+            return defaultInstance;
+          }
+
+          public AddLog getDefaultInstanceForType() {
+            return defaultInstance;
+          }
+
+          public static final com.google.protobuf.Descriptors.Descriptor
+              getDescriptor() {
+            return  
com.google.gwt.dev.shell.remoteui.RemoteMessageProto.internal_static_com_google_gwt_dev_shell_remoteui_Message_Request_ViewerRequest_AddLog_descriptor;
+          }
+
+          protected com.google.protobuf.GeneratedMessage.FieldAccessorTable
+              internalGetFieldAccessorTable() {
+            return  
com.google.gwt.dev.shell.remoteui.RemoteMessageProto.internal_static_com_google_gwt_dev_shell_remoteui_Message_Request_ViewerRequest_AddLog_fieldAccessorTable;
+          }
+
+          public enum LogType
+              implements com.google.protobuf.ProtocolMessageEnum {
+            BROWSER(0, 0),
+            MODULE(1, 1),
+            MAIN(2, 2),
+            ;
+
+
+            public final int getNumber() { return value; }
+
+            public static LogType valueOf(int value) {
+              switch (value) {
+                case 0: return BROWSER;
+                case 1: return MODULE;
+                case 2: return MAIN;
+                default: return null;
+              }
+            }
+
+            public static com.google.protobuf.Internal.EnumLiteMap<LogType>
+                internalGetValueMap() {
+              return internalValueMap;
+            }
+            private static  
com.google.protobuf.Internal.EnumLiteMap<LogType>
+                internalValueMap =
+                  new com.google.protobuf.Internal.EnumLiteMap<LogType>() {
+                    public LogType findValueByNumber(int number) {
+                      return LogType.valueOf(number)
+            ;        }
+                  };
+
+            public final  
com.google.protobuf.Descriptors.EnumValueDescriptor
+                getValueDescriptor() {
+              return getDescriptor().getValues().get(index);
+            }
+            public final com.google.protobuf.Descriptors.EnumDescriptor
+                getDescriptorForType() {
+              return getDescriptor();
+            }
+            public static final  
com.google.protobuf.Descriptors.EnumDescriptor
+                getDescriptor() {
+              return  
com.google.gwt.dev.shell.remoteui.RemoteMessageProto.Message.Request.ViewerRequest.AddLog.getDescriptor().getEnumTypes().get(0);
+            }
+
+            private static final LogType[] VALUES = {
+              BROWSER, MODULE, MAIN,
+            };
+            public static LogType valueOf(
+                com.google.protobuf.Descriptors.EnumValueDescriptor desc) {
+              if (desc.getType() != getDescriptor()) {
+                throw new java.lang.IllegalArgumentException(
+                  "EnumValueDescriptor is not for this type.");
+              }
+              return VALUES[desc.getIndex()];
+            }
+            private final int index;
+            private final int value;
+            private LogType(int index, int value) {
+              this.index = index;
+              this.value = value;
+            }
+
+            static {
+               
com.google.gwt.dev.shell.remoteui.RemoteMessageProto.getDescriptor();
+            }
+          }
+
+          public static final class ModuleLog extends
+              com.google.protobuf.GeneratedMessage {
+            // Use ModuleLog.newBuilder() to construct.
+            private ModuleLog() {}
+
+            private static final ModuleLog defaultInstance = new  
ModuleLog();
+            public static ModuleLog getDefaultInstance() {
+              return defaultInstance;
+            }
+
+            public ModuleLog getDefaultInstanceForType() {
+              return defaultInstance;
+            }
+
+            public static final com.google.protobuf.Descriptors.Descriptor
+                getDescriptor() {
+              return  
com.google.gwt.dev.shell.remoteui.RemoteMessageProto.internal_static_com_google_gwt_dev_shell_remoteui_Message_Request_ViewerRequest_AddLog_ModuleLog_descriptor;
+            }
+
+            protected  
com.google.protobuf.GeneratedMessage.FieldAccessorTable
+                internalGetFieldAccessorTable() {
+              return  
com.google.gwt.dev.shell.remoteui.RemoteMessageProto.internal_static_com_google_gwt_dev_shell_remoteui_Message_Request_ViewerRequest_AddLog_ModuleLog_fieldAccessorTable;
+            }
+
+            // required string name = 1;
+            public static final int NAME_FIELD_NUMBER = 1;
+            private boolean hasName;
+            private java.lang.String name_ = "";
+            public boolean hasName() { return hasName; }
+            public java.lang.String getName() { return name_; }
+
+            // optional bytes icon = 2;
+            public static final int ICON_FIELD_NUMBER = 2;
+            private boolean hasIcon;
+            private com.google.protobuf.ByteString icon_ =  
com.google.protobuf.ByteString.EMPTY;
+            public boolean hasIcon() { return hasIcon; }
+            public com.google.protobuf.ByteString getIcon() { return  
icon_; }
+
+            // required string sessionKey = 3;
+            public static final int SESSIONKEY_FIELD_NUMBER = 3;
+            private boolean hasSessionKey;
+            private java.lang.String sessionKey_ = "";
+            public boolean hasSessionKey() { return hasSessionKey; }
+            public java.lang.String getSessionKey() { return sessionKey_; }
+
+            // required string userAgent = 4;
+            public static final int USERAGENT_FIELD_NUMBER = 4;
+            private boolean hasUserAgent;
+            private java.lang.String userAgent_ = "";
+            public boolean hasUserAgent() { return hasUserAgent; }
+            public java.lang.String getUserAgent() { return userAgent_; }
+
+            // required string url = 5;
+            public static final int URL_FIELD_NUMBER = 5;
+            private boolean hasUrl;
+            private java.lang.String url_ = "";
+            public boolean hasUrl() { return hasUrl; }
+            public java.lang.String getUrl() { return url_; }
+
+            // required string tabKey = 6;
+            public static final int TABKEY_FIELD_NUMBER = 6;
+            private boolean hasTabKey;
+            private java.lang.String tabKey_ = "";
+            public boolean hasTabKey() { return hasTabKey; }
+            public java.lang.String getTabKey() { return tabKey_; }
+
+            // required string remoteHost = 7;
+            public static final int REMOTEHOST_FIELD_NUMBER = 7;
+            private boolean hasRemoteHost;
+            private java.lang.String remoteHost_ = "";
+            public boolean hasRemoteHost() { return hasRemoteHost; }
+            public java.lang.String getRemoteHost() { return remoteHost_; }
+
+            public final boolean isInitialized() {
+              if (!hasName) return false;
+              if (!hasSessionKey) return false;
+              if (!hasUserAgent) return false;
+              if (!hasUrl) return false;
+              if (!hasTabKey) return false;
+              if (!hasRemoteHost) return false;
+              return true;
+            }
+
+            public void writeTo(com.google.protobuf.CodedOutputStream  
output)
+                                throws java.io.IOException {
+              if (hasName()) {
+                output.writeString(1, getName());
+              }
+              if (hasIcon()) {
+                output.writeBytes(2, getIcon());
+              }
+              if (hasSessionKey()) {
+                output.writeString(3, getSessionKey());
+              }
+              if (hasUserAgent()) {
+                output.writeString(4, getUserAgent());
+              }
+              if (hasUrl()) {
+                output.writeString(5, getUrl());
+              }
+              if (hasTabKey()) {
+                output.writeString(6, getTabKey());
+              }
+              if (hasRemoteHost()) {
+                output.writeString(7, getRemoteHost());
+              }
+              getUnknownFields().writeTo(output);
+            }
+
+            private int memoizedSerializedSize = -1;
+            public int getSerializedSize() {
+              int size = memoizedSerializedSize;
+              if (size != -1) return size;
+
+              size = 0;
+              if (hasName()) {
+                size += com.google.protobuf.CodedOutputStream
+                  .computeStringSize(1, getName());
+              }
+              if (hasIcon()) {
+                size += com.google.protobuf.CodedOutputStream
+                  .computeBytesSize(2, getIcon());
+              }
+              if (hasSessionKey()) {
+                size += com.google.protobuf.CodedOutputStream
+                  .computeStringSize(3, getSessionKey());
+              }
+              if (hasUserAgent()) {
+                size += com.google.protobuf.CodedOutputStream
+                  .computeStringSize(4, getUserAgent());
+              }
+              if (hasUrl()) {
+                size += com.google.protobuf.CodedOutputStream
+                  .computeStringSize(5, getUrl());
+              }
+              if (hasTabKey()) {
+                size += com.google.protobuf.CodedOutputStream
+                  .computeStringSize(6, getTabKey());
+              }
+              if (hasRemoteHost()) {
+                size += com.google.protobuf.CodedOutputStream
+                  .computeStringSize(7, getRemoteHost());
+              }
+              size += getUnknownFields().getSerializedSize();
+              memoizedSerializedSize = size;
+              return size;
+            }
+
+            public static  
com.google.gwt.dev.shell.remoteui.RemoteMessageProto.Message.Request.ViewerRequest.AddLog.ModuleLog
  
parseFrom(
+                com.google.protobuf.ByteString data)
+                throws com.google.protobuf.InvalidProtocolBufferException {
+              return newBuilder().mergeFrom(data).buildParsed();
+            }
+            public static  
com.google.gwt.dev.shell.remoteui.RemoteMessageProto.Message.Request.ViewerRequest.AddLog.ModuleLog
  
parseFrom(
+                com.google.protobuf.ByteString data,
+                com.google.protobuf.ExtensionRegistryLite  
extensionRegistry)
+                throws com.google.protobuf.InvalidProtocolBufferException {
+              return newBuilder().mergeFrom(data, extensionRegistry)
+                       .buildParsed();
+            }
+            public static  
com.google.gwt.dev.shell.remoteui.RemoteMessageProto.Message.Request.ViewerRequest.AddLog.ModuleLog
  
parseFrom(byte[] data)
+                throws com.google.protobuf.InvalidProtocolBufferException {
+              return newBuilder().mergeFrom(data).buildParsed();
+            }
+            public static  
com.google.gwt.dev.shell.remoteui.RemoteMessageProto.Message.Request.ViewerRequest.AddLog.ModuleLog
  
parseFrom(
+                byte[] data,
+                com.google.protobuf.ExtensionRegistryLite  
extensionRegistry)
+                throws com.google.protobuf.InvalidProtocolBufferException {
+              return newBuilder().mergeFrom(data, extensionRegistry)
+                       .buildParsed();
+            }
+            public static  
com.google.gwt.dev.shell.remoteui.RemoteMessageProto.Message.Request.ViewerRequest.AddLog.ModuleLog
  
parseFrom(java.io.InputStream input)
+                throws java.io.IOException {
+              return newBuilder().mergeFrom(input).buildParsed();
+            }
+            public static  
com.google.gwt.dev.shell.remoteui.RemoteMessageProto.Message.Request.ViewerRequest.AddLog.ModuleLog
  
parseFrom(
+                java.io.InputStream input,
+                com.google.protobuf.ExtensionRegistryLite  
extensionRegistry)
+                throws java.io.IOException {
+              return newBuilder().mergeFrom(input, extensionRegistry)
+                       .buildParsed();
+            }
+            public static  
com.google.gwt.dev.shell.remoteui.RemoteMessageProto.Message.Request.ViewerRequest.AddLog.ModuleLog
  
parseDelimitedFrom(java.io.InputStream input)
+                throws java.io.IOException {
+              return newBuilder().mergeDelimitedFrom(input).buildParsed();
+            }
+            public static  
com.google.gwt.dev.shell.remoteui.RemoteMessageProto.Message.Request.ViewerRequest.AddLog.ModuleLog
  
parseDelimitedFrom(
+                java.io.InputStream input,
+                com.google.protobuf.ExtensionRegistryLite  
extensionRegistry)
+                throws java.io.IOException {
+              return newBuilder().mergeDelimitedFrom(input,  
extensionRegistry)
+                       .buildParsed();
+            }
+            public static  
com.google.gwt.dev.shell.remoteui.RemoteMessageProto.Message.Request.ViewerRequest.AddLog.ModuleLog
  
parseFrom(
+                com.google.protobuf.CodedInputStream input)
+                throws java.io.IOException {
+              return newBuilder().mergeFrom(input).buildParsed();
+            }
+            public static  
com.google.gwt.dev.shell.remoteui.RemoteMessageProto.Message.Request.ViewerRequest.AddLog.ModuleLog
  
parseFrom(
+                com.google.protobuf.CodedInputStream input,
+                com.google.protobuf.ExtensionRegistryLite  
extensionRegistry)
+                throws java.io.IOException {
+              return newBuilder().mergeFrom(input, extensionRegistry)
+                       .buildParsed();
+            }
+
+            public static Builder newBuilder() { return Builder.create(); }
+            public Builder newBuilderForType() { return newBuilder(); }
+            public static Builder  
newBuilder(com.google.gwt.dev.shell.remoteui.RemoteMessageProto.Message.Request.ViewerRequest.AddLog.ModuleLog
  
prototype) {
+              return newBuilder().mergeFrom(prototype);
+            }
+            public Builder toBuilder() { return newBuilder(this); }
+
+            public static final class Builder extends
+                com.google.protobuf.GeneratedMessage.Builder<Builder> {
+              private  
com.google.gwt.dev.shell.remoteui.RemoteMessageProto.Message.Request.ViewerRequest.AddLog.ModuleLog
  
result;
+
+              // Construct using  
com.google.gwt.dev.shell.remoteui.RemoteMessageProto.Message.Request.ViewerRequest.AddLog.ModuleLog.newBuilder()
+              private Builder() {}
+
+              private static Builder create() {
+                Builder builder = new Builder();
+                builder.result = new  
com.google.gwt.dev.shell.remoteui.RemoteMessageProto.Message.Request.ViewerRequest.AddLog.ModuleLog();
+                return builder;
+              }
+
+              protected  
com.google.gwt.dev.shell.remoteui.RemoteMessageProto.Message.Request.ViewerRequest.AddLog.ModuleLog
  
internalGetResult() {
+                return result;
+              }
+
+              public Builder clear() {
+                if (result == null) {
+                  throw new IllegalStateException(
+                    "Cannot call clear() after build().");
+                }
+                result = new  
com.google.gwt.dev.shell.remoteui.RemoteMessageProto.Message.Request.ViewerRequest.AddLog.ModuleLog();
+                return this;
+              }
+
+              public Builder clone() {
+                return create().mergeFrom(result);
+              }
+
+              public com.google.protobuf.Descriptors.Descriptor
+                  getDescriptorForType() {
+                return  
com.google.gwt.dev.shell.remoteui.RemoteMessageProto.Message.Request.ViewerRequest.AddLog.ModuleLog.getDescriptor();
+              }
+
+              public  
com.google.gwt.dev.shell.remoteui.RemoteMessageProto.Message.Request.ViewerRequest.AddLog.ModuleLog
  
getDefaultInstanceForType() {
+                return  
com.google.gwt.dev.shell.remoteui.RemoteMessageProto.Message.Request.ViewerRequest.AddLog.ModuleLog.getDefaultInstance();
+              }
+
+              public boolean isInitialized() {
+                return result.isInitialized();
+              }
+              public  
com.google.gwt.dev.shell.remoteui.RemoteMessageProto.Message.Request.ViewerRequest.AddLog.ModuleLog
  
build() {
+                if (result != null && !isInitialized()) {
+                  throw newUninitializedMessageException(result);
+                }
+                return buildPartial();
+              }
+
+              private  
com.google.gwt.dev.shell.remoteui.RemoteMessageProto.Message.Request.ViewerRequest.AddLog.ModuleLog
  
buildParsed()
+                  throws  
com.google.protobuf.InvalidProtocolBufferException {
+                if (!isInitialized()) {
+                  throw newUninitializedMessageException(
+                    result).asInvalidProtocolBufferException();
+                }
+                return buildPartial();
+              }
+
+              public  
com.google.gwt.dev.shell.remoteui.RemoteMessageProto.Message.Request.ViewerRequest.AddLog.ModuleLog
  
buildPartial() {
+                if (result == null) {
+                  throw new IllegalStateException(
+                    "build() has already been called on this Builder.");
+                }
+                 
com.google.gwt.dev.shell.remoteui.RemoteMessageProto.Message.Request.ViewerRequest.AddLog.ModuleLog
  
returnMe = result;
+                result = null;
+                return returnMe;
+              }
+
+              public Builder mergeFrom(com.google.protobuf.Message other) {
+                if (other instanceof  
com.google.gwt.dev.shell.remoteui.RemoteMessageProto.Message.Request.ViewerRequest.AddLog.ModuleLog)
  
{
+                  return  
mergeFrom((com.google.gwt.dev.shell.remoteui.RemoteMessageProto.Message.Request.ViewerRequest.AddLog.ModuleLog)other);
+                } else {
+                  super.mergeFrom(other);
+                  return this;
+                }
+              }
+
+              public Builder  
mergeFrom(com.google.gwt.dev.shell.remoteui.RemoteMessageProto.Message.Request.ViewerRequest.AddLog.ModuleLog
  
other) {
+                if (other ==  
com.google.gwt.dev.shell.remoteui.RemoteMessageProto.Message.Request.ViewerRequest.AddLog.ModuleLog.getDefaultInstance())
  
return this;
+                if (other.hasName()) {
+                  setName(other.getName());
+                }
+                if (other.hasIcon()) {
+                  setIcon(other.getIcon());
+                }
+                if (other.hasSessionKey()) {
+                  setSessionKey(other.getSessionKey());
+                }
+                if (other.hasUserAgent()) {
+                  setUserAgent(other.getUserAgent());
+                }
+                if (other.hasUrl()) {
+                  setUrl(other.getUrl());
+                }
+                if (other.hasTabKey()) {
+                  setTabKey(other.getTabKey());
+                }
+                if (other.hasRemoteHost()) {
+                  setRemoteHost(other.getRemoteHost());
+                }
+                this.mergeUnknownFields(other.getUnknownFields());
+                return this;
+              }
+
+              public Builder mergeFrom(
+                  com.google.protobuf.CodedInputStream input,
+                  com.google.protobuf.ExtensionRegistryLite  
extensionRegistry)
+                  throws java.io.IOException {
+                com.google.protobuf.UnknownFieldSet.Builder unknownFields =
+                  com.google.protobuf.UnknownFieldSet.newBuilder(
+                    this.getUnknownFields());
+                while (true) {
+                  int tag = input.readTag();
+                  switch (tag) {
+                    case 0:
+                      this.setUnknownFields(unknownFields.build());
+                      return this;
+                    default: {
+                      if (!parseUnknownField(input, unknownFields,
+                                             extensionRegistry, tag)) {
+                        this.setUnknownFields(unknownFields.build());
+                        return this;
+                      }
+                      break;
+                    }
+                    case 10: {
+                      setName(input.readString());
+                      break;
+                    }
+                    case 18: {
+                      setIcon(input.readBytes());
+                      break;
+                    }
+                    case 26: {
+                      setSessionKey(input.readString());
+                      break;
+                    }
+                    case 34: {
+                      setUserAgent(input.readString());
+                      break;
+                    }
+                    case 42: {
+                      setUrl(input.readString());
+                      break;
+                    }
+                    case 50: {
+                      setTabKey(input.readString());
+                      break;
+                    }
+                    case 58: {
+                      setRemoteHost(input.readString());
+                      break;
+                    }
+                  }
+                }
+              }
+
+
+              // required string name = 1;
+              public boolean hasName() {
+                return result.hasName();
+              }
+              public java.lang.String getName() {
+                return result.getName();
+              }
+              public Builder setName(java.lang.String value) {
+                if (value == null) {
+    throw new NullPointerException();
+  }
+  result.hasName = true;
+                result.name_ = value;
+                return this;
+              }
+              public Builder clearName() {
+                result.hasName = false;
+                result.name_ = getDefaultInstance().getName();
+                return this;
+              }
+
+              // optional bytes icon = 2;
+              public boolean hasIcon() {
+                return result.hasIcon();
+              }
+              public com.google.protobuf.ByteString getIcon() {
+                return result.getIcon();
+              }
+              public Builder setIcon(com.google.protobuf.ByteString value)  
{
+                if (value == null) {
+    throw new NullPointerException();
+  }
+  result.hasIcon = true;
+                result.icon_ = value;
+                return this;
+              }
+              public Builder clearIcon() {
+                result.hasIcon = false;
+                result.icon_ = getDefaultInstance().getIcon();
+                return this;
+              }
+
+              // required string sessionKey = 3;
+              public boolean hasSessionKey() {
+                return result.hasSessionKey();
+              }
+              public java.lang.String getSessionKey() {
+                return result.getSessionKey();
+              }
+              public Builder setSessionKey(java.lang.String value) {
+                if (value == null) {
+    throw new NullPointerException();
+  }
+  result.hasSessionKey = true;
+                result.sessionKey_ = value;
+                return this;
+              }
+              public Builder clearSessionKey() {
+                result.hasSessionKey = false;
+                result.sessionKey_ = getDefaultInstance().getSessionKey();
+                return this;
+              }
+
+              // required string userAgent = 4;
+              public boolean hasUserAgent() {
+                return result.hasUserAgent();
+              }
+              public java.lang.String getUserAgent() {
+                return result.getUserAgent();
+              }
+              public Builder setUserAgent(java.lang.String value) {
+                if (value == null) {
+    throw new NullPointerException();
+  }
+  result.hasUserAgent = true;
+                result.userAgent_ = value;
+                return this;
+              }
+              public Builder clearUserAgent() {
+                result.hasUserAgent = false;
+                result.userAgent_ = getDefaultInstance().getUserAgent();
+                return this;
+              }
+
+              // required string url = 5;
+              public boolean hasUrl() {
+                return result.hasUrl();
+              }
+              public java.lang.String getUrl() {
+                return result.getUrl();
+              }
+              public Builder setUrl(java.lang.String value) {
+                if (value == null) {
+    throw new NullPointerException();
+  }
+  result.hasUrl = true;
+                result.url_ = value;
+                return this;
+              }
+              public Builder clearUrl() {
+                result.hasUrl = false;
+                result.url_ = getDefaultInstance().getUrl();
+                return this;
+              }
+
+              // required string tabKey = 6;
+              public boolean hasTabKey() {
+                return result.hasTabKey();
+              }
+              public java.lang.String getTabKey() {
+                return result.getTabKey();
+              }
+              public Builder setTabKey(java.lang.String value) {
+                if (value == null) {
+    throw new NullPointerException();
+  }
+  result.hasTabKey = true;
+                result.tabKey_ = value;
+                return this;
+              }
+              public Builder clearTabKey() {
+                result.hasTabKey = false;
+                result.tabKey_ = getDefaultInstance().getTabKey();
+                return this;
+              }
+
+              // required string remoteHost = 7;
+              public boolean hasRemoteHost() {
+                return result.hasRemoteHost();
+              }
+              public java.lang.String getRemoteHost() {
+                return result.getRemoteHost();
+              }
+              public Builder setRemoteHost(java.lang.String value) {
+                if (value == null) {
+    throw new NullPointerException();
+  }
+  result.hasRemoteHost = true;
+                result.remoteHost_ = value;
+                return this;
+              }
+              public Builder clearRemoteHost() {
+                result.hasRemoteHost = false;
+                result.remoteHost_ = getDefaultInstance().getRemoteHost();
+                return this;
+              }
+            }
+
+            static {
+               
com.google.gwt.dev.shell.remoteui.RemoteMessageProto.getDescriptor();
+            }
+
+            static {
+               
com.google.gwt.dev.shell.remoteui.RemoteMessageProto.internalForceInit();
+            }
+          }
+
+          public static final class ServerLog extends
+              com.google.protobuf.GeneratedMessage {
+            // Use ServerLog.newBuilder() to construct.
+            private ServerLog() {}
+
+            private static final ServerLog defaultInstance = new  
ServerLog();
+            public static ServerLog getDefaultInstance() {
+              return defaultInstance;
+            }
+
+            public ServerLog getDefaultInstanceForType() {
+              return defaultInstance;
+            }
+
+            public static final com.google.protobuf.Descriptors.Descriptor
+                getDescriptor() {
+              return  
com.google.gwt.dev.shell.remoteui.RemoteMessageProto.internal_static_com_google_gwt_dev_shell_remoteui_Message_Request_ViewerRequest_AddLog_ServerLog_descriptor;
+            }
+
+            protected  
com.google.protobuf.GeneratedMessage.FieldAccessorTable
+                internalGetFieldAccessorTable() {
+              return  
com.google.gwt.dev.shell.remoteui.RemoteMessageProto.internal_static_com_google_gwt_dev_shell_remoteui_Message_Request_ViewerRequest_AddLog_ServerLog_fieldAccessorTable;
+            }
+
+            // required string name = 1;
+            public static final int NAME_FIELD_NUMBER = 1;
+            private boolean hasName;
+            private java.lang.String name_ = "";
+            public boolean hasName() { return hasName; }
+            public java.lang.String getName() { return name_; }
+
+            // optional bytes icon = 2;
+            public static final int ICON_FIELD_NUMBER = 2;
+            private boolean hasIcon;
+            private com.google.protobuf.ByteString icon_ =  
com.google.protobuf.ByteString.EMPTY;
+            public boolean hasIcon() { return hasIcon; }
+            public com.google.protobuf.ByteString getIcon() { return  
icon_; }
+
+            public final boolean isInitialized() {
+              if (!hasName) return false;
+              return true;
+            }
+
+            public void writeTo(com.google.protobuf.CodedOutputStream  
output)
+                                throws java.io.IOException {
+              if (hasName()) {
+                output.writeString(1, getName());
+              }
+              if (hasIcon()) {
+                output.writeBytes(2, getIcon());
+              }
+              getUnknownFields().writeTo(output);
+            }
+
+            private int memoizedSerializedSize = -1;
+            public int getSerializedSize() {
+              int size = memoizedSerializedSize;
+              if (size != -1) return size;
+
+              size = 0;
+              if (hasName()) {
+                size += com.google.protobuf.CodedOutputStream
+                  .computeStringSize(1, getName());
+              }
+              if (hasIcon()) {
+                size += com.google.protobuf.CodedOutputStream
+                  .computeBytesSize(2, getIcon());
+              }
+              size += getUnknownFields().getSerializedSize();
+              memoizedSerializedSize = size;
+              return size;
+            }
+
+            public static  
com.google.gwt.dev.shell.remoteui.RemoteMessageProto.Message.Request.ViewerRequest.AddLog.ServerLog
  
parseFrom(
+                com.google.protobuf.ByteString data)
+                throws com.google.protobuf.InvalidProtocolBufferException {
+              return newBuilder().mergeFrom(data).buildParsed();
+            }
+            public static  
com.google.gwt.dev.shell.remoteui.RemoteMessageProto.Message.Request.ViewerRequest.AddLog.ServerLog
  
parseFrom(
+                com.google.protobuf.ByteString data,
+                com.google.protobuf.ExtensionRegistryLite  
extensionRegistry)
+                throws com.google.protobuf.InvalidProtocolBufferException {
+              return newBuilder().mergeFrom(data, extensionRegistry)
+                       .buildParsed();
+            }
+            public static  
com.google.gwt.dev.shell.remoteui.RemoteMessageProto.Message.Request.ViewerRequest.AddLog.ServerLog
  
parseFrom(byte[] data)
+                throws com.google.protobuf.InvalidProtocolBufferException {
+              return newBuilder().mergeFrom(data).buildParsed();
+            }
+            public static  
com.google.gwt.dev.shell.remoteui.RemoteMessageProto.Message.Request.ViewerRequest.AddLog.ServerLog
  
parseFrom(
+                byte[] data,
+                com.google.protobuf.ExtensionRegistryLite  
extensionRegistry)
+                throws com.google.protobuf.InvalidProtocolBufferException {
+              return newBuilder().mergeFrom(data, extensionRegistry)
+                       .buildParsed();
+            }
+            public static  
com.google.gwt.dev.shell.remoteui.RemoteMessageProto.Message.Request.ViewerRequest.AddLog.ServerLog
  
parseFrom(java.io.InputStream input)
+                throws java.io.IOException {
+              return newBuilder().mergeFrom(input).buildParsed();
***The diff for this file has been truncated for email.***
=======================================
--- /branches/remote-ui-communication/dev/build.xml     Tue Oct 13 16:57:19 2009
+++ /branches/remote-ui-communication/dev/build.xml     Fri Oct 16 09:44:38 2009
@@ -68,6 +68,7 @@
            <include name="tomcat/tomcat-http11-1.0.jar" />
            <include name="tomcat/tomcat-jk2-2.1.jar" />
            <include name="tomcat/tomcat-util-5.1.jar" />
+          <include name="protobuf/protobuf-2.2.0.jar" />
            <!-- htmlunit dependencies not already included: BEGIN -->
            <include name="apache/commons/commons-codec-1.3.jar" />
            <include name="apache/commons/commons-httpclient-3.1.jar" />
@@ -123,6 +124,7 @@
            <zipfileset src="${gwt.tools.lib}/tomcat/tomcat-http11-1.0.jar"  
/>
            <zipfileset src="${gwt.tools.lib}/tomcat/tomcat-jk2-2.1.jar" />
            <zipfileset src="${gwt.tools.lib}/tomcat/tomcat-util-5.1.jar" />
+          <zipfileset src="${gwt.tools.lib}/protobuf/protobuf-2.2.0.jar" />
            <!-- htmlunit dependencies not already included: BEGIN -->
            <zipfileset  
src="${gwt.tools.lib}/apache/commons/commons-codec-1.3.jar" />
            <zipfileset  
src="${gwt.tools.lib}/apache/commons/commons-httpclient-3.1.jar" />
=======================================
--- /branches/remote-ui-communication/eclipse/dev/.classpath    Tue Oct 13  
19:01:20 2009
+++ /branches/remote-ui-communication/eclipse/dev/.classpath    Fri Oct 16  
09:44:38 2009
@@ -42,5 +42,6 @@
        <classpathentry kind="var"  
path="GWT_TOOLS/lib/sun/swingworker/swing-worker-1.1.jar"/>
        <classpathentry kind="var"  
path="GWT_TOOLS/lib/htmlunit/htmlunit-core-js-r5070.jar"  
sourcepath="/GWT_TOOLS/lib/htmlunit/htmlunit-core-js-r5070-sources.jar"/>
        <classpathentry kind="var"  
path="GWT_TOOLS/lib/htmlunit/htmlunit-r5070.jar"  
sourcepath="/GWT_TOOLS/lib/htmlunit/htmlunit-r5070-sources.jar"/>
+       <classpathentry kind="var"  
path="GWT_TOOLS/lib/protobuf/protobuf-2.2.0.jar"/>
        <classpathentry kind="output" path="bin"/>
  </classpath>

--~--~---------~--~----~------------~-------~--~----~
http://groups.google.com/group/Google-Web-Toolkit-Contributors
-~----------~----~----~----~------~----~------~--~---

Reply via email to