Class 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 type google.cloud.datacatalog.v1.ColumnSchema
    • Method Detail

      • getDescriptor

        public static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
      • internalGetFieldAccessorTable

        protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
        Specified by:
        internalGetFieldAccessorTable in class com.google.protobuf.GeneratedMessageV3.Builder<ColumnSchema.Builder>
      • clear

        public ColumnSchema.Builder clear()
        Specified by:
        clear in interface com.google.protobuf.Message.Builder
        Specified by:
        clear in interface com.google.protobuf.MessageLite.Builder
        Overrides:
        clear in class com.google.protobuf.GeneratedMessageV3.Builder<ColumnSchema.Builder>
      • getDescriptorForType

        public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()
        Specified by:
        getDescriptorForType in interface com.google.protobuf.Message.Builder
        Specified by:
        getDescriptorForType in interface com.google.protobuf.MessageOrBuilder
        Overrides:
        getDescriptorForType in class com.google.protobuf.GeneratedMessageV3.Builder<ColumnSchema.Builder>
      • getDefaultInstanceForType

        public ColumnSchema getDefaultInstanceForType()
        Specified by:
        getDefaultInstanceForType in interface com.google.protobuf.MessageLiteOrBuilder
        Specified by:
        getDefaultInstanceForType in interface com.google.protobuf.MessageOrBuilder
      • build

        public ColumnSchema build()
        Specified by:
        build in interface com.google.protobuf.Message.Builder
        Specified by:
        build in interface com.google.protobuf.MessageLite.Builder
      • buildPartial

        public ColumnSchema buildPartial()
        Specified by:
        buildPartial in interface com.google.protobuf.Message.Builder
        Specified by:
        buildPartial in interface com.google.protobuf.MessageLite.Builder
      • clone

        public ColumnSchema.Builder clone()
        Specified by:
        clone in interface com.google.protobuf.Message.Builder
        Specified by:
        clone in interface com.google.protobuf.MessageLite.Builder
        Overrides:
        clone in class com.google.protobuf.GeneratedMessageV3.Builder<ColumnSchema.Builder>
      • setField

        public ColumnSchema.Builder setField​(com.google.protobuf.Descriptors.FieldDescriptor field,
                                             Object value)
        Specified by:
        setField in interface com.google.protobuf.Message.Builder
        Overrides:
        setField in class com.google.protobuf.GeneratedMessageV3.Builder<ColumnSchema.Builder>
      • clearField

        public ColumnSchema.Builder clearField​(com.google.protobuf.Descriptors.FieldDescriptor field)
        Specified by:
        clearField in interface com.google.protobuf.Message.Builder
        Overrides:
        clearField in class com.google.protobuf.GeneratedMessageV3.Builder<ColumnSchema.Builder>
      • clearOneof

        public ColumnSchema.Builder clearOneof​(com.google.protobuf.Descriptors.OneofDescriptor oneof)
        Specified by:
        clearOneof in interface com.google.protobuf.Message.Builder
        Overrides:
        clearOneof in class com.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 interface com.google.protobuf.Message.Builder
        Overrides:
        setRepeatedField in class com.google.protobuf.GeneratedMessageV3.Builder<ColumnSchema.Builder>
      • addRepeatedField

        public ColumnSchema.Builder addRepeatedField​(com.google.protobuf.Descriptors.FieldDescriptor field,
                                                     Object value)
        Specified by:
        addRepeatedField in interface com.google.protobuf.Message.Builder
        Overrides:
        addRepeatedField in class com.google.protobuf.GeneratedMessageV3.Builder<ColumnSchema.Builder>
      • mergeFrom

        public ColumnSchema.Builder mergeFrom​(com.google.protobuf.Message other)
        Specified by:
        mergeFrom in interface com.google.protobuf.Message.Builder
        Overrides:
        mergeFrom in class com.google.protobuf.AbstractMessage.Builder<ColumnSchema.Builder>
      • isInitialized

        public final boolean isInitialized()
        Specified by:
        isInitialized in interface com.google.protobuf.MessageLiteOrBuilder
        Overrides:
        isInitialized in class com.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 interface com.google.protobuf.Message.Builder
        Specified by:
        mergeFrom in interface com.google.protobuf.MessageLite.Builder
        Overrides:
        mergeFrom in class com.google.protobuf.AbstractMessage.Builder<ColumnSchema.Builder>
        Throws:
        IOException
      • 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 interface ColumnSchemaOrBuilder
        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 interface ColumnSchemaOrBuilder
        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 interface ColumnSchemaOrBuilder
        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 interface ColumnSchemaOrBuilder
        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 interface ColumnSchemaOrBuilder
        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 interface ColumnSchemaOrBuilder
        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 interface ColumnSchemaOrBuilder
        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 interface ColumnSchemaOrBuilder
        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 interface ColumnSchemaOrBuilder
        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 interface ColumnSchemaOrBuilder
        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 interface ColumnSchemaOrBuilder
        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 interface ColumnSchemaOrBuilder
        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 interface ColumnSchemaOrBuilder
        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 interface ColumnSchemaOrBuilder
      • 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 interface ColumnSchemaOrBuilder
      • 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 interface ColumnSchemaOrBuilder
      • 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 interface ColumnSchemaOrBuilder
      • 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 interface ColumnSchemaOrBuilder
      • 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 interface ColumnSchemaOrBuilder
        Returns:
        Whether the lookerColumnSpec field is set.
      • 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;
      • 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 interface ColumnSchemaOrBuilder
        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 interface ColumnSchemaOrBuilder
        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 interface com.google.protobuf.Message.Builder
        Overrides:
        setUnknownFields in class com.google.protobuf.GeneratedMessageV3.Builder<ColumnSchema.Builder>
      • mergeUnknownFields

        public final ColumnSchema.Builder mergeUnknownFields​(com.google.protobuf.UnknownFieldSet unknownFields)
        Specified by:
        mergeUnknownFields in interface com.google.protobuf.Message.Builder
        Overrides:
        mergeUnknownFields in class com.google.protobuf.GeneratedMessageV3.Builder<ColumnSchema.Builder>