Class Storage.Progress.Builder (3.3.1)

public static final class Storage.Progress.Builder extends GeneratedMessageV3.Builder<Storage.Progress.Builder> implements Storage.ProgressOrBuilder

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

Static Methods

getDescriptor()

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

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

public Storage.Progress.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
NameDescription
fieldFieldDescriptor
valueObject
Returns
TypeDescription
Storage.Progress.Builder
Overrides

build()

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

buildPartial()

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

clear()

public Storage.Progress.Builder clear()
Returns
TypeDescription
Storage.Progress.Builder
Overrides

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
TypeDescription
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
TypeDescription
Storage.Progress.Builder

This builder for chaining.

clearField(Descriptors.FieldDescriptor field)

public Storage.Progress.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
NameDescription
fieldFieldDescriptor
Returns
TypeDescription
Storage.Progress.Builder
Overrides

clearOneof(Descriptors.OneofDescriptor oneof)

public Storage.Progress.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
NameDescription
oneofOneofDescriptor
Returns
TypeDescription
Storage.Progress.Builder
Overrides

clone()

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

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
TypeDescription
Descriptor
Overrides

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
TypeDescription
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
TypeDescription
boolean
Overrides

mergeFrom(Storage.Progress other)

public Storage.Progress.Builder mergeFrom(Storage.Progress other)
Parameter
NameDescription
otherStorage.Progress
Returns
TypeDescription
Storage.Progress.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public Storage.Progress.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputCodedInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
Storage.Progress.Builder
Overrides
Exceptions
TypeDescription
IOException

mergeFrom(Message other)

public Storage.Progress.Builder mergeFrom(Message other)
Parameter
NameDescription
otherMessage
Returns
TypeDescription
Storage.Progress.Builder
Overrides

mergeUnknownFields(UnknownFieldSet unknownFields)

public final Storage.Progress.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
NameDescription
unknownFieldsUnknownFieldSet
Returns
TypeDescription
Storage.Progress.Builder
Overrides

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
NameDescription
valuefloat

The atResponseEnd to set.

Returns
TypeDescription
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
NameDescription
valuefloat

The atResponseStart to set.

Returns
TypeDescription
Storage.Progress.Builder

This builder for chaining.

setField(Descriptors.FieldDescriptor field, Object value)

public Storage.Progress.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
NameDescription
fieldFieldDescriptor
valueObject
Returns
TypeDescription
Storage.Progress.Builder
Overrides

setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)

public Storage.Progress.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters
NameDescription
fieldFieldDescriptor
indexint
valueObject
Returns
TypeDescription
Storage.Progress.Builder
Overrides

setUnknownFields(UnknownFieldSet unknownFields)

public final Storage.Progress.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
NameDescription
unknownFieldsUnknownFieldSet
Returns
TypeDescription
Storage.Progress.Builder
Overrides