Class GenerateConsistencyTokenRequest.Builder (2.10.2)

public static final class GenerateConsistencyTokenRequest.Builder extends GeneratedMessageV3.Builder<GenerateConsistencyTokenRequest.Builder> implements GenerateConsistencyTokenRequestOrBuilder

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

Protobuf type google.bigtable.admin.v2.GenerateConsistencyTokenRequest

Static Methods

getDescriptor()

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

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

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

build()

public GenerateConsistencyTokenRequest build()
Returns
TypeDescription
GenerateConsistencyTokenRequest

buildPartial()

public GenerateConsistencyTokenRequest buildPartial()
Returns
TypeDescription
GenerateConsistencyTokenRequest

clear()

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

clearField(Descriptors.FieldDescriptor field)

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

clearName()

public GenerateConsistencyTokenRequest.Builder clearName()

Required. The unique name of the Table for which to create a consistency token. 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
GenerateConsistencyTokenRequest.Builder

This builder for chaining.

clearOneof(Descriptors.OneofDescriptor oneof)

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

clone()

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

getDefaultInstanceForType()

public GenerateConsistencyTokenRequest getDefaultInstanceForType()
Returns
TypeDescription
GenerateConsistencyTokenRequest

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
TypeDescription
Descriptor
Overrides

getName()

public String getName()

Required. The unique name of the Table for which to create a consistency token. 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 create a consistency token. 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(GenerateConsistencyTokenRequest other)

public GenerateConsistencyTokenRequest.Builder mergeFrom(GenerateConsistencyTokenRequest other)
Parameter
NameDescription
otherGenerateConsistencyTokenRequest
Returns
TypeDescription
GenerateConsistencyTokenRequest.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

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

mergeUnknownFields(UnknownFieldSet unknownFields)

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

setField(Descriptors.FieldDescriptor field, Object value)

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

setName(String value)

public GenerateConsistencyTokenRequest.Builder setName(String value)

Required. The unique name of the Table for which to create a consistency token. 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
GenerateConsistencyTokenRequest.Builder

This builder for chaining.

setNameBytes(ByteString value)

public GenerateConsistencyTokenRequest.Builder setNameBytes(ByteString value)

Required. The unique name of the Table for which to create a consistency token. 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
GenerateConsistencyTokenRequest.Builder

This builder for chaining.

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

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

setUnknownFields(UnknownFieldSet unknownFields)

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