public static final class Storage.Progress.Builder extends GeneratedMessage.Builder<Storage.Progress.Builder> implements Storage.ProgressOrBuilderProtobuf type google.cloud.bigquery.storage.v1beta1.Progress
Inheritance
java.lang.Object > AbstractMessageLite.Builder<MessageType,BuilderType> > AbstractMessage.Builder<BuilderType> > GeneratedMessage.Builder > Storage.Progress.BuilderImplements
Storage.ProgressOrBuilderStatic Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()| Returns | |
|---|---|
| Type | Description |
Descriptor |
|
Methods
build()
public Storage.Progress build()| Returns | |
|---|---|
| Type | Description |
Storage.Progress |
|
buildPartial()
public Storage.Progress buildPartial()| Returns | |
|---|---|
| Type | Description |
Storage.Progress |
|
clear()
public Storage.Progress.Builder clear()| Returns | |
|---|---|
| Type | Description |
Storage.Progress.Builder |
|
clearAtResponseEnd()
public Storage.Progress.Builder clearAtResponseEnd() Similar to at_response_start, except that this value includes the rows in
the current response.
float at_response_end = 2;
| Returns | |
|---|---|
| Type | Description |
Storage.Progress.Builder |
This builder for chaining. |
clearAtResponseStart()
public Storage.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.
float at_response_start = 1;
| Returns | |
|---|---|
| Type | Description |
Storage.Progress.Builder |
This builder for chaining. |
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 | |
|---|---|
| Type | Description |
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 | |
|---|---|
| Type | Description |
float |
The atResponseStart. |
getDefaultInstanceForType()
public Storage.Progress getDefaultInstanceForType()| Returns | |
|---|---|
| Type | Description |
Storage.Progress |
|
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()| Returns | |
|---|---|
| Type | Description |
Descriptor |
|
internalGetFieldAccessorTable()
protected GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()| Returns | |
|---|---|
| Type | Description |
FieldAccessorTable |
|
isInitialized()
public final boolean isInitialized()| Returns | |
|---|---|
| Type | Description |
boolean |
|
mergeFrom(Storage.Progress other)
public Storage.Progress.Builder mergeFrom(Storage.Progress other)| Parameter | |
|---|---|
| Name | Description |
other |
Storage.Progress |
| Returns | |
|---|---|
| Type | Description |
Storage.Progress.Builder |
|
mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public Storage.Progress.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)| Parameters | |
|---|---|
| Name | Description |
input |
CodedInputStream |
extensionRegistry |
ExtensionRegistryLite |
| Returns | |
|---|---|
| Type | Description |
Storage.Progress.Builder |
|
| Exceptions | |
|---|---|
| Type | Description |
IOException |
|
mergeFrom(Message other)
public Storage.Progress.Builder mergeFrom(Message other)| Parameter | |
|---|---|
| Name | Description |
other |
Message |
| Returns | |
|---|---|
| Type | Description |
Storage.Progress.Builder |
|
setAtResponseEnd(float value)
public Storage.Progress.Builder setAtResponseEnd(float value) Similar to at_response_start, except that this value includes the rows in
the current response.
float at_response_end = 2;
| Parameter | |
|---|---|
| Name | Description |
value |
floatThe atResponseEnd to set. |
| Returns | |
|---|---|
| Type | Description |
Storage.Progress.Builder |
This builder for chaining. |
setAtResponseStart(float value)
public Storage.Progress.Builder setAtResponseStart(float 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.
float at_response_start = 1;
| Parameter | |
|---|---|
| Name | Description |
value |
floatThe atResponseStart to set. |
| Returns | |
|---|---|
| Type | Description |
Storage.Progress.Builder |
This builder for chaining. |