public final class SqlIpConfig extends GeneratedMessageV3 implements SqlIpConfigOrBuilder
IP Management configuration.
Protobuf type google.events.cloud.clouddms.v1.SqlIpConfig
Inherited Members
com.google.protobuf.GeneratedMessageV3.<ListT>makeMutableCopy(ListT)
com.google.protobuf.GeneratedMessageV3.<ListT>makeMutableCopy(ListT,int)
com.google.protobuf.GeneratedMessageV3.<T>emptyList(java.lang.Class<T>)
com.google.protobuf.GeneratedMessageV3.internalGetMapFieldReflection(int)
Static Fields
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()
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
newBuilder()
public static SqlIpConfig.Builder newBuilder()
newBuilder(SqlIpConfig prototype)
public static SqlIpConfig.Builder newBuilder(SqlIpConfig prototype)
public static SqlIpConfig parseDelimitedFrom(InputStream input)
public static SqlIpConfig parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
parseFrom(byte[] data)
public static SqlIpConfig parseFrom(byte[] data)
Parameter |
---|
Name | Description |
data | byte[]
|
parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
public static SqlIpConfig parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
parseFrom(ByteString data)
public static SqlIpConfig parseFrom(ByteString data)
parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
public static SqlIpConfig parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
public static SqlIpConfig parseFrom(CodedInputStream input)
public static SqlIpConfig parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public static SqlIpConfig parseFrom(InputStream input)
public static SqlIpConfig parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
parseFrom(ByteBuffer data)
public static SqlIpConfig parseFrom(ByteBuffer data)
parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
public static SqlIpConfig parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
parser()
public static Parser<SqlIpConfig> parser()
Methods
equals(Object obj)
public boolean equals(Object obj)
Parameter |
---|
Name | Description |
obj | Object
|
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.events.cloud.clouddms.v1.SqlAclEntry authorized_networks = 4;
Parameter |
---|
Name | Description |
index | int
|
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.events.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.events.cloud.clouddms.v1.SqlAclEntry authorized_networks = 4;
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.events.cloud.clouddms.v1.SqlAclEntry authorized_networks = 4;
Parameter |
---|
Name | Description |
index | int
|
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.events.cloud.clouddms.v1.SqlAclEntry authorized_networks = 4;
Returns |
---|
Type | Description |
List<? extends com.google.events.cloud.clouddms.v1.SqlAclEntryOrBuilder> | |
getDefaultInstanceForType()
public SqlIpConfig getDefaultInstanceForType()
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;
getParserForType()
public Parser<SqlIpConfig> getParserForType()
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;
getSerializedSize()
public int getSerializedSize()
Returns |
---|
Type | Description |
int | |
Overrides
getUnknownFields()
public final UnknownFieldSet getUnknownFields()
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()
Returns |
---|
Type | Description |
int | |
Overrides
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Overrides
isInitialized()
public final boolean isInitialized()
Overrides
newBuilderForType()
public SqlIpConfig.Builder newBuilderForType()
newBuilderForType(GeneratedMessageV3.BuilderParent parent)
protected SqlIpConfig.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Overrides
newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Overrides
toBuilder()
public SqlIpConfig.Builder toBuilder()
writeTo(CodedOutputStream output)
public void writeTo(CodedOutputStream output)
Overrides