public static final class StreamStats.Progress extends GeneratedMessageV3 implements StreamStats.ProgressOrBuilder
Protobuf type google.cloud.bigquery.storage.v1.StreamStats.Progress
Inheritance
Object > AbstractMessageLite<MessageType,BuilderType> > AbstractMessage > GeneratedMessageV3 > StreamStats.ProgressImplements
StreamStats.ProgressOrBuilderStatic Fields
AT_RESPONSE_END_FIELD_NUMBER
public static final int AT_RESPONSE_END_FIELD_NUMBER
Field Value | |
---|---|
Type | Description |
int |
AT_RESPONSE_START_FIELD_NUMBER
public static final int AT_RESPONSE_START_FIELD_NUMBER
Field Value | |
---|---|
Type | Description |
int |
Static Methods
getDefaultInstance()
public static StreamStats.Progress getDefaultInstance()
Returns | |
---|---|
Type | Description |
StreamStats.Progress |
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
Returns | |
---|---|
Type | Description |
Descriptor |
newBuilder()
public static StreamStats.Progress.Builder newBuilder()
Returns | |
---|---|
Type | Description |
StreamStats.Progress.Builder |
newBuilder(StreamStats.Progress prototype)
public static StreamStats.Progress.Builder newBuilder(StreamStats.Progress prototype)
Parameter | |
---|---|
Name | Description |
prototype | StreamStats.Progress |
Returns | |
---|---|
Type | Description |
StreamStats.Progress.Builder |
parseDelimitedFrom(InputStream input)
public static StreamStats.Progress parseDelimitedFrom(InputStream input)
Parameter | |
---|---|
Name | Description |
input | InputStream |
Returns | |
---|---|
Type | Description |
StreamStats.Progress |
Exceptions | |
---|---|
Type | Description |
IOException |
parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
public static StreamStats.Progress parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters | |
---|---|
Name | Description |
input | InputStream |
extensionRegistry | ExtensionRegistryLite |
Returns | |
---|---|
Type | Description |
StreamStats.Progress |
Exceptions | |
---|---|
Type | Description |
IOException |
parseFrom(byte[] data)
public static StreamStats.Progress parseFrom(byte[] data)
Parameter | |
---|---|
Name | Description |
data | byte[] |
Returns | |
---|---|
Type | Description |
StreamStats.Progress |
Exceptions | |
---|---|
Type | Description |
InvalidProtocolBufferException |
parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
public static StreamStats.Progress parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
Parameters | |
---|---|
Name | Description |
data | byte[] |
extensionRegistry | ExtensionRegistryLite |
Returns | |
---|---|
Type | Description |
StreamStats.Progress |
Exceptions | |
---|---|
Type | Description |
InvalidProtocolBufferException |
parseFrom(ByteString data)
public static StreamStats.Progress parseFrom(ByteString data)
Parameter | |
---|---|
Name | Description |
data | ByteString |
Returns | |
---|---|
Type | Description |
StreamStats.Progress |
Exceptions | |
---|---|
Type | Description |
InvalidProtocolBufferException |
parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
public static StreamStats.Progress parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
Parameters | |
---|---|
Name | Description |
data | ByteString |
extensionRegistry | ExtensionRegistryLite |
Returns | |
---|---|
Type | Description |
StreamStats.Progress |
Exceptions | |
---|---|
Type | Description |
InvalidProtocolBufferException |
parseFrom(CodedInputStream input)
public static StreamStats.Progress parseFrom(CodedInputStream input)
Parameter | |
---|---|
Name | Description |
input | CodedInputStream |
Returns | |
---|---|
Type | Description |
StreamStats.Progress |
Exceptions | |
---|---|
Type | Description |
IOException |
parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public static StreamStats.Progress parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters | |
---|---|
Name | Description |
input | CodedInputStream |
extensionRegistry | ExtensionRegistryLite |
Returns | |
---|---|
Type | Description |
StreamStats.Progress |
Exceptions | |
---|---|
Type | Description |
IOException |
parseFrom(InputStream input)
public static StreamStats.Progress parseFrom(InputStream input)
Parameter | |
---|---|
Name | Description |
input | InputStream |
Returns | |
---|---|
Type | Description |
StreamStats.Progress |
Exceptions | |
---|---|
Type | Description |
IOException |
parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
public static StreamStats.Progress parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters | |
---|---|
Name | Description |
input | InputStream |
extensionRegistry | ExtensionRegistryLite |
Returns | |
---|---|
Type | Description |
StreamStats.Progress |
Exceptions | |
---|---|
Type | Description |
IOException |
parseFrom(ByteBuffer data)
public static StreamStats.Progress parseFrom(ByteBuffer data)
Parameter | |
---|---|
Name | Description |
data | ByteBuffer |
Returns | |
---|---|
Type | Description |
StreamStats.Progress |
Exceptions | |
---|---|
Type | Description |
InvalidProtocolBufferException |
parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
public static StreamStats.Progress parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
Parameters | |
---|---|
Name | Description |
data | ByteBuffer |
extensionRegistry | ExtensionRegistryLite |
Returns | |
---|---|
Type | Description |
StreamStats.Progress |
Exceptions | |
---|---|
Type | Description |
InvalidProtocolBufferException |
parser()
public static Parser<StreamStats.Progress> parser()
Returns | |
---|---|
Type | Description |
Parser<Progress> |
Methods
equals(Object obj)
public boolean equals(Object obj)
Parameter | |
---|---|
Name | Description |
obj | Object |
Returns | |
---|---|
Type | Description |
boolean |
getAtResponseEnd()
public double getAtResponseEnd()
Similar to at_response_start
, except that this value includes the
rows in the current response.
double at_response_end = 2;
Returns | |
---|---|
Type | Description |
double | The atResponseEnd. |
getAtResponseStart()
public double 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.
double at_response_start = 1;
Returns | |
---|---|
Type | Description |
double | The atResponseStart. |
getDefaultInstanceForType()
public StreamStats.Progress getDefaultInstanceForType()
Returns | |
---|---|
Type | Description |
StreamStats.Progress |
getParserForType()
public Parser<StreamStats.Progress> getParserForType()
Returns | |
---|---|
Type | Description |
Parser<Progress> |
getSerializedSize()
public int getSerializedSize()
Returns | |
---|---|
Type | Description |
int |
hashCode()
public int hashCode()
Returns | |
---|---|
Type | Description |
int |
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns | |
---|---|
Type | Description |
FieldAccessorTable |
isInitialized()
public final boolean isInitialized()
Returns | |
---|---|
Type | Description |
boolean |
newBuilderForType()
public StreamStats.Progress.Builder newBuilderForType()
Returns | |
---|---|
Type | Description |
StreamStats.Progress.Builder |
newBuilderForType(GeneratedMessageV3.BuilderParent parent)
protected StreamStats.Progress.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Parameter | |
---|---|
Name | Description |
parent | BuilderParent |
Returns | |
---|---|
Type | Description |
StreamStats.Progress.Builder |
newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Parameter | |
---|---|
Name | Description |
unused | UnusedPrivateParameter |
Returns | |
---|---|
Type | Description |
Object |
toBuilder()
public StreamStats.Progress.Builder toBuilder()
Returns | |
---|---|
Type | Description |
StreamStats.Progress.Builder |
writeTo(CodedOutputStream output)
public void writeTo(CodedOutputStream output)
Parameter | |
---|---|
Name | Description |
output | CodedOutputStream |
Exceptions | |
---|---|
Type | Description |
IOException |