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
Methods
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
public AddGroupMigrationRequest.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
Returns
Overrides
build()
public AddGroupMigrationRequest build()
Returns
buildPartial()
public AddGroupMigrationRequest buildPartial()
Returns
clear()
public AddGroupMigrationRequest.Builder clear()
Returns
Overrides
clearField(Descriptors.FieldDescriptor field)
public AddGroupMigrationRequest.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
Returns
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
clearMigratingVm()
public AddGroupMigrationRequest.Builder clearMigratingVm()
The full path name of the MigratingVm to add.
string migrating_vm = 2 [(.google.api.resource_reference) = { ... }
Returns
clearOneof(Descriptors.OneofDescriptor oneof)
public AddGroupMigrationRequest.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
Returns
Overrides
clone()
public AddGroupMigrationRequest.Builder clone()
Returns
Overrides
getDefaultInstanceForType()
public AddGroupMigrationRequest getDefaultInstanceForType()
Returns
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()
Returns
Overrides
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
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
Overrides
isInitialized()
public final boolean isInitialized()
Returns
Overrides
mergeFrom(AddGroupMigrationRequest other)
public AddGroupMigrationRequest.Builder mergeFrom(AddGroupMigrationRequest other)
Parameter
Returns
public AddGroupMigrationRequest.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Overrides
Exceptions
mergeFrom(Message other)
public AddGroupMigrationRequest.Builder mergeFrom(Message other)
Parameter
Returns
Overrides
mergeUnknownFields(UnknownFieldSet unknownFields)
public final AddGroupMigrationRequest.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
Returns
Overrides
setField(Descriptors.FieldDescriptor field, Object value)
public AddGroupMigrationRequest.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
Returns
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
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
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
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
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public AddGroupMigrationRequest.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters
Returns
Overrides
setUnknownFields(UnknownFieldSet unknownFields)
public final AddGroupMigrationRequest.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
Returns
Overrides