public static final class TableSchema.Builder extends GeneratedMessageV3.Builder<TableSchema.Builder> implements TableSchemaOrBuilder
Schema of a table
Protobuf type google.cloud.bigquery.storage.v1beta2.TableSchema
Static Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
Returns
Methods
addAllFields(Iterable<? extends TableFieldSchema> values)
public TableSchema.Builder addAllFields(Iterable<? extends TableFieldSchema> values)
Describes the fields in a table.
repeated .google.cloud.bigquery.storage.v1beta2.TableFieldSchema fields = 1;
Parameter
Name | Description |
values | Iterable<? extends com.google.cloud.bigquery.storage.v1beta2.TableFieldSchema>
|
Returns
addFields(TableFieldSchema value)
public TableSchema.Builder addFields(TableFieldSchema value)
Describes the fields in a table.
repeated .google.cloud.bigquery.storage.v1beta2.TableFieldSchema fields = 1;
Parameter
Returns
addFields(TableFieldSchema.Builder builderForValue)
public TableSchema.Builder addFields(TableFieldSchema.Builder builderForValue)
Describes the fields in a table.
repeated .google.cloud.bigquery.storage.v1beta2.TableFieldSchema fields = 1;
Parameter
Returns
addFields(int index, TableFieldSchema value)
public TableSchema.Builder addFields(int index, TableFieldSchema value)
Describes the fields in a table.
repeated .google.cloud.bigquery.storage.v1beta2.TableFieldSchema fields = 1;
Parameters
Returns
addFields(int index, TableFieldSchema.Builder builderForValue)
public TableSchema.Builder addFields(int index, TableFieldSchema.Builder builderForValue)
Describes the fields in a table.
repeated .google.cloud.bigquery.storage.v1beta2.TableFieldSchema fields = 1;
Parameters
Returns
addFieldsBuilder()
public TableFieldSchema.Builder addFieldsBuilder()
Describes the fields in a table.
repeated .google.cloud.bigquery.storage.v1beta2.TableFieldSchema fields = 1;
Returns
addFieldsBuilder(int index)
public TableFieldSchema.Builder addFieldsBuilder(int index)
Describes the fields in a table.
repeated .google.cloud.bigquery.storage.v1beta2.TableFieldSchema fields = 1;
Parameter
Returns
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
public TableSchema.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
Returns
Overrides
build()
public TableSchema build()
Returns
buildPartial()
public TableSchema buildPartial()
Returns
clear()
public TableSchema.Builder clear()
Returns
Overrides
clearField(Descriptors.FieldDescriptor field)
public TableSchema.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
Returns
Overrides
clearFields()
public TableSchema.Builder clearFields()
Describes the fields in a table.
repeated .google.cloud.bigquery.storage.v1beta2.TableFieldSchema fields = 1;
Returns
clearOneof(Descriptors.OneofDescriptor oneof)
public TableSchema.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
Returns
Overrides
clone()
public TableSchema.Builder clone()
Returns
Overrides
getDefaultInstanceForType()
public TableSchema getDefaultInstanceForType()
Returns
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()
Returns
Overrides
getFields(int index)
public TableFieldSchema getFields(int index)
Describes the fields in a table.
repeated .google.cloud.bigquery.storage.v1beta2.TableFieldSchema fields = 1;
Parameter
Returns
getFieldsBuilder(int index)
public TableFieldSchema.Builder getFieldsBuilder(int index)
Describes the fields in a table.
repeated .google.cloud.bigquery.storage.v1beta2.TableFieldSchema fields = 1;
Parameter
Returns
getFieldsBuilderList()
public List<TableFieldSchema.Builder> getFieldsBuilderList()
Describes the fields in a table.
repeated .google.cloud.bigquery.storage.v1beta2.TableFieldSchema fields = 1;
Returns
getFieldsCount()
public int getFieldsCount()
Describes the fields in a table.
repeated .google.cloud.bigquery.storage.v1beta2.TableFieldSchema fields = 1;
Returns
getFieldsList()
public List<TableFieldSchema> getFieldsList()
Describes the fields in a table.
repeated .google.cloud.bigquery.storage.v1beta2.TableFieldSchema fields = 1;
Returns
getFieldsOrBuilder(int index)
public TableFieldSchemaOrBuilder getFieldsOrBuilder(int index)
Describes the fields in a table.
repeated .google.cloud.bigquery.storage.v1beta2.TableFieldSchema fields = 1;
Parameter
Returns
getFieldsOrBuilderList()
public List<? extends TableFieldSchemaOrBuilder> getFieldsOrBuilderList()
Describes the fields in a table.
repeated .google.cloud.bigquery.storage.v1beta2.TableFieldSchema fields = 1;
Returns
Type | Description |
List<? extends com.google.cloud.bigquery.storage.v1beta2.TableFieldSchemaOrBuilder> | |
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
Overrides
isInitialized()
public final boolean isInitialized()
Returns
Overrides
mergeFrom(TableSchema other)
public TableSchema.Builder mergeFrom(TableSchema other)
Parameter
Returns
public TableSchema.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Overrides
Exceptions
mergeFrom(Message other)
public TableSchema.Builder mergeFrom(Message other)
Parameter
Returns
Overrides
mergeUnknownFields(UnknownFieldSet unknownFields)
public final TableSchema.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
Returns
Overrides
removeFields(int index)
public TableSchema.Builder removeFields(int index)
Describes the fields in a table.
repeated .google.cloud.bigquery.storage.v1beta2.TableFieldSchema fields = 1;
Parameter
Returns
setField(Descriptors.FieldDescriptor field, Object value)
public TableSchema.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
Returns
Overrides
setFields(int index, TableFieldSchema value)
public TableSchema.Builder setFields(int index, TableFieldSchema value)
Describes the fields in a table.
repeated .google.cloud.bigquery.storage.v1beta2.TableFieldSchema fields = 1;
Parameters
Returns
setFields(int index, TableFieldSchema.Builder builderForValue)
public TableSchema.Builder setFields(int index, TableFieldSchema.Builder builderForValue)
Describes the fields in a table.
repeated .google.cloud.bigquery.storage.v1beta2.TableFieldSchema fields = 1;
Parameters
Returns
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public TableSchema.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters
Returns
Overrides
setUnknownFields(UnknownFieldSet unknownFields)
public final TableSchema.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
Returns
Overrides