Class ColumnFamily (2.10.0)

public final class ColumnFamily extends GeneratedMessageV3 implements ColumnFamilyOrBuilder

A set of columns within a table which share a common configuration.

Protobuf type google.bigtable.admin.v2.ColumnFamily

Static Fields

GC_RULE_FIELD_NUMBER

public static final int GC_RULE_FIELD_NUMBER
Field Value
TypeDescription
int

Static Methods

getDefaultInstance()

public static ColumnFamily getDefaultInstance()
Returns
TypeDescription
ColumnFamily

getDescriptor()

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

newBuilder()

public static ColumnFamily.Builder newBuilder()
Returns
TypeDescription
ColumnFamily.Builder

newBuilder(ColumnFamily prototype)

public static ColumnFamily.Builder newBuilder(ColumnFamily prototype)
Parameter
NameDescription
prototypeColumnFamily
Returns
TypeDescription
ColumnFamily.Builder

parseDelimitedFrom(InputStream input)

public static ColumnFamily parseDelimitedFrom(InputStream input)
Parameter
NameDescription
inputInputStream
Returns
TypeDescription
ColumnFamily
Exceptions
TypeDescription
IOException

parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static ColumnFamily parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
ColumnFamily
Exceptions
TypeDescription
IOException

parseFrom(byte[] data)

public static ColumnFamily parseFrom(byte[] data)
Parameter
NameDescription
databyte[]
Returns
TypeDescription
ColumnFamily
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)

public static ColumnFamily parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
databyte[]
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
ColumnFamily
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(ByteString data)

public static ColumnFamily parseFrom(ByteString data)
Parameter
NameDescription
dataByteString
Returns
TypeDescription
ColumnFamily
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)

public static ColumnFamily parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
dataByteString
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
ColumnFamily
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(CodedInputStream input)

public static ColumnFamily parseFrom(CodedInputStream input)
Parameter
NameDescription
inputCodedInputStream
Returns
TypeDescription
ColumnFamily
Exceptions
TypeDescription
IOException

parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public static ColumnFamily parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputCodedInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
ColumnFamily
Exceptions
TypeDescription
IOException

parseFrom(InputStream input)

public static ColumnFamily parseFrom(InputStream input)
Parameter
NameDescription
inputInputStream
Returns
TypeDescription
ColumnFamily
Exceptions
TypeDescription
IOException

parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static ColumnFamily parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
ColumnFamily
Exceptions
TypeDescription
IOException

parseFrom(ByteBuffer data)

public static ColumnFamily parseFrom(ByteBuffer data)
Parameter
NameDescription
dataByteBuffer
Returns
TypeDescription
ColumnFamily
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)

public static ColumnFamily parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
dataByteBuffer
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
ColumnFamily
Exceptions
TypeDescription
InvalidProtocolBufferException

parser()

public static Parser<ColumnFamily> parser()
Returns
TypeDescription
Parser<ColumnFamily>

Methods

equals(Object obj)

public boolean equals(Object obj)
Parameter
NameDescription
objObject
Returns
TypeDescription
boolean
Overrides

getDefaultInstanceForType()

public ColumnFamily getDefaultInstanceForType()
Returns
TypeDescription
ColumnFamily

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.

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

getParserForType()

public Parser<ColumnFamily> getParserForType()
Returns
TypeDescription
Parser<ColumnFamily>
Overrides

getSerializedSize()

public int getSerializedSize()
Returns
TypeDescription
int
Overrides

getUnknownFields()

public final UnknownFieldSet getUnknownFields()
Returns
TypeDescription
UnknownFieldSet
Overrides

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.

hashCode()

public int hashCode()
Returns
TypeDescription
int
Overrides

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
TypeDescription
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
TypeDescription
boolean
Overrides

newBuilderForType()

public ColumnFamily.Builder newBuilderForType()
Returns
TypeDescription
ColumnFamily.Builder

newBuilderForType(GeneratedMessageV3.BuilderParent parent)

protected ColumnFamily.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Parameter
NameDescription
parentBuilderParent
Returns
TypeDescription
ColumnFamily.Builder
Overrides

newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)

protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Parameter
NameDescription
unusedUnusedPrivateParameter
Returns
TypeDescription
Object
Overrides

toBuilder()

public ColumnFamily.Builder toBuilder()
Returns
TypeDescription
ColumnFamily.Builder

writeTo(CodedOutputStream output)

public void writeTo(CodedOutputStream output)
Parameter
NameDescription
outputCodedOutputStream
Overrides Exceptions
TypeDescription
IOException