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.GeneratedMessageV3.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.GeneratedMessageV3.Builder<ColumnSchema.Builder> implements ColumnSchemaOrBuilder
A column within a schema. Columns can be nested inside other columns.
Protobuf typegoogle.cloud.datacatalog.v1.ColumnSchema
-
-
Method Summary
-
Methods inherited from class com.google.protobuf.GeneratedMessageV3.Builder
getAllFields, getField, getFieldBuilder, getOneofFieldDescriptor, getParentForChildren, getRepeatedField, getRepeatedFieldBuilder, getRepeatedFieldCount, getUnknownFields, getUnknownFieldSetBuilder, hasField, hasOneof, internalGetMapField, internalGetMutableMapField, isClean, markClean, mergeUnknownLengthDelimitedField, mergeUnknownVarintField, newBuilderForField, onBuilt, onChanged, parseUnknownField, setUnknownFieldSetBuilder, setUnknownFieldsProto3
-
Methods inherited from class com.google.protobuf.AbstractMessage.Builder
findInitializationErrors, getInitializationErrorString, internalMergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException, toString
-
Methods inherited from class com.google.protobuf.AbstractMessageLite.Builder
addAll, addAll, mergeDelimitedFrom, mergeDelimitedFrom, mergeFrom, newUninitializedMessageException
-
Methods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
-
-
-
-
Method Detail
-
getDescriptor
public static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
-
internalGetFieldAccessorTable
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
- Specified by:
internalGetFieldAccessorTable
in classcom.google.protobuf.GeneratedMessageV3.Builder<ColumnSchema.Builder>
-
clear
public ColumnSchema.Builder clear()
- Specified by:
clear
in interfacecom.google.protobuf.Message.Builder
- Specified by:
clear
in interfacecom.google.protobuf.MessageLite.Builder
- Overrides:
clear
in classcom.google.protobuf.GeneratedMessageV3.Builder<ColumnSchema.Builder>
-
getDescriptorForType
public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()
- Specified by:
getDescriptorForType
in interfacecom.google.protobuf.Message.Builder
- Specified by:
getDescriptorForType
in interfacecom.google.protobuf.MessageOrBuilder
- Overrides:
getDescriptorForType
in classcom.google.protobuf.GeneratedMessageV3.Builder<ColumnSchema.Builder>
-
getDefaultInstanceForType
public ColumnSchema getDefaultInstanceForType()
- Specified by:
getDefaultInstanceForType
in interfacecom.google.protobuf.MessageLiteOrBuilder
- Specified by:
getDefaultInstanceForType
in interfacecom.google.protobuf.MessageOrBuilder
-
build
public ColumnSchema build()
- Specified by:
build
in interfacecom.google.protobuf.Message.Builder
- Specified by:
build
in interfacecom.google.protobuf.MessageLite.Builder
-
buildPartial
public ColumnSchema buildPartial()
- Specified by:
buildPartial
in interfacecom.google.protobuf.Message.Builder
- Specified by:
buildPartial
in interfacecom.google.protobuf.MessageLite.Builder
-
clone
public ColumnSchema.Builder clone()
- Specified by:
clone
in interfacecom.google.protobuf.Message.Builder
- Specified by:
clone
in interfacecom.google.protobuf.MessageLite.Builder
- Overrides:
clone
in classcom.google.protobuf.GeneratedMessageV3.Builder<ColumnSchema.Builder>
-
setField
public ColumnSchema.Builder setField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
- Specified by:
setField
in interfacecom.google.protobuf.Message.Builder
- Overrides:
setField
in classcom.google.protobuf.GeneratedMessageV3.Builder<ColumnSchema.Builder>
-
clearField
public ColumnSchema.Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field)
- Specified by:
clearField
in interfacecom.google.protobuf.Message.Builder
- Overrides:
clearField
in classcom.google.protobuf.GeneratedMessageV3.Builder<ColumnSchema.Builder>
-
clearOneof
public ColumnSchema.Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)
- Specified by:
clearOneof
in interfacecom.google.protobuf.Message.Builder
- Overrides:
clearOneof
in classcom.google.protobuf.GeneratedMessageV3.Builder<ColumnSchema.Builder>
-
setRepeatedField
public ColumnSchema.Builder setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, Object value)
- Specified by:
setRepeatedField
in interfacecom.google.protobuf.Message.Builder
- Overrides:
setRepeatedField
in classcom.google.protobuf.GeneratedMessageV3.Builder<ColumnSchema.Builder>
-
addRepeatedField
public ColumnSchema.Builder addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
- Specified by:
addRepeatedField
in interfacecom.google.protobuf.Message.Builder
- Overrides:
addRepeatedField
in classcom.google.protobuf.GeneratedMessageV3.Builder<ColumnSchema.Builder>
-
mergeFrom
public ColumnSchema.Builder mergeFrom(com.google.protobuf.Message other)
- Specified by:
mergeFrom
in interfacecom.google.protobuf.Message.Builder
- Overrides:
mergeFrom
in classcom.google.protobuf.AbstractMessage.Builder<ColumnSchema.Builder>
-
mergeFrom
public ColumnSchema.Builder mergeFrom(ColumnSchema other)
-
isInitialized
public final boolean isInitialized()
- Specified by:
isInitialized
in interfacecom.google.protobuf.MessageLiteOrBuilder
- Overrides:
isInitialized
in classcom.google.protobuf.GeneratedMessageV3.Builder<ColumnSchema.Builder>
-
mergeFrom
public ColumnSchema.Builder mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
- Specified by:
mergeFrom
in interfacecom.google.protobuf.Message.Builder
- Specified by:
mergeFrom
in interfacecom.google.protobuf.MessageLite.Builder
- Overrides:
mergeFrom
in classcom.google.protobuf.AbstractMessage.Builder<ColumnSchema.Builder>
- Throws:
IOException
-
getSystemSpecCase
public ColumnSchema.SystemSpecCase getSystemSpecCase()
- Specified by:
getSystemSpecCase
in interfaceColumnSchemaOrBuilder
-
clearSystemSpec
public ColumnSchema.Builder clearSystemSpec()
-
getColumn
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];
- Specified by:
getColumn
in 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:
getColumnBytes
in interfaceColumnSchemaOrBuilder
- Returns:
- The bytes for column.
-
setColumn
public 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];
- Parameters:
value
- The column to set.- Returns:
- This builder for chaining.
-
clearColumn
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];
- Returns:
- This builder for chaining.
-
setColumnBytes
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];
- Parameters:
value
- The bytes for column to set.- Returns:
- This builder for chaining.
-
getType
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];
- Specified by:
getType
in 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:
getTypeBytes
in interfaceColumnSchemaOrBuilder
- Returns:
- The bytes for type.
-
setType
public 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];
- Parameters:
value
- The type to set.- Returns:
- This builder for chaining.
-
clearType
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];
- Returns:
- This builder for chaining.
-
setTypeBytes
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];
- Parameters:
value
- The bytes for type to set.- Returns:
- This builder for chaining.
-
getDescription
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];
- Specified by:
getDescription
in 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:
getDescriptionBytes
in interfaceColumnSchemaOrBuilder
- Returns:
- The bytes for description.
-
setDescription
public 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];
- Parameters:
value
- The description to set.- Returns:
- This builder for chaining.
-
clearDescription
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];
- Returns:
- This builder for chaining.
-
setDescriptionBytes
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];
- Parameters:
value
- The bytes for description to set.- Returns:
- This builder for chaining.
-
getMode
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];
- Specified by:
getMode
in 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:
getModeBytes
in interfaceColumnSchemaOrBuilder
- Returns:
- The bytes for mode.
-
setMode
public 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];
- Parameters:
value
- The mode to set.- Returns:
- This builder for chaining.
-
clearMode
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];
- Returns:
- This builder for chaining.
-
setModeBytes
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];
- Parameters:
value
- The bytes for mode to set.- Returns:
- This builder for chaining.
-
getDefaultValue
public String getDefaultValue()
Optional. Default value for the column.
string default_value = 8 [(.google.api.field_behavior) = OPTIONAL];
- Specified by:
getDefaultValue
in 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:
getDefaultValueBytes
in interfaceColumnSchemaOrBuilder
- Returns:
- The bytes for defaultValue.
-
setDefaultValue
public ColumnSchema.Builder setDefaultValue(String value)
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
public ColumnSchema.Builder clearDefaultValue()
Optional. Default value for the column.
string default_value = 8 [(.google.api.field_behavior) = OPTIONAL];
- Returns:
- This builder for chaining.
-
setDefaultValueBytes
public ColumnSchema.Builder setDefaultValueBytes(com.google.protobuf.ByteString value)
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:
getOrdinalPosition
in interfaceColumnSchemaOrBuilder
- Returns:
- The ordinalPosition.
-
setOrdinalPosition
public ColumnSchema.Builder setOrdinalPosition(int value)
Optional. Ordinal position
int32 ordinal_position = 9 [(.google.api.field_behavior) = OPTIONAL];
- Parameters:
value
- The ordinalPosition to set.- Returns:
- This builder for chaining.
-
clearOrdinalPosition
public ColumnSchema.Builder 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:
getHighestIndexingTypeValue
in interfaceColumnSchemaOrBuilder
- Returns:
- The enum numeric value on the wire for highestIndexingType.
-
setHighestIndexingTypeValue
public 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];
- Parameters:
value
- The enum numeric value on the wire for highestIndexingType to set.- Returns:
- This builder for chaining.
-
getHighestIndexingType
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];
- Specified by:
getHighestIndexingType
in interfaceColumnSchemaOrBuilder
- Returns:
- The highestIndexingType.
-
setHighestIndexingType
public 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];
- Parameters:
value
- The highestIndexingType to set.- Returns:
- This builder for chaining.
-
clearHighestIndexingType
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];
- Returns:
- This builder for chaining.
-
getSubcolumnsList
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];
- Specified by:
getSubcolumnsList
in 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:
getSubcolumnsCount
in interfaceColumnSchemaOrBuilder
-
getSubcolumns
public 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];
- Specified by:
getSubcolumns
in interfaceColumnSchemaOrBuilder
-
setSubcolumns
public 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];
-
setSubcolumns
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];
-
addSubcolumns
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];
-
addSubcolumns
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];
-
addSubcolumns
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];
-
addSubcolumns
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];
-
addAllSubcolumns
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];
-
clearSubcolumns
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];
-
removeSubcolumns
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];
-
getSubcolumnsBuilder
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];
-
getSubcolumnsOrBuilder
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];
- Specified by:
getSubcolumnsOrBuilder
in interfaceColumnSchemaOrBuilder
-
getSubcolumnsOrBuilderList
public 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];
- Specified by:
getSubcolumnsOrBuilderList
in interfaceColumnSchemaOrBuilder
-
addSubcolumnsBuilder
public 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];
-
addSubcolumnsBuilder
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];
-
getSubcolumnsBuilderList
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];
-
hasLookerColumnSpec
public boolean hasLookerColumnSpec()
Looker specific column info of this column.
.google.cloud.datacatalog.v1.ColumnSchema.LookerColumnSpec looker_column_spec = 18;
- Specified by:
hasLookerColumnSpec
in interfaceColumnSchemaOrBuilder
- Returns:
- Whether the lookerColumnSpec field is set.
-
getLookerColumnSpec
public ColumnSchema.LookerColumnSpec getLookerColumnSpec()
Looker specific column info of this column.
.google.cloud.datacatalog.v1.ColumnSchema.LookerColumnSpec looker_column_spec = 18;
- Specified by:
getLookerColumnSpec
in interfaceColumnSchemaOrBuilder
- Returns:
- The lookerColumnSpec.
-
setLookerColumnSpec
public ColumnSchema.Builder setLookerColumnSpec(ColumnSchema.LookerColumnSpec value)
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
public ColumnSchema.Builder mergeLookerColumnSpec(ColumnSchema.LookerColumnSpec value)
Looker specific column info of this column.
.google.cloud.datacatalog.v1.ColumnSchema.LookerColumnSpec looker_column_spec = 18;
-
clearLookerColumnSpec
public ColumnSchema.Builder clearLookerColumnSpec()
Looker specific column info of this column.
.google.cloud.datacatalog.v1.ColumnSchema.LookerColumnSpec looker_column_spec = 18;
-
getLookerColumnSpecBuilder
public ColumnSchema.LookerColumnSpec.Builder getLookerColumnSpecBuilder()
Looker specific column info of this column.
.google.cloud.datacatalog.v1.ColumnSchema.LookerColumnSpec looker_column_spec = 18;
-
getLookerColumnSpecOrBuilder
public ColumnSchema.LookerColumnSpecOrBuilder getLookerColumnSpecOrBuilder()
Looker specific column info of this column.
.google.cloud.datacatalog.v1.ColumnSchema.LookerColumnSpec looker_column_spec = 18;
- Specified by:
getLookerColumnSpecOrBuilder
in interfaceColumnSchemaOrBuilder
-
getGcRule
public 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];
- Specified by:
getGcRule
in 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:
getGcRuleBytes
in interfaceColumnSchemaOrBuilder
- Returns:
- The bytes for gcRule.
-
setGcRule
public 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];
- Parameters:
value
- The gcRule to set.- Returns:
- This builder for chaining.
-
clearGcRule
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];
- Returns:
- This builder for chaining.
-
setGcRuleBytes
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];
- Parameters:
value
- The bytes for gcRule to set.- Returns:
- This builder for chaining.
-
setUnknownFields
public final ColumnSchema.Builder setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
- Specified by:
setUnknownFields
in interfacecom.google.protobuf.Message.Builder
- Overrides:
setUnknownFields
in classcom.google.protobuf.GeneratedMessageV3.Builder<ColumnSchema.Builder>
-
mergeUnknownFields
public final ColumnSchema.Builder mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
- Specified by:
mergeUnknownFields
in interfacecom.google.protobuf.Message.Builder
- Overrides:
mergeUnknownFields
in classcom.google.protobuf.GeneratedMessageV3.Builder<ColumnSchema.Builder>
-
-