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, unknownFields
memoizedSize
memoizedHashCode
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, writeStringNoTag
findInitializationErrors, getInitializationErrorString, hashBoolean, hashEnum, hashEnumList, hashFields, hashLong, toString
addAll, addAll, checkByteStringIsUtf8, toByteArray, toByteString, writeDelimitedTo, writeTo
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
findInitializationErrors, getAllFields, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, hasField, hasOneof
toByteArray, toByteString, writeDelimitedTo, writeTo
public 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 MessageOrBuilder
getUnknownFields
in class GeneratedMessageV3
public static final Descriptors.Descriptor getDescriptor()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
internalGetFieldAccessorTable
in class GeneratedMessageV3
public GcRule.RuleCase getRuleCase()
getRuleCase
in interface GcRuleOrBuilder
public int getMaxNumVersions()
Delete all cells in a column except the most recent N.
int32 max_num_versions = 1;
getMaxNumVersions
in interface GcRuleOrBuilder
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;
hasMaxAge
in interface GcRuleOrBuilder
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;
getMaxAge
in interface GcRuleOrBuilder
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;
getMaxAgeOrBuilder
in interface GcRuleOrBuilder
public boolean hasIntersection()
Delete cells that would be deleted by every nested rule.
.google.bigtable.admin.v2.GcRule.Intersection intersection = 3;
hasIntersection
in interface GcRuleOrBuilder
public GcRule.Intersection getIntersection()
Delete cells that would be deleted by every nested rule.
.google.bigtable.admin.v2.GcRule.Intersection intersection = 3;
getIntersection
in interface GcRuleOrBuilder
public GcRule.IntersectionOrBuilder getIntersectionOrBuilder()
Delete cells that would be deleted by every nested rule.
.google.bigtable.admin.v2.GcRule.Intersection intersection = 3;
getIntersectionOrBuilder
in interface GcRuleOrBuilder
public boolean hasUnion()
Delete cells that would be deleted by any nested rule.
.google.bigtable.admin.v2.GcRule.Union union = 4;
hasUnion
in interface GcRuleOrBuilder
public GcRule.Union getUnion()
Delete cells that would be deleted by any nested rule.
.google.bigtable.admin.v2.GcRule.Union union = 4;
getUnion
in interface GcRuleOrBuilder
public GcRule.UnionOrBuilder getUnionOrBuilder()
Delete cells that would be deleted by any nested rule.
.google.bigtable.admin.v2.GcRule.Union union = 4;
getUnionOrBuilder
in interface GcRuleOrBuilder
public final boolean isInitialized()
isInitialized
in interface MessageLiteOrBuilder
isInitialized
in class GeneratedMessageV3
public void writeTo(CodedOutputStream output) throws java.io.IOException
writeTo
in interface MessageLite
writeTo
in class GeneratedMessageV3
java.io.IOException
public int getSerializedSize()
getSerializedSize
in interface MessageLite
getSerializedSize
in class GeneratedMessageV3
public boolean equals(java.lang.Object obj)
equals
in interface Message
equals
in class AbstractMessage
public int hashCode()
hashCode
in interface Message
hashCode
in class AbstractMessage
public static GcRule parseFrom(java.nio.ByteBuffer data) throws InvalidProtocolBufferException
InvalidProtocolBufferException
public static GcRule parseFrom(java.nio.ByteBuffer data, ExtensionRegistryLite extensionRegistry) throws InvalidProtocolBufferException
InvalidProtocolBufferException
public static GcRule parseFrom(ByteString data) throws InvalidProtocolBufferException
InvalidProtocolBufferException
public static GcRule parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry) throws InvalidProtocolBufferException
InvalidProtocolBufferException
public static GcRule parseFrom(byte[] data) throws InvalidProtocolBufferException
InvalidProtocolBufferException
public static GcRule parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry) throws InvalidProtocolBufferException
InvalidProtocolBufferException
public static GcRule parseFrom(java.io.InputStream input) throws java.io.IOException
java.io.IOException
public static GcRule parseFrom(java.io.InputStream input, ExtensionRegistryLite extensionRegistry) throws java.io.IOException
java.io.IOException
public static GcRule parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException
java.io.IOException
public static GcRule parseDelimitedFrom(java.io.InputStream input, ExtensionRegistryLite extensionRegistry) throws java.io.IOException
java.io.IOException
public static GcRule parseFrom(CodedInputStream input) throws java.io.IOException
java.io.IOException
public static GcRule parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry) throws java.io.IOException
java.io.IOException
public GcRule.Builder newBuilderForType()
newBuilderForType
in interface Message
newBuilderForType
in interface MessageLite
public static GcRule.Builder newBuilder()
public static GcRule.Builder newBuilder(GcRule prototype)
public GcRule.Builder toBuilder()
toBuilder
in interface Message
toBuilder
in interface MessageLite
protected GcRule.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
newBuilderForType
in class GeneratedMessageV3
public static GcRule getDefaultInstance()
public Parser<GcRule> getParserForType()
getParserForType
in interface Message
getParserForType
in interface MessageLite
getParserForType
in class GeneratedMessageV3
public GcRule getDefaultInstanceForType()
getDefaultInstanceForType
in interface MessageLiteOrBuilder
getDefaultInstanceForType
in interface MessageOrBuilder