Class CutoverJob (1.55.0)

public final class CutoverJob extends 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

Implements

CutoverJobOrBuilder

Static Fields

COMPUTE_ENGINE_TARGET_DETAILS_FIELD_NUMBER

public static final int COMPUTE_ENGINE_TARGET_DETAILS_FIELD_NUMBER
Field Value
Type Description
int

CREATE_TIME_FIELD_NUMBER

public static final int CREATE_TIME_FIELD_NUMBER
Field Value
Type Description
int

END_TIME_FIELD_NUMBER

public static final int END_TIME_FIELD_NUMBER
Field Value
Type Description
int

ERROR_FIELD_NUMBER

public static final int ERROR_FIELD_NUMBER
Field Value
Type Description
int

NAME_FIELD_NUMBER

public static final int NAME_FIELD_NUMBER
Field Value
Type Description
int

PROGRESS_PERCENT_FIELD_NUMBER

public static final int PROGRESS_PERCENT_FIELD_NUMBER
Field Value
Type Description
int

STATE_FIELD_NUMBER

public static final int STATE_FIELD_NUMBER
Field Value
Type Description
int

STATE_MESSAGE_FIELD_NUMBER

public static final int STATE_MESSAGE_FIELD_NUMBER
Field Value
Type Description
int

STATE_TIME_FIELD_NUMBER

public static final int STATE_TIME_FIELD_NUMBER
Field Value
Type Description
int

STEPS_FIELD_NUMBER

public static final int STEPS_FIELD_NUMBER
Field Value
Type Description
int

Static Methods

getDefaultInstance()

public static CutoverJob getDefaultInstance()
Returns
Type Description
CutoverJob

getDescriptor()

public static final Descriptors.Descriptor getDescriptor()
Returns
Type Description
Descriptor

newBuilder()

public static CutoverJob.Builder newBuilder()
Returns
Type Description
CutoverJob.Builder

newBuilder(CutoverJob prototype)

public static CutoverJob.Builder newBuilder(CutoverJob prototype)
Parameter
Name Description
prototype CutoverJob
Returns
Type Description
CutoverJob.Builder

parseDelimitedFrom(InputStream input)

public static CutoverJob parseDelimitedFrom(InputStream input)
Parameter
Name Description
input InputStream
Returns
Type Description
CutoverJob
Exceptions
Type Description
IOException

parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static CutoverJob parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input InputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
CutoverJob
Exceptions
Type Description
IOException

parseFrom(byte[] data)

public static CutoverJob parseFrom(byte[] data)
Parameter
Name Description
data byte[]
Returns
Type Description
CutoverJob
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)

public static CutoverJob parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
data byte[]
extensionRegistry ExtensionRegistryLite
Returns
Type Description
CutoverJob
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteString data)

public static CutoverJob parseFrom(ByteString data)
Parameter
Name Description
data ByteString
Returns
Type Description
CutoverJob
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)

public static CutoverJob parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
data ByteString
extensionRegistry ExtensionRegistryLite
Returns
Type Description
CutoverJob
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(CodedInputStream input)

public static CutoverJob parseFrom(CodedInputStream input)
Parameter
Name Description
input CodedInputStream
Returns
Type Description
CutoverJob
Exceptions
Type Description
IOException

parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public static CutoverJob parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input CodedInputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
CutoverJob
Exceptions
Type Description
IOException

parseFrom(InputStream input)

public static CutoverJob parseFrom(InputStream input)
Parameter
Name Description
input InputStream
Returns
Type Description
CutoverJob
Exceptions
Type Description
IOException

parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static CutoverJob parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input InputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
CutoverJob
Exceptions
Type Description
IOException

parseFrom(ByteBuffer data)

public static CutoverJob parseFrom(ByteBuffer data)
Parameter
Name Description
data ByteBuffer
Returns
Type Description
CutoverJob
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)

public static CutoverJob parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
data ByteBuffer
extensionRegistry ExtensionRegistryLite
Returns
Type Description
CutoverJob
Exceptions
Type Description
InvalidProtocolBufferException

parser()

public static Parser<CutoverJob> parser()
Returns
Type Description
Parser<CutoverJob>

Methods

equals(Object obj)

public boolean equals(Object obj)
Parameter
Name Description
obj Object
Returns
Type Description
boolean
Overrides

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];

Returns
Type Description
ComputeEngineTargetDetails

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];

Returns
Type Description
ComputeEngineTargetDetailsOrBuilder

getCreateTime()

public 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];

Returns
Type Description
Timestamp

The createTime.

getCreateTimeOrBuilder()

public 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];

Returns
Type Description
TimestampOrBuilder

getDefaultInstanceForType()

public CutoverJob getDefaultInstanceForType()
Returns
Type Description
CutoverJob

getEndTime()

public Timestamp getEndTime()

Output only. The time the cutover job had finished.

.google.protobuf.Timestamp end_time = 16 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
Timestamp

The endTime.

getEndTimeOrBuilder()

public TimestampOrBuilder getEndTimeOrBuilder()

Output only. The time the cutover job had finished.

.google.protobuf.Timestamp end_time = 16 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
TimestampOrBuilder

getError()

public 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];

Returns
Type Description
com.google.rpc.Status

The error.

getErrorOrBuilder()

public 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];

Returns
Type Description
com.google.rpc.StatusOrBuilder

getName()

public String getName()

Output only. The name of the cutover job.

string name = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
String

The name.

getNameBytes()

public ByteString getNameBytes()

Output only. The name of the cutover job.

string name = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
ByteString

The bytes for name.

getParserForType()

public Parser<CutoverJob> getParserForType()
Returns
Type Description
Parser<CutoverJob>
Overrides

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];

Returns
Type Description
int

The progressPercent.

getSerializedSize()

public int getSerializedSize()
Returns
Type Description
int
Overrides

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];

Returns
Type Description
CutoverJob.State

The state.

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];

Returns
Type Description
String

The stateMessage.

getStateMessageBytes()

public ByteString getStateMessageBytes()

Output only. A message providing possible extra details about the current state.

string state_message = 10 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
ByteString

The bytes for stateMessage.

getStateTime()

public Timestamp getStateTime()

Output only. The time the state was last updated.

.google.protobuf.Timestamp state_time = 6 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
Timestamp

The stateTime.

getStateTimeOrBuilder()

public TimestampOrBuilder getStateTimeOrBuilder()

Output only. The time the state was last updated.

.google.protobuf.Timestamp state_time = 6 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
TimestampOrBuilder

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];

Returns
Type Description
int

The enum numeric value on the wire for state.

getSteps(int index)

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];

Parameter
Name Description
index int
Returns
Type Description
CutoverStep

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];

Returns
Type Description
int

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];

Returns
Type Description
List<CutoverStep>

getStepsOrBuilder(int index)

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];

Parameter
Name Description
index int
Returns
Type Description
CutoverStepOrBuilder

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];

Returns
Type Description
List<? extends com.google.cloud.vmmigration.v1.CutoverStepOrBuilder>

getTargetVmDetailsCase()

public CutoverJob.TargetVmDetailsCase getTargetVmDetailsCase()
Returns
Type Description
CutoverJob.TargetVmDetailsCase

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];

Returns
Type Description
boolean

Whether the computeEngineTargetDetails field is set.

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];

Returns
Type Description
boolean

Whether the createTime field is set.

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];

Returns
Type Description
boolean

Whether the endTime field is set.

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];

Returns
Type Description
boolean

Whether the error field is set.

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];

Returns
Type Description
boolean

Whether the stateTime field is set.

hashCode()

public int hashCode()
Returns
Type Description
int
Overrides

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
Type Description
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

newBuilderForType()

public CutoverJob.Builder newBuilderForType()
Returns
Type Description
CutoverJob.Builder

newBuilderForType(GeneratedMessageV3.BuilderParent parent)

protected CutoverJob.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Parameter
Name Description
parent BuilderParent
Returns
Type Description
CutoverJob.Builder
Overrides

newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)

protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Parameter
Name Description
unused UnusedPrivateParameter
Returns
Type Description
Object
Overrides

toBuilder()

public CutoverJob.Builder toBuilder()
Returns
Type Description
CutoverJob.Builder

writeTo(CodedOutputStream output)

public void writeTo(CodedOutputStream output)
Parameter
Name Description
output CodedOutputStream
Overrides
Exceptions
Type Description
IOException