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 classSqlIpConfig.BuilderIP 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 intALLOCATED_IP_RANGE_FIELD_NUMBERstatic intAUTHORIZED_NETWORKS_FIELD_NUMBERstatic intENABLE_IPV4_FIELD_NUMBERstatic intPRIVATE_NETWORK_FIELD_NUMBERstatic intREQUIRE_SSL_FIELD_NUMBER
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description booleanequals(Object obj)StringgetAllocatedIpRange()Optional.com.google.protobuf.ByteStringgetAllocatedIpRangeBytes()Optional.SqlAclEntrygetAuthorizedNetworks(int index)The list of external networks that are allowed to connect to the instance using the IP.intgetAuthorizedNetworksCount()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.SqlAclEntryOrBuildergetAuthorizedNetworksOrBuilder(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 SqlIpConfiggetDefaultInstance()SqlIpConfiggetDefaultInstanceForType()static com.google.protobuf.Descriptors.DescriptorgetDescriptor()com.google.protobuf.BoolValuegetEnableIpv4()Whether the instance should be assigned an IPv4 address or not.com.google.protobuf.BoolValueOrBuildergetEnableIpv4OrBuilder()Whether the instance should be assigned an IPv4 address or not.com.google.protobuf.Parser<SqlIpConfig>getParserForType()StringgetPrivateNetwork()The resource link for the VPC network from which the Cloud SQL instance is accessible for private IP.com.google.protobuf.ByteStringgetPrivateNetworkBytes()The resource link for the VPC network from which the Cloud SQL instance is accessible for private IP.com.google.protobuf.BoolValuegetRequireSsl()Whether SSL connections over IP should be enforced or not.com.google.protobuf.BoolValueOrBuildergetRequireSslOrBuilder()Whether SSL connections over IP should be enforced or not.intgetSerializedSize()booleanhasEnableIpv4()Whether the instance should be assigned an IPv4 address or not.inthashCode()booleanhasRequireSsl()Whether SSL connections over IP should be enforced or not.protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTableinternalGetFieldAccessorTable()booleanisInitialized()static SqlIpConfig.BuildernewBuilder()static SqlIpConfig.BuildernewBuilder(SqlIpConfig prototype)SqlIpConfig.BuildernewBuilderForType()protected SqlIpConfig.BuildernewBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent)protected ObjectnewInstance(com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter unused)static SqlIpConfigparseDelimitedFrom(InputStream input)static SqlIpConfigparseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)static SqlIpConfigparseFrom(byte[] data)static SqlIpConfigparseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)static SqlIpConfigparseFrom(com.google.protobuf.ByteString data)static SqlIpConfigparseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)static SqlIpConfigparseFrom(com.google.protobuf.CodedInputStream input)static SqlIpConfigparseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)static SqlIpConfigparseFrom(InputStream input)static SqlIpConfigparseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)static SqlIpConfigparseFrom(ByteBuffer data)static SqlIpConfigparseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)static com.google.protobuf.Parser<SqlIpConfig>parser()SqlIpConfig.BuildertoBuilder()voidwriteTo(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:
newInstancein classcom.google.protobuf.GeneratedMessageV3
-
getDescriptor
public static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
-
internalGetFieldAccessorTable
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
- Specified by:
internalGetFieldAccessorTablein 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:
hasEnableIpv4in 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:
getEnableIpv4in 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:
getEnableIpv4OrBuilderin 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:
getPrivateNetworkin 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:
getPrivateNetworkBytesin 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:
getAllocatedIpRangein 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:
getAllocatedIpRangeBytesin 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:
hasRequireSslin 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:
getRequireSslin 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:
getRequireSslOrBuilderin 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:
getAuthorizedNetworksListin 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:
getAuthorizedNetworksOrBuilderListin 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:
getAuthorizedNetworksCountin 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:
getAuthorizedNetworksin 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:
getAuthorizedNetworksOrBuilderin interfaceSqlIpConfigOrBuilder
-
isInitialized
public final boolean isInitialized()
- Specified by:
isInitializedin interfacecom.google.protobuf.MessageLiteOrBuilder- Overrides:
isInitializedin classcom.google.protobuf.GeneratedMessageV3
-
writeTo
public void writeTo(com.google.protobuf.CodedOutputStream output) throws IOException- Specified by:
writeToin interfacecom.google.protobuf.MessageLite- Overrides:
writeToin classcom.google.protobuf.GeneratedMessageV3- Throws:
IOException
-
getSerializedSize
public int getSerializedSize()
- Specified by:
getSerializedSizein interfacecom.google.protobuf.MessageLite- Overrides:
getSerializedSizein classcom.google.protobuf.GeneratedMessageV3
-
equals
public boolean equals(Object obj)
- Specified by:
equalsin interfacecom.google.protobuf.Message- Overrides:
equalsin classcom.google.protobuf.AbstractMessage
-
hashCode
public int hashCode()
- Specified by:
hashCodein interfacecom.google.protobuf.Message- Overrides:
hashCodein 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:
newBuilderForTypein interfacecom.google.protobuf.Message- Specified by:
newBuilderForTypein 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:
toBuilderin interfacecom.google.protobuf.Message- Specified by:
toBuilderin interfacecom.google.protobuf.MessageLite
-
newBuilderForType
protected SqlIpConfig.Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent)
- Specified by:
newBuilderForTypein 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:
getParserForTypein interfacecom.google.protobuf.Message- Specified by:
getParserForTypein interfacecom.google.protobuf.MessageLite- Overrides:
getParserForTypein classcom.google.protobuf.GeneratedMessageV3
-
getDefaultInstanceForType
public SqlIpConfig getDefaultInstanceForType()
- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageLiteOrBuilder- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageOrBuilder
-
-