Class DataProfilePubSubCondition.PubSubExpressions (3.37.0)

public static final class DataProfilePubSubCondition.PubSubExpressions extends GeneratedMessageV3 implements DataProfilePubSubCondition.PubSubExpressionsOrBuilder

An expression, consisting of an operator and conditions.

Protobuf type google.privacy.dlp.v2.DataProfilePubSubCondition.PubSubExpressions

Inheritance

Object > AbstractMessageLite<MessageType,BuilderType> > AbstractMessage > GeneratedMessageV3 > DataProfilePubSubCondition.PubSubExpressions

Static Fields

CONDITIONS_FIELD_NUMBER

public static final int CONDITIONS_FIELD_NUMBER
Field Value
TypeDescription
int

LOGICAL_OPERATOR_FIELD_NUMBER

public static final int LOGICAL_OPERATOR_FIELD_NUMBER
Field Value
TypeDescription
int

Static Methods

getDefaultInstance()

public static DataProfilePubSubCondition.PubSubExpressions getDefaultInstance()
Returns
TypeDescription
DataProfilePubSubCondition.PubSubExpressions

getDescriptor()

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

newBuilder()

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

newBuilder(DataProfilePubSubCondition.PubSubExpressions prototype)

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

parseDelimitedFrom(InputStream input)

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

parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(byte[] data)

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

parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)

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

parseFrom(ByteString data)

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

parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)

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

parseFrom(CodedInputStream input)

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

parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(InputStream input)

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

parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(ByteBuffer data)

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

parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)

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

parser()

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

Methods

equals(Object obj)

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

getConditions(int index)

public DataProfilePubSubCondition.PubSubCondition getConditions(int index)

Conditions to apply to the expression.

repeated .google.privacy.dlp.v2.DataProfilePubSubCondition.PubSubCondition conditions = 2;

Parameter
NameDescription
indexint
Returns
TypeDescription
DataProfilePubSubCondition.PubSubCondition

getConditionsCount()

public int getConditionsCount()

Conditions to apply to the expression.

repeated .google.privacy.dlp.v2.DataProfilePubSubCondition.PubSubCondition conditions = 2;

Returns
TypeDescription
int

getConditionsList()

public List<DataProfilePubSubCondition.PubSubCondition> getConditionsList()

Conditions to apply to the expression.

repeated .google.privacy.dlp.v2.DataProfilePubSubCondition.PubSubCondition conditions = 2;

Returns
TypeDescription
List<PubSubCondition>

getConditionsOrBuilder(int index)

public DataProfilePubSubCondition.PubSubConditionOrBuilder getConditionsOrBuilder(int index)

Conditions to apply to the expression.

repeated .google.privacy.dlp.v2.DataProfilePubSubCondition.PubSubCondition conditions = 2;

Parameter
NameDescription
indexint
Returns
TypeDescription
DataProfilePubSubCondition.PubSubConditionOrBuilder

getConditionsOrBuilderList()

public List<? extends DataProfilePubSubCondition.PubSubConditionOrBuilder> getConditionsOrBuilderList()

Conditions to apply to the expression.

repeated .google.privacy.dlp.v2.DataProfilePubSubCondition.PubSubCondition conditions = 2;

Returns
TypeDescription
List<? extends com.google.privacy.dlp.v2.DataProfilePubSubCondition.PubSubConditionOrBuilder>

getDefaultInstanceForType()

public DataProfilePubSubCondition.PubSubExpressions getDefaultInstanceForType()
Returns
TypeDescription
DataProfilePubSubCondition.PubSubExpressions

getLogicalOperator()

public DataProfilePubSubCondition.PubSubExpressions.PubSubLogicalOperator getLogicalOperator()

The operator to apply to the collection of conditions.

.google.privacy.dlp.v2.DataProfilePubSubCondition.PubSubExpressions.PubSubLogicalOperator logical_operator = 1;

Returns
TypeDescription
DataProfilePubSubCondition.PubSubExpressions.PubSubLogicalOperator

The logicalOperator.

getLogicalOperatorValue()

public int getLogicalOperatorValue()

The operator to apply to the collection of conditions.

.google.privacy.dlp.v2.DataProfilePubSubCondition.PubSubExpressions.PubSubLogicalOperator logical_operator = 1;

Returns
TypeDescription
int

The enum numeric value on the wire for logicalOperator.

getParserForType()

public Parser<DataProfilePubSubCondition.PubSubExpressions> getParserForType()
Returns
TypeDescription
Parser<PubSubExpressions>
Overrides

getSerializedSize()

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

newBuilderForType(GeneratedMessageV3.BuilderParent parent)

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

newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)

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

toBuilder()

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

writeTo(CodedOutputStream output)

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