Class CreateCutoverJobRequest.Builder (1.53.0)

public static final class CreateCutoverJobRequest.Builder extends GeneratedMessageV3.Builder<CreateCutoverJobRequest.Builder> implements CreateCutoverJobRequestOrBuilder

Request message for 'CreateCutoverJob' request.

Protobuf type google.cloud.vmmigration.v1.CreateCutoverJobRequest

Static Methods

getDescriptor()

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

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

public CreateCutoverJobRequest.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
Name Description
field FieldDescriptor
value Object
Returns
Type Description
CreateCutoverJobRequest.Builder
Overrides

build()

public CreateCutoverJobRequest build()
Returns
Type Description
CreateCutoverJobRequest

buildPartial()

public CreateCutoverJobRequest buildPartial()
Returns
Type Description
CreateCutoverJobRequest

clear()

public CreateCutoverJobRequest.Builder clear()
Returns
Type Description
CreateCutoverJobRequest.Builder
Overrides

clearCutoverJob()

public CreateCutoverJobRequest.Builder clearCutoverJob()

Required. The cutover request body.

.google.cloud.vmmigration.v1.CutoverJob cutover_job = 3 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
CreateCutoverJobRequest.Builder

clearCutoverJobId()

public CreateCutoverJobRequest.Builder clearCutoverJobId()

Required. The cutover job identifier.

string cutover_job_id = 2 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
CreateCutoverJobRequest.Builder

This builder for chaining.

clearField(Descriptors.FieldDescriptor field)

public CreateCutoverJobRequest.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
Name Description
field FieldDescriptor
Returns
Type Description
CreateCutoverJobRequest.Builder
Overrides

clearOneof(Descriptors.OneofDescriptor oneof)

public CreateCutoverJobRequest.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
Name Description
oneof OneofDescriptor
Returns
Type Description
CreateCutoverJobRequest.Builder
Overrides

clearParent()

public CreateCutoverJobRequest.Builder clearParent()

Required. The Cutover's parent.

string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }

Returns
Type Description
CreateCutoverJobRequest.Builder

This builder for chaining.

clearRequestId()

public CreateCutoverJobRequest.Builder clearRequestId()

A request ID to identify requests. Specify a unique request ID so that if you must retry your request, the server will know to ignore the request if it has already been completed. The server will guarantee that for at least 60 minutes since the first request.

For example, consider a situation where you make an initial request and t he request times out. If you make the request again with the same request ID, the server can check if original operation with the same request ID was received, and if so, will ignore the second request. This prevents clients from accidentally creating duplicate commitments.

The request ID must be a valid UUID with the exception that zero UUID is not supported (00000000-0000-0000-0000-000000000000).

string request_id = 4;

Returns
Type Description
CreateCutoverJobRequest.Builder

This builder for chaining.

clone()

public CreateCutoverJobRequest.Builder clone()
Returns
Type Description
CreateCutoverJobRequest.Builder
Overrides

getCutoverJob()

public CutoverJob getCutoverJob()

Required. The cutover request body.

.google.cloud.vmmigration.v1.CutoverJob cutover_job = 3 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
CutoverJob

The cutoverJob.

getCutoverJobBuilder()

public CutoverJob.Builder getCutoverJobBuilder()

Required. The cutover request body.

.google.cloud.vmmigration.v1.CutoverJob cutover_job = 3 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
CutoverJob.Builder

getCutoverJobId()

public String getCutoverJobId()

Required. The cutover job identifier.

string cutover_job_id = 2 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
String

The cutoverJobId.

getCutoverJobIdBytes()

public ByteString getCutoverJobIdBytes()

Required. The cutover job identifier.

string cutover_job_id = 2 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
ByteString

The bytes for cutoverJobId.

getCutoverJobOrBuilder()

public CutoverJobOrBuilder getCutoverJobOrBuilder()

Required. The cutover request body.

.google.cloud.vmmigration.v1.CutoverJob cutover_job = 3 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
CutoverJobOrBuilder

getDefaultInstanceForType()

public CreateCutoverJobRequest getDefaultInstanceForType()
Returns
Type Description
CreateCutoverJobRequest

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
Type Description
Descriptor
Overrides

getParent()

public String getParent()

Required. The Cutover's parent.

string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }

Returns
Type Description
String

The parent.

getParentBytes()

public ByteString getParentBytes()

Required. The Cutover's parent.

string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }

Returns
Type Description
ByteString

The bytes for parent.

getRequestId()

public String getRequestId()

A request ID to identify requests. Specify a unique request ID so that if you must retry your request, the server will know to ignore the request if it has already been completed. The server will guarantee that for at least 60 minutes since the first request.

For example, consider a situation where you make an initial request and t he request times out. If you make the request again with the same request ID, the server can check if original operation with the same request ID was received, and if so, will ignore the second request. This prevents clients from accidentally creating duplicate commitments.

The request ID must be a valid UUID with the exception that zero UUID is not supported (00000000-0000-0000-0000-000000000000).

string request_id = 4;

Returns
Type Description
String

The requestId.

getRequestIdBytes()

public ByteString getRequestIdBytes()

A request ID to identify requests. Specify a unique request ID so that if you must retry your request, the server will know to ignore the request if it has already been completed. The server will guarantee that for at least 60 minutes since the first request.

For example, consider a situation where you make an initial request and t he request times out. If you make the request again with the same request ID, the server can check if original operation with the same request ID was received, and if so, will ignore the second request. This prevents clients from accidentally creating duplicate commitments.

The request ID must be a valid UUID with the exception that zero UUID is not supported (00000000-0000-0000-0000-000000000000).

string request_id = 4;

Returns
Type Description
ByteString

The bytes for requestId.

hasCutoverJob()

public boolean hasCutoverJob()

Required. The cutover request body.

.google.cloud.vmmigration.v1.CutoverJob cutover_job = 3 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
boolean

Whether the cutoverJob field is set.

internalGetFieldAccessorTable()

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

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

mergeCutoverJob(CutoverJob value)

public CreateCutoverJobRequest.Builder mergeCutoverJob(CutoverJob value)

Required. The cutover request body.

.google.cloud.vmmigration.v1.CutoverJob cutover_job = 3 [(.google.api.field_behavior) = REQUIRED];

Parameter
Name Description
value CutoverJob
Returns
Type Description
CreateCutoverJobRequest.Builder

mergeFrom(CreateCutoverJobRequest other)

public CreateCutoverJobRequest.Builder mergeFrom(CreateCutoverJobRequest other)
Parameter
Name Description
other CreateCutoverJobRequest
Returns
Type Description
CreateCutoverJobRequest.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public CreateCutoverJobRequest.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input CodedInputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
CreateCutoverJobRequest.Builder
Overrides
Exceptions
Type Description
IOException

mergeFrom(Message other)

public CreateCutoverJobRequest.Builder mergeFrom(Message other)
Parameter
Name Description
other Message
Returns
Type Description
CreateCutoverJobRequest.Builder
Overrides

mergeUnknownFields(UnknownFieldSet unknownFields)

public final CreateCutoverJobRequest.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
Name Description
unknownFields UnknownFieldSet
Returns
Type Description
CreateCutoverJobRequest.Builder
Overrides

setCutoverJob(CutoverJob value)

public CreateCutoverJobRequest.Builder setCutoverJob(CutoverJob value)

Required. The cutover request body.

.google.cloud.vmmigration.v1.CutoverJob cutover_job = 3 [(.google.api.field_behavior) = REQUIRED];

Parameter
Name Description
value CutoverJob
Returns
Type Description
CreateCutoverJobRequest.Builder

setCutoverJob(CutoverJob.Builder builderForValue)

public CreateCutoverJobRequest.Builder setCutoverJob(CutoverJob.Builder builderForValue)

Required. The cutover request body.

.google.cloud.vmmigration.v1.CutoverJob cutover_job = 3 [(.google.api.field_behavior) = REQUIRED];

Parameter
Name Description
builderForValue CutoverJob.Builder
Returns
Type Description
CreateCutoverJobRequest.Builder

setCutoverJobId(String value)

public CreateCutoverJobRequest.Builder setCutoverJobId(String value)

Required. The cutover job identifier.

string cutover_job_id = 2 [(.google.api.field_behavior) = REQUIRED];

Parameter
Name Description
value String

The cutoverJobId to set.

Returns
Type Description
CreateCutoverJobRequest.Builder

This builder for chaining.

setCutoverJobIdBytes(ByteString value)

public CreateCutoverJobRequest.Builder setCutoverJobIdBytes(ByteString value)

Required. The cutover job identifier.

string cutover_job_id = 2 [(.google.api.field_behavior) = REQUIRED];

Parameter
Name Description
value ByteString

The bytes for cutoverJobId to set.

Returns
Type Description
CreateCutoverJobRequest.Builder

This builder for chaining.

setField(Descriptors.FieldDescriptor field, Object value)

public CreateCutoverJobRequest.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
Name Description
field FieldDescriptor
value Object
Returns
Type Description
CreateCutoverJobRequest.Builder
Overrides

setParent(String value)

public CreateCutoverJobRequest.Builder setParent(String value)

Required. The Cutover's parent.

string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }

Parameter
Name Description
value String

The parent to set.

Returns
Type Description
CreateCutoverJobRequest.Builder

This builder for chaining.

setParentBytes(ByteString value)

public CreateCutoverJobRequest.Builder setParentBytes(ByteString value)

Required. The Cutover's parent.

string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }

Parameter
Name Description
value ByteString

The bytes for parent to set.

Returns
Type Description
CreateCutoverJobRequest.Builder

This builder for chaining.

setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)

public CreateCutoverJobRequest.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters
Name Description
field FieldDescriptor
index int
value Object
Returns
Type Description
CreateCutoverJobRequest.Builder
Overrides

setRequestId(String value)

public CreateCutoverJobRequest.Builder setRequestId(String value)

A request ID to identify requests. Specify a unique request ID so that if you must retry your request, the server will know to ignore the request if it has already been completed. The server will guarantee that for at least 60 minutes since the first request.

For example, consider a situation where you make an initial request and t he request times out. If you make the request again with the same request ID, the server can check if original operation with the same request ID was received, and if so, will ignore the second request. This prevents clients from accidentally creating duplicate commitments.

The request ID must be a valid UUID with the exception that zero UUID is not supported (00000000-0000-0000-0000-000000000000).

string request_id = 4;

Parameter
Name Description
value String

The requestId to set.

Returns
Type Description
CreateCutoverJobRequest.Builder

This builder for chaining.

setRequestIdBytes(ByteString value)

public CreateCutoverJobRequest.Builder setRequestIdBytes(ByteString value)

A request ID to identify requests. Specify a unique request ID so that if you must retry your request, the server will know to ignore the request if it has already been completed. The server will guarantee that for at least 60 minutes since the first request.

For example, consider a situation where you make an initial request and t he request times out. If you make the request again with the same request ID, the server can check if original operation with the same request ID was received, and if so, will ignore the second request. This prevents clients from accidentally creating duplicate commitments.

The request ID must be a valid UUID with the exception that zero UUID is not supported (00000000-0000-0000-0000-000000000000).

string request_id = 4;

Parameter
Name Description
value ByteString

The bytes for requestId to set.

Returns
Type Description
CreateCutoverJobRequest.Builder

This builder for chaining.

setUnknownFields(UnknownFieldSet unknownFields)

public final CreateCutoverJobRequest.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
Name Description
unknownFields UnknownFieldSet
Returns
Type Description
CreateCutoverJobRequest.Builder
Overrides