Package com.google.bigtable.admin.v2
Interface GcRuleOrBuilder
-
- All Superinterfaces:
com.google.protobuf.MessageLiteOrBuilder
,com.google.protobuf.MessageOrBuilder
- All Known Implementing Classes:
GcRule
,GcRule.Builder
public interface GcRuleOrBuilder extends com.google.protobuf.MessageOrBuilder
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description GcRule.Intersection
getIntersection()
Delete cells that would be deleted by every nested rule.GcRule.IntersectionOrBuilder
getIntersectionOrBuilder()
Delete cells that would be deleted by every nested rule.com.google.protobuf.Duration
getMaxAge()
Delete cells in a column older than the given age.com.google.protobuf.DurationOrBuilder
getMaxAgeOrBuilder()
Delete cells in a column older than the given age.int
getMaxNumVersions()
Delete all cells in a column except the most recent N.GcRule.RuleCase
getRuleCase()
GcRule.Union
getUnion()
Delete cells that would be deleted by any nested rule.GcRule.UnionOrBuilder
getUnionOrBuilder()
Delete cells that would be deleted by any nested rule.boolean
hasIntersection()
Delete cells that would be deleted by every nested rule.boolean
hasMaxAge()
Delete cells in a column older than the given age.boolean
hasMaxNumVersions()
Delete all cells in a column except the most recent N.boolean
hasUnion()
Delete cells that would be deleted by any nested rule.-
Methods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getDefaultInstanceForType, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
-
-
-
Method Detail
-
hasMaxNumVersions
boolean hasMaxNumVersions()
Delete all cells in a column except the most recent N.
int32 max_num_versions = 1;
- Returns:
- Whether the maxNumVersions field is set.
-
getMaxNumVersions
int getMaxNumVersions()
Delete all cells in a column except the most recent N.
int32 max_num_versions = 1;
- Returns:
- The maxNumVersions.
-
hasMaxAge
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:
- Whether the maxAge field is set.
-
getMaxAge
com.google.protobuf.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:
- The maxAge.
-
getMaxAgeOrBuilder
com.google.protobuf.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;
-
hasIntersection
boolean hasIntersection()
Delete cells that would be deleted by every nested rule.
.google.bigtable.admin.v2.GcRule.Intersection intersection = 3;
- Returns:
- Whether the intersection field is set.
-
getIntersection
GcRule.Intersection getIntersection()
Delete cells that would be deleted by every nested rule.
.google.bigtable.admin.v2.GcRule.Intersection intersection = 3;
- Returns:
- The intersection.
-
getIntersectionOrBuilder
GcRule.IntersectionOrBuilder getIntersectionOrBuilder()
Delete cells that would be deleted by every nested rule.
.google.bigtable.admin.v2.GcRule.Intersection intersection = 3;
-
hasUnion
boolean hasUnion()
Delete cells that would be deleted by any nested rule.
.google.bigtable.admin.v2.GcRule.Union union = 4;
- Returns:
- Whether the union field is set.
-
getUnion
GcRule.Union getUnion()
Delete cells that would be deleted by any nested rule.
.google.bigtable.admin.v2.GcRule.Union union = 4;
- Returns:
- The union.
-
getUnionOrBuilder
GcRule.UnionOrBuilder getUnionOrBuilder()
Delete cells that would be deleted by any nested rule.
.google.bigtable.admin.v2.GcRule.Union union = 4;
-
getRuleCase
GcRule.RuleCase getRuleCase()
-
-