Interface SqlIpConfigOrBuilder

  • All Superinterfaces:
    com.google.protobuf.MessageLiteOrBuilder, com.google.protobuf.MessageOrBuilder
    All Known Implementing Classes:
    SqlIpConfig, SqlIpConfig.Builder

    public interface SqlIpConfigOrBuilder
    extends com.google.protobuf.MessageOrBuilder
    • Method Summary

      All Methods Instance Methods Abstract Methods 
      Modifier and Type Method Description
      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.
      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.
      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.
      boolean hasEnableIpv4()
      Whether the instance should be assigned an IPv4 address or not.
      boolean hasRequireSsl()
      Whether SSL connections over IP should be enforced or not.
      • Methods inherited from interface com.google.protobuf.MessageLiteOrBuilder

        isInitialized
      • Methods inherited from interface com.google.protobuf.MessageOrBuilder

        findInitializationErrors, getAllFields, getDefaultInstanceForType, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
    • Method Detail

      • hasEnableIpv4

        boolean hasEnableIpv4()
         Whether the instance should be assigned an IPv4 address or not.
         
        .google.protobuf.BoolValue enable_ipv4 = 1;
        Returns:
        Whether the enableIpv4 field is set.
      • getEnableIpv4

        com.google.protobuf.BoolValue getEnableIpv4()
         Whether the instance should be assigned an IPv4 address or not.
         
        .google.protobuf.BoolValue enable_ipv4 = 1;
        Returns:
        The enableIpv4.
      • getEnableIpv4OrBuilder

        com.google.protobuf.BoolValueOrBuilder getEnableIpv4OrBuilder()
         Whether the instance should be assigned an IPv4 address or not.
         
        .google.protobuf.BoolValue enable_ipv4 = 1;
      • getPrivateNetwork

        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:
        The privateNetwork.
      • getPrivateNetworkBytes

        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;
        Returns:
        The bytes for privateNetwork.
      • getAllocatedIpRange

        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];
        Returns:
        The allocatedIpRange.
      • getAllocatedIpRangeBytes

        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];
        Returns:
        The bytes for allocatedIpRange.
      • hasRequireSsl

        boolean hasRequireSsl()
         Whether SSL connections over IP should be enforced or not.
         
        .google.protobuf.BoolValue require_ssl = 3;
        Returns:
        Whether the requireSsl field is set.
      • getRequireSsl

        com.google.protobuf.BoolValue getRequireSsl()
         Whether SSL connections over IP should be enforced or not.
         
        .google.protobuf.BoolValue require_ssl = 3;
        Returns:
        The requireSsl.
      • getRequireSslOrBuilder

        com.google.protobuf.BoolValueOrBuilder getRequireSslOrBuilder()
         Whether SSL connections over IP should be enforced or not.
         
        .google.protobuf.BoolValue require_ssl = 3;
      • getAuthorizedNetworksList

        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;
      • getAuthorizedNetworks

        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;
      • getAuthorizedNetworksCount

        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;
      • getAuthorizedNetworksOrBuilderList

        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;
      • getAuthorizedNetworksOrBuilder

        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;