Class RecordCondition (3.3.2)

public final class RecordCondition extends GeneratedMessageV3 implements RecordConditionOrBuilder

A condition for determining whether a transformation should be applied to a field.

Protobuf type google.privacy.dlp.v2.RecordCondition

Static Fields

EXPRESSIONS_FIELD_NUMBER

public static final int EXPRESSIONS_FIELD_NUMBER
Field Value
TypeDescription
int

Static Methods

getDefaultInstance()

public static RecordCondition getDefaultInstance()
Returns
TypeDescription
RecordCondition

getDescriptor()

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

newBuilder()

public static RecordCondition.Builder newBuilder()
Returns
TypeDescription
RecordCondition.Builder

newBuilder(RecordCondition prototype)

public static RecordCondition.Builder newBuilder(RecordCondition prototype)
Parameter
NameDescription
prototypeRecordCondition
Returns
TypeDescription
RecordCondition.Builder

parseDelimitedFrom(InputStream input)

public static RecordCondition parseDelimitedFrom(InputStream input)
Parameter
NameDescription
inputInputStream
Returns
TypeDescription
RecordCondition
Exceptions
TypeDescription
IOException

parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(byte[] data)

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

parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)

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

parseFrom(ByteString data)

public static RecordCondition parseFrom(ByteString data)
Parameter
NameDescription
dataByteString
Returns
TypeDescription
RecordCondition
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)

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

parseFrom(CodedInputStream input)

public static RecordCondition parseFrom(CodedInputStream input)
Parameter
NameDescription
inputCodedInputStream
Returns
TypeDescription
RecordCondition
Exceptions
TypeDescription
IOException

parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(InputStream input)

public static RecordCondition parseFrom(InputStream input)
Parameter
NameDescription
inputInputStream
Returns
TypeDescription
RecordCondition
Exceptions
TypeDescription
IOException

parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(ByteBuffer data)

public static RecordCondition parseFrom(ByteBuffer data)
Parameter
NameDescription
dataByteBuffer
Returns
TypeDescription
RecordCondition
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)

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

parser()

public static Parser<RecordCondition> parser()
Returns
TypeDescription
Parser<RecordCondition>

Methods

equals(Object obj)

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

getDefaultInstanceForType()

public RecordCondition getDefaultInstanceForType()
Returns
TypeDescription
RecordCondition

getExpressions()

public RecordCondition.Expressions getExpressions()

An expression.

.google.privacy.dlp.v2.RecordCondition.Expressions expressions = 3;

Returns
TypeDescription
RecordCondition.Expressions

The expressions.

getExpressionsOrBuilder()

public RecordCondition.ExpressionsOrBuilder getExpressionsOrBuilder()

An expression.

.google.privacy.dlp.v2.RecordCondition.Expressions expressions = 3;

Returns
TypeDescription
RecordCondition.ExpressionsOrBuilder

getParserForType()

public Parser<RecordCondition> getParserForType()
Returns
TypeDescription
Parser<RecordCondition>
Overrides

getSerializedSize()

public int getSerializedSize()
Returns
TypeDescription
int
Overrides

getUnknownFields()

public final UnknownFieldSet getUnknownFields()
Returns
TypeDescription
UnknownFieldSet
Overrides

hasExpressions()

public boolean hasExpressions()

An expression.

.google.privacy.dlp.v2.RecordCondition.Expressions expressions = 3;

Returns
TypeDescription
boolean

Whether the expressions field is set.

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 RecordCondition.Builder newBuilderForType()
Returns
TypeDescription
RecordCondition.Builder

newBuilderForType(GeneratedMessageV3.BuilderParent parent)

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

newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)

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

toBuilder()

public RecordCondition.Builder toBuilder()
Returns
TypeDescription
RecordCondition.Builder

writeTo(CodedOutputStream output)

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