Class GenerateSshScriptRequest.Builder (2.2.1)

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

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

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

build()

public GenerateSshScriptRequest build()
Returns
TypeDescription
GenerateSshScriptRequest

buildPartial()

public GenerateSshScriptRequest buildPartial()
Returns
TypeDescription
GenerateSshScriptRequest

clear()

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

clearField(Descriptors.FieldDescriptor field)

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

This builder for chaining.

clearOneof(Descriptors.OneofDescriptor oneof)

public GenerateSshScriptRequest.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
NameDescription
oneofOneofDescriptor
Returns
TypeDescription
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
TypeDescription
GenerateSshScriptRequest.Builder

This builder for chaining.

clearVmConfig()

public GenerateSshScriptRequest.Builder clearVmConfig()
Returns
TypeDescription
GenerateSshScriptRequest.Builder

clearVmCreationConfig()

public GenerateSshScriptRequest.Builder clearVmCreationConfig()

The VM creation configuration

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

Returns
TypeDescription
GenerateSshScriptRequest.Builder

clearVmPort()

public GenerateSshScriptRequest.Builder clearVmPort()

The port that will be open on the bastion host

int32 vm_port = 3;

Returns
TypeDescription
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
TypeDescription
GenerateSshScriptRequest.Builder

clone()

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

getDefaultInstanceForType()

public GenerateSshScriptRequest getDefaultInstanceForType()
Returns
TypeDescription
GenerateSshScriptRequest

getDescriptorForType()

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

The bytes for vm.

getVmConfigCase()

public GenerateSshScriptRequest.VmConfigCase getVmConfigCase()
Returns
TypeDescription
GenerateSshScriptRequest.VmConfigCase

getVmCreationConfig()

public VmCreationConfig getVmCreationConfig()

The VM creation configuration

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

Returns
TypeDescription
VmCreationConfig

The vmCreationConfig.

getVmCreationConfigBuilder()

public VmCreationConfig.Builder getVmCreationConfigBuilder()

The VM creation configuration

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

Returns
TypeDescription
VmCreationConfig.Builder

getVmCreationConfigOrBuilder()

public VmCreationConfigOrBuilder getVmCreationConfigOrBuilder()

The VM creation configuration

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

Returns
TypeDescription
VmCreationConfigOrBuilder

getVmPort()

public int getVmPort()

The port that will be open on the bastion host

int32 vm_port = 3;

Returns
TypeDescription
int

The vmPort.

getVmSelectionConfig()

public VmSelectionConfig getVmSelectionConfig()

The VM selection configuration

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

Returns
TypeDescription
VmSelectionConfig

The vmSelectionConfig.

getVmSelectionConfigBuilder()

public VmSelectionConfig.Builder getVmSelectionConfigBuilder()

The VM selection configuration

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

Returns
TypeDescription
VmSelectionConfig.Builder

getVmSelectionConfigOrBuilder()

public VmSelectionConfigOrBuilder getVmSelectionConfigOrBuilder()

The VM selection configuration

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

Returns
TypeDescription
VmSelectionConfigOrBuilder

hasVmCreationConfig()

public boolean hasVmCreationConfig()

The VM creation configuration

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

Returns
TypeDescription
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
TypeDescription
boolean

Whether the vmSelectionConfig field is set.

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
TypeDescription
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
TypeDescription
boolean
Overrides

mergeFrom(GenerateSshScriptRequest other)

public GenerateSshScriptRequest.Builder mergeFrom(GenerateSshScriptRequest other)
Parameter
NameDescription
otherGenerateSshScriptRequest
Returns
TypeDescription
GenerateSshScriptRequest.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

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

mergeUnknownFields(UnknownFieldSet unknownFields)

public final GenerateSshScriptRequest.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
NameDescription
unknownFieldsUnknownFieldSet
Returns
TypeDescription
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
NameDescription
valueVmCreationConfig
Returns
TypeDescription
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
NameDescription
valueVmSelectionConfig
Returns
TypeDescription
GenerateSshScriptRequest.Builder

setField(Descriptors.FieldDescriptor field, Object value)

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

The migrationJob to set.

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

The bytes for migrationJob to set.

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

setUnknownFields(UnknownFieldSet unknownFields)

public final GenerateSshScriptRequest.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
NameDescription
unknownFieldsUnknownFieldSet
Returns
TypeDescription
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
NameDescription
valueString

The vm to set.

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

The bytes for vm to set.

Returns
TypeDescription
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
NameDescription
valueVmCreationConfig
Returns
TypeDescription
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
NameDescription
builderForValueVmCreationConfig.Builder
Returns
TypeDescription
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
NameDescription
valueint

The vmPort to set.

Returns
TypeDescription
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
NameDescription
valueVmSelectionConfig
Returns
TypeDescription
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
NameDescription
builderForValueVmSelectionConfig.Builder
Returns
TypeDescription
GenerateSshScriptRequest.Builder