Class ColumnFamily.Builder (2.3.1)

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

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

public ColumnFamily.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
NameDescription
fieldFieldDescriptor
valueObject
Returns
TypeDescription
ColumnFamily.Builder
Overrides

build()

public ColumnFamily build()
Returns
TypeDescription
ColumnFamily

buildPartial()

public ColumnFamily buildPartial()
Returns
TypeDescription
ColumnFamily

clear()

public ColumnFamily.Builder clear()
Returns
TypeDescription
ColumnFamily.Builder
Overrides

clearField(Descriptors.FieldDescriptor field)

public ColumnFamily.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
NameDescription
fieldFieldDescriptor
Returns
TypeDescription
ColumnFamily.Builder
Overrides

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;

Returns
TypeDescription
ColumnFamily.Builder

clearOneof(Descriptors.OneofDescriptor oneof)

public ColumnFamily.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
NameDescription
oneofOneofDescriptor
Returns
TypeDescription
ColumnFamily.Builder
Overrides

clone()

public ColumnFamily.Builder clone()
Returns
TypeDescription
ColumnFamily.Builder
Overrides

getDefaultInstanceForType()

public ColumnFamily getDefaultInstanceForType()
Returns
TypeDescription
ColumnFamily

getDescriptor()

public static final Descriptors.Descriptor getDescriptor()
Returns
TypeDescription
Descriptor

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
TypeDescription
Descriptor
Overrides

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;

Returns
TypeDescription
GcRule

The gcRule.

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;

Returns
TypeDescription
GcRule.Builder

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;

Returns
TypeDescription
GcRuleOrBuilder

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;

Returns
TypeDescription
boolean

Whether the gcRule field is set.

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
TypeDescription
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
TypeDescription
boolean
Overrides

mergeFrom(ColumnFamily other)

public ColumnFamily.Builder mergeFrom(ColumnFamily other)
Parameter
NameDescription
otherColumnFamily
Returns
TypeDescription
ColumnFamily.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public ColumnFamily.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputCodedInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
ColumnFamily.Builder
Overrides Exceptions
TypeDescription
IOException

mergeFrom(Message other)

public ColumnFamily.Builder mergeFrom(Message other)
Parameter
NameDescription
otherMessage
Returns
TypeDescription
ColumnFamily.Builder
Overrides

mergeGcRule(GcRule value)

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;

Parameter
NameDescription
valueGcRule
Returns
TypeDescription
ColumnFamily.Builder

mergeUnknownFields(UnknownFieldSet unknownFields)

public final ColumnFamily.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
NameDescription
unknownFieldsUnknownFieldSet
Returns
TypeDescription
ColumnFamily.Builder
Overrides

setField(Descriptors.FieldDescriptor field, Object value)

public ColumnFamily.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
NameDescription
fieldFieldDescriptor
valueObject
Returns
TypeDescription
ColumnFamily.Builder
Overrides

setGcRule(GcRule value)

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;

Parameter
NameDescription
valueGcRule
Returns
TypeDescription
ColumnFamily.Builder

setGcRule(GcRule.Builder builderForValue)

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;

Parameter
NameDescription
builderForValueGcRule.Builder
Returns
TypeDescription
ColumnFamily.Builder

setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)

public ColumnFamily.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters
NameDescription
fieldFieldDescriptor
indexint
valueObject
Returns
TypeDescription
ColumnFamily.Builder
Overrides

setUnknownFields(UnknownFieldSet unknownFields)

public final ColumnFamily.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
NameDescription
unknownFieldsUnknownFieldSet
Returns
TypeDescription
ColumnFamily.Builder
Overrides