public static final class AppendRowsRequest.ProtoData extends GeneratedMessageV3 implements AppendRowsRequest.ProtoDataOrBuilder
ProtoData contains the data rows and schema when constructing append
requests.
Protobuf type google.cloud.bigquery.storage.v1.AppendRowsRequest.ProtoData
Inherited Members
com.google.protobuf.GeneratedMessageV3.<ListT>makeMutableCopy(ListT)
com.google.protobuf.GeneratedMessageV3.<ListT>makeMutableCopy(ListT,int)
com.google.protobuf.GeneratedMessageV3.<T>emptyList(java.lang.Class<T>)
com.google.protobuf.GeneratedMessageV3.internalGetMapFieldReflection(int)
Static Fields
ROWS_FIELD_NUMBER
public static final int ROWS_FIELD_NUMBER
Field Value |
Type |
Description |
int |
|
WRITER_SCHEMA_FIELD_NUMBER
public static final int WRITER_SCHEMA_FIELD_NUMBER
Field Value |
Type |
Description |
int |
|
Static Methods
getDefaultInstance()
public static AppendRowsRequest.ProtoData getDefaultInstance()
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
newBuilder()
public static AppendRowsRequest.ProtoData.Builder newBuilder()
newBuilder(AppendRowsRequest.ProtoData prototype)
public static AppendRowsRequest.ProtoData.Builder newBuilder(AppendRowsRequest.ProtoData prototype)
public static AppendRowsRequest.ProtoData parseDelimitedFrom(InputStream input)
public static AppendRowsRequest.ProtoData parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
parseFrom(byte[] data)
public static AppendRowsRequest.ProtoData parseFrom(byte[] data)
Parameter |
Name |
Description |
data |
byte[]
|
parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
public static AppendRowsRequest.ProtoData parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
parseFrom(ByteString data)
public static AppendRowsRequest.ProtoData parseFrom(ByteString data)
parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
public static AppendRowsRequest.ProtoData parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
public static AppendRowsRequest.ProtoData parseFrom(CodedInputStream input)
public static AppendRowsRequest.ProtoData parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public static AppendRowsRequest.ProtoData parseFrom(InputStream input)
public static AppendRowsRequest.ProtoData parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
parseFrom(ByteBuffer data)
public static AppendRowsRequest.ProtoData parseFrom(ByteBuffer data)
parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
public static AppendRowsRequest.ProtoData parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
parser()
public static Parser<AppendRowsRequest.ProtoData> parser()
Methods
equals(Object obj)
public boolean equals(Object obj)
Parameter |
Name |
Description |
obj |
Object
|
Overrides
getDefaultInstanceForType()
public AppendRowsRequest.ProtoData getDefaultInstanceForType()
getParserForType()
public Parser<AppendRowsRequest.ProtoData> getParserForType()
Overrides
getRows()
public ProtoRows getRows()
Serialized row data in protobuf message format.
Currently, the backend expects the serialized rows to adhere to
proto2 semantics when appending rows, particularly with respect to
how default values are encoded.
.google.cloud.bigquery.storage.v1.ProtoRows rows = 2;
getRowsOrBuilder()
public ProtoRowsOrBuilder getRowsOrBuilder()
Serialized row data in protobuf message format.
Currently, the backend expects the serialized rows to adhere to
proto2 semantics when appending rows, particularly with respect to
how default values are encoded.
.google.cloud.bigquery.storage.v1.ProtoRows rows = 2;
getSerializedSize()
public int getSerializedSize()
Returns |
Type |
Description |
int |
|
Overrides
getWriterSchema()
public ProtoSchema getWriterSchema()
The protocol buffer schema used to serialize the data. Provide this value
whenever:
You send the first request of an RPC connection.
You change the input schema.
You specify a new destination table.
.google.cloud.bigquery.storage.v1.ProtoSchema writer_schema = 1;
getWriterSchemaOrBuilder()
public ProtoSchemaOrBuilder getWriterSchemaOrBuilder()
The protocol buffer schema used to serialize the data. Provide this value
whenever:
You send the first request of an RPC connection.
You change the input schema.
You specify a new destination table.
.google.cloud.bigquery.storage.v1.ProtoSchema writer_schema = 1;
hasRows()
Serialized row data in protobuf message format.
Currently, the backend expects the serialized rows to adhere to
proto2 semantics when appending rows, particularly with respect to
how default values are encoded.
.google.cloud.bigquery.storage.v1.ProtoRows rows = 2;
Returns |
Type |
Description |
boolean |
Whether the rows field is set.
|
hasWriterSchema()
public boolean hasWriterSchema()
The protocol buffer schema used to serialize the data. Provide this value
whenever:
You send the first request of an RPC connection.
You change the input schema.
You specify a new destination table.
.google.cloud.bigquery.storage.v1.ProtoSchema writer_schema = 1;
Returns |
Type |
Description |
boolean |
Whether the writerSchema field is set.
|
hashCode()
Returns |
Type |
Description |
int |
|
Overrides
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Overrides
isInitialized()
public final boolean isInitialized()
Overrides
newBuilderForType()
public AppendRowsRequest.ProtoData.Builder newBuilderForType()
newBuilderForType(GeneratedMessageV3.BuilderParent parent)
protected AppendRowsRequest.ProtoData.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Overrides
newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Returns |
Type |
Description |
Object |
|
Overrides
toBuilder()
public AppendRowsRequest.ProtoData.Builder toBuilder()
writeTo(CodedOutputStream output)
public void writeTo(CodedOutputStream output)
Overrides