Class StaticIpConnectivity (2.2.0)

public final class StaticIpConnectivity extends GeneratedMessageV3 implements StaticIpConnectivityOrBuilder

The source database will allow incoming connections from the destination database's public IP. You can retrieve the Cloud SQL instance's public IP from the Cloud SQL console or using Cloud SQL APIs. No additional configuration is required.

Protobuf type google.cloud.clouddms.v1.StaticIpConnectivity

Static Methods

getDefaultInstance()

public static StaticIpConnectivity getDefaultInstance()
Returns
TypeDescription
StaticIpConnectivity

getDescriptor()

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

newBuilder()

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

newBuilder(StaticIpConnectivity prototype)

public static StaticIpConnectivity.Builder newBuilder(StaticIpConnectivity prototype)
Parameter
NameDescription
prototypeStaticIpConnectivity
Returns
TypeDescription
StaticIpConnectivity.Builder

parseDelimitedFrom(InputStream input)

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

parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(byte[] data)

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

parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)

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

parseFrom(ByteString data)

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

parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)

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

parseFrom(CodedInputStream input)

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

parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(InputStream input)

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

parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(ByteBuffer data)

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

parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)

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

parser()

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

Methods

equals(Object obj)

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

getDefaultInstanceForType()

public StaticIpConnectivity getDefaultInstanceForType()
Returns
TypeDescription
StaticIpConnectivity

getParserForType()

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

getSerializedSize()

public int getSerializedSize()
Returns
TypeDescription
int
Overrides

getUnknownFields()

public final UnknownFieldSet getUnknownFields()
Returns
TypeDescription
UnknownFieldSet
Overrides

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 StaticIpConnectivity.Builder newBuilderForType()
Returns
TypeDescription
StaticIpConnectivity.Builder

newBuilderForType(GeneratedMessageV3.BuilderParent parent)

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

newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)

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

toBuilder()

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

writeTo(CodedOutputStream output)

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