Class GenerateSshScriptRequest (2.52.0)

public final class GenerateSshScriptRequest extends GeneratedMessageV3 implements GenerateSshScriptRequestOrBuilder

Request message for 'GenerateSshScript' request.

Protobuf type google.cloud.clouddms.v1.GenerateSshScriptRequest

Static Fields

MIGRATION_JOB_FIELD_NUMBER

public static final int MIGRATION_JOB_FIELD_NUMBER
Field Value
Type Description
int

VM_CREATION_CONFIG_FIELD_NUMBER

public static final int VM_CREATION_CONFIG_FIELD_NUMBER
Field Value
Type Description
int

VM_FIELD_NUMBER

public static final int VM_FIELD_NUMBER
Field Value
Type Description
int

VM_PORT_FIELD_NUMBER

public static final int VM_PORT_FIELD_NUMBER
Field Value
Type Description
int

VM_SELECTION_CONFIG_FIELD_NUMBER

public static final int VM_SELECTION_CONFIG_FIELD_NUMBER
Field Value
Type Description
int

Static Methods

getDefaultInstance()

public static GenerateSshScriptRequest getDefaultInstance()
Returns
Type Description
GenerateSshScriptRequest

getDescriptor()

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

newBuilder()

public static GenerateSshScriptRequest.Builder newBuilder()
Returns
Type Description
GenerateSshScriptRequest.Builder

newBuilder(GenerateSshScriptRequest prototype)

public static GenerateSshScriptRequest.Builder newBuilder(GenerateSshScriptRequest prototype)
Parameter
Name Description
prototype GenerateSshScriptRequest
Returns
Type Description
GenerateSshScriptRequest.Builder

parseDelimitedFrom(InputStream input)

public static GenerateSshScriptRequest parseDelimitedFrom(InputStream input)
Parameter
Name Description
input InputStream
Returns
Type Description
GenerateSshScriptRequest
Exceptions
Type Description
IOException

parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static GenerateSshScriptRequest parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input InputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
GenerateSshScriptRequest
Exceptions
Type Description
IOException

parseFrom(byte[] data)

public static GenerateSshScriptRequest parseFrom(byte[] data)
Parameter
Name Description
data byte[]
Returns
Type Description
GenerateSshScriptRequest
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)

public static GenerateSshScriptRequest parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
data byte[]
extensionRegistry ExtensionRegistryLite
Returns
Type Description
GenerateSshScriptRequest
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteString data)

public static GenerateSshScriptRequest parseFrom(ByteString data)
Parameter
Name Description
data ByteString
Returns
Type Description
GenerateSshScriptRequest
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)

public static GenerateSshScriptRequest parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
data ByteString
extensionRegistry ExtensionRegistryLite
Returns
Type Description
GenerateSshScriptRequest
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(CodedInputStream input)

public static GenerateSshScriptRequest parseFrom(CodedInputStream input)
Parameter
Name Description
input CodedInputStream
Returns
Type Description
GenerateSshScriptRequest
Exceptions
Type Description
IOException

parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public static GenerateSshScriptRequest parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input CodedInputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
GenerateSshScriptRequest
Exceptions
Type Description
IOException

parseFrom(InputStream input)

public static GenerateSshScriptRequest parseFrom(InputStream input)
Parameter
Name Description
input InputStream
Returns
Type Description
GenerateSshScriptRequest
Exceptions
Type Description
IOException

parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static GenerateSshScriptRequest parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input InputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
GenerateSshScriptRequest
Exceptions
Type Description
IOException

parseFrom(ByteBuffer data)

public static GenerateSshScriptRequest parseFrom(ByteBuffer data)
Parameter
Name Description
data ByteBuffer
Returns
Type Description
GenerateSshScriptRequest
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)

public static GenerateSshScriptRequest parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
data ByteBuffer
extensionRegistry ExtensionRegistryLite
Returns
Type Description
GenerateSshScriptRequest
Exceptions
Type Description
InvalidProtocolBufferException

parser()

public static Parser<GenerateSshScriptRequest> parser()
Returns
Type Description
Parser<GenerateSshScriptRequest>

Methods

equals(Object obj)

public boolean equals(Object obj)
Parameter
Name Description
obj Object
Returns
Type Description
boolean
Overrides

getDefaultInstanceForType()

public GenerateSshScriptRequest getDefaultInstanceForType()
Returns
Type Description
GenerateSshScriptRequest

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.

getParserForType()

public Parser<GenerateSshScriptRequest> getParserForType()
Returns
Type Description
Parser<GenerateSshScriptRequest>
Overrides

getSerializedSize()

public int getSerializedSize()
Returns
Type Description
int
Overrides

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.

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.

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.

hashCode()

public int hashCode()
Returns
Type Description
int
Overrides

internalGetFieldAccessorTable()

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

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

newBuilderForType()

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

newBuilderForType(GeneratedMessageV3.BuilderParent parent)

protected GenerateSshScriptRequest.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Parameter
Name Description
parent BuilderParent
Returns
Type Description
GenerateSshScriptRequest.Builder
Overrides

newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)

protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Parameter
Name Description
unused UnusedPrivateParameter
Returns
Type Description
Object
Overrides

toBuilder()

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

writeTo(CodedOutputStream output)

public void writeTo(CodedOutputStream output)
Parameter
Name Description
output CodedOutputStream
Overrides
Exceptions
Type Description
IOException