Class GcRule.Union.Builder (2.15.0)

public static final class GcRule.Union.Builder extends GeneratedMessageV3.Builder<GcRule.Union.Builder> implements GcRule.UnionOrBuilder

A GcRule which deletes cells matching any of the given rules.

Protobuf type google.bigtable.admin.v2.GcRule.Union

Static Methods

getDescriptor()

public static final Descriptors.Descriptor getDescriptor()
Returns
TypeDescription
Descriptor

Methods

addAllRules(Iterable<? extends GcRule> values)

public GcRule.Union.Builder addAllRules(Iterable<? extends GcRule> values)

Delete cells which would be deleted by any element of rules.

repeated .google.bigtable.admin.v2.GcRule rules = 1;

Parameter
NameDescription
valuesIterable<? extends com.google.bigtable.admin.v2.GcRule>
Returns
TypeDescription
GcRule.Union.Builder

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

public GcRule.Union.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
NameDescription
fieldFieldDescriptor
valueObject
Returns
TypeDescription
GcRule.Union.Builder
Overrides

addRules(GcRule value)

public GcRule.Union.Builder addRules(GcRule value)

Delete cells which would be deleted by any element of rules.

repeated .google.bigtable.admin.v2.GcRule rules = 1;

Parameter
NameDescription
valueGcRule
Returns
TypeDescription
GcRule.Union.Builder

addRules(GcRule.Builder builderForValue)

public GcRule.Union.Builder addRules(GcRule.Builder builderForValue)

Delete cells which would be deleted by any element of rules.

repeated .google.bigtable.admin.v2.GcRule rules = 1;

Parameter
NameDescription
builderForValueGcRule.Builder
Returns
TypeDescription
GcRule.Union.Builder

addRules(int index, GcRule value)

public GcRule.Union.Builder addRules(int index, GcRule value)

Delete cells which would be deleted by any element of rules.

repeated .google.bigtable.admin.v2.GcRule rules = 1;

Parameters
NameDescription
indexint
valueGcRule
Returns
TypeDescription
GcRule.Union.Builder

addRules(int index, GcRule.Builder builderForValue)

public GcRule.Union.Builder addRules(int index, GcRule.Builder builderForValue)

Delete cells which would be deleted by any element of rules.

repeated .google.bigtable.admin.v2.GcRule rules = 1;

Parameters
NameDescription
indexint
builderForValueGcRule.Builder
Returns
TypeDescription
GcRule.Union.Builder

addRulesBuilder()

public GcRule.Builder addRulesBuilder()

Delete cells which would be deleted by any element of rules.

repeated .google.bigtable.admin.v2.GcRule rules = 1;

Returns
TypeDescription
GcRule.Builder

addRulesBuilder(int index)

public GcRule.Builder addRulesBuilder(int index)

Delete cells which would be deleted by any element of rules.

repeated .google.bigtable.admin.v2.GcRule rules = 1;

Parameter
NameDescription
indexint
Returns
TypeDescription
GcRule.Builder

build()

public GcRule.Union build()
Returns
TypeDescription
GcRule.Union

buildPartial()

public GcRule.Union buildPartial()
Returns
TypeDescription
GcRule.Union

clear()

public GcRule.Union.Builder clear()
Returns
TypeDescription
GcRule.Union.Builder
Overrides

clearField(Descriptors.FieldDescriptor field)

public GcRule.Union.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
NameDescription
fieldFieldDescriptor
Returns
TypeDescription
GcRule.Union.Builder
Overrides

clearOneof(Descriptors.OneofDescriptor oneof)

public GcRule.Union.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
NameDescription
oneofOneofDescriptor
Returns
TypeDescription
GcRule.Union.Builder
Overrides

clearRules()

public GcRule.Union.Builder clearRules()

Delete cells which would be deleted by any element of rules.

repeated .google.bigtable.admin.v2.GcRule rules = 1;

Returns
TypeDescription
GcRule.Union.Builder

clone()

public GcRule.Union.Builder clone()
Returns
TypeDescription
GcRule.Union.Builder
Overrides

getDefaultInstanceForType()

public GcRule.Union getDefaultInstanceForType()
Returns
TypeDescription
GcRule.Union

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
TypeDescription
Descriptor
Overrides

getRules(int index)

public GcRule getRules(int index)

Delete cells which would be deleted by any element of rules.

repeated .google.bigtable.admin.v2.GcRule rules = 1;

Parameter
NameDescription
indexint
Returns
TypeDescription
GcRule

getRulesBuilder(int index)

public GcRule.Builder getRulesBuilder(int index)

Delete cells which would be deleted by any element of rules.

repeated .google.bigtable.admin.v2.GcRule rules = 1;

Parameter
NameDescription
indexint
Returns
TypeDescription
GcRule.Builder

getRulesBuilderList()

public List<GcRule.Builder> getRulesBuilderList()

Delete cells which would be deleted by any element of rules.

repeated .google.bigtable.admin.v2.GcRule rules = 1;

Returns
TypeDescription
List<Builder>

getRulesCount()

public int getRulesCount()

Delete cells which would be deleted by any element of rules.

repeated .google.bigtable.admin.v2.GcRule rules = 1;

Returns
TypeDescription
int

getRulesList()

public List<GcRule> getRulesList()

Delete cells which would be deleted by any element of rules.

repeated .google.bigtable.admin.v2.GcRule rules = 1;

Returns
TypeDescription
List<GcRule>

getRulesOrBuilder(int index)

public GcRuleOrBuilder getRulesOrBuilder(int index)

Delete cells which would be deleted by any element of rules.

repeated .google.bigtable.admin.v2.GcRule rules = 1;

Parameter
NameDescription
indexint
Returns
TypeDescription
GcRuleOrBuilder

getRulesOrBuilderList()

public List<? extends GcRuleOrBuilder> getRulesOrBuilderList()

Delete cells which would be deleted by any element of rules.

repeated .google.bigtable.admin.v2.GcRule rules = 1;

Returns
TypeDescription
List<? extends com.google.bigtable.admin.v2.GcRuleOrBuilder>

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
TypeDescription
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
TypeDescription
boolean
Overrides

mergeFrom(GcRule.Union other)

public GcRule.Union.Builder mergeFrom(GcRule.Union other)
Parameter
NameDescription
otherGcRule.Union
Returns
TypeDescription
GcRule.Union.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public GcRule.Union.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputCodedInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
GcRule.Union.Builder
Overrides Exceptions
TypeDescription
IOException

mergeFrom(Message other)

public GcRule.Union.Builder mergeFrom(Message other)
Parameter
NameDescription
otherMessage
Returns
TypeDescription
GcRule.Union.Builder
Overrides

mergeUnknownFields(UnknownFieldSet unknownFields)

public final GcRule.Union.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
NameDescription
unknownFieldsUnknownFieldSet
Returns
TypeDescription
GcRule.Union.Builder
Overrides

removeRules(int index)

public GcRule.Union.Builder removeRules(int index)

Delete cells which would be deleted by any element of rules.

repeated .google.bigtable.admin.v2.GcRule rules = 1;

Parameter
NameDescription
indexint
Returns
TypeDescription
GcRule.Union.Builder

setField(Descriptors.FieldDescriptor field, Object value)

public GcRule.Union.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
NameDescription
fieldFieldDescriptor
valueObject
Returns
TypeDescription
GcRule.Union.Builder
Overrides

setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)

public GcRule.Union.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters
NameDescription
fieldFieldDescriptor
indexint
valueObject
Returns
TypeDescription
GcRule.Union.Builder
Overrides

setRules(int index, GcRule value)

public GcRule.Union.Builder setRules(int index, GcRule value)

Delete cells which would be deleted by any element of rules.

repeated .google.bigtable.admin.v2.GcRule rules = 1;

Parameters
NameDescription
indexint
valueGcRule
Returns
TypeDescription
GcRule.Union.Builder

setRules(int index, GcRule.Builder builderForValue)

public GcRule.Union.Builder setRules(int index, GcRule.Builder builderForValue)

Delete cells which would be deleted by any element of rules.

repeated .google.bigtable.admin.v2.GcRule rules = 1;

Parameters
NameDescription
indexint
builderForValueGcRule.Builder
Returns
TypeDescription
GcRule.Union.Builder

setUnknownFields(UnknownFieldSet unknownFields)

public final GcRule.Union.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
NameDescription
unknownFieldsUnknownFieldSet
Returns
TypeDescription
GcRule.Union.Builder
Overrides