public static final class GcRule.Builder extends GeneratedMessageV3.Builder<GcRule.Builder> implements GcRuleOrBuilder
Rule for determining which cells to delete during garbage collection.
Protobuf type google.bigtable.admin.v2.GcRule
Inherited Members
com.google.protobuf.GeneratedMessageV3.Builder.getUnknownFieldSetBuilder()
com.google.protobuf.GeneratedMessageV3.Builder.mergeUnknownLengthDelimitedField(int,com.google.protobuf.ByteString)
com.google.protobuf.GeneratedMessageV3.Builder.mergeUnknownVarintField(int,int)
com.google.protobuf.GeneratedMessageV3.Builder.parseUnknownField(com.google.protobuf.CodedInputStream,com.google.protobuf.ExtensionRegistryLite,int)
com.google.protobuf.GeneratedMessageV3.Builder.setUnknownFieldSetBuilder(com.google.protobuf.UnknownFieldSet.Builder)
Static Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
Returns
Methods
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
public GcRule.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
Returns
Overrides
build()
Returns
buildPartial()
public GcRule buildPartial()
Returns
clear()
public GcRule.Builder clear()
Returns
Overrides
clearField(Descriptors.FieldDescriptor field)
public GcRule.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
Returns
Overrides
clearIntersection()
public GcRule.Builder clearIntersection()
Delete cells that would be deleted by every nested rule.
.google.bigtable.admin.v2.GcRule.Intersection intersection = 3;
Returns
clearMaxAge()
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;
Returns
clearMaxNumVersions()
public GcRule.Builder clearMaxNumVersions()
Delete all cells in a column except the most recent N.
int32 max_num_versions = 1;
Returns
clearOneof(Descriptors.OneofDescriptor oneof)
public GcRule.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
Returns
Overrides
clearRule()
public GcRule.Builder clearRule()
Returns
clearUnion()
public GcRule.Builder clearUnion()
Delete cells that would be deleted by any nested rule.
.google.bigtable.admin.v2.GcRule.Union union = 4;
Returns
clone()
public GcRule.Builder clone()
Returns
Overrides
getDefaultInstanceForType()
public GcRule getDefaultInstanceForType()
Returns
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()
Returns
Overrides
getIntersection()
public GcRule.Intersection getIntersection()
Delete cells that would be deleted by every nested rule.
.google.bigtable.admin.v2.GcRule.Intersection intersection = 3;
Returns
getIntersectionBuilder()
public GcRule.Intersection.Builder getIntersectionBuilder()
Delete cells that would be deleted by every nested rule.
.google.bigtable.admin.v2.GcRule.Intersection intersection = 3;
Returns
getIntersectionOrBuilder()
public GcRule.IntersectionOrBuilder getIntersectionOrBuilder()
Delete cells that would be deleted by every nested rule.
.google.bigtable.admin.v2.GcRule.Intersection intersection = 3;
Returns
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;
Returns
getMaxAgeBuilder()
public 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;
Returns
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;
Returns
getMaxNumVersions()
public int getMaxNumVersions()
Delete all cells in a column except the most recent N.
int32 max_num_versions = 1;
Returns
Type | Description |
int | The maxNumVersions.
|
getRuleCase()
public GcRule.RuleCase getRuleCase()
Returns
getUnion()
public GcRule.Union getUnion()
Delete cells that would be deleted by any nested rule.
.google.bigtable.admin.v2.GcRule.Union union = 4;
Returns
getUnionBuilder()
public GcRule.Union.Builder getUnionBuilder()
Delete cells that would be deleted by any nested rule.
.google.bigtable.admin.v2.GcRule.Union union = 4;
Returns
getUnionOrBuilder()
public GcRule.UnionOrBuilder getUnionOrBuilder()
Delete cells that would be deleted by any nested rule.
.google.bigtable.admin.v2.GcRule.Union union = 4;
Returns
hasIntersection()
public boolean hasIntersection()
Delete cells that would be deleted by every nested rule.
.google.bigtable.admin.v2.GcRule.Intersection intersection = 3;
Returns
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;
Returns
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;
Returns
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;
Returns
Type | Description |
boolean | Whether the union field is set.
|
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
Overrides
isInitialized()
public final boolean isInitialized()
Returns
Overrides
mergeFrom(GcRule other)
public GcRule.Builder mergeFrom(GcRule other)
Parameter
Returns
public GcRule.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Overrides
Exceptions
mergeFrom(Message other)
public GcRule.Builder mergeFrom(Message other)
Parameter
Returns
Overrides
mergeIntersection(GcRule.Intersection value)
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;
Parameter
Returns
mergeMaxAge(Duration value)
public GcRule.Builder mergeMaxAge(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;
Parameter
Returns
mergeUnion(GcRule.Union value)
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;
Parameter
Returns
mergeUnknownFields(UnknownFieldSet unknownFields)
public final GcRule.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
Returns
Overrides
setField(Descriptors.FieldDescriptor field, Object value)
public GcRule.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
Returns
Overrides
setIntersection(GcRule.Intersection value)
public GcRule.Builder setIntersection(GcRule.Intersection value)
Delete cells that would be deleted by every nested rule.
.google.bigtable.admin.v2.GcRule.Intersection intersection = 3;
Parameter
Returns
setIntersection(GcRule.Intersection.Builder builderForValue)
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;
Parameter
Returns
setMaxAge(Duration value)
public GcRule.Builder setMaxAge(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;
Parameter
Returns
setMaxAge(Duration.Builder builderForValue)
public GcRule.Builder setMaxAge(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;
Parameter
Name | Description |
builderForValue | Builder
|
Returns
setMaxNumVersions(int value)
public GcRule.Builder setMaxNumVersions(int value)
Delete all cells in a column except the most recent N.
int32 max_num_versions = 1;
Parameter
Name | Description |
value | int
The maxNumVersions to set.
|
Returns
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public GcRule.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters
Returns
Overrides
setUnion(GcRule.Union value)
public GcRule.Builder setUnion(GcRule.Union value)
Delete cells that would be deleted by any nested rule.
.google.bigtable.admin.v2.GcRule.Union union = 4;
Parameter
Returns
setUnion(GcRule.Union.Builder builderForValue)
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;
Parameter
Returns
setUnknownFields(UnknownFieldSet unknownFields)
public final GcRule.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
Returns
Overrides