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
Inheritance
Object > AbstractMessageLite.Builder<MessageType,BuilderType> > AbstractMessage.Builder<BuilderType> > GeneratedMessageV3.Builder > Storage.ReadRowsRequest.BuilderImplements
Storage.ReadRowsRequestOrBuilderMethods
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
public Storage.ReadRowsRequest.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Name | Description |
field | FieldDescriptor |
value | Object |
Type | Description |
Storage.ReadRowsRequest.Builder |
build()
public Storage.ReadRowsRequest build()
Type | Description |
Storage.ReadRowsRequest |
buildPartial()
public Storage.ReadRowsRequest buildPartial()
Type | Description |
Storage.ReadRowsRequest |
clear()
public Storage.ReadRowsRequest.Builder clear()
Type | Description |
Storage.ReadRowsRequest.Builder |
clearField(Descriptors.FieldDescriptor field)
public Storage.ReadRowsRequest.Builder clearField(Descriptors.FieldDescriptor field)
Name | Description |
field | FieldDescriptor |
Type | Description |
Storage.ReadRowsRequest.Builder |
clearOneof(Descriptors.OneofDescriptor oneof)
public Storage.ReadRowsRequest.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Name | Description |
oneof | OneofDescriptor |
Type | Description |
Storage.ReadRowsRequest.Builder |
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];
Type | Description |
Storage.ReadRowsRequest.Builder |
clone()
public Storage.ReadRowsRequest.Builder clone()
Type | Description |
Storage.ReadRowsRequest.Builder |
getDefaultInstanceForType()
public Storage.ReadRowsRequest getDefaultInstanceForType()
Type | Description |
Storage.ReadRowsRequest |
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
Type | Description |
Descriptor |
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()
Type | Description |
Descriptor |
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];
Type | Description |
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];
Type | Description |
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];
Type | Description |
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];
Type | Description |
boolean | Whether the readPosition field is set. |
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Type | Description |
FieldAccessorTable |
isInitialized()
public final boolean isInitialized()
Type | Description |
boolean |
mergeFrom(Storage.ReadRowsRequest other)
public Storage.ReadRowsRequest.Builder mergeFrom(Storage.ReadRowsRequest other)
Name | Description |
other | Storage.ReadRowsRequest |
Type | Description |
Storage.ReadRowsRequest.Builder |
mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public Storage.ReadRowsRequest.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Name | Description |
input | CodedInputStream |
extensionRegistry | ExtensionRegistryLite |
Type | Description |
Storage.ReadRowsRequest.Builder |
Type | Description |
IOException |
mergeFrom(Message other)
public Storage.ReadRowsRequest.Builder mergeFrom(Message other)
Name | Description |
other | Message |
Type | Description |
Storage.ReadRowsRequest.Builder |
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];
Name | Description |
value | Storage.StreamPosition |
Type | Description |
Storage.ReadRowsRequest.Builder |
mergeUnknownFields(UnknownFieldSet unknownFields)
public final Storage.ReadRowsRequest.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Name | Description |
unknownFields | UnknownFieldSet |
Type | Description |
Storage.ReadRowsRequest.Builder |
setField(Descriptors.FieldDescriptor field, Object value)
public Storage.ReadRowsRequest.Builder setField(Descriptors.FieldDescriptor field, Object value)
Name | Description |
field | FieldDescriptor |
value | Object |
Type | Description |
Storage.ReadRowsRequest.Builder |
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];
Name | Description |
value | Storage.StreamPosition |
Type | Description |
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];
Name | Description |
builderForValue | Storage.StreamPosition.Builder |
Type | Description |
Storage.ReadRowsRequest.Builder |
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public Storage.ReadRowsRequest.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Name | Description |
field | FieldDescriptor |
index | int |
value | Object |
Type | Description |
Storage.ReadRowsRequest.Builder |
setUnknownFields(UnknownFieldSet unknownFields)
public final Storage.ReadRowsRequest.Builder setUnknownFields(UnknownFieldSet unknownFields)
Name | Description |
unknownFields | UnknownFieldSet |
Type | Description |
Storage.ReadRowsRequest.Builder |