Send feedback
Class AppendRowsRequest.ProtoData (2.17.0)
Stay organized with collections
Save and categorize content based on your preferences.
Version 2.17.0 keyboard_arrow_down
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
Static Fields
ROWS_FIELD_NUMBER
public static final int ROWS_FIELD_NUMBER
Field Value
WRITER_SCHEMA_FIELD_NUMBER
public static final int WRITER_SCHEMA_FIELD_NUMBER
Field Value
Static Methods
getDefaultInstance()
public static AppendRowsRequest . ProtoData getDefaultInstance ()
Returns
getDescriptor()
public static final Descriptors . Descriptor getDescriptor ()
Returns
newBuilder()
public static AppendRowsRequest . ProtoData . Builder newBuilder ()
Returns
newBuilder(AppendRowsRequest.ProtoData prototype)
public static AppendRowsRequest . ProtoData . Builder newBuilder ( AppendRowsRequest . ProtoData prototype )
Parameter
Returns
public static AppendRowsRequest . ProtoData parseDelimitedFrom ( InputStream input )
Parameter
Returns
Exceptions
public static AppendRowsRequest . ProtoData parseDelimitedFrom ( InputStream input , ExtensionRegistryLite extensionRegistry )
Parameters
Returns
Exceptions
parseFrom(byte[] data)
public static AppendRowsRequest . ProtoData parseFrom ( byte [] data )
Parameter
Name Description data byte []
Returns
Exceptions
parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
public static AppendRowsRequest . ProtoData parseFrom ( byte [] data , ExtensionRegistryLite extensionRegistry )
Parameters
Returns
Exceptions
parseFrom(ByteString data)
public static AppendRowsRequest . ProtoData parseFrom ( ByteString data )
Parameter
Returns
Exceptions
parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
public static AppendRowsRequest . ProtoData parseFrom ( ByteString data , ExtensionRegistryLite extensionRegistry )
Parameters
Returns
Exceptions
public static AppendRowsRequest . ProtoData parseFrom ( CodedInputStream input )
Parameter
Returns
Exceptions
public static AppendRowsRequest . ProtoData parseFrom ( CodedInputStream input , ExtensionRegistryLite extensionRegistry )
Parameters
Returns
Exceptions
public static AppendRowsRequest . ProtoData parseFrom ( InputStream input )
Parameter
Returns
Exceptions
public static AppendRowsRequest . ProtoData parseFrom ( InputStream input , ExtensionRegistryLite extensionRegistry )
Parameters
Returns
Exceptions
parseFrom(ByteBuffer data)
public static AppendRowsRequest . ProtoData parseFrom ( ByteBuffer data )
Parameter
Returns
Exceptions
parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
public static AppendRowsRequest . ProtoData parseFrom ( ByteBuffer data , ExtensionRegistryLite extensionRegistry )
Parameters
Returns
Exceptions
parser()
public static Parser<AppendRowsRequest . ProtoData > parser ()
Returns
Methods
equals(Object obj)
public boolean equals ( Object obj )
Parameter
Returns
Overrides
getDefaultInstanceForType()
public AppendRowsRequest . ProtoData getDefaultInstanceForType ()
Returns
getParserForType()
public Parser<AppendRowsRequest . ProtoData > getParserForType ()
Returns
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;
Returns
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;
Returns
getSerializedSize()
public int getSerializedSize ()
Returns
Overrides
getUnknownFields()
public final UnknownFieldSet getUnknownFields ()
Returns
Overrides
getWriterSchema()
public ProtoSchema getWriterSchema ()
Proto schema used to serialize the data. This value only needs to be
provided as part of the first request on a gRPC network connection,
and will be ignored for subsequent requests on the connection.
.google.cloud.bigquery.storage.v1.ProtoSchema writer_schema = 1;
Returns
getWriterSchemaOrBuilder()
public ProtoSchemaOrBuilder getWriterSchemaOrBuilder ()
Proto schema used to serialize the data. This value only needs to be
provided as part of the first request on a gRPC network connection,
and will be ignored for subsequent requests on the connection.
.google.cloud.bigquery.storage.v1.ProtoSchema writer_schema = 1;
Returns
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 ()
Proto schema used to serialize the data. This value only needs to be
provided as part of the first request on a gRPC network connection,
and will be ignored for subsequent requests on the connection.
.google.cloud.bigquery.storage.v1.ProtoSchema writer_schema = 1;
Returns
Type Description boolean Whether the writerSchema field is set.
hashCode()
Returns
Overrides
internalGetFieldAccessorTable()
protected GeneratedMessageV3 . FieldAccessorTable internalGetFieldAccessorTable ()
Returns
Overrides
isInitialized()
public final boolean isInitialized ()
Returns
Overrides
newBuilderForType()
public AppendRowsRequest . ProtoData . Builder newBuilderForType ()
Returns
newBuilderForType(GeneratedMessageV3.BuilderParent parent)
protected AppendRowsRequest . ProtoData . Builder newBuilderForType ( GeneratedMessageV3 . BuilderParent parent )
Parameter
Returns
Overrides
newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
protected Object newInstance ( GeneratedMessageV3 . UnusedPrivateParameter unused )
Parameter
Returns
Overrides
toBuilder()
public AppendRowsRequest . ProtoData . Builder toBuilder ()
Returns
writeTo(CodedOutputStream output)
public void writeTo ( CodedOutputStream output )
Parameter
Overrides
Exceptions
Send feedback
Except as otherwise noted, the content of this page is licensed under the Creative Commons Attribution 4.0 License , and code samples are licensed under the Apache 2.0 License . For details, see the Google Developers Site Policies . Java is a registered trademark of Oracle and/or its affiliates.
Last updated 2025-01-27 UTC.
Need to tell us more?
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Hard to understand","hardToUnderstand","thumb-down"],["Incorrect information or sample code","incorrectInformationOrSampleCode","thumb-down"],["Missing the information/samples I need","missingTheInformationSamplesINeed","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2025-01-27 UTC."],[],[]]