Package com.google.cloud.biglake.v1
Class FailoverIcebergCatalogRequest.Builder
java.lang.Object
com.google.protobuf.AbstractMessageLite.Builder
com.google.protobuf.AbstractMessage.Builder<BuilderT>
com.google.protobuf.GeneratedMessage.Builder<FailoverIcebergCatalogRequest.Builder>
com.google.cloud.biglake.v1.FailoverIcebergCatalogRequest.Builder
- All Implemented Interfaces:
FailoverIcebergCatalogRequestOrBuilder,com.google.protobuf.Message.Builder,com.google.protobuf.MessageLite.Builder,com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder,Cloneable
- Enclosing class:
- FailoverIcebergCatalogRequest
public static final class FailoverIcebergCatalogRequest.Builder
extends com.google.protobuf.GeneratedMessage.Builder<FailoverIcebergCatalogRequest.Builder>
implements FailoverIcebergCatalogRequestOrBuilder
Request message for FailoverIcebergCatalog.Protobuf type
google.cloud.biglake.v1.FailoverIcebergCatalogRequest-
Method Summary
Modifier and TypeMethodDescriptionbuild()clear()Optional.Required.Required.Optional.com.google.protobuf.TimestampOptional.com.google.protobuf.Timestamp.BuilderOptional.com.google.protobuf.TimestampOrBuilderOptional.static final com.google.protobuf.Descriptors.Descriptorcom.google.protobuf.Descriptors.DescriptorgetName()Required.com.google.protobuf.ByteStringRequired.Required.com.google.protobuf.ByteStringRequired.booleanOptional.booleanOptional.protected com.google.protobuf.GeneratedMessage.FieldAccessorTablefinal booleanmergeConditionalFailoverReplicationTime(com.google.protobuf.Timestamp value) Optional.mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) mergeFrom(com.google.protobuf.Message other) setConditionalFailoverReplicationTime(com.google.protobuf.Timestamp value) Optional.setConditionalFailoverReplicationTime(com.google.protobuf.Timestamp.Builder builderForValue) Optional.Required.setNameBytes(com.google.protobuf.ByteString value) Required.setPrimaryReplica(String value) Required.setPrimaryReplicaBytes(com.google.protobuf.ByteString value) Required.setValidateOnly(boolean value) Optional.Methods inherited from class com.google.protobuf.GeneratedMessage.Builder
addRepeatedField, clearField, clearOneof, clone, getAllFields, getField, getFieldBuilder, getOneofFieldDescriptor, getParentForChildren, getRepeatedField, getRepeatedFieldBuilder, getRepeatedFieldCount, getUnknownFields, getUnknownFieldSetBuilder, hasField, hasOneof, internalGetMapField, internalGetMapFieldReflection, internalGetMutableMapField, internalGetMutableMapFieldReflection, isClean, markClean, mergeUnknownFields, mergeUnknownLengthDelimitedField, mergeUnknownVarintField, newBuilderForField, onBuilt, onChanged, parseUnknownField, setField, setRepeatedField, setUnknownFields, setUnknownFieldSetBuilder, setUnknownFieldsProto3Methods inherited from class com.google.protobuf.AbstractMessage.Builder
findInitializationErrors, getInitializationErrorString, internalMergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException, toStringMethods inherited from class com.google.protobuf.AbstractMessageLite.Builder
addAll, addAll, mergeDelimitedFrom, mergeDelimitedFrom, mergeFrom, newUninitializedMessageExceptionMethods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitMethods inherited from interface com.google.protobuf.Message.Builder
mergeDelimitedFrom, mergeDelimitedFromMethods inherited from interface com.google.protobuf.MessageLite.Builder
mergeFromMethods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
Method Details
-
getDescriptor
public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() -
internalGetFieldAccessorTable
protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()- Specified by:
internalGetFieldAccessorTablein classcom.google.protobuf.GeneratedMessage.Builder<FailoverIcebergCatalogRequest.Builder>
-
clear
- Specified by:
clearin interfacecom.google.protobuf.Message.Builder- Specified by:
clearin interfacecom.google.protobuf.MessageLite.Builder- Overrides:
clearin classcom.google.protobuf.GeneratedMessage.Builder<FailoverIcebergCatalogRequest.Builder>
-
getDescriptorForType
public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()- Specified by:
getDescriptorForTypein interfacecom.google.protobuf.Message.Builder- Specified by:
getDescriptorForTypein interfacecom.google.protobuf.MessageOrBuilder- Overrides:
getDescriptorForTypein classcom.google.protobuf.GeneratedMessage.Builder<FailoverIcebergCatalogRequest.Builder>
-
getDefaultInstanceForType
- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageLiteOrBuilder- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageOrBuilder
-
build
- Specified by:
buildin interfacecom.google.protobuf.Message.Builder- Specified by:
buildin interfacecom.google.protobuf.MessageLite.Builder
-
buildPartial
- Specified by:
buildPartialin interfacecom.google.protobuf.Message.Builder- Specified by:
buildPartialin interfacecom.google.protobuf.MessageLite.Builder
-
mergeFrom
- Specified by:
mergeFromin interfacecom.google.protobuf.Message.Builder- Overrides:
mergeFromin classcom.google.protobuf.AbstractMessage.Builder<FailoverIcebergCatalogRequest.Builder>
-
mergeFrom
-
isInitialized
public final boolean isInitialized()- Specified by:
isInitializedin interfacecom.google.protobuf.MessageLiteOrBuilder- Overrides:
isInitializedin classcom.google.protobuf.GeneratedMessage.Builder<FailoverIcebergCatalogRequest.Builder>
-
mergeFrom
public FailoverIcebergCatalogRequest.Builder mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException - Specified by:
mergeFromin interfacecom.google.protobuf.Message.Builder- Specified by:
mergeFromin interfacecom.google.protobuf.MessageLite.Builder- Overrides:
mergeFromin classcom.google.protobuf.AbstractMessage.Builder<FailoverIcebergCatalogRequest.Builder>- Throws:
IOException
-
getName
Required. The name of the catalog in the form "projects/{project_id}/catalogs/{catalog_id}"string name = 1 [(.google.api.field_behavior) = REQUIRED];- Specified by:
getNamein interfaceFailoverIcebergCatalogRequestOrBuilder- Returns:
- The name.
-
getNameBytes
public 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];- Specified by:
getNameBytesin interfaceFailoverIcebergCatalogRequestOrBuilder- Returns:
- The bytes for name.
-
setName
Required. The name of the catalog in the form "projects/{project_id}/catalogs/{catalog_id}"string name = 1 [(.google.api.field_behavior) = REQUIRED];- Parameters:
value- The name to set.- Returns:
- This builder for chaining.
-
clearName
Required. The name of the catalog in the form "projects/{project_id}/catalogs/{catalog_id}"string name = 1 [(.google.api.field_behavior) = REQUIRED];- Returns:
- This builder for chaining.
-
setNameBytes
Required. The name of the catalog in the form "projects/{project_id}/catalogs/{catalog_id}"string name = 1 [(.google.api.field_behavior) = REQUIRED];- Parameters:
value- The bytes for name to set.- Returns:
- This builder for chaining.
-
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];- Specified by:
getPrimaryReplicain interfaceFailoverIcebergCatalogRequestOrBuilder- Returns:
- The primaryReplica.
-
getPrimaryReplicaBytes
public 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];- Specified by:
getPrimaryReplicaBytesin interfaceFailoverIcebergCatalogRequestOrBuilder- Returns:
- The bytes for primaryReplica.
-
setPrimaryReplica
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];- Parameters:
value- The primaryReplica to set.- Returns:
- This builder for chaining.
-
clearPrimaryReplica
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:
- This builder for chaining.
-
setPrimaryReplicaBytes
public FailoverIcebergCatalogRequest.Builder setPrimaryReplicaBytes(com.google.protobuf.ByteString value) 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];- Parameters:
value- The bytes for primaryReplica to set.- Returns:
- This builder for chaining.
-
getValidateOnly
public 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];- Specified by:
getValidateOnlyin interfaceFailoverIcebergCatalogRequestOrBuilder- Returns:
- The validateOnly.
-
setValidateOnly
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];- Parameters:
value- The validateOnly to set.- Returns:
- This builder for chaining.
-
clearValidateOnly
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:
- This builder for chaining.
-
hasConditionalFailoverReplicationTime
public 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];- Specified by:
hasConditionalFailoverReplicationTimein interfaceFailoverIcebergCatalogRequestOrBuilder- Returns:
- Whether the conditionalFailoverReplicationTime field is set.
-
getConditionalFailoverReplicationTime
public 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];- Specified by:
getConditionalFailoverReplicationTimein interfaceFailoverIcebergCatalogRequestOrBuilder- Returns:
- The conditionalFailoverReplicationTime.
-
setConditionalFailoverReplicationTime
public FailoverIcebergCatalogRequest.Builder setConditionalFailoverReplicationTime(com.google.protobuf.Timestamp value) 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]; -
setConditionalFailoverReplicationTime
public FailoverIcebergCatalogRequest.Builder setConditionalFailoverReplicationTime(com.google.protobuf.Timestamp.Builder builderForValue) 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]; -
mergeConditionalFailoverReplicationTime
public FailoverIcebergCatalogRequest.Builder mergeConditionalFailoverReplicationTime(com.google.protobuf.Timestamp value) 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]; -
clearConditionalFailoverReplicationTime
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]; -
getConditionalFailoverReplicationTimeBuilder
public com.google.protobuf.Timestamp.Builder getConditionalFailoverReplicationTimeBuilder()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]; -
getConditionalFailoverReplicationTimeOrBuilder
public 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];- Specified by:
getConditionalFailoverReplicationTimeOrBuilderin interfaceFailoverIcebergCatalogRequestOrBuilder
-