Package com.google.cloud.audit
Interface ViolationInfoOrBuilder
-
- All Superinterfaces:
com.google.protobuf.MessageLiteOrBuilder
,com.google.protobuf.MessageOrBuilder
- All Known Implementing Classes:
ViolationInfo
,ViolationInfo.Builder
public interface ViolationInfoOrBuilder extends com.google.protobuf.MessageOrBuilder
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description java.lang.String
getCheckedValue()
Optional.com.google.protobuf.ByteString
getCheckedValueBytes()
Optional.java.lang.String
getConstraint()
Optional.com.google.protobuf.ByteString
getConstraintBytes()
Optional.java.lang.String
getErrorMessage()
Optional.com.google.protobuf.ByteString
getErrorMessageBytes()
Optional.ViolationInfo.PolicyType
getPolicyType()
Optional.int
getPolicyTypeValue()
Optional.-
Methods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getDefaultInstanceForType, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
-
-
-
Method Detail
-
getConstraint
java.lang.String getConstraint()
Optional. Constraint name
string constraint = 1 [(.google.api.field_behavior) = OPTIONAL];
- Returns:
- The constraint.
-
getConstraintBytes
com.google.protobuf.ByteString getConstraintBytes()
Optional. Constraint name
string constraint = 1 [(.google.api.field_behavior) = OPTIONAL];
- Returns:
- The bytes for constraint.
-
getErrorMessage
java.lang.String getErrorMessage()
Optional. Error message that policy is indicating.
string error_message = 2 [(.google.api.field_behavior) = OPTIONAL];
- Returns:
- The errorMessage.
-
getErrorMessageBytes
com.google.protobuf.ByteString getErrorMessageBytes()
Optional. Error message that policy is indicating.
string error_message = 2 [(.google.api.field_behavior) = OPTIONAL];
- Returns:
- The bytes for errorMessage.
-
getCheckedValue
java.lang.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:
- The checkedValue.
-
getCheckedValueBytes
com.google.protobuf.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:
- The bytes for checkedValue.
-
getPolicyTypeValue
int getPolicyTypeValue()
Optional. Indicates the type of the policy.
.google.cloud.audit.ViolationInfo.PolicyType policy_type = 4 [(.google.api.field_behavior) = OPTIONAL];
- Returns:
- The enum numeric value on the wire for policyType.
-
getPolicyType
ViolationInfo.PolicyType getPolicyType()
Optional. Indicates the type of the policy.
.google.cloud.audit.ViolationInfo.PolicyType policy_type = 4 [(.google.api.field_behavior) = OPTIONAL];
- Returns:
- The policyType.
-
-