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.Builder
addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
AppendRowsRequest.ProtoData
build()
AppendRowsRequest.ProtoData
buildPartial()
AppendRowsRequest.ProtoData.Builder
clear()
AppendRowsRequest.ProtoData.Builder
clearField(com.google.protobuf.Descriptors.FieldDescriptor field)
AppendRowsRequest.ProtoData.Builder
clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)
AppendRowsRequest.ProtoData.Builder
clearRows()
Serialized row data in protobuf message format.AppendRowsRequest.ProtoData.Builder
clearWriterSchema()
The protocol buffer schema used to serialize the data.AppendRowsRequest.ProtoData.Builder
clone()
AppendRowsRequest.ProtoData
getDefaultInstanceForType()
static com.google.protobuf.Descriptors.Descriptor
getDescriptor()
com.google.protobuf.Descriptors.Descriptor
getDescriptorForType()
ProtoRows
getRows()
Serialized row data in protobuf message format.ProtoRows.Builder
getRowsBuilder()
Serialized row data in protobuf message format.ProtoRowsOrBuilder
getRowsOrBuilder()
Serialized row data in protobuf message format.ProtoSchema
getWriterSchema()
The protocol buffer schema used to serialize the data.ProtoSchema.Builder
getWriterSchemaBuilder()
The protocol buffer schema used to serialize the data.ProtoSchemaOrBuilder
getWriterSchemaOrBuilder()
The protocol buffer schema used to serialize the data.boolean
hasRows()
Serialized row data in protobuf message format.boolean
hasWriterSchema()
The protocol buffer schema used to serialize the data.protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable()
boolean
isInitialized()
AppendRowsRequest.ProtoData.Builder
mergeFrom(AppendRowsRequest.ProtoData other)
AppendRowsRequest.ProtoData.Builder
mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
AppendRowsRequest.ProtoData.Builder
mergeFrom(com.google.protobuf.Message other)
AppendRowsRequest.ProtoData.Builder
mergeRows(ProtoRows value)
Serialized row data in protobuf message format.AppendRowsRequest.ProtoData.Builder
mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
AppendRowsRequest.ProtoData.Builder
mergeWriterSchema(ProtoSchema value)
The protocol buffer schema used to serialize the data.AppendRowsRequest.ProtoData.Builder
setField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
AppendRowsRequest.ProtoData.Builder
setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, Object value)
AppendRowsRequest.ProtoData.Builder
setRows(ProtoRows value)
Serialized row data in protobuf message format.AppendRowsRequest.ProtoData.Builder
setRows(ProtoRows.Builder builderForValue)
Serialized row data in protobuf message format.AppendRowsRequest.ProtoData.Builder
setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
AppendRowsRequest.ProtoData.Builder
setWriterSchema(ProtoSchema value)
The protocol buffer schema used to serialize the data.AppendRowsRequest.ProtoData.Builder
setWriterSchema(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:
internalGetFieldAccessorTable
in classcom.google.protobuf.GeneratedMessageV3.Builder<AppendRowsRequest.ProtoData.Builder>
-
clear
public AppendRowsRequest.ProtoData.Builder clear()
- Specified by:
clear
in interfacecom.google.protobuf.Message.Builder
- Specified by:
clear
in interfacecom.google.protobuf.MessageLite.Builder
- Overrides:
clear
in classcom.google.protobuf.GeneratedMessageV3.Builder<AppendRowsRequest.ProtoData.Builder>
-
getDescriptorForType
public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()
- Specified by:
getDescriptorForType
in interfacecom.google.protobuf.Message.Builder
- Specified by:
getDescriptorForType
in interfacecom.google.protobuf.MessageOrBuilder
- Overrides:
getDescriptorForType
in classcom.google.protobuf.GeneratedMessageV3.Builder<AppendRowsRequest.ProtoData.Builder>
-
getDefaultInstanceForType
public AppendRowsRequest.ProtoData getDefaultInstanceForType()
- Specified by:
getDefaultInstanceForType
in interfacecom.google.protobuf.MessageLiteOrBuilder
- Specified by:
getDefaultInstanceForType
in interfacecom.google.protobuf.MessageOrBuilder
-
build
public AppendRowsRequest.ProtoData build()
- Specified by:
build
in interfacecom.google.protobuf.Message.Builder
- Specified by:
build
in interfacecom.google.protobuf.MessageLite.Builder
-
buildPartial
public AppendRowsRequest.ProtoData buildPartial()
- Specified by:
buildPartial
in interfacecom.google.protobuf.Message.Builder
- Specified by:
buildPartial
in interfacecom.google.protobuf.MessageLite.Builder
-
clone
public AppendRowsRequest.ProtoData.Builder clone()
- Specified by:
clone
in interfacecom.google.protobuf.Message.Builder
- Specified by:
clone
in interfacecom.google.protobuf.MessageLite.Builder
- Overrides:
clone
in classcom.google.protobuf.GeneratedMessageV3.Builder<AppendRowsRequest.ProtoData.Builder>
-
setField
public AppendRowsRequest.ProtoData.Builder setField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
- Specified by:
setField
in interfacecom.google.protobuf.Message.Builder
- Overrides:
setField
in classcom.google.protobuf.GeneratedMessageV3.Builder<AppendRowsRequest.ProtoData.Builder>
-
clearField
public AppendRowsRequest.ProtoData.Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field)
- Specified by:
clearField
in interfacecom.google.protobuf.Message.Builder
- Overrides:
clearField
in classcom.google.protobuf.GeneratedMessageV3.Builder<AppendRowsRequest.ProtoData.Builder>
-
clearOneof
public AppendRowsRequest.ProtoData.Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)
- Specified by:
clearOneof
in interfacecom.google.protobuf.Message.Builder
- Overrides:
clearOneof
in 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:
setRepeatedField
in interfacecom.google.protobuf.Message.Builder
- Overrides:
setRepeatedField
in classcom.google.protobuf.GeneratedMessageV3.Builder<AppendRowsRequest.ProtoData.Builder>
-
addRepeatedField
public AppendRowsRequest.ProtoData.Builder addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
- Specified by:
addRepeatedField
in interfacecom.google.protobuf.Message.Builder
- Overrides:
addRepeatedField
in classcom.google.protobuf.GeneratedMessageV3.Builder<AppendRowsRequest.ProtoData.Builder>
-
mergeFrom
public AppendRowsRequest.ProtoData.Builder mergeFrom(com.google.protobuf.Message other)
- Specified by:
mergeFrom
in interfacecom.google.protobuf.Message.Builder
- Overrides:
mergeFrom
in classcom.google.protobuf.AbstractMessage.Builder<AppendRowsRequest.ProtoData.Builder>
-
mergeFrom
public AppendRowsRequest.ProtoData.Builder mergeFrom(AppendRowsRequest.ProtoData other)
-
isInitialized
public final boolean isInitialized()
- Specified by:
isInitialized
in interfacecom.google.protobuf.MessageLiteOrBuilder
- Overrides:
isInitialized
in 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:
mergeFrom
in interfacecom.google.protobuf.Message.Builder
- Specified by:
mergeFrom
in interfacecom.google.protobuf.MessageLite.Builder
- Overrides:
mergeFrom
in 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:
hasWriterSchema
in 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:
getWriterSchema
in 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:
getWriterSchemaOrBuilder
in 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:
hasRows
in 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:
getRows
in 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:
getRowsOrBuilder
in interfaceAppendRowsRequest.ProtoDataOrBuilder
-
setUnknownFields
public final AppendRowsRequest.ProtoData.Builder setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
- Specified by:
setUnknownFields
in interfacecom.google.protobuf.Message.Builder
- Overrides:
setUnknownFields
in classcom.google.protobuf.GeneratedMessageV3.Builder<AppendRowsRequest.ProtoData.Builder>
-
mergeUnknownFields
public final AppendRowsRequest.ProtoData.Builder mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
- Specified by:
mergeUnknownFields
in interfacecom.google.protobuf.Message.Builder
- Overrides:
mergeUnknownFields
in classcom.google.protobuf.GeneratedMessageV3.Builder<AppendRowsRequest.ProtoData.Builder>
-
-