Package com.google.cloud.biglake.v1
Interface FailoverIcebergCatalogRequestOrBuilder
- All Superinterfaces:
com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder
- All Known Implementing Classes:
FailoverIcebergCatalogRequest,FailoverIcebergCatalogRequest.Builder
@Generated
public interface FailoverIcebergCatalogRequestOrBuilder
extends com.google.protobuf.MessageOrBuilder
-
Method Summary
Modifier and TypeMethodDescriptioncom.google.protobuf.TimestampOptional.com.google.protobuf.TimestampOrBuilderOptional.getName()Required.com.google.protobuf.ByteStringRequired.Required.com.google.protobuf.ByteStringRequired.booleanOptional.booleanOptional.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
-
getName
String getName()Required. The name of the catalog in the form "projects/{project_id}/catalogs/{catalog_id}"string name = 1 [(.google.api.field_behavior) = REQUIRED];- Returns:
- The name.
-
getNameBytes
com.google.protobuf.ByteString getNameBytes()Required. The name of the catalog in the form "projects/{project_id}/catalogs/{catalog_id}"string name = 1 [(.google.api.field_behavior) = REQUIRED];- Returns:
- The bytes for name.
-
getPrimaryReplica
String getPrimaryReplica()Required. The region being assigned as the new primary replica region. For example "us-east1". This must be one of the replica regions in the catalog's list of replicas marked as a "secondary".
string primary_replica = 2 [(.google.api.field_behavior) = REQUIRED];- Returns:
- The primaryReplica.
-
getPrimaryReplicaBytes
com.google.protobuf.ByteString getPrimaryReplicaBytes()Required. The region being assigned as the new primary replica region. For example "us-east1". This must be one of the replica regions in the catalog's list of replicas marked as a "secondary".
string primary_replica = 2 [(.google.api.field_behavior) = REQUIRED];- Returns:
- The bytes for primaryReplica.
-
getValidateOnly
boolean getValidateOnly()Optional. If set, only validate the request, but do not perform the update. This can be used to inspect the replication_time at any time, including before performing a fail-over.
bool validate_only = 3 [(.google.api.field_behavior) = OPTIONAL];- Returns:
- The validateOnly.
-
hasConditionalFailoverReplicationTime
boolean hasConditionalFailoverReplicationTime()Optional. If unset, wait for all data from the source region to replicate to the new primary region before completing the failover, with no data loss (also called "soft failover"). If set, failover immediately, accepting the loss of any data committed in the source region after this timestamp, that has not yet replicated. If any data committed before this time has not replicated, the failover will not be performed and an error will be returned (also called "hard failover").
.google.protobuf.Timestamp conditional_failover_replication_time = 4 [(.google.api.field_behavior) = OPTIONAL];- Returns:
- Whether the conditionalFailoverReplicationTime field is set.
-
getConditionalFailoverReplicationTime
com.google.protobuf.Timestamp getConditionalFailoverReplicationTime()Optional. If unset, wait for all data from the source region to replicate to the new primary region before completing the failover, with no data loss (also called "soft failover"). If set, failover immediately, accepting the loss of any data committed in the source region after this timestamp, that has not yet replicated. If any data committed before this time has not replicated, the failover will not be performed and an error will be returned (also called "hard failover").
.google.protobuf.Timestamp conditional_failover_replication_time = 4 [(.google.api.field_behavior) = OPTIONAL];- Returns:
- The conditionalFailoverReplicationTime.
-
getConditionalFailoverReplicationTimeOrBuilder
com.google.protobuf.TimestampOrBuilder getConditionalFailoverReplicationTimeOrBuilder()Optional. If unset, wait for all data from the source region to replicate to the new primary region before completing the failover, with no data loss (also called "soft failover"). If set, failover immediately, accepting the loss of any data committed in the source region after this timestamp, that has not yet replicated. If any data committed before this time has not replicated, the failover will not be performed and an error will be returned (also called "hard failover").
.google.protobuf.Timestamp conditional_failover_replication_time = 4 [(.google.api.field_behavior) = OPTIONAL];
-