Class AddGroupMigrationRequest.Builder (1.45.0)

public static final class AddGroupMigrationRequest.Builder extends GeneratedMessageV3.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

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

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

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

clearField(Descriptors.FieldDescriptor field)

public AddGroupMigrationRequest.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
Name Description
field FieldDescriptor
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.

clearOneof(Descriptors.OneofDescriptor oneof)

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

clone()

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

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 GeneratedMessageV3.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

mergeUnknownFields(UnknownFieldSet unknownFields)

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

setField(Descriptors.FieldDescriptor field, Object value)

public AddGroupMigrationRequest.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
Name Description
field FieldDescriptor
value Object
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.

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

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

setUnknownFields(UnknownFieldSet unknownFields)

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