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
Modifier and TypeMethodDescriptionDelete cells that would be deleted by every nested rule.Delete cells that would be deleted by every nested rule.com.google.protobuf.DurationDelete cells in a column older than the given age.com.google.protobuf.DurationOrBuilderDelete cells in a column older than the given age.intDelete all cells in a column except the most recent N.getUnion()Delete cells that would be deleted by any nested rule.Delete cells that would be deleted by any nested rule.booleanDelete cells that would be deleted by every nested rule.booleanDelete cells in a column older than the given age.booleanDelete all cells in a column except the most recent N.booleanhasUnion()Delete cells that would be deleted by any nested rule.Methods inherited from interface com.google.protobuf.MessageLiteOrBuilder
isInitializedMethods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getDefaultInstanceForType, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
Method Details
-
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()
-