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

apache.rocketmq.v1.EndTransactionRequest Maven / Gradle / Ivy

There is a newer version: 2.0.7.Final
Show newest version
// Generated by the protocol buffer compiler.  DO NOT EDIT!
// source: apache/rocketmq/v1/service.proto

package apache.rocketmq.v1;

/**
 * Protobuf type {@code apache.rocketmq.v1.EndTransactionRequest}
 */
public final class EndTransactionRequest extends
    com.aliyun.openservices.ons.shaded.com.google.protobuf.GeneratedMessageV3 implements
    // @@protoc_insertion_point(message_implements:apache.rocketmq.v1.EndTransactionRequest)
    EndTransactionRequestOrBuilder {
private static final long serialVersionUID = 0L;
  // Use EndTransactionRequest.newBuilder() to construct.
  private EndTransactionRequest(com.aliyun.openservices.ons.shaded.com.google.protobuf.GeneratedMessageV3.Builder builder) {
    super(builder);
  }
  private EndTransactionRequest() {
    messageId_ = "";
    transactionId_ = "";
    resolution_ = 0;
    source_ = 0;
    traceContext_ = "";
  }

  @java.lang.Override
  @SuppressWarnings({"unused"})
  protected java.lang.Object newInstance(
      UnusedPrivateParameter unused) {
    return new EndTransactionRequest();
  }

  @java.lang.Override
  public final com.aliyun.openservices.ons.shaded.com.google.protobuf.UnknownFieldSet
  getUnknownFields() {
    return this.unknownFields;
  }
  private EndTransactionRequest(
      com.aliyun.openservices.ons.shaded.com.google.protobuf.CodedInputStream input,
      com.aliyun.openservices.ons.shaded.com.google.protobuf.ExtensionRegistryLite extensionRegistry)
      throws com.aliyun.openservices.ons.shaded.com.google.protobuf.InvalidProtocolBufferException {
    this();
    if (extensionRegistry == null) {
      throw new java.lang.NullPointerException();
    }
    com.aliyun.openservices.ons.shaded.com.google.protobuf.UnknownFieldSet.Builder unknownFields =
        com.aliyun.openservices.ons.shaded.com.google.protobuf.UnknownFieldSet.newBuilder();
    try {
      boolean done = false;
      while (!done) {
        int tag = input.readTag();
        switch (tag) {
          case 0:
            done = true;
            break;
          case 10: {
            apache.rocketmq.v1.Resource.Builder subBuilder = null;
            if (group_ != null) {
              subBuilder = group_.toBuilder();
            }
            group_ = input.readMessage(apache.rocketmq.v1.Resource.parser(), extensionRegistry);
            if (subBuilder != null) {
              subBuilder.mergeFrom(group_);
              group_ = subBuilder.buildPartial();
            }

            break;
          }
          case 18: {
            java.lang.String s = input.readStringRequireUtf8();

            messageId_ = s;
            break;
          }
          case 26: {
            java.lang.String s = input.readStringRequireUtf8();

            transactionId_ = s;
            break;
          }
          case 32: {
            int rawValue = input.readEnum();

            resolution_ = rawValue;
            break;
          }
          case 40: {
            int rawValue = input.readEnum();

            source_ = rawValue;
            break;
          }
          case 50: {
            java.lang.String s = input.readStringRequireUtf8();

            traceContext_ = s;
            break;
          }
          default: {
            if (!parseUnknownField(
                input, unknownFields, extensionRegistry, tag)) {
              done = true;
            }
            break;
          }
        }
      }
    } catch (com.aliyun.openservices.ons.shaded.com.google.protobuf.InvalidProtocolBufferException e) {
      throw e.setUnfinishedMessage(this);
    } catch (java.io.IOException e) {
      throw new com.aliyun.openservices.ons.shaded.com.google.protobuf.InvalidProtocolBufferException(
          e).setUnfinishedMessage(this);
    } finally {
      this.unknownFields = unknownFields.build();
      makeExtensionsImmutable();
    }
  }
  public static final com.aliyun.openservices.ons.shaded.com.google.protobuf.Descriptors.Descriptor
      getDescriptor() {
    return apache.rocketmq.v1.MQService.internal_static_apache_rocketmq_v1_EndTransactionRequest_descriptor;
  }

  @java.lang.Override
  protected com.aliyun.openservices.ons.shaded.com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
      internalGetFieldAccessorTable() {
    return apache.rocketmq.v1.MQService.internal_static_apache_rocketmq_v1_EndTransactionRequest_fieldAccessorTable
        .ensureFieldAccessorsInitialized(
            apache.rocketmq.v1.EndTransactionRequest.class, apache.rocketmq.v1.EndTransactionRequest.Builder.class);
  }

  /**
   * Protobuf enum {@code apache.rocketmq.v1.EndTransactionRequest.TransactionResolution}
   */
  public enum TransactionResolution
      implements com.aliyun.openservices.ons.shaded.com.google.protobuf.ProtocolMessageEnum {
    /**
     * COMMIT = 0;
     */
    COMMIT(0),
    /**
     * ROLLBACK = 1;
     */
    ROLLBACK(1),
    UNRECOGNIZED(-1),
    ;

    /**
     * COMMIT = 0;
     */
    public static final int COMMIT_VALUE = 0;
    /**
     * ROLLBACK = 1;
     */
    public static final int ROLLBACK_VALUE = 1;


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

    /**
     * @param value The numeric wire value of the corresponding enum entry.
     * @return The enum associated with the given numeric wire value.
     * @deprecated Use {@link #forNumber(int)} instead.
     */
    @java.lang.Deprecated
    public static TransactionResolution valueOf(int value) {
      return forNumber(value);
    }

    /**
     * @param value The numeric wire value of the corresponding enum entry.
     * @return The enum associated with the given numeric wire value.
     */
    public static TransactionResolution forNumber(int value) {
      switch (value) {
        case 0: return COMMIT;
        case 1: return ROLLBACK;
        default: return null;
      }
    }

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

    public final com.aliyun.openservices.ons.shaded.com.google.protobuf.Descriptors.EnumValueDescriptor
        getValueDescriptor() {
      if (this == UNRECOGNIZED) {
        throw new java.lang.IllegalStateException(
            "Can't get the descriptor of an unrecognized enum value.");
      }
      return getDescriptor().getValues().get(ordinal());
    }
    public final com.aliyun.openservices.ons.shaded.com.google.protobuf.Descriptors.EnumDescriptor
        getDescriptorForType() {
      return getDescriptor();
    }
    public static final com.aliyun.openservices.ons.shaded.com.google.protobuf.Descriptors.EnumDescriptor
        getDescriptor() {
      return apache.rocketmq.v1.EndTransactionRequest.getDescriptor().getEnumTypes().get(0);
    }

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

    public static TransactionResolution valueOf(
        com.aliyun.openservices.ons.shaded.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 TransactionResolution(int value) {
      this.value = value;
    }

    // @@protoc_insertion_point(enum_scope:apache.rocketmq.v1.EndTransactionRequest.TransactionResolution)
  }

  /**
   * Protobuf enum {@code apache.rocketmq.v1.EndTransactionRequest.Source}
   */
  public enum Source
      implements com.aliyun.openservices.ons.shaded.com.google.protobuf.ProtocolMessageEnum {
    /**
     * CLIENT = 0;
     */
    CLIENT(0),
    /**
     * SERVER_CHECK = 1;
     */
    SERVER_CHECK(1),
    UNRECOGNIZED(-1),
    ;

    /**
     * CLIENT = 0;
     */
    public static final int CLIENT_VALUE = 0;
    /**
     * SERVER_CHECK = 1;
     */
    public static final int SERVER_CHECK_VALUE = 1;


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

    /**
     * @param value The numeric wire value of the corresponding enum entry.
     * @return The enum associated with the given numeric wire value.
     * @deprecated Use {@link #forNumber(int)} instead.
     */
    @java.lang.Deprecated
    public static Source valueOf(int value) {
      return forNumber(value);
    }

    /**
     * @param value The numeric wire value of the corresponding enum entry.
     * @return The enum associated with the given numeric wire value.
     */
    public static Source forNumber(int value) {
      switch (value) {
        case 0: return CLIENT;
        case 1: return SERVER_CHECK;
        default: return null;
      }
    }

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

    public final com.aliyun.openservices.ons.shaded.com.google.protobuf.Descriptors.EnumValueDescriptor
        getValueDescriptor() {
      if (this == UNRECOGNIZED) {
        throw new java.lang.IllegalStateException(
            "Can't get the descriptor of an unrecognized enum value.");
      }
      return getDescriptor().getValues().get(ordinal());
    }
    public final com.aliyun.openservices.ons.shaded.com.google.protobuf.Descriptors.EnumDescriptor
        getDescriptorForType() {
      return getDescriptor();
    }
    public static final com.aliyun.openservices.ons.shaded.com.google.protobuf.Descriptors.EnumDescriptor
        getDescriptor() {
      return apache.rocketmq.v1.EndTransactionRequest.getDescriptor().getEnumTypes().get(1);
    }

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

    public static Source valueOf(
        com.aliyun.openservices.ons.shaded.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 Source(int value) {
      this.value = value;
    }

    // @@protoc_insertion_point(enum_scope:apache.rocketmq.v1.EndTransactionRequest.Source)
  }

  public static final int GROUP_FIELD_NUMBER = 1;
  private apache.rocketmq.v1.Resource group_;
  /**
   * .apache.rocketmq.v1.Resource group = 1;
   * @return Whether the group field is set.
   */
  @java.lang.Override
  public boolean hasGroup() {
    return group_ != null;
  }
  /**
   * .apache.rocketmq.v1.Resource group = 1;
   * @return The group.
   */
  @java.lang.Override
  public apache.rocketmq.v1.Resource getGroup() {
    return group_ == null ? apache.rocketmq.v1.Resource.getDefaultInstance() : group_;
  }
  /**
   * .apache.rocketmq.v1.Resource group = 1;
   */
  @java.lang.Override
  public apache.rocketmq.v1.ResourceOrBuilder getGroupOrBuilder() {
    return getGroup();
  }

  public static final int MESSAGE_ID_FIELD_NUMBER = 2;
  private volatile java.lang.Object messageId_;
  /**
   * string message_id = 2;
   * @return The messageId.
   */
  @java.lang.Override
  public java.lang.String getMessageId() {
    java.lang.Object ref = messageId_;
    if (ref instanceof java.lang.String) {
      return (java.lang.String) ref;
    } else {
      com.aliyun.openservices.ons.shaded.com.google.protobuf.ByteString bs = 
          (com.aliyun.openservices.ons.shaded.com.google.protobuf.ByteString) ref;
      java.lang.String s = bs.toStringUtf8();
      messageId_ = s;
      return s;
    }
  }
  /**
   * string message_id = 2;
   * @return The bytes for messageId.
   */
  @java.lang.Override
  public com.aliyun.openservices.ons.shaded.com.google.protobuf.ByteString
      getMessageIdBytes() {
    java.lang.Object ref = messageId_;
    if (ref instanceof java.lang.String) {
      com.aliyun.openservices.ons.shaded.com.google.protobuf.ByteString b = 
          com.aliyun.openservices.ons.shaded.com.google.protobuf.ByteString.copyFromUtf8(
              (java.lang.String) ref);
      messageId_ = b;
      return b;
    } else {
      return (com.aliyun.openservices.ons.shaded.com.google.protobuf.ByteString) ref;
    }
  }

  public static final int TRANSACTION_ID_FIELD_NUMBER = 3;
  private volatile java.lang.Object transactionId_;
  /**
   * string transaction_id = 3;
   * @return The transactionId.
   */
  @java.lang.Override
  public java.lang.String getTransactionId() {
    java.lang.Object ref = transactionId_;
    if (ref instanceof java.lang.String) {
      return (java.lang.String) ref;
    } else {
      com.aliyun.openservices.ons.shaded.com.google.protobuf.ByteString bs = 
          (com.aliyun.openservices.ons.shaded.com.google.protobuf.ByteString) ref;
      java.lang.String s = bs.toStringUtf8();
      transactionId_ = s;
      return s;
    }
  }
  /**
   * string transaction_id = 3;
   * @return The bytes for transactionId.
   */
  @java.lang.Override
  public com.aliyun.openservices.ons.shaded.com.google.protobuf.ByteString
      getTransactionIdBytes() {
    java.lang.Object ref = transactionId_;
    if (ref instanceof java.lang.String) {
      com.aliyun.openservices.ons.shaded.com.google.protobuf.ByteString b = 
          com.aliyun.openservices.ons.shaded.com.google.protobuf.ByteString.copyFromUtf8(
              (java.lang.String) ref);
      transactionId_ = b;
      return b;
    } else {
      return (com.aliyun.openservices.ons.shaded.com.google.protobuf.ByteString) ref;
    }
  }

  public static final int RESOLUTION_FIELD_NUMBER = 4;
  private int resolution_;
  /**
   * .apache.rocketmq.v1.EndTransactionRequest.TransactionResolution resolution = 4;
   * @return The enum numeric value on the wire for resolution.
   */
  @java.lang.Override public int getResolutionValue() {
    return resolution_;
  }
  /**
   * .apache.rocketmq.v1.EndTransactionRequest.TransactionResolution resolution = 4;
   * @return The resolution.
   */
  @java.lang.Override public apache.rocketmq.v1.EndTransactionRequest.TransactionResolution getResolution() {
    @SuppressWarnings("deprecation")
    apache.rocketmq.v1.EndTransactionRequest.TransactionResolution result = apache.rocketmq.v1.EndTransactionRequest.TransactionResolution.valueOf(resolution_);
    return result == null ? apache.rocketmq.v1.EndTransactionRequest.TransactionResolution.UNRECOGNIZED : result;
  }

  public static final int SOURCE_FIELD_NUMBER = 5;
  private int source_;
  /**
   * .apache.rocketmq.v1.EndTransactionRequest.Source source = 5;
   * @return The enum numeric value on the wire for source.
   */
  @java.lang.Override public int getSourceValue() {
    return source_;
  }
  /**
   * .apache.rocketmq.v1.EndTransactionRequest.Source source = 5;
   * @return The source.
   */
  @java.lang.Override public apache.rocketmq.v1.EndTransactionRequest.Source getSource() {
    @SuppressWarnings("deprecation")
    apache.rocketmq.v1.EndTransactionRequest.Source result = apache.rocketmq.v1.EndTransactionRequest.Source.valueOf(source_);
    return result == null ? apache.rocketmq.v1.EndTransactionRequest.Source.UNRECOGNIZED : result;
  }

  public static final int TRACE_CONTEXT_FIELD_NUMBER = 6;
  private volatile java.lang.Object traceContext_;
  /**
   * string trace_context = 6;
   * @return The traceContext.
   */
  @java.lang.Override
  public java.lang.String getTraceContext() {
    java.lang.Object ref = traceContext_;
    if (ref instanceof java.lang.String) {
      return (java.lang.String) ref;
    } else {
      com.aliyun.openservices.ons.shaded.com.google.protobuf.ByteString bs = 
          (com.aliyun.openservices.ons.shaded.com.google.protobuf.ByteString) ref;
      java.lang.String s = bs.toStringUtf8();
      traceContext_ = s;
      return s;
    }
  }
  /**
   * string trace_context = 6;
   * @return The bytes for traceContext.
   */
  @java.lang.Override
  public com.aliyun.openservices.ons.shaded.com.google.protobuf.ByteString
      getTraceContextBytes() {
    java.lang.Object ref = traceContext_;
    if (ref instanceof java.lang.String) {
      com.aliyun.openservices.ons.shaded.com.google.protobuf.ByteString b = 
          com.aliyun.openservices.ons.shaded.com.google.protobuf.ByteString.copyFromUtf8(
              (java.lang.String) ref);
      traceContext_ = b;
      return b;
    } else {
      return (com.aliyun.openservices.ons.shaded.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.aliyun.openservices.ons.shaded.com.google.protobuf.CodedOutputStream output)
                      throws java.io.IOException {
    if (group_ != null) {
      output.writeMessage(1, getGroup());
    }
    if (!getMessageIdBytes().isEmpty()) {
      com.aliyun.openservices.ons.shaded.com.google.protobuf.GeneratedMessageV3.writeString(output, 2, messageId_);
    }
    if (!getTransactionIdBytes().isEmpty()) {
      com.aliyun.openservices.ons.shaded.com.google.protobuf.GeneratedMessageV3.writeString(output, 3, transactionId_);
    }
    if (resolution_ != apache.rocketmq.v1.EndTransactionRequest.TransactionResolution.COMMIT.getNumber()) {
      output.writeEnum(4, resolution_);
    }
    if (source_ != apache.rocketmq.v1.EndTransactionRequest.Source.CLIENT.getNumber()) {
      output.writeEnum(5, source_);
    }
    if (!getTraceContextBytes().isEmpty()) {
      com.aliyun.openservices.ons.shaded.com.google.protobuf.GeneratedMessageV3.writeString(output, 6, traceContext_);
    }
    unknownFields.writeTo(output);
  }

  @java.lang.Override
  public int getSerializedSize() {
    int size = memoizedSize;
    if (size != -1) return size;

    size = 0;
    if (group_ != null) {
      size += com.aliyun.openservices.ons.shaded.com.google.protobuf.CodedOutputStream
        .computeMessageSize(1, getGroup());
    }
    if (!getMessageIdBytes().isEmpty()) {
      size += com.aliyun.openservices.ons.shaded.com.google.protobuf.GeneratedMessageV3.computeStringSize(2, messageId_);
    }
    if (!getTransactionIdBytes().isEmpty()) {
      size += com.aliyun.openservices.ons.shaded.com.google.protobuf.GeneratedMessageV3.computeStringSize(3, transactionId_);
    }
    if (resolution_ != apache.rocketmq.v1.EndTransactionRequest.TransactionResolution.COMMIT.getNumber()) {
      size += com.aliyun.openservices.ons.shaded.com.google.protobuf.CodedOutputStream
        .computeEnumSize(4, resolution_);
    }
    if (source_ != apache.rocketmq.v1.EndTransactionRequest.Source.CLIENT.getNumber()) {
      size += com.aliyun.openservices.ons.shaded.com.google.protobuf.CodedOutputStream
        .computeEnumSize(5, source_);
    }
    if (!getTraceContextBytes().isEmpty()) {
      size += com.aliyun.openservices.ons.shaded.com.google.protobuf.GeneratedMessageV3.computeStringSize(6, traceContext_);
    }
    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 apache.rocketmq.v1.EndTransactionRequest)) {
      return super.equals(obj);
    }
    apache.rocketmq.v1.EndTransactionRequest other = (apache.rocketmq.v1.EndTransactionRequest) obj;

    if (hasGroup() != other.hasGroup()) return false;
    if (hasGroup()) {
      if (!getGroup()
          .equals(other.getGroup())) return false;
    }
    if (!getMessageId()
        .equals(other.getMessageId())) return false;
    if (!getTransactionId()
        .equals(other.getTransactionId())) return false;
    if (resolution_ != other.resolution_) return false;
    if (source_ != other.source_) return false;
    if (!getTraceContext()
        .equals(other.getTraceContext())) 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();
    if (hasGroup()) {
      hash = (37 * hash) + GROUP_FIELD_NUMBER;
      hash = (53 * hash) + getGroup().hashCode();
    }
    hash = (37 * hash) + MESSAGE_ID_FIELD_NUMBER;
    hash = (53 * hash) + getMessageId().hashCode();
    hash = (37 * hash) + TRANSACTION_ID_FIELD_NUMBER;
    hash = (53 * hash) + getTransactionId().hashCode();
    hash = (37 * hash) + RESOLUTION_FIELD_NUMBER;
    hash = (53 * hash) + resolution_;
    hash = (37 * hash) + SOURCE_FIELD_NUMBER;
    hash = (53 * hash) + source_;
    hash = (37 * hash) + TRACE_CONTEXT_FIELD_NUMBER;
    hash = (53 * hash) + getTraceContext().hashCode();
    hash = (29 * hash) + unknownFields.hashCode();
    memoizedHashCode = hash;
    return hash;
  }

  public static apache.rocketmq.v1.EndTransactionRequest parseFrom(
      java.nio.ByteBuffer data)
      throws com.aliyun.openservices.ons.shaded.com.google.protobuf.InvalidProtocolBufferException {
    return PARSER.parseFrom(data);
  }
  public static apache.rocketmq.v1.EndTransactionRequest parseFrom(
      java.nio.ByteBuffer data,
      com.aliyun.openservices.ons.shaded.com.google.protobuf.ExtensionRegistryLite extensionRegistry)
      throws com.aliyun.openservices.ons.shaded.com.google.protobuf.InvalidProtocolBufferException {
    return PARSER.parseFrom(data, extensionRegistry);
  }
  public static apache.rocketmq.v1.EndTransactionRequest parseFrom(
      com.aliyun.openservices.ons.shaded.com.google.protobuf.ByteString data)
      throws com.aliyun.openservices.ons.shaded.com.google.protobuf.InvalidProtocolBufferException {
    return PARSER.parseFrom(data);
  }
  public static apache.rocketmq.v1.EndTransactionRequest parseFrom(
      com.aliyun.openservices.ons.shaded.com.google.protobuf.ByteString data,
      com.aliyun.openservices.ons.shaded.com.google.protobuf.ExtensionRegistryLite extensionRegistry)
      throws com.aliyun.openservices.ons.shaded.com.google.protobuf.InvalidProtocolBufferException {
    return PARSER.parseFrom(data, extensionRegistry);
  }
  public static apache.rocketmq.v1.EndTransactionRequest parseFrom(byte[] data)
      throws com.aliyun.openservices.ons.shaded.com.google.protobuf.InvalidProtocolBufferException {
    return PARSER.parseFrom(data);
  }
  public static apache.rocketmq.v1.EndTransactionRequest parseFrom(
      byte[] data,
      com.aliyun.openservices.ons.shaded.com.google.protobuf.ExtensionRegistryLite extensionRegistry)
      throws com.aliyun.openservices.ons.shaded.com.google.protobuf.InvalidProtocolBufferException {
    return PARSER.parseFrom(data, extensionRegistry);
  }
  public static apache.rocketmq.v1.EndTransactionRequest parseFrom(java.io.InputStream input)
      throws java.io.IOException {
    return com.aliyun.openservices.ons.shaded.com.google.protobuf.GeneratedMessageV3
        .parseWithIOException(PARSER, input);
  }
  public static apache.rocketmq.v1.EndTransactionRequest parseFrom(
      java.io.InputStream input,
      com.aliyun.openservices.ons.shaded.com.google.protobuf.ExtensionRegistryLite extensionRegistry)
      throws java.io.IOException {
    return com.aliyun.openservices.ons.shaded.com.google.protobuf.GeneratedMessageV3
        .parseWithIOException(PARSER, input, extensionRegistry);
  }
  public static apache.rocketmq.v1.EndTransactionRequest parseDelimitedFrom(java.io.InputStream input)
      throws java.io.IOException {
    return com.aliyun.openservices.ons.shaded.com.google.protobuf.GeneratedMessageV3
        .parseDelimitedWithIOException(PARSER, input);
  }
  public static apache.rocketmq.v1.EndTransactionRequest parseDelimitedFrom(
      java.io.InputStream input,
      com.aliyun.openservices.ons.shaded.com.google.protobuf.ExtensionRegistryLite extensionRegistry)
      throws java.io.IOException {
    return com.aliyun.openservices.ons.shaded.com.google.protobuf.GeneratedMessageV3
        .parseDelimitedWithIOException(PARSER, input, extensionRegistry);
  }
  public static apache.rocketmq.v1.EndTransactionRequest parseFrom(
      com.aliyun.openservices.ons.shaded.com.google.protobuf.CodedInputStream input)
      throws java.io.IOException {
    return com.aliyun.openservices.ons.shaded.com.google.protobuf.GeneratedMessageV3
        .parseWithIOException(PARSER, input);
  }
  public static apache.rocketmq.v1.EndTransactionRequest parseFrom(
      com.aliyun.openservices.ons.shaded.com.google.protobuf.CodedInputStream input,
      com.aliyun.openservices.ons.shaded.com.google.protobuf.ExtensionRegistryLite extensionRegistry)
      throws java.io.IOException {
    return com.aliyun.openservices.ons.shaded.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(apache.rocketmq.v1.EndTransactionRequest 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.aliyun.openservices.ons.shaded.com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
    Builder builder = new Builder(parent);
    return builder;
  }
  /**
   * Protobuf type {@code apache.rocketmq.v1.EndTransactionRequest}
   */
  public static final class Builder extends
      com.aliyun.openservices.ons.shaded.com.google.protobuf.GeneratedMessageV3.Builder implements
      // @@protoc_insertion_point(builder_implements:apache.rocketmq.v1.EndTransactionRequest)
      apache.rocketmq.v1.EndTransactionRequestOrBuilder {
    public static final com.aliyun.openservices.ons.shaded.com.google.protobuf.Descriptors.Descriptor
        getDescriptor() {
      return apache.rocketmq.v1.MQService.internal_static_apache_rocketmq_v1_EndTransactionRequest_descriptor;
    }

    @java.lang.Override
    protected com.aliyun.openservices.ons.shaded.com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
        internalGetFieldAccessorTable() {
      return apache.rocketmq.v1.MQService.internal_static_apache_rocketmq_v1_EndTransactionRequest_fieldAccessorTable
          .ensureFieldAccessorsInitialized(
              apache.rocketmq.v1.EndTransactionRequest.class, apache.rocketmq.v1.EndTransactionRequest.Builder.class);
    }

    // Construct using apache.rocketmq.v1.EndTransactionRequest.newBuilder()
    private Builder() {
      maybeForceBuilderInitialization();
    }

    private Builder(
        com.aliyun.openservices.ons.shaded.com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
      super(parent);
      maybeForceBuilderInitialization();
    }
    private void maybeForceBuilderInitialization() {
      if (com.aliyun.openservices.ons.shaded.com.google.protobuf.GeneratedMessageV3
              .alwaysUseFieldBuilders) {
      }
    }
    @java.lang.Override
    public Builder clear() {
      super.clear();
      if (groupBuilder_ == null) {
        group_ = null;
      } else {
        group_ = null;
        groupBuilder_ = null;
      }
      messageId_ = "";

      transactionId_ = "";

      resolution_ = 0;

      source_ = 0;

      traceContext_ = "";

      return this;
    }

    @java.lang.Override
    public com.aliyun.openservices.ons.shaded.com.google.protobuf.Descriptors.Descriptor
        getDescriptorForType() {
      return apache.rocketmq.v1.MQService.internal_static_apache_rocketmq_v1_EndTransactionRequest_descriptor;
    }

    @java.lang.Override
    public apache.rocketmq.v1.EndTransactionRequest getDefaultInstanceForType() {
      return apache.rocketmq.v1.EndTransactionRequest.getDefaultInstance();
    }

    @java.lang.Override
    public apache.rocketmq.v1.EndTransactionRequest build() {
      apache.rocketmq.v1.EndTransactionRequest result = buildPartial();
      if (!result.isInitialized()) {
        throw newUninitializedMessageException(result);
      }
      return result;
    }

    @java.lang.Override
    public apache.rocketmq.v1.EndTransactionRequest buildPartial() {
      apache.rocketmq.v1.EndTransactionRequest result = new apache.rocketmq.v1.EndTransactionRequest(this);
      if (groupBuilder_ == null) {
        result.group_ = group_;
      } else {
        result.group_ = groupBuilder_.build();
      }
      result.messageId_ = messageId_;
      result.transactionId_ = transactionId_;
      result.resolution_ = resolution_;
      result.source_ = source_;
      result.traceContext_ = traceContext_;
      onBuilt();
      return result;
    }

    @java.lang.Override
    public Builder clone() {
      return super.clone();
    }
    @java.lang.Override
    public Builder setField(
        com.aliyun.openservices.ons.shaded.com.google.protobuf.Descriptors.FieldDescriptor field,
        java.lang.Object value) {
      return super.setField(field, value);
    }
    @java.lang.Override
    public Builder clearField(
        com.aliyun.openservices.ons.shaded.com.google.protobuf.Descriptors.FieldDescriptor field) {
      return super.clearField(field);
    }
    @java.lang.Override
    public Builder clearOneof(
        com.aliyun.openservices.ons.shaded.com.google.protobuf.Descriptors.OneofDescriptor oneof) {
      return super.clearOneof(oneof);
    }
    @java.lang.Override
    public Builder setRepeatedField(
        com.aliyun.openservices.ons.shaded.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.aliyun.openservices.ons.shaded.com.google.protobuf.Descriptors.FieldDescriptor field,
        java.lang.Object value) {
      return super.addRepeatedField(field, value);
    }
    @java.lang.Override
    public Builder mergeFrom(com.aliyun.openservices.ons.shaded.com.google.protobuf.Message other) {
      if (other instanceof apache.rocketmq.v1.EndTransactionRequest) {
        return mergeFrom((apache.rocketmq.v1.EndTransactionRequest)other);
      } else {
        super.mergeFrom(other);
        return this;
      }
    }

    public Builder mergeFrom(apache.rocketmq.v1.EndTransactionRequest other) {
      if (other == apache.rocketmq.v1.EndTransactionRequest.getDefaultInstance()) return this;
      if (other.hasGroup()) {
        mergeGroup(other.getGroup());
      }
      if (!other.getMessageId().isEmpty()) {
        messageId_ = other.messageId_;
        onChanged();
      }
      if (!other.getTransactionId().isEmpty()) {
        transactionId_ = other.transactionId_;
        onChanged();
      }
      if (other.resolution_ != 0) {
        setResolutionValue(other.getResolutionValue());
      }
      if (other.source_ != 0) {
        setSourceValue(other.getSourceValue());
      }
      if (!other.getTraceContext().isEmpty()) {
        traceContext_ = other.traceContext_;
        onChanged();
      }
      this.mergeUnknownFields(other.unknownFields);
      onChanged();
      return this;
    }

    @java.lang.Override
    public final boolean isInitialized() {
      return true;
    }

    @java.lang.Override
    public Builder mergeFrom(
        com.aliyun.openservices.ons.shaded.com.google.protobuf.CodedInputStream input,
        com.aliyun.openservices.ons.shaded.com.google.protobuf.ExtensionRegistryLite extensionRegistry)
        throws java.io.IOException {
      apache.rocketmq.v1.EndTransactionRequest parsedMessage = null;
      try {
        parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry);
      } catch (com.aliyun.openservices.ons.shaded.com.google.protobuf.InvalidProtocolBufferException e) {
        parsedMessage = (apache.rocketmq.v1.EndTransactionRequest) e.getUnfinishedMessage();
        throw e.unwrapIOException();
      } finally {
        if (parsedMessage != null) {
          mergeFrom(parsedMessage);
        }
      }
      return this;
    }

    private apache.rocketmq.v1.Resource group_;
    private com.aliyun.openservices.ons.shaded.com.google.protobuf.SingleFieldBuilderV3<
        apache.rocketmq.v1.Resource, apache.rocketmq.v1.Resource.Builder, apache.rocketmq.v1.ResourceOrBuilder> groupBuilder_;
    /**
     * .apache.rocketmq.v1.Resource group = 1;
     * @return Whether the group field is set.
     */
    public boolean hasGroup() {
      return groupBuilder_ != null || group_ != null;
    }
    /**
     * .apache.rocketmq.v1.Resource group = 1;
     * @return The group.
     */
    public apache.rocketmq.v1.Resource getGroup() {
      if (groupBuilder_ == null) {
        return group_ == null ? apache.rocketmq.v1.Resource.getDefaultInstance() : group_;
      } else {
        return groupBuilder_.getMessage();
      }
    }
    /**
     * .apache.rocketmq.v1.Resource group = 1;
     */
    public Builder setGroup(apache.rocketmq.v1.Resource value) {
      if (groupBuilder_ == null) {
        if (value == null) {
          throw new NullPointerException();
        }
        group_ = value;
        onChanged();
      } else {
        groupBuilder_.setMessage(value);
      }

      return this;
    }
    /**
     * .apache.rocketmq.v1.Resource group = 1;
     */
    public Builder setGroup(
        apache.rocketmq.v1.Resource.Builder builderForValue) {
      if (groupBuilder_ == null) {
        group_ = builderForValue.build();
        onChanged();
      } else {
        groupBuilder_.setMessage(builderForValue.build());
      }

      return this;
    }
    /**
     * .apache.rocketmq.v1.Resource group = 1;
     */
    public Builder mergeGroup(apache.rocketmq.v1.Resource value) {
      if (groupBuilder_ == null) {
        if (group_ != null) {
          group_ =
            apache.rocketmq.v1.Resource.newBuilder(group_).mergeFrom(value).buildPartial();
        } else {
          group_ = value;
        }
        onChanged();
      } else {
        groupBuilder_.mergeFrom(value);
      }

      return this;
    }
    /**
     * .apache.rocketmq.v1.Resource group = 1;
     */
    public Builder clearGroup() {
      if (groupBuilder_ == null) {
        group_ = null;
        onChanged();
      } else {
        group_ = null;
        groupBuilder_ = null;
      }

      return this;
    }
    /**
     * .apache.rocketmq.v1.Resource group = 1;
     */
    public apache.rocketmq.v1.Resource.Builder getGroupBuilder() {
      
      onChanged();
      return getGroupFieldBuilder().getBuilder();
    }
    /**
     * .apache.rocketmq.v1.Resource group = 1;
     */
    public apache.rocketmq.v1.ResourceOrBuilder getGroupOrBuilder() {
      if (groupBuilder_ != null) {
        return groupBuilder_.getMessageOrBuilder();
      } else {
        return group_ == null ?
            apache.rocketmq.v1.Resource.getDefaultInstance() : group_;
      }
    }
    /**
     * .apache.rocketmq.v1.Resource group = 1;
     */
    private com.aliyun.openservices.ons.shaded.com.google.protobuf.SingleFieldBuilderV3<
        apache.rocketmq.v1.Resource, apache.rocketmq.v1.Resource.Builder, apache.rocketmq.v1.ResourceOrBuilder> 
        getGroupFieldBuilder() {
      if (groupBuilder_ == null) {
        groupBuilder_ = new com.aliyun.openservices.ons.shaded.com.google.protobuf.SingleFieldBuilderV3<
            apache.rocketmq.v1.Resource, apache.rocketmq.v1.Resource.Builder, apache.rocketmq.v1.ResourceOrBuilder>(
                getGroup(),
                getParentForChildren(),
                isClean());
        group_ = null;
      }
      return groupBuilder_;
    }

    private java.lang.Object messageId_ = "";
    /**
     * string message_id = 2;
     * @return The messageId.
     */
    public java.lang.String getMessageId() {
      java.lang.Object ref = messageId_;
      if (!(ref instanceof java.lang.String)) {
        com.aliyun.openservices.ons.shaded.com.google.protobuf.ByteString bs =
            (com.aliyun.openservices.ons.shaded.com.google.protobuf.ByteString) ref;
        java.lang.String s = bs.toStringUtf8();
        messageId_ = s;
        return s;
      } else {
        return (java.lang.String) ref;
      }
    }
    /**
     * string message_id = 2;
     * @return The bytes for messageId.
     */
    public com.aliyun.openservices.ons.shaded.com.google.protobuf.ByteString
        getMessageIdBytes() {
      java.lang.Object ref = messageId_;
      if (ref instanceof String) {
        com.aliyun.openservices.ons.shaded.com.google.protobuf.ByteString b = 
            com.aliyun.openservices.ons.shaded.com.google.protobuf.ByteString.copyFromUtf8(
                (java.lang.String) ref);
        messageId_ = b;
        return b;
      } else {
        return (com.aliyun.openservices.ons.shaded.com.google.protobuf.ByteString) ref;
      }
    }
    /**
     * string message_id = 2;
     * @param value The messageId to set.
     * @return This builder for chaining.
     */
    public Builder setMessageId(
        java.lang.String value) {
      if (value == null) {
    throw new NullPointerException();
  }
  
      messageId_ = value;
      onChanged();
      return this;
    }
    /**
     * string message_id = 2;
     * @return This builder for chaining.
     */
    public Builder clearMessageId() {
      
      messageId_ = getDefaultInstance().getMessageId();
      onChanged();
      return this;
    }
    /**
     * string message_id = 2;
     * @param value The bytes for messageId to set.
     * @return This builder for chaining.
     */
    public Builder setMessageIdBytes(
        com.aliyun.openservices.ons.shaded.com.google.protobuf.ByteString value) {
      if (value == null) {
    throw new NullPointerException();
  }
  checkByteStringIsUtf8(value);
      
      messageId_ = value;
      onChanged();
      return this;
    }

    private java.lang.Object transactionId_ = "";
    /**
     * string transaction_id = 3;
     * @return The transactionId.
     */
    public java.lang.String getTransactionId() {
      java.lang.Object ref = transactionId_;
      if (!(ref instanceof java.lang.String)) {
        com.aliyun.openservices.ons.shaded.com.google.protobuf.ByteString bs =
            (com.aliyun.openservices.ons.shaded.com.google.protobuf.ByteString) ref;
        java.lang.String s = bs.toStringUtf8();
        transactionId_ = s;
        return s;
      } else {
        return (java.lang.String) ref;
      }
    }
    /**
     * string transaction_id = 3;
     * @return The bytes for transactionId.
     */
    public com.aliyun.openservices.ons.shaded.com.google.protobuf.ByteString
        getTransactionIdBytes() {
      java.lang.Object ref = transactionId_;
      if (ref instanceof String) {
        com.aliyun.openservices.ons.shaded.com.google.protobuf.ByteString b = 
            com.aliyun.openservices.ons.shaded.com.google.protobuf.ByteString.copyFromUtf8(
                (java.lang.String) ref);
        transactionId_ = b;
        return b;
      } else {
        return (com.aliyun.openservices.ons.shaded.com.google.protobuf.ByteString) ref;
      }
    }
    /**
     * string transaction_id = 3;
     * @param value The transactionId to set.
     * @return This builder for chaining.
     */
    public Builder setTransactionId(
        java.lang.String value) {
      if (value == null) {
    throw new NullPointerException();
  }
  
      transactionId_ = value;
      onChanged();
      return this;
    }
    /**
     * string transaction_id = 3;
     * @return This builder for chaining.
     */
    public Builder clearTransactionId() {
      
      transactionId_ = getDefaultInstance().getTransactionId();
      onChanged();
      return this;
    }
    /**
     * string transaction_id = 3;
     * @param value The bytes for transactionId to set.
     * @return This builder for chaining.
     */
    public Builder setTransactionIdBytes(
        com.aliyun.openservices.ons.shaded.com.google.protobuf.ByteString value) {
      if (value == null) {
    throw new NullPointerException();
  }
  checkByteStringIsUtf8(value);
      
      transactionId_ = value;
      onChanged();
      return this;
    }

    private int resolution_ = 0;
    /**
     * .apache.rocketmq.v1.EndTransactionRequest.TransactionResolution resolution = 4;
     * @return The enum numeric value on the wire for resolution.
     */
    @java.lang.Override public int getResolutionValue() {
      return resolution_;
    }
    /**
     * .apache.rocketmq.v1.EndTransactionRequest.TransactionResolution resolution = 4;
     * @param value The enum numeric value on the wire for resolution to set.
     * @return This builder for chaining.
     */
    public Builder setResolutionValue(int value) {
      
      resolution_ = value;
      onChanged();
      return this;
    }
    /**
     * .apache.rocketmq.v1.EndTransactionRequest.TransactionResolution resolution = 4;
     * @return The resolution.
     */
    @java.lang.Override
    public apache.rocketmq.v1.EndTransactionRequest.TransactionResolution getResolution() {
      @SuppressWarnings("deprecation")
      apache.rocketmq.v1.EndTransactionRequest.TransactionResolution result = apache.rocketmq.v1.EndTransactionRequest.TransactionResolution.valueOf(resolution_);
      return result == null ? apache.rocketmq.v1.EndTransactionRequest.TransactionResolution.UNRECOGNIZED : result;
    }
    /**
     * .apache.rocketmq.v1.EndTransactionRequest.TransactionResolution resolution = 4;
     * @param value The resolution to set.
     * @return This builder for chaining.
     */
    public Builder setResolution(apache.rocketmq.v1.EndTransactionRequest.TransactionResolution value) {
      if (value == null) {
        throw new NullPointerException();
      }
      
      resolution_ = value.getNumber();
      onChanged();
      return this;
    }
    /**
     * .apache.rocketmq.v1.EndTransactionRequest.TransactionResolution resolution = 4;
     * @return This builder for chaining.
     */
    public Builder clearResolution() {
      
      resolution_ = 0;
      onChanged();
      return this;
    }

    private int source_ = 0;
    /**
     * .apache.rocketmq.v1.EndTransactionRequest.Source source = 5;
     * @return The enum numeric value on the wire for source.
     */
    @java.lang.Override public int getSourceValue() {
      return source_;
    }
    /**
     * .apache.rocketmq.v1.EndTransactionRequest.Source source = 5;
     * @param value The enum numeric value on the wire for source to set.
     * @return This builder for chaining.
     */
    public Builder setSourceValue(int value) {
      
      source_ = value;
      onChanged();
      return this;
    }
    /**
     * .apache.rocketmq.v1.EndTransactionRequest.Source source = 5;
     * @return The source.
     */
    @java.lang.Override
    public apache.rocketmq.v1.EndTransactionRequest.Source getSource() {
      @SuppressWarnings("deprecation")
      apache.rocketmq.v1.EndTransactionRequest.Source result = apache.rocketmq.v1.EndTransactionRequest.Source.valueOf(source_);
      return result == null ? apache.rocketmq.v1.EndTransactionRequest.Source.UNRECOGNIZED : result;
    }
    /**
     * .apache.rocketmq.v1.EndTransactionRequest.Source source = 5;
     * @param value The source to set.
     * @return This builder for chaining.
     */
    public Builder setSource(apache.rocketmq.v1.EndTransactionRequest.Source value) {
      if (value == null) {
        throw new NullPointerException();
      }
      
      source_ = value.getNumber();
      onChanged();
      return this;
    }
    /**
     * .apache.rocketmq.v1.EndTransactionRequest.Source source = 5;
     * @return This builder for chaining.
     */
    public Builder clearSource() {
      
      source_ = 0;
      onChanged();
      return this;
    }

    private java.lang.Object traceContext_ = "";
    /**
     * string trace_context = 6;
     * @return The traceContext.
     */
    public java.lang.String getTraceContext() {
      java.lang.Object ref = traceContext_;
      if (!(ref instanceof java.lang.String)) {
        com.aliyun.openservices.ons.shaded.com.google.protobuf.ByteString bs =
            (com.aliyun.openservices.ons.shaded.com.google.protobuf.ByteString) ref;
        java.lang.String s = bs.toStringUtf8();
        traceContext_ = s;
        return s;
      } else {
        return (java.lang.String) ref;
      }
    }
    /**
     * string trace_context = 6;
     * @return The bytes for traceContext.
     */
    public com.aliyun.openservices.ons.shaded.com.google.protobuf.ByteString
        getTraceContextBytes() {
      java.lang.Object ref = traceContext_;
      if (ref instanceof String) {
        com.aliyun.openservices.ons.shaded.com.google.protobuf.ByteString b = 
            com.aliyun.openservices.ons.shaded.com.google.protobuf.ByteString.copyFromUtf8(
                (java.lang.String) ref);
        traceContext_ = b;
        return b;
      } else {
        return (com.aliyun.openservices.ons.shaded.com.google.protobuf.ByteString) ref;
      }
    }
    /**
     * string trace_context = 6;
     * @param value The traceContext to set.
     * @return This builder for chaining.
     */
    public Builder setTraceContext(
        java.lang.String value) {
      if (value == null) {
    throw new NullPointerException();
  }
  
      traceContext_ = value;
      onChanged();
      return this;
    }
    /**
     * string trace_context = 6;
     * @return This builder for chaining.
     */
    public Builder clearTraceContext() {
      
      traceContext_ = getDefaultInstance().getTraceContext();
      onChanged();
      return this;
    }
    /**
     * string trace_context = 6;
     * @param value The bytes for traceContext to set.
     * @return This builder for chaining.
     */
    public Builder setTraceContextBytes(
        com.aliyun.openservices.ons.shaded.com.google.protobuf.ByteString value) {
      if (value == null) {
    throw new NullPointerException();
  }
  checkByteStringIsUtf8(value);
      
      traceContext_ = value;
      onChanged();
      return this;
    }
    @java.lang.Override
    public final Builder setUnknownFields(
        final com.aliyun.openservices.ons.shaded.com.google.protobuf.UnknownFieldSet unknownFields) {
      return super.setUnknownFields(unknownFields);
    }

    @java.lang.Override
    public final Builder mergeUnknownFields(
        final com.aliyun.openservices.ons.shaded.com.google.protobuf.UnknownFieldSet unknownFields) {
      return super.mergeUnknownFields(unknownFields);
    }


    // @@protoc_insertion_point(builder_scope:apache.rocketmq.v1.EndTransactionRequest)
  }

  // @@protoc_insertion_point(class_scope:apache.rocketmq.v1.EndTransactionRequest)
  private static final apache.rocketmq.v1.EndTransactionRequest DEFAULT_INSTANCE;
  static {
    DEFAULT_INSTANCE = new apache.rocketmq.v1.EndTransactionRequest();
  }

  public static apache.rocketmq.v1.EndTransactionRequest getDefaultInstance() {
    return DEFAULT_INSTANCE;
  }

  private static final com.aliyun.openservices.ons.shaded.com.google.protobuf.Parser
      PARSER = new com.aliyun.openservices.ons.shaded.com.google.protobuf.AbstractParser() {
    @java.lang.Override
    public EndTransactionRequest parsePartialFrom(
        com.aliyun.openservices.ons.shaded.com.google.protobuf.CodedInputStream input,
        com.aliyun.openservices.ons.shaded.com.google.protobuf.ExtensionRegistryLite extensionRegistry)
        throws com.aliyun.openservices.ons.shaded.com.google.protobuf.InvalidProtocolBufferException {
      return new EndTransactionRequest(input, extensionRegistry);
    }
  };

  public static com.aliyun.openservices.ons.shaded.com.google.protobuf.Parser parser() {
    return PARSER;
  }

  @java.lang.Override
  public com.aliyun.openservices.ons.shaded.com.google.protobuf.Parser getParserForType() {
    return PARSER;
  }

  @java.lang.Override
  public apache.rocketmq.v1.EndTransactionRequest getDefaultInstanceForType() {
    return DEFAULT_INSTANCE;
  }

}





© 2015 - 2024 Weber Informatics LLC | Privacy Policy