Class SampleRowKeysRequest.Builder (2.17.1)

public static final class SampleRowKeysRequest.Builder extends GeneratedMessageV3.Builder<SampleRowKeysRequest.Builder> implements SampleRowKeysRequestOrBuilder

Request message for Bigtable.SampleRowKeys.

Protobuf type google.bigtable.v2.SampleRowKeysRequest

Static Methods

getDescriptor()

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

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

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

build()

public SampleRowKeysRequest build()
Returns
TypeDescription
SampleRowKeysRequest

buildPartial()

public SampleRowKeysRequest buildPartial()
Returns
TypeDescription
SampleRowKeysRequest

clear()

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

clearAppProfileId()

public SampleRowKeysRequest.Builder clearAppProfileId()

This value specifies routing for replication. If not specified, the "default" application profile will be used.

string app_profile_id = 2;

Returns
TypeDescription
SampleRowKeysRequest.Builder

This builder for chaining.

clearField(Descriptors.FieldDescriptor field)

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

clearOneof(Descriptors.OneofDescriptor oneof)

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

clearTableName()

public SampleRowKeysRequest.Builder clearTableName()

Required. The unique name of the table from which to sample row keys. Values are of the form projects/<project>/instances/<instance>/tables/<table>.

string table_name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }

Returns
TypeDescription
SampleRowKeysRequest.Builder

This builder for chaining.

clone()

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

getAppProfileId()

public String getAppProfileId()

This value specifies routing for replication. If not specified, the "default" application profile will be used.

string app_profile_id = 2;

Returns
TypeDescription
String

The appProfileId.

getAppProfileIdBytes()

public ByteString getAppProfileIdBytes()

This value specifies routing for replication. If not specified, the "default" application profile will be used.

string app_profile_id = 2;

Returns
TypeDescription
ByteString

The bytes for appProfileId.

getDefaultInstanceForType()

public SampleRowKeysRequest getDefaultInstanceForType()
Returns
TypeDescription
SampleRowKeysRequest

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
TypeDescription
Descriptor
Overrides

getTableName()

public String getTableName()

Required. The unique name of the table from which to sample row keys. Values are of the form projects/<project>/instances/<instance>/tables/<table>.

string table_name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }

Returns
TypeDescription
String

The tableName.

getTableNameBytes()

public ByteString getTableNameBytes()

Required. The unique name of the table from which to sample row keys. Values are of the form projects/<project>/instances/<instance>/tables/<table>.

string table_name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }

Returns
TypeDescription
ByteString

The bytes for tableName.

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
TypeDescription
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
TypeDescription
boolean
Overrides

mergeFrom(SampleRowKeysRequest other)

public SampleRowKeysRequest.Builder mergeFrom(SampleRowKeysRequest other)
Parameter
NameDescription
otherSampleRowKeysRequest
Returns
TypeDescription
SampleRowKeysRequest.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

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

mergeUnknownFields(UnknownFieldSet unknownFields)

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

setAppProfileId(String value)

public SampleRowKeysRequest.Builder setAppProfileId(String value)

This value specifies routing for replication. If not specified, the "default" application profile will be used.

string app_profile_id = 2;

Parameter
NameDescription
valueString

The appProfileId to set.

Returns
TypeDescription
SampleRowKeysRequest.Builder

This builder for chaining.

setAppProfileIdBytes(ByteString value)

public SampleRowKeysRequest.Builder setAppProfileIdBytes(ByteString value)

This value specifies routing for replication. If not specified, the "default" application profile will be used.

string app_profile_id = 2;

Parameter
NameDescription
valueByteString

The bytes for appProfileId to set.

Returns
TypeDescription
SampleRowKeysRequest.Builder

This builder for chaining.

setField(Descriptors.FieldDescriptor field, Object value)

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

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

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

setTableName(String value)

public SampleRowKeysRequest.Builder setTableName(String value)

Required. The unique name of the table from which to sample row keys. Values are of the form projects/<project>/instances/<instance>/tables/<table>.

string table_name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }

Parameter
NameDescription
valueString

The tableName to set.

Returns
TypeDescription
SampleRowKeysRequest.Builder

This builder for chaining.

setTableNameBytes(ByteString value)

public SampleRowKeysRequest.Builder setTableNameBytes(ByteString value)

Required. The unique name of the table from which to sample row keys. Values are of the form projects/<project>/instances/<instance>/tables/<table>.

string table_name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }

Parameter
NameDescription
valueByteString

The bytes for tableName to set.

Returns
TypeDescription
SampleRowKeysRequest.Builder

This builder for chaining.

setUnknownFields(UnknownFieldSet unknownFields)

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