Class ColumnFamily.Builder

java.lang.Object
com.google.protobuf.AbstractMessageLite.Builder
com.google.protobuf.AbstractMessage.Builder<BuilderT>
com.google.protobuf.GeneratedMessageV3.Builder<ColumnFamily.Builder>
com.google.bigtable.admin.v2.ColumnFamily.Builder
All Implemented Interfaces:
ColumnFamilyOrBuilder, com.google.protobuf.Message.Builder, com.google.protobuf.MessageLite.Builder, com.google.protobuf.MessageLiteOrBuilder, com.google.protobuf.MessageOrBuilder, Cloneable
Enclosing class:
ColumnFamily

public static final class ColumnFamily.Builder extends com.google.protobuf.GeneratedMessageV3.Builder<ColumnFamily.Builder> implements ColumnFamilyOrBuilder
 A set of columns within a table which share a common configuration.
 
Protobuf type google.bigtable.admin.v2.ColumnFamily
  • Method Details

    • 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<ColumnFamily.Builder>
    • clear

      public ColumnFamily.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<ColumnFamily.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<ColumnFamily.Builder>
    • getDefaultInstanceForType

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

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

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

      public ColumnFamily.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<ColumnFamily.Builder>
    • setField

      public ColumnFamily.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<ColumnFamily.Builder>
    • clearField

      public ColumnFamily.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<ColumnFamily.Builder>
    • clearOneof

      public ColumnFamily.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<ColumnFamily.Builder>
    • setRepeatedField

      public ColumnFamily.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<ColumnFamily.Builder>
    • addRepeatedField

      public ColumnFamily.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<ColumnFamily.Builder>
    • mergeFrom

      public ColumnFamily.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<ColumnFamily.Builder>
    • mergeFrom

      public ColumnFamily.Builder mergeFrom(ColumnFamily other)
    • isInitialized

      public final boolean isInitialized()
      Specified by:
      isInitialized in interface com.google.protobuf.MessageLiteOrBuilder
      Overrides:
      isInitialized in class com.google.protobuf.GeneratedMessageV3.Builder<ColumnFamily.Builder>
    • mergeFrom

      public ColumnFamily.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<ColumnFamily.Builder>
      Throws:
      IOException
    • hasGcRule

      public boolean hasGcRule()
       Garbage collection rule specified as a protobuf.
       Must serialize to at most 500 bytes.
      
       NOTE: Garbage collection executes opportunistically in the background, and
       so it's possible for reads to return a cell even if it matches the active
       GC expression for its family.
       
      .google.bigtable.admin.v2.GcRule gc_rule = 1;
      Specified by:
      hasGcRule in interface ColumnFamilyOrBuilder
      Returns:
      Whether the gcRule field is set.
    • getGcRule

      public GcRule getGcRule()
       Garbage collection rule specified as a protobuf.
       Must serialize to at most 500 bytes.
      
       NOTE: Garbage collection executes opportunistically in the background, and
       so it's possible for reads to return a cell even if it matches the active
       GC expression for its family.
       
      .google.bigtable.admin.v2.GcRule gc_rule = 1;
      Specified by:
      getGcRule in interface ColumnFamilyOrBuilder
      Returns:
      The gcRule.
    • setGcRule

      public ColumnFamily.Builder setGcRule(GcRule value)
       Garbage collection rule specified as a protobuf.
       Must serialize to at most 500 bytes.
      
       NOTE: Garbage collection executes opportunistically in the background, and
       so it's possible for reads to return a cell even if it matches the active
       GC expression for its family.
       
      .google.bigtable.admin.v2.GcRule gc_rule = 1;
    • setGcRule

      public ColumnFamily.Builder setGcRule(GcRule.Builder builderForValue)
       Garbage collection rule specified as a protobuf.
       Must serialize to at most 500 bytes.
      
       NOTE: Garbage collection executes opportunistically in the background, and
       so it's possible for reads to return a cell even if it matches the active
       GC expression for its family.
       
      .google.bigtable.admin.v2.GcRule gc_rule = 1;
    • mergeGcRule

      public ColumnFamily.Builder mergeGcRule(GcRule value)
       Garbage collection rule specified as a protobuf.
       Must serialize to at most 500 bytes.
      
       NOTE: Garbage collection executes opportunistically in the background, and
       so it's possible for reads to return a cell even if it matches the active
       GC expression for its family.
       
      .google.bigtable.admin.v2.GcRule gc_rule = 1;
    • clearGcRule

      public ColumnFamily.Builder clearGcRule()
       Garbage collection rule specified as a protobuf.
       Must serialize to at most 500 bytes.
      
       NOTE: Garbage collection executes opportunistically in the background, and
       so it's possible for reads to return a cell even if it matches the active
       GC expression for its family.
       
      .google.bigtable.admin.v2.GcRule gc_rule = 1;
    • getGcRuleBuilder

      public GcRule.Builder getGcRuleBuilder()
       Garbage collection rule specified as a protobuf.
       Must serialize to at most 500 bytes.
      
       NOTE: Garbage collection executes opportunistically in the background, and
       so it's possible for reads to return a cell even if it matches the active
       GC expression for its family.
       
      .google.bigtable.admin.v2.GcRule gc_rule = 1;
    • getGcRuleOrBuilder

      public GcRuleOrBuilder getGcRuleOrBuilder()
       Garbage collection rule specified as a protobuf.
       Must serialize to at most 500 bytes.
      
       NOTE: Garbage collection executes opportunistically in the background, and
       so it's possible for reads to return a cell even if it matches the active
       GC expression for its family.
       
      .google.bigtable.admin.v2.GcRule gc_rule = 1;
      Specified by:
      getGcRuleOrBuilder in interface ColumnFamilyOrBuilder
    • hasValueType

      public boolean hasValueType()
       The type of data stored in each of this family's cell values, including its
       full encoding. If omitted, the family only serves raw untyped bytes.
      
       For now, only the `Aggregate` type is supported.
      
       `Aggregate` can only be set at family creation and is immutable afterwards.
      
      
       If `value_type` is `Aggregate`, written data must be compatible with:
        * `value_type.input_type` for `AddInput` mutations
       
      .google.bigtable.admin.v2.Type value_type = 3;
      Specified by:
      hasValueType in interface ColumnFamilyOrBuilder
      Returns:
      Whether the valueType field is set.
    • getValueType

      public Type getValueType()
       The type of data stored in each of this family's cell values, including its
       full encoding. If omitted, the family only serves raw untyped bytes.
      
       For now, only the `Aggregate` type is supported.
      
       `Aggregate` can only be set at family creation and is immutable afterwards.
      
      
       If `value_type` is `Aggregate`, written data must be compatible with:
        * `value_type.input_type` for `AddInput` mutations
       
      .google.bigtable.admin.v2.Type value_type = 3;
      Specified by:
      getValueType in interface ColumnFamilyOrBuilder
      Returns:
      The valueType.
    • setValueType

      public ColumnFamily.Builder setValueType(Type value)
       The type of data stored in each of this family's cell values, including its
       full encoding. If omitted, the family only serves raw untyped bytes.
      
       For now, only the `Aggregate` type is supported.
      
       `Aggregate` can only be set at family creation and is immutable afterwards.
      
      
       If `value_type` is `Aggregate`, written data must be compatible with:
        * `value_type.input_type` for `AddInput` mutations
       
      .google.bigtable.admin.v2.Type value_type = 3;
    • setValueType

      public ColumnFamily.Builder setValueType(Type.Builder builderForValue)
       The type of data stored in each of this family's cell values, including its
       full encoding. If omitted, the family only serves raw untyped bytes.
      
       For now, only the `Aggregate` type is supported.
      
       `Aggregate` can only be set at family creation and is immutable afterwards.
      
      
       If `value_type` is `Aggregate`, written data must be compatible with:
        * `value_type.input_type` for `AddInput` mutations
       
      .google.bigtable.admin.v2.Type value_type = 3;
    • mergeValueType

      public ColumnFamily.Builder mergeValueType(Type value)
       The type of data stored in each of this family's cell values, including its
       full encoding. If omitted, the family only serves raw untyped bytes.
      
       For now, only the `Aggregate` type is supported.
      
       `Aggregate` can only be set at family creation and is immutable afterwards.
      
      
       If `value_type` is `Aggregate`, written data must be compatible with:
        * `value_type.input_type` for `AddInput` mutations
       
      .google.bigtable.admin.v2.Type value_type = 3;
    • clearValueType

      public ColumnFamily.Builder clearValueType()
       The type of data stored in each of this family's cell values, including its
       full encoding. If omitted, the family only serves raw untyped bytes.
      
       For now, only the `Aggregate` type is supported.
      
       `Aggregate` can only be set at family creation and is immutable afterwards.
      
      
       If `value_type` is `Aggregate`, written data must be compatible with:
        * `value_type.input_type` for `AddInput` mutations
       
      .google.bigtable.admin.v2.Type value_type = 3;
    • getValueTypeBuilder

      public Type.Builder getValueTypeBuilder()
       The type of data stored in each of this family's cell values, including its
       full encoding. If omitted, the family only serves raw untyped bytes.
      
       For now, only the `Aggregate` type is supported.
      
       `Aggregate` can only be set at family creation and is immutable afterwards.
      
      
       If `value_type` is `Aggregate`, written data must be compatible with:
        * `value_type.input_type` for `AddInput` mutations
       
      .google.bigtable.admin.v2.Type value_type = 3;
    • getValueTypeOrBuilder

      public TypeOrBuilder getValueTypeOrBuilder()
       The type of data stored in each of this family's cell values, including its
       full encoding. If omitted, the family only serves raw untyped bytes.
      
       For now, only the `Aggregate` type is supported.
      
       `Aggregate` can only be set at family creation and is immutable afterwards.
      
      
       If `value_type` is `Aggregate`, written data must be compatible with:
        * `value_type.input_type` for `AddInput` mutations
       
      .google.bigtable.admin.v2.Type value_type = 3;
      Specified by:
      getValueTypeOrBuilder in interface ColumnFamilyOrBuilder
    • setUnknownFields

      public final ColumnFamily.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<ColumnFamily.Builder>
    • mergeUnknownFields

      public final ColumnFamily.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<ColumnFamily.Builder>