Class RemoveGroupMigrationRequest.Builder (1.24.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
TypeDescription
Descriptor

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

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

build()

public RemoveGroupMigrationRequest build()
Returns
TypeDescription
RemoveGroupMigrationRequest

buildPartial()

public RemoveGroupMigrationRequest buildPartial()
Returns
TypeDescription
RemoveGroupMigrationRequest

clear()

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

clearField(Descriptors.FieldDescriptor field)

public RemoveGroupMigrationRequest.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
NameDescription
fieldFieldDescriptor
Returns
TypeDescription
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
TypeDescription
RemoveGroupMigrationRequest.Builder

This builder for chaining.

clearMigratingVm()

public RemoveGroupMigrationRequest.Builder clearMigratingVm()

The MigratingVm to remove.

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

Returns
TypeDescription
RemoveGroupMigrationRequest.Builder

This builder for chaining.

clearOneof(Descriptors.OneofDescriptor oneof)

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

clone()

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

getDefaultInstanceForType()

public RemoveGroupMigrationRequest getDefaultInstanceForType()
Returns
TypeDescription
RemoveGroupMigrationRequest

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
TypeDescription
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
TypeDescription
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
TypeDescription
ByteString

The bytes for group.

getMigratingVm()

public String getMigratingVm()

The MigratingVm to remove.

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

Returns
TypeDescription
String

The migratingVm.

getMigratingVmBytes()

public ByteString getMigratingVmBytes()

The MigratingVm to remove.

string migrating_vm = 2 [(.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(RemoveGroupMigrationRequest other)

public RemoveGroupMigrationRequest.Builder mergeFrom(RemoveGroupMigrationRequest other)
Parameter
NameDescription
otherRemoveGroupMigrationRequest
Returns
TypeDescription
RemoveGroupMigrationRequest.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

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

mergeUnknownFields(UnknownFieldSet unknownFields)

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

setField(Descriptors.FieldDescriptor field, Object value)

public RemoveGroupMigrationRequest.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
NameDescription
fieldFieldDescriptor
valueObject
Returns
TypeDescription
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
NameDescription
valueString

The group to set.

Returns
TypeDescription
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
NameDescription
valueByteString

The bytes for group to set.

Returns
TypeDescription
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
NameDescription
valueString

The migratingVm to set.

Returns
TypeDescription
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
NameDescription
valueByteString

The bytes for migratingVm to set.

Returns
TypeDescription
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
NameDescription
fieldFieldDescriptor
indexint
valueObject
Returns
TypeDescription
RemoveGroupMigrationRequest.Builder
Overrides

setUnknownFields(UnknownFieldSet unknownFields)

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