Class GenerateSshScriptRequest (2.32.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
TypeDescription
int

VM_CREATION_CONFIG_FIELD_NUMBER

public static final int VM_CREATION_CONFIG_FIELD_NUMBER
Field Value
TypeDescription
int

VM_FIELD_NUMBER

public static final int VM_FIELD_NUMBER
Field Value
TypeDescription
int

VM_PORT_FIELD_NUMBER

public static final int VM_PORT_FIELD_NUMBER
Field Value
TypeDescription
int

VM_SELECTION_CONFIG_FIELD_NUMBER

public static final int VM_SELECTION_CONFIG_FIELD_NUMBER
Field Value
TypeDescription
int

Static Methods

getDefaultInstance()

public static GenerateSshScriptRequest getDefaultInstance()
Returns
TypeDescription
GenerateSshScriptRequest

getDescriptor()

public static final Descriptors.Descriptor getDescriptor()
Returns
TypeDescription
Descriptor

newBuilder()

public static GenerateSshScriptRequest.Builder newBuilder()
Returns
TypeDescription
GenerateSshScriptRequest.Builder

newBuilder(GenerateSshScriptRequest prototype)

public static GenerateSshScriptRequest.Builder newBuilder(GenerateSshScriptRequest prototype)
Parameter
NameDescription
prototypeGenerateSshScriptRequest
Returns
TypeDescription
GenerateSshScriptRequest.Builder

parseDelimitedFrom(InputStream input)

public static GenerateSshScriptRequest parseDelimitedFrom(InputStream input)
Parameter
NameDescription
inputInputStream
Returns
TypeDescription
GenerateSshScriptRequest
Exceptions
TypeDescription
IOException

parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static GenerateSshScriptRequest parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
GenerateSshScriptRequest
Exceptions
TypeDescription
IOException

parseFrom(byte[] data)

public static GenerateSshScriptRequest parseFrom(byte[] data)
Parameter
NameDescription
databyte[]
Returns
TypeDescription
GenerateSshScriptRequest
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)

public static GenerateSshScriptRequest parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
databyte[]
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
GenerateSshScriptRequest
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(ByteString data)

public static GenerateSshScriptRequest parseFrom(ByteString data)
Parameter
NameDescription
dataByteString
Returns
TypeDescription
GenerateSshScriptRequest
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)

public static GenerateSshScriptRequest parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
dataByteString
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
GenerateSshScriptRequest
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(CodedInputStream input)

public static GenerateSshScriptRequest parseFrom(CodedInputStream input)
Parameter
NameDescription
inputCodedInputStream
Returns
TypeDescription
GenerateSshScriptRequest
Exceptions
TypeDescription
IOException

parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public static GenerateSshScriptRequest parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputCodedInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
GenerateSshScriptRequest
Exceptions
TypeDescription
IOException

parseFrom(InputStream input)

public static GenerateSshScriptRequest parseFrom(InputStream input)
Parameter
NameDescription
inputInputStream
Returns
TypeDescription
GenerateSshScriptRequest
Exceptions
TypeDescription
IOException

parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static GenerateSshScriptRequest parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
GenerateSshScriptRequest
Exceptions
TypeDescription
IOException

parseFrom(ByteBuffer data)

public static GenerateSshScriptRequest parseFrom(ByteBuffer data)
Parameter
NameDescription
dataByteBuffer
Returns
TypeDescription
GenerateSshScriptRequest
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)

public static GenerateSshScriptRequest parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
dataByteBuffer
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
GenerateSshScriptRequest
Exceptions
TypeDescription
InvalidProtocolBufferException

parser()

public static Parser<GenerateSshScriptRequest> parser()
Returns
TypeDescription
Parser<GenerateSshScriptRequest>

Methods

equals(Object obj)

public boolean equals(Object obj)
Parameter
NameDescription
objObject
Returns
TypeDescription
boolean
Overrides

getDefaultInstanceForType()

public GenerateSshScriptRequest getDefaultInstanceForType()
Returns
TypeDescription
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
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.

getParserForType()

public Parser<GenerateSshScriptRequest> getParserForType()
Returns
TypeDescription
Parser<GenerateSshScriptRequest>
Overrides

getSerializedSize()

public int getSerializedSize()
Returns
TypeDescription
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
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.

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.

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.

hashCode()

public int hashCode()
Returns
TypeDescription
int
Overrides

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
TypeDescription
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
TypeDescription
boolean
Overrides

newBuilderForType()

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

newBuilderForType(GeneratedMessageV3.BuilderParent parent)

protected GenerateSshScriptRequest.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Parameter
NameDescription
parentBuilderParent
Returns
TypeDescription
GenerateSshScriptRequest.Builder
Overrides

newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)

protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Parameter
NameDescription
unusedUnusedPrivateParameter
Returns
TypeDescription
Object
Overrides

toBuilder()

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

writeTo(CodedOutputStream output)

public void writeTo(CodedOutputStream output)
Parameter
NameDescription
outputCodedOutputStream
Overrides
Exceptions
TypeDescription
IOException