Class ImportedDataInfo.RecordSchema.Builder (2.33.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
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
TypeDescription
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
NameDescription
valueImportedDataInfo.FieldSchema
Returns
TypeDescription
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
NameDescription
builderForValueImportedDataInfo.FieldSchema.Builder
Returns
TypeDescription
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
NameDescription
indexint
valueImportedDataInfo.FieldSchema
Returns
TypeDescription
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
NameDescription
indexint
builderForValueImportedDataInfo.FieldSchema.Builder
Returns
TypeDescription
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
TypeDescription
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
NameDescription
indexint
Returns
TypeDescription
ImportedDataInfo.FieldSchema.Builder

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

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

build()

public ImportedDataInfo.RecordSchema build()
Returns
TypeDescription
ImportedDataInfo.RecordSchema

buildPartial()

public ImportedDataInfo.RecordSchema buildPartial()
Returns
TypeDescription
ImportedDataInfo.RecordSchema

clear()

public ImportedDataInfo.RecordSchema.Builder clear()
Returns
TypeDescription
ImportedDataInfo.RecordSchema.Builder
Overrides

clearField(Descriptors.FieldDescriptor field)

public ImportedDataInfo.RecordSchema.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
NameDescription
fieldFieldDescriptor
Returns
TypeDescription
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
TypeDescription
ImportedDataInfo.RecordSchema.Builder

clearOneof(Descriptors.OneofDescriptor oneof)

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

clone()

public ImportedDataInfo.RecordSchema.Builder clone()
Returns
TypeDescription
ImportedDataInfo.RecordSchema.Builder
Overrides

getDefaultInstanceForType()

public ImportedDataInfo.RecordSchema getDefaultInstanceForType()
Returns
TypeDescription
ImportedDataInfo.RecordSchema

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
TypeDescription
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
NameDescription
indexint
Returns
TypeDescription
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
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
TypeDescription
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
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
TypeDescription
ImportedDataInfo.RecordSchema.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

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

mergeUnknownFields(UnknownFieldSet unknownFields)

public final ImportedDataInfo.RecordSchema.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
NameDescription
unknownFieldsUnknownFieldSet
Returns
TypeDescription
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
NameDescription
indexint
Returns
TypeDescription
ImportedDataInfo.RecordSchema.Builder

setField(Descriptors.FieldDescriptor field, Object value)

public ImportedDataInfo.RecordSchema.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
NameDescription
fieldFieldDescriptor
valueObject
Returns
TypeDescription
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
NameDescription
indexint
valueImportedDataInfo.FieldSchema
Returns
TypeDescription
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
NameDescription
indexint
builderForValueImportedDataInfo.FieldSchema.Builder
Returns
TypeDescription
ImportedDataInfo.RecordSchema.Builder

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
TypeDescription
ImportedDataInfo.RecordSchema.Builder
Overrides

setUnknownFields(UnknownFieldSet unknownFields)

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