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
Inheritance
Object > AbstractMessageLite<MessageType,BuilderType> > AbstractMessage > GeneratedMessageV3 > GcRuleImplements
GcRuleOrBuilderStatic Fields
INTERSECTION_FIELD_NUMBER
public static final int INTERSECTION_FIELD_NUMBER
Type | Description |
int |
MAX_AGE_FIELD_NUMBER
public static final int MAX_AGE_FIELD_NUMBER
Type | Description |
int |
MAX_NUM_VERSIONS_FIELD_NUMBER
public static final int MAX_NUM_VERSIONS_FIELD_NUMBER
Type | Description |
int |
UNION_FIELD_NUMBER
public static final int UNION_FIELD_NUMBER
Type | Description |
int |
Static Methods
getDefaultInstance()
public static GcRule getDefaultInstance()
Type | Description |
GcRule |
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
Type | Description |
Descriptor |
newBuilder()
public static GcRule.Builder newBuilder()
Type | Description |
GcRule.Builder |
newBuilder(GcRule prototype)
public static GcRule.Builder newBuilder(GcRule prototype)
Name | Description |
prototype | GcRule |
Type | Description |
GcRule.Builder |
parseDelimitedFrom(InputStream input)
public static GcRule parseDelimitedFrom(InputStream input)
Name | Description |
input | InputStream |
Type | Description |
GcRule |
Type | Description |
IOException |
parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
public static GcRule parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Name | Description |
input | InputStream |
extensionRegistry | ExtensionRegistryLite |
Type | Description |
GcRule |
Type | Description |
IOException |
parseFrom(byte[] data)
public static GcRule parseFrom(byte[] data)
Name | Description |
data | byte[] |
Type | Description |
GcRule |
Type | Description |
InvalidProtocolBufferException |
parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
public static GcRule parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
Name | Description |
data | byte[] |
extensionRegistry | ExtensionRegistryLite |
Type | Description |
GcRule |
Type | Description |
InvalidProtocolBufferException |
parseFrom(ByteString data)
public static GcRule parseFrom(ByteString data)
Name | Description |
data | ByteString |
Type | Description |
GcRule |
Type | Description |
InvalidProtocolBufferException |
parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
public static GcRule parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
Name | Description |
data | ByteString |
extensionRegistry | ExtensionRegistryLite |
Type | Description |
GcRule |
Type | Description |
InvalidProtocolBufferException |
parseFrom(CodedInputStream input)
public static GcRule parseFrom(CodedInputStream input)
Name | Description |
input | CodedInputStream |
Type | Description |
GcRule |
Type | Description |
IOException |
parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public static GcRule parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Name | Description |
input | CodedInputStream |
extensionRegistry | ExtensionRegistryLite |
Type | Description |
GcRule |
Type | Description |
IOException |
parseFrom(InputStream input)
public static GcRule parseFrom(InputStream input)
Name | Description |
input | InputStream |
Type | Description |
GcRule |
Type | Description |
IOException |
parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
public static GcRule parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Name | Description |
input | InputStream |
extensionRegistry | ExtensionRegistryLite |
Type | Description |
GcRule |
Type | Description |
IOException |
parseFrom(ByteBuffer data)
public static GcRule parseFrom(ByteBuffer data)
Name | Description |
data | ByteBuffer |
Type | Description |
GcRule |
Type | Description |
InvalidProtocolBufferException |
parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
public static GcRule parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
Name | Description |
data | ByteBuffer |
extensionRegistry | ExtensionRegistryLite |
Type | Description |
GcRule |
Type | Description |
InvalidProtocolBufferException |
parser()
public static Parser<GcRule> parser()
Type | Description |
Parser<GcRule> |
Methods
equals(Object obj)
public boolean equals(Object obj)
Name | Description |
obj | Object |
Type | Description |
boolean |
getDefaultInstanceForType()
public GcRule getDefaultInstanceForType()
Type | Description |
GcRule |
getIntersection()
public GcRule.Intersection getIntersection()
Delete cells that would be deleted by every nested rule.
.google.bigtable.admin.v2.GcRule.Intersection intersection = 3;
Type | Description |
GcRule.Intersection | The intersection. |
getIntersectionOrBuilder()
public GcRule.IntersectionOrBuilder getIntersectionOrBuilder()
Delete cells that would be deleted by every nested rule.
.google.bigtable.admin.v2.GcRule.Intersection intersection = 3;
Type | Description |
GcRule.IntersectionOrBuilder |
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;
Type | Description |
Duration | The maxAge. |
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;
Type | Description |
DurationOrBuilder |
getMaxNumVersions()
public int getMaxNumVersions()
Delete all cells in a column except the most recent N.
int32 max_num_versions = 1;
Type | Description |
int | The maxNumVersions. |
getParserForType()
public Parser<GcRule> getParserForType()
Type | Description |
Parser<GcRule> |
getRuleCase()
public GcRule.RuleCase getRuleCase()
Type | Description |
GcRule.RuleCase |
getSerializedSize()
public int getSerializedSize()
Type | Description |
int |
getUnion()
public GcRule.Union getUnion()
Delete cells that would be deleted by any nested rule.
.google.bigtable.admin.v2.GcRule.Union union = 4;
Type | Description |
GcRule.Union | The union. |
getUnionOrBuilder()
public GcRule.UnionOrBuilder getUnionOrBuilder()
Delete cells that would be deleted by any nested rule.
.google.bigtable.admin.v2.GcRule.Union union = 4;
Type | Description |
GcRule.UnionOrBuilder |
getUnknownFields()
public final UnknownFieldSet getUnknownFields()
Type | Description |
UnknownFieldSet |
hasIntersection()
public boolean hasIntersection()
Delete cells that would be deleted by every nested rule.
.google.bigtable.admin.v2.GcRule.Intersection intersection = 3;
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;
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;
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;
Type | Description |
boolean | Whether the union field is set. |
hashCode()
public int hashCode()
Type | Description |
int |
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Type | Description |
FieldAccessorTable |
isInitialized()
public final boolean isInitialized()
Type | Description |
boolean |
newBuilderForType()
public GcRule.Builder newBuilderForType()
Type | Description |
GcRule.Builder |
newBuilderForType(GeneratedMessageV3.BuilderParent parent)
protected GcRule.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Name | Description |
parent | BuilderParent |
Type | Description |
GcRule.Builder |
newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Name | Description |
unused | UnusedPrivateParameter |
Type | Description |
Object |
toBuilder()
public GcRule.Builder toBuilder()
Type | Description |
GcRule.Builder |
writeTo(CodedOutputStream output)
public void writeTo(CodedOutputStream output)
Name | Description |
output | CodedOutputStream |
Type | Description |
IOException |