Class GenerateConsistencyTokenResponse.Builder (2.5.3)

public static final class GenerateConsistencyTokenResponse.Builder extends GeneratedMessageV3.Builder<GenerateConsistencyTokenResponse.Builder> implements GenerateConsistencyTokenResponseOrBuilder

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

Protobuf type google.bigtable.admin.v2.GenerateConsistencyTokenResponse

Static Methods

getDescriptor()

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

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

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

build()

public GenerateConsistencyTokenResponse build()
Returns
TypeDescription
GenerateConsistencyTokenResponse

buildPartial()

public GenerateConsistencyTokenResponse buildPartial()
Returns
TypeDescription
GenerateConsistencyTokenResponse

clear()

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

clearConsistencyToken()

public GenerateConsistencyTokenResponse.Builder clearConsistencyToken()

The generated consistency token.

string consistency_token = 1;

Returns
TypeDescription
GenerateConsistencyTokenResponse.Builder

This builder for chaining.

clearField(Descriptors.FieldDescriptor field)

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

clearOneof(Descriptors.OneofDescriptor oneof)

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

clone()

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

getConsistencyToken()

public String getConsistencyToken()

The generated consistency token.

string consistency_token = 1;

Returns
TypeDescription
String

The consistencyToken.

getConsistencyTokenBytes()

public ByteString getConsistencyTokenBytes()

The generated consistency token.

string consistency_token = 1;

Returns
TypeDescription
ByteString

The bytes for consistencyToken.

getDefaultInstanceForType()

public GenerateConsistencyTokenResponse getDefaultInstanceForType()
Returns
TypeDescription
GenerateConsistencyTokenResponse

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
TypeDescription
Descriptor
Overrides

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
TypeDescription
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
TypeDescription
boolean
Overrides

mergeFrom(GenerateConsistencyTokenResponse other)

public GenerateConsistencyTokenResponse.Builder mergeFrom(GenerateConsistencyTokenResponse other)
Parameter
NameDescription
otherGenerateConsistencyTokenResponse
Returns
TypeDescription
GenerateConsistencyTokenResponse.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

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

mergeUnknownFields(UnknownFieldSet unknownFields)

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

setConsistencyToken(String value)

public GenerateConsistencyTokenResponse.Builder setConsistencyToken(String value)

The generated consistency token.

string consistency_token = 1;

Parameter
NameDescription
valueString

The consistencyToken to set.

Returns
TypeDescription
GenerateConsistencyTokenResponse.Builder

This builder for chaining.

setConsistencyTokenBytes(ByteString value)

public GenerateConsistencyTokenResponse.Builder setConsistencyTokenBytes(ByteString value)

The generated consistency token.

string consistency_token = 1;

Parameter
NameDescription
valueByteString

The bytes for consistencyToken to set.

Returns
TypeDescription
GenerateConsistencyTokenResponse.Builder

This builder for chaining.

setField(Descriptors.FieldDescriptor field, Object value)

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

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

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

setUnknownFields(UnknownFieldSet unknownFields)

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