Class CreateClusterMetadata.TableProgress.Builder (2.7.0)

public static final class CreateClusterMetadata.TableProgress.Builder extends GeneratedMessageV3.Builder<CreateClusterMetadata.TableProgress.Builder> implements CreateClusterMetadata.TableProgressOrBuilder

Progress info for copying a table's data to the new cluster.

Protobuf type google.bigtable.admin.v2.CreateClusterMetadata.TableProgress

Static Methods

getDescriptor()

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

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

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

build()

public CreateClusterMetadata.TableProgress build()
Returns
TypeDescription
CreateClusterMetadata.TableProgress

buildPartial()

public CreateClusterMetadata.TableProgress buildPartial()
Returns
TypeDescription
CreateClusterMetadata.TableProgress

clear()

public CreateClusterMetadata.TableProgress.Builder clear()
Returns
TypeDescription
CreateClusterMetadata.TableProgress.Builder
Overrides

clearEstimatedCopiedBytes()

public CreateClusterMetadata.TableProgress.Builder clearEstimatedCopiedBytes()

Estimate of the number of bytes copied so far for this table. This will eventually reach 'estimated_size_bytes' unless the table copy is CANCELLED.

int64 estimated_copied_bytes = 3;

Returns
TypeDescription
CreateClusterMetadata.TableProgress.Builder

This builder for chaining.

clearEstimatedSizeBytes()

public CreateClusterMetadata.TableProgress.Builder clearEstimatedSizeBytes()

Estimate of the size of the table to be copied.

int64 estimated_size_bytes = 2;

Returns
TypeDescription
CreateClusterMetadata.TableProgress.Builder

This builder for chaining.

clearField(Descriptors.FieldDescriptor field)

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

clearOneof(Descriptors.OneofDescriptor oneof)

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

clearState()

public CreateClusterMetadata.TableProgress.Builder clearState()

.google.bigtable.admin.v2.CreateClusterMetadata.TableProgress.State state = 4;

Returns
TypeDescription
CreateClusterMetadata.TableProgress.Builder

This builder for chaining.

clone()

public CreateClusterMetadata.TableProgress.Builder clone()
Returns
TypeDescription
CreateClusterMetadata.TableProgress.Builder
Overrides

getDefaultInstanceForType()

public CreateClusterMetadata.TableProgress getDefaultInstanceForType()
Returns
TypeDescription
CreateClusterMetadata.TableProgress

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
TypeDescription
Descriptor
Overrides

getEstimatedCopiedBytes()

public long getEstimatedCopiedBytes()

Estimate of the number of bytes copied so far for this table. This will eventually reach 'estimated_size_bytes' unless the table copy is CANCELLED.

int64 estimated_copied_bytes = 3;

Returns
TypeDescription
long

The estimatedCopiedBytes.

getEstimatedSizeBytes()

public long getEstimatedSizeBytes()

Estimate of the size of the table to be copied.

int64 estimated_size_bytes = 2;

Returns
TypeDescription
long

The estimatedSizeBytes.

getState()

public CreateClusterMetadata.TableProgress.State getState()

.google.bigtable.admin.v2.CreateClusterMetadata.TableProgress.State state = 4;

Returns
TypeDescription
CreateClusterMetadata.TableProgress.State

The state.

getStateValue()

public int getStateValue()

.google.bigtable.admin.v2.CreateClusterMetadata.TableProgress.State state = 4;

Returns
TypeDescription
int

The enum numeric value on the wire for state.

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
TypeDescription
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
TypeDescription
boolean
Overrides

mergeFrom(CreateClusterMetadata.TableProgress other)

public CreateClusterMetadata.TableProgress.Builder mergeFrom(CreateClusterMetadata.TableProgress other)
Parameter
NameDescription
otherCreateClusterMetadata.TableProgress
Returns
TypeDescription
CreateClusterMetadata.TableProgress.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

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

mergeUnknownFields(UnknownFieldSet unknownFields)

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

setEstimatedCopiedBytes(long value)

public CreateClusterMetadata.TableProgress.Builder setEstimatedCopiedBytes(long value)

Estimate of the number of bytes copied so far for this table. This will eventually reach 'estimated_size_bytes' unless the table copy is CANCELLED.

int64 estimated_copied_bytes = 3;

Parameter
NameDescription
valuelong

The estimatedCopiedBytes to set.

Returns
TypeDescription
CreateClusterMetadata.TableProgress.Builder

This builder for chaining.

setEstimatedSizeBytes(long value)

public CreateClusterMetadata.TableProgress.Builder setEstimatedSizeBytes(long value)

Estimate of the size of the table to be copied.

int64 estimated_size_bytes = 2;

Parameter
NameDescription
valuelong

The estimatedSizeBytes to set.

Returns
TypeDescription
CreateClusterMetadata.TableProgress.Builder

This builder for chaining.

setField(Descriptors.FieldDescriptor field, Object value)

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

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

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

setState(CreateClusterMetadata.TableProgress.State value)

public CreateClusterMetadata.TableProgress.Builder setState(CreateClusterMetadata.TableProgress.State value)

.google.bigtable.admin.v2.CreateClusterMetadata.TableProgress.State state = 4;

Parameter
NameDescription
valueCreateClusterMetadata.TableProgress.State

The state to set.

Returns
TypeDescription
CreateClusterMetadata.TableProgress.Builder

This builder for chaining.

setStateValue(int value)

public CreateClusterMetadata.TableProgress.Builder setStateValue(int value)

.google.bigtable.admin.v2.CreateClusterMetadata.TableProgress.State state = 4;

Parameter
NameDescription
valueint

The enum numeric value on the wire for state to set.

Returns
TypeDescription
CreateClusterMetadata.TableProgress.Builder

This builder for chaining.

setUnknownFields(UnknownFieldSet unknownFields)

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