final case class Topic(name: String = "", labels: Map[String, String] = ..., messageStoragePolicy: Option[MessageStoragePolicy] = _root_.scala.None, kmsKeyName: String = "", unknownFields: UnknownFieldSet = ...) extends GeneratedMessage 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 <a href="https://cloud.google.com/pubsub/docs/labels"> Creating and managing labels</a>.

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()
Source
Topic.scala
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. Topic
  2. Product
  3. Equals
  4. Updatable
  5. GeneratedMessage
  6. Serializable
  7. Serializable
  8. AnyRef
  9. 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 = "", unknownFields: UnknownFieldSet = ...)

    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 <a href="https://cloud.google.com/pubsub/docs/labels"> Creating and managing labels</a>.

    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
    Definition Classes
    AnyRef → Any
  2. final def ##(): Int
    Definition Classes
    AnyRef → Any
  3. final def ==(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  4. def addAllLabels(__vs: Iterable[(String, String)]): Topic
  5. def addLabels(__vs: (String, String)*): Topic
  6. final def asInstanceOf[T0]: T0
    Definition Classes
    Any
  7. def clearLabels: Topic
  8. def clearMessageStoragePolicy: Topic
  9. def clone(): AnyRef
    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( ... ) @native() @HotSpotIntrinsicCandidate()
  10. def companion: Topic.type
    Definition Classes
    Topic → GeneratedMessage
  11. def discardUnknownFields: Topic
  12. final def eq(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  13. final def getClass(): Class[_]
    Definition Classes
    AnyRef → Any
    Annotations
    @native() @HotSpotIntrinsicCandidate()
  14. def getField(__field: FieldDescriptor): PValue
    Definition Classes
    Topic → GeneratedMessage
  15. def getFieldByNumber(__fieldNumber: Int): Any
    Definition Classes
    Topic → GeneratedMessage
  16. def getMessageStoragePolicy: MessageStoragePolicy
  17. final def isInstanceOf[T0]: Boolean
    Definition Classes
    Any
  18. val kmsKeyName: String
  19. val labels: Map[String, String]
  20. val messageStoragePolicy: Option[MessageStoragePolicy]
  21. val name: String
  22. final def ne(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  23. final def notify(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native() @HotSpotIntrinsicCandidate()
  24. final def notifyAll(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native() @HotSpotIntrinsicCandidate()
  25. def serializedSize: Int
    Definition Classes
    Topic → GeneratedMessage
  26. final def synchronized[T0](arg0: ⇒ T0): T0
    Definition Classes
    AnyRef
  27. final def toByteArray: Array[Byte]
    Definition Classes
    GeneratedMessage
  28. final def toByteString: ByteString
    Definition Classes
    GeneratedMessage
  29. final def toPMessage: PMessage
    Definition Classes
    GeneratedMessage
  30. def toProtoString: String
    Definition Classes
    Topic → GeneratedMessage
  31. val unknownFields: UnknownFieldSet
  32. def update(ms: (Lens[Topic, Topic]) ⇒ Mutation[Topic]*): Topic
    Definition Classes
    Updatable
  33. final def wait(arg0: Long, arg1: Int): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  34. final def wait(arg0: Long): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws( ... ) @native()
  35. final def wait(): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  36. def withKmsKeyName(__v: String): Topic
  37. def withLabels(__v: Map[String, String]): Topic
  38. def withMessageStoragePolicy(__v: MessageStoragePolicy): Topic
  39. def withName(__v: String): Topic
  40. def withUnknownFields(__v: UnknownFieldSet): Topic
  41. final def writeDelimitedTo(output: OutputStream): Unit
    Definition Classes
    GeneratedMessage
  42. def writeTo(_output__: CodedOutputStream): Unit
    Definition Classes
    Topic → GeneratedMessage
  43. final def writeTo(output: OutputStream): Unit
    Definition Classes
    GeneratedMessage

Deprecated Value Members

  1. def finalize(): Unit
    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( classOf[java.lang.Throwable] ) @Deprecated @deprecated
    Deprecated

    (Since version ) see corresponding Javadoc for more information.

Inherited from Product

Inherited from Equals

Inherited from Updatable[Topic]

Inherited from GeneratedMessage

Inherited from Serializable

Inherited from Serializable

Inherited from AnyRef

Inherited from Any

Ungrouped