/*
 * Copyright 2020 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/osconfig/v1/vulnerability.proto

package com.google.cloud.osconfig.v1;

public interface VulnerabilityReportOrBuilder
    extends
    // @@protoc_insertion_point(interface_extends:google.cloud.osconfig.v1.VulnerabilityReport)
    com.google.protobuf.MessageOrBuilder {

  /**
   *
   *
   * <pre>
   * Output only. The `vulnerabilityReport` API resource name.
   * Format:
   * `projects/{project_number}/locations/{location}/instances/{instance_id}/vulnerabilityReport`
   * </pre>
   *
   * <code>string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];</code>
   *
   * @return The name.
   */
  java.lang.String getName();
  /**
   *
   *
   * <pre>
   * Output only. The `vulnerabilityReport` API resource name.
   * Format:
   * `projects/{project_number}/locations/{location}/instances/{instance_id}/vulnerabilityReport`
   * </pre>
   *
   * <code>string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];</code>
   *
   * @return The bytes for name.
   */
  com.google.protobuf.ByteString getNameBytes();

  /**
   *
   *
   * <pre>
   * Output only. List of vulnerabilities affecting the VM.
   * </pre>
   *
   * <code>
   * repeated .google.cloud.osconfig.v1.VulnerabilityReport.Vulnerability vulnerabilities = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];
   * </code>
   */
  java.util.List<com.google.cloud.osconfig.v1.VulnerabilityReport.Vulnerability>
      getVulnerabilitiesList();
  /**
   *
   *
   * <pre>
   * Output only. List of vulnerabilities affecting the VM.
   * </pre>
   *
   * <code>
   * repeated .google.cloud.osconfig.v1.VulnerabilityReport.Vulnerability vulnerabilities = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];
   * </code>
   */
  com.google.cloud.osconfig.v1.VulnerabilityReport.Vulnerability getVulnerabilities(int index);
  /**
   *
   *
   * <pre>
   * Output only. List of vulnerabilities affecting the VM.
   * </pre>
   *
   * <code>
   * repeated .google.cloud.osconfig.v1.VulnerabilityReport.Vulnerability vulnerabilities = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];
   * </code>
   */
  int getVulnerabilitiesCount();
  /**
   *
   *
   * <pre>
   * Output only. List of vulnerabilities affecting the VM.
   * </pre>
   *
   * <code>
   * repeated .google.cloud.osconfig.v1.VulnerabilityReport.Vulnerability vulnerabilities = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];
   * </code>
   */
  java.util.List<? extends com.google.cloud.osconfig.v1.VulnerabilityReport.VulnerabilityOrBuilder>
      getVulnerabilitiesOrBuilderList();
  /**
   *
   *
   * <pre>
   * Output only. List of vulnerabilities affecting the VM.
   * </pre>
   *
   * <code>
   * repeated .google.cloud.osconfig.v1.VulnerabilityReport.Vulnerability vulnerabilities = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];
   * </code>
   */
  com.google.cloud.osconfig.v1.VulnerabilityReport.VulnerabilityOrBuilder
      getVulnerabilitiesOrBuilder(int index);

  /**
   *
   *
   * <pre>
   * Output only. The timestamp for when the last vulnerability report was generated for the
   * VM.
   * </pre>
   *
   * <code>.google.protobuf.Timestamp update_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];
   * </code>
   *
   * @return Whether the updateTime field is set.
   */
  boolean hasUpdateTime();
  /**
   *
   *
   * <pre>
   * Output only. The timestamp for when the last vulnerability report was generated for the
   * VM.
   * </pre>
   *
   * <code>.google.protobuf.Timestamp update_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];
   * </code>
   *
   * @return The updateTime.
   */
  com.google.protobuf.Timestamp getUpdateTime();
  /**
   *
   *
   * <pre>
   * Output only. The timestamp for when the last vulnerability report was generated for the
   * VM.
   * </pre>
   *
   * <code>.google.protobuf.Timestamp update_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];
   * </code>
   */
  com.google.protobuf.TimestampOrBuilder getUpdateTimeOrBuilder();
}
