Class SqlIpConfig (2.53.0)

public final class SqlIpConfig extends GeneratedMessageV3 implements SqlIpConfigOrBuilder

IP Management configuration.

Protobuf type google.cloud.clouddms.v1.SqlIpConfig

Static Fields

ALLOCATED_IP_RANGE_FIELD_NUMBER

public static final int ALLOCATED_IP_RANGE_FIELD_NUMBER
Field Value
Type Description
int

AUTHORIZED_NETWORKS_FIELD_NUMBER

public static final int AUTHORIZED_NETWORKS_FIELD_NUMBER
Field Value
Type Description
int

ENABLE_IPV4_FIELD_NUMBER

public static final int ENABLE_IPV4_FIELD_NUMBER
Field Value
Type Description
int

PRIVATE_NETWORK_FIELD_NUMBER

public static final int PRIVATE_NETWORK_FIELD_NUMBER
Field Value
Type Description
int

REQUIRE_SSL_FIELD_NUMBER

public static final int REQUIRE_SSL_FIELD_NUMBER
Field Value
Type Description
int

Static Methods

getDefaultInstance()

public static SqlIpConfig getDefaultInstance()
Returns
Type Description
SqlIpConfig

getDescriptor()

public static final Descriptors.Descriptor getDescriptor()
Returns
Type Description
Descriptor

newBuilder()

public static SqlIpConfig.Builder newBuilder()
Returns
Type Description
SqlIpConfig.Builder

newBuilder(SqlIpConfig prototype)

public static SqlIpConfig.Builder newBuilder(SqlIpConfig prototype)
Parameter
Name Description
prototype SqlIpConfig
Returns
Type Description
SqlIpConfig.Builder

parseDelimitedFrom(InputStream input)

public static SqlIpConfig parseDelimitedFrom(InputStream input)
Parameter
Name Description
input InputStream
Returns
Type Description
SqlIpConfig
Exceptions
Type Description
IOException

parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static SqlIpConfig parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input InputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
SqlIpConfig
Exceptions
Type Description
IOException

parseFrom(byte[] data)

public static SqlIpConfig parseFrom(byte[] data)
Parameter
Name Description
data byte[]
Returns
Type Description
SqlIpConfig
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)

public static SqlIpConfig parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
data byte[]
extensionRegistry ExtensionRegistryLite
Returns
Type Description
SqlIpConfig
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteString data)

public static SqlIpConfig parseFrom(ByteString data)
Parameter
Name Description
data ByteString
Returns
Type Description
SqlIpConfig
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)

public static SqlIpConfig parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
data ByteString
extensionRegistry ExtensionRegistryLite
Returns
Type Description
SqlIpConfig
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(CodedInputStream input)

public static SqlIpConfig parseFrom(CodedInputStream input)
Parameter
Name Description
input CodedInputStream
Returns
Type Description
SqlIpConfig
Exceptions
Type Description
IOException

parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public static SqlIpConfig parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input CodedInputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
SqlIpConfig
Exceptions
Type Description
IOException

parseFrom(InputStream input)

public static SqlIpConfig parseFrom(InputStream input)
Parameter
Name Description
input InputStream
Returns
Type Description
SqlIpConfig
Exceptions
Type Description
IOException

parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static SqlIpConfig parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input InputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
SqlIpConfig
Exceptions
Type Description
IOException

parseFrom(ByteBuffer data)

public static SqlIpConfig parseFrom(ByteBuffer data)
Parameter
Name Description
data ByteBuffer
Returns
Type Description
SqlIpConfig
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)

public static SqlIpConfig parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
data ByteBuffer
extensionRegistry ExtensionRegistryLite
Returns
Type Description
SqlIpConfig
Exceptions
Type Description
InvalidProtocolBufferException

parser()

public static Parser<SqlIpConfig> parser()
Returns
Type Description
Parser<SqlIpConfig>

Methods

equals(Object obj)

public boolean equals(Object obj)
Parameter
Name Description
obj Object
Returns
Type Description
boolean
Overrides

getAllocatedIpRange()

public String getAllocatedIpRange()

Optional. The name of the allocated IP address range for the private IP Cloud SQL instance. This name refers to an already allocated IP range address. If set, the instance IP address will be created in the allocated range. Note that this IP address range can't be modified after the instance is created. If you change the VPC when configuring connectivity settings for the migration job, this field is not relevant.

string allocated_ip_range = 5 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
String

The allocatedIpRange.

getAllocatedIpRangeBytes()

public ByteString getAllocatedIpRangeBytes()

Optional. The name of the allocated IP address range for the private IP Cloud SQL instance. This name refers to an already allocated IP range address. If set, the instance IP address will be created in the allocated range. Note that this IP address range can't be modified after the instance is created. If you change the VPC when configuring connectivity settings for the migration job, this field is not relevant.

string allocated_ip_range = 5 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
ByteString

The bytes for allocatedIpRange.

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
Name Description
index int
Returns
Type Description
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
Type Description
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
Type Description
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
Name Description
index int
Returns
Type Description
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
Type Description
List<? extends com.google.cloud.clouddms.v1.SqlAclEntryOrBuilder>

getDefaultInstanceForType()

public SqlIpConfig getDefaultInstanceForType()
Returns
Type Description
SqlIpConfig

getEnableIpv4()

public BoolValue getEnableIpv4()

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

.google.protobuf.BoolValue enable_ipv4 = 1;

Returns
Type Description
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
Type Description
BoolValueOrBuilder

getParserForType()

public Parser<SqlIpConfig> getParserForType()
Returns
Type Description
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
Type Description
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
Type Description
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
Type Description
BoolValue

The requireSsl.

getRequireSslOrBuilder()

public BoolValueOrBuilder getRequireSslOrBuilder()

Whether SSL connections over IP should be enforced or not.

.google.protobuf.BoolValue require_ssl = 3;

Returns
Type Description
BoolValueOrBuilder

getSerializedSize()

public int getSerializedSize()
Returns
Type Description
int
Overrides

hasEnableIpv4()

public boolean hasEnableIpv4()

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

.google.protobuf.BoolValue enable_ipv4 = 1;

Returns
Type Description
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
Type Description
boolean

Whether the requireSsl field is set.

hashCode()

public int hashCode()
Returns
Type Description
int
Overrides

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
Type Description
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

newBuilderForType()

public SqlIpConfig.Builder newBuilderForType()
Returns
Type Description
SqlIpConfig.Builder

newBuilderForType(GeneratedMessageV3.BuilderParent parent)

protected SqlIpConfig.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Parameter
Name Description
parent BuilderParent
Returns
Type Description
SqlIpConfig.Builder
Overrides

newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)

protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Parameter
Name Description
unused UnusedPrivateParameter
Returns
Type Description
Object
Overrides

toBuilder()

public SqlIpConfig.Builder toBuilder()
Returns
Type Description
SqlIpConfig.Builder

writeTo(CodedOutputStream output)

public void writeTo(CodedOutputStream output)
Parameter
Name Description
output CodedOutputStream
Overrides
Exceptions
Type Description
IOException