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
Inherited Members
com.google.protobuf.GeneratedMessageV3.Builder.getUnknownFieldSetBuilder()
com.google.protobuf.GeneratedMessageV3.Builder.internalGetMapFieldReflection(int)
com.google.protobuf.GeneratedMessageV3.Builder.internalGetMutableMapFieldReflection(int)
com.google.protobuf.GeneratedMessageV3.Builder.mergeUnknownLengthDelimitedField(int,com.google.protobuf.ByteString)
com.google.protobuf.GeneratedMessageV3.Builder.mergeUnknownVarintField(int,int)
com.google.protobuf.GeneratedMessageV3.Builder.parseUnknownField(com.google.protobuf.CodedInputStream,com.google.protobuf.ExtensionRegistryLite,int)
com.google.protobuf.GeneratedMessageV3.Builder.setUnknownFieldSetBuilder(com.google.protobuf.UnknownFieldSet.Builder)
Static Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
Methods
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
public StreamStats.Progress.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Overrides
build()
public StreamStats.Progress build()
buildPartial()
public StreamStats.Progress buildPartial()
clear()
public StreamStats.Progress.Builder clear()
Overrides
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;
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;
clearField(Descriptors.FieldDescriptor field)
public StreamStats.Progress.Builder clearField(Descriptors.FieldDescriptor field)
Overrides
clearOneof(Descriptors.OneofDescriptor oneof)
public StreamStats.Progress.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Overrides
clone()
public StreamStats.Progress.Builder clone()
Overrides
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()
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()
Overrides
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Overrides
isInitialized()
public final boolean isInitialized()
Overrides
mergeFrom(StreamStats.Progress other)
public StreamStats.Progress.Builder mergeFrom(StreamStats.Progress other)
public StreamStats.Progress.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Overrides
mergeFrom(Message other)
public StreamStats.Progress.Builder mergeFrom(Message other)
Parameter |
Name |
Description |
other |
Message
|
Overrides
mergeUnknownFields(UnknownFieldSet unknownFields)
public final StreamStats.Progress.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Overrides
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;
Parameter |
Name |
Description |
value |
double
The atResponseEnd to set.
|
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;
Parameter |
Name |
Description |
value |
double
The atResponseStart to set.
|
setField(Descriptors.FieldDescriptor field, Object value)
public StreamStats.Progress.Builder setField(Descriptors.FieldDescriptor field, Object value)
Overrides
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public StreamStats.Progress.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Overrides
setUnknownFields(UnknownFieldSet unknownFields)
public final StreamStats.Progress.Builder setUnknownFields(UnknownFieldSet unknownFields)
Overrides