Class Storage.ReadRowsResponse.Builder
java.lang.Object
com.google.protobuf.AbstractMessageLite.Builder
com.google.protobuf.AbstractMessage.Builder<BuilderT>
com.google.protobuf.GeneratedMessageV3.Builder<Storage.ReadRowsResponse.Builder>
com.google.cloud.bigquery.storage.v1beta1.Storage.ReadRowsResponse.Builder
- All Implemented Interfaces:
Storage.ReadRowsResponseOrBuilder,com.google.protobuf.Message.Builder,com.google.protobuf.MessageLite.Builder,com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder,Cloneable
- Enclosing class:
- Storage.ReadRowsResponse
public static final class Storage.ReadRowsResponse.Builder
extends com.google.protobuf.GeneratedMessageV3.Builder<Storage.ReadRowsResponse.Builder>
implements Storage.ReadRowsResponseOrBuilder
Response from calling `ReadRows` may include row data, progress and throttling information.Protobuf type
google.cloud.bigquery.storage.v1beta1.ReadRowsResponse-
Method Summary
Modifier and TypeMethodDescriptionaddRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value) build()clear()Serialized row data in Arrow RecordBatch format.Output only.Serialized row data in AVRO format.Output only.clearField(com.google.protobuf.Descriptors.FieldDescriptor field) clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) Number of serialized rows in the rows block.Estimated stream statistics.Throttling status.clone()Serialized row data in Arrow RecordBatch format.Serialized row data in Arrow RecordBatch format.Serialized row data in Arrow RecordBatch format.Output only.Output only.Output only.Serialized row data in AVRO format.Serialized row data in AVRO format.Serialized row data in AVRO format.Output only.Output only.Output only.static final com.google.protobuf.Descriptors.Descriptorcom.google.protobuf.Descriptors.DescriptorlongNumber of serialized rows in the rows block.Estimated stream statistics.Estimated stream statistics.Estimated stream statistics.Throttling status.Throttling status.Throttling status.booleanSerialized row data in Arrow RecordBatch format.booleanOutput only.booleanSerialized row data in AVRO format.booleanOutput only.booleanEstimated stream statistics.booleanThrottling status.protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTablefinal booleanSerialized row data in Arrow RecordBatch format.Output only.mergeAvroRows(AvroProto.AvroRows value) Serialized row data in AVRO format.Output only.mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) mergeFrom(com.google.protobuf.Message other) mergeStatus(Storage.StreamStatus value) Estimated stream statistics.Throttling status.mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) Serialized row data in Arrow RecordBatch format.setArrowRecordBatch(ArrowProto.ArrowRecordBatch.Builder builderForValue) Serialized row data in Arrow RecordBatch format.Output only.setArrowSchema(ArrowProto.ArrowSchema.Builder builderForValue) Output only.setAvroRows(AvroProto.AvroRows value) Serialized row data in AVRO format.setAvroRows(AvroProto.AvroRows.Builder builderForValue) Serialized row data in AVRO format.Output only.setAvroSchema(AvroProto.AvroSchema.Builder builderForValue) Output only.setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, Object value) setRowCount(long value) Number of serialized rows in the rows block.setStatus(Storage.StreamStatus value) Estimated stream statistics.setStatus(Storage.StreamStatus.Builder builderForValue) Estimated stream statistics.Throttling status.setThrottleStatus(Storage.ThrottleStatus.Builder builderForValue) Throttling status.setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) Methods inherited from class com.google.protobuf.GeneratedMessageV3.Builder
getAllFields, getField, getFieldBuilder, getOneofFieldDescriptor, getParentForChildren, getRepeatedField, getRepeatedFieldBuilder, getRepeatedFieldCount, getUnknownFields, getUnknownFieldSetBuilder, hasField, hasOneof, internalGetMapField, internalGetMapFieldReflection, internalGetMutableMapField, internalGetMutableMapFieldReflection, isClean, markClean, mergeUnknownLengthDelimitedField, mergeUnknownVarintField, newBuilderForField, onBuilt, onChanged, parseUnknownField, setUnknownFieldSetBuilder, setUnknownFieldsProto3Methods inherited from class com.google.protobuf.AbstractMessage.Builder
findInitializationErrors, getInitializationErrorString, internalMergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException, toStringMethods inherited from class com.google.protobuf.AbstractMessageLite.Builder
addAll, addAll, mergeDelimitedFrom, mergeDelimitedFrom, mergeFrom, newUninitializedMessageExceptionMethods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitMethods inherited from interface com.google.protobuf.Message.Builder
mergeDelimitedFrom, mergeDelimitedFromMethods inherited from interface com.google.protobuf.MessageLite.Builder
mergeFromMethods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
Method Details
-
getDescriptor
public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() -
internalGetFieldAccessorTable
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()- Specified by:
internalGetFieldAccessorTablein classcom.google.protobuf.GeneratedMessageV3.Builder<Storage.ReadRowsResponse.Builder>
-
clear
- Specified by:
clearin interfacecom.google.protobuf.Message.Builder- Specified by:
clearin interfacecom.google.protobuf.MessageLite.Builder- Overrides:
clearin classcom.google.protobuf.GeneratedMessageV3.Builder<Storage.ReadRowsResponse.Builder>
-
getDescriptorForType
public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()- Specified by:
getDescriptorForTypein interfacecom.google.protobuf.Message.Builder- Specified by:
getDescriptorForTypein interfacecom.google.protobuf.MessageOrBuilder- Overrides:
getDescriptorForTypein classcom.google.protobuf.GeneratedMessageV3.Builder<Storage.ReadRowsResponse.Builder>
-
getDefaultInstanceForType
- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageLiteOrBuilder- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageOrBuilder
-
build
- Specified by:
buildin interfacecom.google.protobuf.Message.Builder- Specified by:
buildin interfacecom.google.protobuf.MessageLite.Builder
-
buildPartial
- Specified by:
buildPartialin interfacecom.google.protobuf.Message.Builder- Specified by:
buildPartialin interfacecom.google.protobuf.MessageLite.Builder
-
clone
- Specified by:
clonein interfacecom.google.protobuf.Message.Builder- Specified by:
clonein interfacecom.google.protobuf.MessageLite.Builder- Overrides:
clonein classcom.google.protobuf.GeneratedMessageV3.Builder<Storage.ReadRowsResponse.Builder>
-
setField
public Storage.ReadRowsResponse.Builder setField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value) - Specified by:
setFieldin interfacecom.google.protobuf.Message.Builder- Overrides:
setFieldin classcom.google.protobuf.GeneratedMessageV3.Builder<Storage.ReadRowsResponse.Builder>
-
clearField
public Storage.ReadRowsResponse.Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) - Specified by:
clearFieldin interfacecom.google.protobuf.Message.Builder- Overrides:
clearFieldin classcom.google.protobuf.GeneratedMessageV3.Builder<Storage.ReadRowsResponse.Builder>
-
clearOneof
public Storage.ReadRowsResponse.Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) - Specified by:
clearOneofin interfacecom.google.protobuf.Message.Builder- Overrides:
clearOneofin classcom.google.protobuf.GeneratedMessageV3.Builder<Storage.ReadRowsResponse.Builder>
-
setRepeatedField
public Storage.ReadRowsResponse.Builder setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, Object value) - Specified by:
setRepeatedFieldin interfacecom.google.protobuf.Message.Builder- Overrides:
setRepeatedFieldin classcom.google.protobuf.GeneratedMessageV3.Builder<Storage.ReadRowsResponse.Builder>
-
addRepeatedField
public Storage.ReadRowsResponse.Builder addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value) - Specified by:
addRepeatedFieldin interfacecom.google.protobuf.Message.Builder- Overrides:
addRepeatedFieldin classcom.google.protobuf.GeneratedMessageV3.Builder<Storage.ReadRowsResponse.Builder>
-
mergeFrom
- Specified by:
mergeFromin interfacecom.google.protobuf.Message.Builder- Overrides:
mergeFromin classcom.google.protobuf.AbstractMessage.Builder<Storage.ReadRowsResponse.Builder>
-
mergeFrom
-
isInitialized
public final boolean isInitialized()- Specified by:
isInitializedin interfacecom.google.protobuf.MessageLiteOrBuilder- Overrides:
isInitializedin classcom.google.protobuf.GeneratedMessageV3.Builder<Storage.ReadRowsResponse.Builder>
-
mergeFrom
public Storage.ReadRowsResponse.Builder mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException - Specified by:
mergeFromin interfacecom.google.protobuf.Message.Builder- Specified by:
mergeFromin interfacecom.google.protobuf.MessageLite.Builder- Overrides:
mergeFromin classcom.google.protobuf.AbstractMessage.Builder<Storage.ReadRowsResponse.Builder>- Throws:
IOException
-
getRowsCase
- Specified by:
getRowsCasein interfaceStorage.ReadRowsResponseOrBuilder
-
clearRows
-
getSchemaCase
- Specified by:
getSchemaCasein interfaceStorage.ReadRowsResponseOrBuilder
-
clearSchema
-
hasAvroRows
public boolean hasAvroRows()Serialized row data in AVRO format.
.google.cloud.bigquery.storage.v1beta1.AvroRows avro_rows = 3;- Specified by:
hasAvroRowsin interfaceStorage.ReadRowsResponseOrBuilder- Returns:
- Whether the avroRows field is set.
-
getAvroRows
Serialized row data in AVRO format.
.google.cloud.bigquery.storage.v1beta1.AvroRows avro_rows = 3;- Specified by:
getAvroRowsin interfaceStorage.ReadRowsResponseOrBuilder- Returns:
- The avroRows.
-
setAvroRows
Serialized row data in AVRO format.
.google.cloud.bigquery.storage.v1beta1.AvroRows avro_rows = 3; -
setAvroRows
Serialized row data in AVRO format.
.google.cloud.bigquery.storage.v1beta1.AvroRows avro_rows = 3; -
mergeAvroRows
Serialized row data in AVRO format.
.google.cloud.bigquery.storage.v1beta1.AvroRows avro_rows = 3; -
clearAvroRows
Serialized row data in AVRO format.
.google.cloud.bigquery.storage.v1beta1.AvroRows avro_rows = 3; -
getAvroRowsBuilder
Serialized row data in AVRO format.
.google.cloud.bigquery.storage.v1beta1.AvroRows avro_rows = 3; -
getAvroRowsOrBuilder
Serialized row data in AVRO format.
.google.cloud.bigquery.storage.v1beta1.AvroRows avro_rows = 3;- Specified by:
getAvroRowsOrBuilderin interfaceStorage.ReadRowsResponseOrBuilder
-
hasArrowRecordBatch
public boolean hasArrowRecordBatch()Serialized row data in Arrow RecordBatch format.
.google.cloud.bigquery.storage.v1beta1.ArrowRecordBatch arrow_record_batch = 4;- Specified by:
hasArrowRecordBatchin interfaceStorage.ReadRowsResponseOrBuilder- Returns:
- Whether the arrowRecordBatch field is set.
-
getArrowRecordBatch
Serialized row data in Arrow RecordBatch format.
.google.cloud.bigquery.storage.v1beta1.ArrowRecordBatch arrow_record_batch = 4;- Specified by:
getArrowRecordBatchin interfaceStorage.ReadRowsResponseOrBuilder- Returns:
- The arrowRecordBatch.
-
setArrowRecordBatch
Serialized row data in Arrow RecordBatch format.
.google.cloud.bigquery.storage.v1beta1.ArrowRecordBatch arrow_record_batch = 4; -
setArrowRecordBatch
public Storage.ReadRowsResponse.Builder setArrowRecordBatch(ArrowProto.ArrowRecordBatch.Builder builderForValue) Serialized row data in Arrow RecordBatch format.
.google.cloud.bigquery.storage.v1beta1.ArrowRecordBatch arrow_record_batch = 4; -
mergeArrowRecordBatch
Serialized row data in Arrow RecordBatch format.
.google.cloud.bigquery.storage.v1beta1.ArrowRecordBatch arrow_record_batch = 4; -
clearArrowRecordBatch
Serialized row data in Arrow RecordBatch format.
.google.cloud.bigquery.storage.v1beta1.ArrowRecordBatch arrow_record_batch = 4; -
getArrowRecordBatchBuilder
Serialized row data in Arrow RecordBatch format.
.google.cloud.bigquery.storage.v1beta1.ArrowRecordBatch arrow_record_batch = 4; -
getArrowRecordBatchOrBuilder
Serialized row data in Arrow RecordBatch format.
.google.cloud.bigquery.storage.v1beta1.ArrowRecordBatch arrow_record_batch = 4;- Specified by:
getArrowRecordBatchOrBuilderin interfaceStorage.ReadRowsResponseOrBuilder
-
getRowCount
public long getRowCount()Number of serialized rows in the rows block. This value is recorded here, in addition to the row_count values in the output-specific messages in `rows`, so that code which needs to record progress through the stream can do so in an output format-independent way.
int64 row_count = 6;- Specified by:
getRowCountin interfaceStorage.ReadRowsResponseOrBuilder- Returns:
- The rowCount.
-
setRowCount
Number of serialized rows in the rows block. This value is recorded here, in addition to the row_count values in the output-specific messages in `rows`, so that code which needs to record progress through the stream can do so in an output format-independent way.
int64 row_count = 6;- Parameters:
value- The rowCount to set.- Returns:
- This builder for chaining.
-
clearRowCount
Number of serialized rows in the rows block. This value is recorded here, in addition to the row_count values in the output-specific messages in `rows`, so that code which needs to record progress through the stream can do so in an output format-independent way.
int64 row_count = 6;- Returns:
- This builder for chaining.
-
hasStatus
public boolean hasStatus()Estimated stream statistics.
.google.cloud.bigquery.storage.v1beta1.StreamStatus status = 2;- Specified by:
hasStatusin interfaceStorage.ReadRowsResponseOrBuilder- Returns:
- Whether the status field is set.
-
getStatus
Estimated stream statistics.
.google.cloud.bigquery.storage.v1beta1.StreamStatus status = 2;- Specified by:
getStatusin interfaceStorage.ReadRowsResponseOrBuilder- Returns:
- The status.
-
setStatus
Estimated stream statistics.
.google.cloud.bigquery.storage.v1beta1.StreamStatus status = 2; -
setStatus
Estimated stream statistics.
.google.cloud.bigquery.storage.v1beta1.StreamStatus status = 2; -
mergeStatus
Estimated stream statistics.
.google.cloud.bigquery.storage.v1beta1.StreamStatus status = 2; -
clearStatus
Estimated stream statistics.
.google.cloud.bigquery.storage.v1beta1.StreamStatus status = 2; -
getStatusBuilder
Estimated stream statistics.
.google.cloud.bigquery.storage.v1beta1.StreamStatus status = 2; -
getStatusOrBuilder
Estimated stream statistics.
.google.cloud.bigquery.storage.v1beta1.StreamStatus status = 2;- Specified by:
getStatusOrBuilderin interfaceStorage.ReadRowsResponseOrBuilder
-
hasThrottleStatus
public boolean hasThrottleStatus()Throttling status. If unset, the latest response still describes the current throttling status.
.google.cloud.bigquery.storage.v1beta1.ThrottleStatus throttle_status = 5;- Specified by:
hasThrottleStatusin interfaceStorage.ReadRowsResponseOrBuilder- Returns:
- Whether the throttleStatus field is set.
-
getThrottleStatus
Throttling status. If unset, the latest response still describes the current throttling status.
.google.cloud.bigquery.storage.v1beta1.ThrottleStatus throttle_status = 5;- Specified by:
getThrottleStatusin interfaceStorage.ReadRowsResponseOrBuilder- Returns:
- The throttleStatus.
-
setThrottleStatus
Throttling status. If unset, the latest response still describes the current throttling status.
.google.cloud.bigquery.storage.v1beta1.ThrottleStatus throttle_status = 5; -
setThrottleStatus
public Storage.ReadRowsResponse.Builder setThrottleStatus(Storage.ThrottleStatus.Builder builderForValue) Throttling status. If unset, the latest response still describes the current throttling status.
.google.cloud.bigquery.storage.v1beta1.ThrottleStatus throttle_status = 5; -
mergeThrottleStatus
Throttling status. If unset, the latest response still describes the current throttling status.
.google.cloud.bigquery.storage.v1beta1.ThrottleStatus throttle_status = 5; -
clearThrottleStatus
Throttling status. If unset, the latest response still describes the current throttling status.
.google.cloud.bigquery.storage.v1beta1.ThrottleStatus throttle_status = 5; -
getThrottleStatusBuilder
Throttling status. If unset, the latest response still describes the current throttling status.
.google.cloud.bigquery.storage.v1beta1.ThrottleStatus throttle_status = 5; -
getThrottleStatusOrBuilder
Throttling status. If unset, the latest response still describes the current throttling status.
.google.cloud.bigquery.storage.v1beta1.ThrottleStatus throttle_status = 5;- Specified by:
getThrottleStatusOrBuilderin interfaceStorage.ReadRowsResponseOrBuilder
-
hasAvroSchema
public boolean hasAvroSchema()Output only. Avro schema.
.google.cloud.bigquery.storage.v1beta1.AvroSchema avro_schema = 7 [(.google.api.field_behavior) = OUTPUT_ONLY];- Specified by:
hasAvroSchemain interfaceStorage.ReadRowsResponseOrBuilder- Returns:
- Whether the avroSchema field is set.
-
getAvroSchema
Output only. Avro schema.
.google.cloud.bigquery.storage.v1beta1.AvroSchema avro_schema = 7 [(.google.api.field_behavior) = OUTPUT_ONLY];- Specified by:
getAvroSchemain interfaceStorage.ReadRowsResponseOrBuilder- Returns:
- The avroSchema.
-
setAvroSchema
Output only. Avro schema.
.google.cloud.bigquery.storage.v1beta1.AvroSchema avro_schema = 7 [(.google.api.field_behavior) = OUTPUT_ONLY]; -
setAvroSchema
Output only. Avro schema.
.google.cloud.bigquery.storage.v1beta1.AvroSchema avro_schema = 7 [(.google.api.field_behavior) = OUTPUT_ONLY]; -
mergeAvroSchema
Output only. Avro schema.
.google.cloud.bigquery.storage.v1beta1.AvroSchema avro_schema = 7 [(.google.api.field_behavior) = OUTPUT_ONLY]; -
clearAvroSchema
Output only. Avro schema.
.google.cloud.bigquery.storage.v1beta1.AvroSchema avro_schema = 7 [(.google.api.field_behavior) = OUTPUT_ONLY]; -
getAvroSchemaBuilder
Output only. Avro schema.
.google.cloud.bigquery.storage.v1beta1.AvroSchema avro_schema = 7 [(.google.api.field_behavior) = OUTPUT_ONLY]; -
getAvroSchemaOrBuilder
Output only. Avro schema.
.google.cloud.bigquery.storage.v1beta1.AvroSchema avro_schema = 7 [(.google.api.field_behavior) = OUTPUT_ONLY];- Specified by:
getAvroSchemaOrBuilderin interfaceStorage.ReadRowsResponseOrBuilder
-
hasArrowSchema
public boolean hasArrowSchema()Output only. Arrow schema.
.google.cloud.bigquery.storage.v1beta1.ArrowSchema arrow_schema = 8 [(.google.api.field_behavior) = OUTPUT_ONLY];- Specified by:
hasArrowSchemain interfaceStorage.ReadRowsResponseOrBuilder- Returns:
- Whether the arrowSchema field is set.
-
getArrowSchema
Output only. Arrow schema.
.google.cloud.bigquery.storage.v1beta1.ArrowSchema arrow_schema = 8 [(.google.api.field_behavior) = OUTPUT_ONLY];- Specified by:
getArrowSchemain interfaceStorage.ReadRowsResponseOrBuilder- Returns:
- The arrowSchema.
-
setArrowSchema
Output only. Arrow schema.
.google.cloud.bigquery.storage.v1beta1.ArrowSchema arrow_schema = 8 [(.google.api.field_behavior) = OUTPUT_ONLY]; -
setArrowSchema
public Storage.ReadRowsResponse.Builder setArrowSchema(ArrowProto.ArrowSchema.Builder builderForValue) Output only. Arrow schema.
.google.cloud.bigquery.storage.v1beta1.ArrowSchema arrow_schema = 8 [(.google.api.field_behavior) = OUTPUT_ONLY]; -
mergeArrowSchema
Output only. Arrow schema.
.google.cloud.bigquery.storage.v1beta1.ArrowSchema arrow_schema = 8 [(.google.api.field_behavior) = OUTPUT_ONLY]; -
clearArrowSchema
Output only. Arrow schema.
.google.cloud.bigquery.storage.v1beta1.ArrowSchema arrow_schema = 8 [(.google.api.field_behavior) = OUTPUT_ONLY]; -
getArrowSchemaBuilder
Output only. Arrow schema.
.google.cloud.bigquery.storage.v1beta1.ArrowSchema arrow_schema = 8 [(.google.api.field_behavior) = OUTPUT_ONLY]; -
getArrowSchemaOrBuilder
Output only. Arrow schema.
.google.cloud.bigquery.storage.v1beta1.ArrowSchema arrow_schema = 8 [(.google.api.field_behavior) = OUTPUT_ONLY];- Specified by:
getArrowSchemaOrBuilderin interfaceStorage.ReadRowsResponseOrBuilder
-
setUnknownFields
public final Storage.ReadRowsResponse.Builder setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) - Specified by:
setUnknownFieldsin interfacecom.google.protobuf.Message.Builder- Overrides:
setUnknownFieldsin classcom.google.protobuf.GeneratedMessageV3.Builder<Storage.ReadRowsResponse.Builder>
-
mergeUnknownFields
public final Storage.ReadRowsResponse.Builder mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) - Specified by:
mergeUnknownFieldsin interfacecom.google.protobuf.Message.Builder- Overrides:
mergeUnknownFieldsin classcom.google.protobuf.GeneratedMessageV3.Builder<Storage.ReadRowsResponse.Builder>
-