Class DataProfilePubSubCondition.Builder (3.52.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
IOException

mergeFrom(Message other)

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

mergeUnknownFields(UnknownFieldSet unknownFields)

public final DataProfilePubSubCondition.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
Name Description
unknownFields UnknownFieldSet
Returns
Type Description
DataProfilePubSubCondition.Builder
Overrides

setExpressions(DataProfilePubSubCondition.PubSubExpressions value)

public DataProfilePubSubCondition.Builder setExpressions(DataProfilePubSubCondition.PubSubExpressions value)

An expression.

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

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

setExpressions(DataProfilePubSubCondition.PubSubExpressions.Builder builderForValue)

public DataProfilePubSubCondition.Builder setExpressions(DataProfilePubSubCondition.PubSubExpressions.Builder builderForValue)

An expression.

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

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

setField(Descriptors.FieldDescriptor field, Object value)

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

setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)

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

setUnknownFields(UnknownFieldSet unknownFields)

public final DataProfilePubSubCondition.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
Name Description
unknownFields UnknownFieldSet
Returns
Type Description
DataProfilePubSubCondition.Builder
Overrides