Class Storage.Progress (3.4.0)

public static final class Storage.Progress extends GeneratedMessageV3 implements Storage.ProgressOrBuilder

Protobuf type google.cloud.bigquery.storage.v1beta1.Progress

Static Fields

AT_RESPONSE_END_FIELD_NUMBER

public static final int AT_RESPONSE_END_FIELD_NUMBER
Field Value
TypeDescription
int

AT_RESPONSE_START_FIELD_NUMBER

public static final int AT_RESPONSE_START_FIELD_NUMBER
Field Value
TypeDescription
int

Static Methods

getDefaultInstance()

public static Storage.Progress getDefaultInstance()
Returns
TypeDescription
Storage.Progress

getDescriptor()

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

newBuilder()

public static Storage.Progress.Builder newBuilder()
Returns
TypeDescription
Storage.Progress.Builder

newBuilder(Storage.Progress prototype)

public static Storage.Progress.Builder newBuilder(Storage.Progress prototype)
Parameter
NameDescription
prototypeStorage.Progress
Returns
TypeDescription
Storage.Progress.Builder

parseDelimitedFrom(InputStream input)

public static Storage.Progress parseDelimitedFrom(InputStream input)
Parameter
NameDescription
inputInputStream
Returns
TypeDescription
Storage.Progress
Exceptions
TypeDescription
IOException

parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(byte[] data)

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

parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)

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

parseFrom(ByteString data)

public static Storage.Progress parseFrom(ByteString data)
Parameter
NameDescription
dataByteString
Returns
TypeDescription
Storage.Progress
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)

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

parseFrom(CodedInputStream input)

public static Storage.Progress parseFrom(CodedInputStream input)
Parameter
NameDescription
inputCodedInputStream
Returns
TypeDescription
Storage.Progress
Exceptions
TypeDescription
IOException

parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(InputStream input)

public static Storage.Progress parseFrom(InputStream input)
Parameter
NameDescription
inputInputStream
Returns
TypeDescription
Storage.Progress
Exceptions
TypeDescription
IOException

parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(ByteBuffer data)

public static Storage.Progress parseFrom(ByteBuffer data)
Parameter
NameDescription
dataByteBuffer
Returns
TypeDescription
Storage.Progress
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)

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

parser()

public static Parser<Storage.Progress> parser()
Returns
TypeDescription
Parser<Progress>

Methods

equals(Object obj)

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

getAtResponseEnd()

public float getAtResponseEnd()

Similar to at_response_start, except that this value includes the rows in the current response.

float at_response_end = 2;

Returns
TypeDescription
float

The atResponseEnd.

getAtResponseStart()

public float getAtResponseStart()

The fraction of rows assigned to the stream that have been processed by the server so far, not including the rows in the current response message.

This value, along with at_response_end, can be used to interpolate the progress made as the rows in the message are being processed using the following formula: at_response_start + (at_response_end - at_response_start) * rows_processed_from_response / rows_in_response.

Note that if a filter is provided, the at_response_end value of the previous response may not necessarily be equal to the at_response_start value of the current response.

float at_response_start = 1;

Returns
TypeDescription
float

The atResponseStart.

getDefaultInstanceForType()

public Storage.Progress getDefaultInstanceForType()
Returns
TypeDescription
Storage.Progress

getParserForType()

public Parser<Storage.Progress> getParserForType()
Returns
TypeDescription
Parser<Progress>
Overrides

getSerializedSize()

public int getSerializedSize()
Returns
TypeDescription
int
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 Storage.Progress.Builder newBuilderForType()
Returns
TypeDescription
Storage.Progress.Builder

newBuilderForType(GeneratedMessageV3.BuilderParent parent)

protected Storage.Progress.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Parameter
NameDescription
parentBuilderParent
Returns
TypeDescription
Storage.Progress.Builder
Overrides

newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)

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

toBuilder()

public Storage.Progress.Builder toBuilder()
Returns
TypeDescription
Storage.Progress.Builder

writeTo(CodedOutputStream output)

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