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
VM_CREATION_CONFIG_FIELD_NUMBER
public static final int VM_CREATION_CONFIG_FIELD_NUMBER
Field Value
VM_FIELD_NUMBER
public static final int VM_FIELD_NUMBER
Field Value
VM_PORT_FIELD_NUMBER
public static final int VM_PORT_FIELD_NUMBER
Field Value
VM_SELECTION_CONFIG_FIELD_NUMBER
public static final int VM_SELECTION_CONFIG_FIELD_NUMBER
Field Value
Static Methods
getDefaultInstance()
public static GenerateSshScriptRequest getDefaultInstance()
Returns
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
Returns
newBuilder()
public static GenerateSshScriptRequest.Builder newBuilder()
Returns
newBuilder(GenerateSshScriptRequest prototype)
public static GenerateSshScriptRequest.Builder newBuilder(GenerateSshScriptRequest prototype)
Parameter
Returns
public static GenerateSshScriptRequest parseDelimitedFrom(InputStream input)
Parameter
Returns
Exceptions
public static GenerateSshScriptRequest parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
parseFrom(byte[] data)
public static GenerateSshScriptRequest parseFrom(byte[] data)
Parameter
Name | Description |
data | byte[]
|
Returns
Exceptions
parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
public static GenerateSshScriptRequest parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
parseFrom(ByteString data)
public static GenerateSshScriptRequest parseFrom(ByteString data)
Parameter
Returns
Exceptions
parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
public static GenerateSshScriptRequest parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
public static GenerateSshScriptRequest parseFrom(CodedInputStream input)
Parameter
Returns
Exceptions
public static GenerateSshScriptRequest parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
public static GenerateSshScriptRequest parseFrom(InputStream input)
Parameter
Returns
Exceptions
public static GenerateSshScriptRequest parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
parseFrom(ByteBuffer data)
public static GenerateSshScriptRequest parseFrom(ByteBuffer data)
Parameter
Returns
Exceptions
parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
public static GenerateSshScriptRequest parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
parser()
public static Parser<GenerateSshScriptRequest> parser()
Returns
Methods
equals(Object obj)
public boolean equals(Object obj)
Parameter
Returns
Overrides
getDefaultInstanceForType()
public GenerateSshScriptRequest getDefaultInstanceForType()
Returns
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
Overrides
getSerializedSize()
public int getSerializedSize()
Returns
Overrides
getUnknownFields()
public final UnknownFieldSet getUnknownFields()
Returns
Overrides
getVm()
Required. Bastion VM Instance name to use or to create.
string vm = 2 [(.google.api.field_behavior) = REQUIRED];
Returns
getVmBytes()
public ByteString getVmBytes()
Required. Bastion VM Instance name to use or to create.
string vm = 2 [(.google.api.field_behavior) = REQUIRED];
Returns
getVmConfigCase()
public GenerateSshScriptRequest.VmConfigCase getVmConfigCase()
Returns
getVmCreationConfig()
public VmCreationConfig getVmCreationConfig()
The VM creation configuration
.google.cloud.clouddms.v1.VmCreationConfig vm_creation_config = 100;
Returns
getVmCreationConfigOrBuilder()
public VmCreationConfigOrBuilder getVmCreationConfigOrBuilder()
The VM creation configuration
.google.cloud.clouddms.v1.VmCreationConfig vm_creation_config = 100;
Returns
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
getVmSelectionConfigOrBuilder()
public VmSelectionConfigOrBuilder getVmSelectionConfigOrBuilder()
The VM selection configuration
.google.cloud.clouddms.v1.VmSelectionConfig vm_selection_config = 101;
Returns
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
Overrides
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
Overrides
isInitialized()
public final boolean isInitialized()
Returns
Overrides
newBuilderForType()
public GenerateSshScriptRequest.Builder newBuilderForType()
Returns
newBuilderForType(GeneratedMessageV3.BuilderParent parent)
protected GenerateSshScriptRequest.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Parameter
Returns
Overrides
newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Parameter
Returns
Overrides
toBuilder()
public GenerateSshScriptRequest.Builder toBuilder()
Returns
writeTo(CodedOutputStream output)
public void writeTo(CodedOutputStream output)
Parameter
Overrides
Exceptions