public static final class Table.TableFieldSchema.Builder extends com.google.protobuf.GeneratedMessageV3.Builder<Table.TableFieldSchema.Builder> implements Table.TableFieldSchemaOrBuilder
A field in TableSchemaProtobuf type
google.cloud.bigquery.storage.v1alpha2.TableFieldSchemagetAllFields, getField, getFieldBuilder, getOneofFieldDescriptor, getParentForChildren, getRepeatedField, getRepeatedFieldBuilder, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof, internalGetMapField, internalGetMutableMapField, isClean, markClean, newBuilderForField, onBuilt, onChanged, setUnknownFieldsProto3findInitializationErrors, getInitializationErrorString, internalMergeFrom, mergeDelimitedFrom, mergeDelimitedFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException, toStringaddAll, addAll, mergeFrom, newUninitializedMessageExceptionequals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitpublic static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
internalGetFieldAccessorTable in class com.google.protobuf.GeneratedMessageV3.Builder<Table.TableFieldSchema.Builder>public Table.TableFieldSchema.Builder clear()
clear in interface com.google.protobuf.Message.Builderclear in interface com.google.protobuf.MessageLite.Builderclear in class com.google.protobuf.GeneratedMessageV3.Builder<Table.TableFieldSchema.Builder>public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()
getDescriptorForType in interface com.google.protobuf.Message.BuildergetDescriptorForType in interface com.google.protobuf.MessageOrBuildergetDescriptorForType in class com.google.protobuf.GeneratedMessageV3.Builder<Table.TableFieldSchema.Builder>public Table.TableFieldSchema getDefaultInstanceForType()
getDefaultInstanceForType in interface com.google.protobuf.MessageLiteOrBuildergetDefaultInstanceForType in interface com.google.protobuf.MessageOrBuilderpublic Table.TableFieldSchema build()
build in interface com.google.protobuf.Message.Builderbuild in interface com.google.protobuf.MessageLite.Builderpublic Table.TableFieldSchema buildPartial()
buildPartial in interface com.google.protobuf.Message.BuilderbuildPartial in interface com.google.protobuf.MessageLite.Builderpublic Table.TableFieldSchema.Builder clone()
clone in interface com.google.protobuf.Message.Builderclone in interface com.google.protobuf.MessageLite.Builderclone in class com.google.protobuf.GeneratedMessageV3.Builder<Table.TableFieldSchema.Builder>public Table.TableFieldSchema.Builder setField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
setField in interface com.google.protobuf.Message.BuildersetField in class com.google.protobuf.GeneratedMessageV3.Builder<Table.TableFieldSchema.Builder>public Table.TableFieldSchema.Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field)
clearField in interface com.google.protobuf.Message.BuilderclearField in class com.google.protobuf.GeneratedMessageV3.Builder<Table.TableFieldSchema.Builder>public Table.TableFieldSchema.Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)
clearOneof in interface com.google.protobuf.Message.BuilderclearOneof in class com.google.protobuf.GeneratedMessageV3.Builder<Table.TableFieldSchema.Builder>public Table.TableFieldSchema.Builder setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, Object value)
setRepeatedField in interface com.google.protobuf.Message.BuildersetRepeatedField in class com.google.protobuf.GeneratedMessageV3.Builder<Table.TableFieldSchema.Builder>public Table.TableFieldSchema.Builder addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
addRepeatedField in interface com.google.protobuf.Message.BuilderaddRepeatedField in class com.google.protobuf.GeneratedMessageV3.Builder<Table.TableFieldSchema.Builder>public Table.TableFieldSchema.Builder mergeFrom(com.google.protobuf.Message other)
mergeFrom in interface com.google.protobuf.Message.BuildermergeFrom in class com.google.protobuf.AbstractMessage.Builder<Table.TableFieldSchema.Builder>public Table.TableFieldSchema.Builder mergeFrom(Table.TableFieldSchema other)
public final boolean isInitialized()
isInitialized in interface com.google.protobuf.MessageLiteOrBuilderisInitialized in class com.google.protobuf.GeneratedMessageV3.Builder<Table.TableFieldSchema.Builder>public Table.TableFieldSchema.Builder mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
mergeFrom in interface com.google.protobuf.Message.BuildermergeFrom in interface com.google.protobuf.MessageLite.BuildermergeFrom in class com.google.protobuf.AbstractMessage.Builder<Table.TableFieldSchema.Builder>IOExceptionpublic String getName()
Required. The field name. The name must contain only letters (a-z, A-Z), numbers (0-9), or underscores (_), and must start with a letter or underscore. The maximum length is 128 characters.
string name = 1 [(.google.api.field_behavior) = REQUIRED];getName in interface Table.TableFieldSchemaOrBuilderpublic com.google.protobuf.ByteString getNameBytes()
Required. The field name. The name must contain only letters (a-z, A-Z), numbers (0-9), or underscores (_), and must start with a letter or underscore. The maximum length is 128 characters.
string name = 1 [(.google.api.field_behavior) = REQUIRED];getNameBytes in interface Table.TableFieldSchemaOrBuilderpublic Table.TableFieldSchema.Builder setName(String value)
Required. The field name. The name must contain only letters (a-z, A-Z), numbers (0-9), or underscores (_), and must start with a letter or underscore. The maximum length is 128 characters.
string name = 1 [(.google.api.field_behavior) = REQUIRED];value - The name to set.public Table.TableFieldSchema.Builder clearName()
Required. The field name. The name must contain only letters (a-z, A-Z), numbers (0-9), or underscores (_), and must start with a letter or underscore. The maximum length is 128 characters.
string name = 1 [(.google.api.field_behavior) = REQUIRED];public Table.TableFieldSchema.Builder setNameBytes(com.google.protobuf.ByteString value)
Required. The field name. The name must contain only letters (a-z, A-Z), numbers (0-9), or underscores (_), and must start with a letter or underscore. The maximum length is 128 characters.
string name = 1 [(.google.api.field_behavior) = REQUIRED];value - The bytes for name to set.public int getTypeValue()
Required. The field data type.
.google.cloud.bigquery.storage.v1alpha2.TableFieldSchema.Type type = 2 [(.google.api.field_behavior) = REQUIRED];
getTypeValue in interface Table.TableFieldSchemaOrBuilderpublic Table.TableFieldSchema.Builder setTypeValue(int value)
Required. The field data type.
.google.cloud.bigquery.storage.v1alpha2.TableFieldSchema.Type type = 2 [(.google.api.field_behavior) = REQUIRED];
value - The enum numeric value on the wire for type to set.public Table.TableFieldSchema.Type getType()
Required. The field data type.
.google.cloud.bigquery.storage.v1alpha2.TableFieldSchema.Type type = 2 [(.google.api.field_behavior) = REQUIRED];
getType in interface Table.TableFieldSchemaOrBuilderpublic Table.TableFieldSchema.Builder setType(Table.TableFieldSchema.Type value)
Required. The field data type.
.google.cloud.bigquery.storage.v1alpha2.TableFieldSchema.Type type = 2 [(.google.api.field_behavior) = REQUIRED];
value - The type to set.public Table.TableFieldSchema.Builder clearType()
Required. The field data type.
.google.cloud.bigquery.storage.v1alpha2.TableFieldSchema.Type type = 2 [(.google.api.field_behavior) = REQUIRED];
public int getModeValue()
Optional. The field mode. The default value is NULLABLE.
.google.cloud.bigquery.storage.v1alpha2.TableFieldSchema.Mode mode = 3 [(.google.api.field_behavior) = OPTIONAL];
getModeValue in interface Table.TableFieldSchemaOrBuilderpublic Table.TableFieldSchema.Builder setModeValue(int value)
Optional. The field mode. The default value is NULLABLE.
.google.cloud.bigquery.storage.v1alpha2.TableFieldSchema.Mode mode = 3 [(.google.api.field_behavior) = OPTIONAL];
value - The enum numeric value on the wire for mode to set.public Table.TableFieldSchema.Mode getMode()
Optional. The field mode. The default value is NULLABLE.
.google.cloud.bigquery.storage.v1alpha2.TableFieldSchema.Mode mode = 3 [(.google.api.field_behavior) = OPTIONAL];
getMode in interface Table.TableFieldSchemaOrBuilderpublic Table.TableFieldSchema.Builder setMode(Table.TableFieldSchema.Mode value)
Optional. The field mode. The default value is NULLABLE.
.google.cloud.bigquery.storage.v1alpha2.TableFieldSchema.Mode mode = 3 [(.google.api.field_behavior) = OPTIONAL];
value - The mode to set.public Table.TableFieldSchema.Builder clearMode()
Optional. The field mode. The default value is NULLABLE.
.google.cloud.bigquery.storage.v1alpha2.TableFieldSchema.Mode mode = 3 [(.google.api.field_behavior) = OPTIONAL];
public List<Table.TableFieldSchema> getFieldsList()
Optional. Describes the nested schema fields if the type property is set to STRUCT.
repeated .google.cloud.bigquery.storage.v1alpha2.TableFieldSchema fields = 4 [(.google.api.field_behavior) = OPTIONAL];
getFieldsList in interface Table.TableFieldSchemaOrBuilderpublic int getFieldsCount()
Optional. Describes the nested schema fields if the type property is set to STRUCT.
repeated .google.cloud.bigquery.storage.v1alpha2.TableFieldSchema fields = 4 [(.google.api.field_behavior) = OPTIONAL];
getFieldsCount in interface Table.TableFieldSchemaOrBuilderpublic Table.TableFieldSchema getFields(int index)
Optional. Describes the nested schema fields if the type property is set to STRUCT.
repeated .google.cloud.bigquery.storage.v1alpha2.TableFieldSchema fields = 4 [(.google.api.field_behavior) = OPTIONAL];
getFields in interface Table.TableFieldSchemaOrBuilderpublic Table.TableFieldSchema.Builder setFields(int index, Table.TableFieldSchema value)
Optional. Describes the nested schema fields if the type property is set to STRUCT.
repeated .google.cloud.bigquery.storage.v1alpha2.TableFieldSchema fields = 4 [(.google.api.field_behavior) = OPTIONAL];
public Table.TableFieldSchema.Builder setFields(int index, Table.TableFieldSchema.Builder builderForValue)
Optional. Describes the nested schema fields if the type property is set to STRUCT.
repeated .google.cloud.bigquery.storage.v1alpha2.TableFieldSchema fields = 4 [(.google.api.field_behavior) = OPTIONAL];
public Table.TableFieldSchema.Builder addFields(Table.TableFieldSchema value)
Optional. Describes the nested schema fields if the type property is set to STRUCT.
repeated .google.cloud.bigquery.storage.v1alpha2.TableFieldSchema fields = 4 [(.google.api.field_behavior) = OPTIONAL];
public Table.TableFieldSchema.Builder addFields(int index, Table.TableFieldSchema value)
Optional. Describes the nested schema fields if the type property is set to STRUCT.
repeated .google.cloud.bigquery.storage.v1alpha2.TableFieldSchema fields = 4 [(.google.api.field_behavior) = OPTIONAL];
public Table.TableFieldSchema.Builder addFields(Table.TableFieldSchema.Builder builderForValue)
Optional. Describes the nested schema fields if the type property is set to STRUCT.
repeated .google.cloud.bigquery.storage.v1alpha2.TableFieldSchema fields = 4 [(.google.api.field_behavior) = OPTIONAL];
public Table.TableFieldSchema.Builder addFields(int index, Table.TableFieldSchema.Builder builderForValue)
Optional. Describes the nested schema fields if the type property is set to STRUCT.
repeated .google.cloud.bigquery.storage.v1alpha2.TableFieldSchema fields = 4 [(.google.api.field_behavior) = OPTIONAL];
public Table.TableFieldSchema.Builder addAllFields(Iterable<? extends Table.TableFieldSchema> values)
Optional. Describes the nested schema fields if the type property is set to STRUCT.
repeated .google.cloud.bigquery.storage.v1alpha2.TableFieldSchema fields = 4 [(.google.api.field_behavior) = OPTIONAL];
public Table.TableFieldSchema.Builder clearFields()
Optional. Describes the nested schema fields if the type property is set to STRUCT.
repeated .google.cloud.bigquery.storage.v1alpha2.TableFieldSchema fields = 4 [(.google.api.field_behavior) = OPTIONAL];
public Table.TableFieldSchema.Builder removeFields(int index)
Optional. Describes the nested schema fields if the type property is set to STRUCT.
repeated .google.cloud.bigquery.storage.v1alpha2.TableFieldSchema fields = 4 [(.google.api.field_behavior) = OPTIONAL];
public Table.TableFieldSchema.Builder getFieldsBuilder(int index)
Optional. Describes the nested schema fields if the type property is set to STRUCT.
repeated .google.cloud.bigquery.storage.v1alpha2.TableFieldSchema fields = 4 [(.google.api.field_behavior) = OPTIONAL];
public Table.TableFieldSchemaOrBuilder getFieldsOrBuilder(int index)
Optional. Describes the nested schema fields if the type property is set to STRUCT.
repeated .google.cloud.bigquery.storage.v1alpha2.TableFieldSchema fields = 4 [(.google.api.field_behavior) = OPTIONAL];
getFieldsOrBuilder in interface Table.TableFieldSchemaOrBuilderpublic List<? extends Table.TableFieldSchemaOrBuilder> getFieldsOrBuilderList()
Optional. Describes the nested schema fields if the type property is set to STRUCT.
repeated .google.cloud.bigquery.storage.v1alpha2.TableFieldSchema fields = 4 [(.google.api.field_behavior) = OPTIONAL];
getFieldsOrBuilderList in interface Table.TableFieldSchemaOrBuilderpublic Table.TableFieldSchema.Builder addFieldsBuilder()
Optional. Describes the nested schema fields if the type property is set to STRUCT.
repeated .google.cloud.bigquery.storage.v1alpha2.TableFieldSchema fields = 4 [(.google.api.field_behavior) = OPTIONAL];
public Table.TableFieldSchema.Builder addFieldsBuilder(int index)
Optional. Describes the nested schema fields if the type property is set to STRUCT.
repeated .google.cloud.bigquery.storage.v1alpha2.TableFieldSchema fields = 4 [(.google.api.field_behavior) = OPTIONAL];
public List<Table.TableFieldSchema.Builder> getFieldsBuilderList()
Optional. Describes the nested schema fields if the type property is set to STRUCT.
repeated .google.cloud.bigquery.storage.v1alpha2.TableFieldSchema fields = 4 [(.google.api.field_behavior) = OPTIONAL];
public String getDescription()
Optional. The field description. The maximum length is 1,024 characters.
string description = 6 [(.google.api.field_behavior) = OPTIONAL];getDescription in interface Table.TableFieldSchemaOrBuilderpublic com.google.protobuf.ByteString getDescriptionBytes()
Optional. The field description. The maximum length is 1,024 characters.
string description = 6 [(.google.api.field_behavior) = OPTIONAL];getDescriptionBytes in interface Table.TableFieldSchemaOrBuilderpublic Table.TableFieldSchema.Builder setDescription(String value)
Optional. The field description. The maximum length is 1,024 characters.
string description = 6 [(.google.api.field_behavior) = OPTIONAL];value - The description to set.public Table.TableFieldSchema.Builder clearDescription()
Optional. The field description. The maximum length is 1,024 characters.
string description = 6 [(.google.api.field_behavior) = OPTIONAL];public Table.TableFieldSchema.Builder setDescriptionBytes(com.google.protobuf.ByteString value)
Optional. The field description. The maximum length is 1,024 characters.
string description = 6 [(.google.api.field_behavior) = OPTIONAL];value - The bytes for description to set.public final Table.TableFieldSchema.Builder setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
setUnknownFields in interface com.google.protobuf.Message.BuildersetUnknownFields in class com.google.protobuf.GeneratedMessageV3.Builder<Table.TableFieldSchema.Builder>public final Table.TableFieldSchema.Builder mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
mergeUnknownFields in interface com.google.protobuf.Message.BuildermergeUnknownFields in class com.google.protobuf.GeneratedMessageV3.Builder<Table.TableFieldSchema.Builder>Copyright © 2020 Google LLC. All rights reserved.