Class GcRule.Union (2.10.3)

public static final class GcRule.Union extends GeneratedMessageV3 implements GcRule.UnionOrBuilder

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

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

Static Fields

RULES_FIELD_NUMBER

public static final int RULES_FIELD_NUMBER
Field Value
TypeDescription
int

Static Methods

getDefaultInstance()

public static GcRule.Union getDefaultInstance()
Returns
TypeDescription
GcRule.Union

getDescriptor()

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

newBuilder()

public static GcRule.Union.Builder newBuilder()
Returns
TypeDescription
GcRule.Union.Builder

newBuilder(GcRule.Union prototype)

public static GcRule.Union.Builder newBuilder(GcRule.Union prototype)
Parameter
NameDescription
prototypeGcRule.Union
Returns
TypeDescription
GcRule.Union.Builder

parseDelimitedFrom(InputStream input)

public static GcRule.Union parseDelimitedFrom(InputStream input)
Parameter
NameDescription
inputInputStream
Returns
TypeDescription
GcRule.Union
Exceptions
TypeDescription
IOException

parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static GcRule.Union parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
GcRule.Union
Exceptions
TypeDescription
IOException

parseFrom(byte[] data)

public static GcRule.Union parseFrom(byte[] data)
Parameter
NameDescription
databyte[]
Returns
TypeDescription
GcRule.Union
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)

public static GcRule.Union parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
databyte[]
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
GcRule.Union
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(ByteString data)

public static GcRule.Union parseFrom(ByteString data)
Parameter
NameDescription
dataByteString
Returns
TypeDescription
GcRule.Union
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)

public static GcRule.Union parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
dataByteString
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
GcRule.Union
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(CodedInputStream input)

public static GcRule.Union parseFrom(CodedInputStream input)
Parameter
NameDescription
inputCodedInputStream
Returns
TypeDescription
GcRule.Union
Exceptions
TypeDescription
IOException

parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public static GcRule.Union parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputCodedInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
GcRule.Union
Exceptions
TypeDescription
IOException

parseFrom(InputStream input)

public static GcRule.Union parseFrom(InputStream input)
Parameter
NameDescription
inputInputStream
Returns
TypeDescription
GcRule.Union
Exceptions
TypeDescription
IOException

parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static GcRule.Union parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
GcRule.Union
Exceptions
TypeDescription
IOException

parseFrom(ByteBuffer data)

public static GcRule.Union parseFrom(ByteBuffer data)
Parameter
NameDescription
dataByteBuffer
Returns
TypeDescription
GcRule.Union
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)

public static GcRule.Union parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
dataByteBuffer
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
GcRule.Union
Exceptions
TypeDescription
InvalidProtocolBufferException

parser()

public static Parser<GcRule.Union> parser()
Returns
TypeDescription
Parser<Union>

Methods

equals(Object obj)

public boolean equals(Object obj)
Parameter
NameDescription
objObject
Returns
TypeDescription
boolean
Overrides

getDefaultInstanceForType()

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

getParserForType()

public Parser<GcRule.Union> getParserForType()
Returns
TypeDescription
Parser<Union>
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

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>

getSerializedSize()

public int getSerializedSize()
Returns
TypeDescription
int
Overrides

getUnknownFields()

public final UnknownFieldSet getUnknownFields()
Returns
TypeDescription
UnknownFieldSet
Overrides

hashCode()

public int hashCode()
Returns
TypeDescription
int
Overrides

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
TypeDescription
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
TypeDescription
boolean
Overrides

newBuilderForType()

public GcRule.Union.Builder newBuilderForType()
Returns
TypeDescription
GcRule.Union.Builder

newBuilderForType(GeneratedMessageV3.BuilderParent parent)

protected GcRule.Union.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Parameter
NameDescription
parentBuilderParent
Returns
TypeDescription
GcRule.Union.Builder
Overrides

newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)

protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Parameter
NameDescription
unusedUnusedPrivateParameter
Returns
TypeDescription
Object
Overrides

toBuilder()

public GcRule.Union.Builder toBuilder()
Returns
TypeDescription
GcRule.Union.Builder

writeTo(CodedOutputStream output)

public void writeTo(CodedOutputStream output)
Parameter
NameDescription
outputCodedOutputStream
Overrides Exceptions
TypeDescription
IOException