Interface Listing.BigQueryDatasetSource.ReplicaOrBuilder (0.71.0)

public static interface Listing.BigQueryDatasetSource.ReplicaOrBuilder extends MessageOrBuilder

Implements

MessageOrBuilder

Methods

getLocation()

public abstract 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 abstract 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 abstract 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 abstract 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 abstract 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 abstract 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 abstract 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.