- 2.53.0 (latest)
- 2.52.0
- 2.51.0
- 2.50.0
- 2.48.0
- 2.47.0
- 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 GenerateTcpProxyScriptRequest.Builder extends GeneratedMessageV3.Builder<GenerateTcpProxyScriptRequest.Builder> implements GenerateTcpProxyScriptRequestOrBuilder
Request message for 'GenerateTcpProxyScript' request.
Protobuf type google.cloud.clouddms.v1.GenerateTcpProxyScriptRequest
Inheritance
Object > AbstractMessageLite.Builder<MessageType,BuilderType> > AbstractMessage.Builder<BuilderType> > GeneratedMessageV3.Builder > GenerateTcpProxyScriptRequest.BuilderImplements
GenerateTcpProxyScriptRequestOrBuilderStatic Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
Returns | |
---|---|
Type | Description |
Descriptor |
Methods
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
public GenerateTcpProxyScriptRequest.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters | |
---|---|
Name | Description |
field |
FieldDescriptor |
value |
Object |
Returns | |
---|---|
Type | Description |
GenerateTcpProxyScriptRequest.Builder |
build()
public GenerateTcpProxyScriptRequest build()
Returns | |
---|---|
Type | Description |
GenerateTcpProxyScriptRequest |
buildPartial()
public GenerateTcpProxyScriptRequest buildPartial()
Returns | |
---|---|
Type | Description |
GenerateTcpProxyScriptRequest |
clear()
public GenerateTcpProxyScriptRequest.Builder clear()
Returns | |
---|---|
Type | Description |
GenerateTcpProxyScriptRequest.Builder |
clearField(Descriptors.FieldDescriptor field)
public GenerateTcpProxyScriptRequest.Builder clearField(Descriptors.FieldDescriptor field)
Parameter | |
---|---|
Name | Description |
field |
FieldDescriptor |
Returns | |
---|---|
Type | Description |
GenerateTcpProxyScriptRequest.Builder |
clearMigrationJob()
public GenerateTcpProxyScriptRequest.Builder clearMigrationJob()
Name of the migration job resource to generate the TCP Proxy script.
string migration_job = 1 [(.google.api.resource_reference) = { ... }
Returns | |
---|---|
Type | Description |
GenerateTcpProxyScriptRequest.Builder |
This builder for chaining. |
clearOneof(Descriptors.OneofDescriptor oneof)
public GenerateTcpProxyScriptRequest.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter | |
---|---|
Name | Description |
oneof |
OneofDescriptor |
Returns | |
---|---|
Type | Description |
GenerateTcpProxyScriptRequest.Builder |
clearVmMachineType()
public GenerateTcpProxyScriptRequest.Builder clearVmMachineType()
Required. The type of the Compute instance that will host the proxy.
string vm_machine_type = 3 [(.google.api.field_behavior) = REQUIRED];
Returns | |
---|---|
Type | Description |
GenerateTcpProxyScriptRequest.Builder |
This builder for chaining. |
clearVmName()
public GenerateTcpProxyScriptRequest.Builder clearVmName()
Required. The name of the Compute instance that will host the proxy.
string vm_name = 2 [(.google.api.field_behavior) = REQUIRED];
Returns | |
---|---|
Type | Description |
GenerateTcpProxyScriptRequest.Builder |
This builder for chaining. |
clearVmSubnet()
public GenerateTcpProxyScriptRequest.Builder clearVmSubnet()
Required. The name of the subnet the Compute instance will use for private connectivity. Must be supplied in the form of projects/{project}/regions/{region}/subnetworks/{subnetwork}. Note: the region for the subnet must match the Compute instance region.
string vm_subnet = 5 [(.google.api.field_behavior) = REQUIRED];
Returns | |
---|---|
Type | Description |
GenerateTcpProxyScriptRequest.Builder |
This builder for chaining. |
clearVmZone()
public GenerateTcpProxyScriptRequest.Builder clearVmZone()
Optional. The Google Cloud Platform zone to create the VM in. The fully qualified name of the zone must be specified, including the region name, for example "us-central1-b". If not specified, uses the "-b" zone of the destination Connection Profile's region.
string vm_zone = 4 [(.google.api.field_behavior) = OPTIONAL];
Returns | |
---|---|
Type | Description |
GenerateTcpProxyScriptRequest.Builder |
This builder for chaining. |
clone()
public GenerateTcpProxyScriptRequest.Builder clone()
Returns | |
---|---|
Type | Description |
GenerateTcpProxyScriptRequest.Builder |
getDefaultInstanceForType()
public GenerateTcpProxyScriptRequest getDefaultInstanceForType()
Returns | |
---|---|
Type | Description |
GenerateTcpProxyScriptRequest |
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()
Returns | |
---|---|
Type | Description |
Descriptor |
getMigrationJob()
public String getMigrationJob()
Name of the migration job resource to generate the TCP Proxy 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 TCP Proxy script.
string migration_job = 1 [(.google.api.resource_reference) = { ... }
Returns | |
---|---|
Type | Description |
ByteString |
The bytes for migrationJob. |
getVmMachineType()
public String getVmMachineType()
Required. The type of the Compute instance that will host the proxy.
string vm_machine_type = 3 [(.google.api.field_behavior) = REQUIRED];
Returns | |
---|---|
Type | Description |
String |
The vmMachineType. |
getVmMachineTypeBytes()
public ByteString getVmMachineTypeBytes()
Required. The type of the Compute instance that will host the proxy.
string vm_machine_type = 3 [(.google.api.field_behavior) = REQUIRED];
Returns | |
---|---|
Type | Description |
ByteString |
The bytes for vmMachineType. |
getVmName()
public String getVmName()
Required. The name of the Compute instance that will host the proxy.
string vm_name = 2 [(.google.api.field_behavior) = REQUIRED];
Returns | |
---|---|
Type | Description |
String |
The vmName. |
getVmNameBytes()
public ByteString getVmNameBytes()
Required. The name of the Compute instance that will host the proxy.
string vm_name = 2 [(.google.api.field_behavior) = REQUIRED];
Returns | |
---|---|
Type | Description |
ByteString |
The bytes for vmName. |
getVmSubnet()
public String getVmSubnet()
Required. The name of the subnet the Compute instance will use for private connectivity. Must be supplied in the form of projects/{project}/regions/{region}/subnetworks/{subnetwork}. Note: the region for the subnet must match the Compute instance region.
string vm_subnet = 5 [(.google.api.field_behavior) = REQUIRED];
Returns | |
---|---|
Type | Description |
String |
The vmSubnet. |
getVmSubnetBytes()
public ByteString getVmSubnetBytes()
Required. The name of the subnet the Compute instance will use for private connectivity. Must be supplied in the form of projects/{project}/regions/{region}/subnetworks/{subnetwork}. Note: the region for the subnet must match the Compute instance region.
string vm_subnet = 5 [(.google.api.field_behavior) = REQUIRED];
Returns | |
---|---|
Type | Description |
ByteString |
The bytes for vmSubnet. |
getVmZone()
public String getVmZone()
Optional. The Google Cloud Platform zone to create the VM in. The fully qualified name of the zone must be specified, including the region name, for example "us-central1-b". If not specified, uses the "-b" zone of the destination Connection Profile's region.
string vm_zone = 4 [(.google.api.field_behavior) = OPTIONAL];
Returns | |
---|---|
Type | Description |
String |
The vmZone. |
getVmZoneBytes()
public ByteString getVmZoneBytes()
Optional. The Google Cloud Platform zone to create the VM in. The fully qualified name of the zone must be specified, including the region name, for example "us-central1-b". If not specified, uses the "-b" zone of the destination Connection Profile's region.
string vm_zone = 4 [(.google.api.field_behavior) = OPTIONAL];
Returns | |
---|---|
Type | Description |
ByteString |
The bytes for vmZone. |
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns | |
---|---|
Type | Description |
FieldAccessorTable |
isInitialized()
public final boolean isInitialized()
Returns | |
---|---|
Type | Description |
boolean |
mergeFrom(GenerateTcpProxyScriptRequest other)
public GenerateTcpProxyScriptRequest.Builder mergeFrom(GenerateTcpProxyScriptRequest other)
Parameter | |
---|---|
Name | Description |
other |
GenerateTcpProxyScriptRequest |
Returns | |
---|---|
Type | Description |
GenerateTcpProxyScriptRequest.Builder |
mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public GenerateTcpProxyScriptRequest.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters | |
---|---|
Name | Description |
input |
CodedInputStream |
extensionRegistry |
ExtensionRegistryLite |
Returns | |
---|---|
Type | Description |
GenerateTcpProxyScriptRequest.Builder |
Exceptions | |
---|---|
Type | Description |
IOException |
mergeFrom(Message other)
public GenerateTcpProxyScriptRequest.Builder mergeFrom(Message other)
Parameter | |
---|---|
Name | Description |
other |
Message |
Returns | |
---|---|
Type | Description |
GenerateTcpProxyScriptRequest.Builder |
mergeUnknownFields(UnknownFieldSet unknownFields)
public final GenerateTcpProxyScriptRequest.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter | |
---|---|
Name | Description |
unknownFields |
UnknownFieldSet |
Returns | |
---|---|
Type | Description |
GenerateTcpProxyScriptRequest.Builder |
setField(Descriptors.FieldDescriptor field, Object value)
public GenerateTcpProxyScriptRequest.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters | |
---|---|
Name | Description |
field |
FieldDescriptor |
value |
Object |
Returns | |
---|---|
Type | Description |
GenerateTcpProxyScriptRequest.Builder |
setMigrationJob(String value)
public GenerateTcpProxyScriptRequest.Builder setMigrationJob(String value)
Name of the migration job resource to generate the TCP Proxy script.
string migration_job = 1 [(.google.api.resource_reference) = { ... }
Parameter | |
---|---|
Name | Description |
value |
String The migrationJob to set. |
Returns | |
---|---|
Type | Description |
GenerateTcpProxyScriptRequest.Builder |
This builder for chaining. |
setMigrationJobBytes(ByteString value)
public GenerateTcpProxyScriptRequest.Builder setMigrationJobBytes(ByteString value)
Name of the migration job resource to generate the TCP Proxy script.
string migration_job = 1 [(.google.api.resource_reference) = { ... }
Parameter | |
---|---|
Name | Description |
value |
ByteString The bytes for migrationJob to set. |
Returns | |
---|---|
Type | Description |
GenerateTcpProxyScriptRequest.Builder |
This builder for chaining. |
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public GenerateTcpProxyScriptRequest.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters | |
---|---|
Name | Description |
field |
FieldDescriptor |
index |
int |
value |
Object |
Returns | |
---|---|
Type | Description |
GenerateTcpProxyScriptRequest.Builder |
setUnknownFields(UnknownFieldSet unknownFields)
public final GenerateTcpProxyScriptRequest.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter | |
---|---|
Name | Description |
unknownFields |
UnknownFieldSet |
Returns | |
---|---|
Type | Description |
GenerateTcpProxyScriptRequest.Builder |
setVmMachineType(String value)
public GenerateTcpProxyScriptRequest.Builder setVmMachineType(String value)
Required. The type of the Compute instance that will host the proxy.
string vm_machine_type = 3 [(.google.api.field_behavior) = REQUIRED];
Parameter | |
---|---|
Name | Description |
value |
String The vmMachineType to set. |
Returns | |
---|---|
Type | Description |
GenerateTcpProxyScriptRequest.Builder |
This builder for chaining. |
setVmMachineTypeBytes(ByteString value)
public GenerateTcpProxyScriptRequest.Builder setVmMachineTypeBytes(ByteString value)
Required. The type of the Compute instance that will host the proxy.
string vm_machine_type = 3 [(.google.api.field_behavior) = REQUIRED];
Parameter | |
---|---|
Name | Description |
value |
ByteString The bytes for vmMachineType to set. |
Returns | |
---|---|
Type | Description |
GenerateTcpProxyScriptRequest.Builder |
This builder for chaining. |
setVmName(String value)
public GenerateTcpProxyScriptRequest.Builder setVmName(String value)
Required. The name of the Compute instance that will host the proxy.
string vm_name = 2 [(.google.api.field_behavior) = REQUIRED];
Parameter | |
---|---|
Name | Description |
value |
String The vmName to set. |
Returns | |
---|---|
Type | Description |
GenerateTcpProxyScriptRequest.Builder |
This builder for chaining. |
setVmNameBytes(ByteString value)
public GenerateTcpProxyScriptRequest.Builder setVmNameBytes(ByteString value)
Required. The name of the Compute instance that will host the proxy.
string vm_name = 2 [(.google.api.field_behavior) = REQUIRED];
Parameter | |
---|---|
Name | Description |
value |
ByteString The bytes for vmName to set. |
Returns | |
---|---|
Type | Description |
GenerateTcpProxyScriptRequest.Builder |
This builder for chaining. |
setVmSubnet(String value)
public GenerateTcpProxyScriptRequest.Builder setVmSubnet(String value)
Required. The name of the subnet the Compute instance will use for private connectivity. Must be supplied in the form of projects/{project}/regions/{region}/subnetworks/{subnetwork}. Note: the region for the subnet must match the Compute instance region.
string vm_subnet = 5 [(.google.api.field_behavior) = REQUIRED];
Parameter | |
---|---|
Name | Description |
value |
String The vmSubnet to set. |
Returns | |
---|---|
Type | Description |
GenerateTcpProxyScriptRequest.Builder |
This builder for chaining. |
setVmSubnetBytes(ByteString value)
public GenerateTcpProxyScriptRequest.Builder setVmSubnetBytes(ByteString value)
Required. The name of the subnet the Compute instance will use for private connectivity. Must be supplied in the form of projects/{project}/regions/{region}/subnetworks/{subnetwork}. Note: the region for the subnet must match the Compute instance region.
string vm_subnet = 5 [(.google.api.field_behavior) = REQUIRED];
Parameter | |
---|---|
Name | Description |
value |
ByteString The bytes for vmSubnet to set. |
Returns | |
---|---|
Type | Description |
GenerateTcpProxyScriptRequest.Builder |
This builder for chaining. |
setVmZone(String value)
public GenerateTcpProxyScriptRequest.Builder setVmZone(String value)
Optional. The Google Cloud Platform zone to create the VM in. The fully qualified name of the zone must be specified, including the region name, for example "us-central1-b". If not specified, uses the "-b" zone of the destination Connection Profile's region.
string vm_zone = 4 [(.google.api.field_behavior) = OPTIONAL];
Parameter | |
---|---|
Name | Description |
value |
String The vmZone to set. |
Returns | |
---|---|
Type | Description |
GenerateTcpProxyScriptRequest.Builder |
This builder for chaining. |
setVmZoneBytes(ByteString value)
public GenerateTcpProxyScriptRequest.Builder setVmZoneBytes(ByteString value)
Optional. The Google Cloud Platform zone to create the VM in. The fully qualified name of the zone must be specified, including the region name, for example "us-central1-b". If not specified, uses the "-b" zone of the destination Connection Profile's region.
string vm_zone = 4 [(.google.api.field_behavior) = OPTIONAL];
Parameter | |
---|---|
Name | Description |
value |
ByteString The bytes for vmZone to set. |
Returns | |
---|---|
Type | Description |
GenerateTcpProxyScriptRequest.Builder |
This builder for chaining. |