public static final class AppendRowsRequest.ProtoData.Builder extends GeneratedMessageV3.Builder<AppendRowsRequest.ProtoData.Builder> 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.Builder.getUnknownFieldSetBuilder()
com.google.protobuf.GeneratedMessageV3.Builder.mergeUnknownLengthDelimitedField(int,com.google.protobuf.ByteString)
com.google.protobuf.GeneratedMessageV3.Builder.mergeUnknownVarintField(int,int)
com.google.protobuf.GeneratedMessageV3.Builder.parseUnknownField(com.google.protobuf.CodedInputStream,com.google.protobuf.ExtensionRegistryLite,int)
com.google.protobuf.GeneratedMessageV3.Builder.setUnknownFieldSetBuilder(com.google.protobuf.UnknownFieldSet.Builder)
Static Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
Returns
Methods
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
public AppendRowsRequest.ProtoData.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
Returns
Overrides
build()
public AppendRowsRequest.ProtoData build()
Returns
buildPartial()
public AppendRowsRequest.ProtoData buildPartial()
Returns
clear()
public AppendRowsRequest.ProtoData.Builder clear()
Returns
Overrides
clearField(Descriptors.FieldDescriptor field)
public AppendRowsRequest.ProtoData.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
Returns
Overrides
clearOneof(Descriptors.OneofDescriptor oneof)
public AppendRowsRequest.ProtoData.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
Returns
Overrides
clearRows()
public AppendRowsRequest.ProtoData.Builder clearRows()
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
clearWriterSchema()
public AppendRowsRequest.ProtoData.Builder clearWriterSchema()
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
clone()
public AppendRowsRequest.ProtoData.Builder clone()
Returns
Overrides
getDefaultInstanceForType()
public AppendRowsRequest.ProtoData getDefaultInstanceForType()
Returns
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()
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
getRowsBuilder()
public ProtoRows.Builder getRowsBuilder()
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
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
getWriterSchemaBuilder()
public ProtoSchema.Builder getWriterSchemaBuilder()
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.
|
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
Overrides
isInitialized()
public final boolean isInitialized()
Returns
Overrides
mergeFrom(AppendRowsRequest.ProtoData other)
public AppendRowsRequest.ProtoData.Builder mergeFrom(AppendRowsRequest.ProtoData other)
Parameter
Returns
public AppendRowsRequest.ProtoData.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Overrides
Exceptions
mergeFrom(Message other)
public AppendRowsRequest.ProtoData.Builder mergeFrom(Message other)
Parameter
Returns
Overrides
mergeRows(ProtoRows value)
public AppendRowsRequest.ProtoData.Builder mergeRows(ProtoRows value)
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;
Parameter
Returns
mergeUnknownFields(UnknownFieldSet unknownFields)
public final AppendRowsRequest.ProtoData.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
Returns
Overrides
mergeWriterSchema(ProtoSchema value)
public AppendRowsRequest.ProtoData.Builder mergeWriterSchema(ProtoSchema value)
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;
Parameter
Returns
setField(Descriptors.FieldDescriptor field, Object value)
public AppendRowsRequest.ProtoData.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
Returns
Overrides
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public AppendRowsRequest.ProtoData.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters
Returns
Overrides
setRows(ProtoRows value)
public AppendRowsRequest.ProtoData.Builder setRows(ProtoRows value)
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;
Parameter
Returns
setRows(ProtoRows.Builder builderForValue)
public AppendRowsRequest.ProtoData.Builder setRows(ProtoRows.Builder builderForValue)
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;
Parameter
Returns
setUnknownFields(UnknownFieldSet unknownFields)
public final AppendRowsRequest.ProtoData.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
Returns
Overrides
setWriterSchema(ProtoSchema value)
public AppendRowsRequest.ProtoData.Builder setWriterSchema(ProtoSchema value)
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;
Parameter
Returns
setWriterSchema(ProtoSchema.Builder builderForValue)
public AppendRowsRequest.ProtoData.Builder setWriterSchema(ProtoSchema.Builder builderForValue)
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;
Parameter
Returns