public final class Progress extends GeneratedMessageV3 implements ProgressOrBuilder
Measures the progress of a particular metric.
Protobuf type google.datastore.admin.v1.Progress
Inheritance
Object > AbstractMessageLite<MessageType,BuilderType> > AbstractMessage > GeneratedMessageV3 > ProgressImplements
ProgressOrBuilderStatic Fields
WORK_COMPLETED_FIELD_NUMBER
public static final int WORK_COMPLETED_FIELD_NUMBER
Type | Description |
int |
WORK_ESTIMATED_FIELD_NUMBER
public static final int WORK_ESTIMATED_FIELD_NUMBER
Type | Description |
int |
Static Methods
getDefaultInstance()
public static Progress getDefaultInstance()
Type | Description |
Progress |
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
Type | Description |
Descriptor |
newBuilder()
public static Progress.Builder newBuilder()
Type | Description |
Progress.Builder |
newBuilder(Progress prototype)
public static Progress.Builder newBuilder(Progress prototype)
Name | Description |
prototype | Progress |
Type | Description |
Progress.Builder |
parseDelimitedFrom(InputStream input)
public static Progress parseDelimitedFrom(InputStream input)
Name | Description |
input | InputStream |
Type | Description |
Progress |
Type | Description |
IOException |
parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
public static Progress parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Name | Description |
input | InputStream |
extensionRegistry | ExtensionRegistryLite |
Type | Description |
Progress |
Type | Description |
IOException |
parseFrom(byte[] data)
public static Progress parseFrom(byte[] data)
Name | Description |
data | byte[] |
Type | Description |
Progress |
Type | Description |
InvalidProtocolBufferException |
parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
public static Progress parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
Name | Description |
data | byte[] |
extensionRegistry | ExtensionRegistryLite |
Type | Description |
Progress |
Type | Description |
InvalidProtocolBufferException |
parseFrom(ByteString data)
public static Progress parseFrom(ByteString data)
Name | Description |
data | ByteString |
Type | Description |
Progress |
Type | Description |
InvalidProtocolBufferException |
parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
public static Progress parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
Name | Description |
data | ByteString |
extensionRegistry | ExtensionRegistryLite |
Type | Description |
Progress |
Type | Description |
InvalidProtocolBufferException |
parseFrom(CodedInputStream input)
public static Progress parseFrom(CodedInputStream input)
Name | Description |
input | CodedInputStream |
Type | Description |
Progress |
Type | Description |
IOException |
parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public static Progress parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Name | Description |
input | CodedInputStream |
extensionRegistry | ExtensionRegistryLite |
Type | Description |
Progress |
Type | Description |
IOException |
parseFrom(InputStream input)
public static Progress parseFrom(InputStream input)
Name | Description |
input | InputStream |
Type | Description |
Progress |
Type | Description |
IOException |
parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
public static Progress parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Name | Description |
input | InputStream |
extensionRegistry | ExtensionRegistryLite |
Type | Description |
Progress |
Type | Description |
IOException |
parseFrom(ByteBuffer data)
public static Progress parseFrom(ByteBuffer data)
Name | Description |
data | ByteBuffer |
Type | Description |
Progress |
Type | Description |
InvalidProtocolBufferException |
parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
public static Progress parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
Name | Description |
data | ByteBuffer |
extensionRegistry | ExtensionRegistryLite |
Type | Description |
Progress |
Type | Description |
InvalidProtocolBufferException |
parser()
public static Parser<Progress> parser()
Type | Description |
Parser<Progress> |
Methods
equals(Object obj)
public boolean equals(Object obj)
Name | Description |
obj | Object |
Type | Description |
boolean |
getDefaultInstanceForType()
public Progress getDefaultInstanceForType()
Type | Description |
Progress |
getParserForType()
public Parser<Progress> getParserForType()
Type | Description |
Parser<Progress> |
getSerializedSize()
public int getSerializedSize()
Type | Description |
int |
getUnknownFields()
public final UnknownFieldSet getUnknownFields()
Type | Description |
UnknownFieldSet |
getWorkCompleted()
public long getWorkCompleted()
The amount of work that has been completed. Note that this may be greater than work_estimated.
int64 work_completed = 1;
Type | Description |
long | The workCompleted. |
getWorkEstimated()
public long getWorkEstimated()
An estimate of how much work needs to be performed. May be zero if the work estimate is unavailable.
int64 work_estimated = 2;
Type | Description |
long | The workEstimated. |
hashCode()
public int hashCode()
Type | Description |
int |
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Type | Description |
FieldAccessorTable |
isInitialized()
public final boolean isInitialized()
Type | Description |
boolean |
newBuilderForType()
public Progress.Builder newBuilderForType()
Type | Description |
Progress.Builder |
newBuilderForType(GeneratedMessageV3.BuilderParent parent)
protected Progress.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Name | Description |
parent | BuilderParent |
Type | Description |
Progress.Builder |
newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Name | Description |
unused | UnusedPrivateParameter |
Type | Description |
Object |
toBuilder()
public Progress.Builder toBuilder()
Type | Description |
Progress.Builder |
writeTo(CodedOutputStream output)
public void writeTo(CodedOutputStream output)
Name | Description |
output | CodedOutputStream |
Type | Description |
IOException |