Send feedback
Class ReadRowsRequest.Builder (2.8.2)
Stay organized with collections
Save and categorize content based on your preferences.
Version 2.8.2 keyboard_arrow_down
public static final class ReadRowsRequest . Builder extends GeneratedMessageV3 . Builder<ReadRowsRequest . Builder > implements ReadRowsRequestOrBuilder
Request message for ReadRows
.
Protobuf type google.cloud.bigquery.storage.v1beta2.ReadRowsRequest
Static Methods
getDescriptor()
public static final Descriptors . Descriptor getDescriptor ()
Returns
Methods
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
public ReadRowsRequest . Builder addRepeatedField ( Descriptors . FieldDescriptor field , Object value )
Parameters
Returns
Overrides
build()
public ReadRowsRequest build ()
Returns
buildPartial()
public ReadRowsRequest buildPartial ()
Returns
clear()
public ReadRowsRequest . Builder clear ()
Returns
Overrides
clearField(Descriptors.FieldDescriptor field)
public ReadRowsRequest . Builder clearField ( Descriptors . FieldDescriptor field )
Parameter
Returns
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
clearOneof(Descriptors.OneofDescriptor oneof)
public ReadRowsRequest . Builder clearOneof ( Descriptors . OneofDescriptor oneof )
Parameter
Returns
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
clone()
public ReadRowsRequest . Builder clone ()
Returns
Overrides
getDefaultInstanceForType()
public ReadRowsRequest getDefaultInstanceForType ()
Returns
getDescriptorForType()
public Descriptors . Descriptor getDescriptorForType ()
Returns
Overrides
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
Type Description 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
Type Description 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
Type Description ByteString The bytes for readStream.
internalGetFieldAccessorTable()
protected GeneratedMessageV3 . FieldAccessorTable internalGetFieldAccessorTable ()
Returns
Overrides
isInitialized()
public final boolean isInitialized ()
Returns
Overrides
mergeFrom(ReadRowsRequest other)
public ReadRowsRequest . Builder mergeFrom ( ReadRowsRequest other )
Parameter
Returns
public ReadRowsRequest . Builder mergeFrom ( CodedInputStream input , ExtensionRegistryLite extensionRegistry )
Parameters
Returns
Overrides
Exceptions
mergeFrom(Message other)
public ReadRowsRequest . Builder mergeFrom ( Message other )
Parameter
Returns
Overrides
mergeUnknownFields(UnknownFieldSet unknownFields)
public final ReadRowsRequest . Builder mergeUnknownFields ( UnknownFieldSet unknownFields )
Parameter
Returns
Overrides
setField(Descriptors.FieldDescriptor field, Object value)
public ReadRowsRequest . Builder setField ( Descriptors . FieldDescriptor field , Object value )
Parameters
Returns
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
Name Description value long
The offset to set.
Returns
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
Name Description value String
The readStream to set.
Returns
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
Name Description value ByteString
The bytes for readStream to set.
Returns
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public ReadRowsRequest . Builder setRepeatedField ( Descriptors . FieldDescriptor field , int index , Object value )
Parameters
Returns
Overrides
setUnknownFields(UnknownFieldSet unknownFields)
public final ReadRowsRequest . Builder setUnknownFields ( UnknownFieldSet unknownFields )
Parameter
Returns
Overrides
Send feedback
Except as otherwise noted, the content of this page is licensed under the Creative Commons Attribution 4.0 License , and code samples are licensed under the Apache 2.0 License . For details, see the Google Developers Site Policies . Java is a registered trademark of Oracle and/or its affiliates.
Last updated 2025-01-27 UTC.
Need to tell us more?
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Hard to understand","hardToUnderstand","thumb-down"],["Incorrect information or sample code","incorrectInformationOrSampleCode","thumb-down"],["Missing the information/samples I need","missingTheInformationSamplesINeed","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2025-01-27 UTC."],[],[]]