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

apache.rocketmq.v1.SystemAttribute 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/definition.proto

package apache.rocketmq.v1;

/**
 * Protobuf type {@code apache.rocketmq.v1.SystemAttribute}
 */
public final class SystemAttribute extends
    com.aliyun.openservices.ons.shaded.com.google.protobuf.GeneratedMessageV3 implements
    // @@protoc_insertion_point(message_implements:apache.rocketmq.v1.SystemAttribute)
    SystemAttributeOrBuilder {
private static final long serialVersionUID = 0L;
  // Use SystemAttribute.newBuilder() to construct.
  private SystemAttribute(com.aliyun.openservices.ons.shaded.com.google.protobuf.GeneratedMessageV3.Builder builder) {
    super(builder);
  }
  private SystemAttribute() {
    tag_ = "";
    keys_ = com.aliyun.openservices.ons.shaded.com.google.protobuf.LazyStringArrayList.EMPTY;
    messageId_ = "";
    bodyEncoding_ = 0;
    messageType_ = 0;
    bornHost_ = "";
    storeHost_ = "";
    receiptHandle_ = "";
    messageGroup_ = "";
    traceContext_ = "";
  }

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

  @java.lang.Override
  public final com.aliyun.openservices.ons.shaded.com.google.protobuf.UnknownFieldSet
  getUnknownFields() {
    return this.unknownFields;
  }
  private SystemAttribute(
      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();
    }
    int mutable_bitField0_ = 0;
    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: {
            java.lang.String s = input.readStringRequireUtf8();

            tag_ = s;
            break;
          }
          case 18: {
            java.lang.String s = input.readStringRequireUtf8();
            if (!((mutable_bitField0_ & 0x00000001) != 0)) {
              keys_ = new com.aliyun.openservices.ons.shaded.com.google.protobuf.LazyStringArrayList();
              mutable_bitField0_ |= 0x00000001;
            }
            keys_.add(s);
            break;
          }
          case 26: {
            java.lang.String s = input.readStringRequireUtf8();

            messageId_ = s;
            break;
          }
          case 34: {
            apache.rocketmq.v1.Digest.Builder subBuilder = null;
            if (bodyDigest_ != null) {
              subBuilder = bodyDigest_.toBuilder();
            }
            bodyDigest_ = input.readMessage(apache.rocketmq.v1.Digest.parser(), extensionRegistry);
            if (subBuilder != null) {
              subBuilder.mergeFrom(bodyDigest_);
              bodyDigest_ = subBuilder.buildPartial();
            }

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

            bodyEncoding_ = rawValue;
            break;
          }
          case 48: {
            int rawValue = input.readEnum();

            messageType_ = rawValue;
            break;
          }
          case 58: {
            com.aliyun.openservices.ons.shaded.com.google.protobuf.Timestamp.Builder subBuilder = null;
            if (bornTimestamp_ != null) {
              subBuilder = bornTimestamp_.toBuilder();
            }
            bornTimestamp_ = input.readMessage(com.aliyun.openservices.ons.shaded.com.google.protobuf.Timestamp.parser(), extensionRegistry);
            if (subBuilder != null) {
              subBuilder.mergeFrom(bornTimestamp_);
              bornTimestamp_ = subBuilder.buildPartial();
            }

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

            bornHost_ = s;
            break;
          }
          case 74: {
            com.aliyun.openservices.ons.shaded.com.google.protobuf.Timestamp.Builder subBuilder = null;
            if (storeTimestamp_ != null) {
              subBuilder = storeTimestamp_.toBuilder();
            }
            storeTimestamp_ = input.readMessage(com.aliyun.openservices.ons.shaded.com.google.protobuf.Timestamp.parser(), extensionRegistry);
            if (subBuilder != null) {
              subBuilder.mergeFrom(storeTimestamp_);
              storeTimestamp_ = subBuilder.buildPartial();
            }

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

            storeHost_ = s;
            break;
          }
          case 90: {
            com.aliyun.openservices.ons.shaded.com.google.protobuf.Timestamp.Builder subBuilder = null;
            if (timedDeliveryCase_ == 11) {
              subBuilder = ((com.aliyun.openservices.ons.shaded.com.google.protobuf.Timestamp) timedDelivery_).toBuilder();
            }
            timedDelivery_ =
                input.readMessage(com.aliyun.openservices.ons.shaded.com.google.protobuf.Timestamp.parser(), extensionRegistry);
            if (subBuilder != null) {
              subBuilder.mergeFrom((com.aliyun.openservices.ons.shaded.com.google.protobuf.Timestamp) timedDelivery_);
              timedDelivery_ = subBuilder.buildPartial();
            }
            timedDeliveryCase_ = 11;
            break;
          }
          case 96: {
            timedDeliveryCase_ = 12;
            timedDelivery_ = input.readInt32();
            break;
          }
          case 106: {
            java.lang.String s = input.readStringRequireUtf8();

            receiptHandle_ = s;
            break;
          }
          case 112: {

            partitionId_ = input.readInt32();
            break;
          }
          case 120: {

            partitionOffset_ = input.readInt64();
            break;
          }
          case 130: {
            com.aliyun.openservices.ons.shaded.com.google.protobuf.Duration.Builder subBuilder = null;
            if (invisiblePeriod_ != null) {
              subBuilder = invisiblePeriod_.toBuilder();
            }
            invisiblePeriod_ = input.readMessage(com.aliyun.openservices.ons.shaded.com.google.protobuf.Duration.parser(), extensionRegistry);
            if (subBuilder != null) {
              subBuilder.mergeFrom(invisiblePeriod_);
              invisiblePeriod_ = subBuilder.buildPartial();
            }

            break;
          }
          case 136: {

            deliveryAttempt_ = input.readInt32();
            break;
          }
          case 146: {
            apache.rocketmq.v1.Resource.Builder subBuilder = null;
            if (producerGroup_ != null) {
              subBuilder = producerGroup_.toBuilder();
            }
            producerGroup_ = input.readMessage(apache.rocketmq.v1.Resource.parser(), extensionRegistry);
            if (subBuilder != null) {
              subBuilder.mergeFrom(producerGroup_);
              producerGroup_ = subBuilder.buildPartial();
            }

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

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

            traceContext_ = s;
            break;
          }
          case 170: {
            com.aliyun.openservices.ons.shaded.com.google.protobuf.Duration.Builder subBuilder = null;
            if (orphanedTransactionRecoveryPeriod_ != null) {
              subBuilder = orphanedTransactionRecoveryPeriod_.toBuilder();
            }
            orphanedTransactionRecoveryPeriod_ = input.readMessage(com.aliyun.openservices.ons.shaded.com.google.protobuf.Duration.parser(), extensionRegistry);
            if (subBuilder != null) {
              subBuilder.mergeFrom(orphanedTransactionRecoveryPeriod_);
              orphanedTransactionRecoveryPeriod_ = subBuilder.buildPartial();
            }

            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 {
      if (((mutable_bitField0_ & 0x00000001) != 0)) {
        keys_ = keys_.getUnmodifiableView();
      }
      this.unknownFields = unknownFields.build();
      makeExtensionsImmutable();
    }
  }
  public static final com.aliyun.openservices.ons.shaded.com.google.protobuf.Descriptors.Descriptor
      getDescriptor() {
    return apache.rocketmq.v1.MQDomain.internal_static_apache_rocketmq_v1_SystemAttribute_descriptor;
  }

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

  private int timedDeliveryCase_ = 0;
  private java.lang.Object timedDelivery_;
  public enum TimedDeliveryCase
      implements com.aliyun.openservices.ons.shaded.com.google.protobuf.Internal.EnumLite,
          com.aliyun.openservices.ons.shaded.com.google.protobuf.AbstractMessage.InternalOneOfEnum {
    DELIVERY_TIMESTAMP(11),
    DELAY_LEVEL(12),
    TIMEDDELIVERY_NOT_SET(0);
    private final int value;
    private TimedDeliveryCase(int value) {
      this.value = value;
    }
    /**
     * @param value The number of the enum to look for.
     * @return The enum associated with the given number.
     * @deprecated Use {@link #forNumber(int)} instead.
     */
    @java.lang.Deprecated
    public static TimedDeliveryCase valueOf(int value) {
      return forNumber(value);
    }

    public static TimedDeliveryCase forNumber(int value) {
      switch (value) {
        case 11: return DELIVERY_TIMESTAMP;
        case 12: return DELAY_LEVEL;
        case 0: return TIMEDDELIVERY_NOT_SET;
        default: return null;
      }
    }
    public int getNumber() {
      return this.value;
    }
  };

  public TimedDeliveryCase
  getTimedDeliveryCase() {
    return TimedDeliveryCase.forNumber(
        timedDeliveryCase_);
  }

  public static final int TAG_FIELD_NUMBER = 1;
  private volatile java.lang.Object tag_;
  /**
   * 
   * Tag
   * 
* * string tag = 1; * @return The tag. */ @java.lang.Override public java.lang.String getTag() { java.lang.Object ref = tag_; 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(); tag_ = s; return s; } } /** *
   * Tag
   * 
* * string tag = 1; * @return The bytes for tag. */ @java.lang.Override public com.aliyun.openservices.ons.shaded.com.google.protobuf.ByteString getTagBytes() { java.lang.Object ref = tag_; 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); tag_ = b; return b; } else { return (com.aliyun.openservices.ons.shaded.com.google.protobuf.ByteString) ref; } } public static final int KEYS_FIELD_NUMBER = 2; private com.aliyun.openservices.ons.shaded.com.google.protobuf.LazyStringList keys_; /** *
   * Message keys
   * 
* * repeated string keys = 2; * @return A list containing the keys. */ public com.aliyun.openservices.ons.shaded.com.google.protobuf.ProtocolStringList getKeysList() { return keys_; } /** *
   * Message keys
   * 
* * repeated string keys = 2; * @return The count of keys. */ public int getKeysCount() { return keys_.size(); } /** *
   * Message keys
   * 
* * repeated string keys = 2; * @param index The index of the element to return. * @return The keys at the given index. */ public java.lang.String getKeys(int index) { return keys_.get(index); } /** *
   * Message keys
   * 
* * repeated string keys = 2; * @param index The index of the value to return. * @return The bytes of the keys at the given index. */ public com.aliyun.openservices.ons.shaded.com.google.protobuf.ByteString getKeysBytes(int index) { return keys_.getByteString(index); } public static final int MESSAGE_ID_FIELD_NUMBER = 3; private volatile java.lang.Object messageId_; /** *
   * Message identifier, client-side generated, remains unique.
   * if message_id is empty, the send message request will be aborted with
   * status `INVALID_ARGUMENT`
   * 
* * string message_id = 3; * @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; } } /** *
   * Message identifier, client-side generated, remains unique.
   * if message_id is empty, the send message request will be aborted with
   * status `INVALID_ARGUMENT`
   * 
* * string message_id = 3; * @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 BODY_DIGEST_FIELD_NUMBER = 4; private apache.rocketmq.v1.Digest bodyDigest_; /** *
   * Message body digest
   * 
* * .apache.rocketmq.v1.Digest body_digest = 4; * @return Whether the bodyDigest field is set. */ @java.lang.Override public boolean hasBodyDigest() { return bodyDigest_ != null; } /** *
   * Message body digest
   * 
* * .apache.rocketmq.v1.Digest body_digest = 4; * @return The bodyDigest. */ @java.lang.Override public apache.rocketmq.v1.Digest getBodyDigest() { return bodyDigest_ == null ? apache.rocketmq.v1.Digest.getDefaultInstance() : bodyDigest_; } /** *
   * Message body digest
   * 
* * .apache.rocketmq.v1.Digest body_digest = 4; */ @java.lang.Override public apache.rocketmq.v1.DigestOrBuilder getBodyDigestOrBuilder() { return getBodyDigest(); } public static final int BODY_ENCODING_FIELD_NUMBER = 5; private int bodyEncoding_; /** *
   * Message body encoding. Candidate options are identity, gzip, snappy etc.
   * 
* * .apache.rocketmq.v1.Encoding body_encoding = 5; * @return The enum numeric value on the wire for bodyEncoding. */ @java.lang.Override public int getBodyEncodingValue() { return bodyEncoding_; } /** *
   * Message body encoding. Candidate options are identity, gzip, snappy etc.
   * 
* * .apache.rocketmq.v1.Encoding body_encoding = 5; * @return The bodyEncoding. */ @java.lang.Override public apache.rocketmq.v1.Encoding getBodyEncoding() { @SuppressWarnings("deprecation") apache.rocketmq.v1.Encoding result = apache.rocketmq.v1.Encoding.valueOf(bodyEncoding_); return result == null ? apache.rocketmq.v1.Encoding.UNRECOGNIZED : result; } public static final int MESSAGE_TYPE_FIELD_NUMBER = 6; private int messageType_; /** *
   * Message type, normal, FIFO or transactional.
   * 
* * .apache.rocketmq.v1.MessageType message_type = 6; * @return The enum numeric value on the wire for messageType. */ @java.lang.Override public int getMessageTypeValue() { return messageType_; } /** *
   * Message type, normal, FIFO or transactional.
   * 
* * .apache.rocketmq.v1.MessageType message_type = 6; * @return The messageType. */ @java.lang.Override public apache.rocketmq.v1.MessageType getMessageType() { @SuppressWarnings("deprecation") apache.rocketmq.v1.MessageType result = apache.rocketmq.v1.MessageType.valueOf(messageType_); return result == null ? apache.rocketmq.v1.MessageType.UNRECOGNIZED : result; } public static final int BORN_TIMESTAMP_FIELD_NUMBER = 7; private com.aliyun.openservices.ons.shaded.com.google.protobuf.Timestamp bornTimestamp_; /** *
   * Message born time-point.
   * 
* * .google.protobuf.Timestamp born_timestamp = 7; * @return Whether the bornTimestamp field is set. */ @java.lang.Override public boolean hasBornTimestamp() { return bornTimestamp_ != null; } /** *
   * Message born time-point.
   * 
* * .google.protobuf.Timestamp born_timestamp = 7; * @return The bornTimestamp. */ @java.lang.Override public com.aliyun.openservices.ons.shaded.com.google.protobuf.Timestamp getBornTimestamp() { return bornTimestamp_ == null ? com.aliyun.openservices.ons.shaded.com.google.protobuf.Timestamp.getDefaultInstance() : bornTimestamp_; } /** *
   * Message born time-point.
   * 
* * .google.protobuf.Timestamp born_timestamp = 7; */ @java.lang.Override public com.aliyun.openservices.ons.shaded.com.google.protobuf.TimestampOrBuilder getBornTimestampOrBuilder() { return getBornTimestamp(); } public static final int BORN_HOST_FIELD_NUMBER = 8; private volatile java.lang.Object bornHost_; /** *
   * Message born host. Valid options are IPv4, IPv6 or client host domain name.
   * 
* * string born_host = 8; * @return The bornHost. */ @java.lang.Override public java.lang.String getBornHost() { java.lang.Object ref = bornHost_; 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(); bornHost_ = s; return s; } } /** *
   * Message born host. Valid options are IPv4, IPv6 or client host domain name.
   * 
* * string born_host = 8; * @return The bytes for bornHost. */ @java.lang.Override public com.aliyun.openservices.ons.shaded.com.google.protobuf.ByteString getBornHostBytes() { java.lang.Object ref = bornHost_; 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); bornHost_ = b; return b; } else { return (com.aliyun.openservices.ons.shaded.com.google.protobuf.ByteString) ref; } } public static final int STORE_TIMESTAMP_FIELD_NUMBER = 9; private com.aliyun.openservices.ons.shaded.com.google.protobuf.Timestamp storeTimestamp_; /** *
   * Time-point at which the message is stored in the broker.
   * 
* * .google.protobuf.Timestamp store_timestamp = 9; * @return Whether the storeTimestamp field is set. */ @java.lang.Override public boolean hasStoreTimestamp() { return storeTimestamp_ != null; } /** *
   * Time-point at which the message is stored in the broker.
   * 
* * .google.protobuf.Timestamp store_timestamp = 9; * @return The storeTimestamp. */ @java.lang.Override public com.aliyun.openservices.ons.shaded.com.google.protobuf.Timestamp getStoreTimestamp() { return storeTimestamp_ == null ? com.aliyun.openservices.ons.shaded.com.google.protobuf.Timestamp.getDefaultInstance() : storeTimestamp_; } /** *
   * Time-point at which the message is stored in the broker.
   * 
* * .google.protobuf.Timestamp store_timestamp = 9; */ @java.lang.Override public com.aliyun.openservices.ons.shaded.com.google.protobuf.TimestampOrBuilder getStoreTimestampOrBuilder() { return getStoreTimestamp(); } public static final int STORE_HOST_FIELD_NUMBER = 10; private volatile java.lang.Object storeHost_; /** *
   * The broker that stores this message. It may be name, IP or arbitrary
   * identifier that uniquely identify the broker.
   * 
* * string store_host = 10; * @return The storeHost. */ @java.lang.Override public java.lang.String getStoreHost() { java.lang.Object ref = storeHost_; 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(); storeHost_ = s; return s; } } /** *
   * The broker that stores this message. It may be name, IP or arbitrary
   * identifier that uniquely identify the broker.
   * 
* * string store_host = 10; * @return The bytes for storeHost. */ @java.lang.Override public com.aliyun.openservices.ons.shaded.com.google.protobuf.ByteString getStoreHostBytes() { java.lang.Object ref = storeHost_; 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); storeHost_ = b; return b; } else { return (com.aliyun.openservices.ons.shaded.com.google.protobuf.ByteString) ref; } } public static final int DELIVERY_TIMESTAMP_FIELD_NUMBER = 11; /** *
   * Time-point at which broker delivers to clients.
   * 
* * .google.protobuf.Timestamp delivery_timestamp = 11; * @return Whether the deliveryTimestamp field is set. */ @java.lang.Override public boolean hasDeliveryTimestamp() { return timedDeliveryCase_ == 11; } /** *
   * Time-point at which broker delivers to clients.
   * 
* * .google.protobuf.Timestamp delivery_timestamp = 11; * @return The deliveryTimestamp. */ @java.lang.Override public com.aliyun.openservices.ons.shaded.com.google.protobuf.Timestamp getDeliveryTimestamp() { if (timedDeliveryCase_ == 11) { return (com.aliyun.openservices.ons.shaded.com.google.protobuf.Timestamp) timedDelivery_; } return com.aliyun.openservices.ons.shaded.com.google.protobuf.Timestamp.getDefaultInstance(); } /** *
   * Time-point at which broker delivers to clients.
   * 
* * .google.protobuf.Timestamp delivery_timestamp = 11; */ @java.lang.Override public com.aliyun.openservices.ons.shaded.com.google.protobuf.TimestampOrBuilder getDeliveryTimestampOrBuilder() { if (timedDeliveryCase_ == 11) { return (com.aliyun.openservices.ons.shaded.com.google.protobuf.Timestamp) timedDelivery_; } return com.aliyun.openservices.ons.shaded.com.google.protobuf.Timestamp.getDefaultInstance(); } public static final int DELAY_LEVEL_FIELD_NUMBER = 12; /** *
   * Level-based delay strategy.
   * 
* * int32 delay_level = 12; * @return The delayLevel. */ @java.lang.Override public int getDelayLevel() { if (timedDeliveryCase_ == 12) { return (java.lang.Integer) timedDelivery_; } return 0; } public static final int RECEIPT_HANDLE_FIELD_NUMBER = 13; private volatile java.lang.Object receiptHandle_; /** *
   * If a message is acquired by way of POP, this field holds the receipt.
   * Clients use the receipt to acknowledge or negatively acknowledge the
   * message.
   * 
* * string receipt_handle = 13; * @return The receiptHandle. */ @java.lang.Override public java.lang.String getReceiptHandle() { java.lang.Object ref = receiptHandle_; 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(); receiptHandle_ = s; return s; } } /** *
   * If a message is acquired by way of POP, this field holds the receipt.
   * Clients use the receipt to acknowledge or negatively acknowledge the
   * message.
   * 
* * string receipt_handle = 13; * @return The bytes for receiptHandle. */ @java.lang.Override public com.aliyun.openservices.ons.shaded.com.google.protobuf.ByteString getReceiptHandleBytes() { java.lang.Object ref = receiptHandle_; 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); receiptHandle_ = b; return b; } else { return (com.aliyun.openservices.ons.shaded.com.google.protobuf.ByteString) ref; } } public static final int PARTITION_ID_FIELD_NUMBER = 14; private int partitionId_; /** *
   * Partition identifier in which a message is physically stored.
   * 
* * int32 partition_id = 14; * @return The partitionId. */ @java.lang.Override public int getPartitionId() { return partitionId_; } public static final int PARTITION_OFFSET_FIELD_NUMBER = 15; private long partitionOffset_; /** *
   * Partition offset at which a message is stored.
   * 
* * int64 partition_offset = 15; * @return The partitionOffset. */ @java.lang.Override public long getPartitionOffset() { return partitionOffset_; } public static final int INVISIBLE_PERIOD_FIELD_NUMBER = 16; private com.aliyun.openservices.ons.shaded.com.google.protobuf.Duration invisiblePeriod_; /** *
   * Period of time servers would remain invisible once a message is acquired.
   * 
* * .google.protobuf.Duration invisible_period = 16; * @return Whether the invisiblePeriod field is set. */ @java.lang.Override public boolean hasInvisiblePeriod() { return invisiblePeriod_ != null; } /** *
   * Period of time servers would remain invisible once a message is acquired.
   * 
* * .google.protobuf.Duration invisible_period = 16; * @return The invisiblePeriod. */ @java.lang.Override public com.aliyun.openservices.ons.shaded.com.google.protobuf.Duration getInvisiblePeriod() { return invisiblePeriod_ == null ? com.aliyun.openservices.ons.shaded.com.google.protobuf.Duration.getDefaultInstance() : invisiblePeriod_; } /** *
   * Period of time servers would remain invisible once a message is acquired.
   * 
* * .google.protobuf.Duration invisible_period = 16; */ @java.lang.Override public com.aliyun.openservices.ons.shaded.com.google.protobuf.DurationOrBuilder getInvisiblePeriodOrBuilder() { return getInvisiblePeriod(); } public static final int DELIVERY_ATTEMPT_FIELD_NUMBER = 17; private int deliveryAttempt_; /** *
   * Business code may failed to process messages for the moment. Hence, clients
   * may request servers to deliver them again using certain back-off strategy,
   * the attempt is 1 not 0 if message is delivered first time.
   * 
* * int32 delivery_attempt = 17; * @return The deliveryAttempt. */ @java.lang.Override public int getDeliveryAttempt() { return deliveryAttempt_; } public static final int PRODUCER_GROUP_FIELD_NUMBER = 18; private apache.rocketmq.v1.Resource producerGroup_; /** *
   * Message producer load-balance group if applicable.
   * 
* * .apache.rocketmq.v1.Resource producer_group = 18; * @return Whether the producerGroup field is set. */ @java.lang.Override public boolean hasProducerGroup() { return producerGroup_ != null; } /** *
   * Message producer load-balance group if applicable.
   * 
* * .apache.rocketmq.v1.Resource producer_group = 18; * @return The producerGroup. */ @java.lang.Override public apache.rocketmq.v1.Resource getProducerGroup() { return producerGroup_ == null ? apache.rocketmq.v1.Resource.getDefaultInstance() : producerGroup_; } /** *
   * Message producer load-balance group if applicable.
   * 
* * .apache.rocketmq.v1.Resource producer_group = 18; */ @java.lang.Override public apache.rocketmq.v1.ResourceOrBuilder getProducerGroupOrBuilder() { return getProducerGroup(); } public static final int MESSAGE_GROUP_FIELD_NUMBER = 19; private volatile java.lang.Object messageGroup_; /** * string message_group = 19; * @return The messageGroup. */ @java.lang.Override public java.lang.String getMessageGroup() { java.lang.Object ref = messageGroup_; 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(); messageGroup_ = s; return s; } } /** * string message_group = 19; * @return The bytes for messageGroup. */ @java.lang.Override public com.aliyun.openservices.ons.shaded.com.google.protobuf.ByteString getMessageGroupBytes() { java.lang.Object ref = messageGroup_; 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); messageGroup_ = b; return b; } else { return (com.aliyun.openservices.ons.shaded.com.google.protobuf.ByteString) ref; } } public static final int TRACE_CONTEXT_FIELD_NUMBER = 20; private volatile java.lang.Object traceContext_; /** *
   * Trace context.
   * 
* * string trace_context = 20; * @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; } } /** *
   * Trace context.
   * 
* * string trace_context = 20; * @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; } } public static final int ORPHANED_TRANSACTION_RECOVERY_PERIOD_FIELD_NUMBER = 21; private com.aliyun.openservices.ons.shaded.com.google.protobuf.Duration orphanedTransactionRecoveryPeriod_; /** *
   * Delay time of first recover orphaned transaction request from server.
   * 
* * .google.protobuf.Duration orphaned_transaction_recovery_period = 21; * @return Whether the orphanedTransactionRecoveryPeriod field is set. */ @java.lang.Override public boolean hasOrphanedTransactionRecoveryPeriod() { return orphanedTransactionRecoveryPeriod_ != null; } /** *
   * Delay time of first recover orphaned transaction request from server.
   * 
* * .google.protobuf.Duration orphaned_transaction_recovery_period = 21; * @return The orphanedTransactionRecoveryPeriod. */ @java.lang.Override public com.aliyun.openservices.ons.shaded.com.google.protobuf.Duration getOrphanedTransactionRecoveryPeriod() { return orphanedTransactionRecoveryPeriod_ == null ? com.aliyun.openservices.ons.shaded.com.google.protobuf.Duration.getDefaultInstance() : orphanedTransactionRecoveryPeriod_; } /** *
   * Delay time of first recover orphaned transaction request from server.
   * 
* * .google.protobuf.Duration orphaned_transaction_recovery_period = 21; */ @java.lang.Override public com.aliyun.openservices.ons.shaded.com.google.protobuf.DurationOrBuilder getOrphanedTransactionRecoveryPeriodOrBuilder() { return getOrphanedTransactionRecoveryPeriod(); } 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 (!getTagBytes().isEmpty()) { com.aliyun.openservices.ons.shaded.com.google.protobuf.GeneratedMessageV3.writeString(output, 1, tag_); } for (int i = 0; i < keys_.size(); i++) { com.aliyun.openservices.ons.shaded.com.google.protobuf.GeneratedMessageV3.writeString(output, 2, keys_.getRaw(i)); } if (!getMessageIdBytes().isEmpty()) { com.aliyun.openservices.ons.shaded.com.google.protobuf.GeneratedMessageV3.writeString(output, 3, messageId_); } if (bodyDigest_ != null) { output.writeMessage(4, getBodyDigest()); } if (bodyEncoding_ != apache.rocketmq.v1.Encoding.IDENTITY.getNumber()) { output.writeEnum(5, bodyEncoding_); } if (messageType_ != apache.rocketmq.v1.MessageType.NORMAL.getNumber()) { output.writeEnum(6, messageType_); } if (bornTimestamp_ != null) { output.writeMessage(7, getBornTimestamp()); } if (!getBornHostBytes().isEmpty()) { com.aliyun.openservices.ons.shaded.com.google.protobuf.GeneratedMessageV3.writeString(output, 8, bornHost_); } if (storeTimestamp_ != null) { output.writeMessage(9, getStoreTimestamp()); } if (!getStoreHostBytes().isEmpty()) { com.aliyun.openservices.ons.shaded.com.google.protobuf.GeneratedMessageV3.writeString(output, 10, storeHost_); } if (timedDeliveryCase_ == 11) { output.writeMessage(11, (com.aliyun.openservices.ons.shaded.com.google.protobuf.Timestamp) timedDelivery_); } if (timedDeliveryCase_ == 12) { output.writeInt32( 12, (int)((java.lang.Integer) timedDelivery_)); } if (!getReceiptHandleBytes().isEmpty()) { com.aliyun.openservices.ons.shaded.com.google.protobuf.GeneratedMessageV3.writeString(output, 13, receiptHandle_); } if (partitionId_ != 0) { output.writeInt32(14, partitionId_); } if (partitionOffset_ != 0L) { output.writeInt64(15, partitionOffset_); } if (invisiblePeriod_ != null) { output.writeMessage(16, getInvisiblePeriod()); } if (deliveryAttempt_ != 0) { output.writeInt32(17, deliveryAttempt_); } if (producerGroup_ != null) { output.writeMessage(18, getProducerGroup()); } if (!getMessageGroupBytes().isEmpty()) { com.aliyun.openservices.ons.shaded.com.google.protobuf.GeneratedMessageV3.writeString(output, 19, messageGroup_); } if (!getTraceContextBytes().isEmpty()) { com.aliyun.openservices.ons.shaded.com.google.protobuf.GeneratedMessageV3.writeString(output, 20, traceContext_); } if (orphanedTransactionRecoveryPeriod_ != null) { output.writeMessage(21, getOrphanedTransactionRecoveryPeriod()); } unknownFields.writeTo(output); } @java.lang.Override public int getSerializedSize() { int size = memoizedSize; if (size != -1) return size; size = 0; if (!getTagBytes().isEmpty()) { size += com.aliyun.openservices.ons.shaded.com.google.protobuf.GeneratedMessageV3.computeStringSize(1, tag_); } { int dataSize = 0; for (int i = 0; i < keys_.size(); i++) { dataSize += computeStringSizeNoTag(keys_.getRaw(i)); } size += dataSize; size += 1 * getKeysList().size(); } if (!getMessageIdBytes().isEmpty()) { size += com.aliyun.openservices.ons.shaded.com.google.protobuf.GeneratedMessageV3.computeStringSize(3, messageId_); } if (bodyDigest_ != null) { size += com.aliyun.openservices.ons.shaded.com.google.protobuf.CodedOutputStream .computeMessageSize(4, getBodyDigest()); } if (bodyEncoding_ != apache.rocketmq.v1.Encoding.IDENTITY.getNumber()) { size += com.aliyun.openservices.ons.shaded.com.google.protobuf.CodedOutputStream .computeEnumSize(5, bodyEncoding_); } if (messageType_ != apache.rocketmq.v1.MessageType.NORMAL.getNumber()) { size += com.aliyun.openservices.ons.shaded.com.google.protobuf.CodedOutputStream .computeEnumSize(6, messageType_); } if (bornTimestamp_ != null) { size += com.aliyun.openservices.ons.shaded.com.google.protobuf.CodedOutputStream .computeMessageSize(7, getBornTimestamp()); } if (!getBornHostBytes().isEmpty()) { size += com.aliyun.openservices.ons.shaded.com.google.protobuf.GeneratedMessageV3.computeStringSize(8, bornHost_); } if (storeTimestamp_ != null) { size += com.aliyun.openservices.ons.shaded.com.google.protobuf.CodedOutputStream .computeMessageSize(9, getStoreTimestamp()); } if (!getStoreHostBytes().isEmpty()) { size += com.aliyun.openservices.ons.shaded.com.google.protobuf.GeneratedMessageV3.computeStringSize(10, storeHost_); } if (timedDeliveryCase_ == 11) { size += com.aliyun.openservices.ons.shaded.com.google.protobuf.CodedOutputStream .computeMessageSize(11, (com.aliyun.openservices.ons.shaded.com.google.protobuf.Timestamp) timedDelivery_); } if (timedDeliveryCase_ == 12) { size += com.aliyun.openservices.ons.shaded.com.google.protobuf.CodedOutputStream .computeInt32Size( 12, (int)((java.lang.Integer) timedDelivery_)); } if (!getReceiptHandleBytes().isEmpty()) { size += com.aliyun.openservices.ons.shaded.com.google.protobuf.GeneratedMessageV3.computeStringSize(13, receiptHandle_); } if (partitionId_ != 0) { size += com.aliyun.openservices.ons.shaded.com.google.protobuf.CodedOutputStream .computeInt32Size(14, partitionId_); } if (partitionOffset_ != 0L) { size += com.aliyun.openservices.ons.shaded.com.google.protobuf.CodedOutputStream .computeInt64Size(15, partitionOffset_); } if (invisiblePeriod_ != null) { size += com.aliyun.openservices.ons.shaded.com.google.protobuf.CodedOutputStream .computeMessageSize(16, getInvisiblePeriod()); } if (deliveryAttempt_ != 0) { size += com.aliyun.openservices.ons.shaded.com.google.protobuf.CodedOutputStream .computeInt32Size(17, deliveryAttempt_); } if (producerGroup_ != null) { size += com.aliyun.openservices.ons.shaded.com.google.protobuf.CodedOutputStream .computeMessageSize(18, getProducerGroup()); } if (!getMessageGroupBytes().isEmpty()) { size += com.aliyun.openservices.ons.shaded.com.google.protobuf.GeneratedMessageV3.computeStringSize(19, messageGroup_); } if (!getTraceContextBytes().isEmpty()) { size += com.aliyun.openservices.ons.shaded.com.google.protobuf.GeneratedMessageV3.computeStringSize(20, traceContext_); } if (orphanedTransactionRecoveryPeriod_ != null) { size += com.aliyun.openservices.ons.shaded.com.google.protobuf.CodedOutputStream .computeMessageSize(21, getOrphanedTransactionRecoveryPeriod()); } 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.SystemAttribute)) { return super.equals(obj); } apache.rocketmq.v1.SystemAttribute other = (apache.rocketmq.v1.SystemAttribute) obj; if (!getTag() .equals(other.getTag())) return false; if (!getKeysList() .equals(other.getKeysList())) return false; if (!getMessageId() .equals(other.getMessageId())) return false; if (hasBodyDigest() != other.hasBodyDigest()) return false; if (hasBodyDigest()) { if (!getBodyDigest() .equals(other.getBodyDigest())) return false; } if (bodyEncoding_ != other.bodyEncoding_) return false; if (messageType_ != other.messageType_) return false; if (hasBornTimestamp() != other.hasBornTimestamp()) return false; if (hasBornTimestamp()) { if (!getBornTimestamp() .equals(other.getBornTimestamp())) return false; } if (!getBornHost() .equals(other.getBornHost())) return false; if (hasStoreTimestamp() != other.hasStoreTimestamp()) return false; if (hasStoreTimestamp()) { if (!getStoreTimestamp() .equals(other.getStoreTimestamp())) return false; } if (!getStoreHost() .equals(other.getStoreHost())) return false; if (!getReceiptHandle() .equals(other.getReceiptHandle())) return false; if (getPartitionId() != other.getPartitionId()) return false; if (getPartitionOffset() != other.getPartitionOffset()) return false; if (hasInvisiblePeriod() != other.hasInvisiblePeriod()) return false; if (hasInvisiblePeriod()) { if (!getInvisiblePeriod() .equals(other.getInvisiblePeriod())) return false; } if (getDeliveryAttempt() != other.getDeliveryAttempt()) return false; if (hasProducerGroup() != other.hasProducerGroup()) return false; if (hasProducerGroup()) { if (!getProducerGroup() .equals(other.getProducerGroup())) return false; } if (!getMessageGroup() .equals(other.getMessageGroup())) return false; if (!getTraceContext() .equals(other.getTraceContext())) return false; if (hasOrphanedTransactionRecoveryPeriod() != other.hasOrphanedTransactionRecoveryPeriod()) return false; if (hasOrphanedTransactionRecoveryPeriod()) { if (!getOrphanedTransactionRecoveryPeriod() .equals(other.getOrphanedTransactionRecoveryPeriod())) return false; } if (!getTimedDeliveryCase().equals(other.getTimedDeliveryCase())) return false; switch (timedDeliveryCase_) { case 11: if (!getDeliveryTimestamp() .equals(other.getDeliveryTimestamp())) return false; break; case 12: if (getDelayLevel() != other.getDelayLevel()) return false; break; case 0: default: } 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) + TAG_FIELD_NUMBER; hash = (53 * hash) + getTag().hashCode(); if (getKeysCount() > 0) { hash = (37 * hash) + KEYS_FIELD_NUMBER; hash = (53 * hash) + getKeysList().hashCode(); } hash = (37 * hash) + MESSAGE_ID_FIELD_NUMBER; hash = (53 * hash) + getMessageId().hashCode(); if (hasBodyDigest()) { hash = (37 * hash) + BODY_DIGEST_FIELD_NUMBER; hash = (53 * hash) + getBodyDigest().hashCode(); } hash = (37 * hash) + BODY_ENCODING_FIELD_NUMBER; hash = (53 * hash) + bodyEncoding_; hash = (37 * hash) + MESSAGE_TYPE_FIELD_NUMBER; hash = (53 * hash) + messageType_; if (hasBornTimestamp()) { hash = (37 * hash) + BORN_TIMESTAMP_FIELD_NUMBER; hash = (53 * hash) + getBornTimestamp().hashCode(); } hash = (37 * hash) + BORN_HOST_FIELD_NUMBER; hash = (53 * hash) + getBornHost().hashCode(); if (hasStoreTimestamp()) { hash = (37 * hash) + STORE_TIMESTAMP_FIELD_NUMBER; hash = (53 * hash) + getStoreTimestamp().hashCode(); } hash = (37 * hash) + STORE_HOST_FIELD_NUMBER; hash = (53 * hash) + getStoreHost().hashCode(); hash = (37 * hash) + RECEIPT_HANDLE_FIELD_NUMBER; hash = (53 * hash) + getReceiptHandle().hashCode(); hash = (37 * hash) + PARTITION_ID_FIELD_NUMBER; hash = (53 * hash) + getPartitionId(); hash = (37 * hash) + PARTITION_OFFSET_FIELD_NUMBER; hash = (53 * hash) + com.aliyun.openservices.ons.shaded.com.google.protobuf.Internal.hashLong( getPartitionOffset()); if (hasInvisiblePeriod()) { hash = (37 * hash) + INVISIBLE_PERIOD_FIELD_NUMBER; hash = (53 * hash) + getInvisiblePeriod().hashCode(); } hash = (37 * hash) + DELIVERY_ATTEMPT_FIELD_NUMBER; hash = (53 * hash) + getDeliveryAttempt(); if (hasProducerGroup()) { hash = (37 * hash) + PRODUCER_GROUP_FIELD_NUMBER; hash = (53 * hash) + getProducerGroup().hashCode(); } hash = (37 * hash) + MESSAGE_GROUP_FIELD_NUMBER; hash = (53 * hash) + getMessageGroup().hashCode(); hash = (37 * hash) + TRACE_CONTEXT_FIELD_NUMBER; hash = (53 * hash) + getTraceContext().hashCode(); if (hasOrphanedTransactionRecoveryPeriod()) { hash = (37 * hash) + ORPHANED_TRANSACTION_RECOVERY_PERIOD_FIELD_NUMBER; hash = (53 * hash) + getOrphanedTransactionRecoveryPeriod().hashCode(); } switch (timedDeliveryCase_) { case 11: hash = (37 * hash) + DELIVERY_TIMESTAMP_FIELD_NUMBER; hash = (53 * hash) + getDeliveryTimestamp().hashCode(); break; case 12: hash = (37 * hash) + DELAY_LEVEL_FIELD_NUMBER; hash = (53 * hash) + getDelayLevel(); break; case 0: default: } hash = (29 * hash) + unknownFields.hashCode(); memoizedHashCode = hash; return hash; } public static apache.rocketmq.v1.SystemAttribute parseFrom( java.nio.ByteBuffer data) throws com.aliyun.openservices.ons.shaded.com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static apache.rocketmq.v1.SystemAttribute 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.SystemAttribute 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.SystemAttribute 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.SystemAttribute parseFrom(byte[] data) throws com.aliyun.openservices.ons.shaded.com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static apache.rocketmq.v1.SystemAttribute 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.SystemAttribute 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.SystemAttribute 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.SystemAttribute 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.SystemAttribute 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.SystemAttribute 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.SystemAttribute 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.SystemAttribute 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.SystemAttribute} */ 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.SystemAttribute) apache.rocketmq.v1.SystemAttributeOrBuilder { public static final com.aliyun.openservices.ons.shaded.com.google.protobuf.Descriptors.Descriptor getDescriptor() { return apache.rocketmq.v1.MQDomain.internal_static_apache_rocketmq_v1_SystemAttribute_descriptor; } @java.lang.Override protected com.aliyun.openservices.ons.shaded.com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return apache.rocketmq.v1.MQDomain.internal_static_apache_rocketmq_v1_SystemAttribute_fieldAccessorTable .ensureFieldAccessorsInitialized( apache.rocketmq.v1.SystemAttribute.class, apache.rocketmq.v1.SystemAttribute.Builder.class); } // Construct using apache.rocketmq.v1.SystemAttribute.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(); tag_ = ""; keys_ = com.aliyun.openservices.ons.shaded.com.google.protobuf.LazyStringArrayList.EMPTY; bitField0_ = (bitField0_ & ~0x00000001); messageId_ = ""; if (bodyDigestBuilder_ == null) { bodyDigest_ = null; } else { bodyDigest_ = null; bodyDigestBuilder_ = null; } bodyEncoding_ = 0; messageType_ = 0; if (bornTimestampBuilder_ == null) { bornTimestamp_ = null; } else { bornTimestamp_ = null; bornTimestampBuilder_ = null; } bornHost_ = ""; if (storeTimestampBuilder_ == null) { storeTimestamp_ = null; } else { storeTimestamp_ = null; storeTimestampBuilder_ = null; } storeHost_ = ""; receiptHandle_ = ""; partitionId_ = 0; partitionOffset_ = 0L; if (invisiblePeriodBuilder_ == null) { invisiblePeriod_ = null; } else { invisiblePeriod_ = null; invisiblePeriodBuilder_ = null; } deliveryAttempt_ = 0; if (producerGroupBuilder_ == null) { producerGroup_ = null; } else { producerGroup_ = null; producerGroupBuilder_ = null; } messageGroup_ = ""; traceContext_ = ""; if (orphanedTransactionRecoveryPeriodBuilder_ == null) { orphanedTransactionRecoveryPeriod_ = null; } else { orphanedTransactionRecoveryPeriod_ = null; orphanedTransactionRecoveryPeriodBuilder_ = null; } timedDeliveryCase_ = 0; timedDelivery_ = null; return this; } @java.lang.Override public com.aliyun.openservices.ons.shaded.com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { return apache.rocketmq.v1.MQDomain.internal_static_apache_rocketmq_v1_SystemAttribute_descriptor; } @java.lang.Override public apache.rocketmq.v1.SystemAttribute getDefaultInstanceForType() { return apache.rocketmq.v1.SystemAttribute.getDefaultInstance(); } @java.lang.Override public apache.rocketmq.v1.SystemAttribute build() { apache.rocketmq.v1.SystemAttribute result = buildPartial(); if (!result.isInitialized()) { throw newUninitializedMessageException(result); } return result; } @java.lang.Override public apache.rocketmq.v1.SystemAttribute buildPartial() { apache.rocketmq.v1.SystemAttribute result = new apache.rocketmq.v1.SystemAttribute(this); int from_bitField0_ = bitField0_; result.tag_ = tag_; if (((bitField0_ & 0x00000001) != 0)) { keys_ = keys_.getUnmodifiableView(); bitField0_ = (bitField0_ & ~0x00000001); } result.keys_ = keys_; result.messageId_ = messageId_; if (bodyDigestBuilder_ == null) { result.bodyDigest_ = bodyDigest_; } else { result.bodyDigest_ = bodyDigestBuilder_.build(); } result.bodyEncoding_ = bodyEncoding_; result.messageType_ = messageType_; if (bornTimestampBuilder_ == null) { result.bornTimestamp_ = bornTimestamp_; } else { result.bornTimestamp_ = bornTimestampBuilder_.build(); } result.bornHost_ = bornHost_; if (storeTimestampBuilder_ == null) { result.storeTimestamp_ = storeTimestamp_; } else { result.storeTimestamp_ = storeTimestampBuilder_.build(); } result.storeHost_ = storeHost_; if (timedDeliveryCase_ == 11) { if (deliveryTimestampBuilder_ == null) { result.timedDelivery_ = timedDelivery_; } else { result.timedDelivery_ = deliveryTimestampBuilder_.build(); } } if (timedDeliveryCase_ == 12) { result.timedDelivery_ = timedDelivery_; } result.receiptHandle_ = receiptHandle_; result.partitionId_ = partitionId_; result.partitionOffset_ = partitionOffset_; if (invisiblePeriodBuilder_ == null) { result.invisiblePeriod_ = invisiblePeriod_; } else { result.invisiblePeriod_ = invisiblePeriodBuilder_.build(); } result.deliveryAttempt_ = deliveryAttempt_; if (producerGroupBuilder_ == null) { result.producerGroup_ = producerGroup_; } else { result.producerGroup_ = producerGroupBuilder_.build(); } result.messageGroup_ = messageGroup_; result.traceContext_ = traceContext_; if (orphanedTransactionRecoveryPeriodBuilder_ == null) { result.orphanedTransactionRecoveryPeriod_ = orphanedTransactionRecoveryPeriod_; } else { result.orphanedTransactionRecoveryPeriod_ = orphanedTransactionRecoveryPeriodBuilder_.build(); } result.timedDeliveryCase_ = timedDeliveryCase_; 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.SystemAttribute) { return mergeFrom((apache.rocketmq.v1.SystemAttribute)other); } else { super.mergeFrom(other); return this; } } public Builder mergeFrom(apache.rocketmq.v1.SystemAttribute other) { if (other == apache.rocketmq.v1.SystemAttribute.getDefaultInstance()) return this; if (!other.getTag().isEmpty()) { tag_ = other.tag_; onChanged(); } if (!other.keys_.isEmpty()) { if (keys_.isEmpty()) { keys_ = other.keys_; bitField0_ = (bitField0_ & ~0x00000001); } else { ensureKeysIsMutable(); keys_.addAll(other.keys_); } onChanged(); } if (!other.getMessageId().isEmpty()) { messageId_ = other.messageId_; onChanged(); } if (other.hasBodyDigest()) { mergeBodyDigest(other.getBodyDigest()); } if (other.bodyEncoding_ != 0) { setBodyEncodingValue(other.getBodyEncodingValue()); } if (other.messageType_ != 0) { setMessageTypeValue(other.getMessageTypeValue()); } if (other.hasBornTimestamp()) { mergeBornTimestamp(other.getBornTimestamp()); } if (!other.getBornHost().isEmpty()) { bornHost_ = other.bornHost_; onChanged(); } if (other.hasStoreTimestamp()) { mergeStoreTimestamp(other.getStoreTimestamp()); } if (!other.getStoreHost().isEmpty()) { storeHost_ = other.storeHost_; onChanged(); } if (!other.getReceiptHandle().isEmpty()) { receiptHandle_ = other.receiptHandle_; onChanged(); } if (other.getPartitionId() != 0) { setPartitionId(other.getPartitionId()); } if (other.getPartitionOffset() != 0L) { setPartitionOffset(other.getPartitionOffset()); } if (other.hasInvisiblePeriod()) { mergeInvisiblePeriod(other.getInvisiblePeriod()); } if (other.getDeliveryAttempt() != 0) { setDeliveryAttempt(other.getDeliveryAttempt()); } if (other.hasProducerGroup()) { mergeProducerGroup(other.getProducerGroup()); } if (!other.getMessageGroup().isEmpty()) { messageGroup_ = other.messageGroup_; onChanged(); } if (!other.getTraceContext().isEmpty()) { traceContext_ = other.traceContext_; onChanged(); } if (other.hasOrphanedTransactionRecoveryPeriod()) { mergeOrphanedTransactionRecoveryPeriod(other.getOrphanedTransactionRecoveryPeriod()); } switch (other.getTimedDeliveryCase()) { case DELIVERY_TIMESTAMP: { mergeDeliveryTimestamp(other.getDeliveryTimestamp()); break; } case DELAY_LEVEL: { setDelayLevel(other.getDelayLevel()); break; } case TIMEDDELIVERY_NOT_SET: { break; } } 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.SystemAttribute parsedMessage = null; try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.aliyun.openservices.ons.shaded.com.google.protobuf.InvalidProtocolBufferException e) { parsedMessage = (apache.rocketmq.v1.SystemAttribute) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { mergeFrom(parsedMessage); } } return this; } private int timedDeliveryCase_ = 0; private java.lang.Object timedDelivery_; public TimedDeliveryCase getTimedDeliveryCase() { return TimedDeliveryCase.forNumber( timedDeliveryCase_); } public Builder clearTimedDelivery() { timedDeliveryCase_ = 0; timedDelivery_ = null; onChanged(); return this; } private int bitField0_; private java.lang.Object tag_ = ""; /** *
     * Tag
     * 
* * string tag = 1; * @return The tag. */ public java.lang.String getTag() { java.lang.Object ref = tag_; 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(); tag_ = s; return s; } else { return (java.lang.String) ref; } } /** *
     * Tag
     * 
* * string tag = 1; * @return The bytes for tag. */ public com.aliyun.openservices.ons.shaded.com.google.protobuf.ByteString getTagBytes() { java.lang.Object ref = tag_; 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); tag_ = b; return b; } else { return (com.aliyun.openservices.ons.shaded.com.google.protobuf.ByteString) ref; } } /** *
     * Tag
     * 
* * string tag = 1; * @param value The tag to set. * @return This builder for chaining. */ public Builder setTag( java.lang.String value) { if (value == null) { throw new NullPointerException(); } tag_ = value; onChanged(); return this; } /** *
     * Tag
     * 
* * string tag = 1; * @return This builder for chaining. */ public Builder clearTag() { tag_ = getDefaultInstance().getTag(); onChanged(); return this; } /** *
     * Tag
     * 
* * string tag = 1; * @param value The bytes for tag to set. * @return This builder for chaining. */ public Builder setTagBytes( com.aliyun.openservices.ons.shaded.com.google.protobuf.ByteString value) { if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); tag_ = value; onChanged(); return this; } private com.aliyun.openservices.ons.shaded.com.google.protobuf.LazyStringList keys_ = com.aliyun.openservices.ons.shaded.com.google.protobuf.LazyStringArrayList.EMPTY; private void ensureKeysIsMutable() { if (!((bitField0_ & 0x00000001) != 0)) { keys_ = new com.aliyun.openservices.ons.shaded.com.google.protobuf.LazyStringArrayList(keys_); bitField0_ |= 0x00000001; } } /** *
     * Message keys
     * 
* * repeated string keys = 2; * @return A list containing the keys. */ public com.aliyun.openservices.ons.shaded.com.google.protobuf.ProtocolStringList getKeysList() { return keys_.getUnmodifiableView(); } /** *
     * Message keys
     * 
* * repeated string keys = 2; * @return The count of keys. */ public int getKeysCount() { return keys_.size(); } /** *
     * Message keys
     * 
* * repeated string keys = 2; * @param index The index of the element to return. * @return The keys at the given index. */ public java.lang.String getKeys(int index) { return keys_.get(index); } /** *
     * Message keys
     * 
* * repeated string keys = 2; * @param index The index of the value to return. * @return The bytes of the keys at the given index. */ public com.aliyun.openservices.ons.shaded.com.google.protobuf.ByteString getKeysBytes(int index) { return keys_.getByteString(index); } /** *
     * Message keys
     * 
* * repeated string keys = 2; * @param index The index to set the value at. * @param value The keys to set. * @return This builder for chaining. */ public Builder setKeys( int index, java.lang.String value) { if (value == null) { throw new NullPointerException(); } ensureKeysIsMutable(); keys_.set(index, value); onChanged(); return this; } /** *
     * Message keys
     * 
* * repeated string keys = 2; * @param value The keys to add. * @return This builder for chaining. */ public Builder addKeys( java.lang.String value) { if (value == null) { throw new NullPointerException(); } ensureKeysIsMutable(); keys_.add(value); onChanged(); return this; } /** *
     * Message keys
     * 
* * repeated string keys = 2; * @param values The keys to add. * @return This builder for chaining. */ public Builder addAllKeys( java.lang.Iterable values) { ensureKeysIsMutable(); com.aliyun.openservices.ons.shaded.com.google.protobuf.AbstractMessageLite.Builder.addAll( values, keys_); onChanged(); return this; } /** *
     * Message keys
     * 
* * repeated string keys = 2; * @return This builder for chaining. */ public Builder clearKeys() { keys_ = com.aliyun.openservices.ons.shaded.com.google.protobuf.LazyStringArrayList.EMPTY; bitField0_ = (bitField0_ & ~0x00000001); onChanged(); return this; } /** *
     * Message keys
     * 
* * repeated string keys = 2; * @param value The bytes of the keys to add. * @return This builder for chaining. */ public Builder addKeysBytes( com.aliyun.openservices.ons.shaded.com.google.protobuf.ByteString value) { if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); ensureKeysIsMutable(); keys_.add(value); onChanged(); return this; } private java.lang.Object messageId_ = ""; /** *
     * Message identifier, client-side generated, remains unique.
     * if message_id is empty, the send message request will be aborted with
     * status `INVALID_ARGUMENT`
     * 
* * string message_id = 3; * @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; } } /** *
     * Message identifier, client-side generated, remains unique.
     * if message_id is empty, the send message request will be aborted with
     * status `INVALID_ARGUMENT`
     * 
* * string message_id = 3; * @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; } } /** *
     * Message identifier, client-side generated, remains unique.
     * if message_id is empty, the send message request will be aborted with
     * status `INVALID_ARGUMENT`
     * 
* * string message_id = 3; * @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; } /** *
     * Message identifier, client-side generated, remains unique.
     * if message_id is empty, the send message request will be aborted with
     * status `INVALID_ARGUMENT`
     * 
* * string message_id = 3; * @return This builder for chaining. */ public Builder clearMessageId() { messageId_ = getDefaultInstance().getMessageId(); onChanged(); return this; } /** *
     * Message identifier, client-side generated, remains unique.
     * if message_id is empty, the send message request will be aborted with
     * status `INVALID_ARGUMENT`
     * 
* * string message_id = 3; * @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 apache.rocketmq.v1.Digest bodyDigest_; private com.aliyun.openservices.ons.shaded.com.google.protobuf.SingleFieldBuilderV3< apache.rocketmq.v1.Digest, apache.rocketmq.v1.Digest.Builder, apache.rocketmq.v1.DigestOrBuilder> bodyDigestBuilder_; /** *
     * Message body digest
     * 
* * .apache.rocketmq.v1.Digest body_digest = 4; * @return Whether the bodyDigest field is set. */ public boolean hasBodyDigest() { return bodyDigestBuilder_ != null || bodyDigest_ != null; } /** *
     * Message body digest
     * 
* * .apache.rocketmq.v1.Digest body_digest = 4; * @return The bodyDigest. */ public apache.rocketmq.v1.Digest getBodyDigest() { if (bodyDigestBuilder_ == null) { return bodyDigest_ == null ? apache.rocketmq.v1.Digest.getDefaultInstance() : bodyDigest_; } else { return bodyDigestBuilder_.getMessage(); } } /** *
     * Message body digest
     * 
* * .apache.rocketmq.v1.Digest body_digest = 4; */ public Builder setBodyDigest(apache.rocketmq.v1.Digest value) { if (bodyDigestBuilder_ == null) { if (value == null) { throw new NullPointerException(); } bodyDigest_ = value; onChanged(); } else { bodyDigestBuilder_.setMessage(value); } return this; } /** *
     * Message body digest
     * 
* * .apache.rocketmq.v1.Digest body_digest = 4; */ public Builder setBodyDigest( apache.rocketmq.v1.Digest.Builder builderForValue) { if (bodyDigestBuilder_ == null) { bodyDigest_ = builderForValue.build(); onChanged(); } else { bodyDigestBuilder_.setMessage(builderForValue.build()); } return this; } /** *
     * Message body digest
     * 
* * .apache.rocketmq.v1.Digest body_digest = 4; */ public Builder mergeBodyDigest(apache.rocketmq.v1.Digest value) { if (bodyDigestBuilder_ == null) { if (bodyDigest_ != null) { bodyDigest_ = apache.rocketmq.v1.Digest.newBuilder(bodyDigest_).mergeFrom(value).buildPartial(); } else { bodyDigest_ = value; } onChanged(); } else { bodyDigestBuilder_.mergeFrom(value); } return this; } /** *
     * Message body digest
     * 
* * .apache.rocketmq.v1.Digest body_digest = 4; */ public Builder clearBodyDigest() { if (bodyDigestBuilder_ == null) { bodyDigest_ = null; onChanged(); } else { bodyDigest_ = null; bodyDigestBuilder_ = null; } return this; } /** *
     * Message body digest
     * 
* * .apache.rocketmq.v1.Digest body_digest = 4; */ public apache.rocketmq.v1.Digest.Builder getBodyDigestBuilder() { onChanged(); return getBodyDigestFieldBuilder().getBuilder(); } /** *
     * Message body digest
     * 
* * .apache.rocketmq.v1.Digest body_digest = 4; */ public apache.rocketmq.v1.DigestOrBuilder getBodyDigestOrBuilder() { if (bodyDigestBuilder_ != null) { return bodyDigestBuilder_.getMessageOrBuilder(); } else { return bodyDigest_ == null ? apache.rocketmq.v1.Digest.getDefaultInstance() : bodyDigest_; } } /** *
     * Message body digest
     * 
* * .apache.rocketmq.v1.Digest body_digest = 4; */ private com.aliyun.openservices.ons.shaded.com.google.protobuf.SingleFieldBuilderV3< apache.rocketmq.v1.Digest, apache.rocketmq.v1.Digest.Builder, apache.rocketmq.v1.DigestOrBuilder> getBodyDigestFieldBuilder() { if (bodyDigestBuilder_ == null) { bodyDigestBuilder_ = new com.aliyun.openservices.ons.shaded.com.google.protobuf.SingleFieldBuilderV3< apache.rocketmq.v1.Digest, apache.rocketmq.v1.Digest.Builder, apache.rocketmq.v1.DigestOrBuilder>( getBodyDigest(), getParentForChildren(), isClean()); bodyDigest_ = null; } return bodyDigestBuilder_; } private int bodyEncoding_ = 0; /** *
     * Message body encoding. Candidate options are identity, gzip, snappy etc.
     * 
* * .apache.rocketmq.v1.Encoding body_encoding = 5; * @return The enum numeric value on the wire for bodyEncoding. */ @java.lang.Override public int getBodyEncodingValue() { return bodyEncoding_; } /** *
     * Message body encoding. Candidate options are identity, gzip, snappy etc.
     * 
* * .apache.rocketmq.v1.Encoding body_encoding = 5; * @param value The enum numeric value on the wire for bodyEncoding to set. * @return This builder for chaining. */ public Builder setBodyEncodingValue(int value) { bodyEncoding_ = value; onChanged(); return this; } /** *
     * Message body encoding. Candidate options are identity, gzip, snappy etc.
     * 
* * .apache.rocketmq.v1.Encoding body_encoding = 5; * @return The bodyEncoding. */ @java.lang.Override public apache.rocketmq.v1.Encoding getBodyEncoding() { @SuppressWarnings("deprecation") apache.rocketmq.v1.Encoding result = apache.rocketmq.v1.Encoding.valueOf(bodyEncoding_); return result == null ? apache.rocketmq.v1.Encoding.UNRECOGNIZED : result; } /** *
     * Message body encoding. Candidate options are identity, gzip, snappy etc.
     * 
* * .apache.rocketmq.v1.Encoding body_encoding = 5; * @param value The bodyEncoding to set. * @return This builder for chaining. */ public Builder setBodyEncoding(apache.rocketmq.v1.Encoding value) { if (value == null) { throw new NullPointerException(); } bodyEncoding_ = value.getNumber(); onChanged(); return this; } /** *
     * Message body encoding. Candidate options are identity, gzip, snappy etc.
     * 
* * .apache.rocketmq.v1.Encoding body_encoding = 5; * @return This builder for chaining. */ public Builder clearBodyEncoding() { bodyEncoding_ = 0; onChanged(); return this; } private int messageType_ = 0; /** *
     * Message type, normal, FIFO or transactional.
     * 
* * .apache.rocketmq.v1.MessageType message_type = 6; * @return The enum numeric value on the wire for messageType. */ @java.lang.Override public int getMessageTypeValue() { return messageType_; } /** *
     * Message type, normal, FIFO or transactional.
     * 
* * .apache.rocketmq.v1.MessageType message_type = 6; * @param value The enum numeric value on the wire for messageType to set. * @return This builder for chaining. */ public Builder setMessageTypeValue(int value) { messageType_ = value; onChanged(); return this; } /** *
     * Message type, normal, FIFO or transactional.
     * 
* * .apache.rocketmq.v1.MessageType message_type = 6; * @return The messageType. */ @java.lang.Override public apache.rocketmq.v1.MessageType getMessageType() { @SuppressWarnings("deprecation") apache.rocketmq.v1.MessageType result = apache.rocketmq.v1.MessageType.valueOf(messageType_); return result == null ? apache.rocketmq.v1.MessageType.UNRECOGNIZED : result; } /** *
     * Message type, normal, FIFO or transactional.
     * 
* * .apache.rocketmq.v1.MessageType message_type = 6; * @param value The messageType to set. * @return This builder for chaining. */ public Builder setMessageType(apache.rocketmq.v1.MessageType value) { if (value == null) { throw new NullPointerException(); } messageType_ = value.getNumber(); onChanged(); return this; } /** *
     * Message type, normal, FIFO or transactional.
     * 
* * .apache.rocketmq.v1.MessageType message_type = 6; * @return This builder for chaining. */ public Builder clearMessageType() { messageType_ = 0; onChanged(); return this; } private com.aliyun.openservices.ons.shaded.com.google.protobuf.Timestamp bornTimestamp_; private com.aliyun.openservices.ons.shaded.com.google.protobuf.SingleFieldBuilderV3< com.aliyun.openservices.ons.shaded.com.google.protobuf.Timestamp, com.aliyun.openservices.ons.shaded.com.google.protobuf.Timestamp.Builder, com.aliyun.openservices.ons.shaded.com.google.protobuf.TimestampOrBuilder> bornTimestampBuilder_; /** *
     * Message born time-point.
     * 
* * .google.protobuf.Timestamp born_timestamp = 7; * @return Whether the bornTimestamp field is set. */ public boolean hasBornTimestamp() { return bornTimestampBuilder_ != null || bornTimestamp_ != null; } /** *
     * Message born time-point.
     * 
* * .google.protobuf.Timestamp born_timestamp = 7; * @return The bornTimestamp. */ public com.aliyun.openservices.ons.shaded.com.google.protobuf.Timestamp getBornTimestamp() { if (bornTimestampBuilder_ == null) { return bornTimestamp_ == null ? com.aliyun.openservices.ons.shaded.com.google.protobuf.Timestamp.getDefaultInstance() : bornTimestamp_; } else { return bornTimestampBuilder_.getMessage(); } } /** *
     * Message born time-point.
     * 
* * .google.protobuf.Timestamp born_timestamp = 7; */ public Builder setBornTimestamp(com.aliyun.openservices.ons.shaded.com.google.protobuf.Timestamp value) { if (bornTimestampBuilder_ == null) { if (value == null) { throw new NullPointerException(); } bornTimestamp_ = value; onChanged(); } else { bornTimestampBuilder_.setMessage(value); } return this; } /** *
     * Message born time-point.
     * 
* * .google.protobuf.Timestamp born_timestamp = 7; */ public Builder setBornTimestamp( com.aliyun.openservices.ons.shaded.com.google.protobuf.Timestamp.Builder builderForValue) { if (bornTimestampBuilder_ == null) { bornTimestamp_ = builderForValue.build(); onChanged(); } else { bornTimestampBuilder_.setMessage(builderForValue.build()); } return this; } /** *
     * Message born time-point.
     * 
* * .google.protobuf.Timestamp born_timestamp = 7; */ public Builder mergeBornTimestamp(com.aliyun.openservices.ons.shaded.com.google.protobuf.Timestamp value) { if (bornTimestampBuilder_ == null) { if (bornTimestamp_ != null) { bornTimestamp_ = com.aliyun.openservices.ons.shaded.com.google.protobuf.Timestamp.newBuilder(bornTimestamp_).mergeFrom(value).buildPartial(); } else { bornTimestamp_ = value; } onChanged(); } else { bornTimestampBuilder_.mergeFrom(value); } return this; } /** *
     * Message born time-point.
     * 
* * .google.protobuf.Timestamp born_timestamp = 7; */ public Builder clearBornTimestamp() { if (bornTimestampBuilder_ == null) { bornTimestamp_ = null; onChanged(); } else { bornTimestamp_ = null; bornTimestampBuilder_ = null; } return this; } /** *
     * Message born time-point.
     * 
* * .google.protobuf.Timestamp born_timestamp = 7; */ public com.aliyun.openservices.ons.shaded.com.google.protobuf.Timestamp.Builder getBornTimestampBuilder() { onChanged(); return getBornTimestampFieldBuilder().getBuilder(); } /** *
     * Message born time-point.
     * 
* * .google.protobuf.Timestamp born_timestamp = 7; */ public com.aliyun.openservices.ons.shaded.com.google.protobuf.TimestampOrBuilder getBornTimestampOrBuilder() { if (bornTimestampBuilder_ != null) { return bornTimestampBuilder_.getMessageOrBuilder(); } else { return bornTimestamp_ == null ? com.aliyun.openservices.ons.shaded.com.google.protobuf.Timestamp.getDefaultInstance() : bornTimestamp_; } } /** *
     * Message born time-point.
     * 
* * .google.protobuf.Timestamp born_timestamp = 7; */ private com.aliyun.openservices.ons.shaded.com.google.protobuf.SingleFieldBuilderV3< com.aliyun.openservices.ons.shaded.com.google.protobuf.Timestamp, com.aliyun.openservices.ons.shaded.com.google.protobuf.Timestamp.Builder, com.aliyun.openservices.ons.shaded.com.google.protobuf.TimestampOrBuilder> getBornTimestampFieldBuilder() { if (bornTimestampBuilder_ == null) { bornTimestampBuilder_ = new com.aliyun.openservices.ons.shaded.com.google.protobuf.SingleFieldBuilderV3< com.aliyun.openservices.ons.shaded.com.google.protobuf.Timestamp, com.aliyun.openservices.ons.shaded.com.google.protobuf.Timestamp.Builder, com.aliyun.openservices.ons.shaded.com.google.protobuf.TimestampOrBuilder>( getBornTimestamp(), getParentForChildren(), isClean()); bornTimestamp_ = null; } return bornTimestampBuilder_; } private java.lang.Object bornHost_ = ""; /** *
     * Message born host. Valid options are IPv4, IPv6 or client host domain name.
     * 
* * string born_host = 8; * @return The bornHost. */ public java.lang.String getBornHost() { java.lang.Object ref = bornHost_; 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(); bornHost_ = s; return s; } else { return (java.lang.String) ref; } } /** *
     * Message born host. Valid options are IPv4, IPv6 or client host domain name.
     * 
* * string born_host = 8; * @return The bytes for bornHost. */ public com.aliyun.openservices.ons.shaded.com.google.protobuf.ByteString getBornHostBytes() { java.lang.Object ref = bornHost_; 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); bornHost_ = b; return b; } else { return (com.aliyun.openservices.ons.shaded.com.google.protobuf.ByteString) ref; } } /** *
     * Message born host. Valid options are IPv4, IPv6 or client host domain name.
     * 
* * string born_host = 8; * @param value The bornHost to set. * @return This builder for chaining. */ public Builder setBornHost( java.lang.String value) { if (value == null) { throw new NullPointerException(); } bornHost_ = value; onChanged(); return this; } /** *
     * Message born host. Valid options are IPv4, IPv6 or client host domain name.
     * 
* * string born_host = 8; * @return This builder for chaining. */ public Builder clearBornHost() { bornHost_ = getDefaultInstance().getBornHost(); onChanged(); return this; } /** *
     * Message born host. Valid options are IPv4, IPv6 or client host domain name.
     * 
* * string born_host = 8; * @param value The bytes for bornHost to set. * @return This builder for chaining. */ public Builder setBornHostBytes( com.aliyun.openservices.ons.shaded.com.google.protobuf.ByteString value) { if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); bornHost_ = value; onChanged(); return this; } private com.aliyun.openservices.ons.shaded.com.google.protobuf.Timestamp storeTimestamp_; private com.aliyun.openservices.ons.shaded.com.google.protobuf.SingleFieldBuilderV3< com.aliyun.openservices.ons.shaded.com.google.protobuf.Timestamp, com.aliyun.openservices.ons.shaded.com.google.protobuf.Timestamp.Builder, com.aliyun.openservices.ons.shaded.com.google.protobuf.TimestampOrBuilder> storeTimestampBuilder_; /** *
     * Time-point at which the message is stored in the broker.
     * 
* * .google.protobuf.Timestamp store_timestamp = 9; * @return Whether the storeTimestamp field is set. */ public boolean hasStoreTimestamp() { return storeTimestampBuilder_ != null || storeTimestamp_ != null; } /** *
     * Time-point at which the message is stored in the broker.
     * 
* * .google.protobuf.Timestamp store_timestamp = 9; * @return The storeTimestamp. */ public com.aliyun.openservices.ons.shaded.com.google.protobuf.Timestamp getStoreTimestamp() { if (storeTimestampBuilder_ == null) { return storeTimestamp_ == null ? com.aliyun.openservices.ons.shaded.com.google.protobuf.Timestamp.getDefaultInstance() : storeTimestamp_; } else { return storeTimestampBuilder_.getMessage(); } } /** *
     * Time-point at which the message is stored in the broker.
     * 
* * .google.protobuf.Timestamp store_timestamp = 9; */ public Builder setStoreTimestamp(com.aliyun.openservices.ons.shaded.com.google.protobuf.Timestamp value) { if (storeTimestampBuilder_ == null) { if (value == null) { throw new NullPointerException(); } storeTimestamp_ = value; onChanged(); } else { storeTimestampBuilder_.setMessage(value); } return this; } /** *
     * Time-point at which the message is stored in the broker.
     * 
* * .google.protobuf.Timestamp store_timestamp = 9; */ public Builder setStoreTimestamp( com.aliyun.openservices.ons.shaded.com.google.protobuf.Timestamp.Builder builderForValue) { if (storeTimestampBuilder_ == null) { storeTimestamp_ = builderForValue.build(); onChanged(); } else { storeTimestampBuilder_.setMessage(builderForValue.build()); } return this; } /** *
     * Time-point at which the message is stored in the broker.
     * 
* * .google.protobuf.Timestamp store_timestamp = 9; */ public Builder mergeStoreTimestamp(com.aliyun.openservices.ons.shaded.com.google.protobuf.Timestamp value) { if (storeTimestampBuilder_ == null) { if (storeTimestamp_ != null) { storeTimestamp_ = com.aliyun.openservices.ons.shaded.com.google.protobuf.Timestamp.newBuilder(storeTimestamp_).mergeFrom(value).buildPartial(); } else { storeTimestamp_ = value; } onChanged(); } else { storeTimestampBuilder_.mergeFrom(value); } return this; } /** *
     * Time-point at which the message is stored in the broker.
     * 
* * .google.protobuf.Timestamp store_timestamp = 9; */ public Builder clearStoreTimestamp() { if (storeTimestampBuilder_ == null) { storeTimestamp_ = null; onChanged(); } else { storeTimestamp_ = null; storeTimestampBuilder_ = null; } return this; } /** *
     * Time-point at which the message is stored in the broker.
     * 
* * .google.protobuf.Timestamp store_timestamp = 9; */ public com.aliyun.openservices.ons.shaded.com.google.protobuf.Timestamp.Builder getStoreTimestampBuilder() { onChanged(); return getStoreTimestampFieldBuilder().getBuilder(); } /** *
     * Time-point at which the message is stored in the broker.
     * 
* * .google.protobuf.Timestamp store_timestamp = 9; */ public com.aliyun.openservices.ons.shaded.com.google.protobuf.TimestampOrBuilder getStoreTimestampOrBuilder() { if (storeTimestampBuilder_ != null) { return storeTimestampBuilder_.getMessageOrBuilder(); } else { return storeTimestamp_ == null ? com.aliyun.openservices.ons.shaded.com.google.protobuf.Timestamp.getDefaultInstance() : storeTimestamp_; } } /** *
     * Time-point at which the message is stored in the broker.
     * 
* * .google.protobuf.Timestamp store_timestamp = 9; */ private com.aliyun.openservices.ons.shaded.com.google.protobuf.SingleFieldBuilderV3< com.aliyun.openservices.ons.shaded.com.google.protobuf.Timestamp, com.aliyun.openservices.ons.shaded.com.google.protobuf.Timestamp.Builder, com.aliyun.openservices.ons.shaded.com.google.protobuf.TimestampOrBuilder> getStoreTimestampFieldBuilder() { if (storeTimestampBuilder_ == null) { storeTimestampBuilder_ = new com.aliyun.openservices.ons.shaded.com.google.protobuf.SingleFieldBuilderV3< com.aliyun.openservices.ons.shaded.com.google.protobuf.Timestamp, com.aliyun.openservices.ons.shaded.com.google.protobuf.Timestamp.Builder, com.aliyun.openservices.ons.shaded.com.google.protobuf.TimestampOrBuilder>( getStoreTimestamp(), getParentForChildren(), isClean()); storeTimestamp_ = null; } return storeTimestampBuilder_; } private java.lang.Object storeHost_ = ""; /** *
     * The broker that stores this message. It may be name, IP or arbitrary
     * identifier that uniquely identify the broker.
     * 
* * string store_host = 10; * @return The storeHost. */ public java.lang.String getStoreHost() { java.lang.Object ref = storeHost_; 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(); storeHost_ = s; return s; } else { return (java.lang.String) ref; } } /** *
     * The broker that stores this message. It may be name, IP or arbitrary
     * identifier that uniquely identify the broker.
     * 
* * string store_host = 10; * @return The bytes for storeHost. */ public com.aliyun.openservices.ons.shaded.com.google.protobuf.ByteString getStoreHostBytes() { java.lang.Object ref = storeHost_; 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); storeHost_ = b; return b; } else { return (com.aliyun.openservices.ons.shaded.com.google.protobuf.ByteString) ref; } } /** *
     * The broker that stores this message. It may be name, IP or arbitrary
     * identifier that uniquely identify the broker.
     * 
* * string store_host = 10; * @param value The storeHost to set. * @return This builder for chaining. */ public Builder setStoreHost( java.lang.String value) { if (value == null) { throw new NullPointerException(); } storeHost_ = value; onChanged(); return this; } /** *
     * The broker that stores this message. It may be name, IP or arbitrary
     * identifier that uniquely identify the broker.
     * 
* * string store_host = 10; * @return This builder for chaining. */ public Builder clearStoreHost() { storeHost_ = getDefaultInstance().getStoreHost(); onChanged(); return this; } /** *
     * The broker that stores this message. It may be name, IP or arbitrary
     * identifier that uniquely identify the broker.
     * 
* * string store_host = 10; * @param value The bytes for storeHost to set. * @return This builder for chaining. */ public Builder setStoreHostBytes( com.aliyun.openservices.ons.shaded.com.google.protobuf.ByteString value) { if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); storeHost_ = value; onChanged(); return this; } private com.aliyun.openservices.ons.shaded.com.google.protobuf.SingleFieldBuilderV3< com.aliyun.openservices.ons.shaded.com.google.protobuf.Timestamp, com.aliyun.openservices.ons.shaded.com.google.protobuf.Timestamp.Builder, com.aliyun.openservices.ons.shaded.com.google.protobuf.TimestampOrBuilder> deliveryTimestampBuilder_; /** *
     * Time-point at which broker delivers to clients.
     * 
* * .google.protobuf.Timestamp delivery_timestamp = 11; * @return Whether the deliveryTimestamp field is set. */ @java.lang.Override public boolean hasDeliveryTimestamp() { return timedDeliveryCase_ == 11; } /** *
     * Time-point at which broker delivers to clients.
     * 
* * .google.protobuf.Timestamp delivery_timestamp = 11; * @return The deliveryTimestamp. */ @java.lang.Override public com.aliyun.openservices.ons.shaded.com.google.protobuf.Timestamp getDeliveryTimestamp() { if (deliveryTimestampBuilder_ == null) { if (timedDeliveryCase_ == 11) { return (com.aliyun.openservices.ons.shaded.com.google.protobuf.Timestamp) timedDelivery_; } return com.aliyun.openservices.ons.shaded.com.google.protobuf.Timestamp.getDefaultInstance(); } else { if (timedDeliveryCase_ == 11) { return deliveryTimestampBuilder_.getMessage(); } return com.aliyun.openservices.ons.shaded.com.google.protobuf.Timestamp.getDefaultInstance(); } } /** *
     * Time-point at which broker delivers to clients.
     * 
* * .google.protobuf.Timestamp delivery_timestamp = 11; */ public Builder setDeliveryTimestamp(com.aliyun.openservices.ons.shaded.com.google.protobuf.Timestamp value) { if (deliveryTimestampBuilder_ == null) { if (value == null) { throw new NullPointerException(); } timedDelivery_ = value; onChanged(); } else { deliveryTimestampBuilder_.setMessage(value); } timedDeliveryCase_ = 11; return this; } /** *
     * Time-point at which broker delivers to clients.
     * 
* * .google.protobuf.Timestamp delivery_timestamp = 11; */ public Builder setDeliveryTimestamp( com.aliyun.openservices.ons.shaded.com.google.protobuf.Timestamp.Builder builderForValue) { if (deliveryTimestampBuilder_ == null) { timedDelivery_ = builderForValue.build(); onChanged(); } else { deliveryTimestampBuilder_.setMessage(builderForValue.build()); } timedDeliveryCase_ = 11; return this; } /** *
     * Time-point at which broker delivers to clients.
     * 
* * .google.protobuf.Timestamp delivery_timestamp = 11; */ public Builder mergeDeliveryTimestamp(com.aliyun.openservices.ons.shaded.com.google.protobuf.Timestamp value) { if (deliveryTimestampBuilder_ == null) { if (timedDeliveryCase_ == 11 && timedDelivery_ != com.aliyun.openservices.ons.shaded.com.google.protobuf.Timestamp.getDefaultInstance()) { timedDelivery_ = com.aliyun.openservices.ons.shaded.com.google.protobuf.Timestamp.newBuilder((com.aliyun.openservices.ons.shaded.com.google.protobuf.Timestamp) timedDelivery_) .mergeFrom(value).buildPartial(); } else { timedDelivery_ = value; } onChanged(); } else { if (timedDeliveryCase_ == 11) { deliveryTimestampBuilder_.mergeFrom(value); } deliveryTimestampBuilder_.setMessage(value); } timedDeliveryCase_ = 11; return this; } /** *
     * Time-point at which broker delivers to clients.
     * 
* * .google.protobuf.Timestamp delivery_timestamp = 11; */ public Builder clearDeliveryTimestamp() { if (deliveryTimestampBuilder_ == null) { if (timedDeliveryCase_ == 11) { timedDeliveryCase_ = 0; timedDelivery_ = null; onChanged(); } } else { if (timedDeliveryCase_ == 11) { timedDeliveryCase_ = 0; timedDelivery_ = null; } deliveryTimestampBuilder_.clear(); } return this; } /** *
     * Time-point at which broker delivers to clients.
     * 
* * .google.protobuf.Timestamp delivery_timestamp = 11; */ public com.aliyun.openservices.ons.shaded.com.google.protobuf.Timestamp.Builder getDeliveryTimestampBuilder() { return getDeliveryTimestampFieldBuilder().getBuilder(); } /** *
     * Time-point at which broker delivers to clients.
     * 
* * .google.protobuf.Timestamp delivery_timestamp = 11; */ @java.lang.Override public com.aliyun.openservices.ons.shaded.com.google.protobuf.TimestampOrBuilder getDeliveryTimestampOrBuilder() { if ((timedDeliveryCase_ == 11) && (deliveryTimestampBuilder_ != null)) { return deliveryTimestampBuilder_.getMessageOrBuilder(); } else { if (timedDeliveryCase_ == 11) { return (com.aliyun.openservices.ons.shaded.com.google.protobuf.Timestamp) timedDelivery_; } return com.aliyun.openservices.ons.shaded.com.google.protobuf.Timestamp.getDefaultInstance(); } } /** *
     * Time-point at which broker delivers to clients.
     * 
* * .google.protobuf.Timestamp delivery_timestamp = 11; */ private com.aliyun.openservices.ons.shaded.com.google.protobuf.SingleFieldBuilderV3< com.aliyun.openservices.ons.shaded.com.google.protobuf.Timestamp, com.aliyun.openservices.ons.shaded.com.google.protobuf.Timestamp.Builder, com.aliyun.openservices.ons.shaded.com.google.protobuf.TimestampOrBuilder> getDeliveryTimestampFieldBuilder() { if (deliveryTimestampBuilder_ == null) { if (!(timedDeliveryCase_ == 11)) { timedDelivery_ = com.aliyun.openservices.ons.shaded.com.google.protobuf.Timestamp.getDefaultInstance(); } deliveryTimestampBuilder_ = new com.aliyun.openservices.ons.shaded.com.google.protobuf.SingleFieldBuilderV3< com.aliyun.openservices.ons.shaded.com.google.protobuf.Timestamp, com.aliyun.openservices.ons.shaded.com.google.protobuf.Timestamp.Builder, com.aliyun.openservices.ons.shaded.com.google.protobuf.TimestampOrBuilder>( (com.aliyun.openservices.ons.shaded.com.google.protobuf.Timestamp) timedDelivery_, getParentForChildren(), isClean()); timedDelivery_ = null; } timedDeliveryCase_ = 11; onChanged();; return deliveryTimestampBuilder_; } /** *
     * Level-based delay strategy.
     * 
* * int32 delay_level = 12; * @return The delayLevel. */ public int getDelayLevel() { if (timedDeliveryCase_ == 12) { return (java.lang.Integer) timedDelivery_; } return 0; } /** *
     * Level-based delay strategy.
     * 
* * int32 delay_level = 12; * @param value The delayLevel to set. * @return This builder for chaining. */ public Builder setDelayLevel(int value) { timedDeliveryCase_ = 12; timedDelivery_ = value; onChanged(); return this; } /** *
     * Level-based delay strategy.
     * 
* * int32 delay_level = 12; * @return This builder for chaining. */ public Builder clearDelayLevel() { if (timedDeliveryCase_ == 12) { timedDeliveryCase_ = 0; timedDelivery_ = null; onChanged(); } return this; } private java.lang.Object receiptHandle_ = ""; /** *
     * If a message is acquired by way of POP, this field holds the receipt.
     * Clients use the receipt to acknowledge or negatively acknowledge the
     * message.
     * 
* * string receipt_handle = 13; * @return The receiptHandle. */ public java.lang.String getReceiptHandle() { java.lang.Object ref = receiptHandle_; 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(); receiptHandle_ = s; return s; } else { return (java.lang.String) ref; } } /** *
     * If a message is acquired by way of POP, this field holds the receipt.
     * Clients use the receipt to acknowledge or negatively acknowledge the
     * message.
     * 
* * string receipt_handle = 13; * @return The bytes for receiptHandle. */ public com.aliyun.openservices.ons.shaded.com.google.protobuf.ByteString getReceiptHandleBytes() { java.lang.Object ref = receiptHandle_; 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); receiptHandle_ = b; return b; } else { return (com.aliyun.openservices.ons.shaded.com.google.protobuf.ByteString) ref; } } /** *
     * If a message is acquired by way of POP, this field holds the receipt.
     * Clients use the receipt to acknowledge or negatively acknowledge the
     * message.
     * 
* * string receipt_handle = 13; * @param value The receiptHandle to set. * @return This builder for chaining. */ public Builder setReceiptHandle( java.lang.String value) { if (value == null) { throw new NullPointerException(); } receiptHandle_ = value; onChanged(); return this; } /** *
     * If a message is acquired by way of POP, this field holds the receipt.
     * Clients use the receipt to acknowledge or negatively acknowledge the
     * message.
     * 
* * string receipt_handle = 13; * @return This builder for chaining. */ public Builder clearReceiptHandle() { receiptHandle_ = getDefaultInstance().getReceiptHandle(); onChanged(); return this; } /** *
     * If a message is acquired by way of POP, this field holds the receipt.
     * Clients use the receipt to acknowledge or negatively acknowledge the
     * message.
     * 
* * string receipt_handle = 13; * @param value The bytes for receiptHandle to set. * @return This builder for chaining. */ public Builder setReceiptHandleBytes( com.aliyun.openservices.ons.shaded.com.google.protobuf.ByteString value) { if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); receiptHandle_ = value; onChanged(); return this; } private int partitionId_ ; /** *
     * Partition identifier in which a message is physically stored.
     * 
* * int32 partition_id = 14; * @return The partitionId. */ @java.lang.Override public int getPartitionId() { return partitionId_; } /** *
     * Partition identifier in which a message is physically stored.
     * 
* * int32 partition_id = 14; * @param value The partitionId to set. * @return This builder for chaining. */ public Builder setPartitionId(int value) { partitionId_ = value; onChanged(); return this; } /** *
     * Partition identifier in which a message is physically stored.
     * 
* * int32 partition_id = 14; * @return This builder for chaining. */ public Builder clearPartitionId() { partitionId_ = 0; onChanged(); return this; } private long partitionOffset_ ; /** *
     * Partition offset at which a message is stored.
     * 
* * int64 partition_offset = 15; * @return The partitionOffset. */ @java.lang.Override public long getPartitionOffset() { return partitionOffset_; } /** *
     * Partition offset at which a message is stored.
     * 
* * int64 partition_offset = 15; * @param value The partitionOffset to set. * @return This builder for chaining. */ public Builder setPartitionOffset(long value) { partitionOffset_ = value; onChanged(); return this; } /** *
     * Partition offset at which a message is stored.
     * 
* * int64 partition_offset = 15; * @return This builder for chaining. */ public Builder clearPartitionOffset() { partitionOffset_ = 0L; onChanged(); return this; } private com.aliyun.openservices.ons.shaded.com.google.protobuf.Duration invisiblePeriod_; private com.aliyun.openservices.ons.shaded.com.google.protobuf.SingleFieldBuilderV3< com.aliyun.openservices.ons.shaded.com.google.protobuf.Duration, com.aliyun.openservices.ons.shaded.com.google.protobuf.Duration.Builder, com.aliyun.openservices.ons.shaded.com.google.protobuf.DurationOrBuilder> invisiblePeriodBuilder_; /** *
     * Period of time servers would remain invisible once a message is acquired.
     * 
* * .google.protobuf.Duration invisible_period = 16; * @return Whether the invisiblePeriod field is set. */ public boolean hasInvisiblePeriod() { return invisiblePeriodBuilder_ != null || invisiblePeriod_ != null; } /** *
     * Period of time servers would remain invisible once a message is acquired.
     * 
* * .google.protobuf.Duration invisible_period = 16; * @return The invisiblePeriod. */ public com.aliyun.openservices.ons.shaded.com.google.protobuf.Duration getInvisiblePeriod() { if (invisiblePeriodBuilder_ == null) { return invisiblePeriod_ == null ? com.aliyun.openservices.ons.shaded.com.google.protobuf.Duration.getDefaultInstance() : invisiblePeriod_; } else { return invisiblePeriodBuilder_.getMessage(); } } /** *
     * Period of time servers would remain invisible once a message is acquired.
     * 
* * .google.protobuf.Duration invisible_period = 16; */ public Builder setInvisiblePeriod(com.aliyun.openservices.ons.shaded.com.google.protobuf.Duration value) { if (invisiblePeriodBuilder_ == null) { if (value == null) { throw new NullPointerException(); } invisiblePeriod_ = value; onChanged(); } else { invisiblePeriodBuilder_.setMessage(value); } return this; } /** *
     * Period of time servers would remain invisible once a message is acquired.
     * 
* * .google.protobuf.Duration invisible_period = 16; */ public Builder setInvisiblePeriod( com.aliyun.openservices.ons.shaded.com.google.protobuf.Duration.Builder builderForValue) { if (invisiblePeriodBuilder_ == null) { invisiblePeriod_ = builderForValue.build(); onChanged(); } else { invisiblePeriodBuilder_.setMessage(builderForValue.build()); } return this; } /** *
     * Period of time servers would remain invisible once a message is acquired.
     * 
* * .google.protobuf.Duration invisible_period = 16; */ public Builder mergeInvisiblePeriod(com.aliyun.openservices.ons.shaded.com.google.protobuf.Duration value) { if (invisiblePeriodBuilder_ == null) { if (invisiblePeriod_ != null) { invisiblePeriod_ = com.aliyun.openservices.ons.shaded.com.google.protobuf.Duration.newBuilder(invisiblePeriod_).mergeFrom(value).buildPartial(); } else { invisiblePeriod_ = value; } onChanged(); } else { invisiblePeriodBuilder_.mergeFrom(value); } return this; } /** *
     * Period of time servers would remain invisible once a message is acquired.
     * 
* * .google.protobuf.Duration invisible_period = 16; */ public Builder clearInvisiblePeriod() { if (invisiblePeriodBuilder_ == null) { invisiblePeriod_ = null; onChanged(); } else { invisiblePeriod_ = null; invisiblePeriodBuilder_ = null; } return this; } /** *
     * Period of time servers would remain invisible once a message is acquired.
     * 
* * .google.protobuf.Duration invisible_period = 16; */ public com.aliyun.openservices.ons.shaded.com.google.protobuf.Duration.Builder getInvisiblePeriodBuilder() { onChanged(); return getInvisiblePeriodFieldBuilder().getBuilder(); } /** *
     * Period of time servers would remain invisible once a message is acquired.
     * 
* * .google.protobuf.Duration invisible_period = 16; */ public com.aliyun.openservices.ons.shaded.com.google.protobuf.DurationOrBuilder getInvisiblePeriodOrBuilder() { if (invisiblePeriodBuilder_ != null) { return invisiblePeriodBuilder_.getMessageOrBuilder(); } else { return invisiblePeriod_ == null ? com.aliyun.openservices.ons.shaded.com.google.protobuf.Duration.getDefaultInstance() : invisiblePeriod_; } } /** *
     * Period of time servers would remain invisible once a message is acquired.
     * 
* * .google.protobuf.Duration invisible_period = 16; */ private com.aliyun.openservices.ons.shaded.com.google.protobuf.SingleFieldBuilderV3< com.aliyun.openservices.ons.shaded.com.google.protobuf.Duration, com.aliyun.openservices.ons.shaded.com.google.protobuf.Duration.Builder, com.aliyun.openservices.ons.shaded.com.google.protobuf.DurationOrBuilder> getInvisiblePeriodFieldBuilder() { if (invisiblePeriodBuilder_ == null) { invisiblePeriodBuilder_ = new com.aliyun.openservices.ons.shaded.com.google.protobuf.SingleFieldBuilderV3< com.aliyun.openservices.ons.shaded.com.google.protobuf.Duration, com.aliyun.openservices.ons.shaded.com.google.protobuf.Duration.Builder, com.aliyun.openservices.ons.shaded.com.google.protobuf.DurationOrBuilder>( getInvisiblePeriod(), getParentForChildren(), isClean()); invisiblePeriod_ = null; } return invisiblePeriodBuilder_; } private int deliveryAttempt_ ; /** *
     * Business code may failed to process messages for the moment. Hence, clients
     * may request servers to deliver them again using certain back-off strategy,
     * the attempt is 1 not 0 if message is delivered first time.
     * 
* * int32 delivery_attempt = 17; * @return The deliveryAttempt. */ @java.lang.Override public int getDeliveryAttempt() { return deliveryAttempt_; } /** *
     * Business code may failed to process messages for the moment. Hence, clients
     * may request servers to deliver them again using certain back-off strategy,
     * the attempt is 1 not 0 if message is delivered first time.
     * 
* * int32 delivery_attempt = 17; * @param value The deliveryAttempt to set. * @return This builder for chaining. */ public Builder setDeliveryAttempt(int value) { deliveryAttempt_ = value; onChanged(); return this; } /** *
     * Business code may failed to process messages for the moment. Hence, clients
     * may request servers to deliver them again using certain back-off strategy,
     * the attempt is 1 not 0 if message is delivered first time.
     * 
* * int32 delivery_attempt = 17; * @return This builder for chaining. */ public Builder clearDeliveryAttempt() { deliveryAttempt_ = 0; onChanged(); return this; } private apache.rocketmq.v1.Resource producerGroup_; private com.aliyun.openservices.ons.shaded.com.google.protobuf.SingleFieldBuilderV3< apache.rocketmq.v1.Resource, apache.rocketmq.v1.Resource.Builder, apache.rocketmq.v1.ResourceOrBuilder> producerGroupBuilder_; /** *
     * Message producer load-balance group if applicable.
     * 
* * .apache.rocketmq.v1.Resource producer_group = 18; * @return Whether the producerGroup field is set. */ public boolean hasProducerGroup() { return producerGroupBuilder_ != null || producerGroup_ != null; } /** *
     * Message producer load-balance group if applicable.
     * 
* * .apache.rocketmq.v1.Resource producer_group = 18; * @return The producerGroup. */ public apache.rocketmq.v1.Resource getProducerGroup() { if (producerGroupBuilder_ == null) { return producerGroup_ == null ? apache.rocketmq.v1.Resource.getDefaultInstance() : producerGroup_; } else { return producerGroupBuilder_.getMessage(); } } /** *
     * Message producer load-balance group if applicable.
     * 
* * .apache.rocketmq.v1.Resource producer_group = 18; */ public Builder setProducerGroup(apache.rocketmq.v1.Resource value) { if (producerGroupBuilder_ == null) { if (value == null) { throw new NullPointerException(); } producerGroup_ = value; onChanged(); } else { producerGroupBuilder_.setMessage(value); } return this; } /** *
     * Message producer load-balance group if applicable.
     * 
* * .apache.rocketmq.v1.Resource producer_group = 18; */ public Builder setProducerGroup( apache.rocketmq.v1.Resource.Builder builderForValue) { if (producerGroupBuilder_ == null) { producerGroup_ = builderForValue.build(); onChanged(); } else { producerGroupBuilder_.setMessage(builderForValue.build()); } return this; } /** *
     * Message producer load-balance group if applicable.
     * 
* * .apache.rocketmq.v1.Resource producer_group = 18; */ public Builder mergeProducerGroup(apache.rocketmq.v1.Resource value) { if (producerGroupBuilder_ == null) { if (producerGroup_ != null) { producerGroup_ = apache.rocketmq.v1.Resource.newBuilder(producerGroup_).mergeFrom(value).buildPartial(); } else { producerGroup_ = value; } onChanged(); } else { producerGroupBuilder_.mergeFrom(value); } return this; } /** *
     * Message producer load-balance group if applicable.
     * 
* * .apache.rocketmq.v1.Resource producer_group = 18; */ public Builder clearProducerGroup() { if (producerGroupBuilder_ == null) { producerGroup_ = null; onChanged(); } else { producerGroup_ = null; producerGroupBuilder_ = null; } return this; } /** *
     * Message producer load-balance group if applicable.
     * 
* * .apache.rocketmq.v1.Resource producer_group = 18; */ public apache.rocketmq.v1.Resource.Builder getProducerGroupBuilder() { onChanged(); return getProducerGroupFieldBuilder().getBuilder(); } /** *
     * Message producer load-balance group if applicable.
     * 
* * .apache.rocketmq.v1.Resource producer_group = 18; */ public apache.rocketmq.v1.ResourceOrBuilder getProducerGroupOrBuilder() { if (producerGroupBuilder_ != null) { return producerGroupBuilder_.getMessageOrBuilder(); } else { return producerGroup_ == null ? apache.rocketmq.v1.Resource.getDefaultInstance() : producerGroup_; } } /** *
     * Message producer load-balance group if applicable.
     * 
* * .apache.rocketmq.v1.Resource producer_group = 18; */ private com.aliyun.openservices.ons.shaded.com.google.protobuf.SingleFieldBuilderV3< apache.rocketmq.v1.Resource, apache.rocketmq.v1.Resource.Builder, apache.rocketmq.v1.ResourceOrBuilder> getProducerGroupFieldBuilder() { if (producerGroupBuilder_ == null) { producerGroupBuilder_ = new com.aliyun.openservices.ons.shaded.com.google.protobuf.SingleFieldBuilderV3< apache.rocketmq.v1.Resource, apache.rocketmq.v1.Resource.Builder, apache.rocketmq.v1.ResourceOrBuilder>( getProducerGroup(), getParentForChildren(), isClean()); producerGroup_ = null; } return producerGroupBuilder_; } private java.lang.Object messageGroup_ = ""; /** * string message_group = 19; * @return The messageGroup. */ public java.lang.String getMessageGroup() { java.lang.Object ref = messageGroup_; 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(); messageGroup_ = s; return s; } else { return (java.lang.String) ref; } } /** * string message_group = 19; * @return The bytes for messageGroup. */ public com.aliyun.openservices.ons.shaded.com.google.protobuf.ByteString getMessageGroupBytes() { java.lang.Object ref = messageGroup_; 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); messageGroup_ = b; return b; } else { return (com.aliyun.openservices.ons.shaded.com.google.protobuf.ByteString) ref; } } /** * string message_group = 19; * @param value The messageGroup to set. * @return This builder for chaining. */ public Builder setMessageGroup( java.lang.String value) { if (value == null) { throw new NullPointerException(); } messageGroup_ = value; onChanged(); return this; } /** * string message_group = 19; * @return This builder for chaining. */ public Builder clearMessageGroup() { messageGroup_ = getDefaultInstance().getMessageGroup(); onChanged(); return this; } /** * string message_group = 19; * @param value The bytes for messageGroup to set. * @return This builder for chaining. */ public Builder setMessageGroupBytes( com.aliyun.openservices.ons.shaded.com.google.protobuf.ByteString value) { if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); messageGroup_ = value; onChanged(); return this; } private java.lang.Object traceContext_ = ""; /** *
     * Trace context.
     * 
* * string trace_context = 20; * @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; } } /** *
     * Trace context.
     * 
* * string trace_context = 20; * @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; } } /** *
     * Trace context.
     * 
* * string trace_context = 20; * @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; } /** *
     * Trace context.
     * 
* * string trace_context = 20; * @return This builder for chaining. */ public Builder clearTraceContext() { traceContext_ = getDefaultInstance().getTraceContext(); onChanged(); return this; } /** *
     * Trace context.
     * 
* * string trace_context = 20; * @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; } private com.aliyun.openservices.ons.shaded.com.google.protobuf.Duration orphanedTransactionRecoveryPeriod_; private com.aliyun.openservices.ons.shaded.com.google.protobuf.SingleFieldBuilderV3< com.aliyun.openservices.ons.shaded.com.google.protobuf.Duration, com.aliyun.openservices.ons.shaded.com.google.protobuf.Duration.Builder, com.aliyun.openservices.ons.shaded.com.google.protobuf.DurationOrBuilder> orphanedTransactionRecoveryPeriodBuilder_; /** *
     * Delay time of first recover orphaned transaction request from server.
     * 
* * .google.protobuf.Duration orphaned_transaction_recovery_period = 21; * @return Whether the orphanedTransactionRecoveryPeriod field is set. */ public boolean hasOrphanedTransactionRecoveryPeriod() { return orphanedTransactionRecoveryPeriodBuilder_ != null || orphanedTransactionRecoveryPeriod_ != null; } /** *
     * Delay time of first recover orphaned transaction request from server.
     * 
* * .google.protobuf.Duration orphaned_transaction_recovery_period = 21; * @return The orphanedTransactionRecoveryPeriod. */ public com.aliyun.openservices.ons.shaded.com.google.protobuf.Duration getOrphanedTransactionRecoveryPeriod() { if (orphanedTransactionRecoveryPeriodBuilder_ == null) { return orphanedTransactionRecoveryPeriod_ == null ? com.aliyun.openservices.ons.shaded.com.google.protobuf.Duration.getDefaultInstance() : orphanedTransactionRecoveryPeriod_; } else { return orphanedTransactionRecoveryPeriodBuilder_.getMessage(); } } /** *
     * Delay time of first recover orphaned transaction request from server.
     * 
* * .google.protobuf.Duration orphaned_transaction_recovery_period = 21; */ public Builder setOrphanedTransactionRecoveryPeriod(com.aliyun.openservices.ons.shaded.com.google.protobuf.Duration value) { if (orphanedTransactionRecoveryPeriodBuilder_ == null) { if (value == null) { throw new NullPointerException(); } orphanedTransactionRecoveryPeriod_ = value; onChanged(); } else { orphanedTransactionRecoveryPeriodBuilder_.setMessage(value); } return this; } /** *
     * Delay time of first recover orphaned transaction request from server.
     * 
* * .google.protobuf.Duration orphaned_transaction_recovery_period = 21; */ public Builder setOrphanedTransactionRecoveryPeriod( com.aliyun.openservices.ons.shaded.com.google.protobuf.Duration.Builder builderForValue) { if (orphanedTransactionRecoveryPeriodBuilder_ == null) { orphanedTransactionRecoveryPeriod_ = builderForValue.build(); onChanged(); } else { orphanedTransactionRecoveryPeriodBuilder_.setMessage(builderForValue.build()); } return this; } /** *
     * Delay time of first recover orphaned transaction request from server.
     * 
* * .google.protobuf.Duration orphaned_transaction_recovery_period = 21; */ public Builder mergeOrphanedTransactionRecoveryPeriod(com.aliyun.openservices.ons.shaded.com.google.protobuf.Duration value) { if (orphanedTransactionRecoveryPeriodBuilder_ == null) { if (orphanedTransactionRecoveryPeriod_ != null) { orphanedTransactionRecoveryPeriod_ = com.aliyun.openservices.ons.shaded.com.google.protobuf.Duration.newBuilder(orphanedTransactionRecoveryPeriod_).mergeFrom(value).buildPartial(); } else { orphanedTransactionRecoveryPeriod_ = value; } onChanged(); } else { orphanedTransactionRecoveryPeriodBuilder_.mergeFrom(value); } return this; } /** *
     * Delay time of first recover orphaned transaction request from server.
     * 
* * .google.protobuf.Duration orphaned_transaction_recovery_period = 21; */ public Builder clearOrphanedTransactionRecoveryPeriod() { if (orphanedTransactionRecoveryPeriodBuilder_ == null) { orphanedTransactionRecoveryPeriod_ = null; onChanged(); } else { orphanedTransactionRecoveryPeriod_ = null; orphanedTransactionRecoveryPeriodBuilder_ = null; } return this; } /** *
     * Delay time of first recover orphaned transaction request from server.
     * 
* * .google.protobuf.Duration orphaned_transaction_recovery_period = 21; */ public com.aliyun.openservices.ons.shaded.com.google.protobuf.Duration.Builder getOrphanedTransactionRecoveryPeriodBuilder() { onChanged(); return getOrphanedTransactionRecoveryPeriodFieldBuilder().getBuilder(); } /** *
     * Delay time of first recover orphaned transaction request from server.
     * 
* * .google.protobuf.Duration orphaned_transaction_recovery_period = 21; */ public com.aliyun.openservices.ons.shaded.com.google.protobuf.DurationOrBuilder getOrphanedTransactionRecoveryPeriodOrBuilder() { if (orphanedTransactionRecoveryPeriodBuilder_ != null) { return orphanedTransactionRecoveryPeriodBuilder_.getMessageOrBuilder(); } else { return orphanedTransactionRecoveryPeriod_ == null ? com.aliyun.openservices.ons.shaded.com.google.protobuf.Duration.getDefaultInstance() : orphanedTransactionRecoveryPeriod_; } } /** *
     * Delay time of first recover orphaned transaction request from server.
     * 
* * .google.protobuf.Duration orphaned_transaction_recovery_period = 21; */ private com.aliyun.openservices.ons.shaded.com.google.protobuf.SingleFieldBuilderV3< com.aliyun.openservices.ons.shaded.com.google.protobuf.Duration, com.aliyun.openservices.ons.shaded.com.google.protobuf.Duration.Builder, com.aliyun.openservices.ons.shaded.com.google.protobuf.DurationOrBuilder> getOrphanedTransactionRecoveryPeriodFieldBuilder() { if (orphanedTransactionRecoveryPeriodBuilder_ == null) { orphanedTransactionRecoveryPeriodBuilder_ = new com.aliyun.openservices.ons.shaded.com.google.protobuf.SingleFieldBuilderV3< com.aliyun.openservices.ons.shaded.com.google.protobuf.Duration, com.aliyun.openservices.ons.shaded.com.google.protobuf.Duration.Builder, com.aliyun.openservices.ons.shaded.com.google.protobuf.DurationOrBuilder>( getOrphanedTransactionRecoveryPeriod(), getParentForChildren(), isClean()); orphanedTransactionRecoveryPeriod_ = null; } return orphanedTransactionRecoveryPeriodBuilder_; } @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.SystemAttribute) } // @@protoc_insertion_point(class_scope:apache.rocketmq.v1.SystemAttribute) private static final apache.rocketmq.v1.SystemAttribute DEFAULT_INSTANCE; static { DEFAULT_INSTANCE = new apache.rocketmq.v1.SystemAttribute(); } public static apache.rocketmq.v1.SystemAttribute 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 SystemAttribute 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 SystemAttribute(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.SystemAttribute getDefaultInstanceForType() { return DEFAULT_INSTANCE; } }




© 2015 - 2024 Weber Informatics LLC | Privacy Policy