Class PauseMigrationRequest.Builder (1.7.0)

public static final class PauseMigrationRequest.Builder extends GeneratedMessageV3.Builder<PauseMigrationRequest.Builder> implements PauseMigrationRequestOrBuilder

Request message for 'PauseMigration' request.

Protobuf type google.cloud.vmmigration.v1.PauseMigrationRequest

Static Methods

getDescriptor()

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

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

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

build()

public PauseMigrationRequest build()
Returns
TypeDescription
PauseMigrationRequest

buildPartial()

public PauseMigrationRequest buildPartial()
Returns
TypeDescription
PauseMigrationRequest

clear()

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

clearField(Descriptors.FieldDescriptor field)

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

clearMigratingVm()

public PauseMigrationRequest.Builder clearMigratingVm()

Required. The name of the MigratingVm.

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

Returns
TypeDescription
PauseMigrationRequest.Builder

This builder for chaining.

clearOneof(Descriptors.OneofDescriptor oneof)

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

clone()

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

getDefaultInstanceForType()

public PauseMigrationRequest getDefaultInstanceForType()
Returns
TypeDescription
PauseMigrationRequest

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(PauseMigrationRequest other)

public PauseMigrationRequest.Builder mergeFrom(PauseMigrationRequest other)
Parameter
NameDescription
otherPauseMigrationRequest
Returns
TypeDescription
PauseMigrationRequest.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

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

mergeUnknownFields(UnknownFieldSet unknownFields)

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

setField(Descriptors.FieldDescriptor field, Object value)

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

setMigratingVm(String value)

public PauseMigrationRequest.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
PauseMigrationRequest.Builder

This builder for chaining.

setMigratingVmBytes(ByteString value)

public PauseMigrationRequest.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
PauseMigrationRequest.Builder

This builder for chaining.

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

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

setUnknownFields(UnknownFieldSet unknownFields)

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