public static interface Listing.PubSubTopicSourceOrBuilder extends MessageOrBuilderImplements
MessageOrBuilderMethods
getDataAffinityRegions(int index)
public abstract 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];
| Parameter | |
|---|---|
| Name | Description |
index |
intThe index of the element to return. |
| Returns | |
|---|---|
| Type | Description |
String |
The dataAffinityRegions at the given index. |
getDataAffinityRegionsBytes(int index)
public abstract 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];
| Parameter | |
|---|---|
| Name | Description |
index |
intThe index of the value to return. |
| Returns | |
|---|---|
| Type | Description |
ByteString |
The bytes of the dataAffinityRegions at the given index. |
getDataAffinityRegionsCount()
public abstract 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 | |
|---|---|
| Type | Description |
int |
The count of dataAffinityRegions. |
getDataAffinityRegionsList()
public abstract 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 | |
|---|---|
| Type | Description |
List<String> |
A list containing the dataAffinityRegions. |
getTopic()
public abstract 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 | |
|---|---|
| Type | Description |
String |
The topic. |
getTopicBytes()
public abstract 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 | |
|---|---|
| Type | Description |
ByteString |
The bytes for topic. |