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 TypeMethodDescriptiongetDataAffinityRegions(int index) Optional.com.google.protobuf.ByteStringgetDataAffinityRegionsBytes(int index) Optional.intOptional.Optional.getTopic()Required.com.google.protobuf.ByteStringRequired.Methods inherited from interface com.google.protobuf.MessageLiteOrBuilder
isInitializedMethods 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
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
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.
-