Class DataProfilePubSubCondition.Builder (3.39.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
TypeDescription
Descriptor

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

public DataProfilePubSubCondition.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
NameDescription
fieldFieldDescriptor
valueObject
Returns
TypeDescription
DataProfilePubSubCondition.Builder
Overrides

build()

public DataProfilePubSubCondition build()
Returns
TypeDescription
DataProfilePubSubCondition

buildPartial()

public DataProfilePubSubCondition buildPartial()
Returns
TypeDescription
DataProfilePubSubCondition

clear()

public DataProfilePubSubCondition.Builder clear()
Returns
TypeDescription
DataProfilePubSubCondition.Builder
Overrides

clearExpressions()

public DataProfilePubSubCondition.Builder clearExpressions()

An expression.

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

Returns
TypeDescription
DataProfilePubSubCondition.Builder

clearField(Descriptors.FieldDescriptor field)

public DataProfilePubSubCondition.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
NameDescription
fieldFieldDescriptor
Returns
TypeDescription
DataProfilePubSubCondition.Builder
Overrides

clearOneof(Descriptors.OneofDescriptor oneof)

public DataProfilePubSubCondition.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
NameDescription
oneofOneofDescriptor
Returns
TypeDescription
DataProfilePubSubCondition.Builder
Overrides

clone()

public DataProfilePubSubCondition.Builder clone()
Returns
TypeDescription
DataProfilePubSubCondition.Builder
Overrides

getDefaultInstanceForType()

public DataProfilePubSubCondition getDefaultInstanceForType()
Returns
TypeDescription
DataProfilePubSubCondition

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
TypeDescription
Descriptor
Overrides

getExpressions()

public DataProfilePubSubCondition.PubSubExpressions getExpressions()

An expression.

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

Returns
TypeDescription
DataProfilePubSubCondition.PubSubExpressions

The expressions.

getExpressionsBuilder()

public DataProfilePubSubCondition.PubSubExpressions.Builder getExpressionsBuilder()

An expression.

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

Returns
TypeDescription
DataProfilePubSubCondition.PubSubExpressions.Builder

getExpressionsOrBuilder()

public DataProfilePubSubCondition.PubSubExpressionsOrBuilder getExpressionsOrBuilder()

An expression.

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

Returns
TypeDescription
DataProfilePubSubCondition.PubSubExpressionsOrBuilder

hasExpressions()

public boolean hasExpressions()

An expression.

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

Returns
TypeDescription
boolean

Whether the expressions field is set.

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
TypeDescription
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
TypeDescription
boolean
Overrides

mergeExpressions(DataProfilePubSubCondition.PubSubExpressions value)

public DataProfilePubSubCondition.Builder mergeExpressions(DataProfilePubSubCondition.PubSubExpressions value)

An expression.

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

Parameter
NameDescription
valueDataProfilePubSubCondition.PubSubExpressions
Returns
TypeDescription
DataProfilePubSubCondition.Builder

mergeFrom(DataProfilePubSubCondition other)

public DataProfilePubSubCondition.Builder mergeFrom(DataProfilePubSubCondition other)
Parameter
NameDescription
otherDataProfilePubSubCondition
Returns
TypeDescription
DataProfilePubSubCondition.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public DataProfilePubSubCondition.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputCodedInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
DataProfilePubSubCondition.Builder
Overrides
Exceptions
TypeDescription
IOException

mergeFrom(Message other)

public DataProfilePubSubCondition.Builder mergeFrom(Message other)
Parameter
NameDescription
otherMessage
Returns
TypeDescription
DataProfilePubSubCondition.Builder
Overrides

mergeUnknownFields(UnknownFieldSet unknownFields)

public final DataProfilePubSubCondition.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
NameDescription
unknownFieldsUnknownFieldSet
Returns
TypeDescription
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
NameDescription
valueDataProfilePubSubCondition.PubSubExpressions
Returns
TypeDescription
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
NameDescription
builderForValueDataProfilePubSubCondition.PubSubExpressions.Builder
Returns
TypeDescription
DataProfilePubSubCondition.Builder

setField(Descriptors.FieldDescriptor field, Object value)

public DataProfilePubSubCondition.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
NameDescription
fieldFieldDescriptor
valueObject
Returns
TypeDescription
DataProfilePubSubCondition.Builder
Overrides

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

public DataProfilePubSubCondition.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters
NameDescription
fieldFieldDescriptor
indexint
valueObject
Returns
TypeDescription
DataProfilePubSubCondition.Builder
Overrides

setUnknownFields(UnknownFieldSet unknownFields)

public final DataProfilePubSubCondition.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
NameDescription
unknownFieldsUnknownFieldSet
Returns
TypeDescription
DataProfilePubSubCondition.Builder
Overrides