Send feedback
Class GenerateSshScriptRequest (2.16.0)
Stay organized with collections
Save and categorize content based on your preferences.
Version 2.16.0keyboard_arrow_down
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 ()
getDescriptor()
public static final Descriptors . Descriptor getDescriptor ()
newBuilder()
public static GenerateSshScriptRequest . Builder newBuilder ()
newBuilder(GenerateSshScriptRequest prototype)
public static GenerateSshScriptRequest . Builder newBuilder ( GenerateSshScriptRequest prototype )
public static GenerateSshScriptRequest parseDelimitedFrom ( InputStream input )
public static GenerateSshScriptRequest parseDelimitedFrom ( InputStream input , ExtensionRegistryLite extensionRegistry )
parseFrom(byte[] data)
public static GenerateSshScriptRequest parseFrom ( byte [] data )
Parameter
Name
Description
data
byte []
parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
public static GenerateSshScriptRequest parseFrom ( byte [] data , ExtensionRegistryLite extensionRegistry )
parseFrom(ByteString data)
public static GenerateSshScriptRequest parseFrom ( ByteString data )
parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
public static GenerateSshScriptRequest parseFrom ( ByteString data , ExtensionRegistryLite extensionRegistry )
public static GenerateSshScriptRequest parseFrom ( CodedInputStream input )
public static GenerateSshScriptRequest parseFrom ( CodedInputStream input , ExtensionRegistryLite extensionRegistry )
public static GenerateSshScriptRequest parseFrom ( InputStream input )
public static GenerateSshScriptRequest parseFrom ( InputStream input , ExtensionRegistryLite extensionRegistry )
parseFrom(ByteBuffer data)
public static GenerateSshScriptRequest parseFrom ( ByteBuffer data )
parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
public static GenerateSshScriptRequest parseFrom ( ByteBuffer data , ExtensionRegistryLite extensionRegistry )
parser()
public static Parser<GenerateSshScriptRequest> parser ()
Methods
equals(Object obj)
public boolean equals ( Object obj )
Parameter
Name
Description
obj
Object
Overrides
getDefaultInstanceForType()
public GenerateSshScriptRequest getDefaultInstanceForType ()
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 ()
Overrides
getSerializedSize()
public int getSerializedSize ()
Returns
Type
Description
int
Overrides
getUnknownFields()
public final UnknownFieldSet getUnknownFields ()
Overrides
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 ()
getVmCreationConfig()
public VmCreationConfig getVmCreationConfig ()
The VM creation configuration
.google.cloud.clouddms.v1.VmCreationConfig vm_creation_config = 100;
getVmCreationConfigOrBuilder()
public VmCreationConfigOrBuilder getVmCreationConfigOrBuilder ()
The VM creation configuration
.google.cloud.clouddms.v1.VmCreationConfig vm_creation_config = 100;
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;
getVmSelectionConfigOrBuilder()
public VmSelectionConfigOrBuilder getVmSelectionConfigOrBuilder ()
The VM selection configuration
.google.cloud.clouddms.v1.VmSelectionConfig vm_selection_config = 101;
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()
Returns
Type
Description
int
Overrides
internalGetFieldAccessorTable()
protected GeneratedMessageV3 . FieldAccessorTable internalGetFieldAccessorTable ()
Overrides
isInitialized()
public final boolean isInitialized ()
Overrides
newBuilderForType()
public GenerateSshScriptRequest . Builder newBuilderForType ()
newBuilderForType(GeneratedMessageV3.BuilderParent parent)
protected GenerateSshScriptRequest . Builder newBuilderForType ( GeneratedMessageV3 . BuilderParent parent )
Overrides
newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
protected Object newInstance ( GeneratedMessageV3 . UnusedPrivateParameter unused )
Returns
Type
Description
Object
Overrides
toBuilder()
public GenerateSshScriptRequest . Builder toBuilder ()
writeTo(CodedOutputStream output)
public void writeTo ( CodedOutputStream output )
Overrides
Send feedback
Except as otherwise noted, the content of this page is licensed under the Creative Commons Attribution 4.0 License , and code samples are licensed under the Apache 2.0 License . For details, see the Google Developers Site Policies . Java is a registered trademark of Oracle and/or its affiliates.
Last updated 2025-05-16 UTC.
Need to tell us more?
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Hard to understand","hardToUnderstand","thumb-down"],["Incorrect information or sample code","incorrectInformationOrSampleCode","thumb-down"],["Missing the information/samples I need","missingTheInformationSamplesINeed","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2025-05-16 UTC."],[],[]]