Class UpdateMigratingVmRequest.Builder (1.22.0)

public static final class UpdateMigratingVmRequest.Builder extends GeneratedMessageV3.Builder<UpdateMigratingVmRequest.Builder> implements UpdateMigratingVmRequestOrBuilder

Request message for 'UpdateMigratingVm' request.

Protobuf type google.cloud.vmmigration.v1.UpdateMigratingVmRequest

Static Methods

getDescriptor()

public static final Descriptors.Descriptor getDescriptor()
Returns
TypeDescription
Descriptor

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

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

build()

public UpdateMigratingVmRequest build()
Returns
TypeDescription
UpdateMigratingVmRequest

buildPartial()

public UpdateMigratingVmRequest buildPartial()
Returns
TypeDescription
UpdateMigratingVmRequest

clear()

public UpdateMigratingVmRequest.Builder clear()
Returns
TypeDescription
UpdateMigratingVmRequest.Builder
Overrides

clearField(Descriptors.FieldDescriptor field)

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

clearMigratingVm()

public UpdateMigratingVmRequest.Builder clearMigratingVm()

Required. The update request body.

.google.cloud.vmmigration.v1.MigratingVm migrating_vm = 2 [(.google.api.field_behavior) = REQUIRED];

Returns
TypeDescription
UpdateMigratingVmRequest.Builder

clearOneof(Descriptors.OneofDescriptor oneof)

public UpdateMigratingVmRequest.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
NameDescription
oneofOneofDescriptor
Returns
TypeDescription
UpdateMigratingVmRequest.Builder
Overrides

clearRequestId()

public UpdateMigratingVmRequest.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 = 3;

Returns
TypeDescription
UpdateMigratingVmRequest.Builder

This builder for chaining.

clearUpdateMask()

public UpdateMigratingVmRequest.Builder clearUpdateMask()

Field mask is used to specify the fields to be overwritten in the MigratingVm resource by the update. The fields specified in the update_mask are relative to the resource, not the full request. A field will be overwritten if it is in the mask. If the user does not provide a mask then all fields will be overwritten.

.google.protobuf.FieldMask update_mask = 1;

Returns
TypeDescription
UpdateMigratingVmRequest.Builder

clone()

public UpdateMigratingVmRequest.Builder clone()
Returns
TypeDescription
UpdateMigratingVmRequest.Builder
Overrides

getDefaultInstanceForType()

public UpdateMigratingVmRequest getDefaultInstanceForType()
Returns
TypeDescription
UpdateMigratingVmRequest

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
TypeDescription
Descriptor
Overrides

getMigratingVm()

public MigratingVm getMigratingVm()

Required. The update request body.

.google.cloud.vmmigration.v1.MigratingVm migrating_vm = 2 [(.google.api.field_behavior) = REQUIRED];

Returns
TypeDescription
MigratingVm

The migratingVm.

getMigratingVmBuilder()

public MigratingVm.Builder getMigratingVmBuilder()

Required. The update request body.

.google.cloud.vmmigration.v1.MigratingVm migrating_vm = 2 [(.google.api.field_behavior) = REQUIRED];

Returns
TypeDescription
MigratingVm.Builder

getMigratingVmOrBuilder()

public MigratingVmOrBuilder getMigratingVmOrBuilder()

Required. The update request body.

.google.cloud.vmmigration.v1.MigratingVm migrating_vm = 2 [(.google.api.field_behavior) = REQUIRED];

Returns
TypeDescription
MigratingVmOrBuilder

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 = 3;

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 = 3;

Returns
TypeDescription
ByteString

The bytes for requestId.

getUpdateMask()

public FieldMask getUpdateMask()

Field mask is used to specify the fields to be overwritten in the MigratingVm resource by the update. The fields specified in the update_mask are relative to the resource, not the full request. A field will be overwritten if it is in the mask. If the user does not provide a mask then all fields will be overwritten.

.google.protobuf.FieldMask update_mask = 1;

Returns
TypeDescription
FieldMask

The updateMask.

getUpdateMaskBuilder()

public FieldMask.Builder getUpdateMaskBuilder()

Field mask is used to specify the fields to be overwritten in the MigratingVm resource by the update. The fields specified in the update_mask are relative to the resource, not the full request. A field will be overwritten if it is in the mask. If the user does not provide a mask then all fields will be overwritten.

.google.protobuf.FieldMask update_mask = 1;

Returns
TypeDescription
Builder

getUpdateMaskOrBuilder()

public FieldMaskOrBuilder getUpdateMaskOrBuilder()

Field mask is used to specify the fields to be overwritten in the MigratingVm resource by the update. The fields specified in the update_mask are relative to the resource, not the full request. A field will be overwritten if it is in the mask. If the user does not provide a mask then all fields will be overwritten.

.google.protobuf.FieldMask update_mask = 1;

Returns
TypeDescription
FieldMaskOrBuilder

hasMigratingVm()

public boolean hasMigratingVm()

Required. The update request body.

.google.cloud.vmmigration.v1.MigratingVm migrating_vm = 2 [(.google.api.field_behavior) = REQUIRED];

Returns
TypeDescription
boolean

Whether the migratingVm field is set.

hasUpdateMask()

public boolean hasUpdateMask()

Field mask is used to specify the fields to be overwritten in the MigratingVm resource by the update. The fields specified in the update_mask are relative to the resource, not the full request. A field will be overwritten if it is in the mask. If the user does not provide a mask then all fields will be overwritten.

.google.protobuf.FieldMask update_mask = 1;

Returns
TypeDescription
boolean

Whether the updateMask field is set.

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
TypeDescription
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
TypeDescription
boolean
Overrides

mergeFrom(UpdateMigratingVmRequest other)

public UpdateMigratingVmRequest.Builder mergeFrom(UpdateMigratingVmRequest other)
Parameter
NameDescription
otherUpdateMigratingVmRequest
Returns
TypeDescription
UpdateMigratingVmRequest.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

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

mergeMigratingVm(MigratingVm value)

public UpdateMigratingVmRequest.Builder mergeMigratingVm(MigratingVm value)

Required. The update request body.

.google.cloud.vmmigration.v1.MigratingVm migrating_vm = 2 [(.google.api.field_behavior) = REQUIRED];

Parameter
NameDescription
valueMigratingVm
Returns
TypeDescription
UpdateMigratingVmRequest.Builder

mergeUnknownFields(UnknownFieldSet unknownFields)

public final UpdateMigratingVmRequest.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
NameDescription
unknownFieldsUnknownFieldSet
Returns
TypeDescription
UpdateMigratingVmRequest.Builder
Overrides

mergeUpdateMask(FieldMask value)

public UpdateMigratingVmRequest.Builder mergeUpdateMask(FieldMask value)

Field mask is used to specify the fields to be overwritten in the MigratingVm resource by the update. The fields specified in the update_mask are relative to the resource, not the full request. A field will be overwritten if it is in the mask. If the user does not provide a mask then all fields will be overwritten.

.google.protobuf.FieldMask update_mask = 1;

Parameter
NameDescription
valueFieldMask
Returns
TypeDescription
UpdateMigratingVmRequest.Builder

setField(Descriptors.FieldDescriptor field, Object value)

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

setMigratingVm(MigratingVm value)

public UpdateMigratingVmRequest.Builder setMigratingVm(MigratingVm value)

Required. The update request body.

.google.cloud.vmmigration.v1.MigratingVm migrating_vm = 2 [(.google.api.field_behavior) = REQUIRED];

Parameter
NameDescription
valueMigratingVm
Returns
TypeDescription
UpdateMigratingVmRequest.Builder

setMigratingVm(MigratingVm.Builder builderForValue)

public UpdateMigratingVmRequest.Builder setMigratingVm(MigratingVm.Builder builderForValue)

Required. The update request body.

.google.cloud.vmmigration.v1.MigratingVm migrating_vm = 2 [(.google.api.field_behavior) = REQUIRED];

Parameter
NameDescription
builderForValueMigratingVm.Builder
Returns
TypeDescription
UpdateMigratingVmRequest.Builder

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

public UpdateMigratingVmRequest.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters
NameDescription
fieldFieldDescriptor
indexint
valueObject
Returns
TypeDescription
UpdateMigratingVmRequest.Builder
Overrides

setRequestId(String value)

public UpdateMigratingVmRequest.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 = 3;

Parameter
NameDescription
valueString

The requestId to set.

Returns
TypeDescription
UpdateMigratingVmRequest.Builder

This builder for chaining.

setRequestIdBytes(ByteString value)

public UpdateMigratingVmRequest.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 = 3;

Parameter
NameDescription
valueByteString

The bytes for requestId to set.

Returns
TypeDescription
UpdateMigratingVmRequest.Builder

This builder for chaining.

setUnknownFields(UnknownFieldSet unknownFields)

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

setUpdateMask(FieldMask value)

public UpdateMigratingVmRequest.Builder setUpdateMask(FieldMask value)

Field mask is used to specify the fields to be overwritten in the MigratingVm resource by the update. The fields specified in the update_mask are relative to the resource, not the full request. A field will be overwritten if it is in the mask. If the user does not provide a mask then all fields will be overwritten.

.google.protobuf.FieldMask update_mask = 1;

Parameter
NameDescription
valueFieldMask
Returns
TypeDescription
UpdateMigratingVmRequest.Builder

setUpdateMask(FieldMask.Builder builderForValue)

public UpdateMigratingVmRequest.Builder setUpdateMask(FieldMask.Builder builderForValue)

Field mask is used to specify the fields to be overwritten in the MigratingVm resource by the update. The fields specified in the update_mask are relative to the resource, not the full request. A field will be overwritten if it is in the mask. If the user does not provide a mask then all fields will be overwritten.

.google.protobuf.FieldMask update_mask = 1;

Parameter
NameDescription
builderForValueBuilder
Returns
TypeDescription
UpdateMigratingVmRequest.Builder