Class GenerateSshScriptRequest.Builder (2.54.0)

public static final class GenerateSshScriptRequest.Builder extends GeneratedMessageV3.Builder<GenerateSshScriptRequest.Builder> implements GenerateSshScriptRequestOrBuilder

Request message for 'GenerateSshScript' request.

Protobuf type google.cloud.clouddms.v1.GenerateSshScriptRequest

Static Methods

getDescriptor()

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

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

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

build()

public GenerateSshScriptRequest build()
Returns
Type Description
GenerateSshScriptRequest

buildPartial()

public GenerateSshScriptRequest buildPartial()
Returns
Type Description
GenerateSshScriptRequest

clear()

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

clearField(Descriptors.FieldDescriptor field)

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

clearMigrationJob()

public GenerateSshScriptRequest.Builder clearMigrationJob()

Name of the migration job resource to generate the SSH script.

string migration_job = 1 [(.google.api.resource_reference) = { ... }

Returns
Type Description
GenerateSshScriptRequest.Builder

This builder for chaining.

clearOneof(Descriptors.OneofDescriptor oneof)

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

clearVm()

public GenerateSshScriptRequest.Builder clearVm()

Required. Bastion VM Instance name to use or to create.

string vm = 2 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
GenerateSshScriptRequest.Builder

This builder for chaining.

clearVmConfig()

public GenerateSshScriptRequest.Builder clearVmConfig()
Returns
Type Description
GenerateSshScriptRequest.Builder

clearVmCreationConfig()

public GenerateSshScriptRequest.Builder clearVmCreationConfig()

The VM creation configuration

.google.cloud.clouddms.v1.VmCreationConfig vm_creation_config = 100;

Returns
Type Description
GenerateSshScriptRequest.Builder

clearVmPort()

public GenerateSshScriptRequest.Builder clearVmPort()

The port that will be open on the bastion host.

int32 vm_port = 3;

Returns
Type Description
GenerateSshScriptRequest.Builder

This builder for chaining.

clearVmSelectionConfig()

public GenerateSshScriptRequest.Builder clearVmSelectionConfig()

The VM selection configuration

.google.cloud.clouddms.v1.VmSelectionConfig vm_selection_config = 101;

Returns
Type Description
GenerateSshScriptRequest.Builder

clone()

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

getDefaultInstanceForType()

public GenerateSshScriptRequest getDefaultInstanceForType()
Returns
Type Description
GenerateSshScriptRequest

getDescriptorForType()

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

getMigrationJob()

public String getMigrationJob()

Name of the migration job resource to generate the SSH script.

string migration_job = 1 [(.google.api.resource_reference) = { ... }

Returns
Type Description
String

The migrationJob.

getMigrationJobBytes()

public ByteString getMigrationJobBytes()

Name of the migration job resource to generate the SSH script.

string migration_job = 1 [(.google.api.resource_reference) = { ... }

Returns
Type Description
ByteString

The bytes for migrationJob.

getVm()

public String getVm()

Required. Bastion VM Instance name to use or to create.

string vm = 2 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
String

The vm.

getVmBytes()

public ByteString getVmBytes()

Required. Bastion VM Instance name to use or to create.

string vm = 2 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
ByteString

The bytes for vm.

getVmConfigCase()

public GenerateSshScriptRequest.VmConfigCase getVmConfigCase()
Returns
Type Description
GenerateSshScriptRequest.VmConfigCase

getVmCreationConfig()

public VmCreationConfig getVmCreationConfig()

The VM creation configuration

.google.cloud.clouddms.v1.VmCreationConfig vm_creation_config = 100;

Returns
Type Description
VmCreationConfig

The vmCreationConfig.

getVmCreationConfigBuilder()

public VmCreationConfig.Builder getVmCreationConfigBuilder()

The VM creation configuration

.google.cloud.clouddms.v1.VmCreationConfig vm_creation_config = 100;

Returns
Type Description
VmCreationConfig.Builder

getVmCreationConfigOrBuilder()

public VmCreationConfigOrBuilder getVmCreationConfigOrBuilder()

The VM creation configuration

.google.cloud.clouddms.v1.VmCreationConfig vm_creation_config = 100;

Returns
Type Description
VmCreationConfigOrBuilder

getVmPort()

public int getVmPort()

The port that will be open on the bastion host.

int32 vm_port = 3;

Returns
Type Description
int

The vmPort.

getVmSelectionConfig()

public VmSelectionConfig getVmSelectionConfig()

The VM selection configuration

.google.cloud.clouddms.v1.VmSelectionConfig vm_selection_config = 101;

Returns
Type Description
VmSelectionConfig

The vmSelectionConfig.

getVmSelectionConfigBuilder()

public VmSelectionConfig.Builder getVmSelectionConfigBuilder()

The VM selection configuration

.google.cloud.clouddms.v1.VmSelectionConfig vm_selection_config = 101;

Returns
Type Description
VmSelectionConfig.Builder

getVmSelectionConfigOrBuilder()

public VmSelectionConfigOrBuilder getVmSelectionConfigOrBuilder()

The VM selection configuration

.google.cloud.clouddms.v1.VmSelectionConfig vm_selection_config = 101;

Returns
Type Description
VmSelectionConfigOrBuilder

hasVmCreationConfig()

public boolean hasVmCreationConfig()

The VM creation configuration

.google.cloud.clouddms.v1.VmCreationConfig vm_creation_config = 100;

Returns
Type Description
boolean

Whether the vmCreationConfig field is set.

hasVmSelectionConfig()

public boolean hasVmSelectionConfig()

The VM selection configuration

.google.cloud.clouddms.v1.VmSelectionConfig vm_selection_config = 101;

Returns
Type Description
boolean

Whether the vmSelectionConfig field is set.

internalGetFieldAccessorTable()

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

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

mergeFrom(GenerateSshScriptRequest other)

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

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

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

mergeUnknownFields(UnknownFieldSet unknownFields)

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

mergeVmCreationConfig(VmCreationConfig value)

public GenerateSshScriptRequest.Builder mergeVmCreationConfig(VmCreationConfig value)

The VM creation configuration

.google.cloud.clouddms.v1.VmCreationConfig vm_creation_config = 100;

Parameter
Name Description
value VmCreationConfig
Returns
Type Description
GenerateSshScriptRequest.Builder

mergeVmSelectionConfig(VmSelectionConfig value)

public GenerateSshScriptRequest.Builder mergeVmSelectionConfig(VmSelectionConfig value)

The VM selection configuration

.google.cloud.clouddms.v1.VmSelectionConfig vm_selection_config = 101;

Parameter
Name Description
value VmSelectionConfig
Returns
Type Description
GenerateSshScriptRequest.Builder

setField(Descriptors.FieldDescriptor field, Object value)

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

setMigrationJob(String value)

public GenerateSshScriptRequest.Builder setMigrationJob(String value)

Name of the migration job resource to generate the SSH script.

string migration_job = 1 [(.google.api.resource_reference) = { ... }

Parameter
Name Description
value String

The migrationJob to set.

Returns
Type Description
GenerateSshScriptRequest.Builder

This builder for chaining.

setMigrationJobBytes(ByteString value)

public GenerateSshScriptRequest.Builder setMigrationJobBytes(ByteString value)

Name of the migration job resource to generate the SSH script.

string migration_job = 1 [(.google.api.resource_reference) = { ... }

Parameter
Name Description
value ByteString

The bytes for migrationJob to set.

Returns
Type Description
GenerateSshScriptRequest.Builder

This builder for chaining.

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

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

setUnknownFields(UnknownFieldSet unknownFields)

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

setVm(String value)

public GenerateSshScriptRequest.Builder setVm(String value)

Required. Bastion VM Instance name to use or to create.

string vm = 2 [(.google.api.field_behavior) = REQUIRED];

Parameter
Name Description
value String

The vm to set.

Returns
Type Description
GenerateSshScriptRequest.Builder

This builder for chaining.

setVmBytes(ByteString value)

public GenerateSshScriptRequest.Builder setVmBytes(ByteString value)

Required. Bastion VM Instance name to use or to create.

string vm = 2 [(.google.api.field_behavior) = REQUIRED];

Parameter
Name Description
value ByteString

The bytes for vm to set.

Returns
Type Description
GenerateSshScriptRequest.Builder

This builder for chaining.

setVmCreationConfig(VmCreationConfig value)

public GenerateSshScriptRequest.Builder setVmCreationConfig(VmCreationConfig value)

The VM creation configuration

.google.cloud.clouddms.v1.VmCreationConfig vm_creation_config = 100;

Parameter
Name Description
value VmCreationConfig
Returns
Type Description
GenerateSshScriptRequest.Builder

setVmCreationConfig(VmCreationConfig.Builder builderForValue)

public GenerateSshScriptRequest.Builder setVmCreationConfig(VmCreationConfig.Builder builderForValue)

The VM creation configuration

.google.cloud.clouddms.v1.VmCreationConfig vm_creation_config = 100;

Parameter
Name Description
builderForValue VmCreationConfig.Builder
Returns
Type Description
GenerateSshScriptRequest.Builder

setVmPort(int value)

public GenerateSshScriptRequest.Builder setVmPort(int value)

The port that will be open on the bastion host.

int32 vm_port = 3;

Parameter
Name Description
value int

The vmPort to set.

Returns
Type Description
GenerateSshScriptRequest.Builder

This builder for chaining.

setVmSelectionConfig(VmSelectionConfig value)

public GenerateSshScriptRequest.Builder setVmSelectionConfig(VmSelectionConfig value)

The VM selection configuration

.google.cloud.clouddms.v1.VmSelectionConfig vm_selection_config = 101;

Parameter
Name Description
value VmSelectionConfig
Returns
Type Description
GenerateSshScriptRequest.Builder

setVmSelectionConfig(VmSelectionConfig.Builder builderForValue)

public GenerateSshScriptRequest.Builder setVmSelectionConfig(VmSelectionConfig.Builder builderForValue)

The VM selection configuration

.google.cloud.clouddms.v1.VmSelectionConfig vm_selection_config = 101;

Parameter
Name Description
builderForValue VmSelectionConfig.Builder
Returns
Type Description
GenerateSshScriptRequest.Builder