public static final class AppendRowsRequest.ProtoData.Builder extends GeneratedMessage.Builder<AppendRowsRequest.ProtoData.Builder> implements AppendRowsRequest.ProtoDataOrBuilderProtoData contains the data rows and schema when constructing append requests.
Protobuf type google.cloud.bigquery.storage.v1.AppendRowsRequest.ProtoData
Inheritance
java.lang.Object > AbstractMessageLite.Builder<MessageType,BuilderType> > AbstractMessage.Builder<BuilderType> > GeneratedMessage.Builder > AppendRowsRequest.ProtoData.BuilderImplements
AppendRowsRequest.ProtoDataOrBuilderStatic Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()| Returns | |
|---|---|
| Type | Description |
Descriptor |
|
Methods
build()
public AppendRowsRequest.ProtoData build()| Returns | |
|---|---|
| Type | Description |
AppendRowsRequest.ProtoData |
|
buildPartial()
public AppendRowsRequest.ProtoData buildPartial()| Returns | |
|---|---|
| Type | Description |
AppendRowsRequest.ProtoData |
|
clear()
public AppendRowsRequest.ProtoData.Builder clear()| Returns | |
|---|---|
| Type | Description |
AppendRowsRequest.ProtoData.Builder |
|
clearRows()
public AppendRowsRequest.ProtoData.Builder clearRows()Required. 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 |
AppendRowsRequest.ProtoData.Builder |
|
clearWriterSchema()
public AppendRowsRequest.ProtoData.Builder clearWriterSchema()Optional. 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 |
AppendRowsRequest.ProtoData.Builder |
|
getDefaultInstanceForType()
public AppendRowsRequest.ProtoData getDefaultInstanceForType()| Returns | |
|---|---|
| Type | Description |
AppendRowsRequest.ProtoData |
|
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()| Returns | |
|---|---|
| Type | Description |
Descriptor |
|
getRows()
public ProtoRows getRows()Required. 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 |
ProtoRows |
The rows. |
getRowsBuilder()
public ProtoRows.Builder getRowsBuilder()Required. 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 |
ProtoRows.Builder |
|
getRowsOrBuilder()
public ProtoRowsOrBuilder getRowsOrBuilder()Required. 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 |
ProtoRowsOrBuilder |
|
getWriterSchema()
public ProtoSchema getWriterSchema()Optional. 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 |
ProtoSchema |
The writerSchema. |
getWriterSchemaBuilder()
public ProtoSchema.Builder getWriterSchemaBuilder()Optional. 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 |
ProtoSchema.Builder |
|
getWriterSchemaOrBuilder()
public ProtoSchemaOrBuilder getWriterSchemaOrBuilder()Optional. 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 |
ProtoSchemaOrBuilder |
|
hasRows()
public boolean hasRows()Required. 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()Optional. 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. |
internalGetFieldAccessorTable()
protected GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()| Returns | |
|---|---|
| Type | Description |
FieldAccessorTable |
|
isInitialized()
public final boolean isInitialized()| Returns | |
|---|---|
| Type | Description |
boolean |
|
mergeFrom(AppendRowsRequest.ProtoData other)
public AppendRowsRequest.ProtoData.Builder mergeFrom(AppendRowsRequest.ProtoData other)| Parameter | |
|---|---|
| Name | Description |
other |
AppendRowsRequest.ProtoData |
| Returns | |
|---|---|
| Type | Description |
AppendRowsRequest.ProtoData.Builder |
|
mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public AppendRowsRequest.ProtoData.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)| Parameters | |
|---|---|
| Name | Description |
input |
CodedInputStream |
extensionRegistry |
ExtensionRegistryLite |
| Returns | |
|---|---|
| Type | Description |
AppendRowsRequest.ProtoData.Builder |
|
| Exceptions | |
|---|---|
| Type | Description |
IOException |
|
mergeFrom(Message other)
public AppendRowsRequest.ProtoData.Builder mergeFrom(Message other)| Parameter | |
|---|---|
| Name | Description |
other |
Message |
| Returns | |
|---|---|
| Type | Description |
AppendRowsRequest.ProtoData.Builder |
|
mergeRows(ProtoRows value)
public AppendRowsRequest.ProtoData.Builder mergeRows(ProtoRows value)Required. 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 | |
|---|---|
| Name | Description |
value |
ProtoRows |
| Returns | |
|---|---|
| Type | Description |
AppendRowsRequest.ProtoData.Builder |
|
mergeWriterSchema(ProtoSchema value)
public AppendRowsRequest.ProtoData.Builder mergeWriterSchema(ProtoSchema value)Optional. 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;
| Parameter | |
|---|---|
| Name | Description |
value |
ProtoSchema |
| Returns | |
|---|---|
| Type | Description |
AppendRowsRequest.ProtoData.Builder |
|
setRows(ProtoRows value)
public AppendRowsRequest.ProtoData.Builder setRows(ProtoRows value)Required. 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 | |
|---|---|
| Name | Description |
value |
ProtoRows |
| Returns | |
|---|---|
| Type | Description |
AppendRowsRequest.ProtoData.Builder |
|
setRows(ProtoRows.Builder builderForValue)
public AppendRowsRequest.ProtoData.Builder setRows(ProtoRows.Builder builderForValue)Required. 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 | |
|---|---|
| Name | Description |
builderForValue |
ProtoRows.Builder |
| Returns | |
|---|---|
| Type | Description |
AppendRowsRequest.ProtoData.Builder |
|
setWriterSchema(ProtoSchema value)
public AppendRowsRequest.ProtoData.Builder setWriterSchema(ProtoSchema value)Optional. 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;
| Parameter | |
|---|---|
| Name | Description |
value |
ProtoSchema |
| Returns | |
|---|---|
| Type | Description |
AppendRowsRequest.ProtoData.Builder |
|
setWriterSchema(ProtoSchema.Builder builderForValue)
public AppendRowsRequest.ProtoData.Builder setWriterSchema(ProtoSchema.Builder builderForValue)Optional. 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;
| Parameter | |
|---|---|
| Name | Description |
builderForValue |
ProtoSchema.Builder |
| Returns | |
|---|---|
| Type | Description |
AppendRowsRequest.ProtoData.Builder |
|