Class/Object

com.google.pubsub.v1.pubsub

Topic

Related Docs: object Topic | package pubsub

Permalink

final case class Topic(name: String = "", labels: Map[String, String] = ..., messageStoragePolicy: Option[MessageStoragePolicy] = _root_.scala.None, kmsKeyName: String = "") extends GeneratedMessage with Message[Topic] with Updatable[Topic] with Product with Serializable

A topic resource.

name

Required. The name of the topic. It must have the format "projects/{project}/topics/{topic}". {topic} must start with a letter, and contain only letters ([A-Za-z]), numbers ([0-9]), dashes (-), underscores (_), periods (.), tildes (~), plus (+) or percent signs (%). It must be between 3 and 255 characters in length, and it must not start with "goog".

labels

See [Creating and managing labels] (https://cloud.google.com/pubsub/docs/labels).

messageStoragePolicy

Policy constraining the set of Google Cloud Platform regions where messages published to the topic may be stored. If not present, then no constraints are in effect.

kmsKeyName

The resource name of the Cloud KMS CryptoKey to be used to protect access to messages published on this topic. The expected format is projects/*/locations/*/keyRings/*/cryptoKeys/*.

Annotations
@SerialVersionUID()
Linear Supertypes
Product, Equals, Updatable[Topic], Message[Topic], GeneratedMessage, Serializable, Serializable, AnyRef, Any
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. Topic
  2. Product
  3. Equals
  4. Updatable
  5. Message
  6. GeneratedMessage
  7. Serializable
  8. Serializable
  9. AnyRef
  10. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. All

Instance Constructors

  1. new Topic(name: String = "", labels: Map[String, String] = ..., messageStoragePolicy: Option[MessageStoragePolicy] = _root_.scala.None, kmsKeyName: String = "")

    Permalink

    name

    Required. The name of the topic. It must have the format "projects/{project}/topics/{topic}". {topic} must start with a letter, and contain only letters ([A-Za-z]), numbers ([0-9]), dashes (-), underscores (_), periods (.), tildes (~), plus (+) or percent signs (%). It must be between 3 and 255 characters in length, and it must not start with "goog".

    labels

    See [Creating and managing labels] (https://cloud.google.com/pubsub/docs/labels).

    messageStoragePolicy

    Policy constraining the set of Google Cloud Platform regions where messages published to the topic may be stored. If not present, then no constraints are in effect.

    kmsKeyName

    The resource name of the Cloud KMS CryptoKey to be used to protect access to messages published on this topic. The expected format is projects/*/locations/*/keyRings/*/cryptoKeys/*.

Value Members

  1. final def !=(arg0: Any): Boolean

    Permalink
    Definition Classes
    AnyRef → Any
  2. final def ##(): Int

    Permalink
    Definition Classes
    AnyRef → Any
  3. final def ==(arg0: Any): Boolean

    Permalink
    Definition Classes
    AnyRef → Any
  4. def addAllLabels(__vs: Iterable[(String, String)]): Topic

    Permalink
  5. def addLabels(__vs: (String, String)*): Topic

    Permalink
  6. final def asInstanceOf[T0]: T0

    Permalink
    Definition Classes
    Any
  7. def clearLabels: Topic

    Permalink
  8. def clearMessageStoragePolicy: Topic

    Permalink
  9. def clone(): AnyRef

    Permalink
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  10. def companion: Topic.type

    Permalink
    Definition Classes
    Topic → GeneratedMessage
  11. final def eq(arg0: AnyRef): Boolean

    Permalink
    Definition Classes
    AnyRef
  12. def finalize(): Unit

    Permalink
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( classOf[java.lang.Throwable] )
  13. final def getClass(): Class[_]

    Permalink
    Definition Classes
    AnyRef → Any
  14. def getField(__field: FieldDescriptor): PValue

    Permalink
    Definition Classes
    Topic → GeneratedMessage
  15. def getFieldByNumber(__fieldNumber: Int): Any

    Permalink
    Definition Classes
    Topic → GeneratedMessage
  16. def getMessageStoragePolicy: MessageStoragePolicy

    Permalink
  17. final def isInstanceOf[T0]: Boolean

    Permalink
    Definition Classes
    Any
  18. val kmsKeyName: String

    Permalink

    The resource name of the Cloud KMS CryptoKey to be used to protect access to messages published on this topic.

    The resource name of the Cloud KMS CryptoKey to be used to protect access to messages published on this topic. The expected format is projects/*/locations/*/keyRings/*/cryptoKeys/*.

  19. val labels: Map[String, String]

    Permalink

    See [Creating and managing labels] (https://cloud.google.com/pubsub/docs/labels).

  20. def mergeFrom(_input__: CodedInputStream): Topic

    Permalink
    Definition Classes
    Topic → Message
  21. val messageStoragePolicy: Option[MessageStoragePolicy]

    Permalink

    Policy constraining the set of Google Cloud Platform regions where messages published to the topic may be stored.

    Policy constraining the set of Google Cloud Platform regions where messages published to the topic may be stored. If not present, then no constraints are in effect.

  22. val name: String

    Permalink

    Required.

    Required. The name of the topic. It must have the format "projects/{project}/topics/{topic}". {topic} must start with a letter, and contain only letters ([A-Za-z]), numbers ([0-9]), dashes (-), underscores (_), periods (.), tildes (~), plus (+) or percent signs (%). It must be between 3 and 255 characters in length, and it must not start with "goog".

  23. final def ne(arg0: AnyRef): Boolean

    Permalink
    Definition Classes
    AnyRef
  24. final def notify(): Unit

    Permalink
    Definition Classes
    AnyRef
  25. final def notifyAll(): Unit

    Permalink
    Definition Classes
    AnyRef
  26. final def serializedSize: Int

    Permalink
    Definition Classes
    Topic → GeneratedMessage
  27. final def synchronized[T0](arg0: ⇒ T0): T0

    Permalink
    Definition Classes
    AnyRef
  28. def toByteArray: Array[Byte]

    Permalink
    Definition Classes
    GeneratedMessage
  29. def toByteString: ByteString

    Permalink
    Definition Classes
    GeneratedMessage
  30. def toPMessage: PMessage

    Permalink
    Definition Classes
    GeneratedMessage
  31. def toProtoString: String

    Permalink
    Definition Classes
    Topic → GeneratedMessage
  32. def update(ms: (Lens[Topic, Topic]) ⇒ Mutation[Topic]*): Topic

    Permalink
    Definition Classes
    Updatable
  33. final def wait(): Unit

    Permalink
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  34. final def wait(arg0: Long, arg1: Int): Unit

    Permalink
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  35. final def wait(arg0: Long): Unit

    Permalink
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  36. def withKmsKeyName(__v: String): Topic

    Permalink
  37. def withLabels(__v: Map[String, String]): Topic

    Permalink
  38. def withMessageStoragePolicy(__v: MessageStoragePolicy): Topic

    Permalink
  39. def withName(__v: String): Topic

    Permalink
  40. def writeDelimitedTo(output: OutputStream): Unit

    Permalink
    Definition Classes
    GeneratedMessage
  41. def writeTo(_output__: CodedOutputStream): Unit

    Permalink
    Definition Classes
    Topic → GeneratedMessage
  42. def writeTo(output: OutputStream): Unit

    Permalink
    Definition Classes
    GeneratedMessage

Deprecated Value Members

  1. def getAllFields: Map[FieldDescriptor, Any]

    Permalink
    Definition Classes
    GeneratedMessage
    Annotations
    @deprecated
    Deprecated

    (Since version 0.6.0) Use toPMessage

  2. def getField(field: FieldDescriptor): Any

    Permalink
    Definition Classes
    GeneratedMessage
    Annotations
    @deprecated
    Deprecated

    (Since version 0.6.0) Use getField that accepts a ScalaPB descriptor and returns PValue

Inherited from Product

Inherited from Equals

Inherited from Updatable[Topic]

Inherited from Message[Topic]

Inherited from GeneratedMessage

Inherited from Serializable

Inherited from Serializable

Inherited from AnyRef

Inherited from Any

Ungrouped