- 0.61.0 (latest)
- 0.60.0
- 0.59.0
- 0.57.0
- 0.56.0
- 0.55.0
- 0.54.0
- 0.53.0
- 0.52.0
- 0.51.0
- 0.50.0
- 0.49.0
- 0.48.0
- 0.46.0
- 0.45.0
- 0.44.0
- 0.43.0
- 0.42.0
- 0.41.0
- 0.40.0
- 0.39.0
- 0.38.0
- 0.37.0
- 0.36.0
- 0.34.0
- 0.33.0
- 0.32.0
- 0.31.0
- 0.30.0
- 0.29.0
- 0.28.0
- 0.27.0
- 0.26.0
- 0.25.0
- 0.24.0
- 0.21.0
- 0.20.0
- 0.19.0
- 0.18.0
- 0.17.0
- 0.16.0
- 0.15.0
- 0.14.0
- 0.13.0
- 0.12.0
- 0.11.0
- 0.10.0
- 0.9.0
- 0.8.0
- 0.7.0
- 0.6.0
- 0.5.0
- 0.4.0
- 0.3.0
- 0.2.0
- 0.1.0
public static final class Listing.PubSubTopicSource.Builder extends GeneratedMessageV3.Builder<Listing.PubSubTopicSource.Builder> implements Listing.PubSubTopicSourceOrBuilder
Pub/Sub topic source.
Protobuf type google.cloud.bigquery.analyticshub.v1.Listing.PubSubTopicSource
Inheritance
Object > AbstractMessageLite.Builder<MessageType,BuilderType> > AbstractMessage.Builder<BuilderType> > GeneratedMessageV3.Builder > Listing.PubSubTopicSource.BuilderImplements
Listing.PubSubTopicSourceOrBuilderStatic Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
Returns | |
---|---|
Type | Description |
Descriptor |
Methods
addAllDataAffinityRegions(Iterable<String> values)
public Listing.PubSubTopicSource.Builder addAllDataAffinityRegions(Iterable<String> values)
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 |
values |
Iterable<String> The dataAffinityRegions to add. |
Returns | |
---|---|
Type | Description |
Listing.PubSubTopicSource.Builder |
This builder for chaining. |
addDataAffinityRegions(String value)
public Listing.PubSubTopicSource.Builder addDataAffinityRegions(String value)
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 |
value |
String The dataAffinityRegions to add. |
Returns | |
---|---|
Type | Description |
Listing.PubSubTopicSource.Builder |
This builder for chaining. |
addDataAffinityRegionsBytes(ByteString value)
public Listing.PubSubTopicSource.Builder addDataAffinityRegionsBytes(ByteString value)
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 |
value |
ByteString The bytes of the dataAffinityRegions to add. |
Returns | |
---|---|
Type | Description |
Listing.PubSubTopicSource.Builder |
This builder for chaining. |
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
public Listing.PubSubTopicSource.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters | |
---|---|
Name | Description |
field |
FieldDescriptor |
value |
Object |
Returns | |
---|---|
Type | Description |
Listing.PubSubTopicSource.Builder |
build()
public Listing.PubSubTopicSource build()
Returns | |
---|---|
Type | Description |
Listing.PubSubTopicSource |
buildPartial()
public Listing.PubSubTopicSource buildPartial()
Returns | |
---|---|
Type | Description |
Listing.PubSubTopicSource |
clear()
public Listing.PubSubTopicSource.Builder clear()
Returns | |
---|---|
Type | Description |
Listing.PubSubTopicSource.Builder |
clearDataAffinityRegions()
public Listing.PubSubTopicSource.Builder clearDataAffinityRegions()
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 |
Listing.PubSubTopicSource.Builder |
This builder for chaining. |
clearField(Descriptors.FieldDescriptor field)
public Listing.PubSubTopicSource.Builder clearField(Descriptors.FieldDescriptor field)
Parameter | |
---|---|
Name | Description |
field |
FieldDescriptor |
Returns | |
---|---|
Type | Description |
Listing.PubSubTopicSource.Builder |
clearOneof(Descriptors.OneofDescriptor oneof)
public Listing.PubSubTopicSource.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter | |
---|---|
Name | Description |
oneof |
OneofDescriptor |
Returns | |
---|---|
Type | Description |
Listing.PubSubTopicSource.Builder |
clearTopic()
public Listing.PubSubTopicSource.Builder clearTopic()
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 |
Listing.PubSubTopicSource.Builder |
This builder for chaining. |
clone()
public Listing.PubSubTopicSource.Builder clone()
Returns | |
---|---|
Type | Description |
Listing.PubSubTopicSource.Builder |
getDataAffinityRegions(int index)
public 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 |
int The index of the element to return. |
Returns | |
---|---|
Type | Description |
String |
The dataAffinityRegions at the given index. |
getDataAffinityRegionsBytes(int index)
public 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 |
int The index of the value to return. |
Returns | |
---|---|
Type | Description |
ByteString |
The bytes of the dataAffinityRegions at the given index. |
getDataAffinityRegionsCount()
public 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 ProtocolStringList 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 |
ProtocolStringList |
A list containing the dataAffinityRegions. |
getDefaultInstanceForType()
public Listing.PubSubTopicSource getDefaultInstanceForType()
Returns | |
---|---|
Type | Description |
Listing.PubSubTopicSource |
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()
Returns | |
---|---|
Type | Description |
Descriptor |
getTopic()
public 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 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. |
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns | |
---|---|
Type | Description |
FieldAccessorTable |
isInitialized()
public final boolean isInitialized()
Returns | |
---|---|
Type | Description |
boolean |
mergeFrom(Listing.PubSubTopicSource other)
public Listing.PubSubTopicSource.Builder mergeFrom(Listing.PubSubTopicSource other)
Parameter | |
---|---|
Name | Description |
other |
Listing.PubSubTopicSource |
Returns | |
---|---|
Type | Description |
Listing.PubSubTopicSource.Builder |
mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public Listing.PubSubTopicSource.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters | |
---|---|
Name | Description |
input |
CodedInputStream |
extensionRegistry |
ExtensionRegistryLite |
Returns | |
---|---|
Type | Description |
Listing.PubSubTopicSource.Builder |
Exceptions | |
---|---|
Type | Description |
IOException |
mergeFrom(Message other)
public Listing.PubSubTopicSource.Builder mergeFrom(Message other)
Parameter | |
---|---|
Name | Description |
other |
Message |
Returns | |
---|---|
Type | Description |
Listing.PubSubTopicSource.Builder |
mergeUnknownFields(UnknownFieldSet unknownFields)
public final Listing.PubSubTopicSource.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter | |
---|---|
Name | Description |
unknownFields |
UnknownFieldSet |
Returns | |
---|---|
Type | Description |
Listing.PubSubTopicSource.Builder |
setDataAffinityRegions(int index, String value)
public Listing.PubSubTopicSource.Builder setDataAffinityRegions(int index, String value)
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 | |
---|---|
Name | Description |
index |
int The index to set the value at. |
value |
String The dataAffinityRegions to set. |
Returns | |
---|---|
Type | Description |
Listing.PubSubTopicSource.Builder |
This builder for chaining. |
setField(Descriptors.FieldDescriptor field, Object value)
public Listing.PubSubTopicSource.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters | |
---|---|
Name | Description |
field |
FieldDescriptor |
value |
Object |
Returns | |
---|---|
Type | Description |
Listing.PubSubTopicSource.Builder |
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public Listing.PubSubTopicSource.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters | |
---|---|
Name | Description |
field |
FieldDescriptor |
index |
int |
value |
Object |
Returns | |
---|---|
Type | Description |
Listing.PubSubTopicSource.Builder |
setTopic(String value)
public Listing.PubSubTopicSource.Builder setTopic(String value)
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) = { ... }
Parameter | |
---|---|
Name | Description |
value |
String The topic to set. |
Returns | |
---|---|
Type | Description |
Listing.PubSubTopicSource.Builder |
This builder for chaining. |
setTopicBytes(ByteString value)
public Listing.PubSubTopicSource.Builder setTopicBytes(ByteString value)
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) = { ... }
Parameter | |
---|---|
Name | Description |
value |
ByteString The bytes for topic to set. |
Returns | |
---|---|
Type | Description |
Listing.PubSubTopicSource.Builder |
This builder for chaining. |
setUnknownFields(UnknownFieldSet unknownFields)
public final Listing.PubSubTopicSource.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter | |
---|---|
Name | Description |
unknownFields |
UnknownFieldSet |
Returns | |
---|---|
Type | Description |
Listing.PubSubTopicSource.Builder |