public final class GcRule extends GeneratedMessageV3 implements GcRuleOrBuilder
Rule for determining which cells to delete during garbage collection.
Protobuf type google.bigtable.admin.v2.GcRule
Static Fields
INTERSECTION_FIELD_NUMBER
public static final int INTERSECTION_FIELD_NUMBER
Field Value
MAX_AGE_FIELD_NUMBER
public static final int MAX_AGE_FIELD_NUMBER
Field Value
MAX_NUM_VERSIONS_FIELD_NUMBER
public static final int MAX_NUM_VERSIONS_FIELD_NUMBER
Field Value
UNION_FIELD_NUMBER
public static final int UNION_FIELD_NUMBER
Field Value
Static Methods
getDefaultInstance()
public static GcRule getDefaultInstance()
Returns
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
Returns
newBuilder()
public static GcRule.Builder newBuilder()
Returns
newBuilder(GcRule prototype)
public static GcRule.Builder newBuilder(GcRule prototype)
Parameter
Name | Description |
prototype | GcRule
|
Returns
public static GcRule parseDelimitedFrom(InputStream input)
Parameter
Returns
Exceptions
public static GcRule parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
parseFrom(byte[] data)
public static GcRule parseFrom(byte[] data)
Parameter
Name | Description |
data | byte[]
|
Returns
Exceptions
parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
public static GcRule parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
parseFrom(ByteString data)
public static GcRule parseFrom(ByteString data)
Parameter
Returns
Exceptions
parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
public static GcRule parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
public static GcRule parseFrom(CodedInputStream input)
Parameter
Returns
Exceptions
public static GcRule parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
public static GcRule parseFrom(InputStream input)
Parameter
Returns
Exceptions
public static GcRule parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
parseFrom(ByteBuffer data)
public static GcRule parseFrom(ByteBuffer data)
Parameter
Returns
Exceptions
parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
public static GcRule parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
parser()
public static Parser<GcRule> parser()
Returns
Methods
equals(Object obj)
public boolean equals(Object obj)
Parameter
Returns
Overrides
getDefaultInstanceForType()
public GcRule getDefaultInstanceForType()
Returns
getIntersection()
public GcRule.Intersection getIntersection()
Delete cells that would be deleted by every nested rule.
.google.bigtable.admin.v2.GcRule.Intersection intersection = 3;
Returns
getIntersectionOrBuilder()
public GcRule.IntersectionOrBuilder getIntersectionOrBuilder()
Delete cells that would be deleted by every nested rule.
.google.bigtable.admin.v2.GcRule.Intersection intersection = 3;
Returns
getMaxAge()
public Duration getMaxAge()
Delete cells in a column older than the given age.
Values must be at least one millisecond, and will be truncated to
microsecond granularity.
.google.protobuf.Duration max_age = 2;
Returns
getMaxAgeOrBuilder()
public DurationOrBuilder getMaxAgeOrBuilder()
Delete cells in a column older than the given age.
Values must be at least one millisecond, and will be truncated to
microsecond granularity.
.google.protobuf.Duration max_age = 2;
Returns
getMaxNumVersions()
public int getMaxNumVersions()
Delete all cells in a column except the most recent N.
int32 max_num_versions = 1;
Returns
Type | Description |
int | The maxNumVersions.
|
getParserForType()
public Parser<GcRule> getParserForType()
Returns
Overrides
getRuleCase()
public GcRule.RuleCase getRuleCase()
Returns
getSerializedSize()
public int getSerializedSize()
Returns
Overrides
getUnion()
public GcRule.Union getUnion()
Delete cells that would be deleted by any nested rule.
.google.bigtable.admin.v2.GcRule.Union union = 4;
Returns
getUnionOrBuilder()
public GcRule.UnionOrBuilder getUnionOrBuilder()
Delete cells that would be deleted by any nested rule.
.google.bigtable.admin.v2.GcRule.Union union = 4;
Returns
getUnknownFields()
public final UnknownFieldSet getUnknownFields()
Returns
Overrides
hasIntersection()
public boolean hasIntersection()
Delete cells that would be deleted by every nested rule.
.google.bigtable.admin.v2.GcRule.Intersection intersection = 3;
Returns
Type | Description |
boolean | Whether the intersection field is set.
|
hasMaxAge()
public boolean hasMaxAge()
Delete cells in a column older than the given age.
Values must be at least one millisecond, and will be truncated to
microsecond granularity.
.google.protobuf.Duration max_age = 2;
Returns
Type | Description |
boolean | Whether the maxAge field is set.
|
hasMaxNumVersions()
public boolean hasMaxNumVersions()
Delete all cells in a column except the most recent N.
int32 max_num_versions = 1;
Returns
Type | Description |
boolean | Whether the maxNumVersions field is set.
|
hasUnion()
public boolean hasUnion()
Delete cells that would be deleted by any nested rule.
.google.bigtable.admin.v2.GcRule.Union union = 4;
Returns
Type | Description |
boolean | Whether the union field is set.
|
hashCode()
Returns
Overrides
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
Overrides
isInitialized()
public final boolean isInitialized()
Returns
Overrides
newBuilderForType()
public GcRule.Builder newBuilderForType()
Returns
newBuilderForType(GeneratedMessageV3.BuilderParent parent)
protected GcRule.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Parameter
Returns
Overrides
newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Parameter
Returns
Overrides
toBuilder()
public GcRule.Builder toBuilder()
Returns
writeTo(CodedOutputStream output)
public void writeTo(CodedOutputStream output)
Parameter
Overrides
Exceptions