Class AddGroupMigrationRequest.Builder (1.83.0)

public static final class AddGroupMigrationRequest.Builder extends GeneratedMessage.Builder<AddGroupMigrationRequest.Builder> implements AddGroupMigrationRequestOrBuilder

Request message for 'AddGroupMigration' request.

Protobuf type google.cloud.vmmigration.v1.AddGroupMigrationRequest

Static Methods

getDescriptor()

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

Methods

build()

public AddGroupMigrationRequest build()
Returns
Type Description
AddGroupMigrationRequest

buildPartial()

public AddGroupMigrationRequest buildPartial()
Returns
Type Description
AddGroupMigrationRequest

clear()

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

clearGroup()

public AddGroupMigrationRequest.Builder clearGroup()

Required. The full path name of the Group to add to.

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

Returns
Type Description
AddGroupMigrationRequest.Builder

This builder for chaining.

clearMigratingVm()

public AddGroupMigrationRequest.Builder clearMigratingVm()

The full path name of the MigratingVm to add.

string migrating_vm = 2 [(.google.api.resource_reference) = { ... }

Returns
Type Description
AddGroupMigrationRequest.Builder

This builder for chaining.

getDefaultInstanceForType()

public AddGroupMigrationRequest getDefaultInstanceForType()
Returns
Type Description
AddGroupMigrationRequest

getDescriptorForType()

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

getGroup()

public String getGroup()

Required. The full path name of the Group to add to.

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

Returns
Type Description
String

The group.

getGroupBytes()

public ByteString getGroupBytes()

Required. The full path name of the Group to add to.

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

Returns
Type Description
ByteString

The bytes for group.

getMigratingVm()

public String getMigratingVm()

The full path name of the MigratingVm to add.

string migrating_vm = 2 [(.google.api.resource_reference) = { ... }

Returns
Type Description
String

The migratingVm.

getMigratingVmBytes()

public ByteString getMigratingVmBytes()

The full path name of the MigratingVm to add.

string migrating_vm = 2 [(.google.api.resource_reference) = { ... }

Returns
Type Description
ByteString

The bytes for migratingVm.

internalGetFieldAccessorTable()

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

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

mergeFrom(AddGroupMigrationRequest other)

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

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

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

setGroup(String value)

public AddGroupMigrationRequest.Builder setGroup(String value)

Required. The full path name of the Group to add to.

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

Parameter
Name Description
value String

The group to set.

Returns
Type Description
AddGroupMigrationRequest.Builder

This builder for chaining.

setGroupBytes(ByteString value)

public AddGroupMigrationRequest.Builder setGroupBytes(ByteString value)

Required. The full path name of the Group to add to.

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

Parameter
Name Description
value ByteString

The bytes for group to set.

Returns
Type Description
AddGroupMigrationRequest.Builder

This builder for chaining.

setMigratingVm(String value)

public AddGroupMigrationRequest.Builder setMigratingVm(String value)

The full path name of the MigratingVm to add.

string migrating_vm = 2 [(.google.api.resource_reference) = { ... }

Parameter
Name Description
value String

The migratingVm to set.

Returns
Type Description
AddGroupMigrationRequest.Builder

This builder for chaining.

setMigratingVmBytes(ByteString value)

public AddGroupMigrationRequest.Builder setMigratingVmBytes(ByteString value)

The full path name of the MigratingVm to add.

string migrating_vm = 2 [(.google.api.resource_reference) = { ... }

Parameter
Name Description
value ByteString

The bytes for migratingVm to set.

Returns
Type Description
AddGroupMigrationRequest.Builder

This builder for chaining.