Class ImportedDataInfo.RecordSchema.Builder (2.12.0)

public static final class ImportedDataInfo.RecordSchema.Builder extends GeneratedMessageV3.Builder<ImportedDataInfo.RecordSchema.Builder> implements ImportedDataInfo.RecordSchemaOrBuilder

Describes schema of the data to be ingested.

Protobuf type google.cloud.bigquery.datatransfer.v1.ImportedDataInfo.RecordSchema

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
TypeDescription
Descriptor

Methods

addAllFields(Iterable<? extends ImportedDataInfo.FieldSchema> values)

public ImportedDataInfo.RecordSchema.Builder addAllFields(Iterable<? extends ImportedDataInfo.FieldSchema> values)

One field per column in the record.

repeated .google.cloud.bigquery.datatransfer.v1.ImportedDataInfo.FieldSchema fields = 1;

Parameter
NameDescription
valuesIterable<? extends com.google.cloud.bigquery.datatransfer.v1.ImportedDataInfo.FieldSchema>
Returns

addFields(ImportedDataInfo.FieldSchema value)

public ImportedDataInfo.RecordSchema.Builder addFields(ImportedDataInfo.FieldSchema value)

One field per column in the record.

repeated .google.cloud.bigquery.datatransfer.v1.ImportedDataInfo.FieldSchema fields = 1;

Parameter
NameDescription
valueImportedDataInfo.FieldSchema
Returns

addFields(ImportedDataInfo.FieldSchema.Builder builderForValue)

public ImportedDataInfo.RecordSchema.Builder addFields(ImportedDataInfo.FieldSchema.Builder builderForValue)

One field per column in the record.

repeated .google.cloud.bigquery.datatransfer.v1.ImportedDataInfo.FieldSchema fields = 1;

Parameter
NameDescription
builderForValueImportedDataInfo.FieldSchema.Builder
Returns

addFields(int index, ImportedDataInfo.FieldSchema value)

public ImportedDataInfo.RecordSchema.Builder addFields(int index, ImportedDataInfo.FieldSchema value)

One field per column in the record.

repeated .google.cloud.bigquery.datatransfer.v1.ImportedDataInfo.FieldSchema fields = 1;

Parameters
NameDescription
indexint
valueImportedDataInfo.FieldSchema
Returns

addFields(int index, ImportedDataInfo.FieldSchema.Builder builderForValue)

public ImportedDataInfo.RecordSchema.Builder addFields(int index, ImportedDataInfo.FieldSchema.Builder builderForValue)

One field per column in the record.

repeated .google.cloud.bigquery.datatransfer.v1.ImportedDataInfo.FieldSchema fields = 1;

Parameters
NameDescription
indexint
builderForValueImportedDataInfo.FieldSchema.Builder
Returns

addFieldsBuilder()

public ImportedDataInfo.FieldSchema.Builder addFieldsBuilder()

One field per column in the record.

repeated .google.cloud.bigquery.datatransfer.v1.ImportedDataInfo.FieldSchema fields = 1;

Returns

addFieldsBuilder(int index)

public ImportedDataInfo.FieldSchema.Builder addFieldsBuilder(int index)

One field per column in the record.

repeated .google.cloud.bigquery.datatransfer.v1.ImportedDataInfo.FieldSchema fields = 1;

Parameter
NameDescription
indexint
Returns

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

public ImportedDataInfo.RecordSchema.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
NameDescription
fieldFieldDescriptor
valueObject
Returns Overrides

build()

public ImportedDataInfo.RecordSchema build()
Returns

buildPartial()

public ImportedDataInfo.RecordSchema buildPartial()
Returns

clear()

public ImportedDataInfo.RecordSchema.Builder clear()
Returns Overrides

clearField(Descriptors.FieldDescriptor field)

public ImportedDataInfo.RecordSchema.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
NameDescription
fieldFieldDescriptor
Returns Overrides

clearFields()

public ImportedDataInfo.RecordSchema.Builder clearFields()

One field per column in the record.

repeated .google.cloud.bigquery.datatransfer.v1.ImportedDataInfo.FieldSchema fields = 1;

Returns

clearOneof(Descriptors.OneofDescriptor oneof)

public ImportedDataInfo.RecordSchema.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
NameDescription
oneofOneofDescriptor
Returns Overrides

clone()

public ImportedDataInfo.RecordSchema.Builder clone()
Returns Overrides

getDefaultInstanceForType()

public ImportedDataInfo.RecordSchema getDefaultInstanceForType()
Returns

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
TypeDescription
Descriptor
Overrides

getFields(int index)

public ImportedDataInfo.FieldSchema getFields(int index)

One field per column in the record.

repeated .google.cloud.bigquery.datatransfer.v1.ImportedDataInfo.FieldSchema fields = 1;

Parameter
NameDescription
indexint
Returns

getFieldsBuilder(int index)

public ImportedDataInfo.FieldSchema.Builder getFieldsBuilder(int index)

One field per column in the record.

repeated .google.cloud.bigquery.datatransfer.v1.ImportedDataInfo.FieldSchema fields = 1;

Parameter
NameDescription
indexint
Returns

getFieldsBuilderList()

public List<ImportedDataInfo.FieldSchema.Builder> getFieldsBuilderList()

One field per column in the record.

repeated .google.cloud.bigquery.datatransfer.v1.ImportedDataInfo.FieldSchema fields = 1;

Returns
TypeDescription
List<Builder>

getFieldsCount()

public int getFieldsCount()

One field per column in the record.

repeated .google.cloud.bigquery.datatransfer.v1.ImportedDataInfo.FieldSchema fields = 1;

Returns
TypeDescription
int

getFieldsList()

public List<ImportedDataInfo.FieldSchema> getFieldsList()

One field per column in the record.

repeated .google.cloud.bigquery.datatransfer.v1.ImportedDataInfo.FieldSchema fields = 1;

Returns
TypeDescription
List<FieldSchema>

getFieldsOrBuilder(int index)

public ImportedDataInfo.FieldSchemaOrBuilder getFieldsOrBuilder(int index)

One field per column in the record.

repeated .google.cloud.bigquery.datatransfer.v1.ImportedDataInfo.FieldSchema fields = 1;

Parameter
NameDescription
indexint
Returns

getFieldsOrBuilderList()

public List<? extends ImportedDataInfo.FieldSchemaOrBuilder> getFieldsOrBuilderList()

One field per column in the record.

repeated .google.cloud.bigquery.datatransfer.v1.ImportedDataInfo.FieldSchema fields = 1;

Returns
TypeDescription
List<? extends com.google.cloud.bigquery.datatransfer.v1.ImportedDataInfo.FieldSchemaOrBuilder>

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
TypeDescription
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
TypeDescription
boolean
Overrides

mergeFrom(ImportedDataInfo.RecordSchema other)

public ImportedDataInfo.RecordSchema.Builder mergeFrom(ImportedDataInfo.RecordSchema other)
Parameter
NameDescription
otherImportedDataInfo.RecordSchema
Returns

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public ImportedDataInfo.RecordSchema.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputCodedInputStream
extensionRegistryExtensionRegistryLite
Returns Overrides Exceptions
TypeDescription
IOException

mergeFrom(Message other)

public ImportedDataInfo.RecordSchema.Builder mergeFrom(Message other)
Parameter
NameDescription
otherMessage
Returns Overrides

mergeUnknownFields(UnknownFieldSet unknownFields)

public final ImportedDataInfo.RecordSchema.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
NameDescription
unknownFieldsUnknownFieldSet
Returns Overrides

removeFields(int index)

public ImportedDataInfo.RecordSchema.Builder removeFields(int index)

One field per column in the record.

repeated .google.cloud.bigquery.datatransfer.v1.ImportedDataInfo.FieldSchema fields = 1;

Parameter
NameDescription
indexint
Returns

setField(Descriptors.FieldDescriptor field, Object value)

public ImportedDataInfo.RecordSchema.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
NameDescription
fieldFieldDescriptor
valueObject
Returns Overrides

setFields(int index, ImportedDataInfo.FieldSchema value)

public ImportedDataInfo.RecordSchema.Builder setFields(int index, ImportedDataInfo.FieldSchema value)

One field per column in the record.

repeated .google.cloud.bigquery.datatransfer.v1.ImportedDataInfo.FieldSchema fields = 1;

Parameters
NameDescription
indexint
valueImportedDataInfo.FieldSchema
Returns

setFields(int index, ImportedDataInfo.FieldSchema.Builder builderForValue)

public ImportedDataInfo.RecordSchema.Builder setFields(int index, ImportedDataInfo.FieldSchema.Builder builderForValue)

One field per column in the record.

repeated .google.cloud.bigquery.datatransfer.v1.ImportedDataInfo.FieldSchema fields = 1;

Parameters
NameDescription
indexint
builderForValueImportedDataInfo.FieldSchema.Builder
Returns

setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)

public ImportedDataInfo.RecordSchema.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters
NameDescription
fieldFieldDescriptor
indexint
valueObject
Returns Overrides

setUnknownFields(UnknownFieldSet unknownFields)

public final ImportedDataInfo.RecordSchema.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
NameDescription
unknownFieldsUnknownFieldSet
Returns Overrides