Class CheckConsistencyRequest.Builder (2.9.0)

public static final class CheckConsistencyRequest.Builder extends GeneratedMessageV3.Builder<CheckConsistencyRequest.Builder> implements CheckConsistencyRequestOrBuilder

Request message for google.bigtable.admin.v2.BigtableTableAdmin.CheckConsistency

Protobuf type google.bigtable.admin.v2.CheckConsistencyRequest

Static Methods

getDescriptor()

public static final Descriptors.Descriptor getDescriptor()
Returns
TypeDescription
Descriptor

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

public CheckConsistencyRequest.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
NameDescription
fieldFieldDescriptor
valueObject
Returns
TypeDescription
CheckConsistencyRequest.Builder
Overrides

build()

public CheckConsistencyRequest build()
Returns
TypeDescription
CheckConsistencyRequest

buildPartial()

public CheckConsistencyRequest buildPartial()
Returns
TypeDescription
CheckConsistencyRequest

clear()

public CheckConsistencyRequest.Builder clear()
Returns
TypeDescription
CheckConsistencyRequest.Builder
Overrides

clearConsistencyToken()

public CheckConsistencyRequest.Builder clearConsistencyToken()

Required. The token created using GenerateConsistencyToken for the Table.

string consistency_token = 2 [(.google.api.field_behavior) = REQUIRED];

Returns
TypeDescription
CheckConsistencyRequest.Builder

This builder for chaining.

clearField(Descriptors.FieldDescriptor field)

public CheckConsistencyRequest.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
NameDescription
fieldFieldDescriptor
Returns
TypeDescription
CheckConsistencyRequest.Builder
Overrides

clearName()

public CheckConsistencyRequest.Builder 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
TypeDescription
CheckConsistencyRequest.Builder

This builder for chaining.

clearOneof(Descriptors.OneofDescriptor oneof)

public CheckConsistencyRequest.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
NameDescription
oneofOneofDescriptor
Returns
TypeDescription
CheckConsistencyRequest.Builder
Overrides

clone()

public CheckConsistencyRequest.Builder clone()
Returns
TypeDescription
CheckConsistencyRequest.Builder
Overrides

getConsistencyToken()

public String getConsistencyToken()

Required. The token created using GenerateConsistencyToken for the Table.

string consistency_token = 2 [(.google.api.field_behavior) = REQUIRED];

Returns
TypeDescription
String

The consistencyToken.

getConsistencyTokenBytes()

public ByteString getConsistencyTokenBytes()

Required. The token created using GenerateConsistencyToken for the Table.

string consistency_token = 2 [(.google.api.field_behavior) = REQUIRED];

Returns
TypeDescription
ByteString

The bytes for consistencyToken.

getDefaultInstanceForType()

public CheckConsistencyRequest getDefaultInstanceForType()
Returns
TypeDescription
CheckConsistencyRequest

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
TypeDescription
Descriptor
Overrides

getName()

public String 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) = { ... }

Returns
TypeDescription
String

The name.

getNameBytes()

public 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) = { ... }

Returns
TypeDescription
ByteString

The bytes for name.

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
TypeDescription
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
TypeDescription
boolean
Overrides

mergeFrom(CheckConsistencyRequest other)

public CheckConsistencyRequest.Builder mergeFrom(CheckConsistencyRequest other)
Parameter
NameDescription
otherCheckConsistencyRequest
Returns
TypeDescription
CheckConsistencyRequest.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public CheckConsistencyRequest.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputCodedInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
CheckConsistencyRequest.Builder
Overrides Exceptions
TypeDescription
IOException

mergeFrom(Message other)

public CheckConsistencyRequest.Builder mergeFrom(Message other)
Parameter
NameDescription
otherMessage
Returns
TypeDescription
CheckConsistencyRequest.Builder
Overrides

mergeUnknownFields(UnknownFieldSet unknownFields)

public final CheckConsistencyRequest.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
NameDescription
unknownFieldsUnknownFieldSet
Returns
TypeDescription
CheckConsistencyRequest.Builder
Overrides

setConsistencyToken(String value)

public CheckConsistencyRequest.Builder setConsistencyToken(String value)

Required. The token created using GenerateConsistencyToken for the Table.

string consistency_token = 2 [(.google.api.field_behavior) = REQUIRED];

Parameter
NameDescription
valueString

The consistencyToken to set.

Returns
TypeDescription
CheckConsistencyRequest.Builder

This builder for chaining.

setConsistencyTokenBytes(ByteString value)

public CheckConsistencyRequest.Builder setConsistencyTokenBytes(ByteString value)

Required. The token created using GenerateConsistencyToken for the Table.

string consistency_token = 2 [(.google.api.field_behavior) = REQUIRED];

Parameter
NameDescription
valueByteString

The bytes for consistencyToken to set.

Returns
TypeDescription
CheckConsistencyRequest.Builder

This builder for chaining.

setField(Descriptors.FieldDescriptor field, Object value)

public CheckConsistencyRequest.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
NameDescription
fieldFieldDescriptor
valueObject
Returns
TypeDescription
CheckConsistencyRequest.Builder
Overrides

setName(String value)

public CheckConsistencyRequest.Builder setName(String value)

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) = { ... }

Parameter
NameDescription
valueString

The name to set.

Returns
TypeDescription
CheckConsistencyRequest.Builder

This builder for chaining.

setNameBytes(ByteString value)

public CheckConsistencyRequest.Builder setNameBytes(ByteString value)

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) = { ... }

Parameter
NameDescription
valueByteString

The bytes for name to set.

Returns
TypeDescription
CheckConsistencyRequest.Builder

This builder for chaining.

setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)

public CheckConsistencyRequest.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters
NameDescription
fieldFieldDescriptor
indexint
valueObject
Returns
TypeDescription
CheckConsistencyRequest.Builder
Overrides

setUnknownFields(UnknownFieldSet unknownFields)

public final CheckConsistencyRequest.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
NameDescription
unknownFieldsUnknownFieldSet
Returns
TypeDescription
CheckConsistencyRequest.Builder
Overrides