All Downloads are FREE. Search and download functionalities are using the official Maven repository.

com.sandpolis.core.net.Messages Maven / Gradle / Ivy

The newest version!
// Generated by the protocol buffer compiler.  DO NOT EDIT!
// source: com/sandpolis/core/net/messages.proto

package com.sandpolis.core.net;

public final class Messages {
  private Messages() {}
  public static void registerAllExtensions(
      com.google.protobuf.ExtensionRegistryLite registry) {
  }
  /**
   * Protobuf enum {@code core.net.RS_StopStream}
   */
  public enum RS_StopStream
      implements com.google.protobuf.Internal.EnumLite {
    /**
     * STOP_STREAM_OK = 0;
     */
    STOP_STREAM_OK(0),
    /**
     * STOP_STREAM_INVALID = 1;
     */
    STOP_STREAM_INVALID(1),
    UNRECOGNIZED(-1),
    ;

    /**
     * STOP_STREAM_OK = 0;
     */
    public static final int STOP_STREAM_OK_VALUE = 0;
    /**
     * STOP_STREAM_INVALID = 1;
     */
    public static final int STOP_STREAM_INVALID_VALUE = 1;


    @java.lang.Override
    public final int getNumber() {
      if (this == UNRECOGNIZED) {
        throw new java.lang.IllegalArgumentException(
            "Can't get the number of an unknown enum value.");
      }
      return value;
    }

    /**
     * @param value The number of the enum to look for.
     * @return The enum associated with the given number.
     * @deprecated Use {@link #forNumber(int)} instead.
     */
    @java.lang.Deprecated
    public static RS_StopStream valueOf(int value) {
      return forNumber(value);
    }

    public static RS_StopStream forNumber(int value) {
      switch (value) {
        case 0: return STOP_STREAM_OK;
        case 1: return STOP_STREAM_INVALID;
        default: return null;
      }
    }

    public static com.google.protobuf.Internal.EnumLiteMap
        internalGetValueMap() {
      return internalValueMap;
    }
    private static final com.google.protobuf.Internal.EnumLiteMap<
        RS_StopStream> internalValueMap =
          new com.google.protobuf.Internal.EnumLiteMap() {
            @java.lang.Override
            public RS_StopStream findValueByNumber(int number) {
              return RS_StopStream.forNumber(number);
            }
          };

    public static com.google.protobuf.Internal.EnumVerifier 
        internalGetVerifier() {
      return RS_StopStreamVerifier.INSTANCE;
    }

    private static final class RS_StopStreamVerifier implements 
         com.google.protobuf.Internal.EnumVerifier { 
            static final com.google.protobuf.Internal.EnumVerifier           INSTANCE = new RS_StopStreamVerifier();
            @java.lang.Override
            public boolean isInRange(int number) {
              return RS_StopStream.forNumber(number) != null;
            }
          };

    private final int value;

    private RS_StopStream(int value) {
      this.value = value;
    }

    // @@protoc_insertion_point(enum_scope:core.net.RS_StopStream)
  }

  public interface RQ_SessionOrBuilder extends
      // @@protoc_insertion_point(interface_extends:core.net.RQ_Session)
      com.google.protobuf.MessageLiteOrBuilder {

    /**
     * 
     * The UUID of the requesting instance
     * 
* * string instance_uuid = 1; * @return The instanceUuid. */ java.lang.String getInstanceUuid(); /** *
     * The UUID of the requesting instance
     * 
* * string instance_uuid = 1; * @return The bytes for instanceUuid. */ com.google.protobuf.ByteString getInstanceUuidBytes(); /** *
     * The instance type of the requesting instance
     * 
* * .core.instance.InstanceType instance_type = 2; * @return The enum numeric value on the wire for instanceType. */ int getInstanceTypeValue(); /** *
     * The instance type of the requesting instance
     * 
* * .core.instance.InstanceType instance_type = 2; * @return The instanceType. */ com.sandpolis.core.instance.Metatypes.InstanceType getInstanceType(); /** *
     * The instance flavor of the requesting instance
     * 
* * .core.instance.InstanceFlavor instance_flavor = 3; * @return The enum numeric value on the wire for instanceFlavor. */ int getInstanceFlavorValue(); /** *
     * The instance flavor of the requesting instance
     * 
* * .core.instance.InstanceFlavor instance_flavor = 3; * @return The instanceFlavor. */ com.sandpolis.core.instance.Metatypes.InstanceFlavor getInstanceFlavor(); } /** *
   * Request that a new session be created. Any previous sessions associated with the
   * instance are invalidated.
   * 
* * Protobuf type {@code core.net.RQ_Session} */ public static final class RQ_Session extends com.google.protobuf.GeneratedMessageLite< RQ_Session, RQ_Session.Builder> implements // @@protoc_insertion_point(message_implements:core.net.RQ_Session) RQ_SessionOrBuilder { private RQ_Session() { instanceUuid_ = ""; } public static final int INSTANCE_UUID_FIELD_NUMBER = 1; private java.lang.String instanceUuid_; /** *
     * The UUID of the requesting instance
     * 
* * string instance_uuid = 1; * @return The instanceUuid. */ @java.lang.Override public java.lang.String getInstanceUuid() { return instanceUuid_; } /** *
     * The UUID of the requesting instance
     * 
* * string instance_uuid = 1; * @return The bytes for instanceUuid. */ @java.lang.Override public com.google.protobuf.ByteString getInstanceUuidBytes() { return com.google.protobuf.ByteString.copyFromUtf8(instanceUuid_); } /** *
     * The UUID of the requesting instance
     * 
* * string instance_uuid = 1; * @param value The instanceUuid to set. */ private void setInstanceUuid( java.lang.String value) { java.lang.Class valueClass = value.getClass(); instanceUuid_ = value; } /** *
     * The UUID of the requesting instance
     * 
* * string instance_uuid = 1; */ private void clearInstanceUuid() { instanceUuid_ = getDefaultInstance().getInstanceUuid(); } /** *
     * The UUID of the requesting instance
     * 
* * string instance_uuid = 1; * @param value The bytes for instanceUuid to set. */ private void setInstanceUuidBytes( com.google.protobuf.ByteString value) { checkByteStringIsUtf8(value); instanceUuid_ = value.toStringUtf8(); } public static final int INSTANCE_TYPE_FIELD_NUMBER = 2; private int instanceType_; /** *
     * The instance type of the requesting instance
     * 
* * .core.instance.InstanceType instance_type = 2; * @return The enum numeric value on the wire for instanceType. */ @java.lang.Override public int getInstanceTypeValue() { return instanceType_; } /** *
     * The instance type of the requesting instance
     * 
* * .core.instance.InstanceType instance_type = 2; * @return The instanceType. */ @java.lang.Override public com.sandpolis.core.instance.Metatypes.InstanceType getInstanceType() { com.sandpolis.core.instance.Metatypes.InstanceType result = com.sandpolis.core.instance.Metatypes.InstanceType.forNumber(instanceType_); return result == null ? com.sandpolis.core.instance.Metatypes.InstanceType.UNRECOGNIZED : result; } /** *
     * The instance type of the requesting instance
     * 
* * .core.instance.InstanceType instance_type = 2; * @param value The enum numeric value on the wire for instanceType to set. */ private void setInstanceTypeValue(int value) { instanceType_ = value; } /** *
     * The instance type of the requesting instance
     * 
* * .core.instance.InstanceType instance_type = 2; * @param value The instanceType to set. */ private void setInstanceType(com.sandpolis.core.instance.Metatypes.InstanceType value) { instanceType_ = value.getNumber(); } /** *
     * The instance type of the requesting instance
     * 
* * .core.instance.InstanceType instance_type = 2; */ private void clearInstanceType() { instanceType_ = 0; } public static final int INSTANCE_FLAVOR_FIELD_NUMBER = 3; private int instanceFlavor_; /** *
     * The instance flavor of the requesting instance
     * 
* * .core.instance.InstanceFlavor instance_flavor = 3; * @return The enum numeric value on the wire for instanceFlavor. */ @java.lang.Override public int getInstanceFlavorValue() { return instanceFlavor_; } /** *
     * The instance flavor of the requesting instance
     * 
* * .core.instance.InstanceFlavor instance_flavor = 3; * @return The instanceFlavor. */ @java.lang.Override public com.sandpolis.core.instance.Metatypes.InstanceFlavor getInstanceFlavor() { com.sandpolis.core.instance.Metatypes.InstanceFlavor result = com.sandpolis.core.instance.Metatypes.InstanceFlavor.forNumber(instanceFlavor_); return result == null ? com.sandpolis.core.instance.Metatypes.InstanceFlavor.UNRECOGNIZED : result; } /** *
     * The instance flavor of the requesting instance
     * 
* * .core.instance.InstanceFlavor instance_flavor = 3; * @param value The enum numeric value on the wire for instanceFlavor to set. */ private void setInstanceFlavorValue(int value) { instanceFlavor_ = value; } /** *
     * The instance flavor of the requesting instance
     * 
* * .core.instance.InstanceFlavor instance_flavor = 3; * @param value The instanceFlavor to set. */ private void setInstanceFlavor(com.sandpolis.core.instance.Metatypes.InstanceFlavor value) { instanceFlavor_ = value.getNumber(); } /** *
     * The instance flavor of the requesting instance
     * 
* * .core.instance.InstanceFlavor instance_flavor = 3; */ private void clearInstanceFlavor() { instanceFlavor_ = 0; } public static com.sandpolis.core.net.Messages.RQ_Session parseFrom( java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return com.google.protobuf.GeneratedMessageLite.parseFrom( DEFAULT_INSTANCE, data); } public static com.sandpolis.core.net.Messages.RQ_Session parseFrom( java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return com.google.protobuf.GeneratedMessageLite.parseFrom( DEFAULT_INSTANCE, data, extensionRegistry); } public static com.sandpolis.core.net.Messages.RQ_Session parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return com.google.protobuf.GeneratedMessageLite.parseFrom( DEFAULT_INSTANCE, data); } public static com.sandpolis.core.net.Messages.RQ_Session parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return com.google.protobuf.GeneratedMessageLite.parseFrom( DEFAULT_INSTANCE, data, extensionRegistry); } public static com.sandpolis.core.net.Messages.RQ_Session parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return com.google.protobuf.GeneratedMessageLite.parseFrom( DEFAULT_INSTANCE, data); } public static com.sandpolis.core.net.Messages.RQ_Session parseFrom( byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return com.google.protobuf.GeneratedMessageLite.parseFrom( DEFAULT_INSTANCE, data, extensionRegistry); } public static com.sandpolis.core.net.Messages.RQ_Session parseFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageLite.parseFrom( DEFAULT_INSTANCE, input); } public static com.sandpolis.core.net.Messages.RQ_Session parseFrom( java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { return com.google.protobuf.GeneratedMessageLite.parseFrom( DEFAULT_INSTANCE, input, extensionRegistry); } public static com.sandpolis.core.net.Messages.RQ_Session parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { return parseDelimitedFrom(DEFAULT_INSTANCE, input); } public static com.sandpolis.core.net.Messages.RQ_Session parseDelimitedFrom( java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { return parseDelimitedFrom(DEFAULT_INSTANCE, input, extensionRegistry); } public static com.sandpolis.core.net.Messages.RQ_Session parseFrom( com.google.protobuf.CodedInputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageLite.parseFrom( DEFAULT_INSTANCE, input); } public static com.sandpolis.core.net.Messages.RQ_Session parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { return com.google.protobuf.GeneratedMessageLite.parseFrom( DEFAULT_INSTANCE, input, extensionRegistry); } public static Builder newBuilder() { return (Builder) DEFAULT_INSTANCE.createBuilder(); } public static Builder newBuilder(com.sandpolis.core.net.Messages.RQ_Session prototype) { return (Builder) DEFAULT_INSTANCE.createBuilder(prototype); } /** *
     * Request that a new session be created. Any previous sessions associated with the
     * instance are invalidated.
     * 
* * Protobuf type {@code core.net.RQ_Session} */ public static final class Builder extends com.google.protobuf.GeneratedMessageLite.Builder< com.sandpolis.core.net.Messages.RQ_Session, Builder> implements // @@protoc_insertion_point(builder_implements:core.net.RQ_Session) com.sandpolis.core.net.Messages.RQ_SessionOrBuilder { // Construct using com.sandpolis.core.net.Messages.RQ_Session.newBuilder() private Builder() { super(DEFAULT_INSTANCE); } /** *
       * The UUID of the requesting instance
       * 
* * string instance_uuid = 1; * @return The instanceUuid. */ @java.lang.Override public java.lang.String getInstanceUuid() { return instance.getInstanceUuid(); } /** *
       * The UUID of the requesting instance
       * 
* * string instance_uuid = 1; * @return The bytes for instanceUuid. */ @java.lang.Override public com.google.protobuf.ByteString getInstanceUuidBytes() { return instance.getInstanceUuidBytes(); } /** *
       * The UUID of the requesting instance
       * 
* * string instance_uuid = 1; * @param value The instanceUuid to set. * @return This builder for chaining. */ public Builder setInstanceUuid( java.lang.String value) { copyOnWrite(); instance.setInstanceUuid(value); return this; } /** *
       * The UUID of the requesting instance
       * 
* * string instance_uuid = 1; * @return This builder for chaining. */ public Builder clearInstanceUuid() { copyOnWrite(); instance.clearInstanceUuid(); return this; } /** *
       * The UUID of the requesting instance
       * 
* * string instance_uuid = 1; * @param value The bytes for instanceUuid to set. * @return This builder for chaining. */ public Builder setInstanceUuidBytes( com.google.protobuf.ByteString value) { copyOnWrite(); instance.setInstanceUuidBytes(value); return this; } /** *
       * The instance type of the requesting instance
       * 
* * .core.instance.InstanceType instance_type = 2; * @return The enum numeric value on the wire for instanceType. */ @java.lang.Override public int getInstanceTypeValue() { return instance.getInstanceTypeValue(); } /** *
       * The instance type of the requesting instance
       * 
* * .core.instance.InstanceType instance_type = 2; * @param value The instanceType to set. * @return This builder for chaining. */ public Builder setInstanceTypeValue(int value) { copyOnWrite(); instance.setInstanceTypeValue(value); return this; } /** *
       * The instance type of the requesting instance
       * 
* * .core.instance.InstanceType instance_type = 2; * @return The instanceType. */ @java.lang.Override public com.sandpolis.core.instance.Metatypes.InstanceType getInstanceType() { return instance.getInstanceType(); } /** *
       * The instance type of the requesting instance
       * 
* * .core.instance.InstanceType instance_type = 2; * @param value The enum numeric value on the wire for instanceType to set. * @return This builder for chaining. */ public Builder setInstanceType(com.sandpolis.core.instance.Metatypes.InstanceType value) { copyOnWrite(); instance.setInstanceType(value); return this; } /** *
       * The instance type of the requesting instance
       * 
* * .core.instance.InstanceType instance_type = 2; * @return This builder for chaining. */ public Builder clearInstanceType() { copyOnWrite(); instance.clearInstanceType(); return this; } /** *
       * The instance flavor of the requesting instance
       * 
* * .core.instance.InstanceFlavor instance_flavor = 3; * @return The enum numeric value on the wire for instanceFlavor. */ @java.lang.Override public int getInstanceFlavorValue() { return instance.getInstanceFlavorValue(); } /** *
       * The instance flavor of the requesting instance
       * 
* * .core.instance.InstanceFlavor instance_flavor = 3; * @param value The instanceFlavor to set. * @return This builder for chaining. */ public Builder setInstanceFlavorValue(int value) { copyOnWrite(); instance.setInstanceFlavorValue(value); return this; } /** *
       * The instance flavor of the requesting instance
       * 
* * .core.instance.InstanceFlavor instance_flavor = 3; * @return The instanceFlavor. */ @java.lang.Override public com.sandpolis.core.instance.Metatypes.InstanceFlavor getInstanceFlavor() { return instance.getInstanceFlavor(); } /** *
       * The instance flavor of the requesting instance
       * 
* * .core.instance.InstanceFlavor instance_flavor = 3; * @param value The enum numeric value on the wire for instanceFlavor to set. * @return This builder for chaining. */ public Builder setInstanceFlavor(com.sandpolis.core.instance.Metatypes.InstanceFlavor value) { copyOnWrite(); instance.setInstanceFlavor(value); return this; } /** *
       * The instance flavor of the requesting instance
       * 
* * .core.instance.InstanceFlavor instance_flavor = 3; * @return This builder for chaining. */ public Builder clearInstanceFlavor() { copyOnWrite(); instance.clearInstanceFlavor(); return this; } // @@protoc_insertion_point(builder_scope:core.net.RQ_Session) } @java.lang.Override @java.lang.SuppressWarnings({"unchecked", "fallthrough"}) protected final java.lang.Object dynamicMethod( com.google.protobuf.GeneratedMessageLite.MethodToInvoke method, java.lang.Object arg0, java.lang.Object arg1) { switch (method) { case NEW_MUTABLE_INSTANCE: { return new com.sandpolis.core.net.Messages.RQ_Session(); } case NEW_BUILDER: { return new Builder(); } case BUILD_MESSAGE_INFO: { java.lang.Object[] objects = new java.lang.Object[] { "instanceUuid_", "instanceType_", "instanceFlavor_", }; java.lang.String info = "\u0000\u0003\u0000\u0000\u0001\u0003\u0003\u0000\u0000\u0000\u0001\u0208\u0002\f" + "\u0003\f"; return newMessageInfo(DEFAULT_INSTANCE, info, objects); } // fall through case GET_DEFAULT_INSTANCE: { return DEFAULT_INSTANCE; } case GET_PARSER: { com.google.protobuf.Parser parser = PARSER; if (parser == null) { synchronized (com.sandpolis.core.net.Messages.RQ_Session.class) { parser = PARSER; if (parser == null) { parser = new DefaultInstanceBasedParser( DEFAULT_INSTANCE); PARSER = parser; } } } return parser; } case GET_MEMOIZED_IS_INITIALIZED: { return (byte) 1; } case SET_MEMOIZED_IS_INITIALIZED: { return null; } } throw new UnsupportedOperationException(); } // @@protoc_insertion_point(class_scope:core.net.RQ_Session) private static final com.sandpolis.core.net.Messages.RQ_Session DEFAULT_INSTANCE; static { RQ_Session defaultInstance = new RQ_Session(); // New instances are implicitly immutable so no need to make // immutable. DEFAULT_INSTANCE = defaultInstance; com.google.protobuf.GeneratedMessageLite.registerDefaultInstance( RQ_Session.class, defaultInstance); } public static com.sandpolis.core.net.Messages.RQ_Session getDefaultInstance() { return DEFAULT_INSTANCE; } private static volatile com.google.protobuf.Parser PARSER; public static com.google.protobuf.Parser parser() { return DEFAULT_INSTANCE.getParserForType(); } } public interface RS_SessionOrBuilder extends // @@protoc_insertion_point(interface_extends:core.net.RS_Session) com.google.protobuf.MessageLiteOrBuilder { /** *
     * A SID for the requesting instance
     * 
* * int32 instance_sid = 1; * @return The instanceSid. */ int getInstanceSid(); /** *
     * The SID of the server
     * 
* * int32 server_sid = 2; * @return The serverSid. */ int getServerSid(); /** *
     * The UUID of the server
     * 
* * string server_uuid = 3; * @return The serverUuid. */ java.lang.String getServerUuid(); /** *
     * The UUID of the server
     * 
* * string server_uuid = 3; * @return The bytes for serverUuid. */ com.google.protobuf.ByteString getServerUuidBytes(); } /** *
   * Respond to a session request with a successful result.
   * 
* * Protobuf type {@code core.net.RS_Session} */ public static final class RS_Session extends com.google.protobuf.GeneratedMessageLite< RS_Session, RS_Session.Builder> implements // @@protoc_insertion_point(message_implements:core.net.RS_Session) RS_SessionOrBuilder { private RS_Session() { serverUuid_ = ""; } public static final int INSTANCE_SID_FIELD_NUMBER = 1; private int instanceSid_; /** *
     * A SID for the requesting instance
     * 
* * int32 instance_sid = 1; * @return The instanceSid. */ @java.lang.Override public int getInstanceSid() { return instanceSid_; } /** *
     * A SID for the requesting instance
     * 
* * int32 instance_sid = 1; * @param value The instanceSid to set. */ private void setInstanceSid(int value) { instanceSid_ = value; } /** *
     * A SID for the requesting instance
     * 
* * int32 instance_sid = 1; */ private void clearInstanceSid() { instanceSid_ = 0; } public static final int SERVER_SID_FIELD_NUMBER = 2; private int serverSid_; /** *
     * The SID of the server
     * 
* * int32 server_sid = 2; * @return The serverSid. */ @java.lang.Override public int getServerSid() { return serverSid_; } /** *
     * The SID of the server
     * 
* * int32 server_sid = 2; * @param value The serverSid to set. */ private void setServerSid(int value) { serverSid_ = value; } /** *
     * The SID of the server
     * 
* * int32 server_sid = 2; */ private void clearServerSid() { serverSid_ = 0; } public static final int SERVER_UUID_FIELD_NUMBER = 3; private java.lang.String serverUuid_; /** *
     * The UUID of the server
     * 
* * string server_uuid = 3; * @return The serverUuid. */ @java.lang.Override public java.lang.String getServerUuid() { return serverUuid_; } /** *
     * The UUID of the server
     * 
* * string server_uuid = 3; * @return The bytes for serverUuid. */ @java.lang.Override public com.google.protobuf.ByteString getServerUuidBytes() { return com.google.protobuf.ByteString.copyFromUtf8(serverUuid_); } /** *
     * The UUID of the server
     * 
* * string server_uuid = 3; * @param value The serverUuid to set. */ private void setServerUuid( java.lang.String value) { java.lang.Class valueClass = value.getClass(); serverUuid_ = value; } /** *
     * The UUID of the server
     * 
* * string server_uuid = 3; */ private void clearServerUuid() { serverUuid_ = getDefaultInstance().getServerUuid(); } /** *
     * The UUID of the server
     * 
* * string server_uuid = 3; * @param value The bytes for serverUuid to set. */ private void setServerUuidBytes( com.google.protobuf.ByteString value) { checkByteStringIsUtf8(value); serverUuid_ = value.toStringUtf8(); } public static com.sandpolis.core.net.Messages.RS_Session parseFrom( java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return com.google.protobuf.GeneratedMessageLite.parseFrom( DEFAULT_INSTANCE, data); } public static com.sandpolis.core.net.Messages.RS_Session parseFrom( java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return com.google.protobuf.GeneratedMessageLite.parseFrom( DEFAULT_INSTANCE, data, extensionRegistry); } public static com.sandpolis.core.net.Messages.RS_Session parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return com.google.protobuf.GeneratedMessageLite.parseFrom( DEFAULT_INSTANCE, data); } public static com.sandpolis.core.net.Messages.RS_Session parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return com.google.protobuf.GeneratedMessageLite.parseFrom( DEFAULT_INSTANCE, data, extensionRegistry); } public static com.sandpolis.core.net.Messages.RS_Session parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return com.google.protobuf.GeneratedMessageLite.parseFrom( DEFAULT_INSTANCE, data); } public static com.sandpolis.core.net.Messages.RS_Session parseFrom( byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return com.google.protobuf.GeneratedMessageLite.parseFrom( DEFAULT_INSTANCE, data, extensionRegistry); } public static com.sandpolis.core.net.Messages.RS_Session parseFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageLite.parseFrom( DEFAULT_INSTANCE, input); } public static com.sandpolis.core.net.Messages.RS_Session parseFrom( java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { return com.google.protobuf.GeneratedMessageLite.parseFrom( DEFAULT_INSTANCE, input, extensionRegistry); } public static com.sandpolis.core.net.Messages.RS_Session parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { return parseDelimitedFrom(DEFAULT_INSTANCE, input); } public static com.sandpolis.core.net.Messages.RS_Session parseDelimitedFrom( java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { return parseDelimitedFrom(DEFAULT_INSTANCE, input, extensionRegistry); } public static com.sandpolis.core.net.Messages.RS_Session parseFrom( com.google.protobuf.CodedInputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageLite.parseFrom( DEFAULT_INSTANCE, input); } public static com.sandpolis.core.net.Messages.RS_Session parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { return com.google.protobuf.GeneratedMessageLite.parseFrom( DEFAULT_INSTANCE, input, extensionRegistry); } public static Builder newBuilder() { return (Builder) DEFAULT_INSTANCE.createBuilder(); } public static Builder newBuilder(com.sandpolis.core.net.Messages.RS_Session prototype) { return (Builder) DEFAULT_INSTANCE.createBuilder(prototype); } /** *
     * Respond to a session request with a successful result.
     * 
* * Protobuf type {@code core.net.RS_Session} */ public static final class Builder extends com.google.protobuf.GeneratedMessageLite.Builder< com.sandpolis.core.net.Messages.RS_Session, Builder> implements // @@protoc_insertion_point(builder_implements:core.net.RS_Session) com.sandpolis.core.net.Messages.RS_SessionOrBuilder { // Construct using com.sandpolis.core.net.Messages.RS_Session.newBuilder() private Builder() { super(DEFAULT_INSTANCE); } /** *
       * A SID for the requesting instance
       * 
* * int32 instance_sid = 1; * @return The instanceSid. */ @java.lang.Override public int getInstanceSid() { return instance.getInstanceSid(); } /** *
       * A SID for the requesting instance
       * 
* * int32 instance_sid = 1; * @param value The instanceSid to set. * @return This builder for chaining. */ public Builder setInstanceSid(int value) { copyOnWrite(); instance.setInstanceSid(value); return this; } /** *
       * A SID for the requesting instance
       * 
* * int32 instance_sid = 1; * @return This builder for chaining. */ public Builder clearInstanceSid() { copyOnWrite(); instance.clearInstanceSid(); return this; } /** *
       * The SID of the server
       * 
* * int32 server_sid = 2; * @return The serverSid. */ @java.lang.Override public int getServerSid() { return instance.getServerSid(); } /** *
       * The SID of the server
       * 
* * int32 server_sid = 2; * @param value The serverSid to set. * @return This builder for chaining. */ public Builder setServerSid(int value) { copyOnWrite(); instance.setServerSid(value); return this; } /** *
       * The SID of the server
       * 
* * int32 server_sid = 2; * @return This builder for chaining. */ public Builder clearServerSid() { copyOnWrite(); instance.clearServerSid(); return this; } /** *
       * The UUID of the server
       * 
* * string server_uuid = 3; * @return The serverUuid. */ @java.lang.Override public java.lang.String getServerUuid() { return instance.getServerUuid(); } /** *
       * The UUID of the server
       * 
* * string server_uuid = 3; * @return The bytes for serverUuid. */ @java.lang.Override public com.google.protobuf.ByteString getServerUuidBytes() { return instance.getServerUuidBytes(); } /** *
       * The UUID of the server
       * 
* * string server_uuid = 3; * @param value The serverUuid to set. * @return This builder for chaining. */ public Builder setServerUuid( java.lang.String value) { copyOnWrite(); instance.setServerUuid(value); return this; } /** *
       * The UUID of the server
       * 
* * string server_uuid = 3; * @return This builder for chaining. */ public Builder clearServerUuid() { copyOnWrite(); instance.clearServerUuid(); return this; } /** *
       * The UUID of the server
       * 
* * string server_uuid = 3; * @param value The bytes for serverUuid to set. * @return This builder for chaining. */ public Builder setServerUuidBytes( com.google.protobuf.ByteString value) { copyOnWrite(); instance.setServerUuidBytes(value); return this; } // @@protoc_insertion_point(builder_scope:core.net.RS_Session) } @java.lang.Override @java.lang.SuppressWarnings({"unchecked", "fallthrough"}) protected final java.lang.Object dynamicMethod( com.google.protobuf.GeneratedMessageLite.MethodToInvoke method, java.lang.Object arg0, java.lang.Object arg1) { switch (method) { case NEW_MUTABLE_INSTANCE: { return new com.sandpolis.core.net.Messages.RS_Session(); } case NEW_BUILDER: { return new Builder(); } case BUILD_MESSAGE_INFO: { java.lang.Object[] objects = new java.lang.Object[] { "instanceSid_", "serverSid_", "serverUuid_", }; java.lang.String info = "\u0000\u0003\u0000\u0000\u0001\u0003\u0003\u0000\u0000\u0000\u0001\u0004\u0002\u0004" + "\u0003\u0208"; return newMessageInfo(DEFAULT_INSTANCE, info, objects); } // fall through case GET_DEFAULT_INSTANCE: { return DEFAULT_INSTANCE; } case GET_PARSER: { com.google.protobuf.Parser parser = PARSER; if (parser == null) { synchronized (com.sandpolis.core.net.Messages.RS_Session.class) { parser = PARSER; if (parser == null) { parser = new DefaultInstanceBasedParser( DEFAULT_INSTANCE); PARSER = parser; } } } return parser; } case GET_MEMOIZED_IS_INITIALIZED: { return (byte) 1; } case SET_MEMOIZED_IS_INITIALIZED: { return null; } } throw new UnsupportedOperationException(); } // @@protoc_insertion_point(class_scope:core.net.RS_Session) private static final com.sandpolis.core.net.Messages.RS_Session DEFAULT_INSTANCE; static { RS_Session defaultInstance = new RS_Session(); // New instances are implicitly immutable so no need to make // immutable. DEFAULT_INSTANCE = defaultInstance; com.google.protobuf.GeneratedMessageLite.registerDefaultInstance( RS_Session.class, defaultInstance); } public static com.sandpolis.core.net.Messages.RS_Session getDefaultInstance() { return DEFAULT_INSTANCE; } private static volatile com.google.protobuf.Parser PARSER; public static com.google.protobuf.Parser parser() { return DEFAULT_INSTANCE.getParserForType(); } } public interface RQ_DirectConnectionOrBuilder extends // @@protoc_insertion_point(interface_extends:core.net.RQ_DirectConnection) com.google.protobuf.MessageLiteOrBuilder { /** *
     * The requested node
     * 
* * int32 sid = 1; * @return The sid. */ int getSid(); /** *
     * An optional listener port. If specified, the requested node will attempt
     * a connection on this port. Otherwise, the server will coordinate the connection.
     * 
* * int32 port = 3; * @return The port. */ int getPort(); } /** *
   * Request the server for a new direct connection.
   * 
* * Protobuf type {@code core.net.RQ_DirectConnection} */ public static final class RQ_DirectConnection extends com.google.protobuf.GeneratedMessageLite< RQ_DirectConnection, RQ_DirectConnection.Builder> implements // @@protoc_insertion_point(message_implements:core.net.RQ_DirectConnection) RQ_DirectConnectionOrBuilder { private RQ_DirectConnection() { } public static final int SID_FIELD_NUMBER = 1; private int sid_; /** *
     * The requested node
     * 
* * int32 sid = 1; * @return The sid. */ @java.lang.Override public int getSid() { return sid_; } /** *
     * The requested node
     * 
* * int32 sid = 1; * @param value The sid to set. */ private void setSid(int value) { sid_ = value; } /** *
     * The requested node
     * 
* * int32 sid = 1; */ private void clearSid() { sid_ = 0; } public static final int PORT_FIELD_NUMBER = 3; private int port_; /** *
     * An optional listener port. If specified, the requested node will attempt
     * a connection on this port. Otherwise, the server will coordinate the connection.
     * 
* * int32 port = 3; * @return The port. */ @java.lang.Override public int getPort() { return port_; } /** *
     * An optional listener port. If specified, the requested node will attempt
     * a connection on this port. Otherwise, the server will coordinate the connection.
     * 
* * int32 port = 3; * @param value The port to set. */ private void setPort(int value) { port_ = value; } /** *
     * An optional listener port. If specified, the requested node will attempt
     * a connection on this port. Otherwise, the server will coordinate the connection.
     * 
* * int32 port = 3; */ private void clearPort() { port_ = 0; } public static com.sandpolis.core.net.Messages.RQ_DirectConnection parseFrom( java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return com.google.protobuf.GeneratedMessageLite.parseFrom( DEFAULT_INSTANCE, data); } public static com.sandpolis.core.net.Messages.RQ_DirectConnection parseFrom( java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return com.google.protobuf.GeneratedMessageLite.parseFrom( DEFAULT_INSTANCE, data, extensionRegistry); } public static com.sandpolis.core.net.Messages.RQ_DirectConnection parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return com.google.protobuf.GeneratedMessageLite.parseFrom( DEFAULT_INSTANCE, data); } public static com.sandpolis.core.net.Messages.RQ_DirectConnection parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return com.google.protobuf.GeneratedMessageLite.parseFrom( DEFAULT_INSTANCE, data, extensionRegistry); } public static com.sandpolis.core.net.Messages.RQ_DirectConnection parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return com.google.protobuf.GeneratedMessageLite.parseFrom( DEFAULT_INSTANCE, data); } public static com.sandpolis.core.net.Messages.RQ_DirectConnection parseFrom( byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return com.google.protobuf.GeneratedMessageLite.parseFrom( DEFAULT_INSTANCE, data, extensionRegistry); } public static com.sandpolis.core.net.Messages.RQ_DirectConnection parseFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageLite.parseFrom( DEFAULT_INSTANCE, input); } public static com.sandpolis.core.net.Messages.RQ_DirectConnection parseFrom( java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { return com.google.protobuf.GeneratedMessageLite.parseFrom( DEFAULT_INSTANCE, input, extensionRegistry); } public static com.sandpolis.core.net.Messages.RQ_DirectConnection parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { return parseDelimitedFrom(DEFAULT_INSTANCE, input); } public static com.sandpolis.core.net.Messages.RQ_DirectConnection parseDelimitedFrom( java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { return parseDelimitedFrom(DEFAULT_INSTANCE, input, extensionRegistry); } public static com.sandpolis.core.net.Messages.RQ_DirectConnection parseFrom( com.google.protobuf.CodedInputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageLite.parseFrom( DEFAULT_INSTANCE, input); } public static com.sandpolis.core.net.Messages.RQ_DirectConnection parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { return com.google.protobuf.GeneratedMessageLite.parseFrom( DEFAULT_INSTANCE, input, extensionRegistry); } public static Builder newBuilder() { return (Builder) DEFAULT_INSTANCE.createBuilder(); } public static Builder newBuilder(com.sandpolis.core.net.Messages.RQ_DirectConnection prototype) { return (Builder) DEFAULT_INSTANCE.createBuilder(prototype); } /** *
     * Request the server for a new direct connection.
     * 
* * Protobuf type {@code core.net.RQ_DirectConnection} */ public static final class Builder extends com.google.protobuf.GeneratedMessageLite.Builder< com.sandpolis.core.net.Messages.RQ_DirectConnection, Builder> implements // @@protoc_insertion_point(builder_implements:core.net.RQ_DirectConnection) com.sandpolis.core.net.Messages.RQ_DirectConnectionOrBuilder { // Construct using com.sandpolis.core.net.Messages.RQ_DirectConnection.newBuilder() private Builder() { super(DEFAULT_INSTANCE); } /** *
       * The requested node
       * 
* * int32 sid = 1; * @return The sid. */ @java.lang.Override public int getSid() { return instance.getSid(); } /** *
       * The requested node
       * 
* * int32 sid = 1; * @param value The sid to set. * @return This builder for chaining. */ public Builder setSid(int value) { copyOnWrite(); instance.setSid(value); return this; } /** *
       * The requested node
       * 
* * int32 sid = 1; * @return This builder for chaining. */ public Builder clearSid() { copyOnWrite(); instance.clearSid(); return this; } /** *
       * An optional listener port. If specified, the requested node will attempt
       * a connection on this port. Otherwise, the server will coordinate the connection.
       * 
* * int32 port = 3; * @return The port. */ @java.lang.Override public int getPort() { return instance.getPort(); } /** *
       * An optional listener port. If specified, the requested node will attempt
       * a connection on this port. Otherwise, the server will coordinate the connection.
       * 
* * int32 port = 3; * @param value The port to set. * @return This builder for chaining. */ public Builder setPort(int value) { copyOnWrite(); instance.setPort(value); return this; } /** *
       * An optional listener port. If specified, the requested node will attempt
       * a connection on this port. Otherwise, the server will coordinate the connection.
       * 
* * int32 port = 3; * @return This builder for chaining. */ public Builder clearPort() { copyOnWrite(); instance.clearPort(); return this; } // @@protoc_insertion_point(builder_scope:core.net.RQ_DirectConnection) } @java.lang.Override @java.lang.SuppressWarnings({"unchecked", "fallthrough"}) protected final java.lang.Object dynamicMethod( com.google.protobuf.GeneratedMessageLite.MethodToInvoke method, java.lang.Object arg0, java.lang.Object arg1) { switch (method) { case NEW_MUTABLE_INSTANCE: { return new com.sandpolis.core.net.Messages.RQ_DirectConnection(); } case NEW_BUILDER: { return new Builder(); } case BUILD_MESSAGE_INFO: { java.lang.Object[] objects = new java.lang.Object[] { "sid_", "port_", }; java.lang.String info = "\u0000\u0002\u0000\u0000\u0001\u0003\u0002\u0000\u0000\u0000\u0001\u0004\u0003\u0004" + ""; return newMessageInfo(DEFAULT_INSTANCE, info, objects); } // fall through case GET_DEFAULT_INSTANCE: { return DEFAULT_INSTANCE; } case GET_PARSER: { com.google.protobuf.Parser parser = PARSER; if (parser == null) { synchronized (com.sandpolis.core.net.Messages.RQ_DirectConnection.class) { parser = PARSER; if (parser == null) { parser = new DefaultInstanceBasedParser( DEFAULT_INSTANCE); PARSER = parser; } } } return parser; } case GET_MEMOIZED_IS_INITIALIZED: { return (byte) 1; } case SET_MEMOIZED_IS_INITIALIZED: { return null; } } throw new UnsupportedOperationException(); } // @@protoc_insertion_point(class_scope:core.net.RQ_DirectConnection) private static final com.sandpolis.core.net.Messages.RQ_DirectConnection DEFAULT_INSTANCE; static { RQ_DirectConnection defaultInstance = new RQ_DirectConnection(); // New instances are implicitly immutable so no need to make // immutable. DEFAULT_INSTANCE = defaultInstance; com.google.protobuf.GeneratedMessageLite.registerDefaultInstance( RQ_DirectConnection.class, defaultInstance); } public static com.sandpolis.core.net.Messages.RQ_DirectConnection getDefaultInstance() { return DEFAULT_INSTANCE; } private static volatile com.google.protobuf.Parser PARSER; public static com.google.protobuf.Parser parser() { return DEFAULT_INSTANCE.getParserForType(); } } public interface RQ_CoordinateConnectionOrBuilder extends // @@protoc_insertion_point(interface_extends:core.net.RQ_CoordinateConnection) com.google.protobuf.MessageLiteOrBuilder { /** *
     * The host IP address
     * 
* * string host = 1; * @return The host. */ java.lang.String getHost(); /** *
     * The host IP address
     * 
* * string host = 1; * @return The bytes for host. */ com.google.protobuf.ByteString getHostBytes(); /** *
     * The port
     * 
* * int32 port = 2; * @return The port. */ int getPort(); /** *
     * The transport protocol type
     * 
* * string transport = 3; * @return The transport. */ java.lang.String getTransport(); /** *
     * The transport protocol type
     * 
* * string transport = 3; * @return The bytes for transport. */ com.google.protobuf.ByteString getTransportBytes(); /** *
     * The initial encryption key for the new connection.
     * 
* * bytes encryption_key = 4; * @return The encryptionKey. */ com.google.protobuf.ByteString getEncryptionKey(); } /** *
   * Request that the recieving instance establish a new connection to the given host.
   * 
* * Protobuf type {@code core.net.RQ_CoordinateConnection} */ public static final class RQ_CoordinateConnection extends com.google.protobuf.GeneratedMessageLite< RQ_CoordinateConnection, RQ_CoordinateConnection.Builder> implements // @@protoc_insertion_point(message_implements:core.net.RQ_CoordinateConnection) RQ_CoordinateConnectionOrBuilder { private RQ_CoordinateConnection() { host_ = ""; transport_ = ""; encryptionKey_ = com.google.protobuf.ByteString.EMPTY; } public static final int HOST_FIELD_NUMBER = 1; private java.lang.String host_; /** *
     * The host IP address
     * 
* * string host = 1; * @return The host. */ @java.lang.Override public java.lang.String getHost() { return host_; } /** *
     * The host IP address
     * 
* * string host = 1; * @return The bytes for host. */ @java.lang.Override public com.google.protobuf.ByteString getHostBytes() { return com.google.protobuf.ByteString.copyFromUtf8(host_); } /** *
     * The host IP address
     * 
* * string host = 1; * @param value The host to set. */ private void setHost( java.lang.String value) { java.lang.Class valueClass = value.getClass(); host_ = value; } /** *
     * The host IP address
     * 
* * string host = 1; */ private void clearHost() { host_ = getDefaultInstance().getHost(); } /** *
     * The host IP address
     * 
* * string host = 1; * @param value The bytes for host to set. */ private void setHostBytes( com.google.protobuf.ByteString value) { checkByteStringIsUtf8(value); host_ = value.toStringUtf8(); } public static final int PORT_FIELD_NUMBER = 2; private int port_; /** *
     * The port
     * 
* * int32 port = 2; * @return The port. */ @java.lang.Override public int getPort() { return port_; } /** *
     * The port
     * 
* * int32 port = 2; * @param value The port to set. */ private void setPort(int value) { port_ = value; } /** *
     * The port
     * 
* * int32 port = 2; */ private void clearPort() { port_ = 0; } public static final int TRANSPORT_FIELD_NUMBER = 3; private java.lang.String transport_; /** *
     * The transport protocol type
     * 
* * string transport = 3; * @return The transport. */ @java.lang.Override public java.lang.String getTransport() { return transport_; } /** *
     * The transport protocol type
     * 
* * string transport = 3; * @return The bytes for transport. */ @java.lang.Override public com.google.protobuf.ByteString getTransportBytes() { return com.google.protobuf.ByteString.copyFromUtf8(transport_); } /** *
     * The transport protocol type
     * 
* * string transport = 3; * @param value The transport to set. */ private void setTransport( java.lang.String value) { java.lang.Class valueClass = value.getClass(); transport_ = value; } /** *
     * The transport protocol type
     * 
* * string transport = 3; */ private void clearTransport() { transport_ = getDefaultInstance().getTransport(); } /** *
     * The transport protocol type
     * 
* * string transport = 3; * @param value The bytes for transport to set. */ private void setTransportBytes( com.google.protobuf.ByteString value) { checkByteStringIsUtf8(value); transport_ = value.toStringUtf8(); } public static final int ENCRYPTION_KEY_FIELD_NUMBER = 4; private com.google.protobuf.ByteString encryptionKey_; /** *
     * The initial encryption key for the new connection.
     * 
* * bytes encryption_key = 4; * @return The encryptionKey. */ @java.lang.Override public com.google.protobuf.ByteString getEncryptionKey() { return encryptionKey_; } /** *
     * The initial encryption key for the new connection.
     * 
* * bytes encryption_key = 4; * @param value The encryptionKey to set. */ private void setEncryptionKey(com.google.protobuf.ByteString value) { java.lang.Class valueClass = value.getClass(); encryptionKey_ = value; } /** *
     * The initial encryption key for the new connection.
     * 
* * bytes encryption_key = 4; */ private void clearEncryptionKey() { encryptionKey_ = getDefaultInstance().getEncryptionKey(); } public static com.sandpolis.core.net.Messages.RQ_CoordinateConnection parseFrom( java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return com.google.protobuf.GeneratedMessageLite.parseFrom( DEFAULT_INSTANCE, data); } public static com.sandpolis.core.net.Messages.RQ_CoordinateConnection parseFrom( java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return com.google.protobuf.GeneratedMessageLite.parseFrom( DEFAULT_INSTANCE, data, extensionRegistry); } public static com.sandpolis.core.net.Messages.RQ_CoordinateConnection parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return com.google.protobuf.GeneratedMessageLite.parseFrom( DEFAULT_INSTANCE, data); } public static com.sandpolis.core.net.Messages.RQ_CoordinateConnection parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return com.google.protobuf.GeneratedMessageLite.parseFrom( DEFAULT_INSTANCE, data, extensionRegistry); } public static com.sandpolis.core.net.Messages.RQ_CoordinateConnection parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return com.google.protobuf.GeneratedMessageLite.parseFrom( DEFAULT_INSTANCE, data); } public static com.sandpolis.core.net.Messages.RQ_CoordinateConnection parseFrom( byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return com.google.protobuf.GeneratedMessageLite.parseFrom( DEFAULT_INSTANCE, data, extensionRegistry); } public static com.sandpolis.core.net.Messages.RQ_CoordinateConnection parseFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageLite.parseFrom( DEFAULT_INSTANCE, input); } public static com.sandpolis.core.net.Messages.RQ_CoordinateConnection parseFrom( java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { return com.google.protobuf.GeneratedMessageLite.parseFrom( DEFAULT_INSTANCE, input, extensionRegistry); } public static com.sandpolis.core.net.Messages.RQ_CoordinateConnection parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { return parseDelimitedFrom(DEFAULT_INSTANCE, input); } public static com.sandpolis.core.net.Messages.RQ_CoordinateConnection parseDelimitedFrom( java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { return parseDelimitedFrom(DEFAULT_INSTANCE, input, extensionRegistry); } public static com.sandpolis.core.net.Messages.RQ_CoordinateConnection parseFrom( com.google.protobuf.CodedInputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageLite.parseFrom( DEFAULT_INSTANCE, input); } public static com.sandpolis.core.net.Messages.RQ_CoordinateConnection parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { return com.google.protobuf.GeneratedMessageLite.parseFrom( DEFAULT_INSTANCE, input, extensionRegistry); } public static Builder newBuilder() { return (Builder) DEFAULT_INSTANCE.createBuilder(); } public static Builder newBuilder(com.sandpolis.core.net.Messages.RQ_CoordinateConnection prototype) { return (Builder) DEFAULT_INSTANCE.createBuilder(prototype); } /** *
     * Request that the recieving instance establish a new connection to the given host.
     * 
* * Protobuf type {@code core.net.RQ_CoordinateConnection} */ public static final class Builder extends com.google.protobuf.GeneratedMessageLite.Builder< com.sandpolis.core.net.Messages.RQ_CoordinateConnection, Builder> implements // @@protoc_insertion_point(builder_implements:core.net.RQ_CoordinateConnection) com.sandpolis.core.net.Messages.RQ_CoordinateConnectionOrBuilder { // Construct using com.sandpolis.core.net.Messages.RQ_CoordinateConnection.newBuilder() private Builder() { super(DEFAULT_INSTANCE); } /** *
       * The host IP address
       * 
* * string host = 1; * @return The host. */ @java.lang.Override public java.lang.String getHost() { return instance.getHost(); } /** *
       * The host IP address
       * 
* * string host = 1; * @return The bytes for host. */ @java.lang.Override public com.google.protobuf.ByteString getHostBytes() { return instance.getHostBytes(); } /** *
       * The host IP address
       * 
* * string host = 1; * @param value The host to set. * @return This builder for chaining. */ public Builder setHost( java.lang.String value) { copyOnWrite(); instance.setHost(value); return this; } /** *
       * The host IP address
       * 
* * string host = 1; * @return This builder for chaining. */ public Builder clearHost() { copyOnWrite(); instance.clearHost(); return this; } /** *
       * The host IP address
       * 
* * string host = 1; * @param value The bytes for host to set. * @return This builder for chaining. */ public Builder setHostBytes( com.google.protobuf.ByteString value) { copyOnWrite(); instance.setHostBytes(value); return this; } /** *
       * The port
       * 
* * int32 port = 2; * @return The port. */ @java.lang.Override public int getPort() { return instance.getPort(); } /** *
       * The port
       * 
* * int32 port = 2; * @param value The port to set. * @return This builder for chaining. */ public Builder setPort(int value) { copyOnWrite(); instance.setPort(value); return this; } /** *
       * The port
       * 
* * int32 port = 2; * @return This builder for chaining. */ public Builder clearPort() { copyOnWrite(); instance.clearPort(); return this; } /** *
       * The transport protocol type
       * 
* * string transport = 3; * @return The transport. */ @java.lang.Override public java.lang.String getTransport() { return instance.getTransport(); } /** *
       * The transport protocol type
       * 
* * string transport = 3; * @return The bytes for transport. */ @java.lang.Override public com.google.protobuf.ByteString getTransportBytes() { return instance.getTransportBytes(); } /** *
       * The transport protocol type
       * 
* * string transport = 3; * @param value The transport to set. * @return This builder for chaining. */ public Builder setTransport( java.lang.String value) { copyOnWrite(); instance.setTransport(value); return this; } /** *
       * The transport protocol type
       * 
* * string transport = 3; * @return This builder for chaining. */ public Builder clearTransport() { copyOnWrite(); instance.clearTransport(); return this; } /** *
       * The transport protocol type
       * 
* * string transport = 3; * @param value The bytes for transport to set. * @return This builder for chaining. */ public Builder setTransportBytes( com.google.protobuf.ByteString value) { copyOnWrite(); instance.setTransportBytes(value); return this; } /** *
       * The initial encryption key for the new connection.
       * 
* * bytes encryption_key = 4; * @return The encryptionKey. */ @java.lang.Override public com.google.protobuf.ByteString getEncryptionKey() { return instance.getEncryptionKey(); } /** *
       * The initial encryption key for the new connection.
       * 
* * bytes encryption_key = 4; * @param value The encryptionKey to set. * @return This builder for chaining. */ public Builder setEncryptionKey(com.google.protobuf.ByteString value) { copyOnWrite(); instance.setEncryptionKey(value); return this; } /** *
       * The initial encryption key for the new connection.
       * 
* * bytes encryption_key = 4; * @return This builder for chaining. */ public Builder clearEncryptionKey() { copyOnWrite(); instance.clearEncryptionKey(); return this; } // @@protoc_insertion_point(builder_scope:core.net.RQ_CoordinateConnection) } @java.lang.Override @java.lang.SuppressWarnings({"unchecked", "fallthrough"}) protected final java.lang.Object dynamicMethod( com.google.protobuf.GeneratedMessageLite.MethodToInvoke method, java.lang.Object arg0, java.lang.Object arg1) { switch (method) { case NEW_MUTABLE_INSTANCE: { return new com.sandpolis.core.net.Messages.RQ_CoordinateConnection(); } case NEW_BUILDER: { return new Builder(); } case BUILD_MESSAGE_INFO: { java.lang.Object[] objects = new java.lang.Object[] { "host_", "port_", "transport_", "encryptionKey_", }; java.lang.String info = "\u0000\u0004\u0000\u0000\u0001\u0004\u0004\u0000\u0000\u0000\u0001\u0208\u0002\u0004" + "\u0003\u0208\u0004\n"; return newMessageInfo(DEFAULT_INSTANCE, info, objects); } // fall through case GET_DEFAULT_INSTANCE: { return DEFAULT_INSTANCE; } case GET_PARSER: { com.google.protobuf.Parser parser = PARSER; if (parser == null) { synchronized (com.sandpolis.core.net.Messages.RQ_CoordinateConnection.class) { parser = PARSER; if (parser == null) { parser = new DefaultInstanceBasedParser( DEFAULT_INSTANCE); PARSER = parser; } } } return parser; } case GET_MEMOIZED_IS_INITIALIZED: { return (byte) 1; } case SET_MEMOIZED_IS_INITIALIZED: { return null; } } throw new UnsupportedOperationException(); } // @@protoc_insertion_point(class_scope:core.net.RQ_CoordinateConnection) private static final com.sandpolis.core.net.Messages.RQ_CoordinateConnection DEFAULT_INSTANCE; static { RQ_CoordinateConnection defaultInstance = new RQ_CoordinateConnection(); // New instances are implicitly immutable so no need to make // immutable. DEFAULT_INSTANCE = defaultInstance; com.google.protobuf.GeneratedMessageLite.registerDefaultInstance( RQ_CoordinateConnection.class, defaultInstance); } public static com.sandpolis.core.net.Messages.RQ_CoordinateConnection getDefaultInstance() { return DEFAULT_INSTANCE; } private static volatile com.google.protobuf.Parser PARSER; public static com.google.protobuf.Parser parser() { return DEFAULT_INSTANCE.getParserForType(); } } public interface EV_NetworkChangeOrBuilder extends // @@protoc_insertion_point(interface_extends:core.net.EV_NetworkChange) com.google.protobuf.MessageLiteOrBuilder { /** * repeated .core.net.EV_NetworkChange.NodeAdded node_added = 1; */ java.util.List getNodeAddedList(); /** * repeated .core.net.EV_NetworkChange.NodeAdded node_added = 1; */ com.sandpolis.core.net.Messages.EV_NetworkChange.NodeAdded getNodeAdded(int index); /** * repeated .core.net.EV_NetworkChange.NodeAdded node_added = 1; */ int getNodeAddedCount(); /** * repeated .core.net.EV_NetworkChange.NodeRemoved node_removed = 2; */ java.util.List getNodeRemovedList(); /** * repeated .core.net.EV_NetworkChange.NodeRemoved node_removed = 2; */ com.sandpolis.core.net.Messages.EV_NetworkChange.NodeRemoved getNodeRemoved(int index); /** * repeated .core.net.EV_NetworkChange.NodeRemoved node_removed = 2; */ int getNodeRemovedCount(); /** * repeated .core.net.EV_NetworkChange.LinkAdded connection_added = 3; */ java.util.List getConnectionAddedList(); /** * repeated .core.net.EV_NetworkChange.LinkAdded connection_added = 3; */ com.sandpolis.core.net.Messages.EV_NetworkChange.LinkAdded getConnectionAdded(int index); /** * repeated .core.net.EV_NetworkChange.LinkAdded connection_added = 3; */ int getConnectionAddedCount(); /** * repeated .core.net.EV_NetworkChange.LinkRemoved connection_removed = 4; */ java.util.List getConnectionRemovedList(); /** * repeated .core.net.EV_NetworkChange.LinkRemoved connection_removed = 4; */ com.sandpolis.core.net.Messages.EV_NetworkChange.LinkRemoved getConnectionRemoved(int index); /** * repeated .core.net.EV_NetworkChange.LinkRemoved connection_removed = 4; */ int getConnectionRemovedCount(); } /** *
   * Indicates that some node in the network has changed in connection status.
   * 
* * Protobuf type {@code core.net.EV_NetworkChange} */ public static final class EV_NetworkChange extends com.google.protobuf.GeneratedMessageLite< EV_NetworkChange, EV_NetworkChange.Builder> implements // @@protoc_insertion_point(message_implements:core.net.EV_NetworkChange) EV_NetworkChangeOrBuilder { private EV_NetworkChange() { nodeAdded_ = emptyProtobufList(); nodeRemoved_ = emptyProtobufList(); connectionAdded_ = emptyProtobufList(); connectionRemoved_ = emptyProtobufList(); } public interface NodeAddedOrBuilder extends // @@protoc_insertion_point(interface_extends:core.net.EV_NetworkChange.NodeAdded) com.google.protobuf.MessageLiteOrBuilder { /** * int32 sid = 1; * @return The sid. */ int getSid(); /** * int32 parent = 2; * @return The parent. */ int getParent(); } /** * Protobuf type {@code core.net.EV_NetworkChange.NodeAdded} */ public static final class NodeAdded extends com.google.protobuf.GeneratedMessageLite< NodeAdded, NodeAdded.Builder> implements // @@protoc_insertion_point(message_implements:core.net.EV_NetworkChange.NodeAdded) NodeAddedOrBuilder { private NodeAdded() { } public static final int SID_FIELD_NUMBER = 1; private int sid_; /** * int32 sid = 1; * @return The sid. */ @java.lang.Override public int getSid() { return sid_; } /** * int32 sid = 1; * @param value The sid to set. */ private void setSid(int value) { sid_ = value; } /** * int32 sid = 1; */ private void clearSid() { sid_ = 0; } public static final int PARENT_FIELD_NUMBER = 2; private int parent_; /** * int32 parent = 2; * @return The parent. */ @java.lang.Override public int getParent() { return parent_; } /** * int32 parent = 2; * @param value The parent to set. */ private void setParent(int value) { parent_ = value; } /** * int32 parent = 2; */ private void clearParent() { parent_ = 0; } public static com.sandpolis.core.net.Messages.EV_NetworkChange.NodeAdded parseFrom( java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return com.google.protobuf.GeneratedMessageLite.parseFrom( DEFAULT_INSTANCE, data); } public static com.sandpolis.core.net.Messages.EV_NetworkChange.NodeAdded parseFrom( java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return com.google.protobuf.GeneratedMessageLite.parseFrom( DEFAULT_INSTANCE, data, extensionRegistry); } public static com.sandpolis.core.net.Messages.EV_NetworkChange.NodeAdded parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return com.google.protobuf.GeneratedMessageLite.parseFrom( DEFAULT_INSTANCE, data); } public static com.sandpolis.core.net.Messages.EV_NetworkChange.NodeAdded parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return com.google.protobuf.GeneratedMessageLite.parseFrom( DEFAULT_INSTANCE, data, extensionRegistry); } public static com.sandpolis.core.net.Messages.EV_NetworkChange.NodeAdded parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return com.google.protobuf.GeneratedMessageLite.parseFrom( DEFAULT_INSTANCE, data); } public static com.sandpolis.core.net.Messages.EV_NetworkChange.NodeAdded parseFrom( byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return com.google.protobuf.GeneratedMessageLite.parseFrom( DEFAULT_INSTANCE, data, extensionRegistry); } public static com.sandpolis.core.net.Messages.EV_NetworkChange.NodeAdded parseFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageLite.parseFrom( DEFAULT_INSTANCE, input); } public static com.sandpolis.core.net.Messages.EV_NetworkChange.NodeAdded parseFrom( java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { return com.google.protobuf.GeneratedMessageLite.parseFrom( DEFAULT_INSTANCE, input, extensionRegistry); } public static com.sandpolis.core.net.Messages.EV_NetworkChange.NodeAdded parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { return parseDelimitedFrom(DEFAULT_INSTANCE, input); } public static com.sandpolis.core.net.Messages.EV_NetworkChange.NodeAdded parseDelimitedFrom( java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { return parseDelimitedFrom(DEFAULT_INSTANCE, input, extensionRegistry); } public static com.sandpolis.core.net.Messages.EV_NetworkChange.NodeAdded parseFrom( com.google.protobuf.CodedInputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageLite.parseFrom( DEFAULT_INSTANCE, input); } public static com.sandpolis.core.net.Messages.EV_NetworkChange.NodeAdded parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { return com.google.protobuf.GeneratedMessageLite.parseFrom( DEFAULT_INSTANCE, input, extensionRegistry); } public static Builder newBuilder() { return (Builder) DEFAULT_INSTANCE.createBuilder(); } public static Builder newBuilder(com.sandpolis.core.net.Messages.EV_NetworkChange.NodeAdded prototype) { return (Builder) DEFAULT_INSTANCE.createBuilder(prototype); } /** * Protobuf type {@code core.net.EV_NetworkChange.NodeAdded} */ public static final class Builder extends com.google.protobuf.GeneratedMessageLite.Builder< com.sandpolis.core.net.Messages.EV_NetworkChange.NodeAdded, Builder> implements // @@protoc_insertion_point(builder_implements:core.net.EV_NetworkChange.NodeAdded) com.sandpolis.core.net.Messages.EV_NetworkChange.NodeAddedOrBuilder { // Construct using com.sandpolis.core.net.Messages.EV_NetworkChange.NodeAdded.newBuilder() private Builder() { super(DEFAULT_INSTANCE); } /** * int32 sid = 1; * @return The sid. */ @java.lang.Override public int getSid() { return instance.getSid(); } /** * int32 sid = 1; * @param value The sid to set. * @return This builder for chaining. */ public Builder setSid(int value) { copyOnWrite(); instance.setSid(value); return this; } /** * int32 sid = 1; * @return This builder for chaining. */ public Builder clearSid() { copyOnWrite(); instance.clearSid(); return this; } /** * int32 parent = 2; * @return The parent. */ @java.lang.Override public int getParent() { return instance.getParent(); } /** * int32 parent = 2; * @param value The parent to set. * @return This builder for chaining. */ public Builder setParent(int value) { copyOnWrite(); instance.setParent(value); return this; } /** * int32 parent = 2; * @return This builder for chaining. */ public Builder clearParent() { copyOnWrite(); instance.clearParent(); return this; } // @@protoc_insertion_point(builder_scope:core.net.EV_NetworkChange.NodeAdded) } @java.lang.Override @java.lang.SuppressWarnings({"unchecked", "fallthrough"}) protected final java.lang.Object dynamicMethod( com.google.protobuf.GeneratedMessageLite.MethodToInvoke method, java.lang.Object arg0, java.lang.Object arg1) { switch (method) { case NEW_MUTABLE_INSTANCE: { return new com.sandpolis.core.net.Messages.EV_NetworkChange.NodeAdded(); } case NEW_BUILDER: { return new Builder(); } case BUILD_MESSAGE_INFO: { java.lang.Object[] objects = new java.lang.Object[] { "sid_", "parent_", }; java.lang.String info = "\u0000\u0002\u0000\u0000\u0001\u0002\u0002\u0000\u0000\u0000\u0001\u0004\u0002\u0004" + ""; return newMessageInfo(DEFAULT_INSTANCE, info, objects); } // fall through case GET_DEFAULT_INSTANCE: { return DEFAULT_INSTANCE; } case GET_PARSER: { com.google.protobuf.Parser parser = PARSER; if (parser == null) { synchronized (com.sandpolis.core.net.Messages.EV_NetworkChange.NodeAdded.class) { parser = PARSER; if (parser == null) { parser = new DefaultInstanceBasedParser( DEFAULT_INSTANCE); PARSER = parser; } } } return parser; } case GET_MEMOIZED_IS_INITIALIZED: { return (byte) 1; } case SET_MEMOIZED_IS_INITIALIZED: { return null; } } throw new UnsupportedOperationException(); } // @@protoc_insertion_point(class_scope:core.net.EV_NetworkChange.NodeAdded) private static final com.sandpolis.core.net.Messages.EV_NetworkChange.NodeAdded DEFAULT_INSTANCE; static { NodeAdded defaultInstance = new NodeAdded(); // New instances are implicitly immutable so no need to make // immutable. DEFAULT_INSTANCE = defaultInstance; com.google.protobuf.GeneratedMessageLite.registerDefaultInstance( NodeAdded.class, defaultInstance); } public static com.sandpolis.core.net.Messages.EV_NetworkChange.NodeAdded getDefaultInstance() { return DEFAULT_INSTANCE; } private static volatile com.google.protobuf.Parser PARSER; public static com.google.protobuf.Parser parser() { return DEFAULT_INSTANCE.getParserForType(); } } public interface NodeRemovedOrBuilder extends // @@protoc_insertion_point(interface_extends:core.net.EV_NetworkChange.NodeRemoved) com.google.protobuf.MessageLiteOrBuilder { /** * int32 sid = 1; * @return The sid. */ int getSid(); } /** * Protobuf type {@code core.net.EV_NetworkChange.NodeRemoved} */ public static final class NodeRemoved extends com.google.protobuf.GeneratedMessageLite< NodeRemoved, NodeRemoved.Builder> implements // @@protoc_insertion_point(message_implements:core.net.EV_NetworkChange.NodeRemoved) NodeRemovedOrBuilder { private NodeRemoved() { } public static final int SID_FIELD_NUMBER = 1; private int sid_; /** * int32 sid = 1; * @return The sid. */ @java.lang.Override public int getSid() { return sid_; } /** * int32 sid = 1; * @param value The sid to set. */ private void setSid(int value) { sid_ = value; } /** * int32 sid = 1; */ private void clearSid() { sid_ = 0; } public static com.sandpolis.core.net.Messages.EV_NetworkChange.NodeRemoved parseFrom( java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return com.google.protobuf.GeneratedMessageLite.parseFrom( DEFAULT_INSTANCE, data); } public static com.sandpolis.core.net.Messages.EV_NetworkChange.NodeRemoved parseFrom( java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return com.google.protobuf.GeneratedMessageLite.parseFrom( DEFAULT_INSTANCE, data, extensionRegistry); } public static com.sandpolis.core.net.Messages.EV_NetworkChange.NodeRemoved parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return com.google.protobuf.GeneratedMessageLite.parseFrom( DEFAULT_INSTANCE, data); } public static com.sandpolis.core.net.Messages.EV_NetworkChange.NodeRemoved parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return com.google.protobuf.GeneratedMessageLite.parseFrom( DEFAULT_INSTANCE, data, extensionRegistry); } public static com.sandpolis.core.net.Messages.EV_NetworkChange.NodeRemoved parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return com.google.protobuf.GeneratedMessageLite.parseFrom( DEFAULT_INSTANCE, data); } public static com.sandpolis.core.net.Messages.EV_NetworkChange.NodeRemoved parseFrom( byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return com.google.protobuf.GeneratedMessageLite.parseFrom( DEFAULT_INSTANCE, data, extensionRegistry); } public static com.sandpolis.core.net.Messages.EV_NetworkChange.NodeRemoved parseFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageLite.parseFrom( DEFAULT_INSTANCE, input); } public static com.sandpolis.core.net.Messages.EV_NetworkChange.NodeRemoved parseFrom( java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { return com.google.protobuf.GeneratedMessageLite.parseFrom( DEFAULT_INSTANCE, input, extensionRegistry); } public static com.sandpolis.core.net.Messages.EV_NetworkChange.NodeRemoved parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { return parseDelimitedFrom(DEFAULT_INSTANCE, input); } public static com.sandpolis.core.net.Messages.EV_NetworkChange.NodeRemoved parseDelimitedFrom( java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { return parseDelimitedFrom(DEFAULT_INSTANCE, input, extensionRegistry); } public static com.sandpolis.core.net.Messages.EV_NetworkChange.NodeRemoved parseFrom( com.google.protobuf.CodedInputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageLite.parseFrom( DEFAULT_INSTANCE, input); } public static com.sandpolis.core.net.Messages.EV_NetworkChange.NodeRemoved parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { return com.google.protobuf.GeneratedMessageLite.parseFrom( DEFAULT_INSTANCE, input, extensionRegistry); } public static Builder newBuilder() { return (Builder) DEFAULT_INSTANCE.createBuilder(); } public static Builder newBuilder(com.sandpolis.core.net.Messages.EV_NetworkChange.NodeRemoved prototype) { return (Builder) DEFAULT_INSTANCE.createBuilder(prototype); } /** * Protobuf type {@code core.net.EV_NetworkChange.NodeRemoved} */ public static final class Builder extends com.google.protobuf.GeneratedMessageLite.Builder< com.sandpolis.core.net.Messages.EV_NetworkChange.NodeRemoved, Builder> implements // @@protoc_insertion_point(builder_implements:core.net.EV_NetworkChange.NodeRemoved) com.sandpolis.core.net.Messages.EV_NetworkChange.NodeRemovedOrBuilder { // Construct using com.sandpolis.core.net.Messages.EV_NetworkChange.NodeRemoved.newBuilder() private Builder() { super(DEFAULT_INSTANCE); } /** * int32 sid = 1; * @return The sid. */ @java.lang.Override public int getSid() { return instance.getSid(); } /** * int32 sid = 1; * @param value The sid to set. * @return This builder for chaining. */ public Builder setSid(int value) { copyOnWrite(); instance.setSid(value); return this; } /** * int32 sid = 1; * @return This builder for chaining. */ public Builder clearSid() { copyOnWrite(); instance.clearSid(); return this; } // @@protoc_insertion_point(builder_scope:core.net.EV_NetworkChange.NodeRemoved) } @java.lang.Override @java.lang.SuppressWarnings({"unchecked", "fallthrough"}) protected final java.lang.Object dynamicMethod( com.google.protobuf.GeneratedMessageLite.MethodToInvoke method, java.lang.Object arg0, java.lang.Object arg1) { switch (method) { case NEW_MUTABLE_INSTANCE: { return new com.sandpolis.core.net.Messages.EV_NetworkChange.NodeRemoved(); } case NEW_BUILDER: { return new Builder(); } case BUILD_MESSAGE_INFO: { java.lang.Object[] objects = new java.lang.Object[] { "sid_", }; java.lang.String info = "\u0000\u0001\u0000\u0000\u0001\u0001\u0001\u0000\u0000\u0000\u0001\u0004"; return newMessageInfo(DEFAULT_INSTANCE, info, objects); } // fall through case GET_DEFAULT_INSTANCE: { return DEFAULT_INSTANCE; } case GET_PARSER: { com.google.protobuf.Parser parser = PARSER; if (parser == null) { synchronized (com.sandpolis.core.net.Messages.EV_NetworkChange.NodeRemoved.class) { parser = PARSER; if (parser == null) { parser = new DefaultInstanceBasedParser( DEFAULT_INSTANCE); PARSER = parser; } } } return parser; } case GET_MEMOIZED_IS_INITIALIZED: { return (byte) 1; } case SET_MEMOIZED_IS_INITIALIZED: { return null; } } throw new UnsupportedOperationException(); } // @@protoc_insertion_point(class_scope:core.net.EV_NetworkChange.NodeRemoved) private static final com.sandpolis.core.net.Messages.EV_NetworkChange.NodeRemoved DEFAULT_INSTANCE; static { NodeRemoved defaultInstance = new NodeRemoved(); // New instances are implicitly immutable so no need to make // immutable. DEFAULT_INSTANCE = defaultInstance; com.google.protobuf.GeneratedMessageLite.registerDefaultInstance( NodeRemoved.class, defaultInstance); } public static com.sandpolis.core.net.Messages.EV_NetworkChange.NodeRemoved getDefaultInstance() { return DEFAULT_INSTANCE; } private static volatile com.google.protobuf.Parser PARSER; public static com.google.protobuf.Parser parser() { return DEFAULT_INSTANCE.getParserForType(); } } public interface LinkAddedOrBuilder extends // @@protoc_insertion_point(interface_extends:core.net.EV_NetworkChange.LinkAdded) com.google.protobuf.MessageLiteOrBuilder { /** * int32 cvid1 = 1; * @return The cvid1. */ int getCvid1(); /** * int32 cvid2 = 2; * @return The cvid2. */ int getCvid2(); } /** * Protobuf type {@code core.net.EV_NetworkChange.LinkAdded} */ public static final class LinkAdded extends com.google.protobuf.GeneratedMessageLite< LinkAdded, LinkAdded.Builder> implements // @@protoc_insertion_point(message_implements:core.net.EV_NetworkChange.LinkAdded) LinkAddedOrBuilder { private LinkAdded() { } public static final int CVID1_FIELD_NUMBER = 1; private int cvid1_; /** * int32 cvid1 = 1; * @return The cvid1. */ @java.lang.Override public int getCvid1() { return cvid1_; } /** * int32 cvid1 = 1; * @param value The cvid1 to set. */ private void setCvid1(int value) { cvid1_ = value; } /** * int32 cvid1 = 1; */ private void clearCvid1() { cvid1_ = 0; } public static final int CVID2_FIELD_NUMBER = 2; private int cvid2_; /** * int32 cvid2 = 2; * @return The cvid2. */ @java.lang.Override public int getCvid2() { return cvid2_; } /** * int32 cvid2 = 2; * @param value The cvid2 to set. */ private void setCvid2(int value) { cvid2_ = value; } /** * int32 cvid2 = 2; */ private void clearCvid2() { cvid2_ = 0; } public static com.sandpolis.core.net.Messages.EV_NetworkChange.LinkAdded parseFrom( java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return com.google.protobuf.GeneratedMessageLite.parseFrom( DEFAULT_INSTANCE, data); } public static com.sandpolis.core.net.Messages.EV_NetworkChange.LinkAdded parseFrom( java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return com.google.protobuf.GeneratedMessageLite.parseFrom( DEFAULT_INSTANCE, data, extensionRegistry); } public static com.sandpolis.core.net.Messages.EV_NetworkChange.LinkAdded parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return com.google.protobuf.GeneratedMessageLite.parseFrom( DEFAULT_INSTANCE, data); } public static com.sandpolis.core.net.Messages.EV_NetworkChange.LinkAdded parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return com.google.protobuf.GeneratedMessageLite.parseFrom( DEFAULT_INSTANCE, data, extensionRegistry); } public static com.sandpolis.core.net.Messages.EV_NetworkChange.LinkAdded parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return com.google.protobuf.GeneratedMessageLite.parseFrom( DEFAULT_INSTANCE, data); } public static com.sandpolis.core.net.Messages.EV_NetworkChange.LinkAdded parseFrom( byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return com.google.protobuf.GeneratedMessageLite.parseFrom( DEFAULT_INSTANCE, data, extensionRegistry); } public static com.sandpolis.core.net.Messages.EV_NetworkChange.LinkAdded parseFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageLite.parseFrom( DEFAULT_INSTANCE, input); } public static com.sandpolis.core.net.Messages.EV_NetworkChange.LinkAdded parseFrom( java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { return com.google.protobuf.GeneratedMessageLite.parseFrom( DEFAULT_INSTANCE, input, extensionRegistry); } public static com.sandpolis.core.net.Messages.EV_NetworkChange.LinkAdded parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { return parseDelimitedFrom(DEFAULT_INSTANCE, input); } public static com.sandpolis.core.net.Messages.EV_NetworkChange.LinkAdded parseDelimitedFrom( java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { return parseDelimitedFrom(DEFAULT_INSTANCE, input, extensionRegistry); } public static com.sandpolis.core.net.Messages.EV_NetworkChange.LinkAdded parseFrom( com.google.protobuf.CodedInputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageLite.parseFrom( DEFAULT_INSTANCE, input); } public static com.sandpolis.core.net.Messages.EV_NetworkChange.LinkAdded parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { return com.google.protobuf.GeneratedMessageLite.parseFrom( DEFAULT_INSTANCE, input, extensionRegistry); } public static Builder newBuilder() { return (Builder) DEFAULT_INSTANCE.createBuilder(); } public static Builder newBuilder(com.sandpolis.core.net.Messages.EV_NetworkChange.LinkAdded prototype) { return (Builder) DEFAULT_INSTANCE.createBuilder(prototype); } /** * Protobuf type {@code core.net.EV_NetworkChange.LinkAdded} */ public static final class Builder extends com.google.protobuf.GeneratedMessageLite.Builder< com.sandpolis.core.net.Messages.EV_NetworkChange.LinkAdded, Builder> implements // @@protoc_insertion_point(builder_implements:core.net.EV_NetworkChange.LinkAdded) com.sandpolis.core.net.Messages.EV_NetworkChange.LinkAddedOrBuilder { // Construct using com.sandpolis.core.net.Messages.EV_NetworkChange.LinkAdded.newBuilder() private Builder() { super(DEFAULT_INSTANCE); } /** * int32 cvid1 = 1; * @return The cvid1. */ @java.lang.Override public int getCvid1() { return instance.getCvid1(); } /** * int32 cvid1 = 1; * @param value The cvid1 to set. * @return This builder for chaining. */ public Builder setCvid1(int value) { copyOnWrite(); instance.setCvid1(value); return this; } /** * int32 cvid1 = 1; * @return This builder for chaining. */ public Builder clearCvid1() { copyOnWrite(); instance.clearCvid1(); return this; } /** * int32 cvid2 = 2; * @return The cvid2. */ @java.lang.Override public int getCvid2() { return instance.getCvid2(); } /** * int32 cvid2 = 2; * @param value The cvid2 to set. * @return This builder for chaining. */ public Builder setCvid2(int value) { copyOnWrite(); instance.setCvid2(value); return this; } /** * int32 cvid2 = 2; * @return This builder for chaining. */ public Builder clearCvid2() { copyOnWrite(); instance.clearCvid2(); return this; } // @@protoc_insertion_point(builder_scope:core.net.EV_NetworkChange.LinkAdded) } @java.lang.Override @java.lang.SuppressWarnings({"unchecked", "fallthrough"}) protected final java.lang.Object dynamicMethod( com.google.protobuf.GeneratedMessageLite.MethodToInvoke method, java.lang.Object arg0, java.lang.Object arg1) { switch (method) { case NEW_MUTABLE_INSTANCE: { return new com.sandpolis.core.net.Messages.EV_NetworkChange.LinkAdded(); } case NEW_BUILDER: { return new Builder(); } case BUILD_MESSAGE_INFO: { java.lang.Object[] objects = new java.lang.Object[] { "cvid1_", "cvid2_", }; java.lang.String info = "\u0000\u0002\u0000\u0000\u0001\u0002\u0002\u0000\u0000\u0000\u0001\u0004\u0002\u0004" + ""; return newMessageInfo(DEFAULT_INSTANCE, info, objects); } // fall through case GET_DEFAULT_INSTANCE: { return DEFAULT_INSTANCE; } case GET_PARSER: { com.google.protobuf.Parser parser = PARSER; if (parser == null) { synchronized (com.sandpolis.core.net.Messages.EV_NetworkChange.LinkAdded.class) { parser = PARSER; if (parser == null) { parser = new DefaultInstanceBasedParser( DEFAULT_INSTANCE); PARSER = parser; } } } return parser; } case GET_MEMOIZED_IS_INITIALIZED: { return (byte) 1; } case SET_MEMOIZED_IS_INITIALIZED: { return null; } } throw new UnsupportedOperationException(); } // @@protoc_insertion_point(class_scope:core.net.EV_NetworkChange.LinkAdded) private static final com.sandpolis.core.net.Messages.EV_NetworkChange.LinkAdded DEFAULT_INSTANCE; static { LinkAdded defaultInstance = new LinkAdded(); // New instances are implicitly immutable so no need to make // immutable. DEFAULT_INSTANCE = defaultInstance; com.google.protobuf.GeneratedMessageLite.registerDefaultInstance( LinkAdded.class, defaultInstance); } public static com.sandpolis.core.net.Messages.EV_NetworkChange.LinkAdded getDefaultInstance() { return DEFAULT_INSTANCE; } private static volatile com.google.protobuf.Parser PARSER; public static com.google.protobuf.Parser parser() { return DEFAULT_INSTANCE.getParserForType(); } } public interface LinkRemovedOrBuilder extends // @@protoc_insertion_point(interface_extends:core.net.EV_NetworkChange.LinkRemoved) com.google.protobuf.MessageLiteOrBuilder { /** * int32 cvid1 = 1; * @return The cvid1. */ int getCvid1(); /** * int32 cvid2 = 2; * @return The cvid2. */ int getCvid2(); } /** * Protobuf type {@code core.net.EV_NetworkChange.LinkRemoved} */ public static final class LinkRemoved extends com.google.protobuf.GeneratedMessageLite< LinkRemoved, LinkRemoved.Builder> implements // @@protoc_insertion_point(message_implements:core.net.EV_NetworkChange.LinkRemoved) LinkRemovedOrBuilder { private LinkRemoved() { } public static final int CVID1_FIELD_NUMBER = 1; private int cvid1_; /** * int32 cvid1 = 1; * @return The cvid1. */ @java.lang.Override public int getCvid1() { return cvid1_; } /** * int32 cvid1 = 1; * @param value The cvid1 to set. */ private void setCvid1(int value) { cvid1_ = value; } /** * int32 cvid1 = 1; */ private void clearCvid1() { cvid1_ = 0; } public static final int CVID2_FIELD_NUMBER = 2; private int cvid2_; /** * int32 cvid2 = 2; * @return The cvid2. */ @java.lang.Override public int getCvid2() { return cvid2_; } /** * int32 cvid2 = 2; * @param value The cvid2 to set. */ private void setCvid2(int value) { cvid2_ = value; } /** * int32 cvid2 = 2; */ private void clearCvid2() { cvid2_ = 0; } public static com.sandpolis.core.net.Messages.EV_NetworkChange.LinkRemoved parseFrom( java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return com.google.protobuf.GeneratedMessageLite.parseFrom( DEFAULT_INSTANCE, data); } public static com.sandpolis.core.net.Messages.EV_NetworkChange.LinkRemoved parseFrom( java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return com.google.protobuf.GeneratedMessageLite.parseFrom( DEFAULT_INSTANCE, data, extensionRegistry); } public static com.sandpolis.core.net.Messages.EV_NetworkChange.LinkRemoved parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return com.google.protobuf.GeneratedMessageLite.parseFrom( DEFAULT_INSTANCE, data); } public static com.sandpolis.core.net.Messages.EV_NetworkChange.LinkRemoved parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return com.google.protobuf.GeneratedMessageLite.parseFrom( DEFAULT_INSTANCE, data, extensionRegistry); } public static com.sandpolis.core.net.Messages.EV_NetworkChange.LinkRemoved parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return com.google.protobuf.GeneratedMessageLite.parseFrom( DEFAULT_INSTANCE, data); } public static com.sandpolis.core.net.Messages.EV_NetworkChange.LinkRemoved parseFrom( byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return com.google.protobuf.GeneratedMessageLite.parseFrom( DEFAULT_INSTANCE, data, extensionRegistry); } public static com.sandpolis.core.net.Messages.EV_NetworkChange.LinkRemoved parseFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageLite.parseFrom( DEFAULT_INSTANCE, input); } public static com.sandpolis.core.net.Messages.EV_NetworkChange.LinkRemoved parseFrom( java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { return com.google.protobuf.GeneratedMessageLite.parseFrom( DEFAULT_INSTANCE, input, extensionRegistry); } public static com.sandpolis.core.net.Messages.EV_NetworkChange.LinkRemoved parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { return parseDelimitedFrom(DEFAULT_INSTANCE, input); } public static com.sandpolis.core.net.Messages.EV_NetworkChange.LinkRemoved parseDelimitedFrom( java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { return parseDelimitedFrom(DEFAULT_INSTANCE, input, extensionRegistry); } public static com.sandpolis.core.net.Messages.EV_NetworkChange.LinkRemoved parseFrom( com.google.protobuf.CodedInputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageLite.parseFrom( DEFAULT_INSTANCE, input); } public static com.sandpolis.core.net.Messages.EV_NetworkChange.LinkRemoved parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { return com.google.protobuf.GeneratedMessageLite.parseFrom( DEFAULT_INSTANCE, input, extensionRegistry); } public static Builder newBuilder() { return (Builder) DEFAULT_INSTANCE.createBuilder(); } public static Builder newBuilder(com.sandpolis.core.net.Messages.EV_NetworkChange.LinkRemoved prototype) { return (Builder) DEFAULT_INSTANCE.createBuilder(prototype); } /** * Protobuf type {@code core.net.EV_NetworkChange.LinkRemoved} */ public static final class Builder extends com.google.protobuf.GeneratedMessageLite.Builder< com.sandpolis.core.net.Messages.EV_NetworkChange.LinkRemoved, Builder> implements // @@protoc_insertion_point(builder_implements:core.net.EV_NetworkChange.LinkRemoved) com.sandpolis.core.net.Messages.EV_NetworkChange.LinkRemovedOrBuilder { // Construct using com.sandpolis.core.net.Messages.EV_NetworkChange.LinkRemoved.newBuilder() private Builder() { super(DEFAULT_INSTANCE); } /** * int32 cvid1 = 1; * @return The cvid1. */ @java.lang.Override public int getCvid1() { return instance.getCvid1(); } /** * int32 cvid1 = 1; * @param value The cvid1 to set. * @return This builder for chaining. */ public Builder setCvid1(int value) { copyOnWrite(); instance.setCvid1(value); return this; } /** * int32 cvid1 = 1; * @return This builder for chaining. */ public Builder clearCvid1() { copyOnWrite(); instance.clearCvid1(); return this; } /** * int32 cvid2 = 2; * @return The cvid2. */ @java.lang.Override public int getCvid2() { return instance.getCvid2(); } /** * int32 cvid2 = 2; * @param value The cvid2 to set. * @return This builder for chaining. */ public Builder setCvid2(int value) { copyOnWrite(); instance.setCvid2(value); return this; } /** * int32 cvid2 = 2; * @return This builder for chaining. */ public Builder clearCvid2() { copyOnWrite(); instance.clearCvid2(); return this; } // @@protoc_insertion_point(builder_scope:core.net.EV_NetworkChange.LinkRemoved) } @java.lang.Override @java.lang.SuppressWarnings({"unchecked", "fallthrough"}) protected final java.lang.Object dynamicMethod( com.google.protobuf.GeneratedMessageLite.MethodToInvoke method, java.lang.Object arg0, java.lang.Object arg1) { switch (method) { case NEW_MUTABLE_INSTANCE: { return new com.sandpolis.core.net.Messages.EV_NetworkChange.LinkRemoved(); } case NEW_BUILDER: { return new Builder(); } case BUILD_MESSAGE_INFO: { java.lang.Object[] objects = new java.lang.Object[] { "cvid1_", "cvid2_", }; java.lang.String info = "\u0000\u0002\u0000\u0000\u0001\u0002\u0002\u0000\u0000\u0000\u0001\u0004\u0002\u0004" + ""; return newMessageInfo(DEFAULT_INSTANCE, info, objects); } // fall through case GET_DEFAULT_INSTANCE: { return DEFAULT_INSTANCE; } case GET_PARSER: { com.google.protobuf.Parser parser = PARSER; if (parser == null) { synchronized (com.sandpolis.core.net.Messages.EV_NetworkChange.LinkRemoved.class) { parser = PARSER; if (parser == null) { parser = new DefaultInstanceBasedParser( DEFAULT_INSTANCE); PARSER = parser; } } } return parser; } case GET_MEMOIZED_IS_INITIALIZED: { return (byte) 1; } case SET_MEMOIZED_IS_INITIALIZED: { return null; } } throw new UnsupportedOperationException(); } // @@protoc_insertion_point(class_scope:core.net.EV_NetworkChange.LinkRemoved) private static final com.sandpolis.core.net.Messages.EV_NetworkChange.LinkRemoved DEFAULT_INSTANCE; static { LinkRemoved defaultInstance = new LinkRemoved(); // New instances are implicitly immutable so no need to make // immutable. DEFAULT_INSTANCE = defaultInstance; com.google.protobuf.GeneratedMessageLite.registerDefaultInstance( LinkRemoved.class, defaultInstance); } public static com.sandpolis.core.net.Messages.EV_NetworkChange.LinkRemoved getDefaultInstance() { return DEFAULT_INSTANCE; } private static volatile com.google.protobuf.Parser PARSER; public static com.google.protobuf.Parser parser() { return DEFAULT_INSTANCE.getParserForType(); } } public static final int NODE_ADDED_FIELD_NUMBER = 1; private com.google.protobuf.Internal.ProtobufList nodeAdded_; /** * repeated .core.net.EV_NetworkChange.NodeAdded node_added = 1; */ @java.lang.Override public java.util.List getNodeAddedList() { return nodeAdded_; } /** * repeated .core.net.EV_NetworkChange.NodeAdded node_added = 1; */ public java.util.List getNodeAddedOrBuilderList() { return nodeAdded_; } /** * repeated .core.net.EV_NetworkChange.NodeAdded node_added = 1; */ @java.lang.Override public int getNodeAddedCount() { return nodeAdded_.size(); } /** * repeated .core.net.EV_NetworkChange.NodeAdded node_added = 1; */ @java.lang.Override public com.sandpolis.core.net.Messages.EV_NetworkChange.NodeAdded getNodeAdded(int index) { return nodeAdded_.get(index); } /** * repeated .core.net.EV_NetworkChange.NodeAdded node_added = 1; */ public com.sandpolis.core.net.Messages.EV_NetworkChange.NodeAddedOrBuilder getNodeAddedOrBuilder( int index) { return nodeAdded_.get(index); } private void ensureNodeAddedIsMutable() { com.google.protobuf.Internal.ProtobufList tmp = nodeAdded_; if (!tmp.isModifiable()) { nodeAdded_ = com.google.protobuf.GeneratedMessageLite.mutableCopy(tmp); } } /** * repeated .core.net.EV_NetworkChange.NodeAdded node_added = 1; */ private void setNodeAdded( int index, com.sandpolis.core.net.Messages.EV_NetworkChange.NodeAdded value) { value.getClass(); ensureNodeAddedIsMutable(); nodeAdded_.set(index, value); } /** * repeated .core.net.EV_NetworkChange.NodeAdded node_added = 1; */ private void addNodeAdded(com.sandpolis.core.net.Messages.EV_NetworkChange.NodeAdded value) { value.getClass(); ensureNodeAddedIsMutable(); nodeAdded_.add(value); } /** * repeated .core.net.EV_NetworkChange.NodeAdded node_added = 1; */ private void addNodeAdded( int index, com.sandpolis.core.net.Messages.EV_NetworkChange.NodeAdded value) { value.getClass(); ensureNodeAddedIsMutable(); nodeAdded_.add(index, value); } /** * repeated .core.net.EV_NetworkChange.NodeAdded node_added = 1; */ private void addAllNodeAdded( java.lang.Iterable values) { ensureNodeAddedIsMutable(); com.google.protobuf.AbstractMessageLite.addAll( values, nodeAdded_); } /** * repeated .core.net.EV_NetworkChange.NodeAdded node_added = 1; */ private void clearNodeAdded() { nodeAdded_ = emptyProtobufList(); } /** * repeated .core.net.EV_NetworkChange.NodeAdded node_added = 1; */ private void removeNodeAdded(int index) { ensureNodeAddedIsMutable(); nodeAdded_.remove(index); } public static final int NODE_REMOVED_FIELD_NUMBER = 2; private com.google.protobuf.Internal.ProtobufList nodeRemoved_; /** * repeated .core.net.EV_NetworkChange.NodeRemoved node_removed = 2; */ @java.lang.Override public java.util.List getNodeRemovedList() { return nodeRemoved_; } /** * repeated .core.net.EV_NetworkChange.NodeRemoved node_removed = 2; */ public java.util.List getNodeRemovedOrBuilderList() { return nodeRemoved_; } /** * repeated .core.net.EV_NetworkChange.NodeRemoved node_removed = 2; */ @java.lang.Override public int getNodeRemovedCount() { return nodeRemoved_.size(); } /** * repeated .core.net.EV_NetworkChange.NodeRemoved node_removed = 2; */ @java.lang.Override public com.sandpolis.core.net.Messages.EV_NetworkChange.NodeRemoved getNodeRemoved(int index) { return nodeRemoved_.get(index); } /** * repeated .core.net.EV_NetworkChange.NodeRemoved node_removed = 2; */ public com.sandpolis.core.net.Messages.EV_NetworkChange.NodeRemovedOrBuilder getNodeRemovedOrBuilder( int index) { return nodeRemoved_.get(index); } private void ensureNodeRemovedIsMutable() { com.google.protobuf.Internal.ProtobufList tmp = nodeRemoved_; if (!tmp.isModifiable()) { nodeRemoved_ = com.google.protobuf.GeneratedMessageLite.mutableCopy(tmp); } } /** * repeated .core.net.EV_NetworkChange.NodeRemoved node_removed = 2; */ private void setNodeRemoved( int index, com.sandpolis.core.net.Messages.EV_NetworkChange.NodeRemoved value) { value.getClass(); ensureNodeRemovedIsMutable(); nodeRemoved_.set(index, value); } /** * repeated .core.net.EV_NetworkChange.NodeRemoved node_removed = 2; */ private void addNodeRemoved(com.sandpolis.core.net.Messages.EV_NetworkChange.NodeRemoved value) { value.getClass(); ensureNodeRemovedIsMutable(); nodeRemoved_.add(value); } /** * repeated .core.net.EV_NetworkChange.NodeRemoved node_removed = 2; */ private void addNodeRemoved( int index, com.sandpolis.core.net.Messages.EV_NetworkChange.NodeRemoved value) { value.getClass(); ensureNodeRemovedIsMutable(); nodeRemoved_.add(index, value); } /** * repeated .core.net.EV_NetworkChange.NodeRemoved node_removed = 2; */ private void addAllNodeRemoved( java.lang.Iterable values) { ensureNodeRemovedIsMutable(); com.google.protobuf.AbstractMessageLite.addAll( values, nodeRemoved_); } /** * repeated .core.net.EV_NetworkChange.NodeRemoved node_removed = 2; */ private void clearNodeRemoved() { nodeRemoved_ = emptyProtobufList(); } /** * repeated .core.net.EV_NetworkChange.NodeRemoved node_removed = 2; */ private void removeNodeRemoved(int index) { ensureNodeRemovedIsMutable(); nodeRemoved_.remove(index); } public static final int CONNECTION_ADDED_FIELD_NUMBER = 3; private com.google.protobuf.Internal.ProtobufList connectionAdded_; /** * repeated .core.net.EV_NetworkChange.LinkAdded connection_added = 3; */ @java.lang.Override public java.util.List getConnectionAddedList() { return connectionAdded_; } /** * repeated .core.net.EV_NetworkChange.LinkAdded connection_added = 3; */ public java.util.List getConnectionAddedOrBuilderList() { return connectionAdded_; } /** * repeated .core.net.EV_NetworkChange.LinkAdded connection_added = 3; */ @java.lang.Override public int getConnectionAddedCount() { return connectionAdded_.size(); } /** * repeated .core.net.EV_NetworkChange.LinkAdded connection_added = 3; */ @java.lang.Override public com.sandpolis.core.net.Messages.EV_NetworkChange.LinkAdded getConnectionAdded(int index) { return connectionAdded_.get(index); } /** * repeated .core.net.EV_NetworkChange.LinkAdded connection_added = 3; */ public com.sandpolis.core.net.Messages.EV_NetworkChange.LinkAddedOrBuilder getConnectionAddedOrBuilder( int index) { return connectionAdded_.get(index); } private void ensureConnectionAddedIsMutable() { com.google.protobuf.Internal.ProtobufList tmp = connectionAdded_; if (!tmp.isModifiable()) { connectionAdded_ = com.google.protobuf.GeneratedMessageLite.mutableCopy(tmp); } } /** * repeated .core.net.EV_NetworkChange.LinkAdded connection_added = 3; */ private void setConnectionAdded( int index, com.sandpolis.core.net.Messages.EV_NetworkChange.LinkAdded value) { value.getClass(); ensureConnectionAddedIsMutable(); connectionAdded_.set(index, value); } /** * repeated .core.net.EV_NetworkChange.LinkAdded connection_added = 3; */ private void addConnectionAdded(com.sandpolis.core.net.Messages.EV_NetworkChange.LinkAdded value) { value.getClass(); ensureConnectionAddedIsMutable(); connectionAdded_.add(value); } /** * repeated .core.net.EV_NetworkChange.LinkAdded connection_added = 3; */ private void addConnectionAdded( int index, com.sandpolis.core.net.Messages.EV_NetworkChange.LinkAdded value) { value.getClass(); ensureConnectionAddedIsMutable(); connectionAdded_.add(index, value); } /** * repeated .core.net.EV_NetworkChange.LinkAdded connection_added = 3; */ private void addAllConnectionAdded( java.lang.Iterable values) { ensureConnectionAddedIsMutable(); com.google.protobuf.AbstractMessageLite.addAll( values, connectionAdded_); } /** * repeated .core.net.EV_NetworkChange.LinkAdded connection_added = 3; */ private void clearConnectionAdded() { connectionAdded_ = emptyProtobufList(); } /** * repeated .core.net.EV_NetworkChange.LinkAdded connection_added = 3; */ private void removeConnectionAdded(int index) { ensureConnectionAddedIsMutable(); connectionAdded_.remove(index); } public static final int CONNECTION_REMOVED_FIELD_NUMBER = 4; private com.google.protobuf.Internal.ProtobufList connectionRemoved_; /** * repeated .core.net.EV_NetworkChange.LinkRemoved connection_removed = 4; */ @java.lang.Override public java.util.List getConnectionRemovedList() { return connectionRemoved_; } /** * repeated .core.net.EV_NetworkChange.LinkRemoved connection_removed = 4; */ public java.util.List getConnectionRemovedOrBuilderList() { return connectionRemoved_; } /** * repeated .core.net.EV_NetworkChange.LinkRemoved connection_removed = 4; */ @java.lang.Override public int getConnectionRemovedCount() { return connectionRemoved_.size(); } /** * repeated .core.net.EV_NetworkChange.LinkRemoved connection_removed = 4; */ @java.lang.Override public com.sandpolis.core.net.Messages.EV_NetworkChange.LinkRemoved getConnectionRemoved(int index) { return connectionRemoved_.get(index); } /** * repeated .core.net.EV_NetworkChange.LinkRemoved connection_removed = 4; */ public com.sandpolis.core.net.Messages.EV_NetworkChange.LinkRemovedOrBuilder getConnectionRemovedOrBuilder( int index) { return connectionRemoved_.get(index); } private void ensureConnectionRemovedIsMutable() { com.google.protobuf.Internal.ProtobufList tmp = connectionRemoved_; if (!tmp.isModifiable()) { connectionRemoved_ = com.google.protobuf.GeneratedMessageLite.mutableCopy(tmp); } } /** * repeated .core.net.EV_NetworkChange.LinkRemoved connection_removed = 4; */ private void setConnectionRemoved( int index, com.sandpolis.core.net.Messages.EV_NetworkChange.LinkRemoved value) { value.getClass(); ensureConnectionRemovedIsMutable(); connectionRemoved_.set(index, value); } /** * repeated .core.net.EV_NetworkChange.LinkRemoved connection_removed = 4; */ private void addConnectionRemoved(com.sandpolis.core.net.Messages.EV_NetworkChange.LinkRemoved value) { value.getClass(); ensureConnectionRemovedIsMutable(); connectionRemoved_.add(value); } /** * repeated .core.net.EV_NetworkChange.LinkRemoved connection_removed = 4; */ private void addConnectionRemoved( int index, com.sandpolis.core.net.Messages.EV_NetworkChange.LinkRemoved value) { value.getClass(); ensureConnectionRemovedIsMutable(); connectionRemoved_.add(index, value); } /** * repeated .core.net.EV_NetworkChange.LinkRemoved connection_removed = 4; */ private void addAllConnectionRemoved( java.lang.Iterable values) { ensureConnectionRemovedIsMutable(); com.google.protobuf.AbstractMessageLite.addAll( values, connectionRemoved_); } /** * repeated .core.net.EV_NetworkChange.LinkRemoved connection_removed = 4; */ private void clearConnectionRemoved() { connectionRemoved_ = emptyProtobufList(); } /** * repeated .core.net.EV_NetworkChange.LinkRemoved connection_removed = 4; */ private void removeConnectionRemoved(int index) { ensureConnectionRemovedIsMutable(); connectionRemoved_.remove(index); } public static com.sandpolis.core.net.Messages.EV_NetworkChange parseFrom( java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return com.google.protobuf.GeneratedMessageLite.parseFrom( DEFAULT_INSTANCE, data); } public static com.sandpolis.core.net.Messages.EV_NetworkChange parseFrom( java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return com.google.protobuf.GeneratedMessageLite.parseFrom( DEFAULT_INSTANCE, data, extensionRegistry); } public static com.sandpolis.core.net.Messages.EV_NetworkChange parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return com.google.protobuf.GeneratedMessageLite.parseFrom( DEFAULT_INSTANCE, data); } public static com.sandpolis.core.net.Messages.EV_NetworkChange parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return com.google.protobuf.GeneratedMessageLite.parseFrom( DEFAULT_INSTANCE, data, extensionRegistry); } public static com.sandpolis.core.net.Messages.EV_NetworkChange parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return com.google.protobuf.GeneratedMessageLite.parseFrom( DEFAULT_INSTANCE, data); } public static com.sandpolis.core.net.Messages.EV_NetworkChange parseFrom( byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return com.google.protobuf.GeneratedMessageLite.parseFrom( DEFAULT_INSTANCE, data, extensionRegistry); } public static com.sandpolis.core.net.Messages.EV_NetworkChange parseFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageLite.parseFrom( DEFAULT_INSTANCE, input); } public static com.sandpolis.core.net.Messages.EV_NetworkChange parseFrom( java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { return com.google.protobuf.GeneratedMessageLite.parseFrom( DEFAULT_INSTANCE, input, extensionRegistry); } public static com.sandpolis.core.net.Messages.EV_NetworkChange parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { return parseDelimitedFrom(DEFAULT_INSTANCE, input); } public static com.sandpolis.core.net.Messages.EV_NetworkChange parseDelimitedFrom( java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { return parseDelimitedFrom(DEFAULT_INSTANCE, input, extensionRegistry); } public static com.sandpolis.core.net.Messages.EV_NetworkChange parseFrom( com.google.protobuf.CodedInputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageLite.parseFrom( DEFAULT_INSTANCE, input); } public static com.sandpolis.core.net.Messages.EV_NetworkChange parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { return com.google.protobuf.GeneratedMessageLite.parseFrom( DEFAULT_INSTANCE, input, extensionRegistry); } public static Builder newBuilder() { return (Builder) DEFAULT_INSTANCE.createBuilder(); } public static Builder newBuilder(com.sandpolis.core.net.Messages.EV_NetworkChange prototype) { return (Builder) DEFAULT_INSTANCE.createBuilder(prototype); } /** *
     * Indicates that some node in the network has changed in connection status.
     * 
* * Protobuf type {@code core.net.EV_NetworkChange} */ public static final class Builder extends com.google.protobuf.GeneratedMessageLite.Builder< com.sandpolis.core.net.Messages.EV_NetworkChange, Builder> implements // @@protoc_insertion_point(builder_implements:core.net.EV_NetworkChange) com.sandpolis.core.net.Messages.EV_NetworkChangeOrBuilder { // Construct using com.sandpolis.core.net.Messages.EV_NetworkChange.newBuilder() private Builder() { super(DEFAULT_INSTANCE); } /** * repeated .core.net.EV_NetworkChange.NodeAdded node_added = 1; */ @java.lang.Override public java.util.List getNodeAddedList() { return java.util.Collections.unmodifiableList( instance.getNodeAddedList()); } /** * repeated .core.net.EV_NetworkChange.NodeAdded node_added = 1; */ @java.lang.Override public int getNodeAddedCount() { return instance.getNodeAddedCount(); }/** * repeated .core.net.EV_NetworkChange.NodeAdded node_added = 1; */ @java.lang.Override public com.sandpolis.core.net.Messages.EV_NetworkChange.NodeAdded getNodeAdded(int index) { return instance.getNodeAdded(index); } /** * repeated .core.net.EV_NetworkChange.NodeAdded node_added = 1; */ public Builder setNodeAdded( int index, com.sandpolis.core.net.Messages.EV_NetworkChange.NodeAdded value) { copyOnWrite(); instance.setNodeAdded(index, value); return this; } /** * repeated .core.net.EV_NetworkChange.NodeAdded node_added = 1; */ public Builder setNodeAdded( int index, com.sandpolis.core.net.Messages.EV_NetworkChange.NodeAdded.Builder builderForValue) { copyOnWrite(); instance.setNodeAdded(index, builderForValue.build()); return this; } /** * repeated .core.net.EV_NetworkChange.NodeAdded node_added = 1; */ public Builder addNodeAdded(com.sandpolis.core.net.Messages.EV_NetworkChange.NodeAdded value) { copyOnWrite(); instance.addNodeAdded(value); return this; } /** * repeated .core.net.EV_NetworkChange.NodeAdded node_added = 1; */ public Builder addNodeAdded( int index, com.sandpolis.core.net.Messages.EV_NetworkChange.NodeAdded value) { copyOnWrite(); instance.addNodeAdded(index, value); return this; } /** * repeated .core.net.EV_NetworkChange.NodeAdded node_added = 1; */ public Builder addNodeAdded( com.sandpolis.core.net.Messages.EV_NetworkChange.NodeAdded.Builder builderForValue) { copyOnWrite(); instance.addNodeAdded(builderForValue.build()); return this; } /** * repeated .core.net.EV_NetworkChange.NodeAdded node_added = 1; */ public Builder addNodeAdded( int index, com.sandpolis.core.net.Messages.EV_NetworkChange.NodeAdded.Builder builderForValue) { copyOnWrite(); instance.addNodeAdded(index, builderForValue.build()); return this; } /** * repeated .core.net.EV_NetworkChange.NodeAdded node_added = 1; */ public Builder addAllNodeAdded( java.lang.Iterable values) { copyOnWrite(); instance.addAllNodeAdded(values); return this; } /** * repeated .core.net.EV_NetworkChange.NodeAdded node_added = 1; */ public Builder clearNodeAdded() { copyOnWrite(); instance.clearNodeAdded(); return this; } /** * repeated .core.net.EV_NetworkChange.NodeAdded node_added = 1; */ public Builder removeNodeAdded(int index) { copyOnWrite(); instance.removeNodeAdded(index); return this; } /** * repeated .core.net.EV_NetworkChange.NodeRemoved node_removed = 2; */ @java.lang.Override public java.util.List getNodeRemovedList() { return java.util.Collections.unmodifiableList( instance.getNodeRemovedList()); } /** * repeated .core.net.EV_NetworkChange.NodeRemoved node_removed = 2; */ @java.lang.Override public int getNodeRemovedCount() { return instance.getNodeRemovedCount(); }/** * repeated .core.net.EV_NetworkChange.NodeRemoved node_removed = 2; */ @java.lang.Override public com.sandpolis.core.net.Messages.EV_NetworkChange.NodeRemoved getNodeRemoved(int index) { return instance.getNodeRemoved(index); } /** * repeated .core.net.EV_NetworkChange.NodeRemoved node_removed = 2; */ public Builder setNodeRemoved( int index, com.sandpolis.core.net.Messages.EV_NetworkChange.NodeRemoved value) { copyOnWrite(); instance.setNodeRemoved(index, value); return this; } /** * repeated .core.net.EV_NetworkChange.NodeRemoved node_removed = 2; */ public Builder setNodeRemoved( int index, com.sandpolis.core.net.Messages.EV_NetworkChange.NodeRemoved.Builder builderForValue) { copyOnWrite(); instance.setNodeRemoved(index, builderForValue.build()); return this; } /** * repeated .core.net.EV_NetworkChange.NodeRemoved node_removed = 2; */ public Builder addNodeRemoved(com.sandpolis.core.net.Messages.EV_NetworkChange.NodeRemoved value) { copyOnWrite(); instance.addNodeRemoved(value); return this; } /** * repeated .core.net.EV_NetworkChange.NodeRemoved node_removed = 2; */ public Builder addNodeRemoved( int index, com.sandpolis.core.net.Messages.EV_NetworkChange.NodeRemoved value) { copyOnWrite(); instance.addNodeRemoved(index, value); return this; } /** * repeated .core.net.EV_NetworkChange.NodeRemoved node_removed = 2; */ public Builder addNodeRemoved( com.sandpolis.core.net.Messages.EV_NetworkChange.NodeRemoved.Builder builderForValue) { copyOnWrite(); instance.addNodeRemoved(builderForValue.build()); return this; } /** * repeated .core.net.EV_NetworkChange.NodeRemoved node_removed = 2; */ public Builder addNodeRemoved( int index, com.sandpolis.core.net.Messages.EV_NetworkChange.NodeRemoved.Builder builderForValue) { copyOnWrite(); instance.addNodeRemoved(index, builderForValue.build()); return this; } /** * repeated .core.net.EV_NetworkChange.NodeRemoved node_removed = 2; */ public Builder addAllNodeRemoved( java.lang.Iterable values) { copyOnWrite(); instance.addAllNodeRemoved(values); return this; } /** * repeated .core.net.EV_NetworkChange.NodeRemoved node_removed = 2; */ public Builder clearNodeRemoved() { copyOnWrite(); instance.clearNodeRemoved(); return this; } /** * repeated .core.net.EV_NetworkChange.NodeRemoved node_removed = 2; */ public Builder removeNodeRemoved(int index) { copyOnWrite(); instance.removeNodeRemoved(index); return this; } /** * repeated .core.net.EV_NetworkChange.LinkAdded connection_added = 3; */ @java.lang.Override public java.util.List getConnectionAddedList() { return java.util.Collections.unmodifiableList( instance.getConnectionAddedList()); } /** * repeated .core.net.EV_NetworkChange.LinkAdded connection_added = 3; */ @java.lang.Override public int getConnectionAddedCount() { return instance.getConnectionAddedCount(); }/** * repeated .core.net.EV_NetworkChange.LinkAdded connection_added = 3; */ @java.lang.Override public com.sandpolis.core.net.Messages.EV_NetworkChange.LinkAdded getConnectionAdded(int index) { return instance.getConnectionAdded(index); } /** * repeated .core.net.EV_NetworkChange.LinkAdded connection_added = 3; */ public Builder setConnectionAdded( int index, com.sandpolis.core.net.Messages.EV_NetworkChange.LinkAdded value) { copyOnWrite(); instance.setConnectionAdded(index, value); return this; } /** * repeated .core.net.EV_NetworkChange.LinkAdded connection_added = 3; */ public Builder setConnectionAdded( int index, com.sandpolis.core.net.Messages.EV_NetworkChange.LinkAdded.Builder builderForValue) { copyOnWrite(); instance.setConnectionAdded(index, builderForValue.build()); return this; } /** * repeated .core.net.EV_NetworkChange.LinkAdded connection_added = 3; */ public Builder addConnectionAdded(com.sandpolis.core.net.Messages.EV_NetworkChange.LinkAdded value) { copyOnWrite(); instance.addConnectionAdded(value); return this; } /** * repeated .core.net.EV_NetworkChange.LinkAdded connection_added = 3; */ public Builder addConnectionAdded( int index, com.sandpolis.core.net.Messages.EV_NetworkChange.LinkAdded value) { copyOnWrite(); instance.addConnectionAdded(index, value); return this; } /** * repeated .core.net.EV_NetworkChange.LinkAdded connection_added = 3; */ public Builder addConnectionAdded( com.sandpolis.core.net.Messages.EV_NetworkChange.LinkAdded.Builder builderForValue) { copyOnWrite(); instance.addConnectionAdded(builderForValue.build()); return this; } /** * repeated .core.net.EV_NetworkChange.LinkAdded connection_added = 3; */ public Builder addConnectionAdded( int index, com.sandpolis.core.net.Messages.EV_NetworkChange.LinkAdded.Builder builderForValue) { copyOnWrite(); instance.addConnectionAdded(index, builderForValue.build()); return this; } /** * repeated .core.net.EV_NetworkChange.LinkAdded connection_added = 3; */ public Builder addAllConnectionAdded( java.lang.Iterable values) { copyOnWrite(); instance.addAllConnectionAdded(values); return this; } /** * repeated .core.net.EV_NetworkChange.LinkAdded connection_added = 3; */ public Builder clearConnectionAdded() { copyOnWrite(); instance.clearConnectionAdded(); return this; } /** * repeated .core.net.EV_NetworkChange.LinkAdded connection_added = 3; */ public Builder removeConnectionAdded(int index) { copyOnWrite(); instance.removeConnectionAdded(index); return this; } /** * repeated .core.net.EV_NetworkChange.LinkRemoved connection_removed = 4; */ @java.lang.Override public java.util.List getConnectionRemovedList() { return java.util.Collections.unmodifiableList( instance.getConnectionRemovedList()); } /** * repeated .core.net.EV_NetworkChange.LinkRemoved connection_removed = 4; */ @java.lang.Override public int getConnectionRemovedCount() { return instance.getConnectionRemovedCount(); }/** * repeated .core.net.EV_NetworkChange.LinkRemoved connection_removed = 4; */ @java.lang.Override public com.sandpolis.core.net.Messages.EV_NetworkChange.LinkRemoved getConnectionRemoved(int index) { return instance.getConnectionRemoved(index); } /** * repeated .core.net.EV_NetworkChange.LinkRemoved connection_removed = 4; */ public Builder setConnectionRemoved( int index, com.sandpolis.core.net.Messages.EV_NetworkChange.LinkRemoved value) { copyOnWrite(); instance.setConnectionRemoved(index, value); return this; } /** * repeated .core.net.EV_NetworkChange.LinkRemoved connection_removed = 4; */ public Builder setConnectionRemoved( int index, com.sandpolis.core.net.Messages.EV_NetworkChange.LinkRemoved.Builder builderForValue) { copyOnWrite(); instance.setConnectionRemoved(index, builderForValue.build()); return this; } /** * repeated .core.net.EV_NetworkChange.LinkRemoved connection_removed = 4; */ public Builder addConnectionRemoved(com.sandpolis.core.net.Messages.EV_NetworkChange.LinkRemoved value) { copyOnWrite(); instance.addConnectionRemoved(value); return this; } /** * repeated .core.net.EV_NetworkChange.LinkRemoved connection_removed = 4; */ public Builder addConnectionRemoved( int index, com.sandpolis.core.net.Messages.EV_NetworkChange.LinkRemoved value) { copyOnWrite(); instance.addConnectionRemoved(index, value); return this; } /** * repeated .core.net.EV_NetworkChange.LinkRemoved connection_removed = 4; */ public Builder addConnectionRemoved( com.sandpolis.core.net.Messages.EV_NetworkChange.LinkRemoved.Builder builderForValue) { copyOnWrite(); instance.addConnectionRemoved(builderForValue.build()); return this; } /** * repeated .core.net.EV_NetworkChange.LinkRemoved connection_removed = 4; */ public Builder addConnectionRemoved( int index, com.sandpolis.core.net.Messages.EV_NetworkChange.LinkRemoved.Builder builderForValue) { copyOnWrite(); instance.addConnectionRemoved(index, builderForValue.build()); return this; } /** * repeated .core.net.EV_NetworkChange.LinkRemoved connection_removed = 4; */ public Builder addAllConnectionRemoved( java.lang.Iterable values) { copyOnWrite(); instance.addAllConnectionRemoved(values); return this; } /** * repeated .core.net.EV_NetworkChange.LinkRemoved connection_removed = 4; */ public Builder clearConnectionRemoved() { copyOnWrite(); instance.clearConnectionRemoved(); return this; } /** * repeated .core.net.EV_NetworkChange.LinkRemoved connection_removed = 4; */ public Builder removeConnectionRemoved(int index) { copyOnWrite(); instance.removeConnectionRemoved(index); return this; } // @@protoc_insertion_point(builder_scope:core.net.EV_NetworkChange) } @java.lang.Override @java.lang.SuppressWarnings({"unchecked", "fallthrough"}) protected final java.lang.Object dynamicMethod( com.google.protobuf.GeneratedMessageLite.MethodToInvoke method, java.lang.Object arg0, java.lang.Object arg1) { switch (method) { case NEW_MUTABLE_INSTANCE: { return new com.sandpolis.core.net.Messages.EV_NetworkChange(); } case NEW_BUILDER: { return new Builder(); } case BUILD_MESSAGE_INFO: { java.lang.Object[] objects = new java.lang.Object[] { "nodeAdded_", com.sandpolis.core.net.Messages.EV_NetworkChange.NodeAdded.class, "nodeRemoved_", com.sandpolis.core.net.Messages.EV_NetworkChange.NodeRemoved.class, "connectionAdded_", com.sandpolis.core.net.Messages.EV_NetworkChange.LinkAdded.class, "connectionRemoved_", com.sandpolis.core.net.Messages.EV_NetworkChange.LinkRemoved.class, }; java.lang.String info = "\u0000\u0004\u0000\u0000\u0001\u0004\u0004\u0000\u0004\u0000\u0001\u001b\u0002\u001b" + "\u0003\u001b\u0004\u001b"; return newMessageInfo(DEFAULT_INSTANCE, info, objects); } // fall through case GET_DEFAULT_INSTANCE: { return DEFAULT_INSTANCE; } case GET_PARSER: { com.google.protobuf.Parser parser = PARSER; if (parser == null) { synchronized (com.sandpolis.core.net.Messages.EV_NetworkChange.class) { parser = PARSER; if (parser == null) { parser = new DefaultInstanceBasedParser( DEFAULT_INSTANCE); PARSER = parser; } } } return parser; } case GET_MEMOIZED_IS_INITIALIZED: { return (byte) 1; } case SET_MEMOIZED_IS_INITIALIZED: { return null; } } throw new UnsupportedOperationException(); } // @@protoc_insertion_point(class_scope:core.net.EV_NetworkChange) private static final com.sandpolis.core.net.Messages.EV_NetworkChange DEFAULT_INSTANCE; static { EV_NetworkChange defaultInstance = new EV_NetworkChange(); // New instances are implicitly immutable so no need to make // immutable. DEFAULT_INSTANCE = defaultInstance; com.google.protobuf.GeneratedMessageLite.registerDefaultInstance( EV_NetworkChange.class, defaultInstance); } public static com.sandpolis.core.net.Messages.EV_NetworkChange getDefaultInstance() { return DEFAULT_INSTANCE; } private static volatile com.google.protobuf.Parser PARSER; public static com.google.protobuf.Parser parser() { return DEFAULT_INSTANCE.getParserForType(); } } public interface RQ_StopStreamOrBuilder extends // @@protoc_insertion_point(interface_extends:core.net.RQ_StopStream) com.google.protobuf.MessageLiteOrBuilder { /** *
     * The stream ID of the stream to stop
     * 
* * int32 id = 1; * @return The id. */ int getId(); } /** * Protobuf type {@code core.net.RQ_StopStream} */ public static final class RQ_StopStream extends com.google.protobuf.GeneratedMessageLite< RQ_StopStream, RQ_StopStream.Builder> implements // @@protoc_insertion_point(message_implements:core.net.RQ_StopStream) RQ_StopStreamOrBuilder { private RQ_StopStream() { } public static final int ID_FIELD_NUMBER = 1; private int id_; /** *
     * The stream ID of the stream to stop
     * 
* * int32 id = 1; * @return The id. */ @java.lang.Override public int getId() { return id_; } /** *
     * The stream ID of the stream to stop
     * 
* * int32 id = 1; * @param value The id to set. */ private void setId(int value) { id_ = value; } /** *
     * The stream ID of the stream to stop
     * 
* * int32 id = 1; */ private void clearId() { id_ = 0; } public static com.sandpolis.core.net.Messages.RQ_StopStream parseFrom( java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return com.google.protobuf.GeneratedMessageLite.parseFrom( DEFAULT_INSTANCE, data); } public static com.sandpolis.core.net.Messages.RQ_StopStream parseFrom( java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return com.google.protobuf.GeneratedMessageLite.parseFrom( DEFAULT_INSTANCE, data, extensionRegistry); } public static com.sandpolis.core.net.Messages.RQ_StopStream parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return com.google.protobuf.GeneratedMessageLite.parseFrom( DEFAULT_INSTANCE, data); } public static com.sandpolis.core.net.Messages.RQ_StopStream parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return com.google.protobuf.GeneratedMessageLite.parseFrom( DEFAULT_INSTANCE, data, extensionRegistry); } public static com.sandpolis.core.net.Messages.RQ_StopStream parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return com.google.protobuf.GeneratedMessageLite.parseFrom( DEFAULT_INSTANCE, data); } public static com.sandpolis.core.net.Messages.RQ_StopStream parseFrom( byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return com.google.protobuf.GeneratedMessageLite.parseFrom( DEFAULT_INSTANCE, data, extensionRegistry); } public static com.sandpolis.core.net.Messages.RQ_StopStream parseFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageLite.parseFrom( DEFAULT_INSTANCE, input); } public static com.sandpolis.core.net.Messages.RQ_StopStream parseFrom( java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { return com.google.protobuf.GeneratedMessageLite.parseFrom( DEFAULT_INSTANCE, input, extensionRegistry); } public static com.sandpolis.core.net.Messages.RQ_StopStream parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { return parseDelimitedFrom(DEFAULT_INSTANCE, input); } public static com.sandpolis.core.net.Messages.RQ_StopStream parseDelimitedFrom( java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { return parseDelimitedFrom(DEFAULT_INSTANCE, input, extensionRegistry); } public static com.sandpolis.core.net.Messages.RQ_StopStream parseFrom( com.google.protobuf.CodedInputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageLite.parseFrom( DEFAULT_INSTANCE, input); } public static com.sandpolis.core.net.Messages.RQ_StopStream parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { return com.google.protobuf.GeneratedMessageLite.parseFrom( DEFAULT_INSTANCE, input, extensionRegistry); } public static Builder newBuilder() { return (Builder) DEFAULT_INSTANCE.createBuilder(); } public static Builder newBuilder(com.sandpolis.core.net.Messages.RQ_StopStream prototype) { return (Builder) DEFAULT_INSTANCE.createBuilder(prototype); } /** * Protobuf type {@code core.net.RQ_StopStream} */ public static final class Builder extends com.google.protobuf.GeneratedMessageLite.Builder< com.sandpolis.core.net.Messages.RQ_StopStream, Builder> implements // @@protoc_insertion_point(builder_implements:core.net.RQ_StopStream) com.sandpolis.core.net.Messages.RQ_StopStreamOrBuilder { // Construct using com.sandpolis.core.net.Messages.RQ_StopStream.newBuilder() private Builder() { super(DEFAULT_INSTANCE); } /** *
       * The stream ID of the stream to stop
       * 
* * int32 id = 1; * @return The id. */ @java.lang.Override public int getId() { return instance.getId(); } /** *
       * The stream ID of the stream to stop
       * 
* * int32 id = 1; * @param value The id to set. * @return This builder for chaining. */ public Builder setId(int value) { copyOnWrite(); instance.setId(value); return this; } /** *
       * The stream ID of the stream to stop
       * 
* * int32 id = 1; * @return This builder for chaining. */ public Builder clearId() { copyOnWrite(); instance.clearId(); return this; } // @@protoc_insertion_point(builder_scope:core.net.RQ_StopStream) } @java.lang.Override @java.lang.SuppressWarnings({"unchecked", "fallthrough"}) protected final java.lang.Object dynamicMethod( com.google.protobuf.GeneratedMessageLite.MethodToInvoke method, java.lang.Object arg0, java.lang.Object arg1) { switch (method) { case NEW_MUTABLE_INSTANCE: { return new com.sandpolis.core.net.Messages.RQ_StopStream(); } case NEW_BUILDER: { return new Builder(); } case BUILD_MESSAGE_INFO: { java.lang.Object[] objects = new java.lang.Object[] { "id_", }; java.lang.String info = "\u0000\u0001\u0000\u0000\u0001\u0001\u0001\u0000\u0000\u0000\u0001\u0004"; return newMessageInfo(DEFAULT_INSTANCE, info, objects); } // fall through case GET_DEFAULT_INSTANCE: { return DEFAULT_INSTANCE; } case GET_PARSER: { com.google.protobuf.Parser parser = PARSER; if (parser == null) { synchronized (com.sandpolis.core.net.Messages.RQ_StopStream.class) { parser = PARSER; if (parser == null) { parser = new DefaultInstanceBasedParser( DEFAULT_INSTANCE); PARSER = parser; } } } return parser; } case GET_MEMOIZED_IS_INITIALIZED: { return (byte) 1; } case SET_MEMOIZED_IS_INITIALIZED: { return null; } } throw new UnsupportedOperationException(); } // @@protoc_insertion_point(class_scope:core.net.RQ_StopStream) private static final com.sandpolis.core.net.Messages.RQ_StopStream DEFAULT_INSTANCE; static { RQ_StopStream defaultInstance = new RQ_StopStream(); // New instances are implicitly immutable so no need to make // immutable. DEFAULT_INSTANCE = defaultInstance; com.google.protobuf.GeneratedMessageLite.registerDefaultInstance( RQ_StopStream.class, defaultInstance); } public static com.sandpolis.core.net.Messages.RQ_StopStream getDefaultInstance() { return DEFAULT_INSTANCE; } private static volatile com.google.protobuf.Parser PARSER; public static com.google.protobuf.Parser parser() { return DEFAULT_INSTANCE.getParserForType(); } } static { } // @@protoc_insertion_point(outer_class_scope) }




© 2015 - 2024 Weber Informatics LLC | Privacy Policy