Class DataProfilePubSubCondition.Builder (3.47.0)

public static final class DataProfilePubSubCondition.Builder extends GeneratedMessageV3.Builder<DataProfilePubSubCondition.Builder> implements DataProfilePubSubConditionOrBuilder

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

Protobuf type google.privacy.dlp.v2.DataProfilePubSubCondition

Static Methods

getDescriptor()

public static final Descriptors.Descriptor getDescriptor()
Returns
Type Description
Descriptor

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

public DataProfilePubSubCondition.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
Name Description
field FieldDescriptor
value Object
Returns
Type Description
DataProfilePubSubCondition.Builder
Overrides

build()

public DataProfilePubSubCondition build()
Returns
Type Description
DataProfilePubSubCondition

buildPartial()

public DataProfilePubSubCondition buildPartial()
Returns
Type Description
DataProfilePubSubCondition

clear()

public DataProfilePubSubCondition.Builder clear()
Returns
Type Description
DataProfilePubSubCondition.Builder
Overrides

clearExpressions()

public DataProfilePubSubCondition.Builder clearExpressions()

An expression.

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

Returns
Type Description
DataProfilePubSubCondition.Builder

clearField(Descriptors.FieldDescriptor field)

public DataProfilePubSubCondition.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
Name Description
field FieldDescriptor
Returns
Type Description
DataProfilePubSubCondition.Builder
Overrides

clearOneof(Descriptors.OneofDescriptor oneof)

public DataProfilePubSubCondition.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
Name Description
oneof OneofDescriptor
Returns
Type Description
DataProfilePubSubCondition.Builder
Overrides

clone()

public DataProfilePubSubCondition.Builder clone()
Returns
Type Description
DataProfilePubSubCondition.Builder
Overrides

getDefaultInstanceForType()

public DataProfilePubSubCondition getDefaultInstanceForType()
Returns
Type Description
DataProfilePubSubCondition

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
Type Description
Descriptor
Overrides

getExpressions()

public DataProfilePubSubCondition.PubSubExpressions getExpressions()

An expression.

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

Returns
Type Description
DataProfilePubSubCondition.PubSubExpressions

The expressions.

getExpressionsBuilder()

public DataProfilePubSubCondition.PubSubExpressions.Builder getExpressionsBuilder()

An expression.

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

Returns
Type Description
DataProfilePubSubCondition.PubSubExpressions.Builder

getExpressionsOrBuilder()

public DataProfilePubSubCondition.PubSubExpressionsOrBuilder getExpressionsOrBuilder()

An expression.

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

Returns
Type Description
DataProfilePubSubCondition.PubSubExpressionsOrBuilder

hasExpressions()

public boolean hasExpressions()

An expression.

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

Returns
Type Description
boolean

Whether the expressions field is set.

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
Type Description
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

mergeExpressions(DataProfilePubSubCondition.PubSubExpressions value)

public DataProfilePubSubCondition.Builder mergeExpressions(DataProfilePubSubCondition.PubSubExpressions value)

An expression.

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

Parameter
Name Description
value DataProfilePubSubCondition.PubSubExpressions
Returns
Type Description
DataProfilePubSubCondition.Builder

mergeFrom(DataProfilePubSubCondition other)

public DataProfilePubSubCondition.Builder mergeFrom(DataProfilePubSubCondition other)
Parameter
Name Description
other DataProfilePubSubCondition
Returns
Type Description
DataProfilePubSubCondition.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public DataProfilePubSubCondition.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input CodedInputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
DataProfilePubSubCondition.Builder
Overrides
Exceptions
Type Description