public static final class ColumnSchema.Builder extends com.google.protobuf.GeneratedMessageV3.Builder<ColumnSchema.Builder> implements ColumnSchemaOrBuilder
A column within a schema. Columns can be nested inside other columns.Protobuf type
google.cloud.datacatalog.v1.ColumnSchemagetAllFields, getField, getFieldBuilder, getOneofFieldDescriptor, getParentForChildren, getRepeatedField, getRepeatedFieldBuilder, getRepeatedFieldCount, getUnknownFields, getUnknownFieldSetBuilder, hasField, hasOneof, internalGetMapField, internalGetMutableMapField, isClean, markClean, mergeUnknownLengthDelimitedField, mergeUnknownVarintField, newBuilderForField, onBuilt, onChanged, parseUnknownField, setUnknownFieldSetBuilder, setUnknownFieldsProto3findInitializationErrors, getInitializationErrorString, internalMergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException, toStringaddAll, addAll, mergeDelimitedFrom, mergeDelimitedFrom, mergeFrom, newUninitializedMessageExceptionequals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitfindInitializationErrors, getAllFields, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneofpublic static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
internalGetFieldAccessorTable in class com.google.protobuf.GeneratedMessageV3.Builder<ColumnSchema.Builder>public ColumnSchema.Builder clear()
clear in interface com.google.protobuf.Message.Builderclear in interface com.google.protobuf.MessageLite.Builderclear in class com.google.protobuf.GeneratedMessageV3.Builder<ColumnSchema.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<ColumnSchema.Builder>public ColumnSchema getDefaultInstanceForType()
getDefaultInstanceForType in interface com.google.protobuf.MessageLiteOrBuildergetDefaultInstanceForType in interface com.google.protobuf.MessageOrBuilderpublic ColumnSchema build()
build in interface com.google.protobuf.Message.Builderbuild in interface com.google.protobuf.MessageLite.Builderpublic ColumnSchema buildPartial()
buildPartial in interface com.google.protobuf.Message.BuilderbuildPartial in interface com.google.protobuf.MessageLite.Builderpublic ColumnSchema.Builder clone()
clone in interface com.google.protobuf.Message.Builderclone in interface com.google.protobuf.MessageLite.Builderclone in class com.google.protobuf.GeneratedMessageV3.Builder<ColumnSchema.Builder>public ColumnSchema.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<ColumnSchema.Builder>public ColumnSchema.Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field)
clearField in interface com.google.protobuf.Message.BuilderclearField in class com.google.protobuf.GeneratedMessageV3.Builder<ColumnSchema.Builder>public ColumnSchema.Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)
clearOneof in interface com.google.protobuf.Message.BuilderclearOneof in class com.google.protobuf.GeneratedMessageV3.Builder<ColumnSchema.Builder>public ColumnSchema.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<ColumnSchema.Builder>public ColumnSchema.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<ColumnSchema.Builder>public ColumnSchema.Builder mergeFrom(com.google.protobuf.Message other)
mergeFrom in interface com.google.protobuf.Message.BuildermergeFrom in class com.google.protobuf.AbstractMessage.Builder<ColumnSchema.Builder>public ColumnSchema.Builder mergeFrom(ColumnSchema other)
public final boolean isInitialized()
isInitialized in interface com.google.protobuf.MessageLiteOrBuilderisInitialized in class com.google.protobuf.GeneratedMessageV3.Builder<ColumnSchema.Builder>public ColumnSchema.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<ColumnSchema.Builder>IOExceptionpublic ColumnSchema.SystemSpecCase getSystemSpecCase()
getSystemSpecCase in interface ColumnSchemaOrBuilderpublic ColumnSchema.Builder clearSystemSpec()
public String getColumn()
Required. Name of the column. Must be a UTF-8 string without dots (.). The maximum size is 64 bytes.
string column = 6 [(.google.api.field_behavior) = REQUIRED];getColumn in interface ColumnSchemaOrBuilderpublic com.google.protobuf.ByteString getColumnBytes()
Required. Name of the column. Must be a UTF-8 string without dots (.). The maximum size is 64 bytes.
string column = 6 [(.google.api.field_behavior) = REQUIRED];getColumnBytes in interface ColumnSchemaOrBuilderpublic ColumnSchema.Builder setColumn(String value)
Required. Name of the column. Must be a UTF-8 string without dots (.). The maximum size is 64 bytes.
string column = 6 [(.google.api.field_behavior) = REQUIRED];value - The column to set.public ColumnSchema.Builder clearColumn()
Required. Name of the column. Must be a UTF-8 string without dots (.). The maximum size is 64 bytes.
string column = 6 [(.google.api.field_behavior) = REQUIRED];public ColumnSchema.Builder setColumnBytes(com.google.protobuf.ByteString value)
Required. Name of the column. Must be a UTF-8 string without dots (.). The maximum size is 64 bytes.
string column = 6 [(.google.api.field_behavior) = REQUIRED];value - The bytes for column to set.public String getType()
Required. Type of the column. Must be a UTF-8 string with the maximum size of 128 bytes.
string type = 1 [(.google.api.field_behavior) = REQUIRED];getType in interface ColumnSchemaOrBuilderpublic com.google.protobuf.ByteString getTypeBytes()
Required. Type of the column. Must be a UTF-8 string with the maximum size of 128 bytes.
string type = 1 [(.google.api.field_behavior) = REQUIRED];getTypeBytes in interface ColumnSchemaOrBuilderpublic ColumnSchema.Builder setType(String value)
Required. Type of the column. Must be a UTF-8 string with the maximum size of 128 bytes.
string type = 1 [(.google.api.field_behavior) = REQUIRED];value - The type to set.public ColumnSchema.Builder clearType()
Required. Type of the column. Must be a UTF-8 string with the maximum size of 128 bytes.
string type = 1 [(.google.api.field_behavior) = REQUIRED];public ColumnSchema.Builder setTypeBytes(com.google.protobuf.ByteString value)
Required. Type of the column. Must be a UTF-8 string with the maximum size of 128 bytes.
string type = 1 [(.google.api.field_behavior) = REQUIRED];value - The bytes for type to set.public String getDescription()
Optional. Description of the column. Default value is an empty string. The description must be a UTF-8 string with the maximum size of 2000 bytes.
string description = 2 [(.google.api.field_behavior) = OPTIONAL];getDescription in interface ColumnSchemaOrBuilderpublic com.google.protobuf.ByteString getDescriptionBytes()
Optional. Description of the column. Default value is an empty string. The description must be a UTF-8 string with the maximum size of 2000 bytes.
string description = 2 [(.google.api.field_behavior) = OPTIONAL];getDescriptionBytes in interface ColumnSchemaOrBuilderpublic ColumnSchema.Builder setDescription(String value)
Optional. Description of the column. Default value is an empty string. The description must be a UTF-8 string with the maximum size of 2000 bytes.
string description = 2 [(.google.api.field_behavior) = OPTIONAL];value - The description to set.public ColumnSchema.Builder clearDescription()
Optional. Description of the column. Default value is an empty string. The description must be a UTF-8 string with the maximum size of 2000 bytes.
string description = 2 [(.google.api.field_behavior) = OPTIONAL];public ColumnSchema.Builder setDescriptionBytes(com.google.protobuf.ByteString value)
Optional. Description of the column. Default value is an empty string. The description must be a UTF-8 string with the maximum size of 2000 bytes.
string description = 2 [(.google.api.field_behavior) = OPTIONAL];value - The bytes for description to set.public String getMode()
Optional. A column's mode indicates whether values in this column are required, nullable, or repeated. Only `NULLABLE`, `REQUIRED`, and `REPEATED` values are supported. Default mode is `NULLABLE`.
string mode = 3 [(.google.api.field_behavior) = OPTIONAL];getMode in interface ColumnSchemaOrBuilderpublic com.google.protobuf.ByteString getModeBytes()
Optional. A column's mode indicates whether values in this column are required, nullable, or repeated. Only `NULLABLE`, `REQUIRED`, and `REPEATED` values are supported. Default mode is `NULLABLE`.
string mode = 3 [(.google.api.field_behavior) = OPTIONAL];getModeBytes in interface ColumnSchemaOrBuilderpublic ColumnSchema.Builder setMode(String value)
Optional. A column's mode indicates whether values in this column are required, nullable, or repeated. Only `NULLABLE`, `REQUIRED`, and `REPEATED` values are supported. Default mode is `NULLABLE`.
string mode = 3 [(.google.api.field_behavior) = OPTIONAL];value - The mode to set.public ColumnSchema.Builder clearMode()
Optional. A column's mode indicates whether values in this column are required, nullable, or repeated. Only `NULLABLE`, `REQUIRED`, and `REPEATED` values are supported. Default mode is `NULLABLE`.
string mode = 3 [(.google.api.field_behavior) = OPTIONAL];public ColumnSchema.Builder setModeBytes(com.google.protobuf.ByteString value)
Optional. A column's mode indicates whether values in this column are required, nullable, or repeated. Only `NULLABLE`, `REQUIRED`, and `REPEATED` values are supported. Default mode is `NULLABLE`.
string mode = 3 [(.google.api.field_behavior) = OPTIONAL];value - The bytes for mode to set.public String getDefaultValue()
Optional. Default value for the column.
string default_value = 8 [(.google.api.field_behavior) = OPTIONAL];getDefaultValue in interface ColumnSchemaOrBuilderpublic com.google.protobuf.ByteString getDefaultValueBytes()
Optional. Default value for the column.
string default_value = 8 [(.google.api.field_behavior) = OPTIONAL];getDefaultValueBytes in interface ColumnSchemaOrBuilderpublic ColumnSchema.Builder setDefaultValue(String value)
Optional. Default value for the column.
string default_value = 8 [(.google.api.field_behavior) = OPTIONAL];value - The defaultValue to set.public ColumnSchema.Builder clearDefaultValue()
Optional. Default value for the column.
string default_value = 8 [(.google.api.field_behavior) = OPTIONAL];public ColumnSchema.Builder setDefaultValueBytes(com.google.protobuf.ByteString value)
Optional. Default value for the column.
string default_value = 8 [(.google.api.field_behavior) = OPTIONAL];value - The bytes for defaultValue to set.public int getOrdinalPosition()
Optional. Ordinal position
int32 ordinal_position = 9 [(.google.api.field_behavior) = OPTIONAL];getOrdinalPosition in interface ColumnSchemaOrBuilderpublic ColumnSchema.Builder setOrdinalPosition(int value)
Optional. Ordinal position
int32 ordinal_position = 9 [(.google.api.field_behavior) = OPTIONAL];value - The ordinalPosition to set.public ColumnSchema.Builder clearOrdinalPosition()
Optional. Ordinal position
int32 ordinal_position = 9 [(.google.api.field_behavior) = OPTIONAL];public int getHighestIndexingTypeValue()
Optional. Most important inclusion of this column.
.google.cloud.datacatalog.v1.ColumnSchema.IndexingType highest_indexing_type = 10 [(.google.api.field_behavior) = OPTIONAL];
getHighestIndexingTypeValue in interface ColumnSchemaOrBuilderpublic ColumnSchema.Builder setHighestIndexingTypeValue(int value)
Optional. Most important inclusion of this column.
.google.cloud.datacatalog.v1.ColumnSchema.IndexingType highest_indexing_type = 10 [(.google.api.field_behavior) = OPTIONAL];
value - The enum numeric value on the wire for highestIndexingType to set.public ColumnSchema.IndexingType getHighestIndexingType()
Optional. Most important inclusion of this column.
.google.cloud.datacatalog.v1.ColumnSchema.IndexingType highest_indexing_type = 10 [(.google.api.field_behavior) = OPTIONAL];
getHighestIndexingType in interface ColumnSchemaOrBuilderpublic ColumnSchema.Builder setHighestIndexingType(ColumnSchema.IndexingType value)
Optional. Most important inclusion of this column.
.google.cloud.datacatalog.v1.ColumnSchema.IndexingType highest_indexing_type = 10 [(.google.api.field_behavior) = OPTIONAL];
value - The highestIndexingType to set.public ColumnSchema.Builder clearHighestIndexingType()
Optional. Most important inclusion of this column.
.google.cloud.datacatalog.v1.ColumnSchema.IndexingType highest_indexing_type = 10 [(.google.api.field_behavior) = OPTIONAL];
public List<ColumnSchema> getSubcolumnsList()
Optional. Schema of sub-columns. A column can have zero or more sub-columns.
repeated .google.cloud.datacatalog.v1.ColumnSchema subcolumns = 7 [(.google.api.field_behavior) = OPTIONAL];
getSubcolumnsList in interface ColumnSchemaOrBuilderpublic int getSubcolumnsCount()
Optional. Schema of sub-columns. A column can have zero or more sub-columns.
repeated .google.cloud.datacatalog.v1.ColumnSchema subcolumns = 7 [(.google.api.field_behavior) = OPTIONAL];
getSubcolumnsCount in interface ColumnSchemaOrBuilderpublic ColumnSchema getSubcolumns(int index)
Optional. Schema of sub-columns. A column can have zero or more sub-columns.
repeated .google.cloud.datacatalog.v1.ColumnSchema subcolumns = 7 [(.google.api.field_behavior) = OPTIONAL];
getSubcolumns in interface ColumnSchemaOrBuilderpublic ColumnSchema.Builder setSubcolumns(int index, ColumnSchema value)
Optional. Schema of sub-columns. A column can have zero or more sub-columns.
repeated .google.cloud.datacatalog.v1.ColumnSchema subcolumns = 7 [(.google.api.field_behavior) = OPTIONAL];
public ColumnSchema.Builder setSubcolumns(int index, ColumnSchema.Builder builderForValue)
Optional. Schema of sub-columns. A column can have zero or more sub-columns.
repeated .google.cloud.datacatalog.v1.ColumnSchema subcolumns = 7 [(.google.api.field_behavior) = OPTIONAL];
public ColumnSchema.Builder addSubcolumns(ColumnSchema value)
Optional. Schema of sub-columns. A column can have zero or more sub-columns.
repeated .google.cloud.datacatalog.v1.ColumnSchema subcolumns = 7 [(.google.api.field_behavior) = OPTIONAL];
public ColumnSchema.Builder addSubcolumns(int index, ColumnSchema value)
Optional. Schema of sub-columns. A column can have zero or more sub-columns.
repeated .google.cloud.datacatalog.v1.ColumnSchema subcolumns = 7 [(.google.api.field_behavior) = OPTIONAL];
public ColumnSchema.Builder addSubcolumns(ColumnSchema.Builder builderForValue)
Optional. Schema of sub-columns. A column can have zero or more sub-columns.
repeated .google.cloud.datacatalog.v1.ColumnSchema subcolumns = 7 [(.google.api.field_behavior) = OPTIONAL];
public ColumnSchema.Builder addSubcolumns(int index, ColumnSchema.Builder builderForValue)
Optional. Schema of sub-columns. A column can have zero or more sub-columns.
repeated .google.cloud.datacatalog.v1.ColumnSchema subcolumns = 7 [(.google.api.field_behavior) = OPTIONAL];
public ColumnSchema.Builder addAllSubcolumns(Iterable<? extends ColumnSchema> values)
Optional. Schema of sub-columns. A column can have zero or more sub-columns.
repeated .google.cloud.datacatalog.v1.ColumnSchema subcolumns = 7 [(.google.api.field_behavior) = OPTIONAL];
public ColumnSchema.Builder clearSubcolumns()
Optional. Schema of sub-columns. A column can have zero or more sub-columns.
repeated .google.cloud.datacatalog.v1.ColumnSchema subcolumns = 7 [(.google.api.field_behavior) = OPTIONAL];
public ColumnSchema.Builder removeSubcolumns(int index)
Optional. Schema of sub-columns. A column can have zero or more sub-columns.
repeated .google.cloud.datacatalog.v1.ColumnSchema subcolumns = 7 [(.google.api.field_behavior) = OPTIONAL];
public ColumnSchema.Builder getSubcolumnsBuilder(int index)
Optional. Schema of sub-columns. A column can have zero or more sub-columns.
repeated .google.cloud.datacatalog.v1.ColumnSchema subcolumns = 7 [(.google.api.field_behavior) = OPTIONAL];
public ColumnSchemaOrBuilder getSubcolumnsOrBuilder(int index)
Optional. Schema of sub-columns. A column can have zero or more sub-columns.
repeated .google.cloud.datacatalog.v1.ColumnSchema subcolumns = 7 [(.google.api.field_behavior) = OPTIONAL];
getSubcolumnsOrBuilder in interface ColumnSchemaOrBuilderpublic List<? extends ColumnSchemaOrBuilder> getSubcolumnsOrBuilderList()
Optional. Schema of sub-columns. A column can have zero or more sub-columns.
repeated .google.cloud.datacatalog.v1.ColumnSchema subcolumns = 7 [(.google.api.field_behavior) = OPTIONAL];
getSubcolumnsOrBuilderList in interface ColumnSchemaOrBuilderpublic ColumnSchema.Builder addSubcolumnsBuilder()
Optional. Schema of sub-columns. A column can have zero or more sub-columns.
repeated .google.cloud.datacatalog.v1.ColumnSchema subcolumns = 7 [(.google.api.field_behavior) = OPTIONAL];
public ColumnSchema.Builder addSubcolumnsBuilder(int index)
Optional. Schema of sub-columns. A column can have zero or more sub-columns.
repeated .google.cloud.datacatalog.v1.ColumnSchema subcolumns = 7 [(.google.api.field_behavior) = OPTIONAL];
public List<ColumnSchema.Builder> getSubcolumnsBuilderList()
Optional. Schema of sub-columns. A column can have zero or more sub-columns.
repeated .google.cloud.datacatalog.v1.ColumnSchema subcolumns = 7 [(.google.api.field_behavior) = OPTIONAL];
public boolean hasLookerColumnSpec()
Looker specific column info of this column.
.google.cloud.datacatalog.v1.ColumnSchema.LookerColumnSpec looker_column_spec = 18;
hasLookerColumnSpec in interface ColumnSchemaOrBuilderpublic ColumnSchema.LookerColumnSpec getLookerColumnSpec()
Looker specific column info of this column.
.google.cloud.datacatalog.v1.ColumnSchema.LookerColumnSpec looker_column_spec = 18;
getLookerColumnSpec in interface ColumnSchemaOrBuilderpublic ColumnSchema.Builder setLookerColumnSpec(ColumnSchema.LookerColumnSpec value)
Looker specific column info of this column.
.google.cloud.datacatalog.v1.ColumnSchema.LookerColumnSpec looker_column_spec = 18;
public ColumnSchema.Builder setLookerColumnSpec(ColumnSchema.LookerColumnSpec.Builder builderForValue)
Looker specific column info of this column.
.google.cloud.datacatalog.v1.ColumnSchema.LookerColumnSpec looker_column_spec = 18;
public ColumnSchema.Builder mergeLookerColumnSpec(ColumnSchema.LookerColumnSpec value)
Looker specific column info of this column.
.google.cloud.datacatalog.v1.ColumnSchema.LookerColumnSpec looker_column_spec = 18;
public ColumnSchema.Builder clearLookerColumnSpec()
Looker specific column info of this column.
.google.cloud.datacatalog.v1.ColumnSchema.LookerColumnSpec looker_column_spec = 18;
public ColumnSchema.LookerColumnSpec.Builder getLookerColumnSpecBuilder()
Looker specific column info of this column.
.google.cloud.datacatalog.v1.ColumnSchema.LookerColumnSpec looker_column_spec = 18;
public ColumnSchema.LookerColumnSpecOrBuilder getLookerColumnSpecOrBuilder()
Looker specific column info of this column.
.google.cloud.datacatalog.v1.ColumnSchema.LookerColumnSpec looker_column_spec = 18;
getLookerColumnSpecOrBuilder in interface ColumnSchemaOrBuilderpublic String getGcRule()
Optional. Garbage collection policy for the column or column family. Applies to systems like Cloud Bigtable.
string gc_rule = 11 [(.google.api.field_behavior) = OPTIONAL];getGcRule in interface ColumnSchemaOrBuilderpublic com.google.protobuf.ByteString getGcRuleBytes()
Optional. Garbage collection policy for the column or column family. Applies to systems like Cloud Bigtable.
string gc_rule = 11 [(.google.api.field_behavior) = OPTIONAL];getGcRuleBytes in interface ColumnSchemaOrBuilderpublic ColumnSchema.Builder setGcRule(String value)
Optional. Garbage collection policy for the column or column family. Applies to systems like Cloud Bigtable.
string gc_rule = 11 [(.google.api.field_behavior) = OPTIONAL];value - The gcRule to set.public ColumnSchema.Builder clearGcRule()
Optional. Garbage collection policy for the column or column family. Applies to systems like Cloud Bigtable.
string gc_rule = 11 [(.google.api.field_behavior) = OPTIONAL];public ColumnSchema.Builder setGcRuleBytes(com.google.protobuf.ByteString value)
Optional. Garbage collection policy for the column or column family. Applies to systems like Cloud Bigtable.
string gc_rule = 11 [(.google.api.field_behavior) = OPTIONAL];value - The bytes for gcRule to set.public final ColumnSchema.Builder setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
setUnknownFields in interface com.google.protobuf.Message.BuildersetUnknownFields in class com.google.protobuf.GeneratedMessageV3.Builder<ColumnSchema.Builder>public final ColumnSchema.Builder mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
mergeUnknownFields in interface com.google.protobuf.Message.BuildermergeUnknownFields in class com.google.protobuf.GeneratedMessageV3.Builder<ColumnSchema.Builder>Copyright © 2023 Google LLC. All rights reserved.