Class ReadRowsResponse
- java.lang.Object
-
- com.google.protobuf.AbstractMessageLite
-
- com.google.protobuf.AbstractMessage
-
- com.google.protobuf.GeneratedMessageV3
-
- com.google.cloud.bigquery.storage.v1beta2.ReadRowsResponse
-
- All Implemented Interfaces:
ReadRowsResponseOrBuilder
,com.google.protobuf.Message
,com.google.protobuf.MessageLite
,com.google.protobuf.MessageLiteOrBuilder
,com.google.protobuf.MessageOrBuilder
,Serializable
public final class ReadRowsResponse extends com.google.protobuf.GeneratedMessageV3 implements ReadRowsResponseOrBuilder
Response from calling `ReadRows` may include row data, progress and throttling information.
Protobuf typegoogle.cloud.bigquery.storage.v1beta2.ReadRowsResponse
- See Also:
- Serialized Form
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
ReadRowsResponse.Builder
Response from calling `ReadRows` may include row data, progress and throttling information.static class
ReadRowsResponse.RowsCase
static class
ReadRowsResponse.SchemaCase
-
Nested classes/interfaces inherited from class com.google.protobuf.GeneratedMessageV3
com.google.protobuf.GeneratedMessageV3.BuilderParent, com.google.protobuf.GeneratedMessageV3.ExtendableBuilder<MessageT extends com.google.protobuf.GeneratedMessageV3.ExtendableMessage<MessageT>,BuilderT extends com.google.protobuf.GeneratedMessageV3.ExtendableBuilder<MessageT,BuilderT>>, com.google.protobuf.GeneratedMessageV3.ExtendableMessage<MessageT extends com.google.protobuf.GeneratedMessageV3.ExtendableMessage<MessageT>>, com.google.protobuf.GeneratedMessageV3.ExtendableMessageOrBuilder<MessageT extends com.google.protobuf.GeneratedMessageV3.ExtendableMessage<MessageT>>, com.google.protobuf.GeneratedMessageV3.FieldAccessorTable, com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter
-
-
Field Summary
Fields Modifier and Type Field Description static int
ARROW_RECORD_BATCH_FIELD_NUMBER
static int
ARROW_SCHEMA_FIELD_NUMBER
static int
AVRO_ROWS_FIELD_NUMBER
static int
AVRO_SCHEMA_FIELD_NUMBER
static int
ROW_COUNT_FIELD_NUMBER
static int
STATS_FIELD_NUMBER
static int
THROTTLE_STATE_FIELD_NUMBER
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description boolean
equals(Object obj)
ArrowRecordBatch
getArrowRecordBatch()
Serialized row data in Arrow RecordBatch format.ArrowRecordBatchOrBuilder
getArrowRecordBatchOrBuilder()
Serialized row data in Arrow RecordBatch format.ArrowSchema
getArrowSchema()
Output only.ArrowSchemaOrBuilder
getArrowSchemaOrBuilder()
Output only.AvroRows
getAvroRows()
Serialized row data in AVRO format.AvroRowsOrBuilder
getAvroRowsOrBuilder()
Serialized row data in AVRO format.AvroSchema
getAvroSchema()
Output only.AvroSchemaOrBuilder
getAvroSchemaOrBuilder()
Output only.static ReadRowsResponse
getDefaultInstance()
ReadRowsResponse
getDefaultInstanceForType()
static com.google.protobuf.Descriptors.Descriptor
getDescriptor()
com.google.protobuf.Parser<ReadRowsResponse>
getParserForType()
long
getRowCount()
Number of serialized rows in the rows block.ReadRowsResponse.RowsCase
getRowsCase()
ReadRowsResponse.SchemaCase
getSchemaCase()
int
getSerializedSize()
StreamStats
getStats()
Statistics for the stream.StreamStatsOrBuilder
getStatsOrBuilder()
Statistics for the stream.ThrottleState
getThrottleState()
Throttling state.ThrottleStateOrBuilder
getThrottleStateOrBuilder()
Throttling state.boolean
hasArrowRecordBatch()
Serialized row data in Arrow RecordBatch format.boolean
hasArrowSchema()
Output only.boolean
hasAvroRows()
Serialized row data in AVRO format.boolean
hasAvroSchema()
Output only.int
hashCode()
boolean
hasStats()
Statistics for the stream.boolean
hasThrottleState()
Throttling state.protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable()
boolean
isInitialized()
static ReadRowsResponse.Builder
newBuilder()
static ReadRowsResponse.Builder
newBuilder(ReadRowsResponse prototype)
ReadRowsResponse.Builder
newBuilderForType()
protected ReadRowsResponse.Builder
newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent)
protected Object
newInstance(com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter unused)
static ReadRowsResponse
parseDelimitedFrom(InputStream input)
static ReadRowsResponse
parseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
static ReadRowsResponse
parseFrom(byte[] data)
static ReadRowsResponse
parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
static ReadRowsResponse
parseFrom(com.google.protobuf.ByteString data)
static ReadRowsResponse
parseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
static ReadRowsResponse
parseFrom(com.google.protobuf.CodedInputStream input)
static ReadRowsResponse
parseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
static ReadRowsResponse
parseFrom(InputStream input)
static ReadRowsResponse
parseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
static ReadRowsResponse
parseFrom(ByteBuffer data)
static ReadRowsResponse
parseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
static com.google.protobuf.Parser<ReadRowsResponse>
parser()
ReadRowsResponse.Builder
toBuilder()
void
writeTo(com.google.protobuf.CodedOutputStream output)
-
Methods inherited from class com.google.protobuf.GeneratedMessageV3
canUseUnsafe, computeStringSize, computeStringSizeNoTag, emptyBooleanList, emptyDoubleList, emptyFloatList, emptyIntList, emptyLongList, getAllFields, getDescriptorForType, getField, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof, internalGetMapField, isStringEmpty, makeExtensionsImmutable, makeMutableCopy, mergeFromAndMakeImmutableInternal, mutableCopy, mutableCopy, mutableCopy, mutableCopy, mutableCopy, newBooleanList, newBuilderForType, newDoubleList, newFloatList, newIntList, newLongList, parseDelimitedWithIOException, parseDelimitedWithIOException, parseUnknownField, parseUnknownFieldProto3, parseWithIOException, parseWithIOException, parseWithIOException, parseWithIOException, serializeBooleanMapTo, serializeIntegerMapTo, serializeLongMapTo, serializeStringMapTo, writeReplace, writeString, writeStringNoTag
-
Methods inherited from class com.google.protobuf.AbstractMessage
findInitializationErrors, getInitializationErrorString, hashBoolean, hashEnum, hashEnumList, hashFields, hashLong, toString
-
Methods inherited from class com.google.protobuf.AbstractMessageLite
addAll, addAll, checkByteStringIsUtf8, toByteArray, toByteString, writeDelimitedTo, writeTo
-
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
-
-
-
-
Field Detail
-
AVRO_ROWS_FIELD_NUMBER
public static final int AVRO_ROWS_FIELD_NUMBER
- See Also:
- Constant Field Values
-
ARROW_RECORD_BATCH_FIELD_NUMBER
public static final int ARROW_RECORD_BATCH_FIELD_NUMBER
- See Also:
- Constant Field Values
-
ROW_COUNT_FIELD_NUMBER
public static final int ROW_COUNT_FIELD_NUMBER
- See Also:
- Constant Field Values
-
STATS_FIELD_NUMBER
public static final int STATS_FIELD_NUMBER
- See Also:
- Constant Field Values
-
THROTTLE_STATE_FIELD_NUMBER
public static final int THROTTLE_STATE_FIELD_NUMBER
- See Also:
- Constant Field Values
-
AVRO_SCHEMA_FIELD_NUMBER
public static final int AVRO_SCHEMA_FIELD_NUMBER
- See Also:
- Constant Field Values
-
ARROW_SCHEMA_FIELD_NUMBER
public static final int ARROW_SCHEMA_FIELD_NUMBER
- See Also:
- Constant Field Values
-
-
Method Detail
-
newInstance
protected Object newInstance(com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter unused)
- Overrides:
newInstance
in classcom.google.protobuf.GeneratedMessageV3
-
getDescriptor
public static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
-
internalGetFieldAccessorTable
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
- Specified by:
internalGetFieldAccessorTable
in classcom.google.protobuf.GeneratedMessageV3
-
getRowsCase
public ReadRowsResponse.RowsCase getRowsCase()
- Specified by:
getRowsCase
in interfaceReadRowsResponseOrBuilder
-
getSchemaCase
public ReadRowsResponse.SchemaCase getSchemaCase()
- Specified by:
getSchemaCase
in interfaceReadRowsResponseOrBuilder
-
hasAvroRows
public boolean hasAvroRows()
Serialized row data in AVRO format.
.google.cloud.bigquery.storage.v1beta2.AvroRows avro_rows = 3;
- Specified by:
hasAvroRows
in interfaceReadRowsResponseOrBuilder
- Returns:
- Whether the avroRows field is set.
-
getAvroRows
public AvroRows getAvroRows()
Serialized row data in AVRO format.
.google.cloud.bigquery.storage.v1beta2.AvroRows avro_rows = 3;
- Specified by:
getAvroRows
in interfaceReadRowsResponseOrBuilder
- Returns:
- The avroRows.
-
getAvroRowsOrBuilder
public AvroRowsOrBuilder getAvroRowsOrBuilder()
Serialized row data in AVRO format.
.google.cloud.bigquery.storage.v1beta2.AvroRows avro_rows = 3;
- Specified by:
getAvroRowsOrBuilder
in interfaceReadRowsResponseOrBuilder
-
hasArrowRecordBatch
public boolean hasArrowRecordBatch()
Serialized row data in Arrow RecordBatch format.
.google.cloud.bigquery.storage.v1beta2.ArrowRecordBatch arrow_record_batch = 4;
- Specified by:
hasArrowRecordBatch
in interfaceReadRowsResponseOrBuilder
- Returns:
- Whether the arrowRecordBatch field is set.
-
getArrowRecordBatch
public ArrowRecordBatch getArrowRecordBatch()
Serialized row data in Arrow RecordBatch format.
.google.cloud.bigquery.storage.v1beta2.ArrowRecordBatch arrow_record_batch = 4;
- Specified by:
getArrowRecordBatch
in interfaceReadRowsResponseOrBuilder
- Returns:
- The arrowRecordBatch.
-
getArrowRecordBatchOrBuilder
public ArrowRecordBatchOrBuilder getArrowRecordBatchOrBuilder()
Serialized row data in Arrow RecordBatch format.
.google.cloud.bigquery.storage.v1beta2.ArrowRecordBatch arrow_record_batch = 4;
- Specified by:
getArrowRecordBatchOrBuilder
in interfaceReadRowsResponseOrBuilder
-
getRowCount
public long getRowCount()
Number of serialized rows in the rows block.
int64 row_count = 6;
- Specified by:
getRowCount
in interfaceReadRowsResponseOrBuilder
- Returns:
- The rowCount.
-
hasStats
public boolean hasStats()
Statistics for the stream.
.google.cloud.bigquery.storage.v1beta2.StreamStats stats = 2;
- Specified by:
hasStats
in interfaceReadRowsResponseOrBuilder
- Returns:
- Whether the stats field is set.
-
getStats
public StreamStats getStats()
Statistics for the stream.
.google.cloud.bigquery.storage.v1beta2.StreamStats stats = 2;
- Specified by:
getStats
in interfaceReadRowsResponseOrBuilder
- Returns:
- The stats.
-
getStatsOrBuilder
public StreamStatsOrBuilder getStatsOrBuilder()
Statistics for the stream.
.google.cloud.bigquery.storage.v1beta2.StreamStats stats = 2;
- Specified by:
getStatsOrBuilder
in interfaceReadRowsResponseOrBuilder
-
hasThrottleState
public boolean hasThrottleState()
Throttling state. If unset, the latest response still describes the current throttling status.
.google.cloud.bigquery.storage.v1beta2.ThrottleState throttle_state = 5;
- Specified by:
hasThrottleState
in interfaceReadRowsResponseOrBuilder
- Returns:
- Whether the throttleState field is set.
-
getThrottleState
public ThrottleState getThrottleState()
Throttling state. If unset, the latest response still describes the current throttling status.
.google.cloud.bigquery.storage.v1beta2.ThrottleState throttle_state = 5;
- Specified by:
getThrottleState
in interfaceReadRowsResponseOrBuilder
- Returns:
- The throttleState.
-
getThrottleStateOrBuilder
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;
- Specified by:
getThrottleStateOrBuilder
in interfaceReadRowsResponseOrBuilder
-
hasAvroSchema
public boolean hasAvroSchema()
Output only. Avro schema.
.google.cloud.bigquery.storage.v1beta2.AvroSchema avro_schema = 7 [(.google.api.field_behavior) = OUTPUT_ONLY];
- Specified by:
hasAvroSchema
in interfaceReadRowsResponseOrBuilder
- Returns:
- Whether the avroSchema field is set.
-
getAvroSchema
public AvroSchema getAvroSchema()
Output only. Avro schema.
.google.cloud.bigquery.storage.v1beta2.AvroSchema avro_schema = 7 [(.google.api.field_behavior) = OUTPUT_ONLY];
- Specified by:
getAvroSchema
in interfaceReadRowsResponseOrBuilder
- Returns:
- The avroSchema.
-
getAvroSchemaOrBuilder
public AvroSchemaOrBuilder getAvroSchemaOrBuilder()
Output only. Avro schema.
.google.cloud.bigquery.storage.v1beta2.AvroSchema avro_schema = 7 [(.google.api.field_behavior) = OUTPUT_ONLY];
- Specified by:
getAvroSchemaOrBuilder
in interfaceReadRowsResponseOrBuilder
-
hasArrowSchema
public boolean hasArrowSchema()
Output only. Arrow schema.
.google.cloud.bigquery.storage.v1beta2.ArrowSchema arrow_schema = 8 [(.google.api.field_behavior) = OUTPUT_ONLY];
- Specified by:
hasArrowSchema
in interfaceReadRowsResponseOrBuilder
- Returns:
- Whether the arrowSchema field is set.
-
getArrowSchema
public ArrowSchema getArrowSchema()
Output only. Arrow schema.
.google.cloud.bigquery.storage.v1beta2.ArrowSchema arrow_schema = 8 [(.google.api.field_behavior) = OUTPUT_ONLY];
- Specified by:
getArrowSchema
in interfaceReadRowsResponseOrBuilder
- Returns:
- The arrowSchema.
-
getArrowSchemaOrBuilder
public ArrowSchemaOrBuilder getArrowSchemaOrBuilder()
Output only. Arrow schema.
.google.cloud.bigquery.storage.v1beta2.ArrowSchema arrow_schema = 8 [(.google.api.field_behavior) = OUTPUT_ONLY];
- Specified by:
getArrowSchemaOrBuilder
in interfaceReadRowsResponseOrBuilder
-
isInitialized
public final boolean isInitialized()
- Specified by:
isInitialized
in interfacecom.google.protobuf.MessageLiteOrBuilder
- Overrides:
isInitialized
in classcom.google.protobuf.GeneratedMessageV3
-
writeTo
public void writeTo(com.google.protobuf.CodedOutputStream output) throws IOException
- Specified by:
writeTo
in interfacecom.google.protobuf.MessageLite
- Overrides:
writeTo
in classcom.google.protobuf.GeneratedMessageV3
- Throws:
IOException
-
getSerializedSize
public int getSerializedSize()
- Specified by:
getSerializedSize
in interfacecom.google.protobuf.MessageLite
- Overrides:
getSerializedSize
in classcom.google.protobuf.GeneratedMessageV3
-
equals
public boolean equals(Object obj)
- Specified by:
equals
in interfacecom.google.protobuf.Message
- Overrides:
equals
in classcom.google.protobuf.AbstractMessage
-
hashCode
public int hashCode()
- Specified by:
hashCode
in interfacecom.google.protobuf.Message
- Overrides:
hashCode
in classcom.google.protobuf.AbstractMessage
-
parseFrom
public static ReadRowsResponse parseFrom(ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException
- Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static ReadRowsResponse parseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
- Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static ReadRowsResponse parseFrom(com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException
- Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static ReadRowsResponse parseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
- Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static ReadRowsResponse parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException
- Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static ReadRowsResponse parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
- Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static ReadRowsResponse parseFrom(InputStream input) throws IOException
- Throws:
IOException
-
parseFrom
public static ReadRowsResponse parseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
- Throws:
IOException
-
parseDelimitedFrom
public static ReadRowsResponse parseDelimitedFrom(InputStream input) throws IOException
- Throws:
IOException
-
parseDelimitedFrom
public static ReadRowsResponse parseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
- Throws:
IOException
-
parseFrom
public static ReadRowsResponse parseFrom(com.google.protobuf.CodedInputStream input) throws IOException
- Throws:
IOException
-
parseFrom
public static ReadRowsResponse parseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
- Throws:
IOException
-
newBuilderForType
public ReadRowsResponse.Builder newBuilderForType()
- Specified by:
newBuilderForType
in interfacecom.google.protobuf.Message
- Specified by:
newBuilderForType
in interfacecom.google.protobuf.MessageLite
-
newBuilder
public static ReadRowsResponse.Builder newBuilder()
-
newBuilder
public static ReadRowsResponse.Builder newBuilder(ReadRowsResponse prototype)
-
toBuilder
public ReadRowsResponse.Builder toBuilder()
- Specified by:
toBuilder
in interfacecom.google.protobuf.Message
- Specified by:
toBuilder
in interfacecom.google.protobuf.MessageLite
-
newBuilderForType
protected ReadRowsResponse.Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent)
- Specified by:
newBuilderForType
in classcom.google.protobuf.GeneratedMessageV3
-
getDefaultInstance
public static ReadRowsResponse getDefaultInstance()
-
parser
public static com.google.protobuf.Parser<ReadRowsResponse> parser()
-
getParserForType
public com.google.protobuf.Parser<ReadRowsResponse> getParserForType()
- Specified by:
getParserForType
in interfacecom.google.protobuf.Message
- Specified by:
getParserForType
in interfacecom.google.protobuf.MessageLite
- Overrides:
getParserForType
in classcom.google.protobuf.GeneratedMessageV3
-
getDefaultInstanceForType
public ReadRowsResponse getDefaultInstanceForType()
- Specified by:
getDefaultInstanceForType
in interfacecom.google.protobuf.MessageLiteOrBuilder
- Specified by:
getDefaultInstanceForType
in interfacecom.google.protobuf.MessageOrBuilder
-
-