public static final class StreamStats.Progress.Builder extends GeneratedMessageV3.Builder<StreamStats.Progress.Builder> implements StreamStats.ProgressOrBuilder
Protobuf type google.cloud.bigquery.storage.v1beta2.StreamStats.Progress
Inheritance
Object > AbstractMessageLite.Builder<MessageType,BuilderType> > AbstractMessage.Builder<BuilderType> > GeneratedMessageV3.Builder > StreamStats.Progress.BuilderImplements
StreamStats.ProgressOrBuilderMethods
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
public StreamStats.Progress.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Name | Description |
field | FieldDescriptor |
value | Object |
Type | Description |
StreamStats.Progress.Builder |
build()
public StreamStats.Progress build()
Type | Description |
StreamStats.Progress |
buildPartial()
public StreamStats.Progress buildPartial()
Type | Description |
StreamStats.Progress |
clear()
public StreamStats.Progress.Builder clear()
Type | Description |
StreamStats.Progress.Builder |
clearAtResponseEnd()
public StreamStats.Progress.Builder clearAtResponseEnd()
Similar to at_response_start
, except that this value includes the
rows in the current response.
double at_response_end = 2;
Type | Description |
StreamStats.Progress.Builder | This builder for chaining. |
clearAtResponseStart()
public StreamStats.Progress.Builder clearAtResponseStart()
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;
Type | Description |
StreamStats.Progress.Builder | This builder for chaining. |
clearField(Descriptors.FieldDescriptor field)
public StreamStats.Progress.Builder clearField(Descriptors.FieldDescriptor field)
Name | Description |
field | FieldDescriptor |
Type | Description |
StreamStats.Progress.Builder |
clearOneof(Descriptors.OneofDescriptor oneof)
public StreamStats.Progress.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Name | Description |
oneof | OneofDescriptor |
Type | Description |
StreamStats.Progress.Builder |
clone()
public StreamStats.Progress.Builder clone()
Type | Description |
StreamStats.Progress.Builder |
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;
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;
Type | Description |
double | The atResponseStart. |
getDefaultInstanceForType()
public StreamStats.Progress getDefaultInstanceForType()
Type | Description |
StreamStats.Progress |
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
Type | Description |
Descriptor |
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()
Type | Description |
Descriptor |
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Type | Description |
FieldAccessorTable |
isInitialized()
public final boolean isInitialized()
Type | Description |
boolean |
mergeFrom(StreamStats.Progress other)
public StreamStats.Progress.Builder mergeFrom(StreamStats.Progress other)
Name | Description |
other | StreamStats.Progress |
Type | Description |
StreamStats.Progress.Builder |
mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public StreamStats.Progress.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Name | Description |
input | CodedInputStream |
extensionRegistry | ExtensionRegistryLite |
Type | Description |
StreamStats.Progress.Builder |
Type | Description |
IOException |
mergeFrom(Message other)
public StreamStats.Progress.Builder mergeFrom(Message other)
Name | Description |
other | Message |
Type | Description |
StreamStats.Progress.Builder |
mergeUnknownFields(UnknownFieldSet unknownFields)
public final StreamStats.Progress.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Name | Description |
unknownFields | UnknownFieldSet |
Type | Description |
StreamStats.Progress.Builder |
setAtResponseEnd(double value)
public StreamStats.Progress.Builder setAtResponseEnd(double value)
Similar to at_response_start
, except that this value includes the
rows in the current response.
double at_response_end = 2;
Name | Description |
value | double The atResponseEnd to set. |
Type | Description |
StreamStats.Progress.Builder | This builder for chaining. |
setAtResponseStart(double value)
public StreamStats.Progress.Builder setAtResponseStart(double value)
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;
Name | Description |
value | double The atResponseStart to set. |
Type | Description |
StreamStats.Progress.Builder | This builder for chaining. |
setField(Descriptors.FieldDescriptor field, Object value)
public StreamStats.Progress.Builder setField(Descriptors.FieldDescriptor field, Object value)
Name | Description |
field | FieldDescriptor |
value | Object |
Type | Description |
StreamStats.Progress.Builder |
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public StreamStats.Progress.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Name | Description |
field | FieldDescriptor |
index | int |
value | Object |
Type | Description |
StreamStats.Progress.Builder |
setUnknownFields(UnknownFieldSet unknownFields)
public final StreamStats.Progress.Builder setUnknownFields(UnknownFieldSet unknownFields)
Name | Description |
unknownFields | UnknownFieldSet |
Type | Description |
StreamStats.Progress.Builder |