Interface Listing.BigQueryDatasetSource.ReplicaOrBuilder
- All Superinterfaces:
com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder
- All Known Implementing Classes:
Listing.BigQueryDatasetSource.Replica,Listing.BigQueryDatasetSource.Replica.Builder
- Enclosing class:
- Listing.BigQueryDatasetSource
public static interface Listing.BigQueryDatasetSource.ReplicaOrBuilder
extends com.google.protobuf.MessageOrBuilder
-
Method Summary
Modifier and TypeMethodDescriptionOutput only.com.google.protobuf.ByteStringOutput only.Output only.intOutput only.Output only.intOutput only.booleanOutput only.Methods inherited from interface com.google.protobuf.MessageLiteOrBuilder
isInitializedMethods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getDefaultInstanceForType, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
Method Details
-
getLocation
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];- Returns:
- The location.
-
getLocationBytes
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];- Returns:
- The bytes for location.
-
getReplicaStateValue
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:
- The enum numeric value on the wire for replicaState.
-
getReplicaState
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:
- The replicaState.
-
hasPrimaryState
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:
- Whether the primaryState field is set.
-
getPrimaryStateValue
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:
- The enum numeric value on the wire for primaryState.
-
getPrimaryState
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:
- The primaryState.
-