Class RemoveGroupMigrationRequest.Builder (1.45.0)

public static final class RemoveGroupMigrationRequest.Builder extends GeneratedMessageV3.Builder<RemoveGroupMigrationRequest.Builder> implements RemoveGroupMigrationRequestOrBuilder

Request message for 'RemoveMigration' request.

Protobuf type google.cloud.vmmigration.v1.RemoveGroupMigrationRequest

Static Methods

getDescriptor()

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

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

public RemoveGroupMigrationRequest.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
Name Description
field FieldDescriptor
value Object
Returns
Type Description
RemoveGroupMigrationRequest.Builder
Overrides

build()

public RemoveGroupMigrationRequest build()
Returns
Type Description
RemoveGroupMigrationRequest

buildPartial()

public RemoveGroupMigrationRequest buildPartial()
Returns
Type Description
RemoveGroupMigrationRequest

clear()

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

clearField(Descriptors.FieldDescriptor field)

public RemoveGroupMigrationRequest.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
Name Description
field FieldDescriptor
Returns
Type Description
RemoveGroupMigrationRequest.Builder
Overrides

clearGroup()

public RemoveGroupMigrationRequest.Builder clearGroup()

Required. The name of the Group.

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

Returns
Type Description
RemoveGroupMigrationRequest.Builder

This builder for chaining.

clearMigratingVm()

public RemoveGroupMigrationRequest.Builder clearMigratingVm()

The MigratingVm to remove.

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

Returns
Type Description
RemoveGroupMigrationRequest.Builder

This builder for chaining.

clearOneof(Descriptors.OneofDescriptor oneof)

public RemoveGroupMigrationRequest.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
Name Description
oneof OneofDescriptor
Returns
Type Description
RemoveGroupMigrationRequest.Builder
Overrides

clone()

public RemoveGroupMigrationRequest.Builder clone()
Returns
Type Description
RemoveGroupMigrationRequest.Builder
Overrides

getDefaultInstanceForType()

public RemoveGroupMigrationRequest getDefaultInstanceForType()
Returns
Type Description
RemoveGroupMigrationRequest

getDescriptorForType()

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

getGroup()

public String getGroup()

Required. The name of the Group.

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

Returns
Type Description
String

The group.

getGroupBytes()

public ByteString getGroupBytes()

Required. The name of the Group.

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 MigratingVm to remove.

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

Returns
Type Description
String

The migratingVm.

getMigratingVmBytes()

public ByteString getMigratingVmBytes()

The MigratingVm to remove.

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

Returns
Type Description
ByteString

The bytes for migratingVm.

internalGetFieldAccessorTable()

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

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

mergeFrom(RemoveGroupMigrationRequest other)

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

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

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

mergeUnknownFields(UnknownFieldSet unknownFields)

public final RemoveGroupMigrationRequest.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
Name Description
unknownFields UnknownFieldSet
Returns
Type Description
RemoveGroupMigrationRequest.Builder
Overrides

setField(Descriptors.FieldDescriptor field, Object value)

public RemoveGroupMigrationRequest.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
Name Description
field FieldDescriptor
value Object
Returns
Type Description
RemoveGroupMigrationRequest.Builder
Overrides

setGroup(String value)

public RemoveGroupMigrationRequest.Builder setGroup(String value)

Required. The name of the Group.

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

Parameter
Name Description
value String

The group to set.

Returns
Type Description
RemoveGroupMigrationRequest.Builder

This builder for chaining.

setGroupBytes(ByteString value)

public RemoveGroupMigrationRequest.Builder setGroupBytes(ByteString value)

Required. The name of the Group.

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
RemoveGroupMigrationRequest.Builder

This builder for chaining.

setMigratingVm(String value)

public RemoveGroupMigrationRequest.Builder setMigratingVm(String value)

The MigratingVm to remove.

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

Parameter
Name Description
value String

The migratingVm to set.

Returns
Type Description
RemoveGroupMigrationRequest.Builder

This builder for chaining.

setMigratingVmBytes(ByteString value)

public RemoveGroupMigrationRequest.Builder setMigratingVmBytes(ByteString value)

The MigratingVm to remove.

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

Parameter
Name Description
value ByteString

The bytes for migratingVm to set.

Returns
Type Description
RemoveGroupMigrationRequest.Builder

This builder for chaining.

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

public RemoveGroupMigrationRequest.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters
Name Description
field FieldDescriptor
index int
value Object
Returns
Type Description
RemoveGroupMigrationRequest.Builder
Overrides

setUnknownFields(UnknownFieldSet unknownFields)

public final RemoveGroupMigrationRequest.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
Name Description
unknownFields UnknownFieldSet
Returns
Type Description
RemoveGroupMigrationRequest.Builder
Overrides