Class SqlIpConfig (2.1.9)

public final class SqlIpConfig extends GeneratedMessageV3 implements SqlIpConfigOrBuilder

IP Management configuration.

Protobuf type google.cloud.clouddms.v1.SqlIpConfig

Static Fields

AUTHORIZED_NETWORKS_FIELD_NUMBER

public static final int AUTHORIZED_NETWORKS_FIELD_NUMBER
Field Value
TypeDescription
int

ENABLE_IPV4_FIELD_NUMBER

public static final int ENABLE_IPV4_FIELD_NUMBER
Field Value
TypeDescription
int

PRIVATE_NETWORK_FIELD_NUMBER

public static final int PRIVATE_NETWORK_FIELD_NUMBER
Field Value
TypeDescription
int

REQUIRE_SSL_FIELD_NUMBER

public static final int REQUIRE_SSL_FIELD_NUMBER
Field Value
TypeDescription
int

Static Methods

getDefaultInstance()

public static SqlIpConfig getDefaultInstance()
Returns
TypeDescription
SqlIpConfig

getDescriptor()

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

newBuilder()

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

newBuilder(SqlIpConfig prototype)

public static SqlIpConfig.Builder newBuilder(SqlIpConfig prototype)
Parameter
NameDescription
prototypeSqlIpConfig
Returns
TypeDescription
SqlIpConfig.Builder

parseDelimitedFrom(InputStream input)

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

parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(byte[] data)

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

parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)

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

parseFrom(ByteString data)

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

parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)

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

parseFrom(CodedInputStream input)

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

parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(InputStream input)

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

parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(ByteBuffer data)

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

parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)

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

parser()

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

Methods

equals(Object obj)

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

getAuthorizedNetworks(int index)

public SqlAclEntry getAuthorizedNetworks(int index)

The list of external networks that are allowed to connect to the instance using the IP. See https://en.wikipedia.org/wiki/CIDR_notation#CIDR_notation, also known as 'slash' notation (e.g. 192.168.100.0/24).

repeated .google.cloud.clouddms.v1.SqlAclEntry authorized_networks = 4;

Parameter
NameDescription
indexint
Returns
TypeDescription
SqlAclEntry

getAuthorizedNetworksCount()

public int getAuthorizedNetworksCount()

The list of external networks that are allowed to connect to the instance using the IP. See https://en.wikipedia.org/wiki/CIDR_notation#CIDR_notation, also known as 'slash' notation (e.g. 192.168.100.0/24).

repeated .google.cloud.clouddms.v1.SqlAclEntry authorized_networks = 4;

Returns
TypeDescription
int

getAuthorizedNetworksList()

public List<SqlAclEntry> getAuthorizedNetworksList()

The list of external networks that are allowed to connect to the instance using the IP. See https://en.wikipedia.org/wiki/CIDR_notation#CIDR_notation, also known as 'slash' notation (e.g. 192.168.100.0/24).

repeated .google.cloud.clouddms.v1.SqlAclEntry authorized_networks = 4;

Returns
TypeDescription
List<SqlAclEntry>

getAuthorizedNetworksOrBuilder(int index)

public SqlAclEntryOrBuilder getAuthorizedNetworksOrBuilder(int index)

The list of external networks that are allowed to connect to the instance using the IP. See https://en.wikipedia.org/wiki/CIDR_notation#CIDR_notation, also known as 'slash' notation (e.g. 192.168.100.0/24).

repeated .google.cloud.clouddms.v1.SqlAclEntry authorized_networks = 4;

Parameter
NameDescription
indexint
Returns
TypeDescription
SqlAclEntryOrBuilder

getAuthorizedNetworksOrBuilderList()

public List<? extends SqlAclEntryOrBuilder> getAuthorizedNetworksOrBuilderList()

The list of external networks that are allowed to connect to the instance using the IP. See https://en.wikipedia.org/wiki/CIDR_notation#CIDR_notation, also known as 'slash' notation (e.g. 192.168.100.0/24).

repeated .google.cloud.clouddms.v1.SqlAclEntry authorized_networks = 4;

Returns
TypeDescription
List<? extends com.google.cloud.clouddms.v1.SqlAclEntryOrBuilder>

getDefaultInstanceForType()

public SqlIpConfig getDefaultInstanceForType()
Returns
TypeDescription
SqlIpConfig

getEnableIpv4()

public BoolValue getEnableIpv4()

Whether the instance should be assigned an IPv4 address or not.

.google.protobuf.BoolValue enable_ipv4 = 1;

Returns
TypeDescription
BoolValue

The enableIpv4.

getEnableIpv4OrBuilder()

public BoolValueOrBuilder getEnableIpv4OrBuilder()

Whether the instance should be assigned an IPv4 address or not.

.google.protobuf.BoolValue enable_ipv4 = 1;

Returns
TypeDescription
BoolValueOrBuilder

getParserForType()

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

getPrivateNetwork()

public String getPrivateNetwork()

The resource link for the VPC network from which the Cloud SQL instance is accessible for private IP. For example, projects/myProject/global/networks/default. This setting can be updated, but it cannot be removed after it is set.

string private_network = 2;

Returns
TypeDescription
String

The privateNetwork.

getPrivateNetworkBytes()

public ByteString getPrivateNetworkBytes()

The resource link for the VPC network from which the Cloud SQL instance is accessible for private IP. For example, projects/myProject/global/networks/default. This setting can be updated, but it cannot be removed after it is set.

string private_network = 2;

Returns
TypeDescription
ByteString

The bytes for privateNetwork.

getRequireSsl()

public BoolValue getRequireSsl()

Whether SSL connections over IP should be enforced or not.

.google.protobuf.BoolValue require_ssl = 3;

Returns
TypeDescription
BoolValue

The requireSsl.

getRequireSslOrBuilder()

public BoolValueOrBuilder getRequireSslOrBuilder()

Whether SSL connections over IP should be enforced or not.

.google.protobuf.BoolValue require_ssl = 3;

Returns
TypeDescription
BoolValueOrBuilder

getSerializedSize()

public int getSerializedSize()
Returns
TypeDescription
int
Overrides

getUnknownFields()

public final UnknownFieldSet getUnknownFields()
Returns
TypeDescription
UnknownFieldSet
Overrides

hasEnableIpv4()

public boolean hasEnableIpv4()

Whether the instance should be assigned an IPv4 address or not.

.google.protobuf.BoolValue enable_ipv4 = 1;

Returns
TypeDescription
boolean

Whether the enableIpv4 field is set.

hasRequireSsl()

public boolean hasRequireSsl()

Whether SSL connections over IP should be enforced or not.

.google.protobuf.BoolValue require_ssl = 3;

Returns
TypeDescription
boolean

Whether the requireSsl field is set.

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

newBuilderForType(GeneratedMessageV3.BuilderParent parent)

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

newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)

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

toBuilder()

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

writeTo(CodedOutputStream output)

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