Class UtilizationReport.Builder

  • All Implemented Interfaces:
    UtilizationReportOrBuilder, com.google.protobuf.Message.Builder, com.google.protobuf.MessageLite.Builder, com.google.protobuf.MessageLiteOrBuilder, com.google.protobuf.MessageOrBuilder, Cloneable
    Enclosing class:
    UtilizationReport

    public static final class UtilizationReport.Builder
    extends com.google.protobuf.GeneratedMessageV3.Builder<UtilizationReport.Builder>
    implements UtilizationReportOrBuilder
     Utilization report details the utilization (CPU, memory, etc.) of selected
     source VMs.
     
    Protobuf type google.cloud.vmmigration.v1.UtilizationReport
    • Method Detail

      • getDescriptor

        public static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
      • internalGetFieldAccessorTable

        protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
        Specified by:
        internalGetFieldAccessorTable in class com.google.protobuf.GeneratedMessageV3.Builder<UtilizationReport.Builder>
      • clear

        public UtilizationReport.Builder clear()
        Specified by:
        clear in interface com.google.protobuf.Message.Builder
        Specified by:
        clear in interface com.google.protobuf.MessageLite.Builder
        Overrides:
        clear in class com.google.protobuf.GeneratedMessageV3.Builder<UtilizationReport.Builder>
      • getDescriptorForType

        public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()
        Specified by:
        getDescriptorForType in interface com.google.protobuf.Message.Builder
        Specified by:
        getDescriptorForType in interface com.google.protobuf.MessageOrBuilder
        Overrides:
        getDescriptorForType in class com.google.protobuf.GeneratedMessageV3.Builder<UtilizationReport.Builder>
      • getDefaultInstanceForType

        public UtilizationReport getDefaultInstanceForType()
        Specified by:
        getDefaultInstanceForType in interface com.google.protobuf.MessageLiteOrBuilder
        Specified by:
        getDefaultInstanceForType in interface com.google.protobuf.MessageOrBuilder
      • build

        public UtilizationReport build()
        Specified by:
        build in interface com.google.protobuf.Message.Builder
        Specified by:
        build in interface com.google.protobuf.MessageLite.Builder
      • buildPartial

        public UtilizationReport buildPartial()
        Specified by:
        buildPartial in interface com.google.protobuf.Message.Builder
        Specified by:
        buildPartial in interface com.google.protobuf.MessageLite.Builder
      • clone

        public UtilizationReport.Builder clone()
        Specified by:
        clone in interface com.google.protobuf.Message.Builder
        Specified by:
        clone in interface com.google.protobuf.MessageLite.Builder
        Overrides:
        clone in class com.google.protobuf.GeneratedMessageV3.Builder<UtilizationReport.Builder>
      • setField

        public UtilizationReport.Builder setField​(com.google.protobuf.Descriptors.FieldDescriptor field,
                                                  Object value)
        Specified by:
        setField in interface com.google.protobuf.Message.Builder
        Overrides:
        setField in class com.google.protobuf.GeneratedMessageV3.Builder<UtilizationReport.Builder>
      • clearField

        public UtilizationReport.Builder clearField​(com.google.protobuf.Descriptors.FieldDescriptor field)
        Specified by:
        clearField in interface com.google.protobuf.Message.Builder
        Overrides:
        clearField in class com.google.protobuf.GeneratedMessageV3.Builder<UtilizationReport.Builder>
      • clearOneof

        public UtilizationReport.Builder clearOneof​(com.google.protobuf.Descriptors.OneofDescriptor oneof)
        Specified by:
        clearOneof in interface com.google.protobuf.Message.Builder
        Overrides:
        clearOneof in class com.google.protobuf.GeneratedMessageV3.Builder<UtilizationReport.Builder>
      • setRepeatedField

        public UtilizationReport.Builder setRepeatedField​(com.google.protobuf.Descriptors.FieldDescriptor field,
                                                          int index,
                                                          Object value)
        Specified by:
        setRepeatedField in interface com.google.protobuf.Message.Builder
        Overrides:
        setRepeatedField in class com.google.protobuf.GeneratedMessageV3.Builder<UtilizationReport.Builder>
      • addRepeatedField

        public UtilizationReport.Builder addRepeatedField​(com.google.protobuf.Descriptors.FieldDescriptor field,
                                                          Object value)
        Specified by:
        addRepeatedField in interface com.google.protobuf.Message.Builder
        Overrides:
        addRepeatedField in class com.google.protobuf.GeneratedMessageV3.Builder<UtilizationReport.Builder>
      • mergeFrom

        public UtilizationReport.Builder mergeFrom​(com.google.protobuf.Message other)
        Specified by:
        mergeFrom in interface com.google.protobuf.Message.Builder
        Overrides:
        mergeFrom in class com.google.protobuf.AbstractMessage.Builder<UtilizationReport.Builder>
      • isInitialized

        public final boolean isInitialized()
        Specified by:
        isInitialized in interface com.google.protobuf.MessageLiteOrBuilder
        Overrides:
        isInitialized in class com.google.protobuf.GeneratedMessageV3.Builder<UtilizationReport.Builder>
      • mergeFrom

        public UtilizationReport.Builder mergeFrom​(com.google.protobuf.CodedInputStream input,
                                                   com.google.protobuf.ExtensionRegistryLite extensionRegistry)
                                            throws IOException
        Specified by:
        mergeFrom in interface com.google.protobuf.Message.Builder
        Specified by:
        mergeFrom in interface com.google.protobuf.MessageLite.Builder
        Overrides:
        mergeFrom in class com.google.protobuf.AbstractMessage.Builder<UtilizationReport.Builder>
        Throws:
        IOException
      • getName

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

        public com.google.protobuf.ByteString getNameBytes()
         Output only. The report unique name.
         
        string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];
        Specified by:
        getNameBytes in interface UtilizationReportOrBuilder
        Returns:
        The bytes for name.
      • setName

        public UtilizationReport.Builder setName​(String value)
         Output only. The report unique name.
         
        string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];
        Parameters:
        value - The name to set.
        Returns:
        This builder for chaining.
      • clearName

        public UtilizationReport.Builder clearName()
         Output only. The report unique name.
         
        string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];
        Returns:
        This builder for chaining.
      • setNameBytes

        public UtilizationReport.Builder setNameBytes​(com.google.protobuf.ByteString value)
         Output only. The report unique name.
         
        string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];
        Parameters:
        value - The bytes for name to set.
        Returns:
        This builder for chaining.
      • getDisplayNameBytes

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

        public UtilizationReport.Builder setDisplayName​(String value)
         The report display name, as assigned by the user.
         
        string display_name = 2;
        Parameters:
        value - The displayName to set.
        Returns:
        This builder for chaining.
      • clearDisplayName

        public UtilizationReport.Builder clearDisplayName()
         The report display name, as assigned by the user.
         
        string display_name = 2;
        Returns:
        This builder for chaining.
      • setDisplayNameBytes

        public UtilizationReport.Builder setDisplayNameBytes​(com.google.protobuf.ByteString value)
         The report display name, as assigned by the user.
         
        string display_name = 2;
        Parameters:
        value - The bytes for displayName to set.
        Returns:
        This builder for chaining.
      • getStateValue

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

        public UtilizationReport.Builder setStateValue​(int value)
         Output only. Current state of the report.
         
        .google.cloud.vmmigration.v1.UtilizationReport.State state = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];
        Parameters:
        value - The enum numeric value on the wire for state to set.
        Returns:
        This builder for chaining.
      • getState

        public UtilizationReport.State getState()
         Output only. Current state of the report.
         
        .google.cloud.vmmigration.v1.UtilizationReport.State state = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];
        Specified by:
        getState in interface UtilizationReportOrBuilder
        Returns:
        The state.
      • setState

        public UtilizationReport.Builder setState​(UtilizationReport.State value)
         Output only. Current state of the report.
         
        .google.cloud.vmmigration.v1.UtilizationReport.State state = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];
        Parameters:
        value - The state to set.
        Returns:
        This builder for chaining.
      • clearState

        public UtilizationReport.Builder clearState()
         Output only. Current state of the report.
         
        .google.cloud.vmmigration.v1.UtilizationReport.State state = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];
        Returns:
        This builder for chaining.
      • hasStateTime

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

        public 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];
        Specified by:
        getStateTime in interface UtilizationReportOrBuilder
        Returns:
        The stateTime.
      • setStateTime

        public UtilizationReport.Builder setStateTime​(com.google.protobuf.Timestamp value)
         Output only. The time the state was last set.
         
        .google.protobuf.Timestamp state_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];
      • setStateTime

        public UtilizationReport.Builder setStateTime​(com.google.protobuf.Timestamp.Builder builderForValue)
         Output only. The time the state was last set.
         
        .google.protobuf.Timestamp state_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];
      • mergeStateTime

        public UtilizationReport.Builder mergeStateTime​(com.google.protobuf.Timestamp value)
         Output only. The time the state was last set.
         
        .google.protobuf.Timestamp state_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];
      • clearStateTime

        public UtilizationReport.Builder clearStateTime()
         Output only. The time the state was last set.
         
        .google.protobuf.Timestamp state_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];
      • getStateTimeBuilder

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

        public 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];
        Specified by:
        getStateTimeOrBuilder in interface UtilizationReportOrBuilder
      • hasError

        public 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];
        Specified by:
        hasError in interface UtilizationReportOrBuilder
        Returns:
        Whether the error field is set.
      • getError

        public 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];
        Specified by:
        getError in interface UtilizationReportOrBuilder
        Returns:
        The error.
      • setError

        public UtilizationReport.Builder setError​(com.google.rpc.Status value)
         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];
      • setError

        public UtilizationReport.Builder setError​(com.google.rpc.Status.Builder builderForValue)
         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];
      • mergeError

        public UtilizationReport.Builder mergeError​(com.google.rpc.Status value)
         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];
      • clearError

        public UtilizationReport.Builder clearError()
         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];
      • getErrorBuilder

        public com.google.rpc.Status.Builder getErrorBuilder()
         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];
      • getErrorOrBuilder

        public 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];
        Specified by:
        getErrorOrBuilder in interface UtilizationReportOrBuilder
      • hasCreateTime

        public 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];
        Specified by:
        hasCreateTime in interface UtilizationReportOrBuilder
        Returns:
        Whether the createTime field is set.
      • getCreateTime

        public 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];
        Specified by:
        getCreateTime in interface UtilizationReportOrBuilder
        Returns:
        The createTime.
      • setCreateTime

        public UtilizationReport.Builder setCreateTime​(com.google.protobuf.Timestamp value)
         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];
      • setCreateTime

        public UtilizationReport.Builder setCreateTime​(com.google.protobuf.Timestamp.Builder builderForValue)
         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];
      • mergeCreateTime

        public UtilizationReport.Builder mergeCreateTime​(com.google.protobuf.Timestamp value)
         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];
      • clearCreateTime

        public UtilizationReport.Builder clearCreateTime()
         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];
      • getCreateTimeBuilder

        public com.google.protobuf.Timestamp.Builder getCreateTimeBuilder()
         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];
      • getCreateTimeOrBuilder

        public 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];
        Specified by:
        getCreateTimeOrBuilder in interface UtilizationReportOrBuilder
      • getTimeFrameValue

        public int getTimeFrameValue()
         Time frame of the report.
         
        .google.cloud.vmmigration.v1.UtilizationReport.TimeFrame time_frame = 7;
        Specified by:
        getTimeFrameValue in interface UtilizationReportOrBuilder
        Returns:
        The enum numeric value on the wire for timeFrame.
      • setTimeFrameValue

        public UtilizationReport.Builder setTimeFrameValue​(int value)
         Time frame of the report.
         
        .google.cloud.vmmigration.v1.UtilizationReport.TimeFrame time_frame = 7;
        Parameters:
        value - The enum numeric value on the wire for timeFrame to set.
        Returns:
        This builder for chaining.
      • setTimeFrame

        public UtilizationReport.Builder setTimeFrame​(UtilizationReport.TimeFrame value)
         Time frame of the report.
         
        .google.cloud.vmmigration.v1.UtilizationReport.TimeFrame time_frame = 7;
        Parameters:
        value - The timeFrame to set.
        Returns:
        This builder for chaining.
      • clearTimeFrame

        public UtilizationReport.Builder clearTimeFrame()
         Time frame of the report.
         
        .google.cloud.vmmigration.v1.UtilizationReport.TimeFrame time_frame = 7;
        Returns:
        This builder for chaining.
      • hasFrameEndTime

        public 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];
        Specified by:
        hasFrameEndTime in interface UtilizationReportOrBuilder
        Returns:
        Whether the frameEndTime field is set.
      • getFrameEndTime

        public 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];
        Specified by:
        getFrameEndTime in interface UtilizationReportOrBuilder
        Returns:
        The frameEndTime.
      • setFrameEndTime

        public UtilizationReport.Builder setFrameEndTime​(com.google.protobuf.Timestamp value)
         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];
      • setFrameEndTime

        public UtilizationReport.Builder setFrameEndTime​(com.google.protobuf.Timestamp.Builder builderForValue)
         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];
      • mergeFrameEndTime

        public UtilizationReport.Builder mergeFrameEndTime​(com.google.protobuf.Timestamp value)
         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];
      • clearFrameEndTime

        public UtilizationReport.Builder clearFrameEndTime()
         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];
      • getFrameEndTimeBuilder

        public com.google.protobuf.Timestamp.Builder getFrameEndTimeBuilder()
         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];
      • getFrameEndTimeOrBuilder

        public 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];
        Specified by:
        getFrameEndTimeOrBuilder in interface UtilizationReportOrBuilder
      • getVmCount

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

        public UtilizationReport.Builder setVmCount​(int value)
         Output only. Total number of VMs included in the report.
         
        int32 vm_count = 9 [(.google.api.field_behavior) = OUTPUT_ONLY];
        Parameters:
        value - The vmCount to set.
        Returns:
        This builder for chaining.
      • clearVmCount

        public UtilizationReport.Builder clearVmCount()
         Output only. Total number of VMs included in the report.
         
        int32 vm_count = 9 [(.google.api.field_behavior) = OUTPUT_ONLY];
        Returns:
        This builder for chaining.
      • getVmsList

        public 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;
        Specified by:
        getVmsList in interface UtilizationReportOrBuilder
      • getVmsCount

        public 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;
        Specified by:
        getVmsCount in interface UtilizationReportOrBuilder
      • getVms

        public 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;
        Specified by:
        getVms in interface UtilizationReportOrBuilder
      • setVms

        public UtilizationReport.Builder setVms​(int index,
                                                VmUtilizationInfo value)
         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;
      • setVms

        public UtilizationReport.Builder setVms​(int index,
                                                VmUtilizationInfo.Builder builderForValue)
         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;
      • addVms

        public UtilizationReport.Builder addVms​(VmUtilizationInfo value)
         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;
      • addVms

        public UtilizationReport.Builder addVms​(int index,
                                                VmUtilizationInfo value)
         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;
      • addVms

        public UtilizationReport.Builder addVms​(VmUtilizationInfo.Builder builderForValue)
         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;
      • addVms

        public UtilizationReport.Builder addVms​(int index,
                                                VmUtilizationInfo.Builder builderForValue)
         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;
      • addAllVms

        public UtilizationReport.Builder addAllVms​(Iterable<? extends VmUtilizationInfo> values)
         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;
      • clearVms

        public UtilizationReport.Builder clearVms()
         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;
      • removeVms

        public UtilizationReport.Builder removeVms​(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;
      • getVmsBuilder

        public VmUtilizationInfo.Builder getVmsBuilder​(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;
      • getVmsOrBuilder

        public 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;
        Specified by:
        getVmsOrBuilder in interface UtilizationReportOrBuilder
      • getVmsOrBuilderList

        public 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;
        Specified by:
        getVmsOrBuilderList in interface UtilizationReportOrBuilder
      • addVmsBuilder

        public VmUtilizationInfo.Builder addVmsBuilder()
         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;
      • addVmsBuilder

        public VmUtilizationInfo.Builder addVmsBuilder​(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;
      • getVmsBuilderList

        public List<VmUtilizationInfo.Builder> getVmsBuilderList()
         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;
      • setUnknownFields

        public final UtilizationReport.Builder setUnknownFields​(com.google.protobuf.UnknownFieldSet unknownFields)
        Specified by:
        setUnknownFields in interface com.google.protobuf.Message.Builder
        Overrides:
        setUnknownFields in class com.google.protobuf.GeneratedMessageV3.Builder<UtilizationReport.Builder>
      • mergeUnknownFields

        public final UtilizationReport.Builder mergeUnknownFields​(com.google.protobuf.UnknownFieldSet unknownFields)
        Specified by:
        mergeUnknownFields in interface com.google.protobuf.Message.Builder
        Overrides:
        mergeUnknownFields in class com.google.protobuf.GeneratedMessageV3.Builder<UtilizationReport.Builder>