Package com.google.cloud.vmmigration.v1
Class CutoverJob
- java.lang.Object
-
- com.google.protobuf.AbstractMessageLite
-
- com.google.protobuf.AbstractMessage
-
- com.google.protobuf.GeneratedMessageV3
-
- com.google.cloud.vmmigration.v1.CutoverJob
-
- All Implemented Interfaces:
CutoverJobOrBuilder,com.google.protobuf.Message,com.google.protobuf.MessageLite,com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder,Serializable
public final class CutoverJob extends com.google.protobuf.GeneratedMessageV3 implements CutoverJobOrBuilder
CutoverJob message describes a cutover of a migrating VM. The CutoverJob is the operation of shutting down the VM, creating a snapshot and clonning the VM using the replicated snapshot.
Protobuf typegoogle.cloud.vmmigration.v1.CutoverJob- See Also:
- Serialized Form
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classCutoverJob.BuilderCutoverJob message describes a cutover of a migrating VM.static classCutoverJob.StatePossible states of the cutover job.static classCutoverJob.TargetVmDetailsCase-
Nested classes/interfaces inherited from class com.google.protobuf.GeneratedMessageV3
com.google.protobuf.GeneratedMessageV3.BuilderParent, com.google.protobuf.GeneratedMessageV3.ExtendableBuilder<MessageT extends com.google.protobuf.GeneratedMessageV3.ExtendableMessage<MessageT>,BuilderT extends com.google.protobuf.GeneratedMessageV3.ExtendableBuilder<MessageT,BuilderT>>, com.google.protobuf.GeneratedMessageV3.ExtendableMessage<MessageT extends com.google.protobuf.GeneratedMessageV3.ExtendableMessage<MessageT>>, com.google.protobuf.GeneratedMessageV3.ExtendableMessageOrBuilder<MessageT extends com.google.protobuf.GeneratedMessageV3.ExtendableMessage<MessageT>>, com.google.protobuf.GeneratedMessageV3.FieldAccessorTable, com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter
-
-
Field Summary
Fields Modifier and Type Field Description static intCOMPUTE_ENGINE_TARGET_DETAILS_FIELD_NUMBERstatic intCREATE_TIME_FIELD_NUMBERstatic intEND_TIME_FIELD_NUMBERstatic intERROR_FIELD_NUMBERstatic intNAME_FIELD_NUMBERstatic intPROGRESS_PERCENT_FIELD_NUMBERstatic intSTATE_FIELD_NUMBERstatic intSTATE_MESSAGE_FIELD_NUMBERstatic intSTATE_TIME_FIELD_NUMBERstatic intSTEPS_FIELD_NUMBER
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description booleanequals(Object obj)ComputeEngineTargetDetailsgetComputeEngineTargetDetails()Output only.ComputeEngineTargetDetailsOrBuildergetComputeEngineTargetDetailsOrBuilder()Output only.com.google.protobuf.TimestampgetCreateTime()Output only.com.google.protobuf.TimestampOrBuildergetCreateTimeOrBuilder()Output only.static CutoverJobgetDefaultInstance()CutoverJobgetDefaultInstanceForType()static com.google.protobuf.Descriptors.DescriptorgetDescriptor()com.google.protobuf.TimestampgetEndTime()Output only.com.google.protobuf.TimestampOrBuildergetEndTimeOrBuilder()Output only.com.google.rpc.StatusgetError()Output only.com.google.rpc.StatusOrBuildergetErrorOrBuilder()Output only.StringgetName()Output only.com.google.protobuf.ByteStringgetNameBytes()Output only.com.google.protobuf.Parser<CutoverJob>getParserForType()intgetProgressPercent()Output only.intgetSerializedSize()CutoverJob.StategetState()Output only.StringgetStateMessage()Output only.com.google.protobuf.ByteStringgetStateMessageBytes()Output only.com.google.protobuf.TimestampgetStateTime()Output only.com.google.protobuf.TimestampOrBuildergetStateTimeOrBuilder()Output only.intgetStateValue()Output only.CutoverStepgetSteps(int index)Output only.intgetStepsCount()Output only.List<CutoverStep>getStepsList()Output only.CutoverStepOrBuildergetStepsOrBuilder(int index)Output only.List<? extends CutoverStepOrBuilder>getStepsOrBuilderList()Output only.CutoverJob.TargetVmDetailsCasegetTargetVmDetailsCase()booleanhasComputeEngineTargetDetails()Output only.booleanhasCreateTime()Output only.booleanhasEndTime()Output only.booleanhasError()Output only.inthashCode()booleanhasStateTime()Output only.protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTableinternalGetFieldAccessorTable()booleanisInitialized()static CutoverJob.BuildernewBuilder()static CutoverJob.BuildernewBuilder(CutoverJob prototype)CutoverJob.BuildernewBuilderForType()protected CutoverJob.BuildernewBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent)protected ObjectnewInstance(com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter unused)static CutoverJobparseDelimitedFrom(InputStream input)static CutoverJobparseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)static CutoverJobparseFrom(byte[] data)static CutoverJobparseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)static CutoverJobparseFrom(com.google.protobuf.ByteString data)static CutoverJobparseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)static CutoverJobparseFrom(com.google.protobuf.CodedInputStream input)static CutoverJobparseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)static CutoverJobparseFrom(InputStream input)static CutoverJobparseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)static CutoverJobparseFrom(ByteBuffer data)static CutoverJobparseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)static com.google.protobuf.Parser<CutoverJob>parser()CutoverJob.BuildertoBuilder()voidwriteTo(com.google.protobuf.CodedOutputStream output)-
Methods inherited from class com.google.protobuf.GeneratedMessageV3
canUseUnsafe, computeStringSize, computeStringSizeNoTag, emptyBooleanList, emptyDoubleList, emptyFloatList, emptyIntList, emptyLongList, getAllFields, getDescriptorForType, getField, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof, internalGetMapField, isStringEmpty, makeExtensionsImmutable, makeMutableCopy, mergeFromAndMakeImmutableInternal, mutableCopy, mutableCopy, mutableCopy, mutableCopy, mutableCopy, newBooleanList, newBuilderForType, newDoubleList, newFloatList, newIntList, newLongList, parseDelimitedWithIOException, parseDelimitedWithIOException, parseUnknownField, parseUnknownFieldProto3, parseWithIOException, parseWithIOException, parseWithIOException, parseWithIOException, serializeBooleanMapTo, serializeIntegerMapTo, serializeLongMapTo, serializeStringMapTo, writeReplace, writeString, writeStringNoTag
-
Methods inherited from class com.google.protobuf.AbstractMessage
findInitializationErrors, getInitializationErrorString, hashBoolean, hashEnum, hashEnumList, hashFields, hashLong, toString
-
Methods inherited from class com.google.protobuf.AbstractMessageLite
addAll, addAll, checkByteStringIsUtf8, toByteArray, toByteString, writeDelimitedTo, writeTo
-
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
-
-
-
-
Field Detail
-
COMPUTE_ENGINE_TARGET_DETAILS_FIELD_NUMBER
public static final int COMPUTE_ENGINE_TARGET_DETAILS_FIELD_NUMBER
- See Also:
- Constant Field Values
-
CREATE_TIME_FIELD_NUMBER
public static final int CREATE_TIME_FIELD_NUMBER
- See Also:
- Constant Field Values
-
END_TIME_FIELD_NUMBER
public static final int END_TIME_FIELD_NUMBER
- See Also:
- Constant Field Values
-
NAME_FIELD_NUMBER
public static final int NAME_FIELD_NUMBER
- See Also:
- Constant Field Values
-
STATE_FIELD_NUMBER
public static final int STATE_FIELD_NUMBER
- See Also:
- Constant Field Values
-
STATE_TIME_FIELD_NUMBER
public static final int STATE_TIME_FIELD_NUMBER
- See Also:
- Constant Field Values
-
PROGRESS_PERCENT_FIELD_NUMBER
public static final int PROGRESS_PERCENT_FIELD_NUMBER
- See Also:
- Constant Field Values
-
ERROR_FIELD_NUMBER
public static final int ERROR_FIELD_NUMBER
- See Also:
- Constant Field Values
-
STATE_MESSAGE_FIELD_NUMBER
public static final int STATE_MESSAGE_FIELD_NUMBER
- See Also:
- Constant Field Values
-
STEPS_FIELD_NUMBER
public static final int STEPS_FIELD_NUMBER
- See Also:
- Constant Field Values
-
-
Method Detail
-
newInstance
protected Object newInstance(com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter unused)
- Overrides:
newInstancein classcom.google.protobuf.GeneratedMessageV3
-
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
-
getTargetVmDetailsCase
public CutoverJob.TargetVmDetailsCase getTargetVmDetailsCase()
- Specified by:
getTargetVmDetailsCasein interfaceCutoverJobOrBuilder
-
hasComputeEngineTargetDetails
public boolean hasComputeEngineTargetDetails()
Output only. Details of the target VM in Compute Engine.
.google.cloud.vmmigration.v1.ComputeEngineTargetDetails compute_engine_target_details = 14 [(.google.api.field_behavior) = OUTPUT_ONLY];- Specified by:
hasComputeEngineTargetDetailsin interfaceCutoverJobOrBuilder- Returns:
- Whether the computeEngineTargetDetails field is set.
-
getComputeEngineTargetDetails
public ComputeEngineTargetDetails getComputeEngineTargetDetails()
Output only. Details of the target VM in Compute Engine.
.google.cloud.vmmigration.v1.ComputeEngineTargetDetails compute_engine_target_details = 14 [(.google.api.field_behavior) = OUTPUT_ONLY];- Specified by:
getComputeEngineTargetDetailsin interfaceCutoverJobOrBuilder- Returns:
- The computeEngineTargetDetails.
-
getComputeEngineTargetDetailsOrBuilder
public ComputeEngineTargetDetailsOrBuilder getComputeEngineTargetDetailsOrBuilder()
Output only. Details of the target VM in Compute Engine.
.google.cloud.vmmigration.v1.ComputeEngineTargetDetails compute_engine_target_details = 14 [(.google.api.field_behavior) = OUTPUT_ONLY];- Specified by:
getComputeEngineTargetDetailsOrBuilderin interfaceCutoverJobOrBuilder
-
hasCreateTime
public boolean hasCreateTime()
Output only. The time the cutover job was created (as an API call, not when it was actually created in the target).
.google.protobuf.Timestamp create_time = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];- Specified by:
hasCreateTimein interfaceCutoverJobOrBuilder- Returns:
- Whether the createTime field is set.
-
getCreateTime
public com.google.protobuf.Timestamp getCreateTime()
Output only. The time the cutover job was created (as an API call, not when it was actually created in the target).
.google.protobuf.Timestamp create_time = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];- Specified by:
getCreateTimein interfaceCutoverJobOrBuilder- Returns:
- The createTime.
-
getCreateTimeOrBuilder
public com.google.protobuf.TimestampOrBuilder getCreateTimeOrBuilder()
Output only. The time the cutover job was created (as an API call, not when it was actually created in the target).
.google.protobuf.Timestamp create_time = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];- Specified by:
getCreateTimeOrBuilderin interfaceCutoverJobOrBuilder
-
hasEndTime
public boolean hasEndTime()
Output only. The time the cutover job had finished.
.google.protobuf.Timestamp end_time = 16 [(.google.api.field_behavior) = OUTPUT_ONLY];- Specified by:
hasEndTimein interfaceCutoverJobOrBuilder- Returns:
- Whether the endTime field is set.
-
getEndTime
public com.google.protobuf.Timestamp getEndTime()
Output only. The time the cutover job had finished.
.google.protobuf.Timestamp end_time = 16 [(.google.api.field_behavior) = OUTPUT_ONLY];- Specified by:
getEndTimein interfaceCutoverJobOrBuilder- Returns:
- The endTime.
-
getEndTimeOrBuilder
public com.google.protobuf.TimestampOrBuilder getEndTimeOrBuilder()
Output only. The time the cutover job had finished.
.google.protobuf.Timestamp end_time = 16 [(.google.api.field_behavior) = OUTPUT_ONLY];- Specified by:
getEndTimeOrBuilderin interfaceCutoverJobOrBuilder
-
getName
public String getName()
Output only. The name of the cutover job.
string name = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];- Specified by:
getNamein interfaceCutoverJobOrBuilder- Returns:
- The name.
-
getNameBytes
public com.google.protobuf.ByteString getNameBytes()
Output only. The name of the cutover job.
string name = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];- Specified by:
getNameBytesin interfaceCutoverJobOrBuilder- Returns:
- The bytes for name.
-
getStateValue
public int getStateValue()
Output only. State of the cutover job.
.google.cloud.vmmigration.v1.CutoverJob.State state = 5 [(.google.api.field_behavior) = OUTPUT_ONLY];- Specified by:
getStateValuein interfaceCutoverJobOrBuilder- Returns:
- The enum numeric value on the wire for state.
-
getState
public CutoverJob.State getState()
Output only. State of the cutover job.
.google.cloud.vmmigration.v1.CutoverJob.State state = 5 [(.google.api.field_behavior) = OUTPUT_ONLY];- Specified by:
getStatein interfaceCutoverJobOrBuilder- Returns:
- The state.
-
hasStateTime
public boolean hasStateTime()
Output only. The time the state was last updated.
.google.protobuf.Timestamp state_time = 6 [(.google.api.field_behavior) = OUTPUT_ONLY];- Specified by:
hasStateTimein interfaceCutoverJobOrBuilder- Returns:
- Whether the stateTime field is set.
-
getStateTime
public com.google.protobuf.Timestamp getStateTime()
Output only. The time the state was last updated.
.google.protobuf.Timestamp state_time = 6 [(.google.api.field_behavior) = OUTPUT_ONLY];- Specified by:
getStateTimein interfaceCutoverJobOrBuilder- Returns:
- The stateTime.
-
getStateTimeOrBuilder
public com.google.protobuf.TimestampOrBuilder getStateTimeOrBuilder()
Output only. The time the state was last updated.
.google.protobuf.Timestamp state_time = 6 [(.google.api.field_behavior) = OUTPUT_ONLY];- Specified by:
getStateTimeOrBuilderin interfaceCutoverJobOrBuilder
-
getProgressPercent
public int getProgressPercent()
Output only. The current progress in percentage of the cutover job.
int32 progress_percent = 13 [(.google.api.field_behavior) = OUTPUT_ONLY];- Specified by:
getProgressPercentin interfaceCutoverJobOrBuilder- Returns:
- The progressPercent.
-
hasError
public boolean hasError()
Output only. Provides details for the errors that led to the Cutover Job's state.
.google.rpc.Status error = 9 [(.google.api.field_behavior) = OUTPUT_ONLY];- Specified by:
hasErrorin interfaceCutoverJobOrBuilder- Returns:
- Whether the error field is set.
-
getError
public com.google.rpc.Status getError()
Output only. Provides details for the errors that led to the Cutover Job's state.
.google.rpc.Status error = 9 [(.google.api.field_behavior) = OUTPUT_ONLY];- Specified by:
getErrorin interfaceCutoverJobOrBuilder- Returns:
- The error.
-
getErrorOrBuilder
public com.google.rpc.StatusOrBuilder getErrorOrBuilder()
Output only. Provides details for the errors that led to the Cutover Job's state.
.google.rpc.Status error = 9 [(.google.api.field_behavior) = OUTPUT_ONLY];- Specified by:
getErrorOrBuilderin interfaceCutoverJobOrBuilder
-
getStateMessage
public String getStateMessage()
Output only. A message providing possible extra details about the current state.
string state_message = 10 [(.google.api.field_behavior) = OUTPUT_ONLY];- Specified by:
getStateMessagein interfaceCutoverJobOrBuilder- Returns:
- The stateMessage.
-
getStateMessageBytes
public com.google.protobuf.ByteString getStateMessageBytes()
Output only. A message providing possible extra details about the current state.
string state_message = 10 [(.google.api.field_behavior) = OUTPUT_ONLY];- Specified by:
getStateMessageBytesin interfaceCutoverJobOrBuilder- Returns:
- The bytes for stateMessage.
-
getStepsList
public List<CutoverStep> getStepsList()
Output only. The cutover steps list representing its progress.
repeated .google.cloud.vmmigration.v1.CutoverStep steps = 17 [(.google.api.field_behavior) = OUTPUT_ONLY];- Specified by:
getStepsListin interfaceCutoverJobOrBuilder
-
getStepsOrBuilderList
public List<? extends CutoverStepOrBuilder> getStepsOrBuilderList()
Output only. The cutover steps list representing its progress.
repeated .google.cloud.vmmigration.v1.CutoverStep steps = 17 [(.google.api.field_behavior) = OUTPUT_ONLY];- Specified by:
getStepsOrBuilderListin interfaceCutoverJobOrBuilder
-
getStepsCount
public int getStepsCount()
Output only. The cutover steps list representing its progress.
repeated .google.cloud.vmmigration.v1.CutoverStep steps = 17 [(.google.api.field_behavior) = OUTPUT_ONLY];- Specified by:
getStepsCountin interfaceCutoverJobOrBuilder
-
getSteps
public CutoverStep getSteps(int index)
Output only. The cutover steps list representing its progress.
repeated .google.cloud.vmmigration.v1.CutoverStep steps = 17 [(.google.api.field_behavior) = OUTPUT_ONLY];- Specified by:
getStepsin interfaceCutoverJobOrBuilder
-
getStepsOrBuilder
public CutoverStepOrBuilder getStepsOrBuilder(int index)
Output only. The cutover steps list representing its progress.
repeated .google.cloud.vmmigration.v1.CutoverStep steps = 17 [(.google.api.field_behavior) = OUTPUT_ONLY];- Specified by:
getStepsOrBuilderin interfaceCutoverJobOrBuilder
-
isInitialized
public final boolean isInitialized()
- Specified by:
isInitializedin interfacecom.google.protobuf.MessageLiteOrBuilder- Overrides:
isInitializedin classcom.google.protobuf.GeneratedMessageV3
-
writeTo
public void writeTo(com.google.protobuf.CodedOutputStream output) throws IOException- Specified by:
writeToin interfacecom.google.protobuf.MessageLite- Overrides:
writeToin classcom.google.protobuf.GeneratedMessageV3- Throws:
IOException
-
getSerializedSize
public int getSerializedSize()
- Specified by:
getSerializedSizein interfacecom.google.protobuf.MessageLite- Overrides:
getSerializedSizein classcom.google.protobuf.GeneratedMessageV3
-
equals
public boolean equals(Object obj)
- Specified by:
equalsin interfacecom.google.protobuf.Message- Overrides:
equalsin classcom.google.protobuf.AbstractMessage
-
hashCode
public int hashCode()
- Specified by:
hashCodein interfacecom.google.protobuf.Message- Overrides:
hashCodein classcom.google.protobuf.AbstractMessage
-
parseFrom
public static CutoverJob parseFrom(ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException
- Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static CutoverJob parseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
- Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static CutoverJob parseFrom(com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException
- Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static CutoverJob parseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
- Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static CutoverJob parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException
- Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static CutoverJob parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
- Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static CutoverJob parseFrom(InputStream input) throws IOException
- Throws:
IOException
-
parseFrom
public static CutoverJob parseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
- Throws:
IOException
-
parseDelimitedFrom
public static CutoverJob parseDelimitedFrom(InputStream input) throws IOException
- Throws:
IOException
-
parseDelimitedFrom
public static CutoverJob parseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
- Throws:
IOException
-
parseFrom
public static CutoverJob parseFrom(com.google.protobuf.CodedInputStream input) throws IOException
- Throws:
IOException
-
parseFrom
public static CutoverJob parseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
- Throws:
IOException
-
newBuilderForType
public CutoverJob.Builder newBuilderForType()
- Specified by:
newBuilderForTypein interfacecom.google.protobuf.Message- Specified by:
newBuilderForTypein interfacecom.google.protobuf.MessageLite
-
newBuilder
public static CutoverJob.Builder newBuilder()
-
newBuilder
public static CutoverJob.Builder newBuilder(CutoverJob prototype)
-
toBuilder
public CutoverJob.Builder toBuilder()
- Specified by:
toBuilderin interfacecom.google.protobuf.Message- Specified by:
toBuilderin interfacecom.google.protobuf.MessageLite
-
newBuilderForType
protected CutoverJob.Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent)
- Specified by:
newBuilderForTypein classcom.google.protobuf.GeneratedMessageV3
-
getDefaultInstance
public static CutoverJob getDefaultInstance()
-
parser
public static com.google.protobuf.Parser<CutoverJob> parser()
-
getParserForType
public com.google.protobuf.Parser<CutoverJob> getParserForType()
- Specified by:
getParserForTypein interfacecom.google.protobuf.Message- Specified by:
getParserForTypein interfacecom.google.protobuf.MessageLite- Overrides:
getParserForTypein classcom.google.protobuf.GeneratedMessageV3
-
getDefaultInstanceForType
public CutoverJob getDefaultInstanceForType()
- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageLiteOrBuilder- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageOrBuilder
-
-