public static final class ReadRowsResponse.Builder extends com.google.protobuf.GeneratedMessageV3.Builder<ReadRowsResponse.Builder> implements ReadRowsResponseOrBuilder
Response from calling `ReadRows` may include row data, progress and throttling information.Protobuf type
google.cloud.bigquery.storage.v1beta2.ReadRowsResponsegetAllFields, getField, getFieldBuilder, getOneofFieldDescriptor, getParentForChildren, getRepeatedField, getRepeatedFieldBuilder, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof, internalGetMapField, internalGetMutableMapField, isClean, markClean, newBuilderForField, onBuilt, onChanged, setUnknownFieldsProto3findInitializationErrors, getInitializationErrorString, internalMergeFrom, mergeDelimitedFrom, mergeDelimitedFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException, toStringaddAll, addAll, mergeFrom, newUninitializedMessageExceptionequals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitpublic static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
internalGetFieldAccessorTable in class com.google.protobuf.GeneratedMessageV3.Builder<ReadRowsResponse.Builder>public ReadRowsResponse.Builder clear()
clear in interface com.google.protobuf.Message.Builderclear in interface com.google.protobuf.MessageLite.Builderclear in class com.google.protobuf.GeneratedMessageV3.Builder<ReadRowsResponse.Builder>public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()
getDescriptorForType in interface com.google.protobuf.Message.BuildergetDescriptorForType in interface com.google.protobuf.MessageOrBuildergetDescriptorForType in class com.google.protobuf.GeneratedMessageV3.Builder<ReadRowsResponse.Builder>public ReadRowsResponse getDefaultInstanceForType()
getDefaultInstanceForType in interface com.google.protobuf.MessageLiteOrBuildergetDefaultInstanceForType in interface com.google.protobuf.MessageOrBuilderpublic ReadRowsResponse build()
build in interface com.google.protobuf.Message.Builderbuild in interface com.google.protobuf.MessageLite.Builderpublic ReadRowsResponse buildPartial()
buildPartial in interface com.google.protobuf.Message.BuilderbuildPartial in interface com.google.protobuf.MessageLite.Builderpublic ReadRowsResponse.Builder clone()
clone in interface com.google.protobuf.Message.Builderclone in interface com.google.protobuf.MessageLite.Builderclone in class com.google.protobuf.GeneratedMessageV3.Builder<ReadRowsResponse.Builder>public ReadRowsResponse.Builder setField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
setField in interface com.google.protobuf.Message.BuildersetField in class com.google.protobuf.GeneratedMessageV3.Builder<ReadRowsResponse.Builder>public ReadRowsResponse.Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field)
clearField in interface com.google.protobuf.Message.BuilderclearField in class com.google.protobuf.GeneratedMessageV3.Builder<ReadRowsResponse.Builder>public ReadRowsResponse.Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)
clearOneof in interface com.google.protobuf.Message.BuilderclearOneof in class com.google.protobuf.GeneratedMessageV3.Builder<ReadRowsResponse.Builder>public ReadRowsResponse.Builder setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, Object value)
setRepeatedField in interface com.google.protobuf.Message.BuildersetRepeatedField in class com.google.protobuf.GeneratedMessageV3.Builder<ReadRowsResponse.Builder>public ReadRowsResponse.Builder addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
addRepeatedField in interface com.google.protobuf.Message.BuilderaddRepeatedField in class com.google.protobuf.GeneratedMessageV3.Builder<ReadRowsResponse.Builder>public ReadRowsResponse.Builder mergeFrom(com.google.protobuf.Message other)
mergeFrom in interface com.google.protobuf.Message.BuildermergeFrom in class com.google.protobuf.AbstractMessage.Builder<ReadRowsResponse.Builder>public ReadRowsResponse.Builder mergeFrom(ReadRowsResponse other)
public final boolean isInitialized()
isInitialized in interface com.google.protobuf.MessageLiteOrBuilderisInitialized in class com.google.protobuf.GeneratedMessageV3.Builder<ReadRowsResponse.Builder>public ReadRowsResponse.Builder mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
mergeFrom in interface com.google.protobuf.Message.BuildermergeFrom in interface com.google.protobuf.MessageLite.BuildermergeFrom in class com.google.protobuf.AbstractMessage.Builder<ReadRowsResponse.Builder>IOExceptionpublic ReadRowsResponse.RowsCase getRowsCase()
getRowsCase in interface ReadRowsResponseOrBuilderpublic ReadRowsResponse.Builder clearRows()
public ReadRowsResponse.SchemaCase getSchemaCase()
getSchemaCase in interface ReadRowsResponseOrBuilderpublic ReadRowsResponse.Builder clearSchema()
public boolean hasAvroRows()
Serialized row data in AVRO format.
.google.cloud.bigquery.storage.v1beta2.AvroRows avro_rows = 3;hasAvroRows in interface ReadRowsResponseOrBuilderpublic AvroRows getAvroRows()
Serialized row data in AVRO format.
.google.cloud.bigquery.storage.v1beta2.AvroRows avro_rows = 3;getAvroRows in interface ReadRowsResponseOrBuilderpublic ReadRowsResponse.Builder setAvroRows(AvroRows value)
Serialized row data in AVRO format.
.google.cloud.bigquery.storage.v1beta2.AvroRows avro_rows = 3;public ReadRowsResponse.Builder setAvroRows(AvroRows.Builder builderForValue)
Serialized row data in AVRO format.
.google.cloud.bigquery.storage.v1beta2.AvroRows avro_rows = 3;public ReadRowsResponse.Builder mergeAvroRows(AvroRows value)
Serialized row data in AVRO format.
.google.cloud.bigquery.storage.v1beta2.AvroRows avro_rows = 3;public ReadRowsResponse.Builder clearAvroRows()
Serialized row data in AVRO format.
.google.cloud.bigquery.storage.v1beta2.AvroRows avro_rows = 3;public AvroRows.Builder getAvroRowsBuilder()
Serialized row data in AVRO format.
.google.cloud.bigquery.storage.v1beta2.AvroRows avro_rows = 3;public AvroRowsOrBuilder getAvroRowsOrBuilder()
Serialized row data in AVRO format.
.google.cloud.bigquery.storage.v1beta2.AvroRows avro_rows = 3;getAvroRowsOrBuilder in interface ReadRowsResponseOrBuilderpublic boolean hasArrowRecordBatch()
Serialized row data in Arrow RecordBatch format.
.google.cloud.bigquery.storage.v1beta2.ArrowRecordBatch arrow_record_batch = 4;hasArrowRecordBatch in interface ReadRowsResponseOrBuilderpublic ArrowRecordBatch getArrowRecordBatch()
Serialized row data in Arrow RecordBatch format.
.google.cloud.bigquery.storage.v1beta2.ArrowRecordBatch arrow_record_batch = 4;getArrowRecordBatch in interface ReadRowsResponseOrBuilderpublic ReadRowsResponse.Builder setArrowRecordBatch(ArrowRecordBatch value)
Serialized row data in Arrow RecordBatch format.
.google.cloud.bigquery.storage.v1beta2.ArrowRecordBatch arrow_record_batch = 4;public ReadRowsResponse.Builder setArrowRecordBatch(ArrowRecordBatch.Builder builderForValue)
Serialized row data in Arrow RecordBatch format.
.google.cloud.bigquery.storage.v1beta2.ArrowRecordBatch arrow_record_batch = 4;public ReadRowsResponse.Builder mergeArrowRecordBatch(ArrowRecordBatch value)
Serialized row data in Arrow RecordBatch format.
.google.cloud.bigquery.storage.v1beta2.ArrowRecordBatch arrow_record_batch = 4;public ReadRowsResponse.Builder clearArrowRecordBatch()
Serialized row data in Arrow RecordBatch format.
.google.cloud.bigquery.storage.v1beta2.ArrowRecordBatch arrow_record_batch = 4;public ArrowRecordBatch.Builder getArrowRecordBatchBuilder()
Serialized row data in Arrow RecordBatch format.
.google.cloud.bigquery.storage.v1beta2.ArrowRecordBatch arrow_record_batch = 4;public ArrowRecordBatchOrBuilder getArrowRecordBatchOrBuilder()
Serialized row data in Arrow RecordBatch format.
.google.cloud.bigquery.storage.v1beta2.ArrowRecordBatch arrow_record_batch = 4;getArrowRecordBatchOrBuilder in interface ReadRowsResponseOrBuilderpublic long getRowCount()
Number of serialized rows in the rows block.
int64 row_count = 6;getRowCount in interface ReadRowsResponseOrBuilderpublic ReadRowsResponse.Builder setRowCount(long value)
Number of serialized rows in the rows block.
int64 row_count = 6;value - The rowCount to set.public ReadRowsResponse.Builder clearRowCount()
Number of serialized rows in the rows block.
int64 row_count = 6;public boolean hasStats()
Statistics for the stream.
.google.cloud.bigquery.storage.v1beta2.StreamStats stats = 2;hasStats in interface ReadRowsResponseOrBuilderpublic StreamStats getStats()
Statistics for the stream.
.google.cloud.bigquery.storage.v1beta2.StreamStats stats = 2;getStats in interface ReadRowsResponseOrBuilderpublic ReadRowsResponse.Builder setStats(StreamStats value)
Statistics for the stream.
.google.cloud.bigquery.storage.v1beta2.StreamStats stats = 2;public ReadRowsResponse.Builder setStats(StreamStats.Builder builderForValue)
Statistics for the stream.
.google.cloud.bigquery.storage.v1beta2.StreamStats stats = 2;public ReadRowsResponse.Builder mergeStats(StreamStats value)
Statistics for the stream.
.google.cloud.bigquery.storage.v1beta2.StreamStats stats = 2;public ReadRowsResponse.Builder clearStats()
Statistics for the stream.
.google.cloud.bigquery.storage.v1beta2.StreamStats stats = 2;public StreamStats.Builder getStatsBuilder()
Statistics for the stream.
.google.cloud.bigquery.storage.v1beta2.StreamStats stats = 2;public StreamStatsOrBuilder getStatsOrBuilder()
Statistics for the stream.
.google.cloud.bigquery.storage.v1beta2.StreamStats stats = 2;getStatsOrBuilder in interface ReadRowsResponseOrBuilderpublic boolean hasThrottleState()
Throttling state. If unset, the latest response still describes the current throttling status.
.google.cloud.bigquery.storage.v1beta2.ThrottleState throttle_state = 5;hasThrottleState in interface ReadRowsResponseOrBuilderpublic ThrottleState getThrottleState()
Throttling state. If unset, the latest response still describes the current throttling status.
.google.cloud.bigquery.storage.v1beta2.ThrottleState throttle_state = 5;getThrottleState in interface ReadRowsResponseOrBuilderpublic ReadRowsResponse.Builder setThrottleState(ThrottleState value)
Throttling state. If unset, the latest response still describes the current throttling status.
.google.cloud.bigquery.storage.v1beta2.ThrottleState throttle_state = 5;public ReadRowsResponse.Builder setThrottleState(ThrottleState.Builder builderForValue)
Throttling state. If unset, the latest response still describes the current throttling status.
.google.cloud.bigquery.storage.v1beta2.ThrottleState throttle_state = 5;public ReadRowsResponse.Builder mergeThrottleState(ThrottleState value)
Throttling state. If unset, the latest response still describes the current throttling status.
.google.cloud.bigquery.storage.v1beta2.ThrottleState throttle_state = 5;public ReadRowsResponse.Builder clearThrottleState()
Throttling state. If unset, the latest response still describes the current throttling status.
.google.cloud.bigquery.storage.v1beta2.ThrottleState throttle_state = 5;public ThrottleState.Builder getThrottleStateBuilder()
Throttling state. If unset, the latest response still describes the current throttling status.
.google.cloud.bigquery.storage.v1beta2.ThrottleState throttle_state = 5;public ThrottleStateOrBuilder getThrottleStateOrBuilder()
Throttling state. If unset, the latest response still describes the current throttling status.
.google.cloud.bigquery.storage.v1beta2.ThrottleState throttle_state = 5;getThrottleStateOrBuilder in interface ReadRowsResponseOrBuilderpublic boolean hasAvroSchema()
Output only. Avro schema.
.google.cloud.bigquery.storage.v1beta2.AvroSchema avro_schema = 7 [(.google.api.field_behavior) = OUTPUT_ONLY];
hasAvroSchema in interface ReadRowsResponseOrBuilderpublic AvroSchema getAvroSchema()
Output only. Avro schema.
.google.cloud.bigquery.storage.v1beta2.AvroSchema avro_schema = 7 [(.google.api.field_behavior) = OUTPUT_ONLY];
getAvroSchema in interface ReadRowsResponseOrBuilderpublic ReadRowsResponse.Builder setAvroSchema(AvroSchema value)
Output only. Avro schema.
.google.cloud.bigquery.storage.v1beta2.AvroSchema avro_schema = 7 [(.google.api.field_behavior) = OUTPUT_ONLY];
public ReadRowsResponse.Builder setAvroSchema(AvroSchema.Builder builderForValue)
Output only. Avro schema.
.google.cloud.bigquery.storage.v1beta2.AvroSchema avro_schema = 7 [(.google.api.field_behavior) = OUTPUT_ONLY];
public ReadRowsResponse.Builder mergeAvroSchema(AvroSchema value)
Output only. Avro schema.
.google.cloud.bigquery.storage.v1beta2.AvroSchema avro_schema = 7 [(.google.api.field_behavior) = OUTPUT_ONLY];
public ReadRowsResponse.Builder clearAvroSchema()
Output only. Avro schema.
.google.cloud.bigquery.storage.v1beta2.AvroSchema avro_schema = 7 [(.google.api.field_behavior) = OUTPUT_ONLY];
public AvroSchema.Builder getAvroSchemaBuilder()
Output only. Avro schema.
.google.cloud.bigquery.storage.v1beta2.AvroSchema avro_schema = 7 [(.google.api.field_behavior) = OUTPUT_ONLY];
public AvroSchemaOrBuilder getAvroSchemaOrBuilder()
Output only. Avro schema.
.google.cloud.bigquery.storage.v1beta2.AvroSchema avro_schema = 7 [(.google.api.field_behavior) = OUTPUT_ONLY];
getAvroSchemaOrBuilder in interface ReadRowsResponseOrBuilderpublic boolean hasArrowSchema()
Output only. Arrow schema.
.google.cloud.bigquery.storage.v1beta2.ArrowSchema arrow_schema = 8 [(.google.api.field_behavior) = OUTPUT_ONLY];
hasArrowSchema in interface ReadRowsResponseOrBuilderpublic ArrowSchema getArrowSchema()
Output only. Arrow schema.
.google.cloud.bigquery.storage.v1beta2.ArrowSchema arrow_schema = 8 [(.google.api.field_behavior) = OUTPUT_ONLY];
getArrowSchema in interface ReadRowsResponseOrBuilderpublic ReadRowsResponse.Builder setArrowSchema(ArrowSchema value)
Output only. Arrow schema.
.google.cloud.bigquery.storage.v1beta2.ArrowSchema arrow_schema = 8 [(.google.api.field_behavior) = OUTPUT_ONLY];
public ReadRowsResponse.Builder setArrowSchema(ArrowSchema.Builder builderForValue)
Output only. Arrow schema.
.google.cloud.bigquery.storage.v1beta2.ArrowSchema arrow_schema = 8 [(.google.api.field_behavior) = OUTPUT_ONLY];
public ReadRowsResponse.Builder mergeArrowSchema(ArrowSchema value)
Output only. Arrow schema.
.google.cloud.bigquery.storage.v1beta2.ArrowSchema arrow_schema = 8 [(.google.api.field_behavior) = OUTPUT_ONLY];
public ReadRowsResponse.Builder clearArrowSchema()
Output only. Arrow schema.
.google.cloud.bigquery.storage.v1beta2.ArrowSchema arrow_schema = 8 [(.google.api.field_behavior) = OUTPUT_ONLY];
public ArrowSchema.Builder getArrowSchemaBuilder()
Output only. Arrow schema.
.google.cloud.bigquery.storage.v1beta2.ArrowSchema arrow_schema = 8 [(.google.api.field_behavior) = OUTPUT_ONLY];
public ArrowSchemaOrBuilder getArrowSchemaOrBuilder()
Output only. Arrow schema.
.google.cloud.bigquery.storage.v1beta2.ArrowSchema arrow_schema = 8 [(.google.api.field_behavior) = OUTPUT_ONLY];
getArrowSchemaOrBuilder in interface ReadRowsResponseOrBuilderpublic final ReadRowsResponse.Builder setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
setUnknownFields in interface com.google.protobuf.Message.BuildersetUnknownFields in class com.google.protobuf.GeneratedMessageV3.Builder<ReadRowsResponse.Builder>public final ReadRowsResponse.Builder mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
mergeUnknownFields in interface com.google.protobuf.Message.BuildermergeUnknownFields in class com.google.protobuf.GeneratedMessageV3.Builder<ReadRowsResponse.Builder>Copyright © 2021 Google LLC. All rights reserved.