Interface ViolationInfoOrBuilder (2.11.0)

public interface ViolationInfoOrBuilder extends MessageOrBuilder

Implements

MessageOrBuilder

Methods

getCheckedValue()

public abstract String getCheckedValue()

Optional. Value that is being checked for the policy. This could be in encrypted form (if pii sensitive). This field will only be emitted in LIST_POLICY types

string checked_value = 3 [(.google.api.field_behavior) = OPTIONAL];

Returns
TypeDescription
String

The checkedValue.

getCheckedValueBytes()

public abstract ByteString getCheckedValueBytes()

Optional. Value that is being checked for the policy. This could be in encrypted form (if pii sensitive). This field will only be emitted in LIST_POLICY types

string checked_value = 3 [(.google.api.field_behavior) = OPTIONAL];

Returns
TypeDescription
ByteString

The bytes for checkedValue.

getConstraint()

public abstract String getConstraint()

Optional. Constraint name

string constraint = 1 [(.google.api.field_behavior) = OPTIONAL];

Returns
TypeDescription
String

The constraint.

getConstraintBytes()

public abstract ByteString getConstraintBytes()

Optional. Constraint name

string constraint = 1 [(.google.api.field_behavior) = OPTIONAL];

Returns
TypeDescription
ByteString

The bytes for constraint.

getErrorMessage()

public abstract String getErrorMessage()

Optional. Error message that policy is indicating.

string error_message = 2 [(.google.api.field_behavior) = OPTIONAL];

Returns
TypeDescription
String

The errorMessage.

getErrorMessageBytes()

public abstract ByteString getErrorMessageBytes()

Optional. Error message that policy is indicating.

string error_message = 2 [(.google.api.field_behavior) = OPTIONAL];

Returns
TypeDescription
ByteString

The bytes for errorMessage.

getPolicyType()

public abstract ViolationInfo.PolicyType getPolicyType()

Optional. Indicates the type of the policy.

.google.cloud.audit.ViolationInfo.PolicyType policy_type = 4 [(.google.api.field_behavior) = OPTIONAL];

Returns
TypeDescription
ViolationInfo.PolicyType

The policyType.

getPolicyTypeValue()

public abstract int getPolicyTypeValue()

Optional. Indicates the type of the policy.

.google.cloud.audit.ViolationInfo.PolicyType policy_type = 4 [(.google.api.field_behavior) = OPTIONAL];

Returns
TypeDescription
int

The enum numeric value on the wire for policyType.