public static final class Listing.PubSubTopicSource.Builder extends com.google.protobuf.GeneratedMessageV3.Builder<Listing.PubSubTopicSource.Builder> implements Listing.PubSubTopicSourceOrBuilder
Pub/Sub topic source.Protobuf type
google.cloud.bigquery.analyticshub.v1.Listing.PubSubTopicSourcegetAllFields, getField, getFieldBuilder, getOneofFieldDescriptor, getParentForChildren, getRepeatedField, getRepeatedFieldBuilder, getRepeatedFieldCount, getUnknownFields, getUnknownFieldSetBuilder, hasField, hasOneof, internalGetMapField, internalGetMapFieldReflection, internalGetMutableMapField, internalGetMutableMapFieldReflection, isClean, markClean, mergeUnknownLengthDelimitedField, mergeUnknownVarintField, newBuilderForField, onBuilt, onChanged, parseUnknownField, setUnknownFieldSetBuilder, setUnknownFieldsProto3findInitializationErrors, getInitializationErrorString, internalMergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException, toStringaddAll, addAll, mergeDelimitedFrom, mergeDelimitedFrom, newUninitializedMessageExceptionequals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitpublic static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
internalGetFieldAccessorTable in class com.google.protobuf.GeneratedMessageV3.Builder<Listing.PubSubTopicSource.Builder>public Listing.PubSubTopicSource.Builder clear()
clear in interface com.google.protobuf.Message.Builderclear in interface com.google.protobuf.MessageLite.Builderclear in class com.google.protobuf.GeneratedMessageV3.Builder<Listing.PubSubTopicSource.Builder>public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()
getDescriptorForType in interface com.google.protobuf.Message.BuildergetDescriptorForType in interface com.google.protobuf.MessageOrBuildergetDescriptorForType in class com.google.protobuf.GeneratedMessageV3.Builder<Listing.PubSubTopicSource.Builder>public Listing.PubSubTopicSource getDefaultInstanceForType()
getDefaultInstanceForType in interface com.google.protobuf.MessageLiteOrBuildergetDefaultInstanceForType in interface com.google.protobuf.MessageOrBuilderpublic Listing.PubSubTopicSource build()
build in interface com.google.protobuf.Message.Builderbuild in interface com.google.protobuf.MessageLite.Builderpublic Listing.PubSubTopicSource buildPartial()
buildPartial in interface com.google.protobuf.Message.BuilderbuildPartial in interface com.google.protobuf.MessageLite.Builderpublic Listing.PubSubTopicSource.Builder clone()
clone in interface com.google.protobuf.Message.Builderclone in interface com.google.protobuf.MessageLite.Builderclone in class com.google.protobuf.GeneratedMessageV3.Builder<Listing.PubSubTopicSource.Builder>public Listing.PubSubTopicSource.Builder setField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
setField in interface com.google.protobuf.Message.BuildersetField in class com.google.protobuf.GeneratedMessageV3.Builder<Listing.PubSubTopicSource.Builder>public Listing.PubSubTopicSource.Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field)
clearField in interface com.google.protobuf.Message.BuilderclearField in class com.google.protobuf.GeneratedMessageV3.Builder<Listing.PubSubTopicSource.Builder>public Listing.PubSubTopicSource.Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)
clearOneof in interface com.google.protobuf.Message.BuilderclearOneof in class com.google.protobuf.GeneratedMessageV3.Builder<Listing.PubSubTopicSource.Builder>public Listing.PubSubTopicSource.Builder setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, Object value)
setRepeatedField in interface com.google.protobuf.Message.BuildersetRepeatedField in class com.google.protobuf.GeneratedMessageV3.Builder<Listing.PubSubTopicSource.Builder>public Listing.PubSubTopicSource.Builder addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
addRepeatedField in interface com.google.protobuf.Message.BuilderaddRepeatedField in class com.google.protobuf.GeneratedMessageV3.Builder<Listing.PubSubTopicSource.Builder>public Listing.PubSubTopicSource.Builder mergeFrom(com.google.protobuf.Message other)
mergeFrom in interface com.google.protobuf.Message.BuildermergeFrom in class com.google.protobuf.AbstractMessage.Builder<Listing.PubSubTopicSource.Builder>public Listing.PubSubTopicSource.Builder mergeFrom(Listing.PubSubTopicSource other)
public final boolean isInitialized()
isInitialized in interface com.google.protobuf.MessageLiteOrBuilderisInitialized in class com.google.protobuf.GeneratedMessageV3.Builder<Listing.PubSubTopicSource.Builder>public Listing.PubSubTopicSource.Builder mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
mergeFrom in interface com.google.protobuf.Message.BuildermergeFrom in interface com.google.protobuf.MessageLite.BuildermergeFrom in class com.google.protobuf.AbstractMessage.Builder<Listing.PubSubTopicSource.Builder>IOExceptionpublic 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) = { ... }
getTopic in interface Listing.PubSubTopicSourceOrBuilderpublic 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) = { ... }
getTopicBytes in interface Listing.PubSubTopicSourceOrBuilderpublic 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) = { ... }
value - The topic to set.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) = { ... }
public Listing.PubSubTopicSource.Builder setTopicBytes(com.google.protobuf.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) = { ... }
value - The bytes for topic to set.public com.google.protobuf.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];
getDataAffinityRegionsList in interface Listing.PubSubTopicSourceOrBuilderpublic 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];
getDataAffinityRegionsCount in interface Listing.PubSubTopicSourceOrBuilderpublic 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];
getDataAffinityRegions in interface Listing.PubSubTopicSourceOrBuilderindex - The index of the element to return.public 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];
getDataAffinityRegionsBytes in interface Listing.PubSubTopicSourceOrBuilderindex - The index of the value to return.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];
index - The index to set the value at.value - The dataAffinityRegions to set.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];
value - The dataAffinityRegions to add.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];
values - The dataAffinityRegions to add.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];
public Listing.PubSubTopicSource.Builder addDataAffinityRegionsBytes(com.google.protobuf.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];
value - The bytes of the dataAffinityRegions to add.public final Listing.PubSubTopicSource.Builder setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
setUnknownFields in interface com.google.protobuf.Message.BuildersetUnknownFields in class com.google.protobuf.GeneratedMessageV3.Builder<Listing.PubSubTopicSource.Builder>public final Listing.PubSubTopicSource.Builder mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
mergeUnknownFields in interface com.google.protobuf.Message.BuildermergeUnknownFields in class com.google.protobuf.GeneratedMessageV3.Builder<Listing.PubSubTopicSource.Builder>Copyright © 2025 Google LLC. All rights reserved.