public static final class Listing.BigQueryDatasetSource.Replica.Builder extends com.google.protobuf.GeneratedMessageV3.Builder<Listing.BigQueryDatasetSource.Replica.Builder> implements Listing.BigQueryDatasetSource.ReplicaOrBuilder
Represents the state of a replica of a shared dataset. It includes the geographic location of the replica and system-computed, output-only fields indicating its replication state and whether it is the primary replica.Protobuf type
google.cloud.bigquery.analyticshub.v1.Listing.BigQueryDatasetSource.ReplicagetAllFields, 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.BigQueryDatasetSource.Replica.Builder>public Listing.BigQueryDatasetSource.Replica.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.BigQueryDatasetSource.Replica.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.BigQueryDatasetSource.Replica.Builder>public Listing.BigQueryDatasetSource.Replica getDefaultInstanceForType()
getDefaultInstanceForType in interface com.google.protobuf.MessageLiteOrBuildergetDefaultInstanceForType in interface com.google.protobuf.MessageOrBuilderpublic Listing.BigQueryDatasetSource.Replica build()
build in interface com.google.protobuf.Message.Builderbuild in interface com.google.protobuf.MessageLite.Builderpublic Listing.BigQueryDatasetSource.Replica buildPartial()
buildPartial in interface com.google.protobuf.Message.BuilderbuildPartial in interface com.google.protobuf.MessageLite.Builderpublic Listing.BigQueryDatasetSource.Replica.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.BigQueryDatasetSource.Replica.Builder>public Listing.BigQueryDatasetSource.Replica.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.BigQueryDatasetSource.Replica.Builder>public Listing.BigQueryDatasetSource.Replica.Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field)
clearField in interface com.google.protobuf.Message.BuilderclearField in class com.google.protobuf.GeneratedMessageV3.Builder<Listing.BigQueryDatasetSource.Replica.Builder>public Listing.BigQueryDatasetSource.Replica.Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)
clearOneof in interface com.google.protobuf.Message.BuilderclearOneof in class com.google.protobuf.GeneratedMessageV3.Builder<Listing.BigQueryDatasetSource.Replica.Builder>public Listing.BigQueryDatasetSource.Replica.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.BigQueryDatasetSource.Replica.Builder>public Listing.BigQueryDatasetSource.Replica.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.BigQueryDatasetSource.Replica.Builder>public Listing.BigQueryDatasetSource.Replica.Builder mergeFrom(com.google.protobuf.Message other)
mergeFrom in interface com.google.protobuf.Message.BuildermergeFrom in class com.google.protobuf.AbstractMessage.Builder<Listing.BigQueryDatasetSource.Replica.Builder>public Listing.BigQueryDatasetSource.Replica.Builder mergeFrom(Listing.BigQueryDatasetSource.Replica other)
public final boolean isInitialized()
isInitialized in interface com.google.protobuf.MessageLiteOrBuilderisInitialized in class com.google.protobuf.GeneratedMessageV3.Builder<Listing.BigQueryDatasetSource.Replica.Builder>public Listing.BigQueryDatasetSource.Replica.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.BigQueryDatasetSource.Replica.Builder>IOExceptionpublic String getLocation()
Output only. The geographic location where the replica resides. See [BigQuery locations](https://cloud.google.com/bigquery/docs/locations) for supported locations. Eg. "us-central1".
string location = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];getLocation in interface Listing.BigQueryDatasetSource.ReplicaOrBuilderpublic com.google.protobuf.ByteString getLocationBytes()
Output only. The geographic location where the replica resides. See [BigQuery locations](https://cloud.google.com/bigquery/docs/locations) for supported locations. Eg. "us-central1".
string location = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];getLocationBytes in interface Listing.BigQueryDatasetSource.ReplicaOrBuilderpublic Listing.BigQueryDatasetSource.Replica.Builder setLocation(String value)
Output only. The geographic location where the replica resides. See [BigQuery locations](https://cloud.google.com/bigquery/docs/locations) for supported locations. Eg. "us-central1".
string location = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];value - The location to set.public Listing.BigQueryDatasetSource.Replica.Builder clearLocation()
Output only. The geographic location where the replica resides. See [BigQuery locations](https://cloud.google.com/bigquery/docs/locations) for supported locations. Eg. "us-central1".
string location = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];public Listing.BigQueryDatasetSource.Replica.Builder setLocationBytes(com.google.protobuf.ByteString value)
Output only. The geographic location where the replica resides. See [BigQuery locations](https://cloud.google.com/bigquery/docs/locations) for supported locations. Eg. "us-central1".
string location = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];value - The bytes for location to set.public int getReplicaStateValue()
Output only. Assigned by Analytics Hub based on real BigQuery replication state.
.google.cloud.bigquery.analyticshub.v1.Listing.BigQueryDatasetSource.Replica.ReplicaState replica_state = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];
getReplicaStateValue in interface Listing.BigQueryDatasetSource.ReplicaOrBuilderpublic Listing.BigQueryDatasetSource.Replica.Builder setReplicaStateValue(int value)
Output only. Assigned by Analytics Hub based on real BigQuery replication state.
.google.cloud.bigquery.analyticshub.v1.Listing.BigQueryDatasetSource.Replica.ReplicaState replica_state = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];
value - The enum numeric value on the wire for replicaState to set.public Listing.BigQueryDatasetSource.Replica.ReplicaState getReplicaState()
Output only. Assigned by Analytics Hub based on real BigQuery replication state.
.google.cloud.bigquery.analyticshub.v1.Listing.BigQueryDatasetSource.Replica.ReplicaState replica_state = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];
getReplicaState in interface Listing.BigQueryDatasetSource.ReplicaOrBuilderpublic Listing.BigQueryDatasetSource.Replica.Builder setReplicaState(Listing.BigQueryDatasetSource.Replica.ReplicaState value)
Output only. Assigned by Analytics Hub based on real BigQuery replication state.
.google.cloud.bigquery.analyticshub.v1.Listing.BigQueryDatasetSource.Replica.ReplicaState replica_state = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];
value - The replicaState to set.public Listing.BigQueryDatasetSource.Replica.Builder clearReplicaState()
Output only. Assigned by Analytics Hub based on real BigQuery replication state.
.google.cloud.bigquery.analyticshub.v1.Listing.BigQueryDatasetSource.Replica.ReplicaState replica_state = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];
public boolean hasPrimaryState()
Output only. Indicates that this replica is the primary replica.
optional .google.cloud.bigquery.analyticshub.v1.Listing.BigQueryDatasetSource.Replica.PrimaryState primary_state = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];
hasPrimaryState in interface Listing.BigQueryDatasetSource.ReplicaOrBuilderpublic int getPrimaryStateValue()
Output only. Indicates that this replica is the primary replica.
optional .google.cloud.bigquery.analyticshub.v1.Listing.BigQueryDatasetSource.Replica.PrimaryState primary_state = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];
getPrimaryStateValue in interface Listing.BigQueryDatasetSource.ReplicaOrBuilderpublic Listing.BigQueryDatasetSource.Replica.Builder setPrimaryStateValue(int value)
Output only. Indicates that this replica is the primary replica.
optional .google.cloud.bigquery.analyticshub.v1.Listing.BigQueryDatasetSource.Replica.PrimaryState primary_state = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];
value - The enum numeric value on the wire for primaryState to set.public Listing.BigQueryDatasetSource.Replica.PrimaryState getPrimaryState()
Output only. Indicates that this replica is the primary replica.
optional .google.cloud.bigquery.analyticshub.v1.Listing.BigQueryDatasetSource.Replica.PrimaryState primary_state = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];
getPrimaryState in interface Listing.BigQueryDatasetSource.ReplicaOrBuilderpublic Listing.BigQueryDatasetSource.Replica.Builder setPrimaryState(Listing.BigQueryDatasetSource.Replica.PrimaryState value)
Output only. Indicates that this replica is the primary replica.
optional .google.cloud.bigquery.analyticshub.v1.Listing.BigQueryDatasetSource.Replica.PrimaryState primary_state = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];
value - The primaryState to set.public Listing.BigQueryDatasetSource.Replica.Builder clearPrimaryState()
Output only. Indicates that this replica is the primary replica.
optional .google.cloud.bigquery.analyticshub.v1.Listing.BigQueryDatasetSource.Replica.PrimaryState primary_state = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];
public final Listing.BigQueryDatasetSource.Replica.Builder setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
setUnknownFields in interface com.google.protobuf.Message.BuildersetUnknownFields in class com.google.protobuf.GeneratedMessageV3.Builder<Listing.BigQueryDatasetSource.Replica.Builder>public final Listing.BigQueryDatasetSource.Replica.Builder mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
mergeUnknownFields in interface com.google.protobuf.Message.BuildermergeUnknownFields in class com.google.protobuf.GeneratedMessageV3.Builder<Listing.BigQueryDatasetSource.Replica.Builder>Copyright © 2025 Google LLC. All rights reserved.