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.BuilderaddAllVms(Iterable<? extends VmUtilizationInfo> values)List of utilization information per VM.UtilizationReport.BuilderaddRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)UtilizationReport.BuilderaddVms(int index, VmUtilizationInfo value)List of utilization information per VM.UtilizationReport.BuilderaddVms(int index, VmUtilizationInfo.Builder builderForValue)List of utilization information per VM.UtilizationReport.BuilderaddVms(VmUtilizationInfo value)List of utilization information per VM.UtilizationReport.BuilderaddVms(VmUtilizationInfo.Builder builderForValue)List of utilization information per VM.VmUtilizationInfo.BuilderaddVmsBuilder()List of utilization information per VM.VmUtilizationInfo.BuilderaddVmsBuilder(int index)List of utilization information per VM.UtilizationReportbuild()UtilizationReportbuildPartial()UtilizationReport.Builderclear()UtilizationReport.BuilderclearCreateTime()Output only.UtilizationReport.BuilderclearDisplayName()The report display name, as assigned by the user.UtilizationReport.BuilderclearError()Output only.UtilizationReport.BuilderclearField(com.google.protobuf.Descriptors.FieldDescriptor field)UtilizationReport.BuilderclearFrameEndTime()Output only.UtilizationReport.BuilderclearName()Output only.UtilizationReport.BuilderclearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)UtilizationReport.BuilderclearState()Output only.UtilizationReport.BuilderclearStateTime()Output only.UtilizationReport.BuilderclearTimeFrame()Time frame of the report.UtilizationReport.BuilderclearVmCount()Output only.UtilizationReport.BuilderclearVms()List of utilization information per VM.UtilizationReport.Builderclone()com.google.protobuf.TimestampgetCreateTime()Output only.com.google.protobuf.Timestamp.BuildergetCreateTimeBuilder()Output only.com.google.protobuf.TimestampOrBuildergetCreateTimeOrBuilder()Output only.UtilizationReportgetDefaultInstanceForType()static com.google.protobuf.Descriptors.DescriptorgetDescriptor()com.google.protobuf.Descriptors.DescriptorgetDescriptorForType()StringgetDisplayName()The report display name, as assigned by the user.com.google.protobuf.ByteStringgetDisplayNameBytes()The report display name, as assigned by the user.com.google.rpc.StatusgetError()Output only.com.google.rpc.Status.BuildergetErrorBuilder()Output only.com.google.rpc.StatusOrBuildergetErrorOrBuilder()Output only.com.google.protobuf.TimestampgetFrameEndTime()Output only.com.google.protobuf.Timestamp.BuildergetFrameEndTimeBuilder()Output only.com.google.protobuf.TimestampOrBuildergetFrameEndTimeOrBuilder()Output only.StringgetName()Output only.com.google.protobuf.ByteStringgetNameBytes()Output only.UtilizationReport.StategetState()Output only.com.google.protobuf.TimestampgetStateTime()Output only.com.google.protobuf.Timestamp.BuildergetStateTimeBuilder()Output only.com.google.protobuf.TimestampOrBuildergetStateTimeOrBuilder()Output only.intgetStateValue()Output only.UtilizationReport.TimeFramegetTimeFrame()Time frame of the report.intgetTimeFrameValue()Time frame of the report.intgetVmCount()Output only.VmUtilizationInfogetVms(int index)List of utilization information per VM.VmUtilizationInfo.BuildergetVmsBuilder(int index)List of utilization information per VM.List<VmUtilizationInfo.Builder>getVmsBuilderList()List of utilization information per VM.intgetVmsCount()List of utilization information per VM.List<VmUtilizationInfo>getVmsList()List of utilization information per VM.VmUtilizationInfoOrBuildergetVmsOrBuilder(int index)List of utilization information per VM.List<? extends VmUtilizationInfoOrBuilder>getVmsOrBuilderList()List of utilization information per VM.booleanhasCreateTime()Output only.booleanhasError()Output only.booleanhasFrameEndTime()Output only.booleanhasStateTime()Output only.protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTableinternalGetFieldAccessorTable()booleanisInitialized()UtilizationReport.BuildermergeCreateTime(com.google.protobuf.Timestamp value)Output only.UtilizationReport.BuildermergeError(com.google.rpc.Status value)Output only.UtilizationReport.BuildermergeFrameEndTime(com.google.protobuf.Timestamp value)Output only.UtilizationReport.BuildermergeFrom(UtilizationReport other)UtilizationReport.BuildermergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)UtilizationReport.BuildermergeFrom(com.google.protobuf.Message other)UtilizationReport.BuildermergeStateTime(com.google.protobuf.Timestamp value)Output only.UtilizationReport.BuildermergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)UtilizationReport.BuilderremoveVms(int index)List of utilization information per VM.UtilizationReport.BuildersetCreateTime(com.google.protobuf.Timestamp value)Output only.UtilizationReport.BuildersetCreateTime(com.google.protobuf.Timestamp.Builder builderForValue)Output only.UtilizationReport.BuildersetDisplayName(String value)The report display name, as assigned by the user.UtilizationReport.BuildersetDisplayNameBytes(com.google.protobuf.ByteString value)The report display name, as assigned by the user.UtilizationReport.BuildersetError(com.google.rpc.Status value)Output only.UtilizationReport.BuildersetError(com.google.rpc.Status.Builder builderForValue)Output only.UtilizationReport.BuildersetField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)UtilizationReport.BuildersetFrameEndTime(com.google.protobuf.Timestamp value)Output only.UtilizationReport.BuildersetFrameEndTime(com.google.protobuf.Timestamp.Builder builderForValue)Output only.UtilizationReport.BuildersetName(String value)Output only.UtilizationReport.BuildersetNameBytes(com.google.protobuf.ByteString value)Output only.UtilizationReport.BuildersetRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, Object value)UtilizationReport.BuildersetState(UtilizationReport.State value)Output only.UtilizationReport.BuildersetStateTime(com.google.protobuf.Timestamp value)Output only.UtilizationReport.BuildersetStateTime(com.google.protobuf.Timestamp.Builder builderForValue)Output only.UtilizationReport.BuildersetStateValue(int value)Output only.UtilizationReport.BuildersetTimeFrame(UtilizationReport.TimeFrame value)Time frame of the report.UtilizationReport.BuildersetTimeFrameValue(int value)Time frame of the report.UtilizationReport.BuildersetUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)UtilizationReport.BuildersetVmCount(int value)Output only.UtilizationReport.BuildersetVms(int index, VmUtilizationInfo value)List of utilization information per VM.UtilizationReport.BuildersetVms(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:
internalGetFieldAccessorTablein classcom.google.protobuf.GeneratedMessageV3.Builder<UtilizationReport.Builder>
-
clear
public UtilizationReport.Builder clear()
- Specified by:
clearin interfacecom.google.protobuf.Message.Builder- Specified by:
clearin interfacecom.google.protobuf.MessageLite.Builder- Overrides:
clearin classcom.google.protobuf.GeneratedMessageV3.Builder<UtilizationReport.Builder>
-
getDescriptorForType
public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()
- Specified by:
getDescriptorForTypein interfacecom.google.protobuf.Message.Builder- Specified by:
getDescriptorForTypein interfacecom.google.protobuf.MessageOrBuilder- Overrides:
getDescriptorForTypein classcom.google.protobuf.GeneratedMessageV3.Builder<UtilizationReport.Builder>
-
getDefaultInstanceForType
public UtilizationReport getDefaultInstanceForType()
- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageLiteOrBuilder- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageOrBuilder
-
build
public UtilizationReport build()
- Specified by:
buildin interfacecom.google.protobuf.Message.Builder- Specified by:
buildin interfacecom.google.protobuf.MessageLite.Builder
-
buildPartial
public UtilizationReport buildPartial()
- Specified by:
buildPartialin interfacecom.google.protobuf.Message.Builder- Specified by:
buildPartialin interfacecom.google.protobuf.MessageLite.Builder
-
clone
public UtilizationReport.Builder clone()
- Specified by:
clonein interfacecom.google.protobuf.Message.Builder- Specified by:
clonein interfacecom.google.protobuf.MessageLite.Builder- Overrides:
clonein classcom.google.protobuf.GeneratedMessageV3.Builder<UtilizationReport.Builder>
-
setField
public UtilizationReport.Builder setField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
- Specified by:
setFieldin interfacecom.google.protobuf.Message.Builder- Overrides:
setFieldin classcom.google.protobuf.GeneratedMessageV3.Builder<UtilizationReport.Builder>
-
clearField
public UtilizationReport.Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field)
- Specified by:
clearFieldin interfacecom.google.protobuf.Message.Builder- Overrides:
clearFieldin classcom.google.protobuf.GeneratedMessageV3.Builder<UtilizationReport.Builder>
-
clearOneof
public UtilizationReport.Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)
- Specified by:
clearOneofin interfacecom.google.protobuf.Message.Builder- Overrides:
clearOneofin classcom.google.protobuf.GeneratedMessageV3.Builder<UtilizationReport.Builder>
-
setRepeatedField
public UtilizationReport.Builder setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, Object value)
- Specified by:
setRepeatedFieldin interfacecom.google.protobuf.Message.Builder- Overrides:
setRepeatedFieldin classcom.google.protobuf.GeneratedMessageV3.Builder<UtilizationReport.Builder>
-
addRepeatedField
public UtilizationReport.Builder addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
- Specified by:
addRepeatedFieldin interfacecom.google.protobuf.Message.Builder- Overrides:
addRepeatedFieldin classcom.google.protobuf.GeneratedMessageV3.Builder<UtilizationReport.Builder>
-
mergeFrom
public UtilizationReport.Builder mergeFrom(com.google.protobuf.Message other)
- Specified by:
mergeFromin interfacecom.google.protobuf.Message.Builder- Overrides:
mergeFromin classcom.google.protobuf.AbstractMessage.Builder<UtilizationReport.Builder>
-
mergeFrom
public UtilizationReport.Builder mergeFrom(UtilizationReport other)
-
isInitialized
public final boolean isInitialized()
- Specified by:
isInitializedin interfacecom.google.protobuf.MessageLiteOrBuilder- Overrides:
isInitializedin 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:
mergeFromin interfacecom.google.protobuf.Message.Builder- Specified by:
mergeFromin interfacecom.google.protobuf.MessageLite.Builder- Overrides:
mergeFromin 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:
getNamein 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:
getNameBytesin 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:
getDisplayNamein 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:
getDisplayNameBytesin 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:
getStateValuein 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:
getStatein 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:
hasStateTimein 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:
getStateTimein 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:
getStateTimeOrBuilderin 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:
hasErrorin 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:
getErrorin 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:
getErrorOrBuilderin 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:
hasCreateTimein 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:
getCreateTimein 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:
getCreateTimeOrBuilderin interfaceUtilizationReportOrBuilder
-
getTimeFrameValue
public int getTimeFrameValue()
Time frame of the report.
.google.cloud.vmmigration.v1.UtilizationReport.TimeFrame time_frame = 7;- Specified by:
getTimeFrameValuein 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:
getTimeFramein 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:
hasFrameEndTimein 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:
getFrameEndTimein 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:
getFrameEndTimeOrBuilderin 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:
getVmCountin 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:
getVmsListin 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:
getVmsCountin 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:
getVmsin 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:
getVmsOrBuilderin 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:
getVmsOrBuilderListin 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:
setUnknownFieldsin interfacecom.google.protobuf.Message.Builder- Overrides:
setUnknownFieldsin classcom.google.protobuf.GeneratedMessageV3.Builder<UtilizationReport.Builder>
-
mergeUnknownFields
public final UtilizationReport.Builder mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
- Specified by:
mergeUnknownFieldsin interfacecom.google.protobuf.Message.Builder- Overrides:
mergeUnknownFieldsin classcom.google.protobuf.GeneratedMessageV3.Builder<UtilizationReport.Builder>
-
-