/*
 * 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/vmmigration/v1/vmmigration.proto

package com.google.cloud.vmmigration.v1;

public interface UtilizationReportOrBuilder
    extends
    // @@protoc_insertion_point(interface_extends:google.cloud.vmmigration.v1.UtilizationReport)
    com.google.protobuf.MessageOrBuilder {

  /**
   *
   *
   * <pre>
   * Output only. The report unique name.
   * </pre>
   *
   * <code>string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];</code>
   *
   * @return The name.
   */
  java.lang.String getName();
  /**
   *
   *
   * <pre>
   * Output only. The report unique name.
   * </pre>
   *
   * <code>string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];</code>
   *
   * @return The bytes for name.
   */
  com.google.protobuf.ByteString getNameBytes();

  /**
   *
   *
   * <pre>
   * The report display name, as assigned by the user.
   * </pre>
   *
   * <code>string display_name = 2;</code>
   *
   * @return The displayName.
   */
  java.lang.String getDisplayName();
  /**
   *
   *
   * <pre>
   * The report display name, as assigned by the user.
   * </pre>
   *
   * <code>string display_name = 2;</code>
   *
   * @return The bytes for displayName.
   */
  com.google.protobuf.ByteString getDisplayNameBytes();

  /**
   *
   *
   * <pre>
   * Output only. Current state of the report.
   * </pre>
   *
   * <code>
   * .google.cloud.vmmigration.v1.UtilizationReport.State state = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];
   * </code>
   *
   * @return The enum numeric value on the wire for state.
   */
  int getStateValue();
  /**
   *
   *
   * <pre>
   * Output only. Current state of the report.
   * </pre>
   *
   * <code>
   * .google.cloud.vmmigration.v1.UtilizationReport.State state = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];
   * </code>
   *
   * @return The state.
   */
  com.google.cloud.vmmigration.v1.UtilizationReport.State getState();

  /**
   *
   *
   * <pre>
   * Output only. The time the state was last set.
   * </pre>
   *
   * <code>.google.protobuf.Timestamp state_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];
   * </code>
   *
   * @return Whether the stateTime field is set.
   */
  boolean hasStateTime();
  /**
   *
   *
   * <pre>
   * Output only. The time the state was last set.
   * </pre>
   *
   * <code>.google.protobuf.Timestamp state_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];
   * </code>
   *
   * @return The stateTime.
   */
  com.google.protobuf.Timestamp getStateTime();
  /**
   *
   *
   * <pre>
   * Output only. The time the state was last set.
   * </pre>
   *
   * <code>.google.protobuf.Timestamp state_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];
   * </code>
   */
  com.google.protobuf.TimestampOrBuilder getStateTimeOrBuilder();

  /**
   *
   *
   * <pre>
   * Output only. Provides details on the state of the report in case of an
   * error.
   * </pre>
   *
   * <code>.google.rpc.Status error = 5 [(.google.api.field_behavior) = OUTPUT_ONLY];</code>
   *
   * @return Whether the error field is set.
   */
  boolean hasError();
  /**
   *
   *
   * <pre>
   * Output only. Provides details on the state of the report in case of an
   * error.
   * </pre>
   *
   * <code>.google.rpc.Status error = 5 [(.google.api.field_behavior) = OUTPUT_ONLY];</code>
   *
   * @return The error.
   */
  com.google.rpc.Status getError();
  /**
   *
   *
   * <pre>
   * Output only. Provides details on the state of the report in case of an
   * error.
   * </pre>
   *
   * <code>.google.rpc.Status error = 5 [(.google.api.field_behavior) = OUTPUT_ONLY];</code>
   */
  com.google.rpc.StatusOrBuilder getErrorOrBuilder();

  /**
   *
   *
   * <pre>
   * Output only. The time the report was created (this refers to the time of
   * the request, not the time the report creation completed).
   * </pre>
   *
   * <code>.google.protobuf.Timestamp create_time = 6 [(.google.api.field_behavior) = OUTPUT_ONLY];
   * </code>
   *
   * @return Whether the createTime field is set.
   */
  boolean hasCreateTime();
  /**
   *
   *
   * <pre>
   * Output only. The time the report was created (this refers to the time of
   * the request, not the time the report creation completed).
   * </pre>
   *
   * <code>.google.protobuf.Timestamp create_time = 6 [(.google.api.field_behavior) = OUTPUT_ONLY];
   * </code>
   *
   * @return The createTime.
   */
  com.google.protobuf.Timestamp getCreateTime();
  /**
   *
   *
   * <pre>
   * Output only. The time the report was created (this refers to the time of
   * the request, not the time the report creation completed).
   * </pre>
   *
   * <code>.google.protobuf.Timestamp create_time = 6 [(.google.api.field_behavior) = OUTPUT_ONLY];
   * </code>
   */
  com.google.protobuf.TimestampOrBuilder getCreateTimeOrBuilder();

  /**
   *
   *
   * <pre>
   * Time frame of the report.
   * </pre>
   *
   * <code>.google.cloud.vmmigration.v1.UtilizationReport.TimeFrame time_frame = 7;</code>
   *
   * @return The enum numeric value on the wire for timeFrame.
   */
  int getTimeFrameValue();
  /**
   *
   *
   * <pre>
   * Time frame of the report.
   * </pre>
   *
   * <code>.google.cloud.vmmigration.v1.UtilizationReport.TimeFrame time_frame = 7;</code>
   *
   * @return The timeFrame.
   */
  com.google.cloud.vmmigration.v1.UtilizationReport.TimeFrame getTimeFrame();

  /**
   *
   *
   * <pre>
   * Output only. The point in time when the time frame ends. Notice that the
   * time frame is counted backwards. For instance if the "frame_end_time" value
   * is 2021/01/20 and the time frame is WEEK then the report covers the week
   * between 2021/01/20 and 2021/01/14.
   * </pre>
   *
   * <code>
   * .google.protobuf.Timestamp frame_end_time = 8 [(.google.api.field_behavior) = OUTPUT_ONLY];
   * </code>
   *
   * @return Whether the frameEndTime field is set.
   */
  boolean hasFrameEndTime();
  /**
   *
   *
   * <pre>
   * Output only. The point in time when the time frame ends. Notice that the
   * time frame is counted backwards. For instance if the "frame_end_time" value
   * is 2021/01/20 and the time frame is WEEK then the report covers the week
   * between 2021/01/20 and 2021/01/14.
   * </pre>
   *
   * <code>
   * .google.protobuf.Timestamp frame_end_time = 8 [(.google.api.field_behavior) = OUTPUT_ONLY];
   * </code>
   *
   * @return The frameEndTime.
   */
  com.google.protobuf.Timestamp getFrameEndTime();
  /**
   *
   *
   * <pre>
   * Output only. The point in time when the time frame ends. Notice that the
   * time frame is counted backwards. For instance if the "frame_end_time" value
   * is 2021/01/20 and the time frame is WEEK then the report covers the week
   * between 2021/01/20 and 2021/01/14.
   * </pre>
   *
   * <code>
   * .google.protobuf.Timestamp frame_end_time = 8 [(.google.api.field_behavior) = OUTPUT_ONLY];
   * </code>
   */
  com.google.protobuf.TimestampOrBuilder getFrameEndTimeOrBuilder();

  /**
   *
   *
   * <pre>
   * Output only. Total number of VMs included in the report.
   * </pre>
   *
   * <code>int32 vm_count = 9 [(.google.api.field_behavior) = OUTPUT_ONLY];</code>
   *
   * @return The vmCount.
   */
  int getVmCount();

  /**
   *
   *
   * <pre>
   * List of utilization information per VM.
   * When sent as part of the request, the "vm_id" field is used in order to
   * specify which VMs to include in the report. In that case all other fields
   * are ignored.
   * </pre>
   *
   * <code>repeated .google.cloud.vmmigration.v1.VmUtilizationInfo vms = 10;</code>
   */
  java.util.List<com.google.cloud.vmmigration.v1.VmUtilizationInfo> getVmsList();
  /**
   *
   *
   * <pre>
   * List of utilization information per VM.
   * When sent as part of the request, the "vm_id" field is used in order to
   * specify which VMs to include in the report. In that case all other fields
   * are ignored.
   * </pre>
   *
   * <code>repeated .google.cloud.vmmigration.v1.VmUtilizationInfo vms = 10;</code>
   */
  com.google.cloud.vmmigration.v1.VmUtilizationInfo getVms(int index);
  /**
   *
   *
   * <pre>
   * List of utilization information per VM.
   * When sent as part of the request, the "vm_id" field is used in order to
   * specify which VMs to include in the report. In that case all other fields
   * are ignored.
   * </pre>
   *
   * <code>repeated .google.cloud.vmmigration.v1.VmUtilizationInfo vms = 10;</code>
   */
  int getVmsCount();
  /**
   *
   *
   * <pre>
   * List of utilization information per VM.
   * When sent as part of the request, the "vm_id" field is used in order to
   * specify which VMs to include in the report. In that case all other fields
   * are ignored.
   * </pre>
   *
   * <code>repeated .google.cloud.vmmigration.v1.VmUtilizationInfo vms = 10;</code>
   */
  java.util.List<? extends com.google.cloud.vmmigration.v1.VmUtilizationInfoOrBuilder>
      getVmsOrBuilderList();
  /**
   *
   *
   * <pre>
   * List of utilization information per VM.
   * When sent as part of the request, the "vm_id" field is used in order to
   * specify which VMs to include in the report. In that case all other fields
   * are ignored.
   * </pre>
   *
   * <code>repeated .google.cloud.vmmigration.v1.VmUtilizationInfo vms = 10;</code>
   */
  com.google.cloud.vmmigration.v1.VmUtilizationInfoOrBuilder getVmsOrBuilder(int index);
}
