Interface SqlIpConfigOrBuilder (2.21.0)

public interface SqlIpConfigOrBuilder extends MessageOrBuilder

Implements

MessageOrBuilder

Methods

getAllocatedIpRange()

public abstract 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
TypeDescription
String

The allocatedIpRange.

getAllocatedIpRangeBytes()

public abstract 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
TypeDescription
ByteString

The bytes for allocatedIpRange.

getAuthorizedNetworks(int index)

public abstract 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 abstract 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 abstract 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 abstract 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 abstract 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>

getEnableIpv4()

public abstract 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 abstract BoolValueOrBuilder getEnableIpv4OrBuilder()

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

.google.protobuf.BoolValue enable_ipv4 = 1;

Returns
TypeDescription
BoolValueOrBuilder

getPrivateNetwork()

public abstract 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 abstract 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 abstract 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 abstract BoolValueOrBuilder getRequireSslOrBuilder()

Whether SSL connections over IP should be enforced or not.

.google.protobuf.BoolValue require_ssl = 3;

Returns
TypeDescription
BoolValueOrBuilder

hasEnableIpv4()

public abstract 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 abstract 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.