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
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
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
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
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
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
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
Returns
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
public ImportedDataInfo.RecordSchema.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
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
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
Returns
Overrides
clone()
public ImportedDataInfo.RecordSchema.Builder clone()
Returns
Overrides
getDefaultInstanceForType()
public ImportedDataInfo.RecordSchema getDefaultInstanceForType()
Returns
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
Returns
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()
Returns
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
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
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
getFieldsCount()
public int getFieldsCount()
One field per column in the record.
repeated .google.cloud.bigquery.datatransfer.v1.ImportedDataInfo.FieldSchema fields = 1;
Returns
getFieldsList()
public List<ImportedDataInfo.FieldSchema> getFieldsList()
One field per column in the record.
repeated .google.cloud.bigquery.datatransfer.v1.ImportedDataInfo.FieldSchema fields = 1;
Returns
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
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
Type | Description |
List<? extends com.google.cloud.bigquery.datatransfer.v1.ImportedDataInfo.FieldSchemaOrBuilder> | |
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
Overrides
isInitialized()
public final boolean isInitialized()
Returns
Overrides
mergeFrom(ImportedDataInfo.RecordSchema other)
public ImportedDataInfo.RecordSchema.Builder mergeFrom(ImportedDataInfo.RecordSchema other)
Parameter
Returns
public ImportedDataInfo.RecordSchema.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Overrides
Exceptions
mergeFrom(Message other)
public ImportedDataInfo.RecordSchema.Builder mergeFrom(Message other)
Parameter
Returns
Overrides
mergeUnknownFields(UnknownFieldSet unknownFields)
public final ImportedDataInfo.RecordSchema.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
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
Returns
setField(Descriptors.FieldDescriptor field, Object value)
public ImportedDataInfo.RecordSchema.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
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
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
Returns
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public ImportedDataInfo.RecordSchema.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters
Returns
Overrides
setUnknownFields(UnknownFieldSet unknownFields)
public final ImportedDataInfo.RecordSchema.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
Returns
Overrides