Interface TopicOrBuilder

All Superinterfaces:
com.google.protobuf.MessageLiteOrBuilder, com.google.protobuf.MessageOrBuilder
All Known Implementing Classes:
Topic, Topic.Builder

@Generated public interface TopicOrBuilder extends com.google.protobuf.MessageOrBuilder
  • Method Summary

    Modifier and Type
    Method
    Description
    Required.
    com.google.protobuf.ByteString
    Required.

    Methods inherited from interface com.google.protobuf.MessageLiteOrBuilder

    isInitialized

    Methods inherited from interface com.google.protobuf.MessageOrBuilder

    findInitializationErrors, getAllFields, getDefaultInstanceForType, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
  • Method Details

    • getName

      String getName()
       Required. The resource name of the Pub/Sub topic that will be published to,
       in the following format: `projects/*/topics/*`. For publication to succeed,
       the Secret Manager service agent must have the `pubsub.topic.publish`
       permission on the topic. The Pub/Sub Publisher role
       (`roles/pubsub.publisher`) includes this permission.
       
      string name = 1 [(.google.api.field_behavior) = REQUIRED];
      Returns:
      The name.
    • getNameBytes

      com.google.protobuf.ByteString getNameBytes()
       Required. The resource name of the Pub/Sub topic that will be published to,
       in the following format: `projects/*/topics/*`. For publication to succeed,
       the Secret Manager service agent must have the `pubsub.topic.publish`
       permission on the topic. The Pub/Sub Publisher role
       (`roles/pubsub.publisher`) includes this permission.
       
      string name = 1 [(.google.api.field_behavior) = REQUIRED];
      Returns:
      The bytes for name.