Class TableSchema.Builder (3.9.2)

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
Type Description
Descriptor

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
Type Description
TableSchema.Builder

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
Name Description
value TableFieldSchema
Returns
Type Description
TableSchema.Builder

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
Name Description
builderForValue TableFieldSchema.Builder
Returns
Type Description
TableSchema.Builder

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
Name Description
index int
value TableFieldSchema
Returns
Type Description
TableSchema.Builder

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
Name Description
index int
builderForValue TableFieldSchema.Builder
Returns
Type Description
TableSchema.Builder

addFieldsBuilder()

public TableFieldSchema.Builder addFieldsBuilder()

Describes the fields in a table.

repeated .google.cloud.bigquery.storage.v1beta2.TableFieldSchema fields = 1;

Returns
Type Description
TableFieldSchema.Builder

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

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

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

build()

public TableSchema build()
Returns
Type Description
TableSchema

buildPartial()

public TableSchema buildPartial()
Returns
Type Description
TableSchema

clear()

public TableSchema.Builder clear()
Returns
Type Description
TableSchema.Builder
Overrides

clearField(Descriptors.FieldDescriptor field)

public TableSchema.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
Name Description
field FieldDescriptor
Returns
Type Description
TableSchema.Builder
Overrides

clearFields()

public TableSchema.Builder clearFields()

Describes the fields in a table.

repeated .google.cloud.bigquery.storage.v1beta2.TableFieldSchema fields = 1;

Returns
Type Description
TableSchema.Builder

clearOneof(Descriptors.OneofDescriptor oneof)

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

clone()

public TableSchema.Builder clone()
Returns
Type Description
TableSchema.Builder
Overrides

getDefaultInstanceForType()

public TableSchema getDefaultInstanceForType()
Returns
Type Description
TableSchema

getDescriptorForType()

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

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

getFieldsBuilderList()

public List<TableFieldSchema.Builder> getFieldsBuilderList()

Describes the fields in a table.

repeated .google.cloud.bigquery.storage.v1beta2.TableFieldSchema fields = 1;

Returns
Type Description
List<Builder>

getFieldsCount()

public int getFieldsCount()

Describes the fields in a table.

repeated .google.cloud.bigquery.storage.v1beta2.TableFieldSchema fields = 1;

Returns
Type Description
int

getFieldsList()

public List<TableFieldSchema> getFieldsList()

Describes the fields in a table.

repeated .google.cloud.bigquery.storage.v1beta2.TableFieldSchema fields = 1;

Returns
Type Description
List<TableFieldSchema>

getFieldsOrBuilder(int index)

public TableFieldSchemaOrBuilder getFieldsOrBuilder(int index)

Describes the fields in a table.

repeated .google.cloud.bigquery.storage.v1beta2.TableFieldSchema fields = 1;

Parameter
Name Description
index int
Returns
Type Description
TableFieldSchemaOrBuilder

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
Type Description
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

mergeFrom(TableSchema other)

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

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

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

mergeUnknownFields(UnknownFieldSet unknownFields)

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

setField(Descriptors.FieldDescriptor field, Object value)

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

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
Name Description
index int
builderForValue TableFieldSchema.Builder
Returns
Type Description
TableSchema.Builder

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

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

setUnknownFields(UnknownFieldSet unknownFields)

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