trait PubsubMessageOrBuilder extends MessageOrBuilder
Ordering
- Alphabetic
- By Inheritance
Inherited
- PubsubMessageOrBuilder
- MessageOrBuilder
- MessageLiteOrBuilder
- AnyRef
- Any
- Hide All
- Show All
Visibility
- Public
- All
Abstract Value Members
-
abstract
def
containsAttributes(key: String): Boolean
Attributes for this message. If this field is empty, the message must contain non-empty data.
Attributes for this message. If this field is empty, the message must contain non-empty data.
map<string, string> attributes = 2;
-
abstract
def
findInitializationErrors(): List[String]
- Definition Classes
- MessageOrBuilder
-
abstract
def
getAllFields(): Map[FieldDescriptor, AnyRef]
- Definition Classes
- MessageOrBuilder
-
abstract
def
getAttributes(): Map[String, String]
Use
#getAttributesMap()
instead. -
abstract
def
getAttributesCount(): Int
Attributes for this message. If this field is empty, the message must contain non-empty data.
Attributes for this message. If this field is empty, the message must contain non-empty data.
map<string, string> attributes = 2;
-
abstract
def
getAttributesMap(): Map[String, String]
Attributes for this message. If this field is empty, the message must contain non-empty data.
Attributes for this message. If this field is empty, the message must contain non-empty data.
map<string, string> attributes = 2;
-
abstract
def
getAttributesOrDefault(key: String, defaultValue: String): String
Attributes for this message. If this field is empty, the message must contain non-empty data.
Attributes for this message. If this field is empty, the message must contain non-empty data.
map<string, string> attributes = 2;
-
abstract
def
getAttributesOrThrow(key: String): String
Attributes for this message. If this field is empty, the message must contain non-empty data.
Attributes for this message. If this field is empty, the message must contain non-empty data.
map<string, string> attributes = 2;
-
abstract
def
getData(): ByteString
The message data field. If this field is empty, the message must contain at least one attribute.
The message data field. If this field is empty, the message must contain at least one attribute.
bytes data = 1;
- returns
The data.
-
abstract
def
getDefaultInstanceForType(): Message
- Definition Classes
- MessageOrBuilder → MessageLiteOrBuilder
-
abstract
def
getDescriptorForType(): Descriptor
- Definition Classes
- MessageOrBuilder
-
abstract
def
getField(arg0: FieldDescriptor): AnyRef
- Definition Classes
- MessageOrBuilder
-
abstract
def
getInitializationErrorString(): String
- Definition Classes
- MessageOrBuilder
-
abstract
def
getMessageId(): String
ID of this message, assigned by the server when the message is published. Guaranteed to be unique within the topic. This value may be read by a subscriber that receives a `PubsubMessage` via a `Pull` call or a push delivery. It must not be populated by the publisher in a `Publish` call.
ID of this message, assigned by the server when the message is published. Guaranteed to be unique within the topic. This value may be read by a subscriber that receives a `PubsubMessage` via a `Pull` call or a push delivery. It must not be populated by the publisher in a `Publish` call.
string message_id = 3;
- returns
The messageId.
-
abstract
def
getMessageIdBytes(): ByteString
ID of this message, assigned by the server when the message is published. Guaranteed to be unique within the topic. This value may be read by a subscriber that receives a `PubsubMessage` via a `Pull` call or a push delivery. It must not be populated by the publisher in a `Publish` call.
ID of this message, assigned by the server when the message is published. Guaranteed to be unique within the topic. This value may be read by a subscriber that receives a `PubsubMessage` via a `Pull` call or a push delivery. It must not be populated by the publisher in a `Publish` call.
string message_id = 3;
- returns
The bytes for messageId.
-
abstract
def
getOneofFieldDescriptor(arg0: OneofDescriptor): FieldDescriptor
- Definition Classes
- MessageOrBuilder
-
abstract
def
getOrderingKey(): String
If non-empty, identifies related messages for which publish order should be respected. If a `Subscription` has `enable_message_ordering` set to `true`, messages published with the same non-empty `ordering_key` value will be delivered to subscribers in the order in which they are received by the Pub/Sub system. All `PubsubMessage`s published in a given `PublishRequest` must specify the same `ordering_key` value. <b>EXPERIMENTAL:</b> This feature is part of a closed alpha release. This API might be changed in backward-incompatible ways and is not recommended for production use. It is not subject to any SLA or deprecation policy.
If non-empty, identifies related messages for which publish order should be respected. If a `Subscription` has `enable_message_ordering` set to `true`, messages published with the same non-empty `ordering_key` value will be delivered to subscribers in the order in which they are received by the Pub/Sub system. All `PubsubMessage`s published in a given `PublishRequest` must specify the same `ordering_key` value. <b>EXPERIMENTAL:</b> This feature is part of a closed alpha release. This API might be changed in backward-incompatible ways and is not recommended for production use. It is not subject to any SLA or deprecation policy.
string ordering_key = 5;
- returns
The orderingKey.
-
abstract
def
getOrderingKeyBytes(): ByteString
If non-empty, identifies related messages for which publish order should be respected. If a `Subscription` has `enable_message_ordering` set to `true`, messages published with the same non-empty `ordering_key` value will be delivered to subscribers in the order in which they are received by the Pub/Sub system. All `PubsubMessage`s published in a given `PublishRequest` must specify the same `ordering_key` value. <b>EXPERIMENTAL:</b> This feature is part of a closed alpha release. This API might be changed in backward-incompatible ways and is not recommended for production use. It is not subject to any SLA or deprecation policy.
If non-empty, identifies related messages for which publish order should be respected. If a `Subscription` has `enable_message_ordering` set to `true`, messages published with the same non-empty `ordering_key` value will be delivered to subscribers in the order in which they are received by the Pub/Sub system. All `PubsubMessage`s published in a given `PublishRequest` must specify the same `ordering_key` value. <b>EXPERIMENTAL:</b> This feature is part of a closed alpha release. This API might be changed in backward-incompatible ways and is not recommended for production use. It is not subject to any SLA or deprecation policy.
string ordering_key = 5;
- returns
The bytes for orderingKey.
-
abstract
def
getPublishTime(): Timestamp
The time at which the message was published, populated by the server when it receives the `Publish` call. It must not be populated by the publisher in a `Publish` call.
The time at which the message was published, populated by the server when it receives the `Publish` call. It must not be populated by the publisher in a `Publish` call.
.google.protobuf.Timestamp publish_time = 4;
- returns
The publishTime.
-
abstract
def
getPublishTimeOrBuilder(): TimestampOrBuilder
The time at which the message was published, populated by the server when it receives the `Publish` call. It must not be populated by the publisher in a `Publish` call.
The time at which the message was published, populated by the server when it receives the `Publish` call. It must not be populated by the publisher in a `Publish` call.
.google.protobuf.Timestamp publish_time = 4;
-
abstract
def
getRepeatedField(arg0: FieldDescriptor, arg1: Int): AnyRef
- Definition Classes
- MessageOrBuilder
-
abstract
def
getRepeatedFieldCount(arg0: FieldDescriptor): Int
- Definition Classes
- MessageOrBuilder
-
abstract
def
getUnknownFields(): UnknownFieldSet
- Definition Classes
- MessageOrBuilder
-
abstract
def
hasField(arg0: FieldDescriptor): Boolean
- Definition Classes
- MessageOrBuilder
-
abstract
def
hasOneof(arg0: OneofDescriptor): Boolean
- Definition Classes
- MessageOrBuilder
-
abstract
def
hasPublishTime(): Boolean
The time at which the message was published, populated by the server when it receives the `Publish` call. It must not be populated by the publisher in a `Publish` call.
The time at which the message was published, populated by the server when it receives the `Publish` call. It must not be populated by the publisher in a `Publish` call.
.google.protobuf.Timestamp publish_time = 4;
- returns
Whether the publishTime field is set.
-
abstract
def
isInitialized(): Boolean
- Definition Classes
- MessageLiteOrBuilder
Concrete Value Members
-
final
def
!=(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
-
final
def
##(): Int
- Definition Classes
- AnyRef → Any
-
final
def
==(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
-
final
def
asInstanceOf[T0]: T0
- Definition Classes
- Any
-
def
clone(): AnyRef
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws( ... ) @native() @HotSpotIntrinsicCandidate()
-
final
def
eq(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
-
def
equals(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
-
final
def
getClass(): Class[_]
- Definition Classes
- AnyRef → Any
- Annotations
- @native() @HotSpotIntrinsicCandidate()
-
def
hashCode(): Int
- Definition Classes
- AnyRef → Any
- Annotations
- @native() @HotSpotIntrinsicCandidate()
-
final
def
isInstanceOf[T0]: Boolean
- Definition Classes
- Any
-
final
def
ne(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
-
final
def
notify(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native() @HotSpotIntrinsicCandidate()
-
final
def
notifyAll(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native() @HotSpotIntrinsicCandidate()
-
final
def
synchronized[T0](arg0: ⇒ T0): T0
- Definition Classes
- AnyRef
-
def
toString(): String
- Definition Classes
- AnyRef → Any
-
final
def
wait(arg0: Long, arg1: Int): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws( ... )
-
final
def
wait(arg0: Long): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws( ... ) @native()
-
final
def
wait(): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws( ... )