public final class SqlIpConfig extends com.google.protobuf.GeneratedMessageV3 implements SqlIpConfigOrBuilder
IP Management configuration.Protobuf type
google.cloud.clouddms.v1.SqlIpConfig| Modifier and Type | Class and Description |
|---|---|
static class |
SqlIpConfig.Builder
IP Management configuration.
|
com.google.protobuf.GeneratedMessageV3.BuilderParent, com.google.protobuf.GeneratedMessageV3.ExtendableBuilder<MessageT extends com.google.protobuf.GeneratedMessageV3.ExtendableMessage<MessageT>,BuilderT extends com.google.protobuf.GeneratedMessageV3.ExtendableBuilder<MessageT,BuilderT>>, com.google.protobuf.GeneratedMessageV3.ExtendableMessage<MessageT extends com.google.protobuf.GeneratedMessageV3.ExtendableMessage<MessageT>>, com.google.protobuf.GeneratedMessageV3.ExtendableMessageOrBuilder<MessageT extends com.google.protobuf.GeneratedMessageV3.ExtendableMessage<MessageT>>, com.google.protobuf.GeneratedMessageV3.FieldAccessorTable, com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter| Modifier and Type | Field and Description |
|---|---|
static int |
ALLOCATED_IP_RANGE_FIELD_NUMBER |
static int |
AUTHORIZED_NETWORKS_FIELD_NUMBER |
static int |
ENABLE_IPV4_FIELD_NUMBER |
static int |
PRIVATE_NETWORK_FIELD_NUMBER |
static int |
REQUIRE_SSL_FIELD_NUMBER |
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(Object obj) |
String |
getAllocatedIpRange()
Optional.
|
com.google.protobuf.ByteString |
getAllocatedIpRangeBytes()
Optional.
|
SqlAclEntry |
getAuthorizedNetworks(int index)
The list of external networks that are allowed to connect to the instance
using the IP.
|
int |
getAuthorizedNetworksCount()
The list of external networks that are allowed to connect to the instance
using the IP.
|
List<SqlAclEntry> |
getAuthorizedNetworksList()
The list of external networks that are allowed to connect to the instance
using the IP.
|
SqlAclEntryOrBuilder |
getAuthorizedNetworksOrBuilder(int index)
The list of external networks that are allowed to connect to the instance
using the IP.
|
List<? extends SqlAclEntryOrBuilder> |
getAuthorizedNetworksOrBuilderList()
The list of external networks that are allowed to connect to the instance
using the IP.
|
static SqlIpConfig |
getDefaultInstance() |
SqlIpConfig |
getDefaultInstanceForType() |
static com.google.protobuf.Descriptors.Descriptor |
getDescriptor() |
com.google.protobuf.BoolValue |
getEnableIpv4()
Whether the instance should be assigned an IPv4 address or not.
|
com.google.protobuf.BoolValueOrBuilder |
getEnableIpv4OrBuilder()
Whether the instance should be assigned an IPv4 address or not.
|
com.google.protobuf.Parser<SqlIpConfig> |
getParserForType() |
String |
getPrivateNetwork()
The resource link for the VPC network from which the Cloud SQL instance is
accessible for private IP.
|
com.google.protobuf.ByteString |
getPrivateNetworkBytes()
The resource link for the VPC network from which the Cloud SQL instance is
accessible for private IP.
|
com.google.protobuf.BoolValue |
getRequireSsl()
Whether SSL connections over IP should be enforced or not.
|
com.google.protobuf.BoolValueOrBuilder |
getRequireSslOrBuilder()
Whether SSL connections over IP should be enforced or not.
|
int |
getSerializedSize() |
boolean |
hasEnableIpv4()
Whether the instance should be assigned an IPv4 address or not.
|
int |
hashCode() |
boolean |
hasRequireSsl()
Whether SSL connections over IP should be enforced or not.
|
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable |
internalGetFieldAccessorTable() |
boolean |
isInitialized() |
static SqlIpConfig.Builder |
newBuilder() |
static SqlIpConfig.Builder |
newBuilder(SqlIpConfig prototype) |
SqlIpConfig.Builder |
newBuilderForType() |
protected SqlIpConfig.Builder |
newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) |
protected Object |
newInstance(com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter unused) |
static SqlIpConfig |
parseDelimitedFrom(InputStream input) |
static SqlIpConfig |
parseDelimitedFrom(InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static SqlIpConfig |
parseFrom(byte[] data) |
static SqlIpConfig |
parseFrom(byte[] data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static SqlIpConfig |
parseFrom(ByteBuffer data) |
static SqlIpConfig |
parseFrom(ByteBuffer data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static SqlIpConfig |
parseFrom(com.google.protobuf.ByteString data) |
static SqlIpConfig |
parseFrom(com.google.protobuf.ByteString data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static SqlIpConfig |
parseFrom(com.google.protobuf.CodedInputStream input) |
static SqlIpConfig |
parseFrom(com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static SqlIpConfig |
parseFrom(InputStream input) |
static SqlIpConfig |
parseFrom(InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static com.google.protobuf.Parser<SqlIpConfig> |
parser() |
SqlIpConfig.Builder |
toBuilder() |
void |
writeTo(com.google.protobuf.CodedOutputStream output) |
canUseUnsafe, computeStringSize, computeStringSizeNoTag, emptyBooleanList, emptyDoubleList, emptyFloatList, emptyIntList, emptyList, emptyLongList, getAllFields, getDescriptorForType, getField, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof, internalGetMapField, internalGetMapFieldReflection, isStringEmpty, makeExtensionsImmutable, makeMutableCopy, makeMutableCopy, mergeFromAndMakeImmutableInternal, mutableCopy, mutableCopy, mutableCopy, mutableCopy, mutableCopy, newBooleanList, newBuilderForType, newDoubleList, newFloatList, newIntList, newLongList, parseDelimitedWithIOException, parseDelimitedWithIOException, parseUnknownField, parseUnknownFieldProto3, parseWithIOException, parseWithIOException, parseWithIOException, parseWithIOException, serializeBooleanMapTo, serializeIntegerMapTo, serializeLongMapTo, serializeStringMapTo, writeReplace, writeString, writeStringNoTagfindInitializationErrors, getInitializationErrorString, hashBoolean, hashEnum, hashEnumList, hashFields, hashLong, toStringaddAll, addAll, checkByteStringIsUtf8, toByteArray, toByteString, writeDelimitedTo, writeToclone, finalize, getClass, notify, notifyAll, wait, wait, waitpublic static final int ENABLE_IPV4_FIELD_NUMBER
public static final int PRIVATE_NETWORK_FIELD_NUMBER
public static final int ALLOCATED_IP_RANGE_FIELD_NUMBER
public static final int REQUIRE_SSL_FIELD_NUMBER
public static final int AUTHORIZED_NETWORKS_FIELD_NUMBER
protected Object newInstance(com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter unused)
newInstance in class com.google.protobuf.GeneratedMessageV3public static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
internalGetFieldAccessorTable in class com.google.protobuf.GeneratedMessageV3public boolean hasEnableIpv4()
Whether the instance should be assigned an IPv4 address or not.
.google.protobuf.BoolValue enable_ipv4 = 1;hasEnableIpv4 in interface SqlIpConfigOrBuilderpublic com.google.protobuf.BoolValue getEnableIpv4()
Whether the instance should be assigned an IPv4 address or not.
.google.protobuf.BoolValue enable_ipv4 = 1;getEnableIpv4 in interface SqlIpConfigOrBuilderpublic com.google.protobuf.BoolValueOrBuilder getEnableIpv4OrBuilder()
Whether the instance should be assigned an IPv4 address or not.
.google.protobuf.BoolValue enable_ipv4 = 1;getEnableIpv4OrBuilder in interface SqlIpConfigOrBuilderpublic 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;getPrivateNetwork in interface SqlIpConfigOrBuilderpublic com.google.protobuf.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;getPrivateNetworkBytes in interface SqlIpConfigOrBuilderpublic 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];getAllocatedIpRange in interface SqlIpConfigOrBuilderpublic com.google.protobuf.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];getAllocatedIpRangeBytes in interface SqlIpConfigOrBuilderpublic boolean hasRequireSsl()
Whether SSL connections over IP should be enforced or not.
.google.protobuf.BoolValue require_ssl = 3;hasRequireSsl in interface SqlIpConfigOrBuilderpublic com.google.protobuf.BoolValue getRequireSsl()
Whether SSL connections over IP should be enforced or not.
.google.protobuf.BoolValue require_ssl = 3;getRequireSsl in interface SqlIpConfigOrBuilderpublic com.google.protobuf.BoolValueOrBuilder getRequireSslOrBuilder()
Whether SSL connections over IP should be enforced or not.
.google.protobuf.BoolValue require_ssl = 3;getRequireSslOrBuilder in interface SqlIpConfigOrBuilderpublic 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;getAuthorizedNetworksList in interface SqlIpConfigOrBuilderpublic 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;getAuthorizedNetworksOrBuilderList in interface SqlIpConfigOrBuilderpublic 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;getAuthorizedNetworksCount in interface SqlIpConfigOrBuilderpublic 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;getAuthorizedNetworks in interface SqlIpConfigOrBuilderpublic 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;getAuthorizedNetworksOrBuilder in interface SqlIpConfigOrBuilderpublic final boolean isInitialized()
isInitialized in interface com.google.protobuf.MessageLiteOrBuilderisInitialized in class com.google.protobuf.GeneratedMessageV3public void writeTo(com.google.protobuf.CodedOutputStream output)
throws IOException
writeTo in interface com.google.protobuf.MessageLitewriteTo in class com.google.protobuf.GeneratedMessageV3IOExceptionpublic int getSerializedSize()
getSerializedSize in interface com.google.protobuf.MessageLitegetSerializedSize in class com.google.protobuf.GeneratedMessageV3public boolean equals(Object obj)
equals in interface com.google.protobuf.Messageequals in class com.google.protobuf.AbstractMessagepublic int hashCode()
hashCode in interface com.google.protobuf.MessagehashCode in class com.google.protobuf.AbstractMessagepublic static SqlIpConfig parseFrom(ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static SqlIpConfig parseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static SqlIpConfig parseFrom(com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static SqlIpConfig parseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static SqlIpConfig parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static SqlIpConfig parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static SqlIpConfig parseFrom(InputStream input) throws IOException
IOExceptionpublic static SqlIpConfig parseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
IOExceptionpublic static SqlIpConfig parseDelimitedFrom(InputStream input) throws IOException
IOExceptionpublic static SqlIpConfig parseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
IOExceptionpublic static SqlIpConfig parseFrom(com.google.protobuf.CodedInputStream input) throws IOException
IOExceptionpublic static SqlIpConfig parseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
IOExceptionpublic SqlIpConfig.Builder newBuilderForType()
newBuilderForType in interface com.google.protobuf.MessagenewBuilderForType in interface com.google.protobuf.MessageLitepublic static SqlIpConfig.Builder newBuilder()
public static SqlIpConfig.Builder newBuilder(SqlIpConfig prototype)
public SqlIpConfig.Builder toBuilder()
toBuilder in interface com.google.protobuf.MessagetoBuilder in interface com.google.protobuf.MessageLiteprotected SqlIpConfig.Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent)
newBuilderForType in class com.google.protobuf.GeneratedMessageV3public static SqlIpConfig getDefaultInstance()
public static com.google.protobuf.Parser<SqlIpConfig> parser()
public com.google.protobuf.Parser<SqlIpConfig> getParserForType()
getParserForType in interface com.google.protobuf.MessagegetParserForType in interface com.google.protobuf.MessageLitegetParserForType in class com.google.protobuf.GeneratedMessageV3public SqlIpConfig getDefaultInstanceForType()
getDefaultInstanceForType in interface com.google.protobuf.MessageLiteOrBuildergetDefaultInstanceForType in interface com.google.protobuf.MessageOrBuilderCopyright © 2024 Google LLC. All rights reserved.