Interface UtilizationReportOrBuilder

  • All Superinterfaces:
    com.google.protobuf.MessageLiteOrBuilder, com.google.protobuf.MessageOrBuilder
    All Known Implementing Classes:
    UtilizationReport, UtilizationReport.Builder

    public interface UtilizationReportOrBuilder
    extends com.google.protobuf.MessageOrBuilder
    • Method Detail

      • getName

        String getName()
         Output only. The report unique name.
         
        string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];
        Returns:
        The name.
      • getNameBytes

        com.google.protobuf.ByteString getNameBytes()
         Output only. The report unique name.
         
        string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];
        Returns:
        The bytes for name.
      • getDisplayName

        String getDisplayName()
         The report display name, as assigned by the user.
         
        string display_name = 2;
        Returns:
        The displayName.
      • getDisplayNameBytes

        com.google.protobuf.ByteString getDisplayNameBytes()
         The report display name, as assigned by the user.
         
        string display_name = 2;
        Returns:
        The bytes for displayName.
      • getStateValue

        int getStateValue()
         Output only. Current state of the report.
         
        .google.cloud.vmmigration.v1.UtilizationReport.State state = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];
        Returns:
        The enum numeric value on the wire for state.
      • getState

        UtilizationReport.State getState()
         Output only. Current state of the report.
         
        .google.cloud.vmmigration.v1.UtilizationReport.State state = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];
        Returns:
        The state.
      • hasStateTime

        boolean hasStateTime()
         Output only. The time the state was last set.
         
        .google.protobuf.Timestamp state_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];
        Returns:
        Whether the stateTime field is set.
      • getStateTime

        com.google.protobuf.Timestamp getStateTime()
         Output only. The time the state was last set.
         
        .google.protobuf.Timestamp state_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];
        Returns:
        The stateTime.
      • getStateTimeOrBuilder

        com.google.protobuf.TimestampOrBuilder getStateTimeOrBuilder()
         Output only. The time the state was last set.
         
        .google.protobuf.Timestamp state_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];
      • hasError

        boolean hasError()
         Output only. Provides details on the state of the report in case of an
         error.
         
        .google.rpc.Status error = 5 [(.google.api.field_behavior) = OUTPUT_ONLY];
        Returns:
        Whether the error field is set.
      • getError

        com.google.rpc.Status getError()
         Output only. Provides details on the state of the report in case of an
         error.
         
        .google.rpc.Status error = 5 [(.google.api.field_behavior) = OUTPUT_ONLY];
        Returns:
        The error.
      • getErrorOrBuilder

        com.google.rpc.StatusOrBuilder getErrorOrBuilder()
         Output only. Provides details on the state of the report in case of an
         error.
         
        .google.rpc.Status error = 5 [(.google.api.field_behavior) = OUTPUT_ONLY];
      • hasCreateTime

        boolean hasCreateTime()
         Output only. The time the report was created (this refers to the time of
         the request, not the time the report creation completed).
         
        .google.protobuf.Timestamp create_time = 6 [(.google.api.field_behavior) = OUTPUT_ONLY];
        Returns:
        Whether the createTime field is set.
      • getCreateTime

        com.google.protobuf.Timestamp getCreateTime()
         Output only. The time the report was created (this refers to the time of
         the request, not the time the report creation completed).
         
        .google.protobuf.Timestamp create_time = 6 [(.google.api.field_behavior) = OUTPUT_ONLY];
        Returns:
        The createTime.
      • getCreateTimeOrBuilder

        com.google.protobuf.TimestampOrBuilder getCreateTimeOrBuilder()
         Output only. The time the report was created (this refers to the time of
         the request, not the time the report creation completed).
         
        .google.protobuf.Timestamp create_time = 6 [(.google.api.field_behavior) = OUTPUT_ONLY];
      • getTimeFrameValue

        int getTimeFrameValue()
         Time frame of the report.
         
        .google.cloud.vmmigration.v1.UtilizationReport.TimeFrame time_frame = 7;
        Returns:
        The enum numeric value on the wire for timeFrame.
      • getTimeFrame

        UtilizationReport.TimeFrame getTimeFrame()
         Time frame of the report.
         
        .google.cloud.vmmigration.v1.UtilizationReport.TimeFrame time_frame = 7;
        Returns:
        The timeFrame.
      • hasFrameEndTime

        boolean hasFrameEndTime()
         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.
         
        .google.protobuf.Timestamp frame_end_time = 8 [(.google.api.field_behavior) = OUTPUT_ONLY];
        Returns:
        Whether the frameEndTime field is set.
      • getFrameEndTime

        com.google.protobuf.Timestamp getFrameEndTime()
         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.
         
        .google.protobuf.Timestamp frame_end_time = 8 [(.google.api.field_behavior) = OUTPUT_ONLY];
        Returns:
        The frameEndTime.
      • getFrameEndTimeOrBuilder

        com.google.protobuf.TimestampOrBuilder getFrameEndTimeOrBuilder()
         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.
         
        .google.protobuf.Timestamp frame_end_time = 8 [(.google.api.field_behavior) = OUTPUT_ONLY];
      • getVmCount

        int getVmCount()
         Output only. Total number of VMs included in the report.
         
        int32 vm_count = 9 [(.google.api.field_behavior) = OUTPUT_ONLY];
        Returns:
        The vmCount.
      • getVmsList

        List<VmUtilizationInfo> getVmsList()
         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.
         
        repeated .google.cloud.vmmigration.v1.VmUtilizationInfo vms = 10;
      • getVms

        VmUtilizationInfo getVms​(int index)
         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.
         
        repeated .google.cloud.vmmigration.v1.VmUtilizationInfo vms = 10;
      • getVmsCount

        int getVmsCount()
         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.
         
        repeated .google.cloud.vmmigration.v1.VmUtilizationInfo vms = 10;
      • getVmsOrBuilderList

        List<? extends VmUtilizationInfoOrBuilder> getVmsOrBuilderList()
         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.
         
        repeated .google.cloud.vmmigration.v1.VmUtilizationInfo vms = 10;
      • getVmsOrBuilder

        VmUtilizationInfoOrBuilder getVmsOrBuilder​(int index)
         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.
         
        repeated .google.cloud.vmmigration.v1.VmUtilizationInfo vms = 10;