Packages

c

com.google.pubsub.v1

PubsubMessage

final class PubsubMessage extends GeneratedMessageV3 with PubsubMessageOrBuilder

A message data and its attributes. The message payload must not be empty;
it must contain either a non-empty data field, or at least one attribute.

Protobuf type google.pubsub.v1.PubsubMessage

Source
PubsubMessage.java
Linear Supertypes
PubsubMessageOrBuilder, GeneratedMessageV3, Serializable, AbstractMessage, Message, MessageOrBuilder, AbstractMessageLite[MessageType, BuilderType], MessageLite, MessageLiteOrBuilder, AnyRef, Any
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. PubsubMessage
  2. PubsubMessageOrBuilder
  3. GeneratedMessageV3
  4. Serializable
  5. AbstractMessage
  6. Message
  7. MessageOrBuilder
  8. AbstractMessageLite
  9. MessageLite
  10. MessageLiteOrBuilder
  11. AnyRef
  12. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. All

Value Members

  1. final def !=(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  2. final def ##(): Int
    Definition Classes
    AnyRef → Any
  3. final def ==(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  4. final def asInstanceOf[T0]: T0
    Definition Classes
    Any
  5. def clone(): AnyRef
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @native() @throws( ... )
  6. def containsAttributes(key: String): Boolean

    Optional attributes for this message.
    

    Optional attributes for this message.
    

    map<string, string> attributes = 2;

    Definition Classes
    PubsubMessagePubsubMessageOrBuilder
  7. final def eq(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  8. def equals(obj: Any): Boolean
    Definition Classes
    PubsubMessage → AbstractMessage → Message → AnyRef → Any
  9. def finalize(): Unit
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( classOf[java.lang.Throwable] )
  10. def findInitializationErrors(): List[String]
    Definition Classes
    AbstractMessage → MessageOrBuilder
  11. def getAllFields(): Map[FieldDescriptor, AnyRef]
    Definition Classes
    GeneratedMessageV3 → MessageOrBuilder
  12. def getAttributes(): Map[String, String]

    Use #getAttributesMap() instead.

    Use #getAttributesMap() instead.

    Definition Classes
    PubsubMessagePubsubMessageOrBuilder
  13. def getAttributesCount(): Int

    Optional attributes for this message.
    

    Optional attributes for this message.
    

    map<string, string> attributes = 2;

    Definition Classes
    PubsubMessagePubsubMessageOrBuilder
  14. def getAttributesMap(): Map[String, String]

    Optional attributes for this message.
    

    Optional attributes for this message.
    

    map<string, string> attributes = 2;

    Definition Classes
    PubsubMessagePubsubMessageOrBuilder
  15. def getAttributesOrDefault(key: String, defaultValue: String): String

    Optional attributes for this message.
    

    Optional attributes for this message.
    

    map<string, string> attributes = 2;

    Definition Classes
    PubsubMessagePubsubMessageOrBuilder
  16. def getAttributesOrThrow(key: String): String

    Optional attributes for this message.
    

    Optional attributes for this message.
    

    map<string, string> attributes = 2;

    Definition Classes
    PubsubMessagePubsubMessageOrBuilder
  17. final def getClass(): Class[_]
    Definition Classes
    AnyRef → Any
    Annotations
    @native()
  18. def getData(): ByteString

    The message payload.
    

    The message payload.
    

    bytes data = 1;

    Definition Classes
    PubsubMessagePubsubMessageOrBuilder
  19. def getDefaultInstanceForType(): PubsubMessage
    Definition Classes
    PubsubMessage → MessageOrBuilder → MessageLiteOrBuilder
  20. def getDescriptorForType(): Descriptor
    Definition Classes
    GeneratedMessageV3 → MessageOrBuilder
  21. def getField(arg0: FieldDescriptor): AnyRef
    Definition Classes
    GeneratedMessageV3 → MessageOrBuilder
  22. def getInitializationErrorString(): String
    Definition Classes
    AbstractMessage → MessageOrBuilder
  23. 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;

    Definition Classes
    PubsubMessagePubsubMessageOrBuilder
  24. 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;

    Definition Classes
    PubsubMessagePubsubMessageOrBuilder
  25. def getOneofFieldDescriptor(arg0: OneofDescriptor): FieldDescriptor
    Definition Classes
    GeneratedMessageV3 → AbstractMessage → MessageOrBuilder
  26. def getParserForType(): Parser[PubsubMessage]
    Definition Classes
    PubsubMessage → GeneratedMessageV3 → Message → MessageLite
  27. 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;

    Definition Classes
    PubsubMessagePubsubMessageOrBuilder
  28. 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;

    Definition Classes
    PubsubMessagePubsubMessageOrBuilder
  29. def getRepeatedField(arg0: FieldDescriptor, arg1: Int): AnyRef
    Definition Classes
    GeneratedMessageV3 → MessageOrBuilder
  30. def getRepeatedFieldCount(arg0: FieldDescriptor): Int
    Definition Classes
    GeneratedMessageV3 → MessageOrBuilder
  31. def getSerializedSize(): Int
    Definition Classes
    PubsubMessage → GeneratedMessageV3 → AbstractMessage → MessageLite
  32. final def getUnknownFields(): UnknownFieldSet
    Definition Classes
    PubsubMessage → GeneratedMessageV3 → MessageOrBuilder
  33. def hasField(arg0: FieldDescriptor): Boolean
    Definition Classes
    GeneratedMessageV3 → MessageOrBuilder
  34. def hasOneof(arg0: OneofDescriptor): Boolean
    Definition Classes
    GeneratedMessageV3 → AbstractMessage → MessageOrBuilder
  35. 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;

    Definition Classes
    PubsubMessagePubsubMessageOrBuilder
  36. def hashCode(): Int
    Definition Classes
    PubsubMessage → AbstractMessage → Message → AnyRef → Any
  37. def internalGetFieldAccessorTable(): FieldAccessorTable
    Attributes
    protected[com.google.pubsub.v1]
    Definition Classes
    PubsubMessage → GeneratedMessageV3
  38. def internalGetMapField(number: Int): MapField
    Attributes
    protected[com.google.pubsub.v1]
    Definition Classes
    PubsubMessage → GeneratedMessageV3
  39. final def isInitialized(): Boolean
    Definition Classes
    PubsubMessage → GeneratedMessageV3 → AbstractMessage → MessageLiteOrBuilder
  40. final def isInstanceOf[T0]: Boolean
    Definition Classes
    Any
  41. def makeExtensionsImmutable(): Unit
    Attributes
    protected[com.google.protobuf]
    Definition Classes
    GeneratedMessageV3
  42. final def ne(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  43. def newBuilderForType(parent: BuilderParent): Builder
    Attributes
    protected[com.google.pubsub.v1]
    Definition Classes
    PubsubMessage → GeneratedMessageV3
  44. def newBuilderForType(): Builder
    Definition Classes
    PubsubMessage → Message → MessageLite
  45. def newBuilderForType(arg0: BuilderParent): Builder
    Attributes
    protected[com.google.protobuf]
    Definition Classes
    GeneratedMessageV3 → AbstractMessage
  46. final def notify(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native()
  47. final def notifyAll(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native()
  48. def parseUnknownField(arg0: CodedInputStream, arg1: Builder, arg2: ExtensionRegistryLite, arg3: Int): Boolean
    Attributes
    protected[com.google.protobuf]
    Definition Classes
    GeneratedMessageV3
    Annotations
    @throws( classOf[java.io.IOException] )
  49. def parseUnknownFieldProto3(arg0: CodedInputStream, arg1: Builder, arg2: ExtensionRegistryLite, arg3: Int): Boolean
    Attributes
    protected[com.google.protobuf]
    Definition Classes
    GeneratedMessageV3
    Annotations
    @throws( classOf[java.io.IOException] )
  50. final def synchronized[T0](arg0: ⇒ T0): T0
    Definition Classes
    AnyRef
  51. def toBuilder(): Builder
    Definition Classes
    PubsubMessage → Message → MessageLite
  52. def toByteArray(): Array[Byte]
    Definition Classes
    AbstractMessageLite → MessageLite
  53. def toByteString(): ByteString
    Definition Classes
    AbstractMessageLite → MessageLite
  54. final def toString(): String
    Definition Classes
    AbstractMessage → Message → AnyRef → Any
  55. final def wait(): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  56. final def wait(arg0: Long, arg1: Int): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  57. final def wait(arg0: Long): Unit
    Definition Classes
    AnyRef
    Annotations
    @native() @throws( ... )
  58. def writeDelimitedTo(arg0: OutputStream): Unit
    Definition Classes
    AbstractMessageLite → MessageLite
    Annotations
    @throws( classOf[java.io.IOException] )
  59. def writeReplace(): AnyRef
    Attributes
    protected[com.google.protobuf]
    Definition Classes
    GeneratedMessageV3
    Annotations
    @throws( ... )
  60. def writeTo(output: CodedOutputStream): Unit
    Definition Classes
    PubsubMessage → GeneratedMessageV3 → AbstractMessage → MessageLite
  61. def writeTo(arg0: OutputStream): Unit
    Definition Classes
    AbstractMessageLite → MessageLite
    Annotations
    @throws( classOf[java.io.IOException] )

Inherited from PubsubMessageOrBuilder

Inherited from GeneratedMessageV3

Inherited from Serializable

Inherited from AbstractMessage

Inherited from Message

Inherited from MessageOrBuilder

Inherited from AbstractMessageLite[MessageType, BuilderType]

Inherited from MessageLite

Inherited from MessageLiteOrBuilder

Inherited from AnyRef

Inherited from Any

Ungrouped