Class GenerateTcpProxyScriptRequest (2.44.0)

public final class GenerateTcpProxyScriptRequest extends GeneratedMessageV3 implements GenerateTcpProxyScriptRequestOrBuilder

Request message for 'GenerateTcpProxyScript' request.

Protobuf type google.cloud.clouddms.v1.GenerateTcpProxyScriptRequest

Static Fields

MIGRATION_JOB_FIELD_NUMBER

public static final int MIGRATION_JOB_FIELD_NUMBER
Field Value
Type Description
int

VM_MACHINE_TYPE_FIELD_NUMBER

public static final int VM_MACHINE_TYPE_FIELD_NUMBER
Field Value
Type Description
int

VM_NAME_FIELD_NUMBER

public static final int VM_NAME_FIELD_NUMBER
Field Value
Type Description
int

VM_SUBNET_FIELD_NUMBER

public static final int VM_SUBNET_FIELD_NUMBER
Field Value
Type Description
int

VM_ZONE_FIELD_NUMBER

public static final int VM_ZONE_FIELD_NUMBER
Field Value
Type Description
int

Static Methods

getDefaultInstance()

public static GenerateTcpProxyScriptRequest getDefaultInstance()
Returns
Type Description
GenerateTcpProxyScriptRequest

getDescriptor()

public static final Descriptors.Descriptor getDescriptor()
Returns
Type Description
Descriptor

newBuilder()

public static GenerateTcpProxyScriptRequest.Builder newBuilder()
Returns
Type Description
GenerateTcpProxyScriptRequest.Builder

newBuilder(GenerateTcpProxyScriptRequest prototype)

public static GenerateTcpProxyScriptRequest.Builder newBuilder(GenerateTcpProxyScriptRequest prototype)
Parameter
Name Description
prototype GenerateTcpProxyScriptRequest
Returns
Type Description
GenerateTcpProxyScriptRequest.Builder

parseDelimitedFrom(InputStream input)

public static GenerateTcpProxyScriptRequest parseDelimitedFrom(InputStream input)
Parameter
Name Description
input InputStream
Returns
Type Description
GenerateTcpProxyScriptRequest
Exceptions
Type Description
IOException

parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static GenerateTcpProxyScriptRequest parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input InputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
GenerateTcpProxyScriptRequest
Exceptions
Type Description
IOException

parseFrom(byte[] data)

public static GenerateTcpProxyScriptRequest parseFrom(byte[] data)
Parameter
Name Description
data byte[]
Returns
Type Description
GenerateTcpProxyScriptRequest
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)

public static GenerateTcpProxyScriptRequest parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
data byte[]
extensionRegistry ExtensionRegistryLite
Returns
Type Description
GenerateTcpProxyScriptRequest
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteString data)

public static GenerateTcpProxyScriptRequest parseFrom(ByteString data)
Parameter
Name Description
data ByteString
Returns
Type Description
GenerateTcpProxyScriptRequest
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)

public static GenerateTcpProxyScriptRequest parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
data ByteString
extensionRegistry ExtensionRegistryLite
Returns
Type Description
GenerateTcpProxyScriptRequest
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(CodedInputStream input)

public static GenerateTcpProxyScriptRequest parseFrom(CodedInputStream input)
Parameter
Name Description
input CodedInputStream
Returns
Type Description
GenerateTcpProxyScriptRequest
Exceptions
Type Description
IOException

parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public static GenerateTcpProxyScriptRequest parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input CodedInputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
GenerateTcpProxyScriptRequest
Exceptions
Type Description
IOException

parseFrom(InputStream input)

public static GenerateTcpProxyScriptRequest parseFrom(InputStream input)
Parameter
Name Description
input InputStream
Returns
Type Description
GenerateTcpProxyScriptRequest
Exceptions
Type Description
IOException

parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static GenerateTcpProxyScriptRequest parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input InputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
GenerateTcpProxyScriptRequest
Exceptions
Type Description
IOException

parseFrom(ByteBuffer data)

public static GenerateTcpProxyScriptRequest parseFrom(ByteBuffer data)
Parameter
Name Description
data ByteBuffer
Returns
Type Description
GenerateTcpProxyScriptRequest
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)

public static GenerateTcpProxyScriptRequest parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
data ByteBuffer
extensionRegistry ExtensionRegistryLite
Returns
Type Description
GenerateTcpProxyScriptRequest
Exceptions
Type Description
InvalidProtocolBufferException

parser()

public static Parser<GenerateTcpProxyScriptRequest> parser()
Returns
Type Description
Parser<GenerateTcpProxyScriptRequest>

Methods

equals(Object obj)

public boolean equals(Object obj)
Parameter
Name Description
obj Object
Returns
Type Description
boolean
Overrides

getDefaultInstanceForType()

public GenerateTcpProxyScriptRequest getDefaultInstanceForType()
Returns
Type Description
GenerateTcpProxyScriptRequest

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.

getParserForType()

public Parser<GenerateTcpProxyScriptRequest> getParserForType()
Returns
Type Description
Parser<GenerateTcpProxyScriptRequest>
Overrides

getSerializedSize()

public int getSerializedSize()
Returns
Type Description
int
Overrides

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.

hashCode()

public int hashCode()
Returns
Type Description
int
Overrides

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
Type Description
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

newBuilderForType()

public GenerateTcpProxyScriptRequest.Builder newBuilderForType()
Returns
Type Description
GenerateTcpProxyScriptRequest.Builder

newBuilderForType(GeneratedMessageV3.BuilderParent parent)

protected GenerateTcpProxyScriptRequest.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Parameter
Name Description
parent BuilderParent
Returns
Type Description
GenerateTcpProxyScriptRequest.Builder
Overrides

newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)

protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Parameter
Name Description
unused UnusedPrivateParameter
Returns
Type Description
Object
Overrides

toBuilder()

public GenerateTcpProxyScriptRequest.Builder toBuilder()
Returns
Type Description
GenerateTcpProxyScriptRequest.Builder

writeTo(CodedOutputStream output)

public void writeTo(CodedOutputStream output)
Parameter
Name Description
output CodedOutputStream
Overrides
Exceptions
Type Description
IOException