Class ResumeMigrationRequest.Builder (1.13.0)

public static final class ResumeMigrationRequest.Builder extends GeneratedMessageV3.Builder<ResumeMigrationRequest.Builder> implements ResumeMigrationRequestOrBuilder

Request message for 'ResumeMigration' request.

Protobuf type google.cloud.vmmigration.v1.ResumeMigrationRequest

Static Methods

getDescriptor()

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

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

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

build()

public ResumeMigrationRequest build()
Returns
TypeDescription
ResumeMigrationRequest

buildPartial()

public ResumeMigrationRequest buildPartial()
Returns
TypeDescription
ResumeMigrationRequest

clear()

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

clearField(Descriptors.FieldDescriptor field)

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

clearMigratingVm()

public ResumeMigrationRequest.Builder clearMigratingVm()

Required. The name of the MigratingVm.

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

Returns
TypeDescription
ResumeMigrationRequest.Builder

This builder for chaining.

clearOneof(Descriptors.OneofDescriptor oneof)

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

clone()

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

getDefaultInstanceForType()

public ResumeMigrationRequest getDefaultInstanceForType()
Returns
TypeDescription
ResumeMigrationRequest

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
TypeDescription
Descriptor
Overrides

getMigratingVm()

public String getMigratingVm()

Required. The name of the MigratingVm.

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

Returns
TypeDescription
String

The migratingVm.

getMigratingVmBytes()

public ByteString getMigratingVmBytes()

Required. The name of the MigratingVm.

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

Returns
TypeDescription
ByteString

The bytes for migratingVm.

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
TypeDescription
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
TypeDescription
boolean
Overrides

mergeFrom(ResumeMigrationRequest other)

public ResumeMigrationRequest.Builder mergeFrom(ResumeMigrationRequest other)
Parameter
NameDescription
otherResumeMigrationRequest
Returns
TypeDescription
ResumeMigrationRequest.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

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

mergeUnknownFields(UnknownFieldSet unknownFields)

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

setField(Descriptors.FieldDescriptor field, Object value)

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

setMigratingVm(String value)

public ResumeMigrationRequest.Builder setMigratingVm(String value)

Required. The name of the MigratingVm.

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

Parameter
NameDescription
valueString

The migratingVm to set.

Returns
TypeDescription
ResumeMigrationRequest.Builder

This builder for chaining.

setMigratingVmBytes(ByteString value)

public ResumeMigrationRequest.Builder setMigratingVmBytes(ByteString value)

Required. The name of the MigratingVm.

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

Parameter
NameDescription
valueByteString

The bytes for migratingVm to set.

Returns
TypeDescription
ResumeMigrationRequest.Builder

This builder for chaining.

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

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

setUnknownFields(UnknownFieldSet unknownFields)

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