public final class ReverseSshConnectivity extends GeneratedMessageV3 implements ReverseSshConnectivityOrBuilder
The details needed to configure a reverse SSH tunnel between the source and destination databases. These details will be used when calling the generateSshScript method (see https://cloud.google.com/database-migration/docs/reference/rest/v1/projects.locations.migrationJobs/generateSshScript) to produce the script that will help set up the reverse SSH tunnel, and to set up the VPC peering between the Cloud SQL private network and the VPC.
Protobuf type google.cloud.clouddms.v1.ReverseSshConnectivity
Inheritance
Object > AbstractMessageLite<MessageType,BuilderType> > AbstractMessage > GeneratedMessageV3 > ReverseSshConnectivityImplements
ReverseSshConnectivityOrBuilderStatic Fields
VM_FIELD_NUMBER
public static final int VM_FIELD_NUMBER
Type | Description |
int |
VM_IP_FIELD_NUMBER
public static final int VM_IP_FIELD_NUMBER
Type | Description |
int |
VM_PORT_FIELD_NUMBER
public static final int VM_PORT_FIELD_NUMBER
Type | Description |
int |
VPC_FIELD_NUMBER
public static final int VPC_FIELD_NUMBER
Type | Description |
int |
Static Methods
getDefaultInstance()
public static ReverseSshConnectivity getDefaultInstance()
Type | Description |
ReverseSshConnectivity |
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
Type | Description |
Descriptor |
newBuilder()
public static ReverseSshConnectivity.Builder newBuilder()
Type | Description |
ReverseSshConnectivity.Builder |
newBuilder(ReverseSshConnectivity prototype)
public static ReverseSshConnectivity.Builder newBuilder(ReverseSshConnectivity prototype)
Name | Description |
prototype | ReverseSshConnectivity |
Type | Description |
ReverseSshConnectivity.Builder |
parseDelimitedFrom(InputStream input)
public static ReverseSshConnectivity parseDelimitedFrom(InputStream input)
Name | Description |
input | InputStream |
Type | Description |
ReverseSshConnectivity |
Type | Description |
IOException |
parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
public static ReverseSshConnectivity parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Name | Description |
input | InputStream |
extensionRegistry | ExtensionRegistryLite |
Type | Description |
ReverseSshConnectivity |
Type | Description |
IOException |
parseFrom(byte[] data)
public static ReverseSshConnectivity parseFrom(byte[] data)
Name | Description |
data | byte[] |
Type | Description |
ReverseSshConnectivity |
Type | Description |
InvalidProtocolBufferException |
parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
public static ReverseSshConnectivity parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
Name | Description |
data | byte[] |
extensionRegistry | ExtensionRegistryLite |
Type | Description |
ReverseSshConnectivity |
Type | Description |
InvalidProtocolBufferException |
parseFrom(ByteString data)
public static ReverseSshConnectivity parseFrom(ByteString data)
Name | Description |
data | ByteString |
Type | Description |
ReverseSshConnectivity |
Type | Description |
InvalidProtocolBufferException |
parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
public static ReverseSshConnectivity parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
Name | Description |
data | ByteString |
extensionRegistry | ExtensionRegistryLite |
Type | Description |
ReverseSshConnectivity |
Type | Description |
InvalidProtocolBufferException |
parseFrom(CodedInputStream input)
public static ReverseSshConnectivity parseFrom(CodedInputStream input)
Name | Description |
input | CodedInputStream |
Type | Description |
ReverseSshConnectivity |
Type | Description |
IOException |
parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public static ReverseSshConnectivity parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Name | Description |
input | CodedInputStream |
extensionRegistry | ExtensionRegistryLite |
Type | Description |
ReverseSshConnectivity |
Type | Description |
IOException |
parseFrom(InputStream input)
public static ReverseSshConnectivity parseFrom(InputStream input)
Name | Description |
input | InputStream |
Type | Description |
ReverseSshConnectivity |
Type | Description |
IOException |
parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
public static ReverseSshConnectivity parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Name | Description |
input | InputStream |
extensionRegistry | ExtensionRegistryLite |
Type | Description |
ReverseSshConnectivity |
Type | Description |
IOException |
parseFrom(ByteBuffer data)
public static ReverseSshConnectivity parseFrom(ByteBuffer data)
Name | Description |
data | ByteBuffer |
Type | Description |
ReverseSshConnectivity |
Type | Description |
InvalidProtocolBufferException |
parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
public static ReverseSshConnectivity parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
Name | Description |
data | ByteBuffer |
extensionRegistry | ExtensionRegistryLite |
Type | Description |
ReverseSshConnectivity |
Type | Description |
InvalidProtocolBufferException |
parser()
public static Parser<ReverseSshConnectivity> parser()
Type | Description |
Parser<ReverseSshConnectivity> |
Methods
equals(Object obj)
public boolean equals(Object obj)
Name | Description |
obj | Object |
Type | Description |
boolean |
getDefaultInstanceForType()
public ReverseSshConnectivity getDefaultInstanceForType()
Type | Description |
ReverseSshConnectivity |
getParserForType()
public Parser<ReverseSshConnectivity> getParserForType()
Type | Description |
Parser<ReverseSshConnectivity> |
getSerializedSize()
public int getSerializedSize()
Type | Description |
int |
getUnknownFields()
public final UnknownFieldSet getUnknownFields()
Type | Description |
UnknownFieldSet |
getVm()
public String getVm()
The name of the virtual machine (Compute Engine) used as the bastion server for the SSH tunnel.
string vm = 3;
Type | Description |
String | The vm. |
getVmBytes()
public ByteString getVmBytes()
The name of the virtual machine (Compute Engine) used as the bastion server for the SSH tunnel.
string vm = 3;
Type | Description |
ByteString | The bytes for vm. |
getVmIp()
public String getVmIp()
Required. The IP of the virtual machine (Compute Engine) used as the bastion server for the SSH tunnel.
string vm_ip = 1 [(.google.api.field_behavior) = REQUIRED];
Type | Description |
String | The vmIp. |
getVmIpBytes()
public ByteString getVmIpBytes()
Required. The IP of the virtual machine (Compute Engine) used as the bastion server for the SSH tunnel.
string vm_ip = 1 [(.google.api.field_behavior) = REQUIRED];
Type | Description |
ByteString | The bytes for vmIp. |
getVmPort()
public int getVmPort()
Required. The forwarding port of the virtual machine (Compute Engine) used as the bastion server for the SSH tunnel.
int32 vm_port = 2 [(.google.api.field_behavior) = REQUIRED];
Type | Description |
int | The vmPort. |
getVpc()
public String getVpc()
The name of the VPC to peer with the Cloud SQL private network.
string vpc = 4;
Type | Description |
String | The vpc. |
getVpcBytes()
public ByteString getVpcBytes()
The name of the VPC to peer with the Cloud SQL private network.
string vpc = 4;
Type | Description |
ByteString | The bytes for vpc. |
hashCode()
public int hashCode()
Type | Description |
int |
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Type | Description |
FieldAccessorTable |
isInitialized()
public final boolean isInitialized()
Type | Description |
boolean |
newBuilderForType()
public ReverseSshConnectivity.Builder newBuilderForType()
Type | Description |
ReverseSshConnectivity.Builder |
newBuilderForType(GeneratedMessageV3.BuilderParent parent)
protected ReverseSshConnectivity.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Name | Description |
parent | BuilderParent |
Type | Description |
ReverseSshConnectivity.Builder |
newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Name | Description |
unused | UnusedPrivateParameter |
Type | Description |
Object |
toBuilder()
public ReverseSshConnectivity.Builder toBuilder()
Type | Description |
ReverseSshConnectivity.Builder |
writeTo(CodedOutputStream output)
public void writeTo(CodedOutputStream output)
Name | Description |
output | CodedOutputStream |
Type | Description |
IOException |