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

io.github.navi_cloud.shared.CommonCommunication Maven / Gradle / Ivy

There is a newer version: 1.0.7
Show newest version
// Generated by the protocol buffer compiler.  DO NOT EDIT!
// source: CommonCommunication.proto

package io.github.navi_cloud.shared;

public final class CommonCommunication {
  private CommonCommunication() {}
  public static void registerAllExtensions(
      com.google.protobuf.ExtensionRegistryLite registry) {
  }

  public static void registerAllExtensions(
      com.google.protobuf.ExtensionRegistry registry) {
    registerAllExtensions(
        (com.google.protobuf.ExtensionRegistryLite) registry);
  }
  /**
   * Protobuf enum {@code io.github.navi_cloud.shared.ResultType}
   */
  public enum ResultType
      implements com.google.protobuf.ProtocolMessageEnum {
    /**
     * UNKNOWN = 0;
     */
    UNKNOWN(0),
    /**
     * SUCCESS = 1;
     */
    SUCCESS(1),
    /**
     * DUPLICATE = 2;
     */
    DUPLICATE(2),
    /**
     * FORBIDDEN = 3;
     */
    FORBIDDEN(3),
    UNRECOGNIZED(-1),
    ;

    /**
     * UNKNOWN = 0;
     */
    public static final int UNKNOWN_VALUE = 0;
    /**
     * SUCCESS = 1;
     */
    public static final int SUCCESS_VALUE = 1;
    /**
     * DUPLICATE = 2;
     */
    public static final int DUPLICATE_VALUE = 2;
    /**
     * FORBIDDEN = 3;
     */
    public static final int FORBIDDEN_VALUE = 3;


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

    /**
     * @deprecated Use {@link #forNumber(int)} instead.
     */
    @java.lang.Deprecated
    public static ResultType valueOf(int value) {
      return forNumber(value);
    }

    public static ResultType forNumber(int value) {
      switch (value) {
        case 0: return UNKNOWN;
        case 1: return SUCCESS;
        case 2: return DUPLICATE;
        case 3: return FORBIDDEN;
        default: return null;
      }
    }

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

    public final com.google.protobuf.Descriptors.EnumValueDescriptor
        getValueDescriptor() {
      return getDescriptor().getValues().get(ordinal());
    }
    public final com.google.protobuf.Descriptors.EnumDescriptor
        getDescriptorForType() {
      return getDescriptor();
    }
    public static final com.google.protobuf.Descriptors.EnumDescriptor
        getDescriptor() {
      return io.github.navi_cloud.shared.CommonCommunication.getDescriptor().getEnumTypes().get(0);
    }

    private static final ResultType[] VALUES = values();

    public static ResultType valueOf(
        com.google.protobuf.Descriptors.EnumValueDescriptor desc) {
      if (desc.getType() != getDescriptor()) {
        throw new java.lang.IllegalArgumentException(
          "EnumValueDescriptor is not for this type.");
      }
      if (desc.getIndex() == -1) {
        return UNRECOGNIZED;
      }
      return VALUES[desc.getIndex()];
    }

    private final int value;

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

    // @@protoc_insertion_point(enum_scope:io.github.navi_cloud.shared.ResultType)
  }

  public interface ResultOrBuilder extends
      // @@protoc_insertion_point(interface_extends:io.github.navi_cloud.shared.Result)
      com.google.protobuf.MessageOrBuilder {

    /**
     * .io.github.navi_cloud.shared.ResultType resultType = 1;
     */
    int getResultTypeValue();
    /**
     * .io.github.navi_cloud.shared.ResultType resultType = 1;
     */
    io.github.navi_cloud.shared.CommonCommunication.ResultType getResultType();

    /**
     * string message = 2;
     */
    java.lang.String getMessage();
    /**
     * string message = 2;
     */
    com.google.protobuf.ByteString
        getMessageBytes();

    /**
     * 
     * If we need to get some object, serialize it here.
     * 
* * string object = 3; */ java.lang.String getObject(); /** *
     * If we need to get some object, serialize it here.
     * 
* * string object = 3; */ com.google.protobuf.ByteString getObjectBytes(); } /** * Protobuf type {@code io.github.navi_cloud.shared.Result} */ public static final class Result extends com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:io.github.navi_cloud.shared.Result) ResultOrBuilder { private static final long serialVersionUID = 0L; // Use Result.newBuilder() to construct. private Result(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } private Result() { resultType_ = 0; message_ = ""; object_ = ""; } @java.lang.Override public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } private Result( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { this(); if (extensionRegistry == null) { throw new java.lang.NullPointerException(); } int mutable_bitField0_ = 0; com.google.protobuf.UnknownFieldSet.Builder unknownFields = com.google.protobuf.UnknownFieldSet.newBuilder(); try { boolean done = false; while (!done) { int tag = input.readTag(); switch (tag) { case 0: done = true; break; case 8: { int rawValue = input.readEnum(); resultType_ = rawValue; break; } case 18: { java.lang.String s = input.readStringRequireUtf8(); message_ = s; break; } case 26: { java.lang.String s = input.readStringRequireUtf8(); object_ = s; break; } default: { if (!parseUnknownFieldProto3( input, unknownFields, extensionRegistry, tag)) { done = true; } break; } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { throw e.setUnfinishedMessage(this); } catch (java.io.IOException e) { throw new com.google.protobuf.InvalidProtocolBufferException( e).setUnfinishedMessage(this); } finally { this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return io.github.navi_cloud.shared.CommonCommunication.internal_static_io_github_navi_cloud_shared_Result_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return io.github.navi_cloud.shared.CommonCommunication.internal_static_io_github_navi_cloud_shared_Result_fieldAccessorTable .ensureFieldAccessorsInitialized( io.github.navi_cloud.shared.CommonCommunication.Result.class, io.github.navi_cloud.shared.CommonCommunication.Result.Builder.class); } public static final int RESULTTYPE_FIELD_NUMBER = 1; private int resultType_; /** * .io.github.navi_cloud.shared.ResultType resultType = 1; */ public int getResultTypeValue() { return resultType_; } /** * .io.github.navi_cloud.shared.ResultType resultType = 1; */ public io.github.navi_cloud.shared.CommonCommunication.ResultType getResultType() { @SuppressWarnings("deprecation") io.github.navi_cloud.shared.CommonCommunication.ResultType result = io.github.navi_cloud.shared.CommonCommunication.ResultType.valueOf(resultType_); return result == null ? io.github.navi_cloud.shared.CommonCommunication.ResultType.UNRECOGNIZED : result; } public static final int MESSAGE_FIELD_NUMBER = 2; private volatile java.lang.Object message_; /** * string message = 2; */ public java.lang.String getMessage() { java.lang.Object ref = message_; if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); message_ = s; return s; } } /** * string message = 2; */ public com.google.protobuf.ByteString getMessageBytes() { java.lang.Object ref = message_; if (ref instanceof java.lang.String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); message_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } public static final int OBJECT_FIELD_NUMBER = 3; private volatile java.lang.Object object_; /** *
     * If we need to get some object, serialize it here.
     * 
* * string object = 3; */ public java.lang.String getObject() { java.lang.Object ref = object_; if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); object_ = s; return s; } } /** *
     * If we need to get some object, serialize it here.
     * 
* * string object = 3; */ public com.google.protobuf.ByteString getObjectBytes() { java.lang.Object ref = object_; if (ref instanceof java.lang.String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); object_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } private byte memoizedIsInitialized = -1; @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; if (isInitialized == 1) return true; if (isInitialized == 0) return false; memoizedIsInitialized = 1; return true; } @java.lang.Override public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { if (resultType_ != io.github.navi_cloud.shared.CommonCommunication.ResultType.UNKNOWN.getNumber()) { output.writeEnum(1, resultType_); } if (!getMessageBytes().isEmpty()) { com.google.protobuf.GeneratedMessageV3.writeString(output, 2, message_); } if (!getObjectBytes().isEmpty()) { com.google.protobuf.GeneratedMessageV3.writeString(output, 3, object_); } unknownFields.writeTo(output); } @java.lang.Override public int getSerializedSize() { int size = memoizedSize; if (size != -1) return size; size = 0; if (resultType_ != io.github.navi_cloud.shared.CommonCommunication.ResultType.UNKNOWN.getNumber()) { size += com.google.protobuf.CodedOutputStream .computeEnumSize(1, resultType_); } if (!getMessageBytes().isEmpty()) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(2, message_); } if (!getObjectBytes().isEmpty()) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(3, object_); } size += unknownFields.getSerializedSize(); memoizedSize = size; return size; } @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { return true; } if (!(obj instanceof io.github.navi_cloud.shared.CommonCommunication.Result)) { return super.equals(obj); } io.github.navi_cloud.shared.CommonCommunication.Result other = (io.github.navi_cloud.shared.CommonCommunication.Result) obj; boolean result = true; result = result && resultType_ == other.resultType_; result = result && getMessage() .equals(other.getMessage()); result = result && getObject() .equals(other.getObject()); result = result && unknownFields.equals(other.unknownFields); return result; } @java.lang.Override public int hashCode() { if (memoizedHashCode != 0) { return memoizedHashCode; } int hash = 41; hash = (19 * hash) + getDescriptor().hashCode(); hash = (37 * hash) + RESULTTYPE_FIELD_NUMBER; hash = (53 * hash) + resultType_; hash = (37 * hash) + MESSAGE_FIELD_NUMBER; hash = (53 * hash) + getMessage().hashCode(); hash = (37 * hash) + OBJECT_FIELD_NUMBER; hash = (53 * hash) + getObject().hashCode(); hash = (29 * hash) + unknownFields.hashCode(); memoizedHashCode = hash; return hash; } public static io.github.navi_cloud.shared.CommonCommunication.Result parseFrom( java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static io.github.navi_cloud.shared.CommonCommunication.Result parseFrom( java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static io.github.navi_cloud.shared.CommonCommunication.Result parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static io.github.navi_cloud.shared.CommonCommunication.Result parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static io.github.navi_cloud.shared.CommonCommunication.Result parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static io.github.navi_cloud.shared.CommonCommunication.Result parseFrom( byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static io.github.navi_cloud.shared.CommonCommunication.Result parseFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input); } public static io.github.navi_cloud.shared.CommonCommunication.Result parseFrom( java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input, extensionRegistry); } public static io.github.navi_cloud.shared.CommonCommunication.Result parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseDelimitedWithIOException(PARSER, input); } public static io.github.navi_cloud.shared.CommonCommunication.Result parseDelimitedFrom( java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseDelimitedWithIOException(PARSER, input, extensionRegistry); } public static io.github.navi_cloud.shared.CommonCommunication.Result parseFrom( com.google.protobuf.CodedInputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input); } public static io.github.navi_cloud.shared.CommonCommunication.Result parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } public static Builder newBuilder(io.github.navi_cloud.shared.CommonCommunication.Result prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } @java.lang.Override public Builder toBuilder() { return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override protected Builder newBuilderForType( com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** * Protobuf type {@code io.github.navi_cloud.shared.Result} */ public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:io.github.navi_cloud.shared.Result) io.github.navi_cloud.shared.CommonCommunication.ResultOrBuilder { public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return io.github.navi_cloud.shared.CommonCommunication.internal_static_io_github_navi_cloud_shared_Result_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return io.github.navi_cloud.shared.CommonCommunication.internal_static_io_github_navi_cloud_shared_Result_fieldAccessorTable .ensureFieldAccessorsInitialized( io.github.navi_cloud.shared.CommonCommunication.Result.class, io.github.navi_cloud.shared.CommonCommunication.Result.Builder.class); } // Construct using io.github.navi_cloud.shared.CommonCommunication.Result.newBuilder() private Builder() { maybeForceBuilderInitialization(); } private Builder( com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } private void maybeForceBuilderInitialization() { if (com.google.protobuf.GeneratedMessageV3 .alwaysUseFieldBuilders) { } } @java.lang.Override public Builder clear() { super.clear(); resultType_ = 0; message_ = ""; object_ = ""; return this; } @java.lang.Override public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { return io.github.navi_cloud.shared.CommonCommunication.internal_static_io_github_navi_cloud_shared_Result_descriptor; } @java.lang.Override public io.github.navi_cloud.shared.CommonCommunication.Result getDefaultInstanceForType() { return io.github.navi_cloud.shared.CommonCommunication.Result.getDefaultInstance(); } @java.lang.Override public io.github.navi_cloud.shared.CommonCommunication.Result build() { io.github.navi_cloud.shared.CommonCommunication.Result result = buildPartial(); if (!result.isInitialized()) { throw newUninitializedMessageException(result); } return result; } @java.lang.Override public io.github.navi_cloud.shared.CommonCommunication.Result buildPartial() { io.github.navi_cloud.shared.CommonCommunication.Result result = new io.github.navi_cloud.shared.CommonCommunication.Result(this); result.resultType_ = resultType_; result.message_ = message_; result.object_ = object_; onBuilt(); return result; } @java.lang.Override public Builder clone() { return (Builder) super.clone(); } @java.lang.Override public Builder setField( com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return (Builder) super.setField(field, value); } @java.lang.Override public Builder clearField( com.google.protobuf.Descriptors.FieldDescriptor field) { return (Builder) super.clearField(field); } @java.lang.Override public Builder clearOneof( com.google.protobuf.Descriptors.OneofDescriptor oneof) { return (Builder) super.clearOneof(oneof); } @java.lang.Override public Builder setRepeatedField( com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { return (Builder) super.setRepeatedField(field, index, value); } @java.lang.Override public Builder addRepeatedField( com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return (Builder) super.addRepeatedField(field, value); } @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof io.github.navi_cloud.shared.CommonCommunication.Result) { return mergeFrom((io.github.navi_cloud.shared.CommonCommunication.Result)other); } else { super.mergeFrom(other); return this; } } public Builder mergeFrom(io.github.navi_cloud.shared.CommonCommunication.Result other) { if (other == io.github.navi_cloud.shared.CommonCommunication.Result.getDefaultInstance()) return this; if (other.resultType_ != 0) { setResultTypeValue(other.getResultTypeValue()); } if (!other.getMessage().isEmpty()) { message_ = other.message_; onChanged(); } if (!other.getObject().isEmpty()) { object_ = other.object_; onChanged(); } this.mergeUnknownFields(other.unknownFields); onChanged(); return this; } @java.lang.Override public final boolean isInitialized() { return true; } @java.lang.Override public Builder mergeFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { io.github.navi_cloud.shared.CommonCommunication.Result parsedMessage = null; try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { parsedMessage = (io.github.navi_cloud.shared.CommonCommunication.Result) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { mergeFrom(parsedMessage); } } return this; } private int resultType_ = 0; /** * .io.github.navi_cloud.shared.ResultType resultType = 1; */ public int getResultTypeValue() { return resultType_; } /** * .io.github.navi_cloud.shared.ResultType resultType = 1; */ public Builder setResultTypeValue(int value) { resultType_ = value; onChanged(); return this; } /** * .io.github.navi_cloud.shared.ResultType resultType = 1; */ public io.github.navi_cloud.shared.CommonCommunication.ResultType getResultType() { @SuppressWarnings("deprecation") io.github.navi_cloud.shared.CommonCommunication.ResultType result = io.github.navi_cloud.shared.CommonCommunication.ResultType.valueOf(resultType_); return result == null ? io.github.navi_cloud.shared.CommonCommunication.ResultType.UNRECOGNIZED : result; } /** * .io.github.navi_cloud.shared.ResultType resultType = 1; */ public Builder setResultType(io.github.navi_cloud.shared.CommonCommunication.ResultType value) { if (value == null) { throw new NullPointerException(); } resultType_ = value.getNumber(); onChanged(); return this; } /** * .io.github.navi_cloud.shared.ResultType resultType = 1; */ public Builder clearResultType() { resultType_ = 0; onChanged(); return this; } private java.lang.Object message_ = ""; /** * string message = 2; */ public java.lang.String getMessage() { java.lang.Object ref = message_; if (!(ref instanceof java.lang.String)) { com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); message_ = s; return s; } else { return (java.lang.String) ref; } } /** * string message = 2; */ public com.google.protobuf.ByteString getMessageBytes() { java.lang.Object ref = message_; if (ref instanceof String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); message_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } /** * string message = 2; */ public Builder setMessage( java.lang.String value) { if (value == null) { throw new NullPointerException(); } message_ = value; onChanged(); return this; } /** * string message = 2; */ public Builder clearMessage() { message_ = getDefaultInstance().getMessage(); onChanged(); return this; } /** * string message = 2; */ public Builder setMessageBytes( com.google.protobuf.ByteString value) { if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); message_ = value; onChanged(); return this; } private java.lang.Object object_ = ""; /** *
       * If we need to get some object, serialize it here.
       * 
* * string object = 3; */ public java.lang.String getObject() { java.lang.Object ref = object_; if (!(ref instanceof java.lang.String)) { com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); object_ = s; return s; } else { return (java.lang.String) ref; } } /** *
       * If we need to get some object, serialize it here.
       * 
* * string object = 3; */ public com.google.protobuf.ByteString getObjectBytes() { java.lang.Object ref = object_; if (ref instanceof String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); object_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } /** *
       * If we need to get some object, serialize it here.
       * 
* * string object = 3; */ public Builder setObject( java.lang.String value) { if (value == null) { throw new NullPointerException(); } object_ = value; onChanged(); return this; } /** *
       * If we need to get some object, serialize it here.
       * 
* * string object = 3; */ public Builder clearObject() { object_ = getDefaultInstance().getObject(); onChanged(); return this; } /** *
       * If we need to get some object, serialize it here.
       * 
* * string object = 3; */ public Builder setObjectBytes( com.google.protobuf.ByteString value) { if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); object_ = value; onChanged(); return this; } @java.lang.Override public final Builder setUnknownFields( final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFieldsProto3(unknownFields); } @java.lang.Override public final Builder mergeUnknownFields( final com.google.protobuf.UnknownFieldSet unknownFields) { return super.mergeUnknownFields(unknownFields); } // @@protoc_insertion_point(builder_scope:io.github.navi_cloud.shared.Result) } // @@protoc_insertion_point(class_scope:io.github.navi_cloud.shared.Result) private static final io.github.navi_cloud.shared.CommonCommunication.Result DEFAULT_INSTANCE; static { DEFAULT_INSTANCE = new io.github.navi_cloud.shared.CommonCommunication.Result(); } public static io.github.navi_cloud.shared.CommonCommunication.Result getDefaultInstance() { return DEFAULT_INSTANCE; } private static final com.google.protobuf.Parser PARSER = new com.google.protobuf.AbstractParser() { @java.lang.Override public Result parsePartialFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return new Result(input, extensionRegistry); } }; public static com.google.protobuf.Parser parser() { return PARSER; } @java.lang.Override public com.google.protobuf.Parser getParserForType() { return PARSER; } @java.lang.Override public io.github.navi_cloud.shared.CommonCommunication.Result getDefaultInstanceForType() { return DEFAULT_INSTANCE; } } private static final com.google.protobuf.Descriptors.Descriptor internal_static_io_github_navi_cloud_shared_Result_descriptor; private static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internal_static_io_github_navi_cloud_shared_Result_fieldAccessorTable; public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { return descriptor; } private static com.google.protobuf.Descriptors.FileDescriptor descriptor; static { java.lang.String[] descriptorData = { "\n\031CommonCommunication.proto\022\033io.github.n" + "avi_cloud.shared\"f\n\006Result\022;\n\nresultType" + "\030\001 \001(\0162\'.io.github.navi_cloud.shared.Res" + "ultType\022\017\n\007message\030\002 \001(\t\022\016\n\006object\030\003 \001(\t" + "*D\n\nResultType\022\013\n\007UNKNOWN\020\000\022\013\n\007SUCCESS\020\001" + "\022\r\n\tDUPLICATE\020\002\022\r\n\tFORBIDDEN\020\003b\006proto3" }; com.google.protobuf.Descriptors.FileDescriptor.InternalDescriptorAssigner assigner = new com.google.protobuf.Descriptors.FileDescriptor. InternalDescriptorAssigner() { public com.google.protobuf.ExtensionRegistry assignDescriptors( com.google.protobuf.Descriptors.FileDescriptor root) { descriptor = root; return null; } }; com.google.protobuf.Descriptors.FileDescriptor .internalBuildGeneratedFileFrom(descriptorData, new com.google.protobuf.Descriptors.FileDescriptor[] { }, assigner); internal_static_io_github_navi_cloud_shared_Result_descriptor = getDescriptor().getMessageTypes().get(0); internal_static_io_github_navi_cloud_shared_Result_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_io_github_navi_cloud_shared_Result_descriptor, new java.lang.String[] { "ResultType", "Message", "Object", }); } // @@protoc_insertion_point(outer_class_scope) }




© 2015 - 2024 Weber Informatics LLC | Privacy Policy