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()
Returns | |
---|---|
Type | Description |
Descriptor |
Methods
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
public ReadRowsRequest.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters | |
---|---|
Name | Description |
field | FieldDescriptor |
value | Object |
Returns | |
---|---|
Type | Description |
ReadRowsRequest.Builder |
build()
public ReadRowsRequest build()
Returns | |
---|---|
Type | Description |
ReadRowsRequest |
buildPartial()
public ReadRowsRequest buildPartial()
Returns | |
---|---|
Type | Description |
ReadRowsRequest |
clear()
public ReadRowsRequest.Builder clear()
Returns | |
---|---|
Type | Description |
ReadRowsRequest.Builder |
clearField(Descriptors.FieldDescriptor field)
public ReadRowsRequest.Builder clearField(Descriptors.FieldDescriptor field)
Parameter | |
---|---|
Name | Description |
field | FieldDescriptor |
Returns | |
---|---|
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;
Returns | |
---|---|
Type | Description |
ReadRowsRequest.Builder | This builder for chaining. |
clearOneof(Descriptors.OneofDescriptor oneof)
public ReadRowsRequest.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter | |
---|---|
Name | Description |
oneof | OneofDescriptor |
Returns | |
---|---|
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) = { ... }
Returns | |
---|---|
Type | Description |
ReadRowsRequest.Builder | This builder for chaining. |
clone()
public ReadRowsRequest.Builder clone()
Returns | |
---|---|
Type | Description |
ReadRowsRequest.Builder |
getDefaultInstanceForType()
public ReadRowsRequest getDefaultInstanceForType()
Returns | |
---|---|
Type | Description |
ReadRowsRequest |
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()
Returns | |
---|---|
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;
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 | |
---|---|
Type | Description |
FieldAccessorTable |
isInitialized()
public final boolean isInitialized()
Returns | |
---|---|
Type | Description |
boolean |
mergeFrom(ReadRowsRequest other)
public ReadRowsRequest.Builder mergeFrom(ReadRowsRequest other)
Parameter | |
---|---|
Name | Description |
other | ReadRowsRequest |
Returns | |
---|---|
Type | Description |
ReadRowsRequest.Builder |
mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public ReadRowsRequest.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters | |
---|---|
Name | Description |
input | CodedInputStream |
extensionRegistry | ExtensionRegistryLite |
Returns | |
---|---|
Type | Description |
ReadRowsRequest.Builder |
Exceptions | |
---|---|
Type | Description |
IOException |
mergeFrom(Message other)
public ReadRowsRequest.Builder mergeFrom(Message other)
Parameter | |
---|---|
Name | Description |
other | Message |
Returns | |
---|---|
Type | Description |
ReadRowsRequest.Builder |
mergeUnknownFields(UnknownFieldSet unknownFields)
public final ReadRowsRequest.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter | |
---|---|
Name | Description |
unknownFields | UnknownFieldSet |
Returns | |
---|---|
Type | Description |
ReadRowsRequest.Builder |
setField(Descriptors.FieldDescriptor field, Object value)
public ReadRowsRequest.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters | |
---|---|
Name | Description |
field | FieldDescriptor |
value | Object |
Returns | |
---|---|
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;
Parameter | |
---|---|
Name | Description |
value | long The offset to set. |
Returns | |
---|---|
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) = { ... }
Parameter | |
---|---|
Name | Description |
value | String The readStream to set. |
Returns | |
---|---|
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) = { ... }
Parameter | |
---|---|
Name | Description |
value | ByteString The bytes for readStream to set. |
Returns | |
---|---|
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)
Parameters | |
---|---|
Name | Description |
field | FieldDescriptor |
index | int |
value | Object |
Returns | |
---|---|
Type | Description |
ReadRowsRequest.Builder |
setUnknownFields(UnknownFieldSet unknownFields)
public final ReadRowsRequest.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter | |
---|---|
Name | Description |
unknownFields | UnknownFieldSet |
Returns | |
---|---|
Type | Description |
ReadRowsRequest.Builder |