Class 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 type google.cloud.vmmigration.v1.CutoverJob
    See Also:
    Serialized Form
    • Method Detail

      • newInstance

        protected Object newInstance​(com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter unused)
        Overrides:
        newInstance in class com.google.protobuf.GeneratedMessageV3
      • getDescriptor

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

        protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
        Specified by:
        internalGetFieldAccessorTable in class com.google.protobuf.GeneratedMessageV3
      • 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:
        hasComputeEngineTargetDetails in interface CutoverJobOrBuilder
        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:
        getComputeEngineTargetDetails in interface CutoverJobOrBuilder
        Returns:
        The computeEngineTargetDetails.
      • 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:
        hasCreateTime in interface CutoverJobOrBuilder
        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:
        getCreateTime in interface CutoverJobOrBuilder
        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:
        getCreateTimeOrBuilder in interface CutoverJobOrBuilder
      • 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:
        hasEndTime in interface CutoverJobOrBuilder
        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:
        getEndTime in interface CutoverJobOrBuilder
        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:
        getEndTimeOrBuilder in interface CutoverJobOrBuilder
      • getName

        public String getName()
         Output only. The name of the cutover job.
         
        string name = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];
        Specified by:
        getName in interface CutoverJobOrBuilder
        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:
        getNameBytes in interface CutoverJobOrBuilder
        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:
        getStateValue in interface CutoverJobOrBuilder
        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:
        getState in interface CutoverJobOrBuilder
        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:
        hasStateTime in interface CutoverJobOrBuilder
        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:
        getStateTime in interface CutoverJobOrBuilder
        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:
        getStateTimeOrBuilder in interface CutoverJobOrBuilder
      • 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:
        getProgressPercent in interface CutoverJobOrBuilder
        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:
        hasError in interface CutoverJobOrBuilder
        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:
        getError in interface CutoverJobOrBuilder
        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:
        getErrorOrBuilder in interface CutoverJobOrBuilder
      • 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:
        getStateMessage in interface CutoverJobOrBuilder
        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:
        getStateMessageBytes in interface CutoverJobOrBuilder
        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:
        getStepsList in interface CutoverJobOrBuilder
      • 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:
        getStepsOrBuilderList in interface CutoverJobOrBuilder
      • 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:
        getStepsCount in interface CutoverJobOrBuilder
      • 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:
        getSteps in interface CutoverJobOrBuilder
      • 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:
        getStepsOrBuilder in interface CutoverJobOrBuilder
      • isInitialized

        public final boolean isInitialized()
        Specified by:
        isInitialized in interface com.google.protobuf.MessageLiteOrBuilder
        Overrides:
        isInitialized in class com.google.protobuf.GeneratedMessageV3
      • writeTo

        public void writeTo​(com.google.protobuf.CodedOutputStream output)
                     throws IOException
        Specified by:
        writeTo in interface com.google.protobuf.MessageLite
        Overrides:
        writeTo in class com.google.protobuf.GeneratedMessageV3
        Throws:
        IOException
      • getSerializedSize

        public int getSerializedSize()
        Specified by:
        getSerializedSize in interface com.google.protobuf.MessageLite
        Overrides:
        getSerializedSize in class com.google.protobuf.GeneratedMessageV3
      • equals

        public boolean equals​(Object obj)
        Specified by:
        equals in interface com.google.protobuf.Message
        Overrides:
        equals in class com.google.protobuf.AbstractMessage
      • hashCode

        public int hashCode()
        Specified by:
        hashCode in interface com.google.protobuf.Message
        Overrides:
        hashCode in class com.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​(com.google.protobuf.CodedInputStream input,
                                           com.google.protobuf.ExtensionRegistryLite extensionRegistry)
                                    throws IOException
        Throws:
        IOException
      • newBuilderForType

        public CutoverJob.Builder newBuilderForType()
        Specified by:
        newBuilderForType in interface com.google.protobuf.Message
        Specified by:
        newBuilderForType in interface com.google.protobuf.MessageLite
      • toBuilder

        public CutoverJob.Builder toBuilder()
        Specified by:
        toBuilder in interface com.google.protobuf.Message
        Specified by:
        toBuilder in interface com.google.protobuf.MessageLite
      • newBuilderForType

        protected CutoverJob.Builder newBuilderForType​(com.google.protobuf.GeneratedMessageV3.BuilderParent parent)
        Specified by:
        newBuilderForType in class com.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:
        getParserForType in interface com.google.protobuf.Message
        Specified by:
        getParserForType in interface com.google.protobuf.MessageLite
        Overrides:
        getParserForType in class com.google.protobuf.GeneratedMessageV3
      • getDefaultInstanceForType

        public CutoverJob getDefaultInstanceForType()
        Specified by:
        getDefaultInstanceForType in interface com.google.protobuf.MessageLiteOrBuilder
        Specified by:
        getDefaultInstanceForType in interface com.google.protobuf.MessageOrBuilder