Class GenerateTcpProxyScriptRequest (2.32.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
TypeDescription
int

VM_MACHINE_TYPE_FIELD_NUMBER

public static final int VM_MACHINE_TYPE_FIELD_NUMBER
Field Value
TypeDescription
int

VM_NAME_FIELD_NUMBER

public static final int VM_NAME_FIELD_NUMBER
Field Value
TypeDescription
int

VM_SUBNET_FIELD_NUMBER

public static final int VM_SUBNET_FIELD_NUMBER
Field Value
TypeDescription
int

VM_ZONE_FIELD_NUMBER

public static final int VM_ZONE_FIELD_NUMBER
Field Value
TypeDescription
int

Static Methods

getDefaultInstance()

public static GenerateTcpProxyScriptRequest getDefaultInstance()
Returns
TypeDescription
GenerateTcpProxyScriptRequest

getDescriptor()

public static final Descriptors.Descriptor getDescriptor()
Returns
TypeDescription
Descriptor

newBuilder()

public static GenerateTcpProxyScriptRequest.Builder newBuilder()
Returns
TypeDescription
GenerateTcpProxyScriptRequest.Builder

newBuilder(GenerateTcpProxyScriptRequest prototype)

public static GenerateTcpProxyScriptRequest.Builder newBuilder(GenerateTcpProxyScriptRequest prototype)
Parameter
NameDescription
prototypeGenerateTcpProxyScriptRequest
Returns
TypeDescription
GenerateTcpProxyScriptRequest.Builder

parseDelimitedFrom(InputStream input)

public static GenerateTcpProxyScriptRequest parseDelimitedFrom(InputStream input)
Parameter
NameDescription
inputInputStream
Returns
TypeDescription
GenerateTcpProxyScriptRequest
Exceptions
TypeDescription
IOException

parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static GenerateTcpProxyScriptRequest parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
GenerateTcpProxyScriptRequest
Exceptions
TypeDescription
IOException

parseFrom(byte[] data)

public static GenerateTcpProxyScriptRequest parseFrom(byte[] data)
Parameter
NameDescription
databyte[]
Returns
TypeDescription
GenerateTcpProxyScriptRequest
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)

public static GenerateTcpProxyScriptRequest parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
databyte[]
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
GenerateTcpProxyScriptRequest
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(ByteString data)

public static GenerateTcpProxyScriptRequest parseFrom(ByteString data)
Parameter
NameDescription
dataByteString
Returns
TypeDescription
GenerateTcpProxyScriptRequest
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)

public static GenerateTcpProxyScriptRequest parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
dataByteString
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
GenerateTcpProxyScriptRequest
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(CodedInputStream input)

public static GenerateTcpProxyScriptRequest parseFrom(CodedInputStream input)
Parameter
NameDescription
inputCodedInputStream
Returns
TypeDescription
GenerateTcpProxyScriptRequest
Exceptions
TypeDescription
IOException

parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public static GenerateTcpProxyScriptRequest parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputCodedInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
GenerateTcpProxyScriptRequest
Exceptions
TypeDescription
IOException

parseFrom(InputStream input)

public static GenerateTcpProxyScriptRequest parseFrom(InputStream input)
Parameter
NameDescription
inputInputStream
Returns
TypeDescription
GenerateTcpProxyScriptRequest
Exceptions
TypeDescription
IOException

parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static GenerateTcpProxyScriptRequest parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
GenerateTcpProxyScriptRequest
Exceptions
TypeDescription
IOException

parseFrom(ByteBuffer data)

public static GenerateTcpProxyScriptRequest parseFrom(ByteBuffer data)
Parameter
NameDescription
dataByteBuffer
Returns
TypeDescription
GenerateTcpProxyScriptRequest
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)

public static GenerateTcpProxyScriptRequest parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
dataByteBuffer
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
GenerateTcpProxyScriptRequest
Exceptions
TypeDescription
InvalidProtocolBufferException

parser()

public static Parser<GenerateTcpProxyScriptRequest> parser()
Returns
TypeDescription
Parser<GenerateTcpProxyScriptRequest>

Methods

equals(Object obj)

public boolean equals(Object obj)
Parameter
NameDescription
objObject
Returns
TypeDescription
boolean
Overrides

getDefaultInstanceForType()

public GenerateTcpProxyScriptRequest getDefaultInstanceForType()
Returns
TypeDescription
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
TypeDescription
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
TypeDescription
ByteString

The bytes for migrationJob.

getParserForType()

public Parser<GenerateTcpProxyScriptRequest> getParserForType()
Returns
TypeDescription
Parser<GenerateTcpProxyScriptRequest>
Overrides

getSerializedSize()

public int getSerializedSize()
Returns
TypeDescription
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
TypeDescription
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
TypeDescription
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
TypeDescription
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
TypeDescription
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
TypeDescription
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
TypeDescription
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
TypeDescription
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
TypeDescription
ByteString

The bytes for vmZone.

hashCode()

public int hashCode()
Returns
TypeDescription
int
Overrides

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
TypeDescription
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
TypeDescription
boolean
Overrides

newBuilderForType()

public GenerateTcpProxyScriptRequest.Builder newBuilderForType()
Returns
TypeDescription
GenerateTcpProxyScriptRequest.Builder

newBuilderForType(GeneratedMessageV3.BuilderParent parent)

protected GenerateTcpProxyScriptRequest.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Parameter
NameDescription
parentBuilderParent
Returns
TypeDescription
GenerateTcpProxyScriptRequest.Builder
Overrides

newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)

protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Parameter
NameDescription
unusedUnusedPrivateParameter
Returns
TypeDescription
Object
Overrides

toBuilder()

public GenerateTcpProxyScriptRequest.Builder toBuilder()
Returns
TypeDescription
GenerateTcpProxyScriptRequest.Builder

writeTo(CodedOutputStream output)

public void writeTo(CodedOutputStream output)
Parameter
NameDescription
outputCodedOutputStream
Overrides
Exceptions
TypeDescription
IOException