Package com.google.cloud.datacatalog.v1
Class ColumnSchema.Builder
java.lang.Object
com.google.protobuf.AbstractMessageLite.Builder
com.google.protobuf.AbstractMessage.Builder<BuilderT>
com.google.protobuf.GeneratedMessage.Builder<ColumnSchema.Builder>
com.google.cloud.datacatalog.v1.ColumnSchema.Builder
- All Implemented Interfaces:
ColumnSchemaOrBuilder,com.google.protobuf.Message.Builder,com.google.protobuf.MessageLite.Builder,com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder,Cloneable
- Enclosing class:
- ColumnSchema
public static final class ColumnSchema.Builder
extends com.google.protobuf.GeneratedMessage.Builder<ColumnSchema.Builder>
implements ColumnSchemaOrBuilder
A column within a schema. Columns can be nested inside other columns.Protobuf type
google.cloud.datacatalog.v1.ColumnSchema-
Method Summary
Modifier and TypeMethodDescriptionaddAllSubcolumns(Iterable<? extends ColumnSchema> values) Optional.addSubcolumns(int index, ColumnSchema value) Optional.addSubcolumns(int index, ColumnSchema.Builder builderForValue) Optional.addSubcolumns(ColumnSchema value) Optional.addSubcolumns(ColumnSchema.Builder builderForValue) Optional.Optional.addSubcolumnsBuilder(int index) Optional.build()clear()Required.Optional.Optional.Optional.Optional.Looker specific column info of this column.Optional.Optional.Optional.Optional.Required.Required.com.google.protobuf.ByteStringRequired.Optional.com.google.protobuf.ByteStringOptional.Optional.com.google.protobuf.ByteStringOptional.static final com.google.protobuf.Descriptors.Descriptorcom.google.protobuf.Descriptors.DescriptorOptional.com.google.protobuf.ByteStringOptional.Optional.intOptional.Looker specific column info of this column.Looker specific column info of this column.Looker specific column info of this column.getMode()Optional.com.google.protobuf.ByteStringOptional.intOptional.Optional.Optional.Optional.getSubcolumns(int index) Optional.getSubcolumnsBuilder(int index) Optional.Optional.intOptional.Optional.getSubcolumnsOrBuilder(int index) Optional.List<? extends ColumnSchemaOrBuilder>Optional.getType()Required.com.google.protobuf.ByteStringRequired.booleanLooker specific column info of this column.booleanOptional.protected com.google.protobuf.GeneratedMessage.FieldAccessorTablefinal booleanmergeFrom(ColumnSchema other) mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) mergeFrom(com.google.protobuf.Message other) Looker specific column info of this column.Optional.removeSubcolumns(int index) Optional.Required.setColumnBytes(com.google.protobuf.ByteString value) Required.setDefaultValue(String value) Optional.setDefaultValueBytes(com.google.protobuf.ByteString value) Optional.setDescription(String value) Optional.setDescriptionBytes(com.google.protobuf.ByteString value) Optional.Optional.setGcRuleBytes(com.google.protobuf.ByteString value) Optional.Optional.setHighestIndexingTypeValue(int value) Optional.Looker specific column info of this column.setLookerColumnSpec(ColumnSchema.LookerColumnSpec.Builder builderForValue) Looker specific column info of this column.Optional.setModeBytes(com.google.protobuf.ByteString value) Optional.setOrdinalPosition(int value) Optional.Optional.setRangeElementType(ColumnSchema.FieldElementType.Builder builderForValue) Optional.setSubcolumns(int index, ColumnSchema value) Optional.setSubcolumns(int index, ColumnSchema.Builder builderForValue) Optional.Required.setTypeBytes(com.google.protobuf.ByteString value) Required.Methods inherited from class com.google.protobuf.GeneratedMessage.Builder
addRepeatedField, clearField, clearOneof, clone, getAllFields, getField, getFieldBuilder, getOneofFieldDescriptor, getParentForChildren, getRepeatedField, getRepeatedFieldBuilder, getRepeatedFieldCount, getUnknownFields, getUnknownFieldSetBuilder, hasField, hasOneof, internalGetMapField, internalGetMapFieldReflection, internalGetMutableMapField, internalGetMutableMapFieldReflection, isClean, markClean, mergeUnknownFields, mergeUnknownLengthDelimitedField, mergeUnknownVarintField, newBuilderForField, onBuilt, onChanged, parseUnknownField, setField, setRepeatedField, setUnknownFields, setUnknownFieldSetBuilder, setUnknownFieldsProto3Methods inherited from class com.google.protobuf.AbstractMessage.Builder
findInitializationErrors, getInitializationErrorString, internalMergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException, toStringMethods inherited from class com.google.protobuf.AbstractMessageLite.Builder
addAll, addAll, mergeDelimitedFrom, mergeDelimitedFrom, mergeFrom, newUninitializedMessageExceptionMethods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitMethods inherited from interface com.google.protobuf.Message.Builder
mergeDelimitedFrom, mergeDelimitedFromMethods inherited from interface com.google.protobuf.MessageLite.Builder
mergeFromMethods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
Method Details
-
getDescriptor
public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() -
internalGetFieldAccessorTable
protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()- Specified by:
internalGetFieldAccessorTablein classcom.google.protobuf.GeneratedMessage.Builder<ColumnSchema.Builder>
-
clear
- Specified by:
clearin interfacecom.google.protobuf.Message.Builder- Specified by:
clearin interfacecom.google.protobuf.MessageLite.Builder- Overrides:
clearin classcom.google.protobuf.GeneratedMessage.Builder<ColumnSchema.Builder>
-
getDescriptorForType
public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()- Specified by:
getDescriptorForTypein interfacecom.google.protobuf.Message.Builder- Specified by:
getDescriptorForTypein interfacecom.google.protobuf.MessageOrBuilder- Overrides:
getDescriptorForTypein classcom.google.protobuf.GeneratedMessage.Builder<ColumnSchema.Builder>
-
getDefaultInstanceForType
- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageLiteOrBuilder- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageOrBuilder
-
build
- Specified by:
buildin interfacecom.google.protobuf.Message.Builder- Specified by:
buildin interfacecom.google.protobuf.MessageLite.Builder
-
buildPartial
- Specified by:
buildPartialin interfacecom.google.protobuf.Message.Builder- Specified by:
buildPartialin interfacecom.google.protobuf.MessageLite.Builder
-
mergeFrom
- Specified by:
mergeFromin interfacecom.google.protobuf.Message.Builder- Overrides:
mergeFromin classcom.google.protobuf.AbstractMessage.Builder<ColumnSchema.Builder>
-
mergeFrom
-
isInitialized
public final boolean isInitialized()- Specified by:
isInitializedin interfacecom.google.protobuf.MessageLiteOrBuilder- Overrides:
isInitializedin classcom.google.protobuf.GeneratedMessage.Builder<ColumnSchema.Builder>
-
mergeFrom
public ColumnSchema.Builder mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException - Specified by:
mergeFromin interfacecom.google.protobuf.Message.Builder- Specified by:
mergeFromin interfacecom.google.protobuf.MessageLite.Builder- Overrides:
mergeFromin classcom.google.protobuf.AbstractMessage.Builder<ColumnSchema.Builder>- Throws:
IOException
-
getSystemSpecCase
- Specified by:
getSystemSpecCasein interfaceColumnSchemaOrBuilder
-
clearSystemSpec
-
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];- Specified by:
getColumnin interfaceColumnSchemaOrBuilder- Returns:
- The column.
-
getColumnBytes
public 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];- Specified by:
getColumnBytesin interfaceColumnSchemaOrBuilder- Returns:
- The bytes for column.
-
setColumn
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];- Parameters:
value- The column to set.- Returns:
- This builder for chaining.
-
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];- Returns:
- This builder for chaining.
-
setColumnBytes
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];- Parameters:
value- The bytes for column to set.- Returns:
- This builder for chaining.
-
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];- Specified by:
getTypein interfaceColumnSchemaOrBuilder- Returns:
- The type.
-
getTypeBytes
public 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];- Specified by:
getTypeBytesin interfaceColumnSchemaOrBuilder- Returns:
- The bytes for type.
-
setType
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];- Parameters:
value- The type to set.- Returns:
- This builder for chaining.
-
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];- Returns:
- This builder for chaining.
-
setTypeBytes
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];- Parameters:
value- The bytes for type to set.- Returns:
- This builder for chaining.
-
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];- Specified by:
getDescriptionin interfaceColumnSchemaOrBuilder- Returns:
- The description.
-
getDescriptionBytes
public 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];- Specified by:
getDescriptionBytesin interfaceColumnSchemaOrBuilder- Returns:
- The bytes for description.
-
setDescription
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];- Parameters:
value- The description to set.- Returns:
- This builder for chaining.
-
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];- Returns:
- This builder for chaining.
-
setDescriptionBytes
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];- Parameters:
value- The bytes for description to set.- Returns:
- This builder for chaining.
-
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];- Specified by:
getModein interfaceColumnSchemaOrBuilder- Returns:
- The mode.
-
getModeBytes
public 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];- Specified by:
getModeBytesin interfaceColumnSchemaOrBuilder- Returns:
- The bytes for mode.
-
setMode
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];- Parameters:
value- The mode to set.- Returns:
- This builder for chaining.
-
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];- Returns:
- This builder for chaining.
-
setModeBytes
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];- Parameters:
value- The bytes for mode to set.- Returns:
- This builder for chaining.
-
getDefaultValue
Optional. Default value for the column.
string default_value = 8 [(.google.api.field_behavior) = OPTIONAL];- Specified by:
getDefaultValuein interfaceColumnSchemaOrBuilder- Returns:
- The defaultValue.
-
getDefaultValueBytes
public com.google.protobuf.ByteString getDefaultValueBytes()Optional. Default value for the column.
string default_value = 8 [(.google.api.field_behavior) = OPTIONAL];- Specified by:
getDefaultValueBytesin interfaceColumnSchemaOrBuilder- Returns:
- The bytes for defaultValue.
-
setDefaultValue
Optional. Default value for the column.
string default_value = 8 [(.google.api.field_behavior) = OPTIONAL];- Parameters:
value- The defaultValue to set.- Returns:
- This builder for chaining.
-
clearDefaultValue
Optional. Default value for the column.
string default_value = 8 [(.google.api.field_behavior) = OPTIONAL];- Returns:
- This builder for chaining.
-
setDefaultValueBytes
Optional. Default value for the column.
string default_value = 8 [(.google.api.field_behavior) = OPTIONAL];- Parameters:
value- The bytes for defaultValue to set.- Returns:
- This builder for chaining.
-
getOrdinalPosition
public int getOrdinalPosition()Optional. Ordinal position
int32 ordinal_position = 9 [(.google.api.field_behavior) = OPTIONAL];- Specified by:
getOrdinalPositionin interfaceColumnSchemaOrBuilder- Returns:
- The ordinalPosition.
-
setOrdinalPosition
Optional. Ordinal position
int32 ordinal_position = 9 [(.google.api.field_behavior) = OPTIONAL];- Parameters:
value- The ordinalPosition to set.- Returns:
- This builder for chaining.
-
clearOrdinalPosition
Optional. Ordinal position
int32 ordinal_position = 9 [(.google.api.field_behavior) = OPTIONAL];- Returns:
- This builder for chaining.
-
getHighestIndexingTypeValue
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];- Specified by:
getHighestIndexingTypeValuein interfaceColumnSchemaOrBuilder- Returns:
- The enum numeric value on the wire for highestIndexingType.
-
setHighestIndexingTypeValue
Optional. Most important inclusion of this column.
.google.cloud.datacatalog.v1.ColumnSchema.IndexingType highest_indexing_type = 10 [(.google.api.field_behavior) = OPTIONAL];- Parameters:
value- The enum numeric value on the wire for highestIndexingType to set.- Returns:
- This builder for chaining.
-
getHighestIndexingType
Optional. Most important inclusion of this column.
.google.cloud.datacatalog.v1.ColumnSchema.IndexingType highest_indexing_type = 10 [(.google.api.field_behavior) = OPTIONAL];- Specified by:
getHighestIndexingTypein interfaceColumnSchemaOrBuilder- Returns:
- The highestIndexingType.
-
setHighestIndexingType
Optional. Most important inclusion of this column.
.google.cloud.datacatalog.v1.ColumnSchema.IndexingType highest_indexing_type = 10 [(.google.api.field_behavior) = OPTIONAL];- Parameters:
value- The highestIndexingType to set.- Returns:
- This builder for chaining.
-
clearHighestIndexingType
Optional. Most important inclusion of this column.
.google.cloud.datacatalog.v1.ColumnSchema.IndexingType highest_indexing_type = 10 [(.google.api.field_behavior) = OPTIONAL];- Returns:
- This builder for chaining.
-
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];- Specified by:
getSubcolumnsListin interfaceColumnSchemaOrBuilder
-
getSubcolumnsCount
public 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];- Specified by:
getSubcolumnsCountin interfaceColumnSchemaOrBuilder
-
getSubcolumns
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];- Specified by:
getSubcolumnsin interfaceColumnSchemaOrBuilder
-
setSubcolumns
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]; -
setSubcolumns
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]; -
addSubcolumns
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]; -
addSubcolumns
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]; -
addSubcolumns
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]; -
addSubcolumns
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]; -
addAllSubcolumns
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]; -
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]; -
removeSubcolumns
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]; -
getSubcolumnsBuilder
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
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];- Specified by:
getSubcolumnsOrBuilderin interfaceColumnSchemaOrBuilder
-
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];- Specified by:
getSubcolumnsOrBuilderListin interfaceColumnSchemaOrBuilder
-
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]; -
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]; -
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]; -
hasLookerColumnSpec
public boolean hasLookerColumnSpec()Looker specific column info of this column.
.google.cloud.datacatalog.v1.ColumnSchema.LookerColumnSpec looker_column_spec = 18;- Specified by:
hasLookerColumnSpecin interfaceColumnSchemaOrBuilder- Returns:
- Whether the lookerColumnSpec field is set.
-
getLookerColumnSpec
Looker specific column info of this column.
.google.cloud.datacatalog.v1.ColumnSchema.LookerColumnSpec looker_column_spec = 18;- Specified by:
getLookerColumnSpecin interfaceColumnSchemaOrBuilder- Returns:
- The lookerColumnSpec.
-
setLookerColumnSpec
Looker specific column info of this column.
.google.cloud.datacatalog.v1.ColumnSchema.LookerColumnSpec looker_column_spec = 18; -
setLookerColumnSpec
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; -
mergeLookerColumnSpec
Looker specific column info of this column.
.google.cloud.datacatalog.v1.ColumnSchema.LookerColumnSpec looker_column_spec = 18; -
clearLookerColumnSpec
Looker specific column info of this column.
.google.cloud.datacatalog.v1.ColumnSchema.LookerColumnSpec looker_column_spec = 18; -
getLookerColumnSpecBuilder
Looker specific column info of this column.
.google.cloud.datacatalog.v1.ColumnSchema.LookerColumnSpec looker_column_spec = 18; -
getLookerColumnSpecOrBuilder
Looker specific column info of this column.
.google.cloud.datacatalog.v1.ColumnSchema.LookerColumnSpec looker_column_spec = 18;- Specified by:
getLookerColumnSpecOrBuilderin interfaceColumnSchemaOrBuilder
-
hasRangeElementType
public boolean hasRangeElementType()Optional. The subtype of the RANGE, if the type of this field is RANGE. If the type is RANGE, this field is required. Possible values for the field element type of a RANGE include: * DATE * DATETIME * TIMESTAMP
.google.cloud.datacatalog.v1.ColumnSchema.FieldElementType range_element_type = 19 [(.google.api.field_behavior) = OPTIONAL];- Specified by:
hasRangeElementTypein interfaceColumnSchemaOrBuilder- Returns:
- Whether the rangeElementType field is set.
-
getRangeElementType
Optional. The subtype of the RANGE, if the type of this field is RANGE. If the type is RANGE, this field is required. Possible values for the field element type of a RANGE include: * DATE * DATETIME * TIMESTAMP
.google.cloud.datacatalog.v1.ColumnSchema.FieldElementType range_element_type = 19 [(.google.api.field_behavior) = OPTIONAL];- Specified by:
getRangeElementTypein interfaceColumnSchemaOrBuilder- Returns:
- The rangeElementType.
-
setRangeElementType
Optional. The subtype of the RANGE, if the type of this field is RANGE. If the type is RANGE, this field is required. Possible values for the field element type of a RANGE include: * DATE * DATETIME * TIMESTAMP
.google.cloud.datacatalog.v1.ColumnSchema.FieldElementType range_element_type = 19 [(.google.api.field_behavior) = OPTIONAL]; -
setRangeElementType
public ColumnSchema.Builder setRangeElementType(ColumnSchema.FieldElementType.Builder builderForValue) Optional. The subtype of the RANGE, if the type of this field is RANGE. If the type is RANGE, this field is required. Possible values for the field element type of a RANGE include: * DATE * DATETIME * TIMESTAMP
.google.cloud.datacatalog.v1.ColumnSchema.FieldElementType range_element_type = 19 [(.google.api.field_behavior) = OPTIONAL]; -
mergeRangeElementType
Optional. The subtype of the RANGE, if the type of this field is RANGE. If the type is RANGE, this field is required. Possible values for the field element type of a RANGE include: * DATE * DATETIME * TIMESTAMP
.google.cloud.datacatalog.v1.ColumnSchema.FieldElementType range_element_type = 19 [(.google.api.field_behavior) = OPTIONAL]; -
clearRangeElementType
Optional. The subtype of the RANGE, if the type of this field is RANGE. If the type is RANGE, this field is required. Possible values for the field element type of a RANGE include: * DATE * DATETIME * TIMESTAMP
.google.cloud.datacatalog.v1.ColumnSchema.FieldElementType range_element_type = 19 [(.google.api.field_behavior) = OPTIONAL]; -
getRangeElementTypeBuilder
Optional. The subtype of the RANGE, if the type of this field is RANGE. If the type is RANGE, this field is required. Possible values for the field element type of a RANGE include: * DATE * DATETIME * TIMESTAMP
.google.cloud.datacatalog.v1.ColumnSchema.FieldElementType range_element_type = 19 [(.google.api.field_behavior) = OPTIONAL]; -
getRangeElementTypeOrBuilder
Optional. The subtype of the RANGE, if the type of this field is RANGE. If the type is RANGE, this field is required. Possible values for the field element type of a RANGE include: * DATE * DATETIME * TIMESTAMP
.google.cloud.datacatalog.v1.ColumnSchema.FieldElementType range_element_type = 19 [(.google.api.field_behavior) = OPTIONAL];- Specified by:
getRangeElementTypeOrBuilderin interfaceColumnSchemaOrBuilder
-
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];- Specified by:
getGcRulein interfaceColumnSchemaOrBuilder- Returns:
- The gcRule.
-
getGcRuleBytes
public 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];- Specified by:
getGcRuleBytesin interfaceColumnSchemaOrBuilder- Returns:
- The bytes for gcRule.
-
setGcRule
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];- Parameters:
value- The gcRule to set.- Returns:
- This builder for chaining.
-
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];- Returns:
- This builder for chaining.
-
setGcRuleBytes
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];- Parameters:
value- The bytes for gcRule to set.- Returns:
- This builder for chaining.
-