public static final class GcRule.Builder extends com.google.protobuf.GeneratedMessageV3.Builder<GcRule.Builder> implements GcRuleOrBuilder
Rule for determining which cells to delete during garbage collection.Protobuf type
google.bigtable.admin.v2.GcRule| Modifier and Type | Method and Description |
|---|---|
GcRule.Builder |
addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field,
Object value) |
GcRule |
build() |
GcRule |
buildPartial() |
GcRule.Builder |
clear() |
GcRule.Builder |
clearField(com.google.protobuf.Descriptors.FieldDescriptor field) |
GcRule.Builder |
clearIntersection()
Delete cells that would be deleted by every nested rule.
|
GcRule.Builder |
clearMaxAge()
Delete cells in a column older than the given age.
|
GcRule.Builder |
clearMaxNumVersions()
Delete all cells in a column except the most recent N.
|
GcRule.Builder |
clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) |
GcRule.Builder |
clearRule() |
GcRule.Builder |
clearUnion()
Delete cells that would be deleted by any nested rule.
|
GcRule.Builder |
clone() |
GcRule |
getDefaultInstanceForType() |
static com.google.protobuf.Descriptors.Descriptor |
getDescriptor() |
com.google.protobuf.Descriptors.Descriptor |
getDescriptorForType() |
GcRule.Intersection |
getIntersection()
Delete cells that would be deleted by every nested rule.
|
GcRule.Intersection.Builder |
getIntersectionBuilder()
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.Duration.Builder |
getMaxAgeBuilder()
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.Union.Builder |
getUnionBuilder()
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.
|
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable |
internalGetFieldAccessorTable() |
boolean |
isInitialized() |
GcRule.Builder |
mergeFrom(com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
GcRule.Builder |
mergeFrom(GcRule other) |
GcRule.Builder |
mergeFrom(com.google.protobuf.Message other) |
GcRule.Builder |
mergeIntersection(GcRule.Intersection value)
Delete cells that would be deleted by every nested rule.
|
GcRule.Builder |
mergeMaxAge(com.google.protobuf.Duration value)
Delete cells in a column older than the given age.
|
GcRule.Builder |
mergeUnion(GcRule.Union value)
Delete cells that would be deleted by any nested rule.
|
GcRule.Builder |
mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) |
GcRule.Builder |
setField(com.google.protobuf.Descriptors.FieldDescriptor field,
Object value) |
GcRule.Builder |
setIntersection(GcRule.Intersection.Builder builderForValue)
Delete cells that would be deleted by every nested rule.
|
GcRule.Builder |
setIntersection(GcRule.Intersection value)
Delete cells that would be deleted by every nested rule.
|
GcRule.Builder |
setMaxAge(com.google.protobuf.Duration.Builder builderForValue)
Delete cells in a column older than the given age.
|
GcRule.Builder |
setMaxAge(com.google.protobuf.Duration value)
Delete cells in a column older than the given age.
|
GcRule.Builder |
setMaxNumVersions(int value)
Delete all cells in a column except the most recent N.
|
GcRule.Builder |
setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field,
int index,
Object value) |
GcRule.Builder |
setUnion(GcRule.Union.Builder builderForValue)
Delete cells that would be deleted by any nested rule.
|
GcRule.Builder |
setUnion(GcRule.Union value)
Delete cells that would be deleted by any nested rule.
|
GcRule.Builder |
setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) |
getAllFields, getField, getFieldBuilder, getOneofFieldDescriptor, getParentForChildren, getRepeatedField, getRepeatedFieldBuilder, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof, internalGetMapField, internalGetMutableMapField, isClean, markClean, newBuilderForField, onBuilt, onChanged, setUnknownFieldsProto3findInitializationErrors, getInitializationErrorString, internalMergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException, toStringaddAll, addAll, mergeDelimitedFrom, mergeDelimitedFrom, mergeFrom, newUninitializedMessageExceptionequals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitfindInitializationErrors, getAllFields, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneofpublic static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
internalGetFieldAccessorTable in class com.google.protobuf.GeneratedMessageV3.Builder<GcRule.Builder>public GcRule.Builder clear()
clear in interface com.google.protobuf.Message.Builderclear in interface com.google.protobuf.MessageLite.Builderclear in class com.google.protobuf.GeneratedMessageV3.Builder<GcRule.Builder>public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()
getDescriptorForType in interface com.google.protobuf.Message.BuildergetDescriptorForType in interface com.google.protobuf.MessageOrBuildergetDescriptorForType in class com.google.protobuf.GeneratedMessageV3.Builder<GcRule.Builder>public GcRule getDefaultInstanceForType()
getDefaultInstanceForType in interface com.google.protobuf.MessageLiteOrBuildergetDefaultInstanceForType in interface com.google.protobuf.MessageOrBuilderpublic GcRule build()
build in interface com.google.protobuf.Message.Builderbuild in interface com.google.protobuf.MessageLite.Builderpublic GcRule buildPartial()
buildPartial in interface com.google.protobuf.Message.BuilderbuildPartial in interface com.google.protobuf.MessageLite.Builderpublic GcRule.Builder clone()
clone in interface com.google.protobuf.Message.Builderclone in interface com.google.protobuf.MessageLite.Builderclone in class com.google.protobuf.GeneratedMessageV3.Builder<GcRule.Builder>public GcRule.Builder setField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
setField in interface com.google.protobuf.Message.BuildersetField in class com.google.protobuf.GeneratedMessageV3.Builder<GcRule.Builder>public GcRule.Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field)
clearField in interface com.google.protobuf.Message.BuilderclearField in class com.google.protobuf.GeneratedMessageV3.Builder<GcRule.Builder>public GcRule.Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)
clearOneof in interface com.google.protobuf.Message.BuilderclearOneof in class com.google.protobuf.GeneratedMessageV3.Builder<GcRule.Builder>public GcRule.Builder setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, Object value)
setRepeatedField in interface com.google.protobuf.Message.BuildersetRepeatedField in class com.google.protobuf.GeneratedMessageV3.Builder<GcRule.Builder>public GcRule.Builder addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
addRepeatedField in interface com.google.protobuf.Message.BuilderaddRepeatedField in class com.google.protobuf.GeneratedMessageV3.Builder<GcRule.Builder>public GcRule.Builder mergeFrom(com.google.protobuf.Message other)
mergeFrom in interface com.google.protobuf.Message.BuildermergeFrom in class com.google.protobuf.AbstractMessage.Builder<GcRule.Builder>public GcRule.Builder mergeFrom(GcRule other)
public final boolean isInitialized()
isInitialized in interface com.google.protobuf.MessageLiteOrBuilderisInitialized in class com.google.protobuf.GeneratedMessageV3.Builder<GcRule.Builder>public GcRule.Builder mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
mergeFrom in interface com.google.protobuf.Message.BuildermergeFrom in interface com.google.protobuf.MessageLite.BuildermergeFrom in class com.google.protobuf.AbstractMessage.Builder<GcRule.Builder>IOExceptionpublic GcRule.RuleCase getRuleCase()
getRuleCase in interface GcRuleOrBuilderpublic GcRule.Builder clearRule()
public boolean hasMaxNumVersions()
Delete all cells in a column except the most recent N.
int32 max_num_versions = 1;hasMaxNumVersions 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 GcRule.Builder setMaxNumVersions(int value)
Delete all cells in a column except the most recent N.
int32 max_num_versions = 1;value - The maxNumVersions to set.public GcRule.Builder clearMaxNumVersions()
Delete all cells in a column except the most recent N.
int32 max_num_versions = 1;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 GcRuleOrBuilderpublic 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;getMaxAge in interface GcRuleOrBuilderpublic GcRule.Builder setMaxAge(com.google.protobuf.Duration value)
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;public GcRule.Builder setMaxAge(com.google.protobuf.Duration.Builder builderForValue)
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;public GcRule.Builder mergeMaxAge(com.google.protobuf.Duration value)
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;public GcRule.Builder clearMaxAge()
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;public com.google.protobuf.Duration.Builder getMaxAgeBuilder()
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;public 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;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.Builder setIntersection(GcRule.Intersection value)
Delete cells that would be deleted by every nested rule.
.google.bigtable.admin.v2.GcRule.Intersection intersection = 3;public GcRule.Builder setIntersection(GcRule.Intersection.Builder builderForValue)
Delete cells that would be deleted by every nested rule.
.google.bigtable.admin.v2.GcRule.Intersection intersection = 3;public GcRule.Builder mergeIntersection(GcRule.Intersection value)
Delete cells that would be deleted by every nested rule.
.google.bigtable.admin.v2.GcRule.Intersection intersection = 3;public GcRule.Builder clearIntersection()
Delete cells that would be deleted by every nested rule.
.google.bigtable.admin.v2.GcRule.Intersection intersection = 3;public GcRule.Intersection.Builder getIntersectionBuilder()
Delete cells that would be deleted by every nested rule.
.google.bigtable.admin.v2.GcRule.Intersection intersection = 3;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 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.Builder setUnion(GcRule.Union value)
Delete cells that would be deleted by any nested rule.
.google.bigtable.admin.v2.GcRule.Union union = 4;public GcRule.Builder setUnion(GcRule.Union.Builder builderForValue)
Delete cells that would be deleted by any nested rule.
.google.bigtable.admin.v2.GcRule.Union union = 4;public GcRule.Builder mergeUnion(GcRule.Union value)
Delete cells that would be deleted by any nested rule.
.google.bigtable.admin.v2.GcRule.Union union = 4;public GcRule.Builder clearUnion()
Delete cells that would be deleted by any nested rule.
.google.bigtable.admin.v2.GcRule.Union union = 4;public GcRule.Union.Builder getUnionBuilder()
Delete cells that would be deleted by any nested rule.
.google.bigtable.admin.v2.GcRule.Union union = 4;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 GcRuleOrBuilderpublic final GcRule.Builder setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
setUnknownFields in interface com.google.protobuf.Message.BuildersetUnknownFields in class com.google.protobuf.GeneratedMessageV3.Builder<GcRule.Builder>public final GcRule.Builder mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
mergeUnknownFields in interface com.google.protobuf.Message.BuildermergeUnknownFields in class com.google.protobuf.GeneratedMessageV3.Builder<GcRule.Builder>Copyright © 2022 Google LLC. All rights reserved.