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| Modifier and Type | Class and Description |
|---|---|
static class |
GcRule.Builder
Rule for determining which cells to delete during garbage collection.
|
static class |
GcRule.Intersection
A GcRule which deletes cells matching all of the given rules.
|
static interface |
GcRule.IntersectionOrBuilder |
static class |
GcRule.RuleCase |
static class |
GcRule.Union
A GcRule which deletes cells matching any of the given rules.
|
static interface |
GcRule.UnionOrBuilder |
GeneratedMessageV3.BuilderParent, GeneratedMessageV3.ExtendableBuilder<MessageType extends GeneratedMessageV3.ExtendableMessage,BuilderType extends GeneratedMessageV3.ExtendableBuilder<MessageType,BuilderType>>, GeneratedMessageV3.ExtendableMessage<MessageType extends GeneratedMessageV3.ExtendableMessage>, GeneratedMessageV3.ExtendableMessageOrBuilder<MessageType extends GeneratedMessageV3.ExtendableMessage>, GeneratedMessageV3.FieldAccessorTable| Modifier and Type | Field and Description |
|---|---|
static int |
INTERSECTION_FIELD_NUMBER |
static int |
MAX_AGE_FIELD_NUMBER |
static int |
MAX_NUM_VERSIONS_FIELD_NUMBER |
static int |
UNION_FIELD_NUMBER |
alwaysUseFieldBuilders, unknownFieldsmemoizedSizememoizedHashCode| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(java.lang.Object obj) |
static GcRule |
getDefaultInstance() |
GcRule |
getDefaultInstanceForType() |
static Descriptors.Descriptor |
getDescriptor() |
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.
|
Duration |
getMaxAge()
Delete cells in a column older than the given age.
|
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.
|
Parser<GcRule> |
getParserForType() |
GcRule.RuleCase |
getRuleCase() |
int |
getSerializedSize() |
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.
|
UnknownFieldSet |
getUnknownFields() |
int |
hashCode() |
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 |
hasUnion()
Delete cells that would be deleted by any nested rule.
|
protected GeneratedMessageV3.FieldAccessorTable |
internalGetFieldAccessorTable() |
boolean |
isInitialized() |
static GcRule.Builder |
newBuilder() |
static GcRule.Builder |
newBuilder(GcRule prototype) |
GcRule.Builder |
newBuilderForType() |
protected GcRule.Builder |
newBuilderForType(GeneratedMessageV3.BuilderParent parent) |
static GcRule |
parseDelimitedFrom(java.io.InputStream input) |
static GcRule |
parseDelimitedFrom(java.io.InputStream input,
ExtensionRegistryLite extensionRegistry) |
static GcRule |
parseFrom(byte[] data) |
static GcRule |
parseFrom(byte[] data,
ExtensionRegistryLite extensionRegistry) |
static GcRule |
parseFrom(java.nio.ByteBuffer data) |
static GcRule |
parseFrom(java.nio.ByteBuffer data,
ExtensionRegistryLite extensionRegistry) |
static GcRule |
parseFrom(ByteString data) |
static GcRule |
parseFrom(ByteString data,
ExtensionRegistryLite extensionRegistry) |
static GcRule |
parseFrom(CodedInputStream input) |
static GcRule |
parseFrom(CodedInputStream input,
ExtensionRegistryLite extensionRegistry) |
static GcRule |
parseFrom(java.io.InputStream input) |
static GcRule |
parseFrom(java.io.InputStream input,
ExtensionRegistryLite extensionRegistry) |
static Parser<GcRule> |
parser() |
GcRule.Builder |
toBuilder() |
void |
writeTo(CodedOutputStream output) |
canUseUnsafe, computeStringSize, computeStringSizeNoTag, getAllFields, getDescriptorForType, getField, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, hasField, hasOneof, internalGetMapField, makeExtensionsImmutable, newBuilderForType, parseDelimitedWithIOException, parseDelimitedWithIOException, parseUnknownField, parseUnknownFieldProto3, parseWithIOException, parseWithIOException, parseWithIOException, parseWithIOException, serializeBooleanMapTo, serializeIntegerMapTo, serializeLongMapTo, serializeStringMapTo, writeReplace, writeString, writeStringNoTagfindInitializationErrors, getInitializationErrorString, hashBoolean, hashEnum, hashEnumList, hashFields, hashLong, toStringaddAll, addAll, checkByteStringIsUtf8, toByteArray, toByteString, writeDelimitedTo, writeToclone, finalize, getClass, notify, notifyAll, wait, wait, waitfindInitializationErrors, getAllFields, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, hasField, hasOneoftoByteArray, toByteString, writeDelimitedTo, writeTopublic static final int MAX_NUM_VERSIONS_FIELD_NUMBER
public static final int MAX_AGE_FIELD_NUMBER
public static final int INTERSECTION_FIELD_NUMBER
public static final int UNION_FIELD_NUMBER
public final UnknownFieldSet getUnknownFields()
getUnknownFields in interface MessageOrBuildergetUnknownFields in class GeneratedMessageV3public static final Descriptors.Descriptor getDescriptor()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
internalGetFieldAccessorTable in class GeneratedMessageV3public GcRule.RuleCase getRuleCase()
getRuleCase in interface GcRuleOrBuilderpublic int getMaxNumVersions()
Delete all cells in a column except the most recent N.
int32 max_num_versions = 1;getMaxNumVersions in interface GcRuleOrBuilderpublic 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;hasMaxAge in interface GcRuleOrBuilderpublic 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;getMaxAge in interface GcRuleOrBuilderpublic 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;getMaxAgeOrBuilder in interface GcRuleOrBuilderpublic boolean hasIntersection()
Delete cells that would be deleted by every nested rule.
.google.bigtable.admin.v2.GcRule.Intersection intersection = 3;hasIntersection in interface GcRuleOrBuilderpublic GcRule.Intersection getIntersection()
Delete cells that would be deleted by every nested rule.
.google.bigtable.admin.v2.GcRule.Intersection intersection = 3;getIntersection in interface GcRuleOrBuilderpublic GcRule.IntersectionOrBuilder getIntersectionOrBuilder()
Delete cells that would be deleted by every nested rule.
.google.bigtable.admin.v2.GcRule.Intersection intersection = 3;getIntersectionOrBuilder in interface GcRuleOrBuilderpublic boolean hasUnion()
Delete cells that would be deleted by any nested rule.
.google.bigtable.admin.v2.GcRule.Union union = 4;hasUnion in interface GcRuleOrBuilderpublic GcRule.Union getUnion()
Delete cells that would be deleted by any nested rule.
.google.bigtable.admin.v2.GcRule.Union union = 4;getUnion in interface GcRuleOrBuilderpublic GcRule.UnionOrBuilder getUnionOrBuilder()
Delete cells that would be deleted by any nested rule.
.google.bigtable.admin.v2.GcRule.Union union = 4;getUnionOrBuilder in interface GcRuleOrBuilderpublic final boolean isInitialized()
isInitialized in interface MessageLiteOrBuilderisInitialized in class GeneratedMessageV3public void writeTo(CodedOutputStream output) throws java.io.IOException
writeTo in interface MessageLitewriteTo in class GeneratedMessageV3java.io.IOExceptionpublic int getSerializedSize()
getSerializedSize in interface MessageLitegetSerializedSize in class GeneratedMessageV3public boolean equals(java.lang.Object obj)
equals in interface Messageequals in class AbstractMessagepublic int hashCode()
hashCode in interface MessagehashCode in class AbstractMessagepublic static GcRule parseFrom(java.nio.ByteBuffer data) throws InvalidProtocolBufferException
InvalidProtocolBufferExceptionpublic static GcRule parseFrom(java.nio.ByteBuffer data, ExtensionRegistryLite extensionRegistry) throws InvalidProtocolBufferException
InvalidProtocolBufferExceptionpublic static GcRule parseFrom(ByteString data) throws InvalidProtocolBufferException
InvalidProtocolBufferExceptionpublic static GcRule parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry) throws InvalidProtocolBufferException
InvalidProtocolBufferExceptionpublic static GcRule parseFrom(byte[] data) throws InvalidProtocolBufferException
InvalidProtocolBufferExceptionpublic static GcRule parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry) throws InvalidProtocolBufferException
InvalidProtocolBufferExceptionpublic static GcRule parseFrom(java.io.InputStream input) throws java.io.IOException
java.io.IOExceptionpublic static GcRule parseFrom(java.io.InputStream input, ExtensionRegistryLite extensionRegistry) throws java.io.IOException
java.io.IOExceptionpublic static GcRule parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException
java.io.IOExceptionpublic static GcRule parseDelimitedFrom(java.io.InputStream input, ExtensionRegistryLite extensionRegistry) throws java.io.IOException
java.io.IOExceptionpublic static GcRule parseFrom(CodedInputStream input) throws java.io.IOException
java.io.IOExceptionpublic static GcRule parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry) throws java.io.IOException
java.io.IOExceptionpublic GcRule.Builder newBuilderForType()
newBuilderForType in interface MessagenewBuilderForType in interface MessageLitepublic static GcRule.Builder newBuilder()
public static GcRule.Builder newBuilder(GcRule prototype)
public GcRule.Builder toBuilder()
toBuilder in interface MessagetoBuilder in interface MessageLiteprotected GcRule.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
newBuilderForType in class GeneratedMessageV3public static GcRule getDefaultInstance()
public Parser<GcRule> getParserForType()
getParserForType in interface MessagegetParserForType in interface MessageLitegetParserForType in class GeneratedMessageV3public GcRule getDefaultInstanceForType()
getDefaultInstanceForType in interface MessageLiteOrBuildergetDefaultInstanceForType in interface MessageOrBuilder