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
Inherited Members
com.google.protobuf.GeneratedMessageV3.Builder.getUnknownFieldSetBuilder()
com.google.protobuf.GeneratedMessageV3.Builder.internalGetMapFieldReflection(int)
com.google.protobuf.GeneratedMessageV3.Builder.internalGetMutableMapFieldReflection(int)
com.google.protobuf.GeneratedMessageV3.Builder.mergeUnknownLengthDelimitedField(int,com.google.protobuf.ByteString)
com.google.protobuf.GeneratedMessageV3.Builder.mergeUnknownVarintField(int,int)
com.google.protobuf.GeneratedMessageV3.Builder.parseUnknownField(com.google.protobuf.CodedInputStream,com.google.protobuf.ExtensionRegistryLite,int)
com.google.protobuf.GeneratedMessageV3.Builder.setUnknownFieldSetBuilder(com.google.protobuf.UnknownFieldSet.Builder)
Static Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
Methods
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
public Storage.ReadRowsRequest.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Overrides
build()
public Storage.ReadRowsRequest build()
buildPartial()
public Storage.ReadRowsRequest buildPartial()
clear()
public Storage.ReadRowsRequest.Builder clear()
Overrides
clearField(Descriptors.FieldDescriptor field)
public Storage.ReadRowsRequest.Builder clearField(Descriptors.FieldDescriptor field)
Overrides
clearOneof(Descriptors.OneofDescriptor oneof)
public Storage.ReadRowsRequest.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Overrides
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];
clone()
public Storage.ReadRowsRequest.Builder clone()
Overrides
getDefaultInstanceForType()
public Storage.ReadRowsRequest getDefaultInstanceForType()
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()
Overrides
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];
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];
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];
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];
Returns |
---|
Type | Description |
boolean | Whether the readPosition field is set.
|
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Overrides
isInitialized()
public final boolean isInitialized()
Overrides
mergeFrom(Storage.ReadRowsRequest other)
public Storage.ReadRowsRequest.Builder mergeFrom(Storage.ReadRowsRequest other)
public Storage.ReadRowsRequest.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Overrides
mergeFrom(Message other)
public Storage.ReadRowsRequest.Builder mergeFrom(Message other)
Parameter |
---|
Name | Description |
other | Message
|
Overrides
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];
mergeUnknownFields(UnknownFieldSet unknownFields)
public final Storage.ReadRowsRequest.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Overrides
setField(Descriptors.FieldDescriptor field, Object value)
public Storage.ReadRowsRequest.Builder setField(Descriptors.FieldDescriptor field, Object value)
Overrides
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];
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];
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public Storage.ReadRowsRequest.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Overrides
setUnknownFields(UnknownFieldSet unknownFields)
public final Storage.ReadRowsRequest.Builder setUnknownFields(UnknownFieldSet unknownFields)
Overrides