类 SystemProperties

  • 所有已实现的接口:
    SystemPropertiesOrBuilder, com.google.protobuf.Message, com.google.protobuf.MessageLite, com.google.protobuf.MessageLiteOrBuilder, com.google.protobuf.MessageOrBuilder, Serializable

    public final class SystemProperties
    extends com.google.protobuf.GeneratedMessageV3
    implements SystemPropertiesOrBuilder
    Protobuf type apache.rocketmq.v2.SystemProperties
    另请参阅:
    序列化表格
    • 字段详细资料

      • TAG_FIELD_NUMBER

        public static final int TAG_FIELD_NUMBER
        另请参阅:
        常量字段值
      • KEYS_FIELD_NUMBER

        public static final int KEYS_FIELD_NUMBER
        另请参阅:
        常量字段值
      • MESSAGE_ID_FIELD_NUMBER

        public static final int MESSAGE_ID_FIELD_NUMBER
        另请参阅:
        常量字段值
      • BODY_DIGEST_FIELD_NUMBER

        public static final int BODY_DIGEST_FIELD_NUMBER
        另请参阅:
        常量字段值
      • BODY_ENCODING_FIELD_NUMBER

        public static final int BODY_ENCODING_FIELD_NUMBER
        另请参阅:
        常量字段值
      • MESSAGE_TYPE_FIELD_NUMBER

        public static final int MESSAGE_TYPE_FIELD_NUMBER
        另请参阅:
        常量字段值
      • BORN_TIMESTAMP_FIELD_NUMBER

        public static final int BORN_TIMESTAMP_FIELD_NUMBER
        另请参阅:
        常量字段值
      • BORN_HOST_FIELD_NUMBER

        public static final int BORN_HOST_FIELD_NUMBER
        另请参阅:
        常量字段值
      • STORE_TIMESTAMP_FIELD_NUMBER

        public static final int STORE_TIMESTAMP_FIELD_NUMBER
        另请参阅:
        常量字段值
      • STORE_HOST_FIELD_NUMBER

        public static final int STORE_HOST_FIELD_NUMBER
        另请参阅:
        常量字段值
      • DELIVERY_TIMESTAMP_FIELD_NUMBER

        public static final int DELIVERY_TIMESTAMP_FIELD_NUMBER
        另请参阅:
        常量字段值
      • RECEIPT_HANDLE_FIELD_NUMBER

        public static final int RECEIPT_HANDLE_FIELD_NUMBER
        另请参阅:
        常量字段值
      • QUEUE_ID_FIELD_NUMBER

        public static final int QUEUE_ID_FIELD_NUMBER
        另请参阅:
        常量字段值
      • QUEUE_OFFSET_FIELD_NUMBER

        public static final int QUEUE_OFFSET_FIELD_NUMBER
        另请参阅:
        常量字段值
      • INVISIBLE_DURATION_FIELD_NUMBER

        public static final int INVISIBLE_DURATION_FIELD_NUMBER
        另请参阅:
        常量字段值
      • DELIVERY_ATTEMPT_FIELD_NUMBER

        public static final int DELIVERY_ATTEMPT_FIELD_NUMBER
        另请参阅:
        常量字段值
      • MESSAGE_GROUP_FIELD_NUMBER

        public static final int MESSAGE_GROUP_FIELD_NUMBER
        另请参阅:
        常量字段值
      • TRACE_CONTEXT_FIELD_NUMBER

        public static final int TRACE_CONTEXT_FIELD_NUMBER
        另请参阅:
        常量字段值
      • ORPHANED_TRANSACTION_RECOVERY_DURATION_FIELD_NUMBER

        public static final int ORPHANED_TRANSACTION_RECOVERY_DURATION_FIELD_NUMBER
        另请参阅:
        常量字段值
    • 方法详细资料

      • newInstance

        protected Object newInstance​(com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter unused)
        覆盖:
        newInstance 在类中 com.google.protobuf.GeneratedMessageV3
      • getUnknownFields

        public final com.google.protobuf.UnknownFieldSet getUnknownFields()
        指定者:
        getUnknownFields 在接口中 com.google.protobuf.MessageOrBuilder
        覆盖:
        getUnknownFields 在类中 com.google.protobuf.GeneratedMessageV3
      • getDescriptor

        public static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
      • internalGetFieldAccessorTable

        protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
        指定者:
        internalGetFieldAccessorTable 在类中 com.google.protobuf.GeneratedMessageV3
      • hasTag

        public boolean hasTag()
         Tag, which is optional.
         
        optional string tag = 1;
        指定者:
        hasTag 在接口中 SystemPropertiesOrBuilder
        返回:
        Whether the tag field is set.
      • getTagBytes

        public com.google.protobuf.ByteString getTagBytes()
         Tag, which is optional.
         
        optional string tag = 1;
        指定者:
        getTagBytes 在接口中 SystemPropertiesOrBuilder
        返回:
        The bytes for tag.
      • getKeysList

        public com.google.protobuf.ProtocolStringList getKeysList()
         Message keys
         
        repeated string keys = 2;
        指定者:
        getKeysList 在接口中 SystemPropertiesOrBuilder
        返回:
        A list containing the keys.
      • getKeys

        public String getKeys​(int index)
         Message keys
         
        repeated string keys = 2;
        指定者:
        getKeys 在接口中 SystemPropertiesOrBuilder
        参数:
        index - The index of the element to return.
        返回:
        The keys at the given index.
      • getKeysBytes

        public com.google.protobuf.ByteString getKeysBytes​(int index)
         Message keys
         
        repeated string keys = 2;
        指定者:
        getKeysBytes 在接口中 SystemPropertiesOrBuilder
        参数:
        index - The index of the value to return.
        返回:
        The bytes of the keys at the given index.
      • getMessageId

        public String getMessageId()
         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;
        指定者:
        getMessageId 在接口中 SystemPropertiesOrBuilder
        返回:
        The messageId.
      • getMessageIdBytes

        public com.google.protobuf.ByteString getMessageIdBytes()
         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;
        指定者:
        getMessageIdBytes 在接口中 SystemPropertiesOrBuilder
        返回:
        The bytes for messageId.
      • hasBodyDigest

        public boolean hasBodyDigest()
         Message body digest
         
        .apache.rocketmq.v2.Digest body_digest = 4;
        指定者:
        hasBodyDigest 在接口中 SystemPropertiesOrBuilder
        返回:
        Whether the bodyDigest field is set.
      • getBodyEncodingValue

        public int getBodyEncodingValue()
         Message body encoding. Candidate options are identity, gzip, snappy etc.
         
        .apache.rocketmq.v2.Encoding body_encoding = 5;
        指定者:
        getBodyEncodingValue 在接口中 SystemPropertiesOrBuilder
        返回:
        The enum numeric value on the wire for bodyEncoding.
      • getBodyEncoding

        public Encoding getBodyEncoding()
         Message body encoding. Candidate options are identity, gzip, snappy etc.
         
        .apache.rocketmq.v2.Encoding body_encoding = 5;
        指定者:
        getBodyEncoding 在接口中 SystemPropertiesOrBuilder
        返回:
        The bodyEncoding.
      • getMessageTypeValue

        public int getMessageTypeValue()
         Message type, normal, FIFO or transactional.
         
        .apache.rocketmq.v2.MessageType message_type = 6;
        指定者:
        getMessageTypeValue 在接口中 SystemPropertiesOrBuilder
        返回:
        The enum numeric value on the wire for messageType.
      • hasBornTimestamp

        public boolean hasBornTimestamp()
         Message born time-point.
         
        .google.protobuf.Timestamp born_timestamp = 7;
        指定者:
        hasBornTimestamp 在接口中 SystemPropertiesOrBuilder
        返回:
        Whether the bornTimestamp field is set.
      • getBornTimestamp

        public com.google.protobuf.Timestamp getBornTimestamp()
         Message born time-point.
         
        .google.protobuf.Timestamp born_timestamp = 7;
        指定者:
        getBornTimestamp 在接口中 SystemPropertiesOrBuilder
        返回:
        The bornTimestamp.
      • getBornTimestampOrBuilder

        public com.google.protobuf.TimestampOrBuilder getBornTimestampOrBuilder()
         Message born time-point.
         
        .google.protobuf.Timestamp born_timestamp = 7;
        指定者:
        getBornTimestampOrBuilder 在接口中 SystemPropertiesOrBuilder
      • getBornHost

        public String getBornHost()
         Message born host. Valid options are IPv4, IPv6 or client host domain name.
         
        string born_host = 8;
        指定者:
        getBornHost 在接口中 SystemPropertiesOrBuilder
        返回:
        The bornHost.
      • getBornHostBytes

        public com.google.protobuf.ByteString getBornHostBytes()
         Message born host. Valid options are IPv4, IPv6 or client host domain name.
         
        string born_host = 8;
        指定者:
        getBornHostBytes 在接口中 SystemPropertiesOrBuilder
        返回:
        The bytes for bornHost.
      • hasStoreTimestamp

        public boolean hasStoreTimestamp()
         Time-point at which the message is stored in the broker, which is absent
         for message publishing.
         
        optional .google.protobuf.Timestamp store_timestamp = 9;
        指定者:
        hasStoreTimestamp 在接口中 SystemPropertiesOrBuilder
        返回:
        Whether the storeTimestamp field is set.
      • getStoreTimestamp

        public com.google.protobuf.Timestamp getStoreTimestamp()
         Time-point at which the message is stored in the broker, which is absent
         for message publishing.
         
        optional .google.protobuf.Timestamp store_timestamp = 9;
        指定者:
        getStoreTimestamp 在接口中 SystemPropertiesOrBuilder
        返回:
        The storeTimestamp.
      • getStoreTimestampOrBuilder

        public com.google.protobuf.TimestampOrBuilder getStoreTimestampOrBuilder()
         Time-point at which the message is stored in the broker, which is absent
         for message publishing.
         
        optional .google.protobuf.Timestamp store_timestamp = 9;
        指定者:
        getStoreTimestampOrBuilder 在接口中 SystemPropertiesOrBuilder
      • getStoreHost

        public String getStoreHost()
         The broker that stores this message. It may be broker name, IP or arbitrary
         identifier that uniquely identify the server.
         
        string store_host = 10;
        指定者:
        getStoreHost 在接口中 SystemPropertiesOrBuilder
        返回:
        The storeHost.
      • getStoreHostBytes

        public com.google.protobuf.ByteString getStoreHostBytes()
         The broker that stores this message. It may be broker name, IP or arbitrary
         identifier that uniquely identify the server.
         
        string store_host = 10;
        指定者:
        getStoreHostBytes 在接口中 SystemPropertiesOrBuilder
        返回:
        The bytes for storeHost.
      • hasDeliveryTimestamp

        public boolean hasDeliveryTimestamp()
         Time-point at which broker delivers to clients, which is optional.
         
        optional .google.protobuf.Timestamp delivery_timestamp = 11;
        指定者:
        hasDeliveryTimestamp 在接口中 SystemPropertiesOrBuilder
        返回:
        Whether the deliveryTimestamp field is set.
      • getDeliveryTimestamp

        public com.google.protobuf.Timestamp getDeliveryTimestamp()
         Time-point at which broker delivers to clients, which is optional.
         
        optional .google.protobuf.Timestamp delivery_timestamp = 11;
        指定者:
        getDeliveryTimestamp 在接口中 SystemPropertiesOrBuilder
        返回:
        The deliveryTimestamp.
      • getDeliveryTimestampOrBuilder

        public com.google.protobuf.TimestampOrBuilder getDeliveryTimestampOrBuilder()
         Time-point at which broker delivers to clients, which is optional.
         
        optional .google.protobuf.Timestamp delivery_timestamp = 11;
        指定者:
        getDeliveryTimestampOrBuilder 在接口中 SystemPropertiesOrBuilder
      • hasReceiptHandle

        public boolean hasReceiptHandle()
         If a message is acquired by way of POP, this field holds the receipt,
         which is absent for message publishing.
         Clients use the receipt to acknowledge or negatively acknowledge the
         message.
         
        optional string receipt_handle = 12;
        指定者:
        hasReceiptHandle 在接口中 SystemPropertiesOrBuilder
        返回:
        Whether the receiptHandle field is set.
      • getReceiptHandle

        public String getReceiptHandle()
         If a message is acquired by way of POP, this field holds the receipt,
         which is absent for message publishing.
         Clients use the receipt to acknowledge or negatively acknowledge the
         message.
         
        optional string receipt_handle = 12;
        指定者:
        getReceiptHandle 在接口中 SystemPropertiesOrBuilder
        返回:
        The receiptHandle.
      • getReceiptHandleBytes

        public com.google.protobuf.ByteString getReceiptHandleBytes()
         If a message is acquired by way of POP, this field holds the receipt,
         which is absent for message publishing.
         Clients use the receipt to acknowledge or negatively acknowledge the
         message.
         
        optional string receipt_handle = 12;
        指定者:
        getReceiptHandleBytes 在接口中 SystemPropertiesOrBuilder
        返回:
        The bytes for receiptHandle.
      • getQueueId

        public int getQueueId()
         Message queue identifier in which a message is physically stored.
         
        int32 queue_id = 13;
        指定者:
        getQueueId 在接口中 SystemPropertiesOrBuilder
        返回:
        The queueId.
      • hasQueueOffset

        public boolean hasQueueOffset()
         Message-queue offset at which a message is stored, which is absent for
         message publishing.
         
        optional int64 queue_offset = 14;
        指定者:
        hasQueueOffset 在接口中 SystemPropertiesOrBuilder
        返回:
        Whether the queueOffset field is set.
      • getQueueOffset

        public long getQueueOffset()
         Message-queue offset at which a message is stored, which is absent for
         message publishing.
         
        optional int64 queue_offset = 14;
        指定者:
        getQueueOffset 在接口中 SystemPropertiesOrBuilder
        返回:
        The queueOffset.
      • hasInvisibleDuration

        public boolean hasInvisibleDuration()
         Period of time servers would remain invisible once a message is acquired.
         
        optional .google.protobuf.Duration invisible_duration = 15;
        指定者:
        hasInvisibleDuration 在接口中 SystemPropertiesOrBuilder
        返回:
        Whether the invisibleDuration field is set.
      • getInvisibleDuration

        public com.google.protobuf.Duration getInvisibleDuration()
         Period of time servers would remain invisible once a message is acquired.
         
        optional .google.protobuf.Duration invisible_duration = 15;
        指定者:
        getInvisibleDuration 在接口中 SystemPropertiesOrBuilder
        返回:
        The invisibleDuration.
      • getInvisibleDurationOrBuilder

        public com.google.protobuf.DurationOrBuilder getInvisibleDurationOrBuilder()
         Period of time servers would remain invisible once a message is acquired.
         
        optional .google.protobuf.Duration invisible_duration = 15;
        指定者:
        getInvisibleDurationOrBuilder 在接口中 SystemPropertiesOrBuilder
      • hasDeliveryAttempt

        public boolean hasDeliveryAttempt()
         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, and it is absent
         for message publishing.
         
        optional int32 delivery_attempt = 16;
        指定者:
        hasDeliveryAttempt 在接口中 SystemPropertiesOrBuilder
        返回:
        Whether the deliveryAttempt field is set.
      • getDeliveryAttempt

        public int getDeliveryAttempt()
         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, and it is absent
         for message publishing.
         
        optional int32 delivery_attempt = 16;
        指定者:
        getDeliveryAttempt 在接口中 SystemPropertiesOrBuilder
        返回:
        The deliveryAttempt.
      • hasMessageGroup

        public boolean hasMessageGroup()
         Define the group name of message in the same topic, which is optional.
         
        optional string message_group = 17;
        指定者:
        hasMessageGroup 在接口中 SystemPropertiesOrBuilder
        返回:
        Whether the messageGroup field is set.
      • getMessageGroup

        public String getMessageGroup()
         Define the group name of message in the same topic, which is optional.
         
        optional string message_group = 17;
        指定者:
        getMessageGroup 在接口中 SystemPropertiesOrBuilder
        返回:
        The messageGroup.
      • getMessageGroupBytes

        public com.google.protobuf.ByteString getMessageGroupBytes()
         Define the group name of message in the same topic, which is optional.
         
        optional string message_group = 17;
        指定者:
        getMessageGroupBytes 在接口中 SystemPropertiesOrBuilder
        返回:
        The bytes for messageGroup.
      • hasTraceContext

        public boolean hasTraceContext()
         Trace context for each message, which is optional.
         
        optional string trace_context = 18;
        指定者:
        hasTraceContext 在接口中 SystemPropertiesOrBuilder
        返回:
        Whether the traceContext field is set.
      • getTraceContext

        public String getTraceContext()
         Trace context for each message, which is optional.
         
        optional string trace_context = 18;
        指定者:
        getTraceContext 在接口中 SystemPropertiesOrBuilder
        返回:
        The traceContext.
      • getTraceContextBytes

        public com.google.protobuf.ByteString getTraceContextBytes()
         Trace context for each message, which is optional.
         
        optional string trace_context = 18;
        指定者:
        getTraceContextBytes 在接口中 SystemPropertiesOrBuilder
        返回:
        The bytes for traceContext.
      • hasOrphanedTransactionRecoveryDuration

        public boolean hasOrphanedTransactionRecoveryDuration()
         If a transactional message stay unresolved for more than
         `transaction_orphan_threshold`, it would be regarded as an
         orphan. Servers that manages orphan messages would pick up
         a capable publisher to resolve
         
        optional .google.protobuf.Duration orphaned_transaction_recovery_duration = 19;
        指定者:
        hasOrphanedTransactionRecoveryDuration 在接口中 SystemPropertiesOrBuilder
        返回:
        Whether the orphanedTransactionRecoveryDuration field is set.
      • getOrphanedTransactionRecoveryDuration

        public com.google.protobuf.Duration getOrphanedTransactionRecoveryDuration()
         If a transactional message stay unresolved for more than
         `transaction_orphan_threshold`, it would be regarded as an
         orphan. Servers that manages orphan messages would pick up
         a capable publisher to resolve
         
        optional .google.protobuf.Duration orphaned_transaction_recovery_duration = 19;
        指定者:
        getOrphanedTransactionRecoveryDuration 在接口中 SystemPropertiesOrBuilder
        返回:
        The orphanedTransactionRecoveryDuration.
      • getOrphanedTransactionRecoveryDurationOrBuilder

        public com.google.protobuf.DurationOrBuilder getOrphanedTransactionRecoveryDurationOrBuilder()
         If a transactional message stay unresolved for more than
         `transaction_orphan_threshold`, it would be regarded as an
         orphan. Servers that manages orphan messages would pick up
         a capable publisher to resolve
         
        optional .google.protobuf.Duration orphaned_transaction_recovery_duration = 19;
        指定者:
        getOrphanedTransactionRecoveryDurationOrBuilder 在接口中 SystemPropertiesOrBuilder
      • isInitialized

        public final boolean isInitialized()
        指定者:
        isInitialized 在接口中 com.google.protobuf.MessageLiteOrBuilder
        覆盖:
        isInitialized 在类中 com.google.protobuf.GeneratedMessageV3
      • writeTo

        public void writeTo​(com.google.protobuf.CodedOutputStream output)
                     throws IOException
        指定者:
        writeTo 在接口中 com.google.protobuf.MessageLite
        覆盖:
        writeTo 在类中 com.google.protobuf.GeneratedMessageV3
        抛出:
        IOException
      • getSerializedSize

        public int getSerializedSize()
        指定者:
        getSerializedSize 在接口中 com.google.protobuf.MessageLite
        覆盖:
        getSerializedSize 在类中 com.google.protobuf.GeneratedMessageV3
      • equals

        public boolean equals​(Object obj)
        指定者:
        equals 在接口中 com.google.protobuf.Message
        覆盖:
        equals 在类中 com.google.protobuf.AbstractMessage
      • hashCode

        public int hashCode()
        指定者:
        hashCode 在接口中 com.google.protobuf.Message
        覆盖:
        hashCode 在类中 com.google.protobuf.AbstractMessage
      • parseFrom

        public static SystemProperties parseFrom​(ByteBuffer data)
                                          throws com.google.protobuf.InvalidProtocolBufferException
        抛出:
        com.google.protobuf.InvalidProtocolBufferException
      • parseFrom

        public static SystemProperties parseFrom​(ByteBuffer data,
                                                 com.google.protobuf.ExtensionRegistryLite extensionRegistry)
                                          throws com.google.protobuf.InvalidProtocolBufferException
        抛出:
        com.google.protobuf.InvalidProtocolBufferException
      • parseFrom

        public static SystemProperties parseFrom​(com.google.protobuf.ByteString data)
                                          throws com.google.protobuf.InvalidProtocolBufferException
        抛出:
        com.google.protobuf.InvalidProtocolBufferException
      • parseFrom

        public static SystemProperties parseFrom​(com.google.protobuf.ByteString data,
                                                 com.google.protobuf.ExtensionRegistryLite extensionRegistry)
                                          throws com.google.protobuf.InvalidProtocolBufferException
        抛出:
        com.google.protobuf.InvalidProtocolBufferException
      • parseFrom

        public static SystemProperties parseFrom​(byte[] data)
                                          throws com.google.protobuf.InvalidProtocolBufferException
        抛出:
        com.google.protobuf.InvalidProtocolBufferException
      • parseFrom

        public static SystemProperties parseFrom​(byte[] data,
                                                 com.google.protobuf.ExtensionRegistryLite extensionRegistry)
                                          throws com.google.protobuf.InvalidProtocolBufferException
        抛出:
        com.google.protobuf.InvalidProtocolBufferException
      • parseFrom

        public static SystemProperties parseFrom​(com.google.protobuf.CodedInputStream input,
                                                 com.google.protobuf.ExtensionRegistryLite extensionRegistry)
                                          throws IOException
        抛出:
        IOException
      • newBuilderForType

        public SystemProperties.Builder newBuilderForType()
        指定者:
        newBuilderForType 在接口中 com.google.protobuf.Message
        指定者:
        newBuilderForType 在接口中 com.google.protobuf.MessageLite
      • toBuilder

        public SystemProperties.Builder toBuilder()
        指定者:
        toBuilder 在接口中 com.google.protobuf.Message
        指定者:
        toBuilder 在接口中 com.google.protobuf.MessageLite
      • newBuilderForType

        protected SystemProperties.Builder newBuilderForType​(com.google.protobuf.GeneratedMessageV3.BuilderParent parent)
        指定者:
        newBuilderForType 在类中 com.google.protobuf.GeneratedMessageV3
      • getParserForType

        public com.google.protobuf.Parser<SystemProperties> getParserForType()
        指定者:
        getParserForType 在接口中 com.google.protobuf.Message
        指定者:
        getParserForType 在接口中 com.google.protobuf.MessageLite
        覆盖:
        getParserForType 在类中 com.google.protobuf.GeneratedMessageV3
      • getDefaultInstanceForType

        public SystemProperties getDefaultInstanceForType()
        指定者:
        getDefaultInstanceForType 在接口中 com.google.protobuf.MessageLiteOrBuilder
        指定者:
        getDefaultInstanceForType 在接口中 com.google.protobuf.MessageOrBuilder