public final class GenerateTcpProxyScriptRequest extends GeneratedMessageV3 implements GenerateTcpProxyScriptRequestOrBuilder
Request message for 'GenerateTcpProxyScript' request.
Protobuf type google.cloud.clouddms.v1.GenerateTcpProxyScriptRequest
Inherited Members
com.google.protobuf.GeneratedMessageV3.<ListT>makeMutableCopy(ListT)
com.google.protobuf.GeneratedMessageV3.<ListT>makeMutableCopy(ListT,int)
com.google.protobuf.GeneratedMessageV3.<T>emptyList(java.lang.Class<T>)
com.google.protobuf.GeneratedMessageV3.internalGetMapFieldReflection(int)
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()
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
newBuilder()
public static GenerateTcpProxyScriptRequest.Builder newBuilder()
newBuilder(GenerateTcpProxyScriptRequest prototype)
public static GenerateTcpProxyScriptRequest.Builder newBuilder(GenerateTcpProxyScriptRequest prototype)
public static GenerateTcpProxyScriptRequest parseDelimitedFrom(InputStream input)
public static GenerateTcpProxyScriptRequest parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
parseFrom(byte[] data)
public static GenerateTcpProxyScriptRequest parseFrom(byte[] data)
Parameter |
Name |
Description |
data |
byte[]
|
parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
public static GenerateTcpProxyScriptRequest parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
parseFrom(ByteString data)
public static GenerateTcpProxyScriptRequest parseFrom(ByteString data)
parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
public static GenerateTcpProxyScriptRequest parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
public static GenerateTcpProxyScriptRequest parseFrom(CodedInputStream input)
public static GenerateTcpProxyScriptRequest parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public static GenerateTcpProxyScriptRequest parseFrom(InputStream input)
public static GenerateTcpProxyScriptRequest parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
parseFrom(ByteBuffer data)
public static GenerateTcpProxyScriptRequest parseFrom(ByteBuffer data)
parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
public static GenerateTcpProxyScriptRequest parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
parser()
public static Parser<GenerateTcpProxyScriptRequest> parser()
Methods
equals(Object obj)
public boolean equals(Object obj)
Parameter |
Name |
Description |
obj |
Object
|
Overrides
getDefaultInstanceForType()
public GenerateTcpProxyScriptRequest getDefaultInstanceForType()
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()
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()
Returns |
Type |
Description |
int |
|
Overrides
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Overrides
isInitialized()
public final boolean isInitialized()
Overrides
newBuilderForType()
public GenerateTcpProxyScriptRequest.Builder newBuilderForType()
newBuilderForType(GeneratedMessageV3.BuilderParent parent)
protected GenerateTcpProxyScriptRequest.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Overrides
newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Returns |
Type |
Description |
Object |
|
Overrides
toBuilder()
public GenerateTcpProxyScriptRequest.Builder toBuilder()
writeTo(CodedOutputStream output)
public void writeTo(CodedOutputStream output)
Overrides