Class CreateCutoverJobRequest.Builder (1.7.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
TypeDescription
Descriptor

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

public CreateCutoverJobRequest.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
NameDescription
fieldFieldDescriptor
valueObject
Returns
TypeDescription
CreateCutoverJobRequest.Builder
Overrides

build()

public CreateCutoverJobRequest build()
Returns
TypeDescription
CreateCutoverJobRequest

buildPartial()

public CreateCutoverJobRequest buildPartial()
Returns
TypeDescription
CreateCutoverJobRequest

clear()

public CreateCutoverJobRequest.Builder clear()
Returns
TypeDescription
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
TypeDescription
CreateCutoverJobRequest.Builder

clearCutoverJobId()

public CreateCutoverJobRequest.Builder clearCutoverJobId()

Required. The cutover job identifier.

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

Returns
TypeDescription
CreateCutoverJobRequest.Builder

This builder for chaining.

clearField(Descriptors.FieldDescriptor field)

public CreateCutoverJobRequest.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
NameDescription
fieldFieldDescriptor
Returns
TypeDescription
CreateCutoverJobRequest.Builder
Overrides

clearOneof(Descriptors.OneofDescriptor oneof)

public CreateCutoverJobRequest.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
NameDescription
oneofOneofDescriptor
Returns
TypeDescription
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
TypeDescription
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
TypeDescription
CreateCutoverJobRequest.Builder

This builder for chaining.

clone()

public CreateCutoverJobRequest.Builder clone()
Returns
TypeDescription
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
TypeDescription
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
TypeDescription
CutoverJob.Builder

getCutoverJobId()

public String getCutoverJobId()

Required. The cutover job identifier.

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

Returns
TypeDescription
String

The cutoverJobId.

getCutoverJobIdBytes()

public ByteString getCutoverJobIdBytes()

Required. The cutover job identifier.

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

Returns
TypeDescription
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
TypeDescription
CutoverJobOrBuilder

getDefaultInstanceForType()

public CreateCutoverJobRequest getDefaultInstanceForType()
Returns
TypeDescription
CreateCutoverJobRequest

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
TypeDescription
Descriptor
Overrides

getParent()

public String getParent()

Required. The Cutover's parent.

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

Returns
TypeDescription
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
TypeDescription
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
TypeDescription
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
TypeDescription
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
TypeDescription
boolean

Whether the cutoverJob field is set.

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
TypeDescription
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
TypeDescription
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
NameDescription
valueCutoverJob
Returns
TypeDescription
CreateCutoverJobRequest.Builder

mergeFrom(CreateCutoverJobRequest other)

public CreateCutoverJobRequest.Builder mergeFrom(CreateCutoverJobRequest other)
Parameter
NameDescription
otherCreateCutoverJobRequest
Returns
TypeDescription
CreateCutoverJobRequest.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public CreateCutoverJobRequest.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputCodedInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
CreateCutoverJobRequest.Builder
Overrides Exceptions
TypeDescription
IOException

mergeFrom(Message other)

public CreateCutoverJobRequest.Builder mergeFrom(Message other)
Parameter
NameDescription
otherMessage
Returns
TypeDescription
CreateCutoverJobRequest.Builder
Overrides

mergeUnknownFields(UnknownFieldSet unknownFields)

public final CreateCutoverJobRequest.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
NameDescription
unknownFieldsUnknownFieldSet
Returns
TypeDescription
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
NameDescription
valueCutoverJob
Returns
TypeDescription
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
NameDescription
builderForValueCutoverJob.Builder
Returns
TypeDescription
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
NameDescription
valueString

The cutoverJobId to set.

Returns
TypeDescription
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
NameDescription
valueByteString

The bytes for cutoverJobId to set.

Returns
TypeDescription
CreateCutoverJobRequest.Builder

This builder for chaining.

setField(Descriptors.FieldDescriptor field, Object value)

public CreateCutoverJobRequest.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
NameDescription
fieldFieldDescriptor
valueObject
Returns
TypeDescription
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
NameDescription
valueString

The parent to set.

Returns
TypeDescription
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
NameDescription
valueByteString

The bytes for parent to set.

Returns
TypeDescription
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
NameDescription
fieldFieldDescriptor
indexint
valueObject
Returns
TypeDescription
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
NameDescription
valueString

The requestId to set.

Returns
TypeDescription
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
NameDescription
valueByteString

The bytes for requestId to set.

Returns
TypeDescription
CreateCutoverJobRequest.Builder

This builder for chaining.

setUnknownFields(UnknownFieldSet unknownFields)

public final CreateCutoverJobRequest.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
NameDescription
unknownFieldsUnknownFieldSet
Returns
TypeDescription
CreateCutoverJobRequest.Builder
Overrides