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

org.apache.dubbo.triple.TripleWrapper Maven / Gradle / Ivy

There is a newer version: 3.3.0-beta.3
Show newest version
// Generated by the protocol buffer compiler.  DO NOT EDIT!
// source: triple_wrapper.proto

package org.apache.dubbo.triple;

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

  public static void registerAllExtensions(
      com.google.protobuf.ExtensionRegistry registry) {
    registerAllExtensions(
        (com.google.protobuf.ExtensionRegistryLite) registry);
  }
  public interface TripleRequestWrapperOrBuilder extends
      // @@protoc_insertion_point(interface_extends:org.apache.dubbo.triple.TripleRequestWrapper)
      com.google.protobuf.MessageOrBuilder {

    /**
     * 
     * hessian4
     * json
     * 
* * string serializeType = 1; * @return The serializeType. */ java.lang.String getSerializeType(); /** *
     * hessian4
     * json
     * 
* * string serializeType = 1; * @return The bytes for serializeType. */ com.google.protobuf.ByteString getSerializeTypeBytes(); /** * repeated bytes args = 2; * @return A list containing the args. */ java.util.List getArgsList(); /** * repeated bytes args = 2; * @return The count of args. */ int getArgsCount(); /** * repeated bytes args = 2; * @param index The index of the element to return. * @return The args at the given index. */ com.google.protobuf.ByteString getArgs(int index); /** * repeated string argTypes = 3; * @return A list containing the argTypes. */ java.util.List getArgTypesList(); /** * repeated string argTypes = 3; * @return The count of argTypes. */ int getArgTypesCount(); /** * repeated string argTypes = 3; * @param index The index of the element to return. * @return The argTypes at the given index. */ java.lang.String getArgTypes(int index); /** * repeated string argTypes = 3; * @param index The index of the value to return. * @return The bytes of the argTypes at the given index. */ com.google.protobuf.ByteString getArgTypesBytes(int index); } /** * Protobuf type {@code org.apache.dubbo.triple.TripleRequestWrapper} */ public static final class TripleRequestWrapper extends com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:org.apache.dubbo.triple.TripleRequestWrapper) TripleRequestWrapperOrBuilder { private static final long serialVersionUID = 0L; // Use TripleRequestWrapper.newBuilder() to construct. private TripleRequestWrapper(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } private TripleRequestWrapper() { serializeType_ = ""; args_ = java.util.Collections.emptyList(); argTypes_ = com.google.protobuf.LazyStringArrayList.EMPTY; } @java.lang.Override @SuppressWarnings({"unused"}) protected java.lang.Object newInstance( UnusedPrivateParameter unused) { return new TripleRequestWrapper(); } @java.lang.Override public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } private TripleRequestWrapper( 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 10: { java.lang.String s = input.readStringRequireUtf8(); serializeType_ = s; break; } case 18: { if (!((mutable_bitField0_ & 0x00000001) != 0)) { args_ = new java.util.ArrayList(); mutable_bitField0_ |= 0x00000001; } args_.add(input.readBytes()); break; } case 26: { java.lang.String s = input.readStringRequireUtf8(); if (!((mutable_bitField0_ & 0x00000002) != 0)) { argTypes_ = new com.google.protobuf.LazyStringArrayList(); mutable_bitField0_ |= 0x00000002; } argTypes_.add(s); break; } default: { if (!parseUnknownField( 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 { if (((mutable_bitField0_ & 0x00000001) != 0)) { args_ = java.util.Collections.unmodifiableList(args_); // C } if (((mutable_bitField0_ & 0x00000002) != 0)) { argTypes_ = argTypes_.getUnmodifiableView(); } this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return org.apache.dubbo.triple.TripleWrapper.internal_static_org_apache_dubbo_triple_TripleRequestWrapper_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return org.apache.dubbo.triple.TripleWrapper.internal_static_org_apache_dubbo_triple_TripleRequestWrapper_fieldAccessorTable .ensureFieldAccessorsInitialized( org.apache.dubbo.triple.TripleWrapper.TripleRequestWrapper.class, org.apache.dubbo.triple.TripleWrapper.TripleRequestWrapper.Builder.class); } public static final int SERIALIZETYPE_FIELD_NUMBER = 1; private volatile java.lang.Object serializeType_; /** *
     * hessian4
     * json
     * 
* * string serializeType = 1; * @return The serializeType. */ public java.lang.String getSerializeType() { java.lang.Object ref = serializeType_; 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(); serializeType_ = s; return s; } } /** *
     * hessian4
     * json
     * 
* * string serializeType = 1; * @return The bytes for serializeType. */ public com.google.protobuf.ByteString getSerializeTypeBytes() { java.lang.Object ref = serializeType_; if (ref instanceof java.lang.String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); serializeType_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } public static final int ARGS_FIELD_NUMBER = 2; private java.util.List args_; /** * repeated bytes args = 2; * @return A list containing the args. */ public java.util.List getArgsList() { return args_; } /** * repeated bytes args = 2; * @return The count of args. */ public int getArgsCount() { return args_.size(); } /** * repeated bytes args = 2; * @param index The index of the element to return. * @return The args at the given index. */ public com.google.protobuf.ByteString getArgs(int index) { return args_.get(index); } public static final int ARGTYPES_FIELD_NUMBER = 3; private com.google.protobuf.LazyStringList argTypes_; /** * repeated string argTypes = 3; * @return A list containing the argTypes. */ public com.google.protobuf.ProtocolStringList getArgTypesList() { return argTypes_; } /** * repeated string argTypes = 3; * @return The count of argTypes. */ public int getArgTypesCount() { return argTypes_.size(); } /** * repeated string argTypes = 3; * @param index The index of the element to return. * @return The argTypes at the given index. */ public java.lang.String getArgTypes(int index) { return argTypes_.get(index); } /** * repeated string argTypes = 3; * @param index The index of the value to return. * @return The bytes of the argTypes at the given index. */ public com.google.protobuf.ByteString getArgTypesBytes(int index) { return argTypes_.getByteString(index); } 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 (!getSerializeTypeBytes().isEmpty()) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, serializeType_); } for (int i = 0; i < args_.size(); i++) { output.writeBytes(2, args_.get(i)); } for (int i = 0; i < argTypes_.size(); i++) { com.google.protobuf.GeneratedMessageV3.writeString(output, 3, argTypes_.getRaw(i)); } unknownFields.writeTo(output); } @java.lang.Override public int getSerializedSize() { int size = memoizedSize; if (size != -1) return size; size = 0; if (!getSerializeTypeBytes().isEmpty()) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, serializeType_); } { int dataSize = 0; for (int i = 0; i < args_.size(); i++) { dataSize += com.google.protobuf.CodedOutputStream .computeBytesSizeNoTag(args_.get(i)); } size += dataSize; size += 1 * getArgsList().size(); } { int dataSize = 0; for (int i = 0; i < argTypes_.size(); i++) { dataSize += computeStringSizeNoTag(argTypes_.getRaw(i)); } size += dataSize; size += 1 * getArgTypesList().size(); } 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 org.apache.dubbo.triple.TripleWrapper.TripleRequestWrapper)) { return super.equals(obj); } org.apache.dubbo.triple.TripleWrapper.TripleRequestWrapper other = (org.apache.dubbo.triple.TripleWrapper.TripleRequestWrapper) obj; if (!getSerializeType() .equals(other.getSerializeType())) return false; if (!getArgsList() .equals(other.getArgsList())) return false; if (!getArgTypesList() .equals(other.getArgTypesList())) return false; if (!unknownFields.equals(other.unknownFields)) return false; return true; } @java.lang.Override public int hashCode() { if (memoizedHashCode != 0) { return memoizedHashCode; } int hash = 41; hash = (19 * hash) + getDescriptor().hashCode(); hash = (37 * hash) + SERIALIZETYPE_FIELD_NUMBER; hash = (53 * hash) + getSerializeType().hashCode(); if (getArgsCount() > 0) { hash = (37 * hash) + ARGS_FIELD_NUMBER; hash = (53 * hash) + getArgsList().hashCode(); } if (getArgTypesCount() > 0) { hash = (37 * hash) + ARGTYPES_FIELD_NUMBER; hash = (53 * hash) + getArgTypesList().hashCode(); } hash = (29 * hash) + unknownFields.hashCode(); memoizedHashCode = hash; return hash; } public static org.apache.dubbo.triple.TripleWrapper.TripleRequestWrapper parseFrom( java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static org.apache.dubbo.triple.TripleWrapper.TripleRequestWrapper parseFrom( java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static org.apache.dubbo.triple.TripleWrapper.TripleRequestWrapper parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static org.apache.dubbo.triple.TripleWrapper.TripleRequestWrapper parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static org.apache.dubbo.triple.TripleWrapper.TripleRequestWrapper parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static org.apache.dubbo.triple.TripleWrapper.TripleRequestWrapper parseFrom( byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static org.apache.dubbo.triple.TripleWrapper.TripleRequestWrapper parseFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input); } public static org.apache.dubbo.triple.TripleWrapper.TripleRequestWrapper 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 org.apache.dubbo.triple.TripleWrapper.TripleRequestWrapper parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseDelimitedWithIOException(PARSER, input); } public static org.apache.dubbo.triple.TripleWrapper.TripleRequestWrapper 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 org.apache.dubbo.triple.TripleWrapper.TripleRequestWrapper parseFrom( com.google.protobuf.CodedInputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input); } public static org.apache.dubbo.triple.TripleWrapper.TripleRequestWrapper 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(org.apache.dubbo.triple.TripleWrapper.TripleRequestWrapper 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 org.apache.dubbo.triple.TripleRequestWrapper} */ public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:org.apache.dubbo.triple.TripleRequestWrapper) org.apache.dubbo.triple.TripleWrapper.TripleRequestWrapperOrBuilder { public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return org.apache.dubbo.triple.TripleWrapper.internal_static_org_apache_dubbo_triple_TripleRequestWrapper_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return org.apache.dubbo.triple.TripleWrapper.internal_static_org_apache_dubbo_triple_TripleRequestWrapper_fieldAccessorTable .ensureFieldAccessorsInitialized( org.apache.dubbo.triple.TripleWrapper.TripleRequestWrapper.class, org.apache.dubbo.triple.TripleWrapper.TripleRequestWrapper.Builder.class); } // Construct using org.apache.dubbo.triple.TripleWrapper.TripleRequestWrapper.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(); serializeType_ = ""; args_ = java.util.Collections.emptyList(); bitField0_ = (bitField0_ & ~0x00000001); argTypes_ = com.google.protobuf.LazyStringArrayList.EMPTY; bitField0_ = (bitField0_ & ~0x00000002); return this; } @java.lang.Override public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { return org.apache.dubbo.triple.TripleWrapper.internal_static_org_apache_dubbo_triple_TripleRequestWrapper_descriptor; } @java.lang.Override public org.apache.dubbo.triple.TripleWrapper.TripleRequestWrapper getDefaultInstanceForType() { return org.apache.dubbo.triple.TripleWrapper.TripleRequestWrapper.getDefaultInstance(); } @java.lang.Override public org.apache.dubbo.triple.TripleWrapper.TripleRequestWrapper build() { org.apache.dubbo.triple.TripleWrapper.TripleRequestWrapper result = buildPartial(); if (!result.isInitialized()) { throw newUninitializedMessageException(result); } return result; } @java.lang.Override public org.apache.dubbo.triple.TripleWrapper.TripleRequestWrapper buildPartial() { org.apache.dubbo.triple.TripleWrapper.TripleRequestWrapper result = new org.apache.dubbo.triple.TripleWrapper.TripleRequestWrapper(this); int from_bitField0_ = bitField0_; result.serializeType_ = serializeType_; if (((bitField0_ & 0x00000001) != 0)) { args_ = java.util.Collections.unmodifiableList(args_); bitField0_ = (bitField0_ & ~0x00000001); } result.args_ = args_; if (((bitField0_ & 0x00000002) != 0)) { argTypes_ = argTypes_.getUnmodifiableView(); bitField0_ = (bitField0_ & ~0x00000002); } result.argTypes_ = argTypes_; onBuilt(); return result; } @java.lang.Override public Builder clone() { return super.clone(); } @java.lang.Override public Builder setField( com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.setField(field, value); } @java.lang.Override public Builder clearField( com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } @java.lang.Override public Builder clearOneof( com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } @java.lang.Override public Builder setRepeatedField( com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } @java.lang.Override public Builder addRepeatedField( com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.addRepeatedField(field, value); } @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof org.apache.dubbo.triple.TripleWrapper.TripleRequestWrapper) { return mergeFrom((org.apache.dubbo.triple.TripleWrapper.TripleRequestWrapper)other); } else { super.mergeFrom(other); return this; } } public Builder mergeFrom(org.apache.dubbo.triple.TripleWrapper.TripleRequestWrapper other) { if (other == org.apache.dubbo.triple.TripleWrapper.TripleRequestWrapper.getDefaultInstance()) return this; if (!other.getSerializeType().isEmpty()) { serializeType_ = other.serializeType_; onChanged(); } if (!other.args_.isEmpty()) { if (args_.isEmpty()) { args_ = other.args_; bitField0_ = (bitField0_ & ~0x00000001); } else { ensureArgsIsMutable(); args_.addAll(other.args_); } onChanged(); } if (!other.argTypes_.isEmpty()) { if (argTypes_.isEmpty()) { argTypes_ = other.argTypes_; bitField0_ = (bitField0_ & ~0x00000002); } else { ensureArgTypesIsMutable(); argTypes_.addAll(other.argTypes_); } 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 { org.apache.dubbo.triple.TripleWrapper.TripleRequestWrapper parsedMessage = null; try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { parsedMessage = (org.apache.dubbo.triple.TripleWrapper.TripleRequestWrapper) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { mergeFrom(parsedMessage); } } return this; } private int bitField0_; private java.lang.Object serializeType_ = ""; /** *
       * hessian4
       * json
       * 
* * string serializeType = 1; * @return The serializeType. */ public java.lang.String getSerializeType() { java.lang.Object ref = serializeType_; if (!(ref instanceof java.lang.String)) { com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); serializeType_ = s; return s; } else { return (java.lang.String) ref; } } /** *
       * hessian4
       * json
       * 
* * string serializeType = 1; * @return The bytes for serializeType. */ public com.google.protobuf.ByteString getSerializeTypeBytes() { java.lang.Object ref = serializeType_; if (ref instanceof String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); serializeType_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } /** *
       * hessian4
       * json
       * 
* * string serializeType = 1; * @param value The serializeType to set. * @return This builder for chaining. */ public Builder setSerializeType( java.lang.String value) { if (value == null) { throw new NullPointerException(); } serializeType_ = value; onChanged(); return this; } /** *
       * hessian4
       * json
       * 
* * string serializeType = 1; * @return This builder for chaining. */ public Builder clearSerializeType() { serializeType_ = getDefaultInstance().getSerializeType(); onChanged(); return this; } /** *
       * hessian4
       * json
       * 
* * string serializeType = 1; * @param value The bytes for serializeType to set. * @return This builder for chaining. */ public Builder setSerializeTypeBytes( com.google.protobuf.ByteString value) { if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); serializeType_ = value; onChanged(); return this; } private java.util.List args_ = java.util.Collections.emptyList(); private void ensureArgsIsMutable() { if (!((bitField0_ & 0x00000001) != 0)) { args_ = new java.util.ArrayList(args_); bitField0_ |= 0x00000001; } } /** * repeated bytes args = 2; * @return A list containing the args. */ public java.util.List getArgsList() { return ((bitField0_ & 0x00000001) != 0) ? java.util.Collections.unmodifiableList(args_) : args_; } /** * repeated bytes args = 2; * @return The count of args. */ public int getArgsCount() { return args_.size(); } /** * repeated bytes args = 2; * @param index The index of the element to return. * @return The args at the given index. */ public com.google.protobuf.ByteString getArgs(int index) { return args_.get(index); } /** * repeated bytes args = 2; * @param index The index to set the value at. * @param value The args to set. * @return This builder for chaining. */ public Builder setArgs( int index, com.google.protobuf.ByteString value) { if (value == null) { throw new NullPointerException(); } ensureArgsIsMutable(); args_.set(index, value); onChanged(); return this; } /** * repeated bytes args = 2; * @param value The args to add. * @return This builder for chaining. */ public Builder addArgs(com.google.protobuf.ByteString value) { if (value == null) { throw new NullPointerException(); } ensureArgsIsMutable(); args_.add(value); onChanged(); return this; } /** * repeated bytes args = 2; * @param values The args to add. * @return This builder for chaining. */ public Builder addAllArgs( java.lang.Iterable values) { ensureArgsIsMutable(); com.google.protobuf.AbstractMessageLite.Builder.addAll( values, args_); onChanged(); return this; } /** * repeated bytes args = 2; * @return This builder for chaining. */ public Builder clearArgs() { args_ = java.util.Collections.emptyList(); bitField0_ = (bitField0_ & ~0x00000001); onChanged(); return this; } private com.google.protobuf.LazyStringList argTypes_ = com.google.protobuf.LazyStringArrayList.EMPTY; private void ensureArgTypesIsMutable() { if (!((bitField0_ & 0x00000002) != 0)) { argTypes_ = new com.google.protobuf.LazyStringArrayList(argTypes_); bitField0_ |= 0x00000002; } } /** * repeated string argTypes = 3; * @return A list containing the argTypes. */ public com.google.protobuf.ProtocolStringList getArgTypesList() { return argTypes_.getUnmodifiableView(); } /** * repeated string argTypes = 3; * @return The count of argTypes. */ public int getArgTypesCount() { return argTypes_.size(); } /** * repeated string argTypes = 3; * @param index The index of the element to return. * @return The argTypes at the given index. */ public java.lang.String getArgTypes(int index) { return argTypes_.get(index); } /** * repeated string argTypes = 3; * @param index The index of the value to return. * @return The bytes of the argTypes at the given index. */ public com.google.protobuf.ByteString getArgTypesBytes(int index) { return argTypes_.getByteString(index); } /** * repeated string argTypes = 3; * @param index The index to set the value at. * @param value The argTypes to set. * @return This builder for chaining. */ public Builder setArgTypes( int index, java.lang.String value) { if (value == null) { throw new NullPointerException(); } ensureArgTypesIsMutable(); argTypes_.set(index, value); onChanged(); return this; } /** * repeated string argTypes = 3; * @param value The argTypes to add. * @return This builder for chaining. */ public Builder addArgTypes( java.lang.String value) { if (value == null) { throw new NullPointerException(); } ensureArgTypesIsMutable(); argTypes_.add(value); onChanged(); return this; } /** * repeated string argTypes = 3; * @param values The argTypes to add. * @return This builder for chaining. */ public Builder addAllArgTypes( java.lang.Iterable values) { ensureArgTypesIsMutable(); com.google.protobuf.AbstractMessageLite.Builder.addAll( values, argTypes_); onChanged(); return this; } /** * repeated string argTypes = 3; * @return This builder for chaining. */ public Builder clearArgTypes() { argTypes_ = com.google.protobuf.LazyStringArrayList.EMPTY; bitField0_ = (bitField0_ & ~0x00000002); onChanged(); return this; } /** * repeated string argTypes = 3; * @param value The bytes of the argTypes to add. * @return This builder for chaining. */ public Builder addArgTypesBytes( com.google.protobuf.ByteString value) { if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); ensureArgTypesIsMutable(); argTypes_.add(value); onChanged(); return this; } @java.lang.Override public final Builder setUnknownFields( final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @java.lang.Override public final Builder mergeUnknownFields( final com.google.protobuf.UnknownFieldSet unknownFields) { return super.mergeUnknownFields(unknownFields); } // @@protoc_insertion_point(builder_scope:org.apache.dubbo.triple.TripleRequestWrapper) } // @@protoc_insertion_point(class_scope:org.apache.dubbo.triple.TripleRequestWrapper) private static final org.apache.dubbo.triple.TripleWrapper.TripleRequestWrapper DEFAULT_INSTANCE; static { DEFAULT_INSTANCE = new org.apache.dubbo.triple.TripleWrapper.TripleRequestWrapper(); } public static org.apache.dubbo.triple.TripleWrapper.TripleRequestWrapper getDefaultInstance() { return DEFAULT_INSTANCE; } private static final com.google.protobuf.Parser PARSER = new com.google.protobuf.AbstractParser() { @java.lang.Override public TripleRequestWrapper parsePartialFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return new TripleRequestWrapper(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 org.apache.dubbo.triple.TripleWrapper.TripleRequestWrapper getDefaultInstanceForType() { return DEFAULT_INSTANCE; } } public interface TripleResponseWrapperOrBuilder extends // @@protoc_insertion_point(interface_extends:org.apache.dubbo.triple.TripleResponseWrapper) com.google.protobuf.MessageOrBuilder { /** * string serializeType = 1; * @return The serializeType. */ java.lang.String getSerializeType(); /** * string serializeType = 1; * @return The bytes for serializeType. */ com.google.protobuf.ByteString getSerializeTypeBytes(); /** * bytes data = 2; * @return The data. */ com.google.protobuf.ByteString getData(); /** * string type = 3; * @return The type. */ java.lang.String getType(); /** * string type = 3; * @return The bytes for type. */ com.google.protobuf.ByteString getTypeBytes(); } /** * Protobuf type {@code org.apache.dubbo.triple.TripleResponseWrapper} */ public static final class TripleResponseWrapper extends com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:org.apache.dubbo.triple.TripleResponseWrapper) TripleResponseWrapperOrBuilder { private static final long serialVersionUID = 0L; // Use TripleResponseWrapper.newBuilder() to construct. private TripleResponseWrapper(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } private TripleResponseWrapper() { serializeType_ = ""; data_ = com.google.protobuf.ByteString.EMPTY; type_ = ""; } @java.lang.Override @SuppressWarnings({"unused"}) protected java.lang.Object newInstance( UnusedPrivateParameter unused) { return new TripleResponseWrapper(); } @java.lang.Override public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } private TripleResponseWrapper( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { this(); if (extensionRegistry == null) { throw new java.lang.NullPointerException(); } 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 10: { java.lang.String s = input.readStringRequireUtf8(); serializeType_ = s; break; } case 18: { data_ = input.readBytes(); break; } case 26: { java.lang.String s = input.readStringRequireUtf8(); type_ = s; break; } default: { if (!parseUnknownField( 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 org.apache.dubbo.triple.TripleWrapper.internal_static_org_apache_dubbo_triple_TripleResponseWrapper_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return org.apache.dubbo.triple.TripleWrapper.internal_static_org_apache_dubbo_triple_TripleResponseWrapper_fieldAccessorTable .ensureFieldAccessorsInitialized( org.apache.dubbo.triple.TripleWrapper.TripleResponseWrapper.class, org.apache.dubbo.triple.TripleWrapper.TripleResponseWrapper.Builder.class); } public static final int SERIALIZETYPE_FIELD_NUMBER = 1; private volatile java.lang.Object serializeType_; /** * string serializeType = 1; * @return The serializeType. */ public java.lang.String getSerializeType() { java.lang.Object ref = serializeType_; 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(); serializeType_ = s; return s; } } /** * string serializeType = 1; * @return The bytes for serializeType. */ public com.google.protobuf.ByteString getSerializeTypeBytes() { java.lang.Object ref = serializeType_; if (ref instanceof java.lang.String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); serializeType_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } public static final int DATA_FIELD_NUMBER = 2; private com.google.protobuf.ByteString data_; /** * bytes data = 2; * @return The data. */ public com.google.protobuf.ByteString getData() { return data_; } public static final int TYPE_FIELD_NUMBER = 3; private volatile java.lang.Object type_; /** * string type = 3; * @return The type. */ public java.lang.String getType() { java.lang.Object ref = type_; 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(); type_ = s; return s; } } /** * string type = 3; * @return The bytes for type. */ public com.google.protobuf.ByteString getTypeBytes() { java.lang.Object ref = type_; if (ref instanceof java.lang.String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); type_ = 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 (!getSerializeTypeBytes().isEmpty()) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, serializeType_); } if (!data_.isEmpty()) { output.writeBytes(2, data_); } if (!getTypeBytes().isEmpty()) { com.google.protobuf.GeneratedMessageV3.writeString(output, 3, type_); } unknownFields.writeTo(output); } @java.lang.Override public int getSerializedSize() { int size = memoizedSize; if (size != -1) return size; size = 0; if (!getSerializeTypeBytes().isEmpty()) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, serializeType_); } if (!data_.isEmpty()) { size += com.google.protobuf.CodedOutputStream .computeBytesSize(2, data_); } if (!getTypeBytes().isEmpty()) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(3, type_); } 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 org.apache.dubbo.triple.TripleWrapper.TripleResponseWrapper)) { return super.equals(obj); } org.apache.dubbo.triple.TripleWrapper.TripleResponseWrapper other = (org.apache.dubbo.triple.TripleWrapper.TripleResponseWrapper) obj; if (!getSerializeType() .equals(other.getSerializeType())) return false; if (!getData() .equals(other.getData())) return false; if (!getType() .equals(other.getType())) return false; if (!unknownFields.equals(other.unknownFields)) return false; return true; } @java.lang.Override public int hashCode() { if (memoizedHashCode != 0) { return memoizedHashCode; } int hash = 41; hash = (19 * hash) + getDescriptor().hashCode(); hash = (37 * hash) + SERIALIZETYPE_FIELD_NUMBER; hash = (53 * hash) + getSerializeType().hashCode(); hash = (37 * hash) + DATA_FIELD_NUMBER; hash = (53 * hash) + getData().hashCode(); hash = (37 * hash) + TYPE_FIELD_NUMBER; hash = (53 * hash) + getType().hashCode(); hash = (29 * hash) + unknownFields.hashCode(); memoizedHashCode = hash; return hash; } public static org.apache.dubbo.triple.TripleWrapper.TripleResponseWrapper parseFrom( java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static org.apache.dubbo.triple.TripleWrapper.TripleResponseWrapper parseFrom( java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static org.apache.dubbo.triple.TripleWrapper.TripleResponseWrapper parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static org.apache.dubbo.triple.TripleWrapper.TripleResponseWrapper parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static org.apache.dubbo.triple.TripleWrapper.TripleResponseWrapper parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static org.apache.dubbo.triple.TripleWrapper.TripleResponseWrapper parseFrom( byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static org.apache.dubbo.triple.TripleWrapper.TripleResponseWrapper parseFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input); } public static org.apache.dubbo.triple.TripleWrapper.TripleResponseWrapper 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 org.apache.dubbo.triple.TripleWrapper.TripleResponseWrapper parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseDelimitedWithIOException(PARSER, input); } public static org.apache.dubbo.triple.TripleWrapper.TripleResponseWrapper 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 org.apache.dubbo.triple.TripleWrapper.TripleResponseWrapper parseFrom( com.google.protobuf.CodedInputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input); } public static org.apache.dubbo.triple.TripleWrapper.TripleResponseWrapper 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(org.apache.dubbo.triple.TripleWrapper.TripleResponseWrapper 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 org.apache.dubbo.triple.TripleResponseWrapper} */ public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:org.apache.dubbo.triple.TripleResponseWrapper) org.apache.dubbo.triple.TripleWrapper.TripleResponseWrapperOrBuilder { public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return org.apache.dubbo.triple.TripleWrapper.internal_static_org_apache_dubbo_triple_TripleResponseWrapper_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return org.apache.dubbo.triple.TripleWrapper.internal_static_org_apache_dubbo_triple_TripleResponseWrapper_fieldAccessorTable .ensureFieldAccessorsInitialized( org.apache.dubbo.triple.TripleWrapper.TripleResponseWrapper.class, org.apache.dubbo.triple.TripleWrapper.TripleResponseWrapper.Builder.class); } // Construct using org.apache.dubbo.triple.TripleWrapper.TripleResponseWrapper.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(); serializeType_ = ""; data_ = com.google.protobuf.ByteString.EMPTY; type_ = ""; return this; } @java.lang.Override public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { return org.apache.dubbo.triple.TripleWrapper.internal_static_org_apache_dubbo_triple_TripleResponseWrapper_descriptor; } @java.lang.Override public org.apache.dubbo.triple.TripleWrapper.TripleResponseWrapper getDefaultInstanceForType() { return org.apache.dubbo.triple.TripleWrapper.TripleResponseWrapper.getDefaultInstance(); } @java.lang.Override public org.apache.dubbo.triple.TripleWrapper.TripleResponseWrapper build() { org.apache.dubbo.triple.TripleWrapper.TripleResponseWrapper result = buildPartial(); if (!result.isInitialized()) { throw newUninitializedMessageException(result); } return result; } @java.lang.Override public org.apache.dubbo.triple.TripleWrapper.TripleResponseWrapper buildPartial() { org.apache.dubbo.triple.TripleWrapper.TripleResponseWrapper result = new org.apache.dubbo.triple.TripleWrapper.TripleResponseWrapper(this); result.serializeType_ = serializeType_; result.data_ = data_; result.type_ = type_; onBuilt(); return result; } @java.lang.Override public Builder clone() { return super.clone(); } @java.lang.Override public Builder setField( com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.setField(field, value); } @java.lang.Override public Builder clearField( com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } @java.lang.Override public Builder clearOneof( com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } @java.lang.Override public Builder setRepeatedField( com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } @java.lang.Override public Builder addRepeatedField( com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.addRepeatedField(field, value); } @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof org.apache.dubbo.triple.TripleWrapper.TripleResponseWrapper) { return mergeFrom((org.apache.dubbo.triple.TripleWrapper.TripleResponseWrapper)other); } else { super.mergeFrom(other); return this; } } public Builder mergeFrom(org.apache.dubbo.triple.TripleWrapper.TripleResponseWrapper other) { if (other == org.apache.dubbo.triple.TripleWrapper.TripleResponseWrapper.getDefaultInstance()) return this; if (!other.getSerializeType().isEmpty()) { serializeType_ = other.serializeType_; onChanged(); } if (other.getData() != com.google.protobuf.ByteString.EMPTY) { setData(other.getData()); } if (!other.getType().isEmpty()) { type_ = other.type_; 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 { org.apache.dubbo.triple.TripleWrapper.TripleResponseWrapper parsedMessage = null; try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { parsedMessage = (org.apache.dubbo.triple.TripleWrapper.TripleResponseWrapper) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { mergeFrom(parsedMessage); } } return this; } private java.lang.Object serializeType_ = ""; /** * string serializeType = 1; * @return The serializeType. */ public java.lang.String getSerializeType() { java.lang.Object ref = serializeType_; if (!(ref instanceof java.lang.String)) { com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); serializeType_ = s; return s; } else { return (java.lang.String) ref; } } /** * string serializeType = 1; * @return The bytes for serializeType. */ public com.google.protobuf.ByteString getSerializeTypeBytes() { java.lang.Object ref = serializeType_; if (ref instanceof String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); serializeType_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } /** * string serializeType = 1; * @param value The serializeType to set. * @return This builder for chaining. */ public Builder setSerializeType( java.lang.String value) { if (value == null) { throw new NullPointerException(); } serializeType_ = value; onChanged(); return this; } /** * string serializeType = 1; * @return This builder for chaining. */ public Builder clearSerializeType() { serializeType_ = getDefaultInstance().getSerializeType(); onChanged(); return this; } /** * string serializeType = 1; * @param value The bytes for serializeType to set. * @return This builder for chaining. */ public Builder setSerializeTypeBytes( com.google.protobuf.ByteString value) { if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); serializeType_ = value; onChanged(); return this; } private com.google.protobuf.ByteString data_ = com.google.protobuf.ByteString.EMPTY; /** * bytes data = 2; * @return The data. */ public com.google.protobuf.ByteString getData() { return data_; } /** * bytes data = 2; * @param value The data to set. * @return This builder for chaining. */ public Builder setData(com.google.protobuf.ByteString value) { if (value == null) { throw new NullPointerException(); } data_ = value; onChanged(); return this; } /** * bytes data = 2; * @return This builder for chaining. */ public Builder clearData() { data_ = getDefaultInstance().getData(); onChanged(); return this; } private java.lang.Object type_ = ""; /** * string type = 3; * @return The type. */ public java.lang.String getType() { java.lang.Object ref = type_; if (!(ref instanceof java.lang.String)) { com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); type_ = s; return s; } else { return (java.lang.String) ref; } } /** * string type = 3; * @return The bytes for type. */ public com.google.protobuf.ByteString getTypeBytes() { java.lang.Object ref = type_; if (ref instanceof String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); type_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } /** * string type = 3; * @param value The type to set. * @return This builder for chaining. */ public Builder setType( java.lang.String value) { if (value == null) { throw new NullPointerException(); } type_ = value; onChanged(); return this; } /** * string type = 3; * @return This builder for chaining. */ public Builder clearType() { type_ = getDefaultInstance().getType(); onChanged(); return this; } /** * string type = 3; * @param value The bytes for type to set. * @return This builder for chaining. */ public Builder setTypeBytes( com.google.protobuf.ByteString value) { if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); type_ = value; onChanged(); return this; } @java.lang.Override public final Builder setUnknownFields( final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @java.lang.Override public final Builder mergeUnknownFields( final com.google.protobuf.UnknownFieldSet unknownFields) { return super.mergeUnknownFields(unknownFields); } // @@protoc_insertion_point(builder_scope:org.apache.dubbo.triple.TripleResponseWrapper) } // @@protoc_insertion_point(class_scope:org.apache.dubbo.triple.TripleResponseWrapper) private static final org.apache.dubbo.triple.TripleWrapper.TripleResponseWrapper DEFAULT_INSTANCE; static { DEFAULT_INSTANCE = new org.apache.dubbo.triple.TripleWrapper.TripleResponseWrapper(); } public static org.apache.dubbo.triple.TripleWrapper.TripleResponseWrapper getDefaultInstance() { return DEFAULT_INSTANCE; } private static final com.google.protobuf.Parser PARSER = new com.google.protobuf.AbstractParser() { @java.lang.Override public TripleResponseWrapper parsePartialFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return new TripleResponseWrapper(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 org.apache.dubbo.triple.TripleWrapper.TripleResponseWrapper getDefaultInstanceForType() { return DEFAULT_INSTANCE; } } public interface TripleExceptionWrapperOrBuilder extends // @@protoc_insertion_point(interface_extends:org.apache.dubbo.triple.TripleExceptionWrapper) com.google.protobuf.MessageOrBuilder { /** * string language = 1; * @return The language. */ java.lang.String getLanguage(); /** * string language = 1; * @return The bytes for language. */ com.google.protobuf.ByteString getLanguageBytes(); /** * string serialization = 2; * @return The serialization. */ java.lang.String getSerialization(); /** * string serialization = 2; * @return The bytes for serialization. */ com.google.protobuf.ByteString getSerializationBytes(); /** * string className = 3; * @return The className. */ java.lang.String getClassName(); /** * string className = 3; * @return The bytes for className. */ com.google.protobuf.ByteString getClassNameBytes(); /** * bytes data = 4; * @return The data. */ com.google.protobuf.ByteString getData(); } /** * Protobuf type {@code org.apache.dubbo.triple.TripleExceptionWrapper} */ public static final class TripleExceptionWrapper extends com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:org.apache.dubbo.triple.TripleExceptionWrapper) TripleExceptionWrapperOrBuilder { private static final long serialVersionUID = 0L; // Use TripleExceptionWrapper.newBuilder() to construct. private TripleExceptionWrapper(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } private TripleExceptionWrapper() { language_ = ""; serialization_ = ""; className_ = ""; data_ = com.google.protobuf.ByteString.EMPTY; } @java.lang.Override @SuppressWarnings({"unused"}) protected java.lang.Object newInstance( UnusedPrivateParameter unused) { return new TripleExceptionWrapper(); } @java.lang.Override public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } private TripleExceptionWrapper( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { this(); if (extensionRegistry == null) { throw new java.lang.NullPointerException(); } 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 10: { java.lang.String s = input.readStringRequireUtf8(); language_ = s; break; } case 18: { java.lang.String s = input.readStringRequireUtf8(); serialization_ = s; break; } case 26: { java.lang.String s = input.readStringRequireUtf8(); className_ = s; break; } case 34: { data_ = input.readBytes(); break; } default: { if (!parseUnknownField( 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 org.apache.dubbo.triple.TripleWrapper.internal_static_org_apache_dubbo_triple_TripleExceptionWrapper_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return org.apache.dubbo.triple.TripleWrapper.internal_static_org_apache_dubbo_triple_TripleExceptionWrapper_fieldAccessorTable .ensureFieldAccessorsInitialized( org.apache.dubbo.triple.TripleWrapper.TripleExceptionWrapper.class, org.apache.dubbo.triple.TripleWrapper.TripleExceptionWrapper.Builder.class); } public static final int LANGUAGE_FIELD_NUMBER = 1; private volatile java.lang.Object language_; /** * string language = 1; * @return The language. */ public java.lang.String getLanguage() { java.lang.Object ref = language_; 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(); language_ = s; return s; } } /** * string language = 1; * @return The bytes for language. */ public com.google.protobuf.ByteString getLanguageBytes() { java.lang.Object ref = language_; if (ref instanceof java.lang.String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); language_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } public static final int SERIALIZATION_FIELD_NUMBER = 2; private volatile java.lang.Object serialization_; /** * string serialization = 2; * @return The serialization. */ public java.lang.String getSerialization() { java.lang.Object ref = serialization_; 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(); serialization_ = s; return s; } } /** * string serialization = 2; * @return The bytes for serialization. */ public com.google.protobuf.ByteString getSerializationBytes() { java.lang.Object ref = serialization_; if (ref instanceof java.lang.String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); serialization_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } public static final int CLASSNAME_FIELD_NUMBER = 3; private volatile java.lang.Object className_; /** * string className = 3; * @return The className. */ public java.lang.String getClassName() { java.lang.Object ref = className_; 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(); className_ = s; return s; } } /** * string className = 3; * @return The bytes for className. */ public com.google.protobuf.ByteString getClassNameBytes() { java.lang.Object ref = className_; if (ref instanceof java.lang.String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); className_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } public static final int DATA_FIELD_NUMBER = 4; private com.google.protobuf.ByteString data_; /** * bytes data = 4; * @return The data. */ public com.google.protobuf.ByteString getData() { return data_; } 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 (!getLanguageBytes().isEmpty()) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, language_); } if (!getSerializationBytes().isEmpty()) { com.google.protobuf.GeneratedMessageV3.writeString(output, 2, serialization_); } if (!getClassNameBytes().isEmpty()) { com.google.protobuf.GeneratedMessageV3.writeString(output, 3, className_); } if (!data_.isEmpty()) { output.writeBytes(4, data_); } unknownFields.writeTo(output); } @java.lang.Override public int getSerializedSize() { int size = memoizedSize; if (size != -1) return size; size = 0; if (!getLanguageBytes().isEmpty()) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, language_); } if (!getSerializationBytes().isEmpty()) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(2, serialization_); } if (!getClassNameBytes().isEmpty()) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(3, className_); } if (!data_.isEmpty()) { size += com.google.protobuf.CodedOutputStream .computeBytesSize(4, data_); } 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 org.apache.dubbo.triple.TripleWrapper.TripleExceptionWrapper)) { return super.equals(obj); } org.apache.dubbo.triple.TripleWrapper.TripleExceptionWrapper other = (org.apache.dubbo.triple.TripleWrapper.TripleExceptionWrapper) obj; if (!getLanguage() .equals(other.getLanguage())) return false; if (!getSerialization() .equals(other.getSerialization())) return false; if (!getClassName() .equals(other.getClassName())) return false; if (!getData() .equals(other.getData())) return false; if (!unknownFields.equals(other.unknownFields)) return false; return true; } @java.lang.Override public int hashCode() { if (memoizedHashCode != 0) { return memoizedHashCode; } int hash = 41; hash = (19 * hash) + getDescriptor().hashCode(); hash = (37 * hash) + LANGUAGE_FIELD_NUMBER; hash = (53 * hash) + getLanguage().hashCode(); hash = (37 * hash) + SERIALIZATION_FIELD_NUMBER; hash = (53 * hash) + getSerialization().hashCode(); hash = (37 * hash) + CLASSNAME_FIELD_NUMBER; hash = (53 * hash) + getClassName().hashCode(); hash = (37 * hash) + DATA_FIELD_NUMBER; hash = (53 * hash) + getData().hashCode(); hash = (29 * hash) + unknownFields.hashCode(); memoizedHashCode = hash; return hash; } public static org.apache.dubbo.triple.TripleWrapper.TripleExceptionWrapper parseFrom( java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static org.apache.dubbo.triple.TripleWrapper.TripleExceptionWrapper parseFrom( java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static org.apache.dubbo.triple.TripleWrapper.TripleExceptionWrapper parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static org.apache.dubbo.triple.TripleWrapper.TripleExceptionWrapper parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static org.apache.dubbo.triple.TripleWrapper.TripleExceptionWrapper parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static org.apache.dubbo.triple.TripleWrapper.TripleExceptionWrapper parseFrom( byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static org.apache.dubbo.triple.TripleWrapper.TripleExceptionWrapper parseFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input); } public static org.apache.dubbo.triple.TripleWrapper.TripleExceptionWrapper 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 org.apache.dubbo.triple.TripleWrapper.TripleExceptionWrapper parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseDelimitedWithIOException(PARSER, input); } public static org.apache.dubbo.triple.TripleWrapper.TripleExceptionWrapper 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 org.apache.dubbo.triple.TripleWrapper.TripleExceptionWrapper parseFrom( com.google.protobuf.CodedInputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input); } public static org.apache.dubbo.triple.TripleWrapper.TripleExceptionWrapper 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(org.apache.dubbo.triple.TripleWrapper.TripleExceptionWrapper 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 org.apache.dubbo.triple.TripleExceptionWrapper} */ public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:org.apache.dubbo.triple.TripleExceptionWrapper) org.apache.dubbo.triple.TripleWrapper.TripleExceptionWrapperOrBuilder { public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return org.apache.dubbo.triple.TripleWrapper.internal_static_org_apache_dubbo_triple_TripleExceptionWrapper_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return org.apache.dubbo.triple.TripleWrapper.internal_static_org_apache_dubbo_triple_TripleExceptionWrapper_fieldAccessorTable .ensureFieldAccessorsInitialized( org.apache.dubbo.triple.TripleWrapper.TripleExceptionWrapper.class, org.apache.dubbo.triple.TripleWrapper.TripleExceptionWrapper.Builder.class); } // Construct using org.apache.dubbo.triple.TripleWrapper.TripleExceptionWrapper.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(); language_ = ""; serialization_ = ""; className_ = ""; data_ = com.google.protobuf.ByteString.EMPTY; return this; } @java.lang.Override public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { return org.apache.dubbo.triple.TripleWrapper.internal_static_org_apache_dubbo_triple_TripleExceptionWrapper_descriptor; } @java.lang.Override public org.apache.dubbo.triple.TripleWrapper.TripleExceptionWrapper getDefaultInstanceForType() { return org.apache.dubbo.triple.TripleWrapper.TripleExceptionWrapper.getDefaultInstance(); } @java.lang.Override public org.apache.dubbo.triple.TripleWrapper.TripleExceptionWrapper build() { org.apache.dubbo.triple.TripleWrapper.TripleExceptionWrapper result = buildPartial(); if (!result.isInitialized()) { throw newUninitializedMessageException(result); } return result; } @java.lang.Override public org.apache.dubbo.triple.TripleWrapper.TripleExceptionWrapper buildPartial() { org.apache.dubbo.triple.TripleWrapper.TripleExceptionWrapper result = new org.apache.dubbo.triple.TripleWrapper.TripleExceptionWrapper(this); result.language_ = language_; result.serialization_ = serialization_; result.className_ = className_; result.data_ = data_; onBuilt(); return result; } @java.lang.Override public Builder clone() { return super.clone(); } @java.lang.Override public Builder setField( com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.setField(field, value); } @java.lang.Override public Builder clearField( com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } @java.lang.Override public Builder clearOneof( com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } @java.lang.Override public Builder setRepeatedField( com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } @java.lang.Override public Builder addRepeatedField( com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.addRepeatedField(field, value); } @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof org.apache.dubbo.triple.TripleWrapper.TripleExceptionWrapper) { return mergeFrom((org.apache.dubbo.triple.TripleWrapper.TripleExceptionWrapper)other); } else { super.mergeFrom(other); return this; } } public Builder mergeFrom(org.apache.dubbo.triple.TripleWrapper.TripleExceptionWrapper other) { if (other == org.apache.dubbo.triple.TripleWrapper.TripleExceptionWrapper.getDefaultInstance()) return this; if (!other.getLanguage().isEmpty()) { language_ = other.language_; onChanged(); } if (!other.getSerialization().isEmpty()) { serialization_ = other.serialization_; onChanged(); } if (!other.getClassName().isEmpty()) { className_ = other.className_; onChanged(); } if (other.getData() != com.google.protobuf.ByteString.EMPTY) { setData(other.getData()); } 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 { org.apache.dubbo.triple.TripleWrapper.TripleExceptionWrapper parsedMessage = null; try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { parsedMessage = (org.apache.dubbo.triple.TripleWrapper.TripleExceptionWrapper) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { mergeFrom(parsedMessage); } } return this; } private java.lang.Object language_ = ""; /** * string language = 1; * @return The language. */ public java.lang.String getLanguage() { java.lang.Object ref = language_; if (!(ref instanceof java.lang.String)) { com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); language_ = s; return s; } else { return (java.lang.String) ref; } } /** * string language = 1; * @return The bytes for language. */ public com.google.protobuf.ByteString getLanguageBytes() { java.lang.Object ref = language_; if (ref instanceof String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); language_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } /** * string language = 1; * @param value The language to set. * @return This builder for chaining. */ public Builder setLanguage( java.lang.String value) { if (value == null) { throw new NullPointerException(); } language_ = value; onChanged(); return this; } /** * string language = 1; * @return This builder for chaining. */ public Builder clearLanguage() { language_ = getDefaultInstance().getLanguage(); onChanged(); return this; } /** * string language = 1; * @param value The bytes for language to set. * @return This builder for chaining. */ public Builder setLanguageBytes( com.google.protobuf.ByteString value) { if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); language_ = value; onChanged(); return this; } private java.lang.Object serialization_ = ""; /** * string serialization = 2; * @return The serialization. */ public java.lang.String getSerialization() { java.lang.Object ref = serialization_; if (!(ref instanceof java.lang.String)) { com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); serialization_ = s; return s; } else { return (java.lang.String) ref; } } /** * string serialization = 2; * @return The bytes for serialization. */ public com.google.protobuf.ByteString getSerializationBytes() { java.lang.Object ref = serialization_; if (ref instanceof String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); serialization_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } /** * string serialization = 2; * @param value The serialization to set. * @return This builder for chaining. */ public Builder setSerialization( java.lang.String value) { if (value == null) { throw new NullPointerException(); } serialization_ = value; onChanged(); return this; } /** * string serialization = 2; * @return This builder for chaining. */ public Builder clearSerialization() { serialization_ = getDefaultInstance().getSerialization(); onChanged(); return this; } /** * string serialization = 2; * @param value The bytes for serialization to set. * @return This builder for chaining. */ public Builder setSerializationBytes( com.google.protobuf.ByteString value) { if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); serialization_ = value; onChanged(); return this; } private java.lang.Object className_ = ""; /** * string className = 3; * @return The className. */ public java.lang.String getClassName() { java.lang.Object ref = className_; if (!(ref instanceof java.lang.String)) { com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); className_ = s; return s; } else { return (java.lang.String) ref; } } /** * string className = 3; * @return The bytes for className. */ public com.google.protobuf.ByteString getClassNameBytes() { java.lang.Object ref = className_; if (ref instanceof String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); className_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } /** * string className = 3; * @param value The className to set. * @return This builder for chaining. */ public Builder setClassName( java.lang.String value) { if (value == null) { throw new NullPointerException(); } className_ = value; onChanged(); return this; } /** * string className = 3; * @return This builder for chaining. */ public Builder clearClassName() { className_ = getDefaultInstance().getClassName(); onChanged(); return this; } /** * string className = 3; * @param value The bytes for className to set. * @return This builder for chaining. */ public Builder setClassNameBytes( com.google.protobuf.ByteString value) { if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); className_ = value; onChanged(); return this; } private com.google.protobuf.ByteString data_ = com.google.protobuf.ByteString.EMPTY; /** * bytes data = 4; * @return The data. */ public com.google.protobuf.ByteString getData() { return data_; } /** * bytes data = 4; * @param value The data to set. * @return This builder for chaining. */ public Builder setData(com.google.protobuf.ByteString value) { if (value == null) { throw new NullPointerException(); } data_ = value; onChanged(); return this; } /** * bytes data = 4; * @return This builder for chaining. */ public Builder clearData() { data_ = getDefaultInstance().getData(); onChanged(); return this; } @java.lang.Override public final Builder setUnknownFields( final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @java.lang.Override public final Builder mergeUnknownFields( final com.google.protobuf.UnknownFieldSet unknownFields) { return super.mergeUnknownFields(unknownFields); } // @@protoc_insertion_point(builder_scope:org.apache.dubbo.triple.TripleExceptionWrapper) } // @@protoc_insertion_point(class_scope:org.apache.dubbo.triple.TripleExceptionWrapper) private static final org.apache.dubbo.triple.TripleWrapper.TripleExceptionWrapper DEFAULT_INSTANCE; static { DEFAULT_INSTANCE = new org.apache.dubbo.triple.TripleWrapper.TripleExceptionWrapper(); } public static org.apache.dubbo.triple.TripleWrapper.TripleExceptionWrapper getDefaultInstance() { return DEFAULT_INSTANCE; } private static final com.google.protobuf.Parser PARSER = new com.google.protobuf.AbstractParser() { @java.lang.Override public TripleExceptionWrapper parsePartialFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return new TripleExceptionWrapper(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 org.apache.dubbo.triple.TripleWrapper.TripleExceptionWrapper getDefaultInstanceForType() { return DEFAULT_INSTANCE; } } private static final com.google.protobuf.Descriptors.Descriptor internal_static_org_apache_dubbo_triple_TripleRequestWrapper_descriptor; private static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internal_static_org_apache_dubbo_triple_TripleRequestWrapper_fieldAccessorTable; private static final com.google.protobuf.Descriptors.Descriptor internal_static_org_apache_dubbo_triple_TripleResponseWrapper_descriptor; private static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internal_static_org_apache_dubbo_triple_TripleResponseWrapper_fieldAccessorTable; private static final com.google.protobuf.Descriptors.Descriptor internal_static_org_apache_dubbo_triple_TripleExceptionWrapper_descriptor; private static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internal_static_org_apache_dubbo_triple_TripleExceptionWrapper_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\024triple_wrapper.proto\022\027org.apache.dubbo" + ".triple\"M\n\024TripleRequestWrapper\022\025\n\rseria" + "lizeType\030\001 \001(\t\022\014\n\004args\030\002 \003(\014\022\020\n\010argTypes" + "\030\003 \003(\t\"J\n\025TripleResponseWrapper\022\025\n\rseria" + "lizeType\030\001 \001(\t\022\014\n\004data\030\002 \001(\014\022\014\n\004type\030\003 \001" + "(\t\"b\n\026TripleExceptionWrapper\022\020\n\010language" + "\030\001 \001(\t\022\025\n\rserialization\030\002 \001(\t\022\021\n\tclassNa" + "me\030\003 \001(\t\022\014\n\004data\030\004 \001(\014b\006proto3" }; descriptor = com.google.protobuf.Descriptors.FileDescriptor .internalBuildGeneratedFileFrom(descriptorData, new com.google.protobuf.Descriptors.FileDescriptor[] { }); internal_static_org_apache_dubbo_triple_TripleRequestWrapper_descriptor = getDescriptor().getMessageTypes().get(0); internal_static_org_apache_dubbo_triple_TripleRequestWrapper_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_org_apache_dubbo_triple_TripleRequestWrapper_descriptor, new java.lang.String[] { "SerializeType", "Args", "ArgTypes", }); internal_static_org_apache_dubbo_triple_TripleResponseWrapper_descriptor = getDescriptor().getMessageTypes().get(1); internal_static_org_apache_dubbo_triple_TripleResponseWrapper_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_org_apache_dubbo_triple_TripleResponseWrapper_descriptor, new java.lang.String[] { "SerializeType", "Data", "Type", }); internal_static_org_apache_dubbo_triple_TripleExceptionWrapper_descriptor = getDescriptor().getMessageTypes().get(2); internal_static_org_apache_dubbo_triple_TripleExceptionWrapper_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_org_apache_dubbo_triple_TripleExceptionWrapper_descriptor, new java.lang.String[] { "Language", "Serialization", "ClassName", "Data", }); } // @@protoc_insertion_point(outer_class_scope) }




© 2015 - 2024 Weber Informatics LLC | Privacy Policy