Class ImportedDataInfo.RecordSchema.Builder (2.42.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

Static Methods

getDescriptor()

public static final Descriptors.Descriptor getDescriptor()
Returns
Type Description
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
Name Description
values Iterable<? extends com.google.cloud.bigquery.datatransfer.v1.ImportedDataInfo.FieldSchema>
Returns
Type Description
ImportedDataInfo.RecordSchema.Builder

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
Name Description
value ImportedDataInfo.FieldSchema
Returns
Type Description
ImportedDataInfo.RecordSchema.Builder

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
Name Description
builderForValue ImportedDataInfo.FieldSchema.Builder
Returns
Type Description
ImportedDataInfo.RecordSchema.Builder

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
Name Description
index int
value ImportedDataInfo.FieldSchema
Returns
Type Description
ImportedDataInfo.RecordSchema.Builder

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
Name Description
index int
builderForValue ImportedDataInfo.FieldSchema.Builder
Returns
Type Description
ImportedDataInfo.RecordSchema.Builder

addFieldsBuilder()

public ImportedDataInfo.FieldSchema.Builder addFieldsBuilder()

One field per column in the record.

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

Returns
Type Description
ImportedDataInfo.FieldSchema.Builder

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
Name Description
index int
Returns
Type Description
ImportedDataInfo.FieldSchema.Builder

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

public ImportedDataInfo.RecordSchema.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
Name Description
field FieldDescriptor
value Object
Returns
Type Description
ImportedDataInfo.RecordSchema.Builder
Overrides

build()

public ImportedDataInfo.RecordSchema build()
Returns
Type Description
ImportedDataInfo.RecordSchema

buildPartial()

public ImportedDataInfo.RecordSchema buildPartial()
Returns
Type Description
ImportedDataInfo.RecordSchema

clear()

public ImportedDataInfo.RecordSchema.Builder clear()
Returns
Type Description
ImportedDataInfo.RecordSchema.Builder
Overrides

clearField(Descriptors.FieldDescriptor field)

public ImportedDataInfo.RecordSchema.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
Name Description
field FieldDescriptor
Returns
Type Description
ImportedDataInfo.RecordSchema.Builder
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
Type Description
ImportedDataInfo.RecordSchema.Builder

clearOneof(Descriptors.OneofDescriptor oneof)

public ImportedDataInfo.RecordSchema.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
Name Description
oneof OneofDescriptor
Returns
Type Description
ImportedDataInfo.RecordSchema.Builder
Overrides

clone()

public ImportedDataInfo.RecordSchema.Builder clone()
Returns
Type Description
ImportedDataInfo.RecordSchema.Builder
Overrides

getDefaultInstanceForType()

public ImportedDataInfo.RecordSchema getDefaultInstanceForType()
Returns
Type Description
ImportedDataInfo.RecordSchema

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
Type Description
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
Name Description
index int
Returns
Type Description
ImportedDataInfo.FieldSchema

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
Name Description
index int
Returns
Type Description
ImportedDataInfo.FieldSchema.Builder

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
Type Description
List<Builder>

getFieldsCount()

public int getFieldsCount()

One field per column in the record.

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

Returns
Type Description
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
Type Description
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
Name Description
index int
Returns
Type Description
ImportedDataInfo.FieldSchemaOrBuilder

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
Type Description
List<? extends com.google.cloud.bigquery.datatransfer.v1.ImportedDataInfo.FieldSchemaOrBuilder>

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
Type Description
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

mergeFrom(ImportedDataInfo.RecordSchema other)

public ImportedDataInfo.RecordSchema.Builder mergeFrom(ImportedDataInfo.RecordSchema other)
Parameter
Name Description
other ImportedDataInfo.RecordSchema
Returns
Type Description
ImportedDataInfo.RecordSchema.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public ImportedDataInfo.RecordSchema.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input CodedInputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
ImportedDataInfo.RecordSchema.Builder
Overrides
Exceptions
Type Description
IOException

mergeFrom(Message other)

public ImportedDataInfo.RecordSchema.Builder mergeFrom(Message other)
Parameter
Name Description
other Message
Returns
Type Description
ImportedDataInfo.RecordSchema.Builder
Overrides

mergeUnknownFields(UnknownFieldSet unknownFields)

public final ImportedDataInfo.RecordSchema.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
Name Description
unknownFields UnknownFieldSet
Returns
Type Description
ImportedDataInfo.RecordSchema.Builder
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
Name Description
index int
Returns
Type Description
ImportedDataInfo.RecordSchema.Builder

setField(Descriptors.FieldDescriptor field, Object value)

public ImportedDataInfo.RecordSchema.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
Name Description
field FieldDescriptor
value Object
Returns
Type Description
ImportedDataInfo.RecordSchema.Builder
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
Name Description
index int
value ImportedDataInfo.FieldSchema
Returns
Type Description
ImportedDataInfo.RecordSchema.Builder

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
Name Description
index int
builderForValue ImportedDataInfo.FieldSchema.Builder
Returns
Type Description
ImportedDataInfo.RecordSchema.Builder

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

public ImportedDataInfo.RecordSchema.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters
Name Description
field FieldDescriptor
index int
value Object
Returns
Type Description
ImportedDataInfo.RecordSchema.Builder
Overrides

setUnknownFields(UnknownFieldSet unknownFields)

public final ImportedDataInfo.RecordSchema.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
Name Description
unknownFields UnknownFieldSet
Returns
Type Description
ImportedDataInfo.RecordSchema.Builder
Overrides