- 0.71.0 (latest)
- 0.70.0
- 0.69.0
- 0.67.0
- 0.65.0
- 0.64.0
- 0.61.0
- 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.BigQueryDatasetSource.Replica.Builder extends 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.Replica
Inheritance
Object > AbstractMessageLite.Builder<MessageType,BuilderType> > AbstractMessage.Builder<BuilderType> > GeneratedMessageV3.Builder > Listing.BigQueryDatasetSource.Replica.BuilderStatic Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
Returns | |
---|---|
Type | Description |
Descriptor |
Methods
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
public Listing.BigQueryDatasetSource.Replica.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters | |
---|---|
Name | Description |
field |
FieldDescriptor |
value |
Object |
Returns | |
---|---|
Type | Description |
Listing.BigQueryDatasetSource.Replica.Builder |
build()
public Listing.BigQueryDatasetSource.Replica build()
Returns | |
---|---|
Type | Description |
Listing.BigQueryDatasetSource.Replica |
buildPartial()
public Listing.BigQueryDatasetSource.Replica buildPartial()
Returns | |
---|---|
Type | Description |
Listing.BigQueryDatasetSource.Replica |
clear()
public Listing.BigQueryDatasetSource.Replica.Builder clear()
Returns | |
---|---|
Type | Description |
Listing.BigQueryDatasetSource.Replica.Builder |
clearField(Descriptors.FieldDescriptor field)
public Listing.BigQueryDatasetSource.Replica.Builder clearField(Descriptors.FieldDescriptor field)
Parameter | |
---|---|
Name | Description |
field |
FieldDescriptor |
Returns | |
---|---|
Type | Description |
Listing.BigQueryDatasetSource.Replica.Builder |
clearLocation()
public Listing.BigQueryDatasetSource.Replica.Builder clearLocation()
Output only. The geographic location where the replica resides. See BigQuery locations for supported locations. Eg. "us-central1".
string location = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];
Returns | |
---|---|
Type | Description |
Listing.BigQueryDatasetSource.Replica.Builder |
This builder for chaining. |
clearOneof(Descriptors.OneofDescriptor oneof)
public Listing.BigQueryDatasetSource.Replica.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter | |
---|---|
Name | Description |
oneof |
OneofDescriptor |
Returns | |
---|---|
Type | Description |
Listing.BigQueryDatasetSource.Replica.Builder |
clearPrimaryState()
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];
Returns | |
---|---|
Type | Description |
Listing.BigQueryDatasetSource.Replica.Builder |
This builder for chaining. |
clearReplicaState()
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];
Returns | |
---|---|
Type | Description |
Listing.BigQueryDatasetSource.Replica.Builder |
This builder for chaining. |
clone()
public Listing.BigQueryDatasetSource.Replica.Builder clone()
Returns | |
---|---|
Type | Description |
Listing.BigQueryDatasetSource.Replica.Builder |
getDefaultInstanceForType()
public Listing.BigQueryDatasetSource.Replica getDefaultInstanceForType()
Returns | |
---|---|
Type | Description |
Listing.BigQueryDatasetSource.Replica |
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()
Returns | |
---|---|
Type | Description |
Descriptor |
getLocation()
public String getLocation()
Output only. The geographic location where the replica resides. See BigQuery locations for supported locations. Eg. "us-central1".
string location = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];
Returns | |
---|---|
Type | Description |
String |
The location. |
getLocationBytes()
public ByteString getLocationBytes()
Output only. The geographic location where the replica resides. See BigQuery locations for supported locations. Eg. "us-central1".
string location = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];
Returns | |
---|---|
Type | Description |
ByteString |
The bytes for location. |
getPrimaryState()
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];
Returns | |
---|---|
Type | Description |
Listing.BigQueryDatasetSource.Replica.PrimaryState |
The primaryState. |
getPrimaryStateValue()
public 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];
Returns | |
---|---|
Type | Description |
int |
The enum numeric value on the wire for primaryState. |
getReplicaState()
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];
Returns | |
---|---|
Type | Description |
Listing.BigQueryDatasetSource.Replica.ReplicaState |
The replicaState. |
getReplicaStateValue()
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];
Returns | |
---|---|
Type | Description |
int |
The enum numeric value on the wire for replicaState. |
hasPrimaryState()
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];
Returns | |
---|---|
Type | Description |
boolean |
Whether the primaryState field is set. |
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns | |
---|---|
Type | Description |
FieldAccessorTable |
isInitialized()
public final boolean isInitialized()
Returns | |
---|---|
Type | Description |
boolean |
mergeFrom(Listing.BigQueryDatasetSource.Replica other)
public Listing.BigQueryDatasetSource.Replica.Builder mergeFrom(Listing.BigQueryDatasetSource.Replica other)
Parameter | |
---|---|
Name | Description |
other |
Listing.BigQueryDatasetSource.Replica |
Returns | |
---|---|
Type | Description |
Listing.BigQueryDatasetSource.Replica.Builder |
mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public Listing.BigQueryDatasetSource.Replica.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters | |
---|---|
Name | Description |
input |
CodedInputStream |
extensionRegistry |
ExtensionRegistryLite |
Returns | |
---|---|
Type | Description |
Listing.BigQueryDatasetSource.Replica.Builder |
Exceptions | |
---|---|
Type | Description |
IOException |
mergeFrom(Message other)
public Listing.BigQueryDatasetSource.Replica.Builder mergeFrom(Message other)
Parameter | |
---|---|
Name | Description |
other |
Message |
Returns | |
---|---|
Type | Description |
Listing.BigQueryDatasetSource.Replica.Builder |
mergeUnknownFields(UnknownFieldSet unknownFields)
public final Listing.BigQueryDatasetSource.Replica.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter | |
---|---|
Name | Description |
unknownFields |
UnknownFieldSet |
Returns | |
---|---|
Type | Description |
Listing.BigQueryDatasetSource.Replica.Builder |
setField(Descriptors.FieldDescriptor field, Object value)
public Listing.BigQueryDatasetSource.Replica.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters | |
---|---|
Name | Description |
field |
FieldDescriptor |
value |
Object |
Returns | |
---|---|
Type | Description |
Listing.BigQueryDatasetSource.Replica.Builder |
setLocation(String value)
public Listing.BigQueryDatasetSource.Replica.Builder setLocation(String value)
Output only. The geographic location where the replica resides. See BigQuery locations for supported locations. Eg. "us-central1".
string location = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];
Parameter | |
---|---|
Name | Description |
value |
String The location to set. |
Returns | |
---|---|
Type | Description |
Listing.BigQueryDatasetSource.Replica.Builder |
This builder for chaining. |
setLocationBytes(ByteString value)
public Listing.BigQueryDatasetSource.Replica.Builder setLocationBytes(ByteString value)
Output only. The geographic location where the replica resides. See BigQuery locations for supported locations. Eg. "us-central1".
string location = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];
Parameter | |
---|---|
Name | Description |
value |
ByteString The bytes for location to set. |
Returns | |
---|---|
Type | Description |
Listing.BigQueryDatasetSource.Replica.Builder |
This builder for chaining. |
setPrimaryState(Listing.BigQueryDatasetSource.Replica.PrimaryState value)
public 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];
Parameter | |
---|---|
Name | Description |
value |
Listing.BigQueryDatasetSource.Replica.PrimaryState The primaryState to set. |
Returns | |
---|---|
Type | Description |
Listing.BigQueryDatasetSource.Replica.Builder |
This builder for chaining. |
setPrimaryStateValue(int value)
public 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];
Parameter | |
---|---|
Name | Description |
value |
int The enum numeric value on the wire for primaryState to set. |
Returns | |
---|---|
Type | Description |
Listing.BigQueryDatasetSource.Replica.Builder |
This builder for chaining. |
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public Listing.BigQueryDatasetSource.Replica.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters | |
---|---|
Name | Description |
field |
FieldDescriptor |
index |
int |
value |
Object |
Returns | |
---|---|
Type | Description |
Listing.BigQueryDatasetSource.Replica.Builder |
setReplicaState(Listing.BigQueryDatasetSource.Replica.ReplicaState value)
public 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];
Parameter | |
---|---|
Name | Description |
value |
Listing.BigQueryDatasetSource.Replica.ReplicaState The replicaState to set. |
Returns | |
---|---|
Type | Description |
Listing.BigQueryDatasetSource.Replica.Builder |
This builder for chaining. |
setReplicaStateValue(int value)
public 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];
Parameter | |
---|---|
Name | Description |
value |
int The enum numeric value on the wire for replicaState to set. |
Returns | |
---|---|
Type | Description |
Listing.BigQueryDatasetSource.Replica.Builder |
This builder for chaining. |
setUnknownFields(UnknownFieldSet unknownFields)
public final Listing.BigQueryDatasetSource.Replica.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter | |
---|---|
Name | Description |
unknownFields |
UnknownFieldSet |
Returns | |
---|---|
Type | Description |
Listing.BigQueryDatasetSource.Replica.Builder |