public static final class TableSchema.Builder extends GeneratedMessageV3.Builder<TableSchema.Builder> implements TableSchemaOrBuilder
Schema of a table. This schema is a subset of
google.cloud.bigquery.v2.TableSchema containing information necessary to
generate valid message to write to BigQuery.
Protobuf type google.cloud.bigquery.storage.v1.TableSchema
Inherited Members
com.google.protobuf.GeneratedMessageV3.Builder.getUnknownFieldSetBuilder()
com.google.protobuf.GeneratedMessageV3.Builder.internalGetMapFieldReflection(int)
com.google.protobuf.GeneratedMessageV3.Builder.internalGetMutableMapFieldReflection(int)
com.google.protobuf.GeneratedMessageV3.Builder.mergeUnknownLengthDelimitedField(int,com.google.protobuf.ByteString)
com.google.protobuf.GeneratedMessageV3.Builder.mergeUnknownVarintField(int,int)
com.google.protobuf.GeneratedMessageV3.Builder.parseUnknownField(com.google.protobuf.CodedInputStream,com.google.protobuf.ExtensionRegistryLite,int)
com.google.protobuf.GeneratedMessageV3.Builder.setUnknownFieldSetBuilder(com.google.protobuf.UnknownFieldSet.Builder)
Static Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
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.v1.TableFieldSchema fields = 1;
Parameter |
Name |
Description |
values |
Iterable<? extends com.google.cloud.bigquery.storage.v1.TableFieldSchema>
|
addFields(TableFieldSchema value)
public TableSchema.Builder addFields(TableFieldSchema value)
Describes the fields in a table.
repeated .google.cloud.bigquery.storage.v1.TableFieldSchema fields = 1;
addFields(TableFieldSchema.Builder builderForValue)
public TableSchema.Builder addFields(TableFieldSchema.Builder builderForValue)
Describes the fields in a table.
repeated .google.cloud.bigquery.storage.v1.TableFieldSchema fields = 1;
addFields(int index, TableFieldSchema value)
public TableSchema.Builder addFields(int index, TableFieldSchema value)
Describes the fields in a table.
repeated .google.cloud.bigquery.storage.v1.TableFieldSchema fields = 1;
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.v1.TableFieldSchema fields = 1;
addFieldsBuilder()
public TableFieldSchema.Builder addFieldsBuilder()
Describes the fields in a table.
repeated .google.cloud.bigquery.storage.v1.TableFieldSchema fields = 1;
addFieldsBuilder(int index)
public TableFieldSchema.Builder addFieldsBuilder(int index)
Describes the fields in a table.
repeated .google.cloud.bigquery.storage.v1.TableFieldSchema fields = 1;
Parameter |
Name |
Description |
index |
int
|
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
public TableSchema.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Overrides
build()
public TableSchema build()
buildPartial()
public TableSchema buildPartial()
clear()
public TableSchema.Builder clear()
Overrides
clearField(Descriptors.FieldDescriptor field)
public TableSchema.Builder clearField(Descriptors.FieldDescriptor field)
Overrides
clearFields()
public TableSchema.Builder clearFields()
Describes the fields in a table.
repeated .google.cloud.bigquery.storage.v1.TableFieldSchema fields = 1;
clearOneof(Descriptors.OneofDescriptor oneof)
public TableSchema.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Overrides
clone()
public TableSchema.Builder clone()
Overrides
getDefaultInstanceForType()
public TableSchema getDefaultInstanceForType()
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()
Overrides
getFields(int index)
public TableFieldSchema getFields(int index)
Describes the fields in a table.
repeated .google.cloud.bigquery.storage.v1.TableFieldSchema fields = 1;
Parameter |
Name |
Description |
index |
int
|
getFieldsBuilder(int index)
public TableFieldSchema.Builder getFieldsBuilder(int index)
Describes the fields in a table.
repeated .google.cloud.bigquery.storage.v1.TableFieldSchema fields = 1;
Parameter |
Name |
Description |
index |
int
|
getFieldsBuilderList()
public List<TableFieldSchema.Builder> getFieldsBuilderList()
Describes the fields in a table.
repeated .google.cloud.bigquery.storage.v1.TableFieldSchema fields = 1;
getFieldsCount()
public int getFieldsCount()
Describes the fields in a table.
repeated .google.cloud.bigquery.storage.v1.TableFieldSchema fields = 1;
Returns |
Type |
Description |
int |
|
getFieldsList()
public List<TableFieldSchema> getFieldsList()
Describes the fields in a table.
repeated .google.cloud.bigquery.storage.v1.TableFieldSchema fields = 1;
getFieldsOrBuilder(int index)
public TableFieldSchemaOrBuilder getFieldsOrBuilder(int index)
Describes the fields in a table.
repeated .google.cloud.bigquery.storage.v1.TableFieldSchema fields = 1;
Parameter |
Name |
Description |
index |
int
|
getFieldsOrBuilderList()
public List<? extends TableFieldSchemaOrBuilder> getFieldsOrBuilderList()
Describes the fields in a table.
repeated .google.cloud.bigquery.storage.v1.TableFieldSchema fields = 1;
Returns |
Type |
Description |
List<? extends com.google.cloud.bigquery.storage.v1.TableFieldSchemaOrBuilder> |
|
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Overrides
isInitialized()
public final boolean isInitialized()
Overrides
mergeFrom(TableSchema other)
public TableSchema.Builder mergeFrom(TableSchema other)
public TableSchema.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Overrides
mergeFrom(Message other)
public TableSchema.Builder mergeFrom(Message other)
Parameter |
Name |
Description |
other |
Message
|
Overrides
mergeUnknownFields(UnknownFieldSet unknownFields)
public final TableSchema.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Overrides
removeFields(int index)
public TableSchema.Builder removeFields(int index)
Describes the fields in a table.
repeated .google.cloud.bigquery.storage.v1.TableFieldSchema fields = 1;
Parameter |
Name |
Description |
index |
int
|
setField(Descriptors.FieldDescriptor field, Object value)
public TableSchema.Builder setField(Descriptors.FieldDescriptor field, Object value)
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.v1.TableFieldSchema fields = 1;
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.v1.TableFieldSchema fields = 1;
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public TableSchema.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Overrides
setUnknownFields(UnknownFieldSet unknownFields)
public final TableSchema.Builder setUnknownFields(UnknownFieldSet unknownFields)
Overrides