public final class AvroRows extends GeneratedMessageV3 implements AvroRowsOrBuilder
Avro rows.
Protobuf type google.cloud.bigquery.storage.v1.AvroRows
Static Fields
ROW_COUNT_FIELD_NUMBER
public static final int ROW_COUNT_FIELD_NUMBER
Field Value
SERIALIZED_BINARY_ROWS_FIELD_NUMBER
public static final int SERIALIZED_BINARY_ROWS_FIELD_NUMBER
Field Value
Static Methods
getDefaultInstance()
public static AvroRows getDefaultInstance()
Returns
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
Returns
newBuilder()
public static AvroRows.Builder newBuilder()
Returns
newBuilder(AvroRows prototype)
public static AvroRows.Builder newBuilder(AvroRows prototype)
Parameter
Returns
public static AvroRows parseDelimitedFrom(InputStream input)
Parameter
Returns
Exceptions
public static AvroRows parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
parseFrom(byte[] data)
public static AvroRows parseFrom(byte[] data)
Parameter
Name | Description |
data | byte[]
|
Returns
Exceptions
parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
public static AvroRows parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
parseFrom(ByteString data)
public static AvroRows parseFrom(ByteString data)
Parameter
Returns
Exceptions
parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
public static AvroRows parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
public static AvroRows parseFrom(CodedInputStream input)
Parameter
Returns
Exceptions
public static AvroRows parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
public static AvroRows parseFrom(InputStream input)
Parameter
Returns
Exceptions
public static AvroRows parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
parseFrom(ByteBuffer data)
public static AvroRows parseFrom(ByteBuffer data)
Parameter
Returns
Exceptions
parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
public static AvroRows parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
parser()
public static Parser<AvroRows> parser()
Returns
Methods
equals(Object obj)
public boolean equals(Object obj)
Parameter
Returns
Overrides
getDefaultInstanceForType()
public AvroRows getDefaultInstanceForType()
Returns
getParserForType()
public Parser<AvroRows> getParserForType()
Returns
Overrides
getRowCount() (deprecated)
public long getRowCount()
Deprecated. google.cloud.bigquery.storage.v1.AvroRows.row_count is deprecated. See
google/cloud/bigquery/storage/v1/avro.proto;l=39
[Deprecated] The count of rows in the returning block.
Please use the format-independent ReadRowsResponse.row_count instead.
int64 row_count = 2 [deprecated = true];
Returns
Type | Description |
long | The rowCount.
|
getSerializedBinaryRows()
public ByteString getSerializedBinaryRows()
Binary serialized rows in a block.
bytes serialized_binary_rows = 1;
Returns
Type | Description |
ByteString | The serializedBinaryRows.
|
getSerializedSize()
public int getSerializedSize()
Returns
Overrides
getUnknownFields()
public final UnknownFieldSet getUnknownFields()
Returns
Overrides
hashCode()
Returns
Overrides
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
Overrides
isInitialized()
public final boolean isInitialized()
Returns
Overrides
newBuilderForType()
public AvroRows.Builder newBuilderForType()
Returns
newBuilderForType(GeneratedMessageV3.BuilderParent parent)
protected AvroRows.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Parameter
Returns
Overrides
newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Parameter
Returns
Overrides
toBuilder()
public AvroRows.Builder toBuilder()
Returns
writeTo(CodedOutputStream output)
public void writeTo(CodedOutputStream output)
Parameter
Overrides
Exceptions