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
ENABLE_IPV4_FIELD_NUMBER
public static final int ENABLE_IPV4_FIELD_NUMBER
Field Value
PRIVATE_NETWORK_FIELD_NUMBER
public static final int PRIVATE_NETWORK_FIELD_NUMBER
Field Value
REQUIRE_SSL_FIELD_NUMBER
public static final int REQUIRE_SSL_FIELD_NUMBER
Field Value
Static Methods
getDefaultInstance()
public static SqlIpConfig getDefaultInstance()
Returns
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
Returns
newBuilder()
public static SqlIpConfig.Builder newBuilder()
Returns
newBuilder(SqlIpConfig prototype)
public static SqlIpConfig.Builder newBuilder(SqlIpConfig prototype)
Parameter
Returns
public static SqlIpConfig parseDelimitedFrom(InputStream input)
Parameter
Returns
Exceptions
public static SqlIpConfig parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
parseFrom(byte[] data)
public static SqlIpConfig parseFrom(byte[] data)
Parameter
Name | Description |
data | byte[]
|
Returns
Exceptions
parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
public static SqlIpConfig parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
parseFrom(ByteString data)
public static SqlIpConfig parseFrom(ByteString data)
Parameter
Returns
Exceptions
parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
public static SqlIpConfig parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
public static SqlIpConfig parseFrom(CodedInputStream input)
Parameter
Returns
Exceptions
public static SqlIpConfig parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
public static SqlIpConfig parseFrom(InputStream input)
Parameter
Returns
Exceptions
public static SqlIpConfig parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
parseFrom(ByteBuffer data)
public static SqlIpConfig parseFrom(ByteBuffer data)
Parameter
Returns
Exceptions
parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
public static SqlIpConfig parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
parser()
public static Parser<SqlIpConfig> parser()
Returns
Methods
equals(Object obj)
public boolean equals(Object obj)
Parameter
Returns
Overrides
getAuthorizedNetworks(int index)
public SqlAclEntry getAuthorizedNetworks(int index)
Parameter
Returns
getAuthorizedNetworksCount()
public int getAuthorizedNetworksCount()
Returns
getAuthorizedNetworksList()
public List<SqlAclEntry> getAuthorizedNetworksList()
Returns
getAuthorizedNetworksOrBuilder(int index)
public SqlAclEntryOrBuilder getAuthorizedNetworksOrBuilder(int index)
Parameter
Returns
getAuthorizedNetworksOrBuilderList()
public List<? extends SqlAclEntryOrBuilder> getAuthorizedNetworksOrBuilderList()
Returns
Type | Description |
List<? extends com.google.cloud.clouddms.v1.SqlAclEntryOrBuilder> | |
getDefaultInstanceForType()
public SqlIpConfig getDefaultInstanceForType()
Returns
getEnableIpv4()
public BoolValue getEnableIpv4()
Whether the instance should be assigned an IPv4 address or not.
.google.protobuf.BoolValue enable_ipv4 = 1;
Returns
getEnableIpv4OrBuilder()
public BoolValueOrBuilder getEnableIpv4OrBuilder()
Whether the instance should be assigned an IPv4 address or not.
.google.protobuf.BoolValue enable_ipv4 = 1;
Returns
getParserForType()
public Parser<SqlIpConfig> getParserForType()
Returns
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
getRequireSslOrBuilder()
public BoolValueOrBuilder getRequireSslOrBuilder()
Whether SSL connections over IP should be enforced or not.
.google.protobuf.BoolValue require_ssl = 3;
Returns
getSerializedSize()
public int getSerializedSize()
Returns
Overrides
getUnknownFields()
public final UnknownFieldSet getUnknownFields()
Returns
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
Overrides
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
Overrides
isInitialized()
public final boolean isInitialized()
Returns
Overrides
newBuilderForType()
public SqlIpConfig.Builder newBuilderForType()
Returns
newBuilderForType(GeneratedMessageV3.BuilderParent parent)
protected SqlIpConfig.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Parameter
Returns
Overrides
newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Parameter
Returns
Overrides
toBuilder()
public SqlIpConfig.Builder toBuilder()
Returns
writeTo(CodedOutputStream output)
public void writeTo(CodedOutputStream output)
Parameter
Overrides
Exceptions