Package com.google.cloud.vmmigration.v1
Class UtilizationReport.Builder
- java.lang.Object
-
- com.google.protobuf.AbstractMessageLite.Builder
-
- com.google.protobuf.AbstractMessage.Builder<BuilderT>
-
- com.google.protobuf.GeneratedMessageV3.Builder<UtilizationReport.Builder>
-
- com.google.cloud.vmmigration.v1.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 typegoogle.cloud.vmmigration.v1.UtilizationReport
-
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description UtilizationReport.Builder
addAllVms(Iterable<? extends VmUtilizationInfo> values)
List of utilization information per VM.UtilizationReport.Builder
addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
UtilizationReport.Builder
addVms(int index, VmUtilizationInfo value)
List of utilization information per VM.UtilizationReport.Builder
addVms(int index, VmUtilizationInfo.Builder builderForValue)
List of utilization information per VM.UtilizationReport.Builder
addVms(VmUtilizationInfo value)
List of utilization information per VM.UtilizationReport.Builder
addVms(VmUtilizationInfo.Builder builderForValue)
List of utilization information per VM.VmUtilizationInfo.Builder
addVmsBuilder()
List of utilization information per VM.VmUtilizationInfo.Builder
addVmsBuilder(int index)
List of utilization information per VM.UtilizationReport
build()
UtilizationReport
buildPartial()
UtilizationReport.Builder
clear()
UtilizationReport.Builder
clearCreateTime()
Output only.UtilizationReport.Builder
clearDisplayName()
The report display name, as assigned by the user.UtilizationReport.Builder
clearError()
Output only.UtilizationReport.Builder
clearField(com.google.protobuf.Descriptors.FieldDescriptor field)
UtilizationReport.Builder
clearFrameEndTime()
Output only.UtilizationReport.Builder
clearName()
Output only.UtilizationReport.Builder
clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)
UtilizationReport.Builder
clearState()
Output only.UtilizationReport.Builder
clearStateTime()
Output only.UtilizationReport.Builder
clearTimeFrame()
Time frame of the report.UtilizationReport.Builder
clearVmCount()
Output only.UtilizationReport.Builder
clearVms()
List of utilization information per VM.UtilizationReport.Builder
clone()
com.google.protobuf.Timestamp
getCreateTime()
Output only.com.google.protobuf.Timestamp.Builder
getCreateTimeBuilder()
Output only.com.google.protobuf.TimestampOrBuilder
getCreateTimeOrBuilder()
Output only.UtilizationReport
getDefaultInstanceForType()
static com.google.protobuf.Descriptors.Descriptor
getDescriptor()
com.google.protobuf.Descriptors.Descriptor
getDescriptorForType()
String
getDisplayName()
The report display name, as assigned by the user.com.google.protobuf.ByteString
getDisplayNameBytes()
The report display name, as assigned by the user.com.google.rpc.Status
getError()
Output only.com.google.rpc.Status.Builder
getErrorBuilder()
Output only.com.google.rpc.StatusOrBuilder
getErrorOrBuilder()
Output only.com.google.protobuf.Timestamp
getFrameEndTime()
Output only.com.google.protobuf.Timestamp.Builder
getFrameEndTimeBuilder()
Output only.com.google.protobuf.TimestampOrBuilder
getFrameEndTimeOrBuilder()
Output only.String
getName()
Output only.com.google.protobuf.ByteString
getNameBytes()
Output only.UtilizationReport.State
getState()
Output only.com.google.protobuf.Timestamp
getStateTime()
Output only.com.google.protobuf.Timestamp.Builder
getStateTimeBuilder()
Output only.com.google.protobuf.TimestampOrBuilder
getStateTimeOrBuilder()
Output only.int
getStateValue()
Output only.UtilizationReport.TimeFrame
getTimeFrame()
Time frame of the report.int
getTimeFrameValue()
Time frame of the report.int
getVmCount()
Output only.VmUtilizationInfo
getVms(int index)
List of utilization information per VM.VmUtilizationInfo.Builder
getVmsBuilder(int index)
List of utilization information per VM.List<VmUtilizationInfo.Builder>
getVmsBuilderList()
List of utilization information per VM.int
getVmsCount()
List of utilization information per VM.List<VmUtilizationInfo>
getVmsList()
List of utilization information per VM.VmUtilizationInfoOrBuilder
getVmsOrBuilder(int index)
List of utilization information per VM.List<? extends VmUtilizationInfoOrBuilder>
getVmsOrBuilderList()
List of utilization information per VM.boolean
hasCreateTime()
Output only.boolean
hasError()
Output only.boolean
hasFrameEndTime()
Output only.boolean
hasStateTime()
Output only.protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable()
boolean
isInitialized()
UtilizationReport.Builder
mergeCreateTime(com.google.protobuf.Timestamp value)
Output only.UtilizationReport.Builder
mergeError(com.google.rpc.Status value)
Output only.UtilizationReport.Builder
mergeFrameEndTime(com.google.protobuf.Timestamp value)
Output only.UtilizationReport.Builder
mergeFrom(UtilizationReport other)
UtilizationReport.Builder
mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
UtilizationReport.Builder
mergeFrom(com.google.protobuf.Message other)
UtilizationReport.Builder
mergeStateTime(com.google.protobuf.Timestamp value)
Output only.UtilizationReport.Builder
mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
UtilizationReport.Builder
removeVms(int index)
List of utilization information per VM.UtilizationReport.Builder
setCreateTime(com.google.protobuf.Timestamp value)
Output only.UtilizationReport.Builder
setCreateTime(com.google.protobuf.Timestamp.Builder builderForValue)
Output only.UtilizationReport.Builder
setDisplayName(String value)
The report display name, as assigned by the user.UtilizationReport.Builder
setDisplayNameBytes(com.google.protobuf.ByteString value)
The report display name, as assigned by the user.UtilizationReport.Builder
setError(com.google.rpc.Status value)
Output only.UtilizationReport.Builder
setError(com.google.rpc.Status.Builder builderForValue)
Output only.UtilizationReport.Builder
setField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
UtilizationReport.Builder
setFrameEndTime(com.google.protobuf.Timestamp value)
Output only.UtilizationReport.Builder
setFrameEndTime(com.google.protobuf.Timestamp.Builder builderForValue)
Output only.UtilizationReport.Builder
setName(String value)
Output only.UtilizationReport.Builder
setNameBytes(com.google.protobuf.ByteString value)
Output only.UtilizationReport.Builder
setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, Object value)
UtilizationReport.Builder
setState(UtilizationReport.State value)
Output only.UtilizationReport.Builder
setStateTime(com.google.protobuf.Timestamp value)
Output only.UtilizationReport.Builder
setStateTime(com.google.protobuf.Timestamp.Builder builderForValue)
Output only.UtilizationReport.Builder
setStateValue(int value)
Output only.UtilizationReport.Builder
setTimeFrame(UtilizationReport.TimeFrame value)
Time frame of the report.UtilizationReport.Builder
setTimeFrameValue(int value)
Time frame of the report.UtilizationReport.Builder
setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
UtilizationReport.Builder
setVmCount(int value)
Output only.UtilizationReport.Builder
setVms(int index, VmUtilizationInfo value)
List of utilization information per VM.UtilizationReport.Builder
setVms(int index, VmUtilizationInfo.Builder builderForValue)
List of utilization information per VM.-
Methods inherited from class com.google.protobuf.GeneratedMessageV3.Builder
getAllFields, getField, getFieldBuilder, getOneofFieldDescriptor, getParentForChildren, getRepeatedField, getRepeatedFieldBuilder, getRepeatedFieldCount, getUnknownFields, getUnknownFieldSetBuilder, hasField, hasOneof, internalGetMapField, internalGetMutableMapField, isClean, markClean, mergeUnknownLengthDelimitedField, mergeUnknownVarintField, newBuilderForField, onBuilt, onChanged, parseUnknownField, setUnknownFieldSetBuilder, setUnknownFieldsProto3
-
Methods inherited from class com.google.protobuf.AbstractMessage.Builder
findInitializationErrors, getInitializationErrorString, internalMergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException, toString
-
Methods inherited from class com.google.protobuf.AbstractMessageLite.Builder
addAll, addAll, mergeDelimitedFrom, mergeDelimitedFrom, mergeFrom, newUninitializedMessageException
-
Methods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
-
-
-
-
Method Detail
-
getDescriptor
public static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
-
internalGetFieldAccessorTable
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
- Specified by:
internalGetFieldAccessorTable
in classcom.google.protobuf.GeneratedMessageV3.Builder<UtilizationReport.Builder>
-
clear
public UtilizationReport.Builder clear()
- Specified by:
clear
in interfacecom.google.protobuf.Message.Builder
- Specified by:
clear
in interfacecom.google.protobuf.MessageLite.Builder
- Overrides:
clear
in classcom.google.protobuf.GeneratedMessageV3.Builder<UtilizationReport.Builder>
-
getDescriptorForType
public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()
- Specified by:
getDescriptorForType
in interfacecom.google.protobuf.Message.Builder
- Specified by:
getDescriptorForType
in interfacecom.google.protobuf.MessageOrBuilder
- Overrides:
getDescriptorForType
in classcom.google.protobuf.GeneratedMessageV3.Builder<UtilizationReport.Builder>
-
getDefaultInstanceForType
public UtilizationReport getDefaultInstanceForType()
- Specified by:
getDefaultInstanceForType
in interfacecom.google.protobuf.MessageLiteOrBuilder
- Specified by:
getDefaultInstanceForType
in interfacecom.google.protobuf.MessageOrBuilder
-
build
public UtilizationReport build()
- Specified by:
build
in interfacecom.google.protobuf.Message.Builder
- Specified by:
build
in interfacecom.google.protobuf.MessageLite.Builder
-
buildPartial
public UtilizationReport buildPartial()
- Specified by:
buildPartial
in interfacecom.google.protobuf.Message.Builder
- Specified by:
buildPartial
in interfacecom.google.protobuf.MessageLite.Builder
-
clone
public UtilizationReport.Builder clone()
- Specified by:
clone
in interfacecom.google.protobuf.Message.Builder
- Specified by:
clone
in interfacecom.google.protobuf.MessageLite.Builder
- Overrides:
clone
in classcom.google.protobuf.GeneratedMessageV3.Builder<UtilizationReport.Builder>
-
setField
public UtilizationReport.Builder setField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
- Specified by:
setField
in interfacecom.google.protobuf.Message.Builder
- Overrides:
setField
in classcom.google.protobuf.GeneratedMessageV3.Builder<UtilizationReport.Builder>
-
clearField
public UtilizationReport.Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field)
- Specified by:
clearField
in interfacecom.google.protobuf.Message.Builder
- Overrides:
clearField
in classcom.google.protobuf.GeneratedMessageV3.Builder<UtilizationReport.Builder>
-
clearOneof
public UtilizationReport.Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)
- Specified by:
clearOneof
in interfacecom.google.protobuf.Message.Builder
- Overrides:
clearOneof
in classcom.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 interfacecom.google.protobuf.Message.Builder
- Overrides:
setRepeatedField
in classcom.google.protobuf.GeneratedMessageV3.Builder<UtilizationReport.Builder>
-
addRepeatedField
public UtilizationReport.Builder addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
- Specified by:
addRepeatedField
in interfacecom.google.protobuf.Message.Builder
- Overrides:
addRepeatedField
in classcom.google.protobuf.GeneratedMessageV3.Builder<UtilizationReport.Builder>
-
mergeFrom
public UtilizationReport.Builder mergeFrom(com.google.protobuf.Message other)
- Specified by:
mergeFrom
in interfacecom.google.protobuf.Message.Builder
- Overrides:
mergeFrom
in classcom.google.protobuf.AbstractMessage.Builder<UtilizationReport.Builder>
-
mergeFrom
public UtilizationReport.Builder mergeFrom(UtilizationReport other)
-
isInitialized
public final boolean isInitialized()
- Specified by:
isInitialized
in interfacecom.google.protobuf.MessageLiteOrBuilder
- Overrides:
isInitialized
in classcom.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 interfacecom.google.protobuf.Message.Builder
- Specified by:
mergeFrom
in interfacecom.google.protobuf.MessageLite.Builder
- Overrides:
mergeFrom
in classcom.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 interfaceUtilizationReportOrBuilder
- 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 interfaceUtilizationReportOrBuilder
- 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.
-
getDisplayName
public String getDisplayName()
The report display name, as assigned by the user.
string display_name = 2;
- Specified by:
getDisplayName
in interfaceUtilizationReportOrBuilder
- Returns:
- The displayName.
-
getDisplayNameBytes
public com.google.protobuf.ByteString getDisplayNameBytes()
The report display name, as assigned by the user.
string display_name = 2;
- Specified by:
getDisplayNameBytes
in interfaceUtilizationReportOrBuilder
- 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 interfaceUtilizationReportOrBuilder
- 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 interfaceUtilizationReportOrBuilder
- 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 interfaceUtilizationReportOrBuilder
- 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 interfaceUtilizationReportOrBuilder
- 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 interfaceUtilizationReportOrBuilder
-
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 interfaceUtilizationReportOrBuilder
- 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 interfaceUtilizationReportOrBuilder
- 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 interfaceUtilizationReportOrBuilder
-
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 interfaceUtilizationReportOrBuilder
- 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 interfaceUtilizationReportOrBuilder
- 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 interfaceUtilizationReportOrBuilder
-
getTimeFrameValue
public int getTimeFrameValue()
Time frame of the report.
.google.cloud.vmmigration.v1.UtilizationReport.TimeFrame time_frame = 7;
- Specified by:
getTimeFrameValue
in interfaceUtilizationReportOrBuilder
- 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.
-
getTimeFrame
public UtilizationReport.TimeFrame getTimeFrame()
Time frame of the report.
.google.cloud.vmmigration.v1.UtilizationReport.TimeFrame time_frame = 7;
- Specified by:
getTimeFrame
in interfaceUtilizationReportOrBuilder
- Returns:
- The timeFrame.
-
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 interfaceUtilizationReportOrBuilder
- 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 interfaceUtilizationReportOrBuilder
- 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 interfaceUtilizationReportOrBuilder
-
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 interfaceUtilizationReportOrBuilder
- 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 interfaceUtilizationReportOrBuilder
-
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 interfaceUtilizationReportOrBuilder
-
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 interfaceUtilizationReportOrBuilder
-
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 interfaceUtilizationReportOrBuilder
-
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 interfaceUtilizationReportOrBuilder
-
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 interfacecom.google.protobuf.Message.Builder
- Overrides:
setUnknownFields
in classcom.google.protobuf.GeneratedMessageV3.Builder<UtilizationReport.Builder>
-
mergeUnknownFields
public final UtilizationReport.Builder mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
- Specified by:
mergeUnknownFields
in interfacecom.google.protobuf.Message.Builder
- Overrides:
mergeUnknownFields
in classcom.google.protobuf.GeneratedMessageV3.Builder<UtilizationReport.Builder>
-
-