Class AddGroupMigrationRequest.Builder (1.0.5)

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
TypeDescription
Descriptor

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

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

build()

public AddGroupMigrationRequest build()
Returns
TypeDescription
AddGroupMigrationRequest

buildPartial()

public AddGroupMigrationRequest buildPartial()
Returns
TypeDescription
AddGroupMigrationRequest

clear()

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

clearField(Descriptors.FieldDescriptor field)

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

This builder for chaining.

clearOneof(Descriptors.OneofDescriptor oneof)

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

clone()

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

getDefaultInstanceForType()

public AddGroupMigrationRequest getDefaultInstanceForType()
Returns
TypeDescription
AddGroupMigrationRequest

getDescriptorForType()

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

public AddGroupMigrationRequest.Builder mergeFrom(AddGroupMigrationRequest other)
Parameter
NameDescription
otherAddGroupMigrationRequest
Returns
TypeDescription
AddGroupMigrationRequest.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

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

mergeUnknownFields(UnknownFieldSet unknownFields)

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

setField(Descriptors.FieldDescriptor field, Object value)

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

The group to set.

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

The bytes for group to set.

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

The migratingVm to set.

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

The bytes for migratingVm to set.

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

setUnknownFields(UnknownFieldSet unknownFields)

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