- 2.47.0 (latest)
- 2.46.0
- 2.45.0
- 2.44.0
- 2.43.0
- 2.42.0
- 2.41.0
- 2.40.0
- 2.39.0
- 2.38.0
- 2.36.0
- 2.35.0
- 2.34.0
- 2.33.0
- 2.32.0
- 2.31.0
- 2.30.0
- 2.29.0
- 2.28.0
- 2.27.0
- 2.26.0
- 2.23.0
- 2.22.0
- 2.21.0
- 2.20.0
- 2.19.0
- 2.18.0
- 2.17.0
- 2.16.0
- 2.15.0
- 2.14.0
- 2.13.0
- 2.12.0
- 2.11.0
- 2.10.0
- 2.8.0
- 2.7.0
- 2.6.0
- 2.5.0
- 2.4.0
- 2.3.0
- 2.2.8
- 2.1.9
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
Inheritance
Object > AbstractMessageLite.Builder<MessageType,BuilderType> > AbstractMessage.Builder<BuilderType> > GeneratedMessageV3.Builder > GenerateSshScriptRequest.BuilderImplements
GenerateSshScriptRequestOrBuilderStatic Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
Returns | |
---|---|
Type | Description |
Descriptor |
Methods
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
public GenerateSshScriptRequest.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters | |
---|---|
Name | Description |
field | FieldDescriptor |
value | Object |
Returns | |
---|---|
Type | Description |
GenerateSshScriptRequest.Builder |
build()
public GenerateSshScriptRequest build()
Returns | |
---|---|
Type | Description |
GenerateSshScriptRequest |
buildPartial()
public GenerateSshScriptRequest buildPartial()
Returns | |
---|---|
Type | Description |
GenerateSshScriptRequest |
clear()
public GenerateSshScriptRequest.Builder clear()
Returns | |
---|---|
Type | Description |
GenerateSshScriptRequest.Builder |
clearField(Descriptors.FieldDescriptor field)
public GenerateSshScriptRequest.Builder clearField(Descriptors.FieldDescriptor field)
Parameter | |
---|---|
Name | Description |
field | FieldDescriptor |
Returns | |
---|---|
Type | Description |
GenerateSshScriptRequest.Builder |
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 | |
---|---|
Type | Description |
GenerateSshScriptRequest.Builder | This builder for chaining. |
clearOneof(Descriptors.OneofDescriptor oneof)
public GenerateSshScriptRequest.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter | |
---|---|
Name | Description |
oneof | OneofDescriptor |
Returns | |
---|---|
Type | Description |
GenerateSshScriptRequest.Builder |
clearVm()
public GenerateSshScriptRequest.Builder clearVm()
Required. Bastion VM Instance name to use or to create.
string vm = 2 [(.google.api.field_behavior) = REQUIRED];
Returns | |
---|---|
Type | Description |
GenerateSshScriptRequest.Builder | This builder for chaining. |
clearVmConfig()
public GenerateSshScriptRequest.Builder clearVmConfig()
Returns | |
---|---|
Type | Description |
GenerateSshScriptRequest.Builder |
clearVmCreationConfig()
public GenerateSshScriptRequest.Builder clearVmCreationConfig()
The VM creation configuration
.google.cloud.clouddms.v1.VmCreationConfig vm_creation_config = 100;
Returns | |
---|---|
Type | Description |
GenerateSshScriptRequest.Builder |
clearVmPort()
public GenerateSshScriptRequest.Builder clearVmPort()
The port that will be open on the bastion host.
int32 vm_port = 3;
Returns | |
---|---|
Type | Description |
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 | |
---|---|
Type | Description |
GenerateSshScriptRequest.Builder |
clone()
public GenerateSshScriptRequest.Builder clone()
Returns | |
---|---|
Type | Description |
GenerateSshScriptRequest.Builder |
getDefaultInstanceForType()
public GenerateSshScriptRequest getDefaultInstanceForType()
Returns | |
---|---|
Type | Description |
GenerateSshScriptRequest |
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()
Returns | |
---|---|
Type | Description |
Descriptor |
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. |
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. |
getVmCreationConfigBuilder()
public VmCreationConfig.Builder getVmCreationConfigBuilder()
The VM creation configuration
.google.cloud.clouddms.v1.VmCreationConfig vm_creation_config = 100;
Returns | |
---|---|
Type | Description |
VmCreationConfig.Builder |
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. |
getVmSelectionConfigBuilder()
public VmSelectionConfig.Builder getVmSelectionConfigBuilder()
The VM selection configuration
.google.cloud.clouddms.v1.VmSelectionConfig vm_selection_config = 101;
Returns | |
---|---|
Type | Description |
VmSelectionConfig.Builder |
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. |
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns | |
---|---|
Type | Description |
FieldAccessorTable |
isInitialized()
public final boolean isInitialized()
Returns | |
---|---|
Type | Description |
boolean |
mergeFrom(GenerateSshScriptRequest other)
public GenerateSshScriptRequest.Builder mergeFrom(GenerateSshScriptRequest other)
Parameter | |
---|---|
Name | Description |
other | GenerateSshScriptRequest |
Returns | |
---|---|
Type | Description |
GenerateSshScriptRequest.Builder |
mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public GenerateSshScriptRequest.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters | |
---|---|
Name | Description |
input | CodedInputStream |
extensionRegistry | ExtensionRegistryLite |
Returns | |
---|---|
Type | Description |
GenerateSshScriptRequest.Builder |
Exceptions | |
---|---|
Type | Description |
IOException |
mergeFrom(Message other)
public GenerateSshScriptRequest.Builder mergeFrom(Message other)
Parameter | |
---|---|
Name | Description |
other | Message |
Returns | |
---|---|
Type | Description |
GenerateSshScriptRequest.Builder |
mergeUnknownFields(UnknownFieldSet unknownFields)
public final GenerateSshScriptRequest.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter | |
---|---|
Name | Description |
unknownFields | UnknownFieldSet |
Returns | |
---|---|
Type | Description |
GenerateSshScriptRequest.Builder |
mergeVmCreationConfig(VmCreationConfig value)
public GenerateSshScriptRequest.Builder mergeVmCreationConfig(VmCreationConfig value)
The VM creation configuration
.google.cloud.clouddms.v1.VmCreationConfig vm_creation_config = 100;
Parameter | |
---|---|
Name | Description |
value | VmCreationConfig |
Returns | |
---|---|
Type | Description |
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 | |
---|---|
Name | Description |
value | VmSelectionConfig |
Returns | |
---|---|
Type | Description |
GenerateSshScriptRequest.Builder |
setField(Descriptors.FieldDescriptor field, Object value)
public GenerateSshScriptRequest.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters | |
---|---|
Name | Description |
field | FieldDescriptor |
value | Object |
Returns | |
---|---|
Type | Description |
GenerateSshScriptRequest.Builder |
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 | |
---|---|
Name | Description |
value | String The migrationJob to set. |
Returns | |
---|---|
Type | Description |
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 | |
---|---|
Name | Description |
value | ByteString The bytes for migrationJob to set. |
Returns | |
---|---|
Type | Description |
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 | |
---|---|
Name | Description |
field | FieldDescriptor |
index | int |
value | Object |
Returns | |
---|---|
Type | Description |
GenerateSshScriptRequest.Builder |
setUnknownFields(UnknownFieldSet unknownFields)
public final GenerateSshScriptRequest.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter | |
---|---|
Name | Description |
unknownFields | UnknownFieldSet |
Returns | |
---|---|
Type | Description |
GenerateSshScriptRequest.Builder |
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 | |
---|---|
Name | Description |
value | String The vm to set. |
Returns | |
---|---|
Type | Description |
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 | |
---|---|
Name | Description |
value | ByteString The bytes for vm to set. |
Returns | |
---|---|
Type | Description |
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 | |
---|---|
Name | Description |
value | VmCreationConfig |
Returns | |
---|---|
Type | Description |
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 | |
---|---|
Name | Description |
builderForValue | VmCreationConfig.Builder |
Returns | |
---|---|
Type | Description |
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 | |
---|---|
Name | Description |
value | int The vmPort to set. |
Returns | |
---|---|
Type | Description |
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 | |
---|---|
Name | Description |
value | VmSelectionConfig |
Returns | |
---|---|
Type | Description |
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 | |
---|---|
Name | Description |
builderForValue | VmSelectionConfig.Builder |
Returns | |
---|---|
Type | Description |
GenerateSshScriptRequest.Builder |