Interface ContentPolicy.PolicyActionOrBuilder (3.103.0)

public static interface ContentPolicy.PolicyActionOrBuilder extends MessageOrBuilder

Implements

MessageOrBuilder

Methods

getActionCase()

public abstract ContentPolicy.PolicyAction.ActionCase getActionCase()
Returns
Type Description
ContentPolicy.PolicyAction.ActionCase

getReturnVerdict()

public abstract ContentPolicyVerdict getReturnVerdict()

Optional. If set, the verdict will be returned to the user.

.google.privacy.dlp.v2.ContentPolicyVerdict return_verdict = 1 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
ContentPolicyVerdict

The returnVerdict.

getReturnVerdictValue()

public abstract int getReturnVerdictValue()

Optional. If set, the verdict will be returned to the user.

.google.privacy.dlp.v2.ContentPolicyVerdict return_verdict = 1 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
int

The enum numeric value on the wire for returnVerdict.

hasReturnVerdict()

public abstract boolean hasReturnVerdict()

Optional. If set, the verdict will be returned to the user.

.google.privacy.dlp.v2.ContentPolicyVerdict return_verdict = 1 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
boolean

Whether the returnVerdict field is set.