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
Inheritance
Object > AbstractMessageLite.Builder<MessageType,BuilderType> > AbstractMessage.Builder<BuilderType> > GeneratedMessageV3.Builder > ReadRowsRequest.BuilderImplements
ReadRowsRequestOrBuilderStatic Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
Type | Description |
Descriptor |
Methods
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
public ReadRowsRequest.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Name | Description |
field | FieldDescriptor |
value | Object |
Type | Description |
ReadRowsRequest.Builder |
build()
public ReadRowsRequest build()
Type | Description |
ReadRowsRequest |
buildPartial()
public ReadRowsRequest buildPartial()
Type | Description |
ReadRowsRequest |
clear()
public ReadRowsRequest.Builder clear()
Type | Description |
ReadRowsRequest.Builder |
clearField(Descriptors.FieldDescriptor field)
public ReadRowsRequest.Builder clearField(Descriptors.FieldDescriptor field)
Name | Description |
field | FieldDescriptor |
Type | Description |
ReadRowsRequest.Builder |
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;
Type | Description |
ReadRowsRequest.Builder | This builder for chaining. |
clearOneof(Descriptors.OneofDescriptor oneof)
public ReadRowsRequest.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Name | Description |
oneof | OneofDescriptor |
Type | Description |
ReadRowsRequest.Builder |
clearReadStream()
public ReadRowsRequest.Builder clearReadStream()
Required. Stream to read rows from.
string read_stream = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
Type | Description |
ReadRowsRequest.Builder | This builder for chaining. |
clone()
public ReadRowsRequest.Builder clone()
Type | Description |
ReadRowsRequest.Builder |
getDefaultInstanceForType()
public ReadRowsRequest getDefaultInstanceForType()
Type | Description |
ReadRowsRequest |
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()
Type | Description |
Descriptor |
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;
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) = { ... }
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) = { ... }
Type | Description |
ByteString | The bytes for readStream. |
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Type | Description |
FieldAccessorTable |
isInitialized()
public final boolean isInitialized()
Type | Description |
boolean |
mergeFrom(ReadRowsRequest other)
public ReadRowsRequest.Builder mergeFrom(ReadRowsRequest other)
Name | Description |
other | ReadRowsRequest |
Type | Description |
ReadRowsRequest.Builder |
mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public ReadRowsRequest.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Name | Description |
input | CodedInputStream |
extensionRegistry | ExtensionRegistryLite |
Type | Description |
ReadRowsRequest.Builder |
Type | Description |
IOException |
mergeFrom(Message other)
public ReadRowsRequest.Builder mergeFrom(Message other)
Name | Description |
other | Message |
Type | Description |
ReadRowsRequest.Builder |
mergeUnknownFields(UnknownFieldSet unknownFields)
public final ReadRowsRequest.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Name | Description |
unknownFields | UnknownFieldSet |
Type | Description |
ReadRowsRequest.Builder |
setField(Descriptors.FieldDescriptor field, Object value)
public ReadRowsRequest.Builder setField(Descriptors.FieldDescriptor field, Object value)
Name | Description |
field | FieldDescriptor |
value | Object |
Type | Description |
ReadRowsRequest.Builder |
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;
Name | Description |
value | long The offset to set. |
Type | Description |
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) = { ... }
Name | Description |
value | String The readStream to set. |
Type | Description |
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) = { ... }
Name | Description |
value | ByteString The bytes for readStream to set. |
Type | Description |
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)
Name | Description |
field | FieldDescriptor |
index | int |
value | Object |
Type | Description |
ReadRowsRequest.Builder |
setUnknownFields(UnknownFieldSet unknownFields)
public final ReadRowsRequest.Builder setUnknownFields(UnknownFieldSet unknownFields)
Name | Description |
unknownFields | UnknownFieldSet |
Type | Description |
ReadRowsRequest.Builder |