/*
 * 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;

/**
 *
 *
 * <pre>
 * Utilization report details the utilization (CPU, memory, etc.) of selected
 * source VMs.
 * </pre>
 *
 * Protobuf type {@code google.cloud.vmmigration.v1.UtilizationReport}
 */
public final class UtilizationReport extends com.google.protobuf.GeneratedMessageV3
    implements
    // @@protoc_insertion_point(message_implements:google.cloud.vmmigration.v1.UtilizationReport)
    UtilizationReportOrBuilder {
  private static final long serialVersionUID = 0L;
  // Use UtilizationReport.newBuilder() to construct.
  private UtilizationReport(com.google.protobuf.GeneratedMessageV3.Builder<?> builder) {
    super(builder);
  }

  private UtilizationReport() {
    name_ = "";
    displayName_ = "";
    state_ = 0;
    timeFrame_ = 0;
    vms_ = java.util.Collections.emptyList();
  }

  @java.lang.Override
  @SuppressWarnings({"unused"})
  protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
    return new UtilizationReport();
  }

  @java.lang.Override
  public final com.google.protobuf.UnknownFieldSet getUnknownFields() {
    return this.unknownFields;
  }

  public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
    return com.google.cloud.vmmigration.v1.VmMigrationProto
        .internal_static_google_cloud_vmmigration_v1_UtilizationReport_descriptor;
  }

  @java.lang.Override
  protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
      internalGetFieldAccessorTable() {
    return com.google.cloud.vmmigration.v1.VmMigrationProto
        .internal_static_google_cloud_vmmigration_v1_UtilizationReport_fieldAccessorTable
        .ensureFieldAccessorsInitialized(
            com.google.cloud.vmmigration.v1.UtilizationReport.class,
            com.google.cloud.vmmigration.v1.UtilizationReport.Builder.class);
  }

  /**
   *
   *
   * <pre>
   * Utilization report state.
   * </pre>
   *
   * Protobuf enum {@code google.cloud.vmmigration.v1.UtilizationReport.State}
   */
  public enum State implements com.google.protobuf.ProtocolMessageEnum {
    /**
     *
     *
     * <pre>
     * The state is unknown. This value is not in use.
     * </pre>
     *
     * <code>STATE_UNSPECIFIED = 0;</code>
     */
    STATE_UNSPECIFIED(0),
    /**
     *
     *
     * <pre>
     * The report is in the making.
     * </pre>
     *
     * <code>CREATING = 1;</code>
     */
    CREATING(1),
    /**
     *
     *
     * <pre>
     * Report creation completed successfully.
     * </pre>
     *
     * <code>SUCCEEDED = 2;</code>
     */
    SUCCEEDED(2),
    /**
     *
     *
     * <pre>
     * Report creation failed.
     * </pre>
     *
     * <code>FAILED = 3;</code>
     */
    FAILED(3),
    UNRECOGNIZED(-1),
    ;

    /**
     *
     *
     * <pre>
     * The state is unknown. This value is not in use.
     * </pre>
     *
     * <code>STATE_UNSPECIFIED = 0;</code>
     */
    public static final int STATE_UNSPECIFIED_VALUE = 0;
    /**
     *
     *
     * <pre>
     * The report is in the making.
     * </pre>
     *
     * <code>CREATING = 1;</code>
     */
    public static final int CREATING_VALUE = 1;
    /**
     *
     *
     * <pre>
     * Report creation completed successfully.
     * </pre>
     *
     * <code>SUCCEEDED = 2;</code>
     */
    public static final int SUCCEEDED_VALUE = 2;
    /**
     *
     *
     * <pre>
     * Report creation failed.
     * </pre>
     *
     * <code>FAILED = 3;</code>
     */
    public static final int FAILED_VALUE = 3;

    public final int getNumber() {
      if (this == UNRECOGNIZED) {
        throw new java.lang.IllegalArgumentException(
            "Can't get the number of an unknown enum value.");
      }
      return value;
    }

    /**
     * @param value The numeric wire value of the corresponding enum entry.
     * @return The enum associated with the given numeric wire value.
     * @deprecated Use {@link #forNumber(int)} instead.
     */
    @java.lang.Deprecated
    public static State valueOf(int value) {
      return forNumber(value);
    }

    /**
     * @param value The numeric wire value of the corresponding enum entry.
     * @return The enum associated with the given numeric wire value.
     */
    public static State forNumber(int value) {
      switch (value) {
        case 0:
          return STATE_UNSPECIFIED;
        case 1:
          return CREATING;
        case 2:
          return SUCCEEDED;
        case 3:
          return FAILED;
        default:
          return null;
      }
    }

    public static com.google.protobuf.Internal.EnumLiteMap<State> internalGetValueMap() {
      return internalValueMap;
    }

    private static final com.google.protobuf.Internal.EnumLiteMap<State> internalValueMap =
        new com.google.protobuf.Internal.EnumLiteMap<State>() {
          public State findValueByNumber(int number) {
            return State.forNumber(number);
          }
        };

    public final com.google.protobuf.Descriptors.EnumValueDescriptor getValueDescriptor() {
      if (this == UNRECOGNIZED) {
        throw new java.lang.IllegalStateException(
            "Can't get the descriptor of an unrecognized enum value.");
      }
      return getDescriptor().getValues().get(ordinal());
    }

    public final com.google.protobuf.Descriptors.EnumDescriptor getDescriptorForType() {
      return getDescriptor();
    }

    public static final com.google.protobuf.Descriptors.EnumDescriptor getDescriptor() {
      return com.google.cloud.vmmigration.v1.UtilizationReport.getDescriptor()
          .getEnumTypes()
          .get(0);
    }

    private static final State[] VALUES = values();

    public static State valueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc) {
      if (desc.getType() != getDescriptor()) {
        throw new java.lang.IllegalArgumentException("EnumValueDescriptor is not for this type.");
      }
      if (desc.getIndex() == -1) {
        return UNRECOGNIZED;
      }
      return VALUES[desc.getIndex()];
    }

    private final int value;

    private State(int value) {
      this.value = value;
    }

    // @@protoc_insertion_point(enum_scope:google.cloud.vmmigration.v1.UtilizationReport.State)
  }

  /**
   *
   *
   * <pre>
   * Report time frame options.
   * </pre>
   *
   * Protobuf enum {@code google.cloud.vmmigration.v1.UtilizationReport.TimeFrame}
   */
  public enum TimeFrame implements com.google.protobuf.ProtocolMessageEnum {
    /**
     *
     *
     * <pre>
     * The time frame was not specified and will default to WEEK.
     * </pre>
     *
     * <code>TIME_FRAME_UNSPECIFIED = 0;</code>
     */
    TIME_FRAME_UNSPECIFIED(0),
    /**
     *
     *
     * <pre>
     * One week.
     * </pre>
     *
     * <code>WEEK = 1;</code>
     */
    WEEK(1),
    /**
     *
     *
     * <pre>
     * One month.
     * </pre>
     *
     * <code>MONTH = 2;</code>
     */
    MONTH(2),
    /**
     *
     *
     * <pre>
     * One year.
     * </pre>
     *
     * <code>YEAR = 3;</code>
     */
    YEAR(3),
    UNRECOGNIZED(-1),
    ;

    /**
     *
     *
     * <pre>
     * The time frame was not specified and will default to WEEK.
     * </pre>
     *
     * <code>TIME_FRAME_UNSPECIFIED = 0;</code>
     */
    public static final int TIME_FRAME_UNSPECIFIED_VALUE = 0;
    /**
     *
     *
     * <pre>
     * One week.
     * </pre>
     *
     * <code>WEEK = 1;</code>
     */
    public static final int WEEK_VALUE = 1;
    /**
     *
     *
     * <pre>
     * One month.
     * </pre>
     *
     * <code>MONTH = 2;</code>
     */
    public static final int MONTH_VALUE = 2;
    /**
     *
     *
     * <pre>
     * One year.
     * </pre>
     *
     * <code>YEAR = 3;</code>
     */
    public static final int YEAR_VALUE = 3;

    public final int getNumber() {
      if (this == UNRECOGNIZED) {
        throw new java.lang.IllegalArgumentException(
            "Can't get the number of an unknown enum value.");
      }
      return value;
    }

    /**
     * @param value The numeric wire value of the corresponding enum entry.
     * @return The enum associated with the given numeric wire value.
     * @deprecated Use {@link #forNumber(int)} instead.
     */
    @java.lang.Deprecated
    public static TimeFrame valueOf(int value) {
      return forNumber(value);
    }

    /**
     * @param value The numeric wire value of the corresponding enum entry.
     * @return The enum associated with the given numeric wire value.
     */
    public static TimeFrame forNumber(int value) {
      switch (value) {
        case 0:
          return TIME_FRAME_UNSPECIFIED;
        case 1:
          return WEEK;
        case 2:
          return MONTH;
        case 3:
          return YEAR;
        default:
          return null;
      }
    }

    public static com.google.protobuf.Internal.EnumLiteMap<TimeFrame> internalGetValueMap() {
      return internalValueMap;
    }

    private static final com.google.protobuf.Internal.EnumLiteMap<TimeFrame> internalValueMap =
        new com.google.protobuf.Internal.EnumLiteMap<TimeFrame>() {
          public TimeFrame findValueByNumber(int number) {
            return TimeFrame.forNumber(number);
          }
        };

    public final com.google.protobuf.Descriptors.EnumValueDescriptor getValueDescriptor() {
      if (this == UNRECOGNIZED) {
        throw new java.lang.IllegalStateException(
            "Can't get the descriptor of an unrecognized enum value.");
      }
      return getDescriptor().getValues().get(ordinal());
    }

    public final com.google.protobuf.Descriptors.EnumDescriptor getDescriptorForType() {
      return getDescriptor();
    }

    public static final com.google.protobuf.Descriptors.EnumDescriptor getDescriptor() {
      return com.google.cloud.vmmigration.v1.UtilizationReport.getDescriptor()
          .getEnumTypes()
          .get(1);
    }

    private static final TimeFrame[] VALUES = values();

    public static TimeFrame valueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc) {
      if (desc.getType() != getDescriptor()) {
        throw new java.lang.IllegalArgumentException("EnumValueDescriptor is not for this type.");
      }
      if (desc.getIndex() == -1) {
        return UNRECOGNIZED;
      }
      return VALUES[desc.getIndex()];
    }

    private final int value;

    private TimeFrame(int value) {
      this.value = value;
    }

    // @@protoc_insertion_point(enum_scope:google.cloud.vmmigration.v1.UtilizationReport.TimeFrame)
  }

  public static final int NAME_FIELD_NUMBER = 1;

  @SuppressWarnings("serial")
  private volatile java.lang.Object name_ = "";
  /**
   *
   *
   * <pre>
   * Output only. The report unique name.
   * </pre>
   *
   * <code>string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];</code>
   *
   * @return The name.
   */
  @java.lang.Override
  public java.lang.String getName() {
    java.lang.Object ref = name_;
    if (ref instanceof java.lang.String) {
      return (java.lang.String) ref;
    } else {
      com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref;
      java.lang.String s = bs.toStringUtf8();
      name_ = s;
      return s;
    }
  }
  /**
   *
   *
   * <pre>
   * Output only. The report unique name.
   * </pre>
   *
   * <code>string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];</code>
   *
   * @return The bytes for name.
   */
  @java.lang.Override
  public com.google.protobuf.ByteString getNameBytes() {
    java.lang.Object ref = name_;
    if (ref instanceof java.lang.String) {
      com.google.protobuf.ByteString b =
          com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref);
      name_ = b;
      return b;
    } else {
      return (com.google.protobuf.ByteString) ref;
    }
  }

  public static final int DISPLAY_NAME_FIELD_NUMBER = 2;

  @SuppressWarnings("serial")
  private volatile java.lang.Object displayName_ = "";
  /**
   *
   *
   * <pre>
   * The report display name, as assigned by the user.
   * </pre>
   *
   * <code>string display_name = 2;</code>
   *
   * @return The displayName.
   */
  @java.lang.Override
  public java.lang.String getDisplayName() {
    java.lang.Object ref = displayName_;
    if (ref instanceof java.lang.String) {
      return (java.lang.String) ref;
    } else {
      com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref;
      java.lang.String s = bs.toStringUtf8();
      displayName_ = s;
      return s;
    }
  }
  /**
   *
   *
   * <pre>
   * The report display name, as assigned by the user.
   * </pre>
   *
   * <code>string display_name = 2;</code>
   *
   * @return The bytes for displayName.
   */
  @java.lang.Override
  public com.google.protobuf.ByteString getDisplayNameBytes() {
    java.lang.Object ref = displayName_;
    if (ref instanceof java.lang.String) {
      com.google.protobuf.ByteString b =
          com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref);
      displayName_ = b;
      return b;
    } else {
      return (com.google.protobuf.ByteString) ref;
    }
  }

  public static final int STATE_FIELD_NUMBER = 3;
  private int state_ = 0;
  /**
   *
   *
   * <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.
   */
  @java.lang.Override
  public int getStateValue() {
    return state_;
  }
  /**
   *
   *
   * <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.
   */
  @java.lang.Override
  public com.google.cloud.vmmigration.v1.UtilizationReport.State getState() {
    com.google.cloud.vmmigration.v1.UtilizationReport.State result =
        com.google.cloud.vmmigration.v1.UtilizationReport.State.forNumber(state_);
    return result == null
        ? com.google.cloud.vmmigration.v1.UtilizationReport.State.UNRECOGNIZED
        : result;
  }

  public static final int STATE_TIME_FIELD_NUMBER = 4;
  private com.google.protobuf.Timestamp stateTime_;
  /**
   *
   *
   * <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.
   */
  @java.lang.Override
  public boolean hasStateTime() {
    return stateTime_ != null;
  }
  /**
   *
   *
   * <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.
   */
  @java.lang.Override
  public com.google.protobuf.Timestamp getStateTime() {
    return stateTime_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : stateTime_;
  }
  /**
   *
   *
   * <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>
   */
  @java.lang.Override
  public com.google.protobuf.TimestampOrBuilder getStateTimeOrBuilder() {
    return stateTime_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : stateTime_;
  }

  public static final int ERROR_FIELD_NUMBER = 5;
  private com.google.rpc.Status error_;
  /**
   *
   *
   * <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.
   */
  @java.lang.Override
  public boolean hasError() {
    return error_ != null;
  }
  /**
   *
   *
   * <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.
   */
  @java.lang.Override
  public com.google.rpc.Status getError() {
    return error_ == null ? com.google.rpc.Status.getDefaultInstance() : error_;
  }
  /**
   *
   *
   * <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>
   */
  @java.lang.Override
  public com.google.rpc.StatusOrBuilder getErrorOrBuilder() {
    return error_ == null ? com.google.rpc.Status.getDefaultInstance() : error_;
  }

  public static final int CREATE_TIME_FIELD_NUMBER = 6;
  private com.google.protobuf.Timestamp createTime_;
  /**
   *
   *
   * <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.
   */
  @java.lang.Override
  public boolean hasCreateTime() {
    return createTime_ != null;
  }
  /**
   *
   *
   * <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.
   */
  @java.lang.Override
  public com.google.protobuf.Timestamp getCreateTime() {
    return createTime_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : createTime_;
  }
  /**
   *
   *
   * <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>
   */
  @java.lang.Override
  public com.google.protobuf.TimestampOrBuilder getCreateTimeOrBuilder() {
    return createTime_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : createTime_;
  }

  public static final int TIME_FRAME_FIELD_NUMBER = 7;
  private int timeFrame_ = 0;
  /**
   *
   *
   * <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.
   */
  @java.lang.Override
  public int getTimeFrameValue() {
    return timeFrame_;
  }
  /**
   *
   *
   * <pre>
   * Time frame of the report.
   * </pre>
   *
   * <code>.google.cloud.vmmigration.v1.UtilizationReport.TimeFrame time_frame = 7;</code>
   *
   * @return The timeFrame.
   */
  @java.lang.Override
  public com.google.cloud.vmmigration.v1.UtilizationReport.TimeFrame getTimeFrame() {
    com.google.cloud.vmmigration.v1.UtilizationReport.TimeFrame result =
        com.google.cloud.vmmigration.v1.UtilizationReport.TimeFrame.forNumber(timeFrame_);
    return result == null
        ? com.google.cloud.vmmigration.v1.UtilizationReport.TimeFrame.UNRECOGNIZED
        : result;
  }

  public static final int FRAME_END_TIME_FIELD_NUMBER = 8;
  private com.google.protobuf.Timestamp frameEndTime_;
  /**
   *
   *
   * <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.
   */
  @java.lang.Override
  public boolean hasFrameEndTime() {
    return frameEndTime_ != null;
  }
  /**
   *
   *
   * <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.
   */
  @java.lang.Override
  public com.google.protobuf.Timestamp getFrameEndTime() {
    return frameEndTime_ == null
        ? com.google.protobuf.Timestamp.getDefaultInstance()
        : frameEndTime_;
  }
  /**
   *
   *
   * <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>
   */
  @java.lang.Override
  public com.google.protobuf.TimestampOrBuilder getFrameEndTimeOrBuilder() {
    return frameEndTime_ == null
        ? com.google.protobuf.Timestamp.getDefaultInstance()
        : frameEndTime_;
  }

  public static final int VM_COUNT_FIELD_NUMBER = 9;
  private int vmCount_ = 0;
  /**
   *
   *
   * <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.
   */
  @java.lang.Override
  public int getVmCount() {
    return vmCount_;
  }

  public static final int VMS_FIELD_NUMBER = 10;

  @SuppressWarnings("serial")
  private java.util.List<com.google.cloud.vmmigration.v1.VmUtilizationInfo> vms_;
  /**
   *
   *
   * <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.lang.Override
  public java.util.List<com.google.cloud.vmmigration.v1.VmUtilizationInfo> getVmsList() {
    return vms_;
  }
  /**
   *
   *
   * <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.lang.Override
  public java.util.List<? extends com.google.cloud.vmmigration.v1.VmUtilizationInfoOrBuilder>
      getVmsOrBuilderList() {
    return vms_;
  }
  /**
   *
   *
   * <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.lang.Override
  public int getVmsCount() {
    return vms_.size();
  }
  /**
   *
   *
   * <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.lang.Override
  public com.google.cloud.vmmigration.v1.VmUtilizationInfo getVms(int index) {
    return vms_.get(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>
   */
  @java.lang.Override
  public com.google.cloud.vmmigration.v1.VmUtilizationInfoOrBuilder getVmsOrBuilder(int index) {
    return vms_.get(index);
  }

  private byte memoizedIsInitialized = -1;

  @java.lang.Override
  public final boolean isInitialized() {
    byte isInitialized = memoizedIsInitialized;
    if (isInitialized == 1) return true;
    if (isInitialized == 0) return false;

    memoizedIsInitialized = 1;
    return true;
  }

  @java.lang.Override
  public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException {
    if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(name_)) {
      com.google.protobuf.GeneratedMessageV3.writeString(output, 1, name_);
    }
    if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(displayName_)) {
      com.google.protobuf.GeneratedMessageV3.writeString(output, 2, displayName_);
    }
    if (state_
        != com.google.cloud.vmmigration.v1.UtilizationReport.State.STATE_UNSPECIFIED.getNumber()) {
      output.writeEnum(3, state_);
    }
    if (stateTime_ != null) {
      output.writeMessage(4, getStateTime());
    }
    if (error_ != null) {
      output.writeMessage(5, getError());
    }
    if (createTime_ != null) {
      output.writeMessage(6, getCreateTime());
    }
    if (timeFrame_
        != com.google.cloud.vmmigration.v1.UtilizationReport.TimeFrame.TIME_FRAME_UNSPECIFIED
            .getNumber()) {
      output.writeEnum(7, timeFrame_);
    }
    if (frameEndTime_ != null) {
      output.writeMessage(8, getFrameEndTime());
    }
    if (vmCount_ != 0) {
      output.writeInt32(9, vmCount_);
    }
    for (int i = 0; i < vms_.size(); i++) {
      output.writeMessage(10, vms_.get(i));
    }
    getUnknownFields().writeTo(output);
  }

  @java.lang.Override
  public int getSerializedSize() {
    int size = memoizedSize;
    if (size != -1) return size;

    size = 0;
    if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(name_)) {
      size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, name_);
    }
    if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(displayName_)) {
      size += com.google.protobuf.GeneratedMessageV3.computeStringSize(2, displayName_);
    }
    if (state_
        != com.google.cloud.vmmigration.v1.UtilizationReport.State.STATE_UNSPECIFIED.getNumber()) {
      size += com.google.protobuf.CodedOutputStream.computeEnumSize(3, state_);
    }
    if (stateTime_ != null) {
      size += com.google.protobuf.CodedOutputStream.computeMessageSize(4, getStateTime());
    }
    if (error_ != null) {
      size += com.google.protobuf.CodedOutputStream.computeMessageSize(5, getError());
    }
    if (createTime_ != null) {
      size += com.google.protobuf.CodedOutputStream.computeMessageSize(6, getCreateTime());
    }
    if (timeFrame_
        != com.google.cloud.vmmigration.v1.UtilizationReport.TimeFrame.TIME_FRAME_UNSPECIFIED
            .getNumber()) {
      size += com.google.protobuf.CodedOutputStream.computeEnumSize(7, timeFrame_);
    }
    if (frameEndTime_ != null) {
      size += com.google.protobuf.CodedOutputStream.computeMessageSize(8, getFrameEndTime());
    }
    if (vmCount_ != 0) {
      size += com.google.protobuf.CodedOutputStream.computeInt32Size(9, vmCount_);
    }
    for (int i = 0; i < vms_.size(); i++) {
      size += com.google.protobuf.CodedOutputStream.computeMessageSize(10, vms_.get(i));
    }
    size += getUnknownFields().getSerializedSize();
    memoizedSize = size;
    return size;
  }

  @java.lang.Override
  public boolean equals(final java.lang.Object obj) {
    if (obj == this) {
      return true;
    }
    if (!(obj instanceof com.google.cloud.vmmigration.v1.UtilizationReport)) {
      return super.equals(obj);
    }
    com.google.cloud.vmmigration.v1.UtilizationReport other =
        (com.google.cloud.vmmigration.v1.UtilizationReport) obj;

    if (!getName().equals(other.getName())) return false;
    if (!getDisplayName().equals(other.getDisplayName())) return false;
    if (state_ != other.state_) return false;
    if (hasStateTime() != other.hasStateTime()) return false;
    if (hasStateTime()) {
      if (!getStateTime().equals(other.getStateTime())) return false;
    }
    if (hasError() != other.hasError()) return false;
    if (hasError()) {
      if (!getError().equals(other.getError())) return false;
    }
    if (hasCreateTime() != other.hasCreateTime()) return false;
    if (hasCreateTime()) {
      if (!getCreateTime().equals(other.getCreateTime())) return false;
    }
    if (timeFrame_ != other.timeFrame_) return false;
    if (hasFrameEndTime() != other.hasFrameEndTime()) return false;
    if (hasFrameEndTime()) {
      if (!getFrameEndTime().equals(other.getFrameEndTime())) return false;
    }
    if (getVmCount() != other.getVmCount()) return false;
    if (!getVmsList().equals(other.getVmsList())) return false;
    if (!getUnknownFields().equals(other.getUnknownFields())) return false;
    return true;
  }

  @java.lang.Override
  public int hashCode() {
    if (memoizedHashCode != 0) {
      return memoizedHashCode;
    }
    int hash = 41;
    hash = (19 * hash) + getDescriptor().hashCode();
    hash = (37 * hash) + NAME_FIELD_NUMBER;
    hash = (53 * hash) + getName().hashCode();
    hash = (37 * hash) + DISPLAY_NAME_FIELD_NUMBER;
    hash = (53 * hash) + getDisplayName().hashCode();
    hash = (37 * hash) + STATE_FIELD_NUMBER;
    hash = (53 * hash) + state_;
    if (hasStateTime()) {
      hash = (37 * hash) + STATE_TIME_FIELD_NUMBER;
      hash = (53 * hash) + getStateTime().hashCode();
    }
    if (hasError()) {
      hash = (37 * hash) + ERROR_FIELD_NUMBER;
      hash = (53 * hash) + getError().hashCode();
    }
    if (hasCreateTime()) {
      hash = (37 * hash) + CREATE_TIME_FIELD_NUMBER;
      hash = (53 * hash) + getCreateTime().hashCode();
    }
    hash = (37 * hash) + TIME_FRAME_FIELD_NUMBER;
    hash = (53 * hash) + timeFrame_;
    if (hasFrameEndTime()) {
      hash = (37 * hash) + FRAME_END_TIME_FIELD_NUMBER;
      hash = (53 * hash) + getFrameEndTime().hashCode();
    }
    hash = (37 * hash) + VM_COUNT_FIELD_NUMBER;
    hash = (53 * hash) + getVmCount();
    if (getVmsCount() > 0) {
      hash = (37 * hash) + VMS_FIELD_NUMBER;
      hash = (53 * hash) + getVmsList().hashCode();
    }
    hash = (29 * hash) + getUnknownFields().hashCode();
    memoizedHashCode = hash;
    return hash;
  }

  public static com.google.cloud.vmmigration.v1.UtilizationReport parseFrom(
      java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException {
    return PARSER.parseFrom(data);
  }

  public static com.google.cloud.vmmigration.v1.UtilizationReport parseFrom(
      java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
      throws com.google.protobuf.InvalidProtocolBufferException {
    return PARSER.parseFrom(data, extensionRegistry);
  }

  public static com.google.cloud.vmmigration.v1.UtilizationReport parseFrom(
      com.google.protobuf.ByteString data)
      throws com.google.protobuf.InvalidProtocolBufferException {
    return PARSER.parseFrom(data);
  }

  public static com.google.cloud.vmmigration.v1.UtilizationReport parseFrom(
      com.google.protobuf.ByteString data,
      com.google.protobuf.ExtensionRegistryLite extensionRegistry)
      throws com.google.protobuf.InvalidProtocolBufferException {
    return PARSER.parseFrom(data, extensionRegistry);
  }

  public static com.google.cloud.vmmigration.v1.UtilizationReport parseFrom(byte[] data)
      throws com.google.protobuf.InvalidProtocolBufferException {
    return PARSER.parseFrom(data);
  }

  public static com.google.cloud.vmmigration.v1.UtilizationReport parseFrom(
      byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
      throws com.google.protobuf.InvalidProtocolBufferException {
    return PARSER.parseFrom(data, extensionRegistry);
  }

  public static com.google.cloud.vmmigration.v1.UtilizationReport parseFrom(
      java.io.InputStream input) throws java.io.IOException {
    return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input);
  }

  public static com.google.cloud.vmmigration.v1.UtilizationReport parseFrom(
      java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
      throws java.io.IOException {
    return com.google.protobuf.GeneratedMessageV3.parseWithIOException(
        PARSER, input, extensionRegistry);
  }

  public static com.google.cloud.vmmigration.v1.UtilizationReport parseDelimitedFrom(
      java.io.InputStream input) throws java.io.IOException {
    return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input);
  }

  public static com.google.cloud.vmmigration.v1.UtilizationReport parseDelimitedFrom(
      java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
      throws java.io.IOException {
    return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(
        PARSER, input, extensionRegistry);
  }

  public static com.google.cloud.vmmigration.v1.UtilizationReport parseFrom(
      com.google.protobuf.CodedInputStream input) throws java.io.IOException {
    return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input);
  }

  public static com.google.cloud.vmmigration.v1.UtilizationReport parseFrom(
      com.google.protobuf.CodedInputStream input,
      com.google.protobuf.ExtensionRegistryLite extensionRegistry)
      throws java.io.IOException {
    return com.google.protobuf.GeneratedMessageV3.parseWithIOException(
        PARSER, input, extensionRegistry);
  }

  @java.lang.Override
  public Builder newBuilderForType() {
    return newBuilder();
  }

  public static Builder newBuilder() {
    return DEFAULT_INSTANCE.toBuilder();
  }

  public static Builder newBuilder(com.google.cloud.vmmigration.v1.UtilizationReport prototype) {
    return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype);
  }

  @java.lang.Override
  public Builder toBuilder() {
    return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this);
  }

  @java.lang.Override
  protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
    Builder builder = new Builder(parent);
    return builder;
  }
  /**
   *
   *
   * <pre>
   * Utilization report details the utilization (CPU, memory, etc.) of selected
   * source VMs.
   * </pre>
   *
   * Protobuf type {@code google.cloud.vmmigration.v1.UtilizationReport}
   */
  public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder<Builder>
      implements
      // @@protoc_insertion_point(builder_implements:google.cloud.vmmigration.v1.UtilizationReport)
      com.google.cloud.vmmigration.v1.UtilizationReportOrBuilder {
    public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
      return com.google.cloud.vmmigration.v1.VmMigrationProto
          .internal_static_google_cloud_vmmigration_v1_UtilizationReport_descriptor;
    }

    @java.lang.Override
    protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
        internalGetFieldAccessorTable() {
      return com.google.cloud.vmmigration.v1.VmMigrationProto
          .internal_static_google_cloud_vmmigration_v1_UtilizationReport_fieldAccessorTable
          .ensureFieldAccessorsInitialized(
              com.google.cloud.vmmigration.v1.UtilizationReport.class,
              com.google.cloud.vmmigration.v1.UtilizationReport.Builder.class);
    }

    // Construct using com.google.cloud.vmmigration.v1.UtilizationReport.newBuilder()
    private Builder() {}

    private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
      super(parent);
    }

    @java.lang.Override
    public Builder clear() {
      super.clear();
      bitField0_ = 0;
      name_ = "";
      displayName_ = "";
      state_ = 0;
      stateTime_ = null;
      if (stateTimeBuilder_ != null) {
        stateTimeBuilder_.dispose();
        stateTimeBuilder_ = null;
      }
      error_ = null;
      if (errorBuilder_ != null) {
        errorBuilder_.dispose();
        errorBuilder_ = null;
      }
      createTime_ = null;
      if (createTimeBuilder_ != null) {
        createTimeBuilder_.dispose();
        createTimeBuilder_ = null;
      }
      timeFrame_ = 0;
      frameEndTime_ = null;
      if (frameEndTimeBuilder_ != null) {
        frameEndTimeBuilder_.dispose();
        frameEndTimeBuilder_ = null;
      }
      vmCount_ = 0;
      if (vmsBuilder_ == null) {
        vms_ = java.util.Collections.emptyList();
      } else {
        vms_ = null;
        vmsBuilder_.clear();
      }
      bitField0_ = (bitField0_ & ~0x00000200);
      return this;
    }

    @java.lang.Override
    public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() {
      return com.google.cloud.vmmigration.v1.VmMigrationProto
          .internal_static_google_cloud_vmmigration_v1_UtilizationReport_descriptor;
    }

    @java.lang.Override
    public com.google.cloud.vmmigration.v1.UtilizationReport getDefaultInstanceForType() {
      return com.google.cloud.vmmigration.v1.UtilizationReport.getDefaultInstance();
    }

    @java.lang.Override
    public com.google.cloud.vmmigration.v1.UtilizationReport build() {
      com.google.cloud.vmmigration.v1.UtilizationReport result = buildPartial();
      if (!result.isInitialized()) {
        throw newUninitializedMessageException(result);
      }
      return result;
    }

    @java.lang.Override
    public com.google.cloud.vmmigration.v1.UtilizationReport buildPartial() {
      com.google.cloud.vmmigration.v1.UtilizationReport result =
          new com.google.cloud.vmmigration.v1.UtilizationReport(this);
      buildPartialRepeatedFields(result);
      if (bitField0_ != 0) {
        buildPartial0(result);
      }
      onBuilt();
      return result;
    }

    private void buildPartialRepeatedFields(
        com.google.cloud.vmmigration.v1.UtilizationReport result) {
      if (vmsBuilder_ == null) {
        if (((bitField0_ & 0x00000200) != 0)) {
          vms_ = java.util.Collections.unmodifiableList(vms_);
          bitField0_ = (bitField0_ & ~0x00000200);
        }
        result.vms_ = vms_;
      } else {
        result.vms_ = vmsBuilder_.build();
      }
    }

    private void buildPartial0(com.google.cloud.vmmigration.v1.UtilizationReport result) {
      int from_bitField0_ = bitField0_;
      if (((from_bitField0_ & 0x00000001) != 0)) {
        result.name_ = name_;
      }
      if (((from_bitField0_ & 0x00000002) != 0)) {
        result.displayName_ = displayName_;
      }
      if (((from_bitField0_ & 0x00000004) != 0)) {
        result.state_ = state_;
      }
      if (((from_bitField0_ & 0x00000008) != 0)) {
        result.stateTime_ = stateTimeBuilder_ == null ? stateTime_ : stateTimeBuilder_.build();
      }
      if (((from_bitField0_ & 0x00000010) != 0)) {
        result.error_ = errorBuilder_ == null ? error_ : errorBuilder_.build();
      }
      if (((from_bitField0_ & 0x00000020) != 0)) {
        result.createTime_ = createTimeBuilder_ == null ? createTime_ : createTimeBuilder_.build();
      }
      if (((from_bitField0_ & 0x00000040) != 0)) {
        result.timeFrame_ = timeFrame_;
      }
      if (((from_bitField0_ & 0x00000080) != 0)) {
        result.frameEndTime_ =
            frameEndTimeBuilder_ == null ? frameEndTime_ : frameEndTimeBuilder_.build();
      }
      if (((from_bitField0_ & 0x00000100) != 0)) {
        result.vmCount_ = vmCount_;
      }
    }

    @java.lang.Override
    public Builder clone() {
      return super.clone();
    }

    @java.lang.Override
    public Builder setField(
        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
      return super.setField(field, value);
    }

    @java.lang.Override
    public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) {
      return super.clearField(field);
    }

    @java.lang.Override
    public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) {
      return super.clearOneof(oneof);
    }

    @java.lang.Override
    public Builder setRepeatedField(
        com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) {
      return super.setRepeatedField(field, index, value);
    }

    @java.lang.Override
    public Builder addRepeatedField(
        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
      return super.addRepeatedField(field, value);
    }

    @java.lang.Override
    public Builder mergeFrom(com.google.protobuf.Message other) {
      if (other instanceof com.google.cloud.vmmigration.v1.UtilizationReport) {
        return mergeFrom((com.google.cloud.vmmigration.v1.UtilizationReport) other);
      } else {
        super.mergeFrom(other);
        return this;
      }
    }

    public Builder mergeFrom(com.google.cloud.vmmigration.v1.UtilizationReport other) {
      if (other == com.google.cloud.vmmigration.v1.UtilizationReport.getDefaultInstance())
        return this;
      if (!other.getName().isEmpty()) {
        name_ = other.name_;
        bitField0_ |= 0x00000001;
        onChanged();
      }
      if (!other.getDisplayName().isEmpty()) {
        displayName_ = other.displayName_;
        bitField0_ |= 0x00000002;
        onChanged();
      }
      if (other.state_ != 0) {
        setStateValue(other.getStateValue());
      }
      if (other.hasStateTime()) {
        mergeStateTime(other.getStateTime());
      }
      if (other.hasError()) {
        mergeError(other.getError());
      }
      if (other.hasCreateTime()) {
        mergeCreateTime(other.getCreateTime());
      }
      if (other.timeFrame_ != 0) {
        setTimeFrameValue(other.getTimeFrameValue());
      }
      if (other.hasFrameEndTime()) {
        mergeFrameEndTime(other.getFrameEndTime());
      }
      if (other.getVmCount() != 0) {
        setVmCount(other.getVmCount());
      }
      if (vmsBuilder_ == null) {
        if (!other.vms_.isEmpty()) {
          if (vms_.isEmpty()) {
            vms_ = other.vms_;
            bitField0_ = (bitField0_ & ~0x00000200);
          } else {
            ensureVmsIsMutable();
            vms_.addAll(other.vms_);
          }
          onChanged();
        }
      } else {
        if (!other.vms_.isEmpty()) {
          if (vmsBuilder_.isEmpty()) {
            vmsBuilder_.dispose();
            vmsBuilder_ = null;
            vms_ = other.vms_;
            bitField0_ = (bitField0_ & ~0x00000200);
            vmsBuilder_ =
                com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders
                    ? getVmsFieldBuilder()
                    : null;
          } else {
            vmsBuilder_.addAllMessages(other.vms_);
          }
        }
      }
      this.mergeUnknownFields(other.getUnknownFields());
      onChanged();
      return this;
    }

    @java.lang.Override
    public final boolean isInitialized() {
      return true;
    }

    @java.lang.Override
    public Builder mergeFrom(
        com.google.protobuf.CodedInputStream input,
        com.google.protobuf.ExtensionRegistryLite extensionRegistry)
        throws java.io.IOException {
      if (extensionRegistry == null) {
        throw new java.lang.NullPointerException();
      }
      try {
        boolean done = false;
        while (!done) {
          int tag = input.readTag();
          switch (tag) {
            case 0:
              done = true;
              break;
            case 10:
              {
                name_ = input.readStringRequireUtf8();
                bitField0_ |= 0x00000001;
                break;
              } // case 10
            case 18:
              {
                displayName_ = input.readStringRequireUtf8();
                bitField0_ |= 0x00000002;
                break;
              } // case 18
            case 24:
              {
                state_ = input.readEnum();
                bitField0_ |= 0x00000004;
                break;
              } // case 24
            case 34:
              {
                input.readMessage(getStateTimeFieldBuilder().getBuilder(), extensionRegistry);
                bitField0_ |= 0x00000008;
                break;
              } // case 34
            case 42:
              {
                input.readMessage(getErrorFieldBuilder().getBuilder(), extensionRegistry);
                bitField0_ |= 0x00000010;
                break;
              } // case 42
            case 50:
              {
                input.readMessage(getCreateTimeFieldBuilder().getBuilder(), extensionRegistry);
                bitField0_ |= 0x00000020;
                break;
              } // case 50
            case 56:
              {
                timeFrame_ = input.readEnum();
                bitField0_ |= 0x00000040;
                break;
              } // case 56
            case 66:
              {
                input.readMessage(getFrameEndTimeFieldBuilder().getBuilder(), extensionRegistry);
                bitField0_ |= 0x00000080;
                break;
              } // case 66
            case 72:
              {
                vmCount_ = input.readInt32();
                bitField0_ |= 0x00000100;
                break;
              } // case 72
            case 82:
              {
                com.google.cloud.vmmigration.v1.VmUtilizationInfo m =
                    input.readMessage(
                        com.google.cloud.vmmigration.v1.VmUtilizationInfo.parser(),
                        extensionRegistry);
                if (vmsBuilder_ == null) {
                  ensureVmsIsMutable();
                  vms_.add(m);
                } else {
                  vmsBuilder_.addMessage(m);
                }
                break;
              } // case 82
            default:
              {
                if (!super.parseUnknownField(input, extensionRegistry, tag)) {
                  done = true; // was an endgroup tag
                }
                break;
              } // default:
          } // switch (tag)
        } // while (!done)
      } catch (com.google.protobuf.InvalidProtocolBufferException e) {
        throw e.unwrapIOException();
      } finally {
        onChanged();
      } // finally
      return this;
    }

    private int bitField0_;

    private java.lang.Object name_ = "";
    /**
     *
     *
     * <pre>
     * Output only. The report unique name.
     * </pre>
     *
     * <code>string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];</code>
     *
     * @return The name.
     */
    public java.lang.String getName() {
      java.lang.Object ref = name_;
      if (!(ref instanceof java.lang.String)) {
        com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref;
        java.lang.String s = bs.toStringUtf8();
        name_ = s;
        return s;
      } else {
        return (java.lang.String) ref;
      }
    }
    /**
     *
     *
     * <pre>
     * Output only. The report unique name.
     * </pre>
     *
     * <code>string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];</code>
     *
     * @return The bytes for name.
     */
    public com.google.protobuf.ByteString getNameBytes() {
      java.lang.Object ref = name_;
      if (ref instanceof String) {
        com.google.protobuf.ByteString b =
            com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref);
        name_ = b;
        return b;
      } else {
        return (com.google.protobuf.ByteString) ref;
      }
    }
    /**
     *
     *
     * <pre>
     * Output only. The report unique name.
     * </pre>
     *
     * <code>string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];</code>
     *
     * @param value The name to set.
     * @return This builder for chaining.
     */
    public Builder setName(java.lang.String value) {
      if (value == null) {
        throw new NullPointerException();
      }
      name_ = value;
      bitField0_ |= 0x00000001;
      onChanged();
      return this;
    }
    /**
     *
     *
     * <pre>
     * Output only. The report unique name.
     * </pre>
     *
     * <code>string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];</code>
     *
     * @return This builder for chaining.
     */
    public Builder clearName() {
      name_ = getDefaultInstance().getName();
      bitField0_ = (bitField0_ & ~0x00000001);
      onChanged();
      return this;
    }
    /**
     *
     *
     * <pre>
     * Output only. The report unique name.
     * </pre>
     *
     * <code>string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];</code>
     *
     * @param value The bytes for name to set.
     * @return This builder for chaining.
     */
    public Builder setNameBytes(com.google.protobuf.ByteString value) {
      if (value == null) {
        throw new NullPointerException();
      }
      checkByteStringIsUtf8(value);
      name_ = value;
      bitField0_ |= 0x00000001;
      onChanged();
      return this;
    }

    private java.lang.Object displayName_ = "";
    /**
     *
     *
     * <pre>
     * The report display name, as assigned by the user.
     * </pre>
     *
     * <code>string display_name = 2;</code>
     *
     * @return The displayName.
     */
    public java.lang.String getDisplayName() {
      java.lang.Object ref = displayName_;
      if (!(ref instanceof java.lang.String)) {
        com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref;
        java.lang.String s = bs.toStringUtf8();
        displayName_ = s;
        return s;
      } else {
        return (java.lang.String) ref;
      }
    }
    /**
     *
     *
     * <pre>
     * The report display name, as assigned by the user.
     * </pre>
     *
     * <code>string display_name = 2;</code>
     *
     * @return The bytes for displayName.
     */
    public com.google.protobuf.ByteString getDisplayNameBytes() {
      java.lang.Object ref = displayName_;
      if (ref instanceof String) {
        com.google.protobuf.ByteString b =
            com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref);
        displayName_ = b;
        return b;
      } else {
        return (com.google.protobuf.ByteString) ref;
      }
    }
    /**
     *
     *
     * <pre>
     * The report display name, as assigned by the user.
     * </pre>
     *
     * <code>string display_name = 2;</code>
     *
     * @param value The displayName to set.
     * @return This builder for chaining.
     */
    public Builder setDisplayName(java.lang.String value) {
      if (value == null) {
        throw new NullPointerException();
      }
      displayName_ = value;
      bitField0_ |= 0x00000002;
      onChanged();
      return this;
    }
    /**
     *
     *
     * <pre>
     * The report display name, as assigned by the user.
     * </pre>
     *
     * <code>string display_name = 2;</code>
     *
     * @return This builder for chaining.
     */
    public Builder clearDisplayName() {
      displayName_ = getDefaultInstance().getDisplayName();
      bitField0_ = (bitField0_ & ~0x00000002);
      onChanged();
      return this;
    }
    /**
     *
     *
     * <pre>
     * The report display name, as assigned by the user.
     * </pre>
     *
     * <code>string display_name = 2;</code>
     *
     * @param value The bytes for displayName to set.
     * @return This builder for chaining.
     */
    public Builder setDisplayNameBytes(com.google.protobuf.ByteString value) {
      if (value == null) {
        throw new NullPointerException();
      }
      checkByteStringIsUtf8(value);
      displayName_ = value;
      bitField0_ |= 0x00000002;
      onChanged();
      return this;
    }

    private int state_ = 0;
    /**
     *
     *
     * <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.
     */
    @java.lang.Override
    public int getStateValue() {
      return state_;
    }
    /**
     *
     *
     * <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>
     *
     * @param value The enum numeric value on the wire for state to set.
     * @return This builder for chaining.
     */
    public Builder setStateValue(int value) {
      state_ = value;
      bitField0_ |= 0x00000004;
      onChanged();
      return this;
    }
    /**
     *
     *
     * <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.
     */
    @java.lang.Override
    public com.google.cloud.vmmigration.v1.UtilizationReport.State getState() {
      com.google.cloud.vmmigration.v1.UtilizationReport.State result =
          com.google.cloud.vmmigration.v1.UtilizationReport.State.forNumber(state_);
      return result == null
          ? com.google.cloud.vmmigration.v1.UtilizationReport.State.UNRECOGNIZED
          : result;
    }
    /**
     *
     *
     * <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>
     *
     * @param value The state to set.
     * @return This builder for chaining.
     */
    public Builder setState(com.google.cloud.vmmigration.v1.UtilizationReport.State value) {
      if (value == null) {
        throw new NullPointerException();
      }
      bitField0_ |= 0x00000004;
      state_ = value.getNumber();
      onChanged();
      return this;
    }
    /**
     *
     *
     * <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 This builder for chaining.
     */
    public Builder clearState() {
      bitField0_ = (bitField0_ & ~0x00000004);
      state_ = 0;
      onChanged();
      return this;
    }

    private com.google.protobuf.Timestamp stateTime_;
    private com.google.protobuf.SingleFieldBuilderV3<
            com.google.protobuf.Timestamp,
            com.google.protobuf.Timestamp.Builder,
            com.google.protobuf.TimestampOrBuilder>
        stateTimeBuilder_;
    /**
     *
     *
     * <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.
     */
    public boolean hasStateTime() {
      return ((bitField0_ & 0x00000008) != 0);
    }
    /**
     *
     *
     * <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.
     */
    public com.google.protobuf.Timestamp getStateTime() {
      if (stateTimeBuilder_ == null) {
        return stateTime_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : stateTime_;
      } else {
        return stateTimeBuilder_.getMessage();
      }
    }
    /**
     *
     *
     * <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>
     */
    public Builder setStateTime(com.google.protobuf.Timestamp value) {
      if (stateTimeBuilder_ == null) {
        if (value == null) {
          throw new NullPointerException();
        }
        stateTime_ = value;
      } else {
        stateTimeBuilder_.setMessage(value);
      }
      bitField0_ |= 0x00000008;
      onChanged();
      return this;
    }
    /**
     *
     *
     * <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>
     */
    public Builder setStateTime(com.google.protobuf.Timestamp.Builder builderForValue) {
      if (stateTimeBuilder_ == null) {
        stateTime_ = builderForValue.build();
      } else {
        stateTimeBuilder_.setMessage(builderForValue.build());
      }
      bitField0_ |= 0x00000008;
      onChanged();
      return this;
    }
    /**
     *
     *
     * <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>
     */
    public Builder mergeStateTime(com.google.protobuf.Timestamp value) {
      if (stateTimeBuilder_ == null) {
        if (((bitField0_ & 0x00000008) != 0)
            && stateTime_ != null
            && stateTime_ != com.google.protobuf.Timestamp.getDefaultInstance()) {
          getStateTimeBuilder().mergeFrom(value);
        } else {
          stateTime_ = value;
        }
      } else {
        stateTimeBuilder_.mergeFrom(value);
      }
      bitField0_ |= 0x00000008;
      onChanged();
      return this;
    }
    /**
     *
     *
     * <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>
     */
    public Builder clearStateTime() {
      bitField0_ = (bitField0_ & ~0x00000008);
      stateTime_ = null;
      if (stateTimeBuilder_ != null) {
        stateTimeBuilder_.dispose();
        stateTimeBuilder_ = null;
      }
      onChanged();
      return this;
    }
    /**
     *
     *
     * <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>
     */
    public com.google.protobuf.Timestamp.Builder getStateTimeBuilder() {
      bitField0_ |= 0x00000008;
      onChanged();
      return getStateTimeFieldBuilder().getBuilder();
    }
    /**
     *
     *
     * <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>
     */
    public com.google.protobuf.TimestampOrBuilder getStateTimeOrBuilder() {
      if (stateTimeBuilder_ != null) {
        return stateTimeBuilder_.getMessageOrBuilder();
      } else {
        return stateTime_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : stateTime_;
      }
    }
    /**
     *
     *
     * <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>
     */
    private com.google.protobuf.SingleFieldBuilderV3<
            com.google.protobuf.Timestamp,
            com.google.protobuf.Timestamp.Builder,
            com.google.protobuf.TimestampOrBuilder>
        getStateTimeFieldBuilder() {
      if (stateTimeBuilder_ == null) {
        stateTimeBuilder_ =
            new com.google.protobuf.SingleFieldBuilderV3<
                com.google.protobuf.Timestamp,
                com.google.protobuf.Timestamp.Builder,
                com.google.protobuf.TimestampOrBuilder>(
                getStateTime(), getParentForChildren(), isClean());
        stateTime_ = null;
      }
      return stateTimeBuilder_;
    }

    private com.google.rpc.Status error_;
    private com.google.protobuf.SingleFieldBuilderV3<
            com.google.rpc.Status, com.google.rpc.Status.Builder, com.google.rpc.StatusOrBuilder>
        errorBuilder_;
    /**
     *
     *
     * <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.
     */
    public boolean hasError() {
      return ((bitField0_ & 0x00000010) != 0);
    }
    /**
     *
     *
     * <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.
     */
    public com.google.rpc.Status getError() {
      if (errorBuilder_ == null) {
        return error_ == null ? com.google.rpc.Status.getDefaultInstance() : error_;
      } else {
        return errorBuilder_.getMessage();
      }
    }
    /**
     *
     *
     * <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>
     */
    public Builder setError(com.google.rpc.Status value) {
      if (errorBuilder_ == null) {
        if (value == null) {
          throw new NullPointerException();
        }
        error_ = value;
      } else {
        errorBuilder_.setMessage(value);
      }
      bitField0_ |= 0x00000010;
      onChanged();
      return this;
    }
    /**
     *
     *
     * <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>
     */
    public Builder setError(com.google.rpc.Status.Builder builderForValue) {
      if (errorBuilder_ == null) {
        error_ = builderForValue.build();
      } else {
        errorBuilder_.setMessage(builderForValue.build());
      }
      bitField0_ |= 0x00000010;
      onChanged();
      return this;
    }
    /**
     *
     *
     * <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>
     */
    public Builder mergeError(com.google.rpc.Status value) {
      if (errorBuilder_ == null) {
        if (((bitField0_ & 0x00000010) != 0)
            && error_ != null
            && error_ != com.google.rpc.Status.getDefaultInstance()) {
          getErrorBuilder().mergeFrom(value);
        } else {
          error_ = value;
        }
      } else {
        errorBuilder_.mergeFrom(value);
      }
      bitField0_ |= 0x00000010;
      onChanged();
      return this;
    }
    /**
     *
     *
     * <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>
     */
    public Builder clearError() {
      bitField0_ = (bitField0_ & ~0x00000010);
      error_ = null;
      if (errorBuilder_ != null) {
        errorBuilder_.dispose();
        errorBuilder_ = null;
      }
      onChanged();
      return this;
    }
    /**
     *
     *
     * <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>
     */
    public com.google.rpc.Status.Builder getErrorBuilder() {
      bitField0_ |= 0x00000010;
      onChanged();
      return getErrorFieldBuilder().getBuilder();
    }
    /**
     *
     *
     * <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>
     */
    public com.google.rpc.StatusOrBuilder getErrorOrBuilder() {
      if (errorBuilder_ != null) {
        return errorBuilder_.getMessageOrBuilder();
      } else {
        return error_ == null ? com.google.rpc.Status.getDefaultInstance() : error_;
      }
    }
    /**
     *
     *
     * <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>
     */
    private com.google.protobuf.SingleFieldBuilderV3<
            com.google.rpc.Status, com.google.rpc.Status.Builder, com.google.rpc.StatusOrBuilder>
        getErrorFieldBuilder() {
      if (errorBuilder_ == null) {
        errorBuilder_ =
            new com.google.protobuf.SingleFieldBuilderV3<
                com.google.rpc.Status,
                com.google.rpc.Status.Builder,
                com.google.rpc.StatusOrBuilder>(getError(), getParentForChildren(), isClean());
        error_ = null;
      }
      return errorBuilder_;
    }

    private com.google.protobuf.Timestamp createTime_;
    private com.google.protobuf.SingleFieldBuilderV3<
            com.google.protobuf.Timestamp,
            com.google.protobuf.Timestamp.Builder,
            com.google.protobuf.TimestampOrBuilder>
        createTimeBuilder_;
    /**
     *
     *
     * <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.
     */
    public boolean hasCreateTime() {
      return ((bitField0_ & 0x00000020) != 0);
    }
    /**
     *
     *
     * <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.
     */
    public com.google.protobuf.Timestamp getCreateTime() {
      if (createTimeBuilder_ == null) {
        return createTime_ == null
            ? com.google.protobuf.Timestamp.getDefaultInstance()
            : createTime_;
      } else {
        return createTimeBuilder_.getMessage();
      }
    }
    /**
     *
     *
     * <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>
     */
    public Builder setCreateTime(com.google.protobuf.Timestamp value) {
      if (createTimeBuilder_ == null) {
        if (value == null) {
          throw new NullPointerException();
        }
        createTime_ = value;
      } else {
        createTimeBuilder_.setMessage(value);
      }
      bitField0_ |= 0x00000020;
      onChanged();
      return this;
    }
    /**
     *
     *
     * <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>
     */
    public Builder setCreateTime(com.google.protobuf.Timestamp.Builder builderForValue) {
      if (createTimeBuilder_ == null) {
        createTime_ = builderForValue.build();
      } else {
        createTimeBuilder_.setMessage(builderForValue.build());
      }
      bitField0_ |= 0x00000020;
      onChanged();
      return this;
    }
    /**
     *
     *
     * <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>
     */
    public Builder mergeCreateTime(com.google.protobuf.Timestamp value) {
      if (createTimeBuilder_ == null) {
        if (((bitField0_ & 0x00000020) != 0)
            && createTime_ != null
            && createTime_ != com.google.protobuf.Timestamp.getDefaultInstance()) {
          getCreateTimeBuilder().mergeFrom(value);
        } else {
          createTime_ = value;
        }
      } else {
        createTimeBuilder_.mergeFrom(value);
      }
      bitField0_ |= 0x00000020;
      onChanged();
      return this;
    }
    /**
     *
     *
     * <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>
     */
    public Builder clearCreateTime() {
      bitField0_ = (bitField0_ & ~0x00000020);
      createTime_ = null;
      if (createTimeBuilder_ != null) {
        createTimeBuilder_.dispose();
        createTimeBuilder_ = null;
      }
      onChanged();
      return this;
    }
    /**
     *
     *
     * <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>
     */
    public com.google.protobuf.Timestamp.Builder getCreateTimeBuilder() {
      bitField0_ |= 0x00000020;
      onChanged();
      return getCreateTimeFieldBuilder().getBuilder();
    }
    /**
     *
     *
     * <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>
     */
    public com.google.protobuf.TimestampOrBuilder getCreateTimeOrBuilder() {
      if (createTimeBuilder_ != null) {
        return createTimeBuilder_.getMessageOrBuilder();
      } else {
        return createTime_ == null
            ? com.google.protobuf.Timestamp.getDefaultInstance()
            : createTime_;
      }
    }
    /**
     *
     *
     * <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>
     */
    private com.google.protobuf.SingleFieldBuilderV3<
            com.google.protobuf.Timestamp,
            com.google.protobuf.Timestamp.Builder,
            com.google.protobuf.TimestampOrBuilder>
        getCreateTimeFieldBuilder() {
      if (createTimeBuilder_ == null) {
        createTimeBuilder_ =
            new com.google.protobuf.SingleFieldBuilderV3<
                com.google.protobuf.Timestamp,
                com.google.protobuf.Timestamp.Builder,
                com.google.protobuf.TimestampOrBuilder>(
                getCreateTime(), getParentForChildren(), isClean());
        createTime_ = null;
      }
      return createTimeBuilder_;
    }

    private int timeFrame_ = 0;
    /**
     *
     *
     * <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.
     */
    @java.lang.Override
    public int getTimeFrameValue() {
      return timeFrame_;
    }
    /**
     *
     *
     * <pre>
     * Time frame of the report.
     * </pre>
     *
     * <code>.google.cloud.vmmigration.v1.UtilizationReport.TimeFrame time_frame = 7;</code>
     *
     * @param value The enum numeric value on the wire for timeFrame to set.
     * @return This builder for chaining.
     */
    public Builder setTimeFrameValue(int value) {
      timeFrame_ = value;
      bitField0_ |= 0x00000040;
      onChanged();
      return this;
    }
    /**
     *
     *
     * <pre>
     * Time frame of the report.
     * </pre>
     *
     * <code>.google.cloud.vmmigration.v1.UtilizationReport.TimeFrame time_frame = 7;</code>
     *
     * @return The timeFrame.
     */
    @java.lang.Override
    public com.google.cloud.vmmigration.v1.UtilizationReport.TimeFrame getTimeFrame() {
      com.google.cloud.vmmigration.v1.UtilizationReport.TimeFrame result =
          com.google.cloud.vmmigration.v1.UtilizationReport.TimeFrame.forNumber(timeFrame_);
      return result == null
          ? com.google.cloud.vmmigration.v1.UtilizationReport.TimeFrame.UNRECOGNIZED
          : result;
    }
    /**
     *
     *
     * <pre>
     * Time frame of the report.
     * </pre>
     *
     * <code>.google.cloud.vmmigration.v1.UtilizationReport.TimeFrame time_frame = 7;</code>
     *
     * @param value The timeFrame to set.
     * @return This builder for chaining.
     */
    public Builder setTimeFrame(com.google.cloud.vmmigration.v1.UtilizationReport.TimeFrame value) {
      if (value == null) {
        throw new NullPointerException();
      }
      bitField0_ |= 0x00000040;
      timeFrame_ = value.getNumber();
      onChanged();
      return this;
    }
    /**
     *
     *
     * <pre>
     * Time frame of the report.
     * </pre>
     *
     * <code>.google.cloud.vmmigration.v1.UtilizationReport.TimeFrame time_frame = 7;</code>
     *
     * @return This builder for chaining.
     */
    public Builder clearTimeFrame() {
      bitField0_ = (bitField0_ & ~0x00000040);
      timeFrame_ = 0;
      onChanged();
      return this;
    }

    private com.google.protobuf.Timestamp frameEndTime_;
    private com.google.protobuf.SingleFieldBuilderV3<
            com.google.protobuf.Timestamp,
            com.google.protobuf.Timestamp.Builder,
            com.google.protobuf.TimestampOrBuilder>
        frameEndTimeBuilder_;
    /**
     *
     *
     * <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.
     */
    public boolean hasFrameEndTime() {
      return ((bitField0_ & 0x00000080) != 0);
    }
    /**
     *
     *
     * <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.
     */
    public com.google.protobuf.Timestamp getFrameEndTime() {
      if (frameEndTimeBuilder_ == null) {
        return frameEndTime_ == null
            ? com.google.protobuf.Timestamp.getDefaultInstance()
            : frameEndTime_;
      } else {
        return frameEndTimeBuilder_.getMessage();
      }
    }
    /**
     *
     *
     * <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>
     */
    public Builder setFrameEndTime(com.google.protobuf.Timestamp value) {
      if (frameEndTimeBuilder_ == null) {
        if (value == null) {
          throw new NullPointerException();
        }
        frameEndTime_ = value;
      } else {
        frameEndTimeBuilder_.setMessage(value);
      }
      bitField0_ |= 0x00000080;
      onChanged();
      return this;
    }
    /**
     *
     *
     * <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>
     */
    public Builder setFrameEndTime(com.google.protobuf.Timestamp.Builder builderForValue) {
      if (frameEndTimeBuilder_ == null) {
        frameEndTime_ = builderForValue.build();
      } else {
        frameEndTimeBuilder_.setMessage(builderForValue.build());
      }
      bitField0_ |= 0x00000080;
      onChanged();
      return this;
    }
    /**
     *
     *
     * <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>
     */
    public Builder mergeFrameEndTime(com.google.protobuf.Timestamp value) {
      if (frameEndTimeBuilder_ == null) {
        if (((bitField0_ & 0x00000080) != 0)
            && frameEndTime_ != null
            && frameEndTime_ != com.google.protobuf.Timestamp.getDefaultInstance()) {
          getFrameEndTimeBuilder().mergeFrom(value);
        } else {
          frameEndTime_ = value;
        }
      } else {
        frameEndTimeBuilder_.mergeFrom(value);
      }
      bitField0_ |= 0x00000080;
      onChanged();
      return this;
    }
    /**
     *
     *
     * <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>
     */
    public Builder clearFrameEndTime() {
      bitField0_ = (bitField0_ & ~0x00000080);
      frameEndTime_ = null;
      if (frameEndTimeBuilder_ != null) {
        frameEndTimeBuilder_.dispose();
        frameEndTimeBuilder_ = null;
      }
      onChanged();
      return this;
    }
    /**
     *
     *
     * <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>
     */
    public com.google.protobuf.Timestamp.Builder getFrameEndTimeBuilder() {
      bitField0_ |= 0x00000080;
      onChanged();
      return getFrameEndTimeFieldBuilder().getBuilder();
    }
    /**
     *
     *
     * <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>
     */
    public com.google.protobuf.TimestampOrBuilder getFrameEndTimeOrBuilder() {
      if (frameEndTimeBuilder_ != null) {
        return frameEndTimeBuilder_.getMessageOrBuilder();
      } else {
        return frameEndTime_ == null
            ? com.google.protobuf.Timestamp.getDefaultInstance()
            : frameEndTime_;
      }
    }
    /**
     *
     *
     * <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>
     */
    private com.google.protobuf.SingleFieldBuilderV3<
            com.google.protobuf.Timestamp,
            com.google.protobuf.Timestamp.Builder,
            com.google.protobuf.TimestampOrBuilder>
        getFrameEndTimeFieldBuilder() {
      if (frameEndTimeBuilder_ == null) {
        frameEndTimeBuilder_ =
            new com.google.protobuf.SingleFieldBuilderV3<
                com.google.protobuf.Timestamp,
                com.google.protobuf.Timestamp.Builder,
                com.google.protobuf.TimestampOrBuilder>(
                getFrameEndTime(), getParentForChildren(), isClean());
        frameEndTime_ = null;
      }
      return frameEndTimeBuilder_;
    }

    private int vmCount_;
    /**
     *
     *
     * <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.
     */
    @java.lang.Override
    public int getVmCount() {
      return vmCount_;
    }
    /**
     *
     *
     * <pre>
     * Output only. Total number of VMs included in the report.
     * </pre>
     *
     * <code>int32 vm_count = 9 [(.google.api.field_behavior) = OUTPUT_ONLY];</code>
     *
     * @param value The vmCount to set.
     * @return This builder for chaining.
     */
    public Builder setVmCount(int value) {

      vmCount_ = value;
      bitField0_ |= 0x00000100;
      onChanged();
      return this;
    }
    /**
     *
     *
     * <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 This builder for chaining.
     */
    public Builder clearVmCount() {
      bitField0_ = (bitField0_ & ~0x00000100);
      vmCount_ = 0;
      onChanged();
      return this;
    }

    private java.util.List<com.google.cloud.vmmigration.v1.VmUtilizationInfo> vms_ =
        java.util.Collections.emptyList();

    private void ensureVmsIsMutable() {
      if (!((bitField0_ & 0x00000200) != 0)) {
        vms_ = new java.util.ArrayList<com.google.cloud.vmmigration.v1.VmUtilizationInfo>(vms_);
        bitField0_ |= 0x00000200;
      }
    }

    private com.google.protobuf.RepeatedFieldBuilderV3<
            com.google.cloud.vmmigration.v1.VmUtilizationInfo,
            com.google.cloud.vmmigration.v1.VmUtilizationInfo.Builder,
            com.google.cloud.vmmigration.v1.VmUtilizationInfoOrBuilder>
        vmsBuilder_;

    /**
     *
     *
     * <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>
     */
    public java.util.List<com.google.cloud.vmmigration.v1.VmUtilizationInfo> getVmsList() {
      if (vmsBuilder_ == null) {
        return java.util.Collections.unmodifiableList(vms_);
      } else {
        return vmsBuilder_.getMessageList();
      }
    }
    /**
     *
     *
     * <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>
     */
    public int getVmsCount() {
      if (vmsBuilder_ == null) {
        return vms_.size();
      } else {
        return vmsBuilder_.getCount();
      }
    }
    /**
     *
     *
     * <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>
     */
    public com.google.cloud.vmmigration.v1.VmUtilizationInfo getVms(int index) {
      if (vmsBuilder_ == null) {
        return vms_.get(index);
      } else {
        return vmsBuilder_.getMessage(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>
     */
    public Builder setVms(int index, com.google.cloud.vmmigration.v1.VmUtilizationInfo value) {
      if (vmsBuilder_ == null) {
        if (value == null) {
          throw new NullPointerException();
        }
        ensureVmsIsMutable();
        vms_.set(index, value);
        onChanged();
      } else {
        vmsBuilder_.setMessage(index, value);
      }
      return this;
    }
    /**
     *
     *
     * <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>
     */
    public Builder setVms(
        int index, com.google.cloud.vmmigration.v1.VmUtilizationInfo.Builder builderForValue) {
      if (vmsBuilder_ == null) {
        ensureVmsIsMutable();
        vms_.set(index, builderForValue.build());
        onChanged();
      } else {
        vmsBuilder_.setMessage(index, builderForValue.build());
      }
      return this;
    }
    /**
     *
     *
     * <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>
     */
    public Builder addVms(com.google.cloud.vmmigration.v1.VmUtilizationInfo value) {
      if (vmsBuilder_ == null) {
        if (value == null) {
          throw new NullPointerException();
        }
        ensureVmsIsMutable();
        vms_.add(value);
        onChanged();
      } else {
        vmsBuilder_.addMessage(value);
      }
      return this;
    }
    /**
     *
     *
     * <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>
     */
    public Builder addVms(int index, com.google.cloud.vmmigration.v1.VmUtilizationInfo value) {
      if (vmsBuilder_ == null) {
        if (value == null) {
          throw new NullPointerException();
        }
        ensureVmsIsMutable();
        vms_.add(index, value);
        onChanged();
      } else {
        vmsBuilder_.addMessage(index, value);
      }
      return this;
    }
    /**
     *
     *
     * <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>
     */
    public Builder addVms(
        com.google.cloud.vmmigration.v1.VmUtilizationInfo.Builder builderForValue) {
      if (vmsBuilder_ == null) {
        ensureVmsIsMutable();
        vms_.add(builderForValue.build());
        onChanged();
      } else {
        vmsBuilder_.addMessage(builderForValue.build());
      }
      return this;
    }
    /**
     *
     *
     * <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>
     */
    public Builder addVms(
        int index, com.google.cloud.vmmigration.v1.VmUtilizationInfo.Builder builderForValue) {
      if (vmsBuilder_ == null) {
        ensureVmsIsMutable();
        vms_.add(index, builderForValue.build());
        onChanged();
      } else {
        vmsBuilder_.addMessage(index, builderForValue.build());
      }
      return this;
    }
    /**
     *
     *
     * <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>
     */
    public Builder addAllVms(
        java.lang.Iterable<? extends com.google.cloud.vmmigration.v1.VmUtilizationInfo> values) {
      if (vmsBuilder_ == null) {
        ensureVmsIsMutable();
        com.google.protobuf.AbstractMessageLite.Builder.addAll(values, vms_);
        onChanged();
      } else {
        vmsBuilder_.addAllMessages(values);
      }
      return this;
    }
    /**
     *
     *
     * <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>
     */
    public Builder clearVms() {
      if (vmsBuilder_ == null) {
        vms_ = java.util.Collections.emptyList();
        bitField0_ = (bitField0_ & ~0x00000200);
        onChanged();
      } else {
        vmsBuilder_.clear();
      }
      return this;
    }
    /**
     *
     *
     * <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>
     */
    public Builder removeVms(int index) {
      if (vmsBuilder_ == null) {
        ensureVmsIsMutable();
        vms_.remove(index);
        onChanged();
      } else {
        vmsBuilder_.remove(index);
      }
      return this;
    }
    /**
     *
     *
     * <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>
     */
    public com.google.cloud.vmmigration.v1.VmUtilizationInfo.Builder getVmsBuilder(int index) {
      return getVmsFieldBuilder().getBuilder(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>
     */
    public com.google.cloud.vmmigration.v1.VmUtilizationInfoOrBuilder getVmsOrBuilder(int index) {
      if (vmsBuilder_ == null) {
        return vms_.get(index);
      } else {
        return vmsBuilder_.getMessageOrBuilder(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>
     */
    public java.util.List<? extends com.google.cloud.vmmigration.v1.VmUtilizationInfoOrBuilder>
        getVmsOrBuilderList() {
      if (vmsBuilder_ != null) {
        return vmsBuilder_.getMessageOrBuilderList();
      } else {
        return java.util.Collections.unmodifiableList(vms_);
      }
    }
    /**
     *
     *
     * <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>
     */
    public com.google.cloud.vmmigration.v1.VmUtilizationInfo.Builder addVmsBuilder() {
      return getVmsFieldBuilder()
          .addBuilder(com.google.cloud.vmmigration.v1.VmUtilizationInfo.getDefaultInstance());
    }
    /**
     *
     *
     * <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>
     */
    public com.google.cloud.vmmigration.v1.VmUtilizationInfo.Builder addVmsBuilder(int index) {
      return getVmsFieldBuilder()
          .addBuilder(
              index, com.google.cloud.vmmigration.v1.VmUtilizationInfo.getDefaultInstance());
    }
    /**
     *
     *
     * <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>
     */
    public java.util.List<com.google.cloud.vmmigration.v1.VmUtilizationInfo.Builder>
        getVmsBuilderList() {
      return getVmsFieldBuilder().getBuilderList();
    }

    private com.google.protobuf.RepeatedFieldBuilderV3<
            com.google.cloud.vmmigration.v1.VmUtilizationInfo,
            com.google.cloud.vmmigration.v1.VmUtilizationInfo.Builder,
            com.google.cloud.vmmigration.v1.VmUtilizationInfoOrBuilder>
        getVmsFieldBuilder() {
      if (vmsBuilder_ == null) {
        vmsBuilder_ =
            new com.google.protobuf.RepeatedFieldBuilderV3<
                com.google.cloud.vmmigration.v1.VmUtilizationInfo,
                com.google.cloud.vmmigration.v1.VmUtilizationInfo.Builder,
                com.google.cloud.vmmigration.v1.VmUtilizationInfoOrBuilder>(
                vms_, ((bitField0_ & 0x00000200) != 0), getParentForChildren(), isClean());
        vms_ = null;
      }
      return vmsBuilder_;
    }

    @java.lang.Override
    public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) {
      return super.setUnknownFields(unknownFields);
    }

    @java.lang.Override
    public final Builder mergeUnknownFields(
        final com.google.protobuf.UnknownFieldSet unknownFields) {
      return super.mergeUnknownFields(unknownFields);
    }

    // @@protoc_insertion_point(builder_scope:google.cloud.vmmigration.v1.UtilizationReport)
  }

  // @@protoc_insertion_point(class_scope:google.cloud.vmmigration.v1.UtilizationReport)
  private static final com.google.cloud.vmmigration.v1.UtilizationReport DEFAULT_INSTANCE;

  static {
    DEFAULT_INSTANCE = new com.google.cloud.vmmigration.v1.UtilizationReport();
  }

  public static com.google.cloud.vmmigration.v1.UtilizationReport getDefaultInstance() {
    return DEFAULT_INSTANCE;
  }

  private static final com.google.protobuf.Parser<UtilizationReport> PARSER =
      new com.google.protobuf.AbstractParser<UtilizationReport>() {
        @java.lang.Override
        public UtilizationReport parsePartialFrom(
            com.google.protobuf.CodedInputStream input,
            com.google.protobuf.ExtensionRegistryLite extensionRegistry)
            throws com.google.protobuf.InvalidProtocolBufferException {
          Builder builder = newBuilder();
          try {
            builder.mergeFrom(input, extensionRegistry);
          } catch (com.google.protobuf.InvalidProtocolBufferException e) {
            throw e.setUnfinishedMessage(builder.buildPartial());
          } catch (com.google.protobuf.UninitializedMessageException e) {
            throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial());
          } catch (java.io.IOException e) {
            throw new com.google.protobuf.InvalidProtocolBufferException(e)
                .setUnfinishedMessage(builder.buildPartial());
          }
          return builder.buildPartial();
        }
      };

  public static com.google.protobuf.Parser<UtilizationReport> parser() {
    return PARSER;
  }

  @java.lang.Override
  public com.google.protobuf.Parser<UtilizationReport> getParserForType() {
    return PARSER;
  }

  @java.lang.Override
  public com.google.cloud.vmmigration.v1.UtilizationReport getDefaultInstanceForType() {
    return DEFAULT_INSTANCE;
  }
}
