Interface Listing.PubSubTopicSourceOrBuilder

All Superinterfaces:
com.google.protobuf.MessageLiteOrBuilder, com.google.protobuf.MessageOrBuilder
All Known Implementing Classes:
Listing.PubSubTopicSource, Listing.PubSubTopicSource.Builder
Enclosing class:
Listing

public static interface Listing.PubSubTopicSourceOrBuilder extends com.google.protobuf.MessageOrBuilder
  • Method Summary

    Modifier and Type
    Method
    Description
    Optional.
    com.google.protobuf.ByteString
    Optional.
    int
    Optional.
    Optional.
    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

    • getTopic

      String getTopic()
       Required. Resource name of the Pub/Sub topic source for this listing.
       e.g. projects/myproject/topics/topicId
       
      string topic = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
      Returns:
      The topic.
    • getTopicBytes

      com.google.protobuf.ByteString getTopicBytes()
       Required. Resource name of the Pub/Sub topic source for this listing.
       e.g. projects/myproject/topics/topicId
       
      string topic = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
      Returns:
      The bytes for topic.
    • getDataAffinityRegionsList

      List<String> getDataAffinityRegionsList()
       Optional. Region hint on where the data might be published. Data affinity
       regions are modifiable. See https://cloud.google.com/about/locations for
       full listing of possible Cloud regions.
       
      repeated string data_affinity_regions = 2 [(.google.api.field_behavior) = OPTIONAL];
      Returns:
      A list containing the dataAffinityRegions.
    • getDataAffinityRegionsCount

      int getDataAffinityRegionsCount()
       Optional. Region hint on where the data might be published. Data affinity
       regions are modifiable. See https://cloud.google.com/about/locations for
       full listing of possible Cloud regions.
       
      repeated string data_affinity_regions = 2 [(.google.api.field_behavior) = OPTIONAL];
      Returns:
      The count of dataAffinityRegions.
    • getDataAffinityRegions

      String getDataAffinityRegions(int index)
       Optional. Region hint on where the data might be published. Data affinity
       regions are modifiable. See https://cloud.google.com/about/locations for
       full listing of possible Cloud regions.
       
      repeated string data_affinity_regions = 2 [(.google.api.field_behavior) = OPTIONAL];
      Parameters:
      index - The index of the element to return.
      Returns:
      The dataAffinityRegions at the given index.
    • getDataAffinityRegionsBytes

      com.google.protobuf.ByteString getDataAffinityRegionsBytes(int index)
       Optional. Region hint on where the data might be published. Data affinity
       regions are modifiable. See https://cloud.google.com/about/locations for
       full listing of possible Cloud regions.
       
      repeated string data_affinity_regions = 2 [(.google.api.field_behavior) = OPTIONAL];
      Parameters:
      index - The index of the value to return.
      Returns:
      The bytes of the dataAffinityRegions at the given index.