com.google.cloud.audit.ViolationInfoOrBuilder Maven / Gradle / Ivy
/*
* Copyright 2024 Google LLC
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* https://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
// Generated by the protocol buffer compiler. DO NOT EDIT!
// source: google/cloud/audit/audit_log.proto
// Protobuf Java Version: 3.25.3
package com.google.cloud.audit;
public interface ViolationInfoOrBuilder
extends
// @@protoc_insertion_point(interface_extends:google.cloud.audit.ViolationInfo)
com.google.protobuf.MessageOrBuilder {
/**
*
*
*
* Optional. Constraint name
*
*
* string constraint = 1 [(.google.api.field_behavior) = OPTIONAL];
*
* @return The constraint.
*/
java.lang.String getConstraint();
/**
*
*
*
* Optional. Constraint name
*
*
* string constraint = 1 [(.google.api.field_behavior) = OPTIONAL];
*
* @return The bytes for constraint.
*/
com.google.protobuf.ByteString getConstraintBytes();
/**
*
*
*
* Optional. Error message that policy is indicating.
*
*
* string error_message = 2 [(.google.api.field_behavior) = OPTIONAL];
*
* @return The errorMessage.
*/
java.lang.String getErrorMessage();
/**
*
*
*
* Optional. Error message that policy is indicating.
*
*
* string error_message = 2 [(.google.api.field_behavior) = OPTIONAL];
*
* @return The bytes for errorMessage.
*/
com.google.protobuf.ByteString getErrorMessageBytes();
/**
*
*
*
* 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];
*
* @return The checkedValue.
*/
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];
*
* @return The bytes for checkedValue.
*/
com.google.protobuf.ByteString getCheckedValueBytes();
/**
*
*
*
* Optional. Indicates the type of the policy.
*
*
*
* .google.cloud.audit.ViolationInfo.PolicyType policy_type = 4 [(.google.api.field_behavior) = OPTIONAL];
*
*
* @return The enum numeric value on the wire for policyType.
*/
int getPolicyTypeValue();
/**
*
*
*
* Optional. Indicates the type of the policy.
*
*
*
* .google.cloud.audit.ViolationInfo.PolicyType policy_type = 4 [(.google.api.field_behavior) = OPTIONAL];
*
*
* @return The policyType.
*/
com.google.cloud.audit.ViolationInfo.PolicyType getPolicyType();
}