Interface CreateTopicRequestOrBuilder

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

    public interface CreateTopicRequestOrBuilder
    extends com.google.protobuf.MessageOrBuilder
    • Method Summary

      All Methods Instance Methods Abstract Methods 
      Modifier and Type Method Description
      String getParent()
      Required.
      com.google.protobuf.ByteString getParentBytes()
      Required.
      Topic getTopic()
      Required.
      String getTopicId()
      Required.
      com.google.protobuf.ByteString getTopicIdBytes()
      Required.
      TopicOrBuilder getTopicOrBuilder()
      Required.
      boolean hasTopic()
      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 Detail

      • getParent

        String getParent()
         Required. The parent location in which to create the topic.
         Structured like `projects/{project_number}/locations/{location}`.
         
        string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
        Returns:
        The parent.
      • getParentBytes

        com.google.protobuf.ByteString getParentBytes()
         Required. The parent location in which to create the topic.
         Structured like `projects/{project_number}/locations/{location}`.
         
        string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
        Returns:
        The bytes for parent.
      • hasTopic

        boolean hasTopic()
         Required. Configuration of the topic to create. Its `name` field is
         ignored.
         
        .google.cloud.pubsublite.v1.Topic topic = 2 [(.google.api.field_behavior) = REQUIRED];
        Returns:
        Whether the topic field is set.
      • getTopic

        Topic getTopic()
         Required. Configuration of the topic to create. Its `name` field is
         ignored.
         
        .google.cloud.pubsublite.v1.Topic topic = 2 [(.google.api.field_behavior) = REQUIRED];
        Returns:
        The topic.
      • getTopicOrBuilder

        TopicOrBuilder getTopicOrBuilder()
         Required. Configuration of the topic to create. Its `name` field is
         ignored.
         
        .google.cloud.pubsublite.v1.Topic topic = 2 [(.google.api.field_behavior) = REQUIRED];
      • getTopicId

        String getTopicId()
         Required. The ID to use for the topic, which will become the final
         component of the topic's name.
        
         This value is structured like: `my-topic-name`.
         
        string topic_id = 3 [(.google.api.field_behavior) = REQUIRED];
        Returns:
        The topicId.
      • getTopicIdBytes

        com.google.protobuf.ByteString getTopicIdBytes()
         Required. The ID to use for the topic, which will become the final
         component of the topic's name.
        
         This value is structured like: `my-topic-name`.
         
        string topic_id = 3 [(.google.api.field_behavior) = REQUIRED];
        Returns:
        The bytes for topicId.