Class AppendRowsRequest.ProtoData.Builder
- java.lang.Object
-
- com.google.protobuf.AbstractMessageLite.Builder
-
- com.google.protobuf.AbstractMessage.Builder<BuilderT>
-
- com.google.protobuf.GeneratedMessageV3.Builder<AppendRowsRequest.ProtoData.Builder>
-
- com.google.cloud.bigquery.storage.v1.AppendRowsRequest.ProtoData.Builder
-
- All Implemented Interfaces:
AppendRowsRequest.ProtoDataOrBuilder,com.google.protobuf.Message.Builder,com.google.protobuf.MessageLite.Builder,com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder,Cloneable
- Enclosing class:
- AppendRowsRequest.ProtoData
public static final class AppendRowsRequest.ProtoData.Builder extends com.google.protobuf.GeneratedMessageV3.Builder<AppendRowsRequest.ProtoData.Builder> implements AppendRowsRequest.ProtoDataOrBuilder
ProtoData contains the data rows and schema when constructing append requests.
Protobuf typegoogle.cloud.bigquery.storage.v1.AppendRowsRequest.ProtoData
-
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description AppendRowsRequest.ProtoData.BuilderaddRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)AppendRowsRequest.ProtoDatabuild()AppendRowsRequest.ProtoDatabuildPartial()AppendRowsRequest.ProtoData.Builderclear()AppendRowsRequest.ProtoData.BuilderclearField(com.google.protobuf.Descriptors.FieldDescriptor field)AppendRowsRequest.ProtoData.BuilderclearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)AppendRowsRequest.ProtoData.BuilderclearRows()Serialized row data in protobuf message format.AppendRowsRequest.ProtoData.BuilderclearWriterSchema()The protocol buffer schema used to serialize the data.AppendRowsRequest.ProtoData.Builderclone()AppendRowsRequest.ProtoDatagetDefaultInstanceForType()static com.google.protobuf.Descriptors.DescriptorgetDescriptor()com.google.protobuf.Descriptors.DescriptorgetDescriptorForType()ProtoRowsgetRows()Serialized row data in protobuf message format.ProtoRows.BuildergetRowsBuilder()Serialized row data in protobuf message format.ProtoRowsOrBuildergetRowsOrBuilder()Serialized row data in protobuf message format.ProtoSchemagetWriterSchema()The protocol buffer schema used to serialize the data.ProtoSchema.BuildergetWriterSchemaBuilder()The protocol buffer schema used to serialize the data.ProtoSchemaOrBuildergetWriterSchemaOrBuilder()The protocol buffer schema used to serialize the data.booleanhasRows()Serialized row data in protobuf message format.booleanhasWriterSchema()The protocol buffer schema used to serialize the data.protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTableinternalGetFieldAccessorTable()booleanisInitialized()AppendRowsRequest.ProtoData.BuildermergeFrom(AppendRowsRequest.ProtoData other)AppendRowsRequest.ProtoData.BuildermergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)AppendRowsRequest.ProtoData.BuildermergeFrom(com.google.protobuf.Message other)AppendRowsRequest.ProtoData.BuildermergeRows(ProtoRows value)Serialized row data in protobuf message format.AppendRowsRequest.ProtoData.BuildermergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)AppendRowsRequest.ProtoData.BuildermergeWriterSchema(ProtoSchema value)The protocol buffer schema used to serialize the data.AppendRowsRequest.ProtoData.BuildersetField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)AppendRowsRequest.ProtoData.BuildersetRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, Object value)AppendRowsRequest.ProtoData.BuildersetRows(ProtoRows value)Serialized row data in protobuf message format.AppendRowsRequest.ProtoData.BuildersetRows(ProtoRows.Builder builderForValue)Serialized row data in protobuf message format.AppendRowsRequest.ProtoData.BuildersetUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)AppendRowsRequest.ProtoData.BuildersetWriterSchema(ProtoSchema value)The protocol buffer schema used to serialize the data.AppendRowsRequest.ProtoData.BuildersetWriterSchema(ProtoSchema.Builder builderForValue)The protocol buffer schema used to serialize the data.-
Methods inherited from class com.google.protobuf.GeneratedMessageV3.Builder
getAllFields, getField, getFieldBuilder, getOneofFieldDescriptor, getParentForChildren, getRepeatedField, getRepeatedFieldBuilder, getRepeatedFieldCount, getUnknownFields, getUnknownFieldSetBuilder, hasField, hasOneof, internalGetMapField, internalGetMutableMapField, isClean, markClean, mergeUnknownLengthDelimitedField, mergeUnknownVarintField, newBuilderForField, onBuilt, onChanged, parseUnknownField, setUnknownFieldSetBuilder, setUnknownFieldsProto3
-
Methods inherited from class com.google.protobuf.AbstractMessage.Builder
findInitializationErrors, getInitializationErrorString, internalMergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException, toString
-
Methods inherited from class com.google.protobuf.AbstractMessageLite.Builder
addAll, addAll, mergeDelimitedFrom, mergeDelimitedFrom, mergeFrom, newUninitializedMessageException
-
Methods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
-
-
-
-
Method Detail
-
getDescriptor
public static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
-
internalGetFieldAccessorTable
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
- Specified by:
internalGetFieldAccessorTablein classcom.google.protobuf.GeneratedMessageV3.Builder<AppendRowsRequest.ProtoData.Builder>
-
clear
public AppendRowsRequest.ProtoData.Builder clear()
- Specified by:
clearin interfacecom.google.protobuf.Message.Builder- Specified by:
clearin interfacecom.google.protobuf.MessageLite.Builder- Overrides:
clearin classcom.google.protobuf.GeneratedMessageV3.Builder<AppendRowsRequest.ProtoData.Builder>
-
getDescriptorForType
public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()
- Specified by:
getDescriptorForTypein interfacecom.google.protobuf.Message.Builder- Specified by:
getDescriptorForTypein interfacecom.google.protobuf.MessageOrBuilder- Overrides:
getDescriptorForTypein classcom.google.protobuf.GeneratedMessageV3.Builder<AppendRowsRequest.ProtoData.Builder>
-
getDefaultInstanceForType
public AppendRowsRequest.ProtoData getDefaultInstanceForType()
- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageLiteOrBuilder- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageOrBuilder
-
build
public AppendRowsRequest.ProtoData build()
- Specified by:
buildin interfacecom.google.protobuf.Message.Builder- Specified by:
buildin interfacecom.google.protobuf.MessageLite.Builder
-
buildPartial
public AppendRowsRequest.ProtoData buildPartial()
- Specified by:
buildPartialin interfacecom.google.protobuf.Message.Builder- Specified by:
buildPartialin interfacecom.google.protobuf.MessageLite.Builder
-
clone
public AppendRowsRequest.ProtoData.Builder clone()
- Specified by:
clonein interfacecom.google.protobuf.Message.Builder- Specified by:
clonein interfacecom.google.protobuf.MessageLite.Builder- Overrides:
clonein classcom.google.protobuf.GeneratedMessageV3.Builder<AppendRowsRequest.ProtoData.Builder>
-
setField
public AppendRowsRequest.ProtoData.Builder setField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
- Specified by:
setFieldin interfacecom.google.protobuf.Message.Builder- Overrides:
setFieldin classcom.google.protobuf.GeneratedMessageV3.Builder<AppendRowsRequest.ProtoData.Builder>
-
clearField
public AppendRowsRequest.ProtoData.Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field)
- Specified by:
clearFieldin interfacecom.google.protobuf.Message.Builder- Overrides:
clearFieldin classcom.google.protobuf.GeneratedMessageV3.Builder<AppendRowsRequest.ProtoData.Builder>
-
clearOneof
public AppendRowsRequest.ProtoData.Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)
- Specified by:
clearOneofin interfacecom.google.protobuf.Message.Builder- Overrides:
clearOneofin classcom.google.protobuf.GeneratedMessageV3.Builder<AppendRowsRequest.ProtoData.Builder>
-
setRepeatedField
public AppendRowsRequest.ProtoData.Builder setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, Object value)
- Specified by:
setRepeatedFieldin interfacecom.google.protobuf.Message.Builder- Overrides:
setRepeatedFieldin classcom.google.protobuf.GeneratedMessageV3.Builder<AppendRowsRequest.ProtoData.Builder>
-
addRepeatedField
public AppendRowsRequest.ProtoData.Builder addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
- Specified by:
addRepeatedFieldin interfacecom.google.protobuf.Message.Builder- Overrides:
addRepeatedFieldin classcom.google.protobuf.GeneratedMessageV3.Builder<AppendRowsRequest.ProtoData.Builder>
-
mergeFrom
public AppendRowsRequest.ProtoData.Builder mergeFrom(com.google.protobuf.Message other)
- Specified by:
mergeFromin interfacecom.google.protobuf.Message.Builder- Overrides:
mergeFromin classcom.google.protobuf.AbstractMessage.Builder<AppendRowsRequest.ProtoData.Builder>
-
mergeFrom
public AppendRowsRequest.ProtoData.Builder mergeFrom(AppendRowsRequest.ProtoData other)
-
isInitialized
public final boolean isInitialized()
- Specified by:
isInitializedin interfacecom.google.protobuf.MessageLiteOrBuilder- Overrides:
isInitializedin classcom.google.protobuf.GeneratedMessageV3.Builder<AppendRowsRequest.ProtoData.Builder>
-
mergeFrom
public AppendRowsRequest.ProtoData.Builder mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
- Specified by:
mergeFromin interfacecom.google.protobuf.Message.Builder- Specified by:
mergeFromin interfacecom.google.protobuf.MessageLite.Builder- Overrides:
mergeFromin classcom.google.protobuf.AbstractMessage.Builder<AppendRowsRequest.ProtoData.Builder>- Throws:
IOException
-
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;- Specified by:
hasWriterSchemain interfaceAppendRowsRequest.ProtoDataOrBuilder- Returns:
- Whether the writerSchema field is set.
-
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;- Specified by:
getWriterSchemain interfaceAppendRowsRequest.ProtoDataOrBuilder- Returns:
- The writerSchema.
-
setWriterSchema
public AppendRowsRequest.ProtoData.Builder setWriterSchema(ProtoSchema value)
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;
-
setWriterSchema
public AppendRowsRequest.ProtoData.Builder setWriterSchema(ProtoSchema.Builder builderForValue)
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;
-
mergeWriterSchema
public AppendRowsRequest.ProtoData.Builder mergeWriterSchema(ProtoSchema value)
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;
-
clearWriterSchema
public AppendRowsRequest.ProtoData.Builder clearWriterSchema()
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;
-
getWriterSchemaBuilder
public ProtoSchema.Builder getWriterSchemaBuilder()
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;- Specified by:
getWriterSchemaOrBuilderin interfaceAppendRowsRequest.ProtoDataOrBuilder
-
hasRows
public boolean 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;- Specified by:
hasRowsin interfaceAppendRowsRequest.ProtoDataOrBuilder- Returns:
- Whether the rows field is set.
-
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;- Specified by:
getRowsin interfaceAppendRowsRequest.ProtoDataOrBuilder- Returns:
- The rows.
-
setRows
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;
-
setRows
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;
-
mergeRows
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;
-
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;
-
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;
-
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;- Specified by:
getRowsOrBuilderin interfaceAppendRowsRequest.ProtoDataOrBuilder
-
setUnknownFields
public final AppendRowsRequest.ProtoData.Builder setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
- Specified by:
setUnknownFieldsin interfacecom.google.protobuf.Message.Builder- Overrides:
setUnknownFieldsin classcom.google.protobuf.GeneratedMessageV3.Builder<AppendRowsRequest.ProtoData.Builder>
-
mergeUnknownFields
public final AppendRowsRequest.ProtoData.Builder mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
- Specified by:
mergeUnknownFieldsin interfacecom.google.protobuf.Message.Builder- Overrides:
mergeUnknownFieldsin classcom.google.protobuf.GeneratedMessageV3.Builder<AppendRowsRequest.ProtoData.Builder>
-
-