Class ReadRowsRequest.Builder (3.0.1)

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

Request message for ReadRows.

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

Static Methods

getDescriptor()

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

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

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

build()

public ReadRowsRequest build()
Returns
TypeDescription
ReadRowsRequest

buildPartial()

public ReadRowsRequest buildPartial()
Returns
TypeDescription
ReadRowsRequest

clear()

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

clearField(Descriptors.FieldDescriptor field)

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

clearOffset()

public ReadRowsRequest.Builder clearOffset()

The offset requested must be less than the last row read from Read. Requesting a larger offset is undefined. If not specified, start reading from offset zero.

int64 offset = 2;

Returns
TypeDescription
ReadRowsRequest.Builder

This builder for chaining.

clearOneof(Descriptors.OneofDescriptor oneof)

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

clearReadStream()

public ReadRowsRequest.Builder clearReadStream()

Required. Stream to read rows from.

string read_stream = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }

Returns
TypeDescription
ReadRowsRequest.Builder

This builder for chaining.

clone()

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

getDefaultInstanceForType()

public ReadRowsRequest getDefaultInstanceForType()
Returns
TypeDescription
ReadRowsRequest

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
TypeDescription
Descriptor
Overrides

getOffset()

public long getOffset()

The offset requested must be less than the last row read from Read. Requesting a larger offset is undefined. If not specified, start reading from offset zero.

int64 offset = 2;

Returns
TypeDescription
long

The offset.

getReadStream()

public String getReadStream()

Required. Stream to read rows from.

string read_stream = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }

Returns
TypeDescription
String

The readStream.

getReadStreamBytes()

public ByteString getReadStreamBytes()

Required. Stream to read rows from.

string read_stream = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }

Returns
TypeDescription
ByteString

The bytes for readStream.

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
TypeDescription
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
TypeDescription
boolean
Overrides

mergeFrom(ReadRowsRequest other)

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

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

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

mergeUnknownFields(UnknownFieldSet unknownFields)

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

setField(Descriptors.FieldDescriptor field, Object value)

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

setOffset(long value)

public ReadRowsRequest.Builder setOffset(long value)

The offset requested must be less than the last row read from Read. Requesting a larger offset is undefined. If not specified, start reading from offset zero.

int64 offset = 2;

Parameter
NameDescription
valuelong

The offset to set.

Returns
TypeDescription
ReadRowsRequest.Builder

This builder for chaining.

setReadStream(String value)

public ReadRowsRequest.Builder setReadStream(String value)

Required. Stream to read rows from.

string read_stream = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }

Parameter
NameDescription
valueString

The readStream to set.

Returns
TypeDescription
ReadRowsRequest.Builder

This builder for chaining.

setReadStreamBytes(ByteString value)

public ReadRowsRequest.Builder setReadStreamBytes(ByteString value)

Required. Stream to read rows from.

string read_stream = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }

Parameter
NameDescription
valueByteString

The bytes for readStream to set.

Returns
TypeDescription
ReadRowsRequest.Builder

This builder for chaining.

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

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

setUnknownFields(UnknownFieldSet unknownFields)

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