Class Storage.ReadRowsRequest.Builder (2.14.2)

public static final class Storage.ReadRowsRequest.Builder extends GeneratedMessageV3.Builder<Storage.ReadRowsRequest.Builder> implements Storage.ReadRowsRequestOrBuilder

Requesting row data via ReadRows must provide Stream position information.

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

Static Methods

getDescriptor()

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

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

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

build()

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

buildPartial()

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

clear()

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

clearField(Descriptors.FieldDescriptor field)

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

clearOneof(Descriptors.OneofDescriptor oneof)

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

clearReadPosition()

public Storage.ReadRowsRequest.Builder clearReadPosition()

Required. Identifier of the position in the stream to start reading from. The offset requested must be less than the last row read from ReadRows. Requesting a larger offset is undefined.

.google.cloud.bigquery.storage.v1beta1.StreamPosition read_position = 1 [(.google.api.field_behavior) = REQUIRED];

Returns
TypeDescription
Storage.ReadRowsRequest.Builder

clone()

public Storage.ReadRowsRequest.Builder clone()
Returns
TypeDescription
Storage.ReadRowsRequest.Builder
Overrides

getDefaultInstanceForType()

public Storage.ReadRowsRequest getDefaultInstanceForType()
Returns
TypeDescription
Storage.ReadRowsRequest

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
TypeDescription
Descriptor
Overrides

getReadPosition()

public Storage.StreamPosition getReadPosition()

Required. Identifier of the position in the stream to start reading from. The offset requested must be less than the last row read from ReadRows. Requesting a larger offset is undefined.

.google.cloud.bigquery.storage.v1beta1.StreamPosition read_position = 1 [(.google.api.field_behavior) = REQUIRED];

Returns
TypeDescription
Storage.StreamPosition

The readPosition.

getReadPositionBuilder()

public Storage.StreamPosition.Builder getReadPositionBuilder()

Required. Identifier of the position in the stream to start reading from. The offset requested must be less than the last row read from ReadRows. Requesting a larger offset is undefined.

.google.cloud.bigquery.storage.v1beta1.StreamPosition read_position = 1 [(.google.api.field_behavior) = REQUIRED];

Returns
TypeDescription
Storage.StreamPosition.Builder

getReadPositionOrBuilder()

public Storage.StreamPositionOrBuilder getReadPositionOrBuilder()

Required. Identifier of the position in the stream to start reading from. The offset requested must be less than the last row read from ReadRows. Requesting a larger offset is undefined.

.google.cloud.bigquery.storage.v1beta1.StreamPosition read_position = 1 [(.google.api.field_behavior) = REQUIRED];

Returns
TypeDescription
Storage.StreamPositionOrBuilder

hasReadPosition()

public boolean hasReadPosition()

Required. Identifier of the position in the stream to start reading from. The offset requested must be less than the last row read from ReadRows. Requesting a larger offset is undefined.

.google.cloud.bigquery.storage.v1beta1.StreamPosition read_position = 1 [(.google.api.field_behavior) = REQUIRED];

Returns
TypeDescription
boolean

Whether the readPosition field is set.

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
TypeDescription
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
TypeDescription
boolean
Overrides

mergeFrom(Storage.ReadRowsRequest other)

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

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

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

mergeReadPosition(Storage.StreamPosition value)

public Storage.ReadRowsRequest.Builder mergeReadPosition(Storage.StreamPosition value)

Required. Identifier of the position in the stream to start reading from. The offset requested must be less than the last row read from ReadRows. Requesting a larger offset is undefined.

.google.cloud.bigquery.storage.v1beta1.StreamPosition read_position = 1 [(.google.api.field_behavior) = REQUIRED];

Parameter
NameDescription
valueStorage.StreamPosition
Returns
TypeDescription
Storage.ReadRowsRequest.Builder

mergeUnknownFields(UnknownFieldSet unknownFields)

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

setField(Descriptors.FieldDescriptor field, Object value)

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

setReadPosition(Storage.StreamPosition value)

public Storage.ReadRowsRequest.Builder setReadPosition(Storage.StreamPosition value)

Required. Identifier of the position in the stream to start reading from. The offset requested must be less than the last row read from ReadRows. Requesting a larger offset is undefined.

.google.cloud.bigquery.storage.v1beta1.StreamPosition read_position = 1 [(.google.api.field_behavior) = REQUIRED];

Parameter
NameDescription
valueStorage.StreamPosition
Returns
TypeDescription
Storage.ReadRowsRequest.Builder

setReadPosition(Storage.StreamPosition.Builder builderForValue)

public Storage.ReadRowsRequest.Builder setReadPosition(Storage.StreamPosition.Builder builderForValue)

Required. Identifier of the position in the stream to start reading from. The offset requested must be less than the last row read from ReadRows. Requesting a larger offset is undefined.

.google.cloud.bigquery.storage.v1beta1.StreamPosition read_position = 1 [(.google.api.field_behavior) = REQUIRED];

Parameter
NameDescription
builderForValueStorage.StreamPosition.Builder
Returns
TypeDescription
Storage.ReadRowsRequest.Builder

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

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

setUnknownFields(UnknownFieldSet unknownFields)

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