Package com.google.bigtable.admin.v2
Class CheckConsistencyRequest.Builder
java.lang.Object
com.google.protobuf.AbstractMessageLite.Builder
com.google.protobuf.AbstractMessage.Builder<BuilderT>
com.google.protobuf.GeneratedMessageV3.Builder<CheckConsistencyRequest.Builder>
com.google.bigtable.admin.v2.CheckConsistencyRequest.Builder
- All Implemented Interfaces:
CheckConsistencyRequestOrBuilder,com.google.protobuf.Message.Builder,com.google.protobuf.MessageLite.Builder,com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder,Cloneable
- Enclosing class:
- CheckConsistencyRequest
public static final class CheckConsistencyRequest.Builder
extends com.google.protobuf.GeneratedMessageV3.Builder<CheckConsistencyRequest.Builder>
implements CheckConsistencyRequestOrBuilder
Request message for [google.bigtable.admin.v2.BigtableTableAdmin.CheckConsistency][google.bigtable.admin.v2.BigtableTableAdmin.CheckConsistency]Protobuf type
google.bigtable.admin.v2.CheckConsistencyRequest-
Method Summary
Modifier and TypeMethodDescriptionaddRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value) build()clear()Required.Checks that reads using an app profile with `DataBoostIsolationReadOnly` can see all writes committed before the token was created, but only if the read and write target the same cluster.clearField(com.google.protobuf.Descriptors.FieldDescriptor field) Required.clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) Checks that reads using an app profile with `StandardIsolation` can see all writes committed before the token was created, even if the read and write target different clusters.clone()Required.com.google.protobuf.ByteStringRequired.Checks that reads using an app profile with `DataBoostIsolationReadOnly` can see all writes committed before the token was created, but only if the read and write target the same cluster.Checks that reads using an app profile with `DataBoostIsolationReadOnly` can see all writes committed before the token was created, but only if the read and write target the same cluster.Checks that reads using an app profile with `DataBoostIsolationReadOnly` can see all writes committed before the token was created, but only if the read and write target the same cluster.static final com.google.protobuf.Descriptors.Descriptorcom.google.protobuf.Descriptors.DescriptorgetName()Required.com.google.protobuf.ByteStringRequired.Checks that reads using an app profile with `StandardIsolation` can see all writes committed before the token was created, even if the read and write target different clusters.Checks that reads using an app profile with `StandardIsolation` can see all writes committed before the token was created, even if the read and write target different clusters.Checks that reads using an app profile with `StandardIsolation` can see all writes committed before the token was created, even if the read and write target different clusters.booleanChecks that reads using an app profile with `DataBoostIsolationReadOnly` can see all writes committed before the token was created, but only if the read and write target the same cluster.booleanChecks that reads using an app profile with `StandardIsolation` can see all writes committed before the token was created, even if the read and write target different clusters.protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTablefinal booleanChecks that reads using an app profile with `DataBoostIsolationReadOnly` can see all writes committed before the token was created, but only if the read and write target the same cluster.mergeFrom(CheckConsistencyRequest other) mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) mergeFrom(com.google.protobuf.Message other) Checks that reads using an app profile with `StandardIsolation` can see all writes committed before the token was created, even if the read and write target different clusters.mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) setConsistencyToken(String value) Required.setConsistencyTokenBytes(com.google.protobuf.ByteString value) Required.Checks that reads using an app profile with `DataBoostIsolationReadOnly` can see all writes committed before the token was created, but only if the read and write target the same cluster.setDataBoostReadLocalWrites(DataBoostReadLocalWrites.Builder builderForValue) Checks that reads using an app profile with `DataBoostIsolationReadOnly` can see all writes committed before the token was created, but only if the read and write target the same cluster.Required.setNameBytes(com.google.protobuf.ByteString value) Required.setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, Object value) Checks that reads using an app profile with `StandardIsolation` can see all writes committed before the token was created, even if the read and write target different clusters.setStandardReadRemoteWrites(StandardReadRemoteWrites.Builder builderForValue) Checks that reads using an app profile with `StandardIsolation` can see all writes committed before the token was created, even if the read and write target different clusters.setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) Methods inherited from class com.google.protobuf.GeneratedMessageV3.Builder
getAllFields, getField, getFieldBuilder, getOneofFieldDescriptor, getParentForChildren, getRepeatedField, getRepeatedFieldBuilder, getRepeatedFieldCount, getUnknownFields, getUnknownFieldSetBuilder, hasField, hasOneof, internalGetMapField, internalGetMapFieldReflection, internalGetMutableMapField, internalGetMutableMapFieldReflection, isClean, markClean, mergeUnknownLengthDelimitedField, mergeUnknownVarintField, newBuilderForField, onBuilt, onChanged, parseUnknownField, 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.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()- Specified by:
internalGetFieldAccessorTablein classcom.google.protobuf.GeneratedMessageV3.Builder<CheckConsistencyRequest.Builder>
-
clear
- Specified by:
clearin interfacecom.google.protobuf.Message.Builder- Specified by:
clearin interfacecom.google.protobuf.MessageLite.Builder- Overrides:
clearin classcom.google.protobuf.GeneratedMessageV3.Builder<CheckConsistencyRequest.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.GeneratedMessageV3.Builder<CheckConsistencyRequest.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
-
clone
- Specified by:
clonein interfacecom.google.protobuf.Message.Builder- Specified by:
clonein interfacecom.google.protobuf.MessageLite.Builder- Overrides:
clonein classcom.google.protobuf.GeneratedMessageV3.Builder<CheckConsistencyRequest.Builder>
-
setField
public CheckConsistencyRequest.Builder setField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value) - Specified by:
setFieldin interfacecom.google.protobuf.Message.Builder- Overrides:
setFieldin classcom.google.protobuf.GeneratedMessageV3.Builder<CheckConsistencyRequest.Builder>
-
clearField
public CheckConsistencyRequest.Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) - Specified by:
clearFieldin interfacecom.google.protobuf.Message.Builder- Overrides:
clearFieldin classcom.google.protobuf.GeneratedMessageV3.Builder<CheckConsistencyRequest.Builder>
-
clearOneof
public CheckConsistencyRequest.Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) - Specified by:
clearOneofin interfacecom.google.protobuf.Message.Builder- Overrides:
clearOneofin classcom.google.protobuf.GeneratedMessageV3.Builder<CheckConsistencyRequest.Builder>
-
setRepeatedField
public CheckConsistencyRequest.Builder setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, Object value) - Specified by:
setRepeatedFieldin interfacecom.google.protobuf.Message.Builder- Overrides:
setRepeatedFieldin classcom.google.protobuf.GeneratedMessageV3.Builder<CheckConsistencyRequest.Builder>
-
addRepeatedField
public CheckConsistencyRequest.Builder addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value) - Specified by:
addRepeatedFieldin interfacecom.google.protobuf.Message.Builder- Overrides:
addRepeatedFieldin classcom.google.protobuf.GeneratedMessageV3.Builder<CheckConsistencyRequest.Builder>
-
mergeFrom
- Specified by:
mergeFromin interfacecom.google.protobuf.Message.Builder- Overrides:
mergeFromin classcom.google.protobuf.AbstractMessage.Builder<CheckConsistencyRequest.Builder>
-
mergeFrom
-
isInitialized
public final boolean isInitialized()- Specified by:
isInitializedin interfacecom.google.protobuf.MessageLiteOrBuilder- Overrides:
isInitializedin classcom.google.protobuf.GeneratedMessageV3.Builder<CheckConsistencyRequest.Builder>
-
mergeFrom
public CheckConsistencyRequest.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<CheckConsistencyRequest.Builder>- Throws:
IOException
-
getModeCase
- Specified by:
getModeCasein interfaceCheckConsistencyRequestOrBuilder
-
clearMode
-
getName
Required. The unique name of the Table for which to check replication consistency. Values are of the form `projects/{project}/instances/{instance}/tables/{table}`.string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }- Specified by:
getNamein interfaceCheckConsistencyRequestOrBuilder- Returns:
- The name.
-
getNameBytes
public com.google.protobuf.ByteString getNameBytes()Required. The unique name of the Table for which to check replication consistency. Values are of the form `projects/{project}/instances/{instance}/tables/{table}`.string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }- Specified by:
getNameBytesin interfaceCheckConsistencyRequestOrBuilder- Returns:
- The bytes for name.
-
setName
Required. The unique name of the Table for which to check replication consistency. Values are of the form `projects/{project}/instances/{instance}/tables/{table}`.string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }- Parameters:
value- The name to set.- Returns:
- This builder for chaining.
-
clearName
Required. The unique name of the Table for which to check replication consistency. Values are of the form `projects/{project}/instances/{instance}/tables/{table}`.string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }- Returns:
- This builder for chaining.
-
setNameBytes
Required. The unique name of the Table for which to check replication consistency. Values are of the form `projects/{project}/instances/{instance}/tables/{table}`.string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }- Parameters:
value- The bytes for name to set.- Returns:
- This builder for chaining.
-
getConsistencyToken
Required. The token created using GenerateConsistencyToken for the Table.
string consistency_token = 2 [(.google.api.field_behavior) = REQUIRED];- Specified by:
getConsistencyTokenin interfaceCheckConsistencyRequestOrBuilder- Returns:
- The consistencyToken.
-
getConsistencyTokenBytes
public com.google.protobuf.ByteString getConsistencyTokenBytes()Required. The token created using GenerateConsistencyToken for the Table.
string consistency_token = 2 [(.google.api.field_behavior) = REQUIRED];- Specified by:
getConsistencyTokenBytesin interfaceCheckConsistencyRequestOrBuilder- Returns:
- The bytes for consistencyToken.
-
setConsistencyToken
Required. The token created using GenerateConsistencyToken for the Table.
string consistency_token = 2 [(.google.api.field_behavior) = REQUIRED];- Parameters:
value- The consistencyToken to set.- Returns:
- This builder for chaining.
-
clearConsistencyToken
Required. The token created using GenerateConsistencyToken for the Table.
string consistency_token = 2 [(.google.api.field_behavior) = REQUIRED];- Returns:
- This builder for chaining.
-
setConsistencyTokenBytes
public CheckConsistencyRequest.Builder setConsistencyTokenBytes(com.google.protobuf.ByteString value) Required. The token created using GenerateConsistencyToken for the Table.
string consistency_token = 2 [(.google.api.field_behavior) = REQUIRED];- Parameters:
value- The bytes for consistencyToken to set.- Returns:
- This builder for chaining.
-
hasStandardReadRemoteWrites
public boolean hasStandardReadRemoteWrites()Checks that reads using an app profile with `StandardIsolation` can see all writes committed before the token was created, even if the read and write target different clusters.
.google.bigtable.admin.v2.StandardReadRemoteWrites standard_read_remote_writes = 3;- Specified by:
hasStandardReadRemoteWritesin interfaceCheckConsistencyRequestOrBuilder- Returns:
- Whether the standardReadRemoteWrites field is set.
-
getStandardReadRemoteWrites
Checks that reads using an app profile with `StandardIsolation` can see all writes committed before the token was created, even if the read and write target different clusters.
.google.bigtable.admin.v2.StandardReadRemoteWrites standard_read_remote_writes = 3;- Specified by:
getStandardReadRemoteWritesin interfaceCheckConsistencyRequestOrBuilder- Returns:
- The standardReadRemoteWrites.
-
setStandardReadRemoteWrites
Checks that reads using an app profile with `StandardIsolation` can see all writes committed before the token was created, even if the read and write target different clusters.
.google.bigtable.admin.v2.StandardReadRemoteWrites standard_read_remote_writes = 3; -
setStandardReadRemoteWrites
public CheckConsistencyRequest.Builder setStandardReadRemoteWrites(StandardReadRemoteWrites.Builder builderForValue) Checks that reads using an app profile with `StandardIsolation` can see all writes committed before the token was created, even if the read and write target different clusters.
.google.bigtable.admin.v2.StandardReadRemoteWrites standard_read_remote_writes = 3; -
mergeStandardReadRemoteWrites
public CheckConsistencyRequest.Builder mergeStandardReadRemoteWrites(StandardReadRemoteWrites value) Checks that reads using an app profile with `StandardIsolation` can see all writes committed before the token was created, even if the read and write target different clusters.
.google.bigtable.admin.v2.StandardReadRemoteWrites standard_read_remote_writes = 3; -
clearStandardReadRemoteWrites
Checks that reads using an app profile with `StandardIsolation` can see all writes committed before the token was created, even if the read and write target different clusters.
.google.bigtable.admin.v2.StandardReadRemoteWrites standard_read_remote_writes = 3; -
getStandardReadRemoteWritesBuilder
Checks that reads using an app profile with `StandardIsolation` can see all writes committed before the token was created, even if the read and write target different clusters.
.google.bigtable.admin.v2.StandardReadRemoteWrites standard_read_remote_writes = 3; -
getStandardReadRemoteWritesOrBuilder
Checks that reads using an app profile with `StandardIsolation` can see all writes committed before the token was created, even if the read and write target different clusters.
.google.bigtable.admin.v2.StandardReadRemoteWrites standard_read_remote_writes = 3;- Specified by:
getStandardReadRemoteWritesOrBuilderin interfaceCheckConsistencyRequestOrBuilder
-
hasDataBoostReadLocalWrites
public boolean hasDataBoostReadLocalWrites()Checks that reads using an app profile with `DataBoostIsolationReadOnly` can see all writes committed before the token was created, but only if the read and write target the same cluster.
.google.bigtable.admin.v2.DataBoostReadLocalWrites data_boost_read_local_writes = 4;- Specified by:
hasDataBoostReadLocalWritesin interfaceCheckConsistencyRequestOrBuilder- Returns:
- Whether the dataBoostReadLocalWrites field is set.
-
getDataBoostReadLocalWrites
Checks that reads using an app profile with `DataBoostIsolationReadOnly` can see all writes committed before the token was created, but only if the read and write target the same cluster.
.google.bigtable.admin.v2.DataBoostReadLocalWrites data_boost_read_local_writes = 4;- Specified by:
getDataBoostReadLocalWritesin interfaceCheckConsistencyRequestOrBuilder- Returns:
- The dataBoostReadLocalWrites.
-
setDataBoostReadLocalWrites
Checks that reads using an app profile with `DataBoostIsolationReadOnly` can see all writes committed before the token was created, but only if the read and write target the same cluster.
.google.bigtable.admin.v2.DataBoostReadLocalWrites data_boost_read_local_writes = 4; -
setDataBoostReadLocalWrites
public CheckConsistencyRequest.Builder setDataBoostReadLocalWrites(DataBoostReadLocalWrites.Builder builderForValue) Checks that reads using an app profile with `DataBoostIsolationReadOnly` can see all writes committed before the token was created, but only if the read and write target the same cluster.
.google.bigtable.admin.v2.DataBoostReadLocalWrites data_boost_read_local_writes = 4; -
mergeDataBoostReadLocalWrites
public CheckConsistencyRequest.Builder mergeDataBoostReadLocalWrites(DataBoostReadLocalWrites value) Checks that reads using an app profile with `DataBoostIsolationReadOnly` can see all writes committed before the token was created, but only if the read and write target the same cluster.
.google.bigtable.admin.v2.DataBoostReadLocalWrites data_boost_read_local_writes = 4; -
clearDataBoostReadLocalWrites
Checks that reads using an app profile with `DataBoostIsolationReadOnly` can see all writes committed before the token was created, but only if the read and write target the same cluster.
.google.bigtable.admin.v2.DataBoostReadLocalWrites data_boost_read_local_writes = 4; -
getDataBoostReadLocalWritesBuilder
Checks that reads using an app profile with `DataBoostIsolationReadOnly` can see all writes committed before the token was created, but only if the read and write target the same cluster.
.google.bigtable.admin.v2.DataBoostReadLocalWrites data_boost_read_local_writes = 4; -
getDataBoostReadLocalWritesOrBuilder
Checks that reads using an app profile with `DataBoostIsolationReadOnly` can see all writes committed before the token was created, but only if the read and write target the same cluster.
.google.bigtable.admin.v2.DataBoostReadLocalWrites data_boost_read_local_writes = 4;- Specified by:
getDataBoostReadLocalWritesOrBuilderin interfaceCheckConsistencyRequestOrBuilder
-
setUnknownFields
public final CheckConsistencyRequest.Builder setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) - Specified by:
setUnknownFieldsin interfacecom.google.protobuf.Message.Builder- Overrides:
setUnknownFieldsin classcom.google.protobuf.GeneratedMessageV3.Builder<CheckConsistencyRequest.Builder>
-
mergeUnknownFields
public final CheckConsistencyRequest.Builder mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) - Specified by:
mergeUnknownFieldsin interfacecom.google.protobuf.Message.Builder- Overrides:
mergeUnknownFieldsin classcom.google.protobuf.GeneratedMessageV3.Builder<CheckConsistencyRequest.Builder>
-