Package com.google.cloud.clouddms.v1
Class SqlIpConfig
- java.lang.Object
-
- com.google.protobuf.AbstractMessageLite
-
- com.google.protobuf.AbstractMessage
-
- com.google.protobuf.GeneratedMessageV3
-
- com.google.cloud.clouddms.v1.SqlIpConfig
-
- All Implemented Interfaces:
SqlIpConfigOrBuilder
,com.google.protobuf.Message
,com.google.protobuf.MessageLite
,com.google.protobuf.MessageLiteOrBuilder
,com.google.protobuf.MessageOrBuilder
,Serializable
public final class SqlIpConfig extends com.google.protobuf.GeneratedMessageV3 implements SqlIpConfigOrBuilder
IP Management configuration.
Protobuf typegoogle.cloud.clouddms.v1.SqlIpConfig
- See Also:
- Serialized Form
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
SqlIpConfig.Builder
IP Management configuration.-
Nested classes/interfaces inherited from class com.google.protobuf.GeneratedMessageV3
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
-
-
Field Summary
Fields Modifier and Type Field 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
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method 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(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 SqlIpConfig
parseFrom(ByteBuffer data)
static SqlIpConfig
parseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
static com.google.protobuf.Parser<SqlIpConfig>
parser()
SqlIpConfig.Builder
toBuilder()
void
writeTo(com.google.protobuf.CodedOutputStream output)
-
Methods inherited from class com.google.protobuf.GeneratedMessageV3
canUseUnsafe, computeStringSize, computeStringSizeNoTag, emptyBooleanList, emptyDoubleList, emptyFloatList, emptyIntList, emptyLongList, getAllFields, getDescriptorForType, getField, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof, internalGetMapField, isStringEmpty, makeExtensionsImmutable, 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, writeStringNoTag
-
Methods inherited from class com.google.protobuf.AbstractMessage
findInitializationErrors, getInitializationErrorString, hashBoolean, hashEnum, hashEnumList, hashFields, hashLong, toString
-
Methods inherited from class com.google.protobuf.AbstractMessageLite
addAll, addAll, checkByteStringIsUtf8, toByteArray, toByteString, writeDelimitedTo, writeTo
-
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
-
-
-
-
Field Detail
-
ENABLE_IPV4_FIELD_NUMBER
public static final int ENABLE_IPV4_FIELD_NUMBER
- See Also:
- Constant Field Values
-
PRIVATE_NETWORK_FIELD_NUMBER
public static final int PRIVATE_NETWORK_FIELD_NUMBER
- See Also:
- Constant Field Values
-
ALLOCATED_IP_RANGE_FIELD_NUMBER
public static final int ALLOCATED_IP_RANGE_FIELD_NUMBER
- See Also:
- Constant Field Values
-
REQUIRE_SSL_FIELD_NUMBER
public static final int REQUIRE_SSL_FIELD_NUMBER
- See Also:
- Constant Field Values
-
AUTHORIZED_NETWORKS_FIELD_NUMBER
public static final int AUTHORIZED_NETWORKS_FIELD_NUMBER
- See Also:
- Constant Field Values
-
-
Method Detail
-
newInstance
protected Object newInstance(com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter unused)
- Overrides:
newInstance
in classcom.google.protobuf.GeneratedMessageV3
-
getDescriptor
public static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
-
internalGetFieldAccessorTable
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
- Specified by:
internalGetFieldAccessorTable
in classcom.google.protobuf.GeneratedMessageV3
-
hasEnableIpv4
public boolean hasEnableIpv4()
Whether the instance should be assigned an IPv4 address or not.
.google.protobuf.BoolValue enable_ipv4 = 1;
- Specified by:
hasEnableIpv4
in interfaceSqlIpConfigOrBuilder
- Returns:
- Whether the enableIpv4 field is set.
-
getEnableIpv4
public com.google.protobuf.BoolValue getEnableIpv4()
Whether the instance should be assigned an IPv4 address or not.
.google.protobuf.BoolValue enable_ipv4 = 1;
- Specified by:
getEnableIpv4
in interfaceSqlIpConfigOrBuilder
- Returns:
- The enableIpv4.
-
getEnableIpv4OrBuilder
public com.google.protobuf.BoolValueOrBuilder getEnableIpv4OrBuilder()
Whether the instance should be assigned an IPv4 address or not.
.google.protobuf.BoolValue enable_ipv4 = 1;
- Specified by:
getEnableIpv4OrBuilder
in interfaceSqlIpConfigOrBuilder
-
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;
- Specified by:
getPrivateNetwork
in interfaceSqlIpConfigOrBuilder
- Returns:
- The privateNetwork.
-
getPrivateNetworkBytes
public 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;
- Specified by:
getPrivateNetworkBytes
in interfaceSqlIpConfigOrBuilder
- Returns:
- The bytes for privateNetwork.
-
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];
- Specified by:
getAllocatedIpRange
in interfaceSqlIpConfigOrBuilder
- Returns:
- The allocatedIpRange.
-
getAllocatedIpRangeBytes
public 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];
- Specified by:
getAllocatedIpRangeBytes
in interfaceSqlIpConfigOrBuilder
- Returns:
- The bytes for allocatedIpRange.
-
hasRequireSsl
public boolean hasRequireSsl()
Whether SSL connections over IP should be enforced or not.
.google.protobuf.BoolValue require_ssl = 3;
- Specified by:
hasRequireSsl
in interfaceSqlIpConfigOrBuilder
- Returns:
- Whether the requireSsl field is set.
-
getRequireSsl
public com.google.protobuf.BoolValue getRequireSsl()
Whether SSL connections over IP should be enforced or not.
.google.protobuf.BoolValue require_ssl = 3;
- Specified by:
getRequireSsl
in interfaceSqlIpConfigOrBuilder
- Returns:
- The requireSsl.
-
getRequireSslOrBuilder
public com.google.protobuf.BoolValueOrBuilder getRequireSslOrBuilder()
Whether SSL connections over IP should be enforced or not.
.google.protobuf.BoolValue require_ssl = 3;
- Specified by:
getRequireSslOrBuilder
in interfaceSqlIpConfigOrBuilder
-
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;
- Specified by:
getAuthorizedNetworksList
in interfaceSqlIpConfigOrBuilder
-
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;
- Specified by:
getAuthorizedNetworksOrBuilderList
in interfaceSqlIpConfigOrBuilder
-
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;
- Specified by:
getAuthorizedNetworksCount
in interfaceSqlIpConfigOrBuilder
-
getAuthorizedNetworks
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;
- Specified by:
getAuthorizedNetworks
in interfaceSqlIpConfigOrBuilder
-
getAuthorizedNetworksOrBuilder
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;
- Specified by:
getAuthorizedNetworksOrBuilder
in interfaceSqlIpConfigOrBuilder
-
isInitialized
public final boolean isInitialized()
- Specified by:
isInitialized
in interfacecom.google.protobuf.MessageLiteOrBuilder
- Overrides:
isInitialized
in classcom.google.protobuf.GeneratedMessageV3
-
writeTo
public void writeTo(com.google.protobuf.CodedOutputStream output) throws IOException
- Specified by:
writeTo
in interfacecom.google.protobuf.MessageLite
- Overrides:
writeTo
in classcom.google.protobuf.GeneratedMessageV3
- Throws:
IOException
-
getSerializedSize
public int getSerializedSize()
- Specified by:
getSerializedSize
in interfacecom.google.protobuf.MessageLite
- Overrides:
getSerializedSize
in classcom.google.protobuf.GeneratedMessageV3
-
equals
public boolean equals(Object obj)
- Specified by:
equals
in interfacecom.google.protobuf.Message
- Overrides:
equals
in classcom.google.protobuf.AbstractMessage
-
hashCode
public int hashCode()
- Specified by:
hashCode
in interfacecom.google.protobuf.Message
- Overrides:
hashCode
in classcom.google.protobuf.AbstractMessage
-
parseFrom
public static SqlIpConfig parseFrom(ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException
- Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static SqlIpConfig parseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
- Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static SqlIpConfig parseFrom(com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException
- Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static SqlIpConfig parseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
- Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static SqlIpConfig parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException
- Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static SqlIpConfig parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
- Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static SqlIpConfig parseFrom(InputStream input) throws IOException
- Throws:
IOException
-
parseFrom
public static SqlIpConfig parseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
- Throws:
IOException
-
parseDelimitedFrom
public static SqlIpConfig parseDelimitedFrom(InputStream input) throws IOException
- Throws:
IOException
-
parseDelimitedFrom
public static SqlIpConfig parseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
- Throws:
IOException
-
parseFrom
public static SqlIpConfig parseFrom(com.google.protobuf.CodedInputStream input) throws IOException
- Throws:
IOException
-
parseFrom
public static SqlIpConfig parseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
- Throws:
IOException
-
newBuilderForType
public SqlIpConfig.Builder newBuilderForType()
- Specified by:
newBuilderForType
in interfacecom.google.protobuf.Message
- Specified by:
newBuilderForType
in interfacecom.google.protobuf.MessageLite
-
newBuilder
public static SqlIpConfig.Builder newBuilder()
-
newBuilder
public static SqlIpConfig.Builder newBuilder(SqlIpConfig prototype)
-
toBuilder
public SqlIpConfig.Builder toBuilder()
- Specified by:
toBuilder
in interfacecom.google.protobuf.Message
- Specified by:
toBuilder
in interfacecom.google.protobuf.MessageLite
-
newBuilderForType
protected SqlIpConfig.Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent)
- Specified by:
newBuilderForType
in classcom.google.protobuf.GeneratedMessageV3
-
getDefaultInstance
public static SqlIpConfig getDefaultInstance()
-
parser
public static com.google.protobuf.Parser<SqlIpConfig> parser()
-
getParserForType
public com.google.protobuf.Parser<SqlIpConfig> getParserForType()
- Specified by:
getParserForType
in interfacecom.google.protobuf.Message
- Specified by:
getParserForType
in interfacecom.google.protobuf.MessageLite
- Overrides:
getParserForType
in classcom.google.protobuf.GeneratedMessageV3
-
getDefaultInstanceForType
public SqlIpConfig getDefaultInstanceForType()
- Specified by:
getDefaultInstanceForType
in interfacecom.google.protobuf.MessageLiteOrBuilder
- Specified by:
getDefaultInstanceForType
in interfacecom.google.protobuf.MessageOrBuilder
-
-