Class CreateClusterMetadata.TableProgress (2.17.1)

public static final class CreateClusterMetadata.TableProgress extends GeneratedMessageV3 implements CreateClusterMetadata.TableProgressOrBuilder

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

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

Inheritance

Object > AbstractMessageLite<MessageType,BuilderType> > AbstractMessage > GeneratedMessageV3 > CreateClusterMetadata.TableProgress

Static Fields

ESTIMATED_COPIED_BYTES_FIELD_NUMBER

public static final int ESTIMATED_COPIED_BYTES_FIELD_NUMBER
Field Value
TypeDescription
int

ESTIMATED_SIZE_BYTES_FIELD_NUMBER

public static final int ESTIMATED_SIZE_BYTES_FIELD_NUMBER
Field Value
TypeDescription
int

STATE_FIELD_NUMBER

public static final int STATE_FIELD_NUMBER
Field Value
TypeDescription
int

Static Methods

getDefaultInstance()

public static CreateClusterMetadata.TableProgress getDefaultInstance()
Returns
TypeDescription
CreateClusterMetadata.TableProgress

getDescriptor()

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

newBuilder()

public static CreateClusterMetadata.TableProgress.Builder newBuilder()
Returns
TypeDescription
CreateClusterMetadata.TableProgress.Builder

newBuilder(CreateClusterMetadata.TableProgress prototype)

public static CreateClusterMetadata.TableProgress.Builder newBuilder(CreateClusterMetadata.TableProgress prototype)
Parameter
NameDescription
prototypeCreateClusterMetadata.TableProgress
Returns
TypeDescription
CreateClusterMetadata.TableProgress.Builder

parseDelimitedFrom(InputStream input)

public static CreateClusterMetadata.TableProgress parseDelimitedFrom(InputStream input)
Parameter
NameDescription
inputInputStream
Returns
TypeDescription
CreateClusterMetadata.TableProgress
Exceptions
TypeDescription
IOException

parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static CreateClusterMetadata.TableProgress parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
CreateClusterMetadata.TableProgress
Exceptions
TypeDescription
IOException

parseFrom(byte[] data)

public static CreateClusterMetadata.TableProgress parseFrom(byte[] data)
Parameter
NameDescription
databyte[]
Returns
TypeDescription
CreateClusterMetadata.TableProgress
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)

public static CreateClusterMetadata.TableProgress parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
databyte[]
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
CreateClusterMetadata.TableProgress
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(ByteString data)

public static CreateClusterMetadata.TableProgress parseFrom(ByteString data)
Parameter
NameDescription
dataByteString
Returns
TypeDescription
CreateClusterMetadata.TableProgress
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)

public static CreateClusterMetadata.TableProgress parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
dataByteString
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
CreateClusterMetadata.TableProgress
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(CodedInputStream input)

public static CreateClusterMetadata.TableProgress parseFrom(CodedInputStream input)
Parameter
NameDescription
inputCodedInputStream
Returns
TypeDescription
CreateClusterMetadata.TableProgress
Exceptions
TypeDescription
IOException

parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public static CreateClusterMetadata.TableProgress parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputCodedInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
CreateClusterMetadata.TableProgress
Exceptions
TypeDescription
IOException

parseFrom(InputStream input)

public static CreateClusterMetadata.TableProgress parseFrom(InputStream input)
Parameter
NameDescription
inputInputStream
Returns
TypeDescription
CreateClusterMetadata.TableProgress
Exceptions
TypeDescription
IOException

parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static CreateClusterMetadata.TableProgress parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
CreateClusterMetadata.TableProgress
Exceptions
TypeDescription
IOException

parseFrom(ByteBuffer data)

public static CreateClusterMetadata.TableProgress parseFrom(ByteBuffer data)
Parameter
NameDescription
dataByteBuffer
Returns
TypeDescription
CreateClusterMetadata.TableProgress
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)

public static CreateClusterMetadata.TableProgress parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
dataByteBuffer
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
CreateClusterMetadata.TableProgress
Exceptions
TypeDescription
InvalidProtocolBufferException

parser()

public static Parser<CreateClusterMetadata.TableProgress> parser()
Returns
TypeDescription
Parser<TableProgress>

Methods

equals(Object obj)

public boolean equals(Object obj)
Parameter
NameDescription
objObject
Returns
TypeDescription
boolean
Overrides

getDefaultInstanceForType()

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

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.

getParserForType()

public Parser<CreateClusterMetadata.TableProgress> getParserForType()
Returns
TypeDescription
Parser<TableProgress>
Overrides

getSerializedSize()

public int getSerializedSize()
Returns
TypeDescription
int
Overrides

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.

getUnknownFields()

public final UnknownFieldSet getUnknownFields()
Returns
TypeDescription
UnknownFieldSet
Overrides

hashCode()

public int hashCode()
Returns
TypeDescription
int
Overrides

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
TypeDescription
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
TypeDescription
boolean
Overrides

newBuilderForType()

public CreateClusterMetadata.TableProgress.Builder newBuilderForType()
Returns
TypeDescription
CreateClusterMetadata.TableProgress.Builder

newBuilderForType(GeneratedMessageV3.BuilderParent parent)

protected CreateClusterMetadata.TableProgress.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Parameter
NameDescription
parentBuilderParent
Returns
TypeDescription
CreateClusterMetadata.TableProgress.Builder
Overrides

newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)

protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Parameter
NameDescription
unusedUnusedPrivateParameter
Returns
TypeDescription
Object
Overrides

toBuilder()

public CreateClusterMetadata.TableProgress.Builder toBuilder()
Returns
TypeDescription
CreateClusterMetadata.TableProgress.Builder

writeTo(CodedOutputStream output)

public void writeTo(CodedOutputStream output)
Parameter
NameDescription
outputCodedOutputStream
Overrides Exceptions
TypeDescription
IOException