Class DataProfilePubSubCondition (3.17.0)

public final class DataProfilePubSubCondition extends GeneratedMessageV3 implements DataProfilePubSubConditionOrBuilder

A condition for determining whether a Pub/Sub should be triggered.

Protobuf type google.privacy.dlp.v2.DataProfilePubSubCondition

Static Fields

EXPRESSIONS_FIELD_NUMBER

public static final int EXPRESSIONS_FIELD_NUMBER
Field Value
TypeDescription
int

Static Methods

getDefaultInstance()

public static DataProfilePubSubCondition getDefaultInstance()
Returns
TypeDescription
DataProfilePubSubCondition

getDescriptor()

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

newBuilder()

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

newBuilder(DataProfilePubSubCondition prototype)

public static DataProfilePubSubCondition.Builder newBuilder(DataProfilePubSubCondition prototype)
Parameter
NameDescription
prototypeDataProfilePubSubCondition
Returns
TypeDescription
DataProfilePubSubCondition.Builder

parseDelimitedFrom(InputStream input)

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

parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(byte[] data)

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

parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)

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

parseFrom(ByteString data)

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

parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)

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

parseFrom(CodedInputStream input)

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

parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(InputStream input)

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

parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(ByteBuffer data)

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

parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)

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

parser()

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

Methods

equals(Object obj)

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

getDefaultInstanceForType()

public DataProfilePubSubCondition getDefaultInstanceForType()
Returns
TypeDescription
DataProfilePubSubCondition

getExpressions()

public DataProfilePubSubCondition.PubSubExpressions getExpressions()

An expression.

.google.privacy.dlp.v2.DataProfilePubSubCondition.PubSubExpressions expressions = 1;

Returns
TypeDescription
DataProfilePubSubCondition.PubSubExpressions

The expressions.

getExpressionsOrBuilder()

public DataProfilePubSubCondition.PubSubExpressionsOrBuilder getExpressionsOrBuilder()

An expression.

.google.privacy.dlp.v2.DataProfilePubSubCondition.PubSubExpressions expressions = 1;

Returns
TypeDescription
DataProfilePubSubCondition.PubSubExpressionsOrBuilder

getParserForType()

public Parser<DataProfilePubSubCondition> getParserForType()
Returns
TypeDescription
Parser<DataProfilePubSubCondition>
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.DataProfilePubSubCondition.PubSubExpressions expressions = 1;

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

newBuilderForType(GeneratedMessageV3.BuilderParent parent)

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

newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)

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

toBuilder()

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

writeTo(CodedOutputStream output)

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