Class OptimizeRestoredTableMetadata.Builder (2.17.1)

public static final class OptimizeRestoredTableMetadata.Builder extends GeneratedMessageV3.Builder<OptimizeRestoredTableMetadata.Builder> implements OptimizeRestoredTableMetadataOrBuilder

Metadata type for the long-running operation used to track the progress of optimizations performed on a newly restored table. This long-running operation is automatically created by the system after the successful completion of a table restore, and cannot be cancelled.

Protobuf type google.bigtable.admin.v2.OptimizeRestoredTableMetadata

Static Methods

getDescriptor()

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

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

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

build()

public OptimizeRestoredTableMetadata build()
Returns
TypeDescription
OptimizeRestoredTableMetadata

buildPartial()

public OptimizeRestoredTableMetadata buildPartial()
Returns
TypeDescription
OptimizeRestoredTableMetadata

clear()

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

clearField(Descriptors.FieldDescriptor field)

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

clearName()

public OptimizeRestoredTableMetadata.Builder clearName()

Name of the restored table being optimized.

string name = 1;

Returns
TypeDescription
OptimizeRestoredTableMetadata.Builder

This builder for chaining.

clearOneof(Descriptors.OneofDescriptor oneof)

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

clearProgress()

public OptimizeRestoredTableMetadata.Builder clearProgress()

The progress of the post-restore optimizations.

.google.bigtable.admin.v2.OperationProgress progress = 2;

Returns
TypeDescription
OptimizeRestoredTableMetadata.Builder

clone()

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

getDefaultInstanceForType()

public OptimizeRestoredTableMetadata getDefaultInstanceForType()
Returns
TypeDescription
OptimizeRestoredTableMetadata

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
TypeDescription
Descriptor
Overrides

getName()

public String getName()

Name of the restored table being optimized.

string name = 1;

Returns
TypeDescription
String

The name.

getNameBytes()

public ByteString getNameBytes()

Name of the restored table being optimized.

string name = 1;

Returns
TypeDescription
ByteString

The bytes for name.

getProgress()

public OperationProgress getProgress()

The progress of the post-restore optimizations.

.google.bigtable.admin.v2.OperationProgress progress = 2;

Returns
TypeDescription
OperationProgress

The progress.

getProgressBuilder()

public OperationProgress.Builder getProgressBuilder()

The progress of the post-restore optimizations.

.google.bigtable.admin.v2.OperationProgress progress = 2;

Returns
TypeDescription
OperationProgress.Builder

getProgressOrBuilder()

public OperationProgressOrBuilder getProgressOrBuilder()

The progress of the post-restore optimizations.

.google.bigtable.admin.v2.OperationProgress progress = 2;

Returns
TypeDescription
OperationProgressOrBuilder

hasProgress()

public boolean hasProgress()

The progress of the post-restore optimizations.

.google.bigtable.admin.v2.OperationProgress progress = 2;

Returns
TypeDescription
boolean

Whether the progress field is set.

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
TypeDescription
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
TypeDescription
boolean
Overrides

mergeFrom(OptimizeRestoredTableMetadata other)

public OptimizeRestoredTableMetadata.Builder mergeFrom(OptimizeRestoredTableMetadata other)
Parameter
NameDescription
otherOptimizeRestoredTableMetadata
Returns
TypeDescription
OptimizeRestoredTableMetadata.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

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

mergeProgress(OperationProgress value)

public OptimizeRestoredTableMetadata.Builder mergeProgress(OperationProgress value)

The progress of the post-restore optimizations.

.google.bigtable.admin.v2.OperationProgress progress = 2;

Parameter
NameDescription
valueOperationProgress
Returns
TypeDescription
OptimizeRestoredTableMetadata.Builder

mergeUnknownFields(UnknownFieldSet unknownFields)

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

setField(Descriptors.FieldDescriptor field, Object value)

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

setName(String value)

public OptimizeRestoredTableMetadata.Builder setName(String value)

Name of the restored table being optimized.

string name = 1;

Parameter
NameDescription
valueString

The name to set.

Returns
TypeDescription
OptimizeRestoredTableMetadata.Builder

This builder for chaining.

setNameBytes(ByteString value)

public OptimizeRestoredTableMetadata.Builder setNameBytes(ByteString value)

Name of the restored table being optimized.

string name = 1;

Parameter
NameDescription
valueByteString

The bytes for name to set.

Returns
TypeDescription
OptimizeRestoredTableMetadata.Builder

This builder for chaining.

setProgress(OperationProgress value)

public OptimizeRestoredTableMetadata.Builder setProgress(OperationProgress value)

The progress of the post-restore optimizations.

.google.bigtable.admin.v2.OperationProgress progress = 2;

Parameter
NameDescription
valueOperationProgress
Returns
TypeDescription
OptimizeRestoredTableMetadata.Builder

setProgress(OperationProgress.Builder builderForValue)

public OptimizeRestoredTableMetadata.Builder setProgress(OperationProgress.Builder builderForValue)

The progress of the post-restore optimizations.

.google.bigtable.admin.v2.OperationProgress progress = 2;

Parameter
NameDescription
builderForValueOperationProgress.Builder
Returns
TypeDescription
OptimizeRestoredTableMetadata.Builder

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

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

setUnknownFields(UnknownFieldSet unknownFields)

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