All Downloads are FREE. Search and download functionalities are using the official Maven repository.

com.google.cloud.assuredworkloads.v1.ViolationOrBuilder 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/assuredworkloads/v1/assuredworkloads.proto

// Protobuf Java Version: 3.25.4
package com.google.cloud.assuredworkloads.v1;

public interface ViolationOrBuilder
    extends
    // @@protoc_insertion_point(interface_extends:google.cloud.assuredworkloads.v1.Violation)
    com.google.protobuf.MessageOrBuilder {

  /**
   *
   *
   * 
   * Output only. Immutable. Name of the Violation.
   * Format:
   * organizations/{organization}/locations/{location}/workloads/{workload_id}/violations/{violations_id}
   * 
* * * string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.field_behavior) = IMMUTABLE]; * * * @return The name. */ java.lang.String getName(); /** * * *
   * Output only. Immutable. Name of the Violation.
   * Format:
   * organizations/{organization}/locations/{location}/workloads/{workload_id}/violations/{violations_id}
   * 
* * * string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.field_behavior) = IMMUTABLE]; * * * @return The bytes for name. */ com.google.protobuf.ByteString getNameBytes(); /** * * *
   * Output only. Description for the Violation.
   * e.g. OrgPolicy gcp.resourceLocations has non compliant value.
   * 
* * string description = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; * * @return The description. */ java.lang.String getDescription(); /** * * *
   * Output only. Description for the Violation.
   * e.g. OrgPolicy gcp.resourceLocations has non compliant value.
   * 
* * string description = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; * * @return The bytes for description. */ com.google.protobuf.ByteString getDescriptionBytes(); /** * * *
   * Output only. Time of the event which triggered the Violation.
   * 
* * .google.protobuf.Timestamp begin_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; * * * @return Whether the beginTime field is set. */ boolean hasBeginTime(); /** * * *
   * Output only. Time of the event which triggered the Violation.
   * 
* * .google.protobuf.Timestamp begin_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; * * * @return The beginTime. */ com.google.protobuf.Timestamp getBeginTime(); /** * * *
   * Output only. Time of the event which triggered the Violation.
   * 
* * .google.protobuf.Timestamp begin_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; * */ com.google.protobuf.TimestampOrBuilder getBeginTimeOrBuilder(); /** * * *
   * Output only. The last time when the Violation record was updated.
   * 
* * .google.protobuf.Timestamp update_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; * * * @return Whether the updateTime field is set. */ boolean hasUpdateTime(); /** * * *
   * Output only. The last time when the Violation record was updated.
   * 
* * .google.protobuf.Timestamp update_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; * * * @return The updateTime. */ com.google.protobuf.Timestamp getUpdateTime(); /** * * *
   * Output only. The last time when the Violation record was updated.
   * 
* * .google.protobuf.Timestamp update_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; * */ com.google.protobuf.TimestampOrBuilder getUpdateTimeOrBuilder(); /** * * *
   * Output only. Time of the event which fixed the Violation.
   * If the violation is ACTIVE this will be empty.
   * 
* * .google.protobuf.Timestamp resolve_time = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; * * * @return Whether the resolveTime field is set. */ boolean hasResolveTime(); /** * * *
   * Output only. Time of the event which fixed the Violation.
   * If the violation is ACTIVE this will be empty.
   * 
* * .google.protobuf.Timestamp resolve_time = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; * * * @return The resolveTime. */ com.google.protobuf.Timestamp getResolveTime(); /** * * *
   * Output only. Time of the event which fixed the Violation.
   * If the violation is ACTIVE this will be empty.
   * 
* * .google.protobuf.Timestamp resolve_time = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; * */ com.google.protobuf.TimestampOrBuilder getResolveTimeOrBuilder(); /** * * *
   * Output only. Category under which this violation is mapped.
   * e.g. Location, Service Usage, Access, Encryption, etc.
   * 
* * string category = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; * * @return The category. */ java.lang.String getCategory(); /** * * *
   * Output only. Category under which this violation is mapped.
   * e.g. Location, Service Usage, Access, Encryption, etc.
   * 
* * string category = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; * * @return The bytes for category. */ com.google.protobuf.ByteString getCategoryBytes(); /** * * *
   * Output only. State of the violation
   * 
* * * .google.cloud.assuredworkloads.v1.Violation.State state = 7 [(.google.api.field_behavior) = OUTPUT_ONLY]; * * * @return The enum numeric value on the wire for state. */ int getStateValue(); /** * * *
   * Output only. State of the violation
   * 
* * * .google.cloud.assuredworkloads.v1.Violation.State state = 7 [(.google.api.field_behavior) = OUTPUT_ONLY]; * * * @return The state. */ com.google.cloud.assuredworkloads.v1.Violation.State getState(); /** * * *
   * Output only. Immutable. The org-policy-constraint that was incorrectly changed, which resulted in
   * this violation.
   * 
* * * string org_policy_constraint = 8 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.field_behavior) = IMMUTABLE]; * * * @return The orgPolicyConstraint. */ java.lang.String getOrgPolicyConstraint(); /** * * *
   * Output only. Immutable. The org-policy-constraint that was incorrectly changed, which resulted in
   * this violation.
   * 
* * * string org_policy_constraint = 8 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.field_behavior) = IMMUTABLE]; * * * @return The bytes for orgPolicyConstraint. */ com.google.protobuf.ByteString getOrgPolicyConstraintBytes(); /** * * *
   * Output only. Immutable. Audit Log Link for violated resource
   * Format:
   * https://console.cloud.google.com/logs/query;query={logName}{protoPayload.resourceName}{timeRange}{folder}
   * 
* * * string audit_log_link = 11 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.field_behavior) = IMMUTABLE]; * * * @return The auditLogLink. */ java.lang.String getAuditLogLink(); /** * * *
   * Output only. Immutable. Audit Log Link for violated resource
   * Format:
   * https://console.cloud.google.com/logs/query;query={logName}{protoPayload.resourceName}{timeRange}{folder}
   * 
* * * string audit_log_link = 11 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.field_behavior) = IMMUTABLE]; * * * @return The bytes for auditLogLink. */ com.google.protobuf.ByteString getAuditLogLinkBytes(); /** * * *
   * Output only. Immutable. Name of the OrgPolicy which was modified with non-compliant change and
   * resulted this violation.
   *  Format:
   *  projects/{project_number}/policies/{constraint_name}
   *  folders/{folder_id}/policies/{constraint_name}
   *  organizations/{organization_id}/policies/{constraint_name}
   * 
* * * string non_compliant_org_policy = 12 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.field_behavior) = IMMUTABLE]; * * * @return The nonCompliantOrgPolicy. */ java.lang.String getNonCompliantOrgPolicy(); /** * * *
   * Output only. Immutable. Name of the OrgPolicy which was modified with non-compliant change and
   * resulted this violation.
   *  Format:
   *  projects/{project_number}/policies/{constraint_name}
   *  folders/{folder_id}/policies/{constraint_name}
   *  organizations/{organization_id}/policies/{constraint_name}
   * 
* * * string non_compliant_org_policy = 12 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.field_behavior) = IMMUTABLE]; * * * @return The bytes for nonCompliantOrgPolicy. */ com.google.protobuf.ByteString getNonCompliantOrgPolicyBytes(); /** * * *
   * Output only. Compliance violation remediation
   * 
* * * .google.cloud.assuredworkloads.v1.Violation.Remediation remediation = 13 [(.google.api.field_behavior) = OUTPUT_ONLY]; * * * @return Whether the remediation field is set. */ boolean hasRemediation(); /** * * *
   * Output only. Compliance violation remediation
   * 
* * * .google.cloud.assuredworkloads.v1.Violation.Remediation remediation = 13 [(.google.api.field_behavior) = OUTPUT_ONLY]; * * * @return The remediation. */ com.google.cloud.assuredworkloads.v1.Violation.Remediation getRemediation(); /** * * *
   * Output only. Compliance violation remediation
   * 
* * * .google.cloud.assuredworkloads.v1.Violation.Remediation remediation = 13 [(.google.api.field_behavior) = OUTPUT_ONLY]; * */ com.google.cloud.assuredworkloads.v1.Violation.RemediationOrBuilder getRemediationOrBuilder(); /** * * *
   * Output only. A boolean that indicates if the violation is acknowledged
   * 
* * bool acknowledged = 14 [(.google.api.field_behavior) = OUTPUT_ONLY]; * * @return The acknowledged. */ boolean getAcknowledged(); /** * * *
   * Optional. Timestamp when this violation was acknowledged last.
   * This will be absent when acknowledged field is marked as false.
   * 
* * * optional .google.protobuf.Timestamp acknowledgement_time = 15 [(.google.api.field_behavior) = OPTIONAL]; * * * @return Whether the acknowledgementTime field is set. */ boolean hasAcknowledgementTime(); /** * * *
   * Optional. Timestamp when this violation was acknowledged last.
   * This will be absent when acknowledged field is marked as false.
   * 
* * * optional .google.protobuf.Timestamp acknowledgement_time = 15 [(.google.api.field_behavior) = OPTIONAL]; * * * @return The acknowledgementTime. */ com.google.protobuf.Timestamp getAcknowledgementTime(); /** * * *
   * Optional. Timestamp when this violation was acknowledged last.
   * This will be absent when acknowledged field is marked as false.
   * 
* * * optional .google.protobuf.Timestamp acknowledgement_time = 15 [(.google.api.field_behavior) = OPTIONAL]; * */ com.google.protobuf.TimestampOrBuilder getAcknowledgementTimeOrBuilder(); /** * * *
   * Output only. Immutable. Audit Log link to find business justification provided for violation
   * exception. Format:
   * https://console.cloud.google.com/logs/query;query={logName}{protoPayload.resourceName}{protoPayload.methodName}{timeRange}{organization}
   * 
* * * string exception_audit_log_link = 16 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.field_behavior) = IMMUTABLE]; * * * @return The exceptionAuditLogLink. */ java.lang.String getExceptionAuditLogLink(); /** * * *
   * Output only. Immutable. Audit Log link to find business justification provided for violation
   * exception. Format:
   * https://console.cloud.google.com/logs/query;query={logName}{protoPayload.resourceName}{protoPayload.methodName}{timeRange}{organization}
   * 
* * * string exception_audit_log_link = 16 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.field_behavior) = IMMUTABLE]; * * * @return The bytes for exceptionAuditLogLink. */ com.google.protobuf.ByteString getExceptionAuditLogLinkBytes(); }




© 2015 - 2024 Weber Informatics LLC | Privacy Policy