Interface AccessConfigOrBuilder

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

@Generated public interface AccessConfigOrBuilder extends com.google.protobuf.MessageOrBuilder
  • Method Summary

    Modifier and Type
    Method
    Description
    Applies to ipv6AccessConfigs only.
    com.google.protobuf.ByteString
    Applies to ipv6AccessConfigs only.
    int
    Applies to ipv6AccessConfigs only.
    Output only.
    com.google.protobuf.ByteString
    Output only.
    The name of this access configuration.
    com.google.protobuf.ByteString
    The name of this access configuration.
    Applies to accessConfigs (IPv4) only.
    com.google.protobuf.ByteString
    Applies to accessConfigs (IPv4) only.
    This signifies the networking tier used for configuring this access configuration and can only take the following values: PREMIUM,STANDARD.
    com.google.protobuf.ByteString
    This signifies the networking tier used for configuring this access configuration and can only take the following values: PREMIUM,STANDARD.
    The DNS domain name for the public PTR record.
    com.google.protobuf.ByteString
    The DNS domain name for the public PTR record.
    The resource URL for the security policy associated with this access config.
    com.google.protobuf.ByteString
    The resource URL for the security policy associated with this access config.
    boolean
    Specifies whether a public DNS 'PTR' record should be created to map the external IP address of the instance to a DNS domain name.
    The type of configuration.
    com.google.protobuf.ByteString
    The type of configuration.
    boolean
    Applies to ipv6AccessConfigs only.
    boolean
    Applies to ipv6AccessConfigs only.
    boolean
    Output only.
    boolean
    The name of this access configuration.
    boolean
    Applies to accessConfigs (IPv4) only.
    boolean
    This signifies the networking tier used for configuring this access configuration and can only take the following values: PREMIUM,STANDARD.
    boolean
    The DNS domain name for the public PTR record.
    boolean
    The resource URL for the security policy associated with this access config.
    boolean
    Specifies whether a public DNS 'PTR' record should be created to map the external IP address of the instance to a DNS domain name.
    boolean
    The type of configuration.

    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 Details

    • hasExternalIpv6

      boolean hasExternalIpv6()
       Applies to ipv6AccessConfigs only.
       The first IPv6 address of the external IPv6 range associated
       with this instance, prefix length is stored inexternalIpv6PrefixLength in ipv6AccessConfig. To
       use a static external IP address, it must be unused and in the same region
       as the instance's zone. If not specified, Google Cloud will automatically
       assign an external IPv6 address from the instance's subnetwork.
       
      optional string external_ipv6 = 532703707;
      Returns:
      Whether the externalIpv6 field is set.
    • getExternalIpv6

      String getExternalIpv6()
       Applies to ipv6AccessConfigs only.
       The first IPv6 address of the external IPv6 range associated
       with this instance, prefix length is stored inexternalIpv6PrefixLength in ipv6AccessConfig. To
       use a static external IP address, it must be unused and in the same region
       as the instance's zone. If not specified, Google Cloud will automatically
       assign an external IPv6 address from the instance's subnetwork.
       
      optional string external_ipv6 = 532703707;
      Returns:
      The externalIpv6.
    • getExternalIpv6Bytes

      com.google.protobuf.ByteString getExternalIpv6Bytes()
       Applies to ipv6AccessConfigs only.
       The first IPv6 address of the external IPv6 range associated
       with this instance, prefix length is stored inexternalIpv6PrefixLength in ipv6AccessConfig. To
       use a static external IP address, it must be unused and in the same region
       as the instance's zone. If not specified, Google Cloud will automatically
       assign an external IPv6 address from the instance's subnetwork.
       
      optional string external_ipv6 = 532703707;
      Returns:
      The bytes for externalIpv6.
    • hasExternalIpv6PrefixLength

      boolean hasExternalIpv6PrefixLength()
       Applies to ipv6AccessConfigs only. The prefix length of the
       external IPv6 range.
       
      optional int32 external_ipv6_prefix_length = 425672143;
      Returns:
      Whether the externalIpv6PrefixLength field is set.
    • getExternalIpv6PrefixLength

      int getExternalIpv6PrefixLength()
       Applies to ipv6AccessConfigs only. The prefix length of the
       external IPv6 range.
       
      optional int32 external_ipv6_prefix_length = 425672143;
      Returns:
      The externalIpv6PrefixLength.
    • hasKind

      boolean hasKind()
       Output only. [Output Only] Type of the resource. Alwayscompute#accessConfig for access configs.
       
      optional string kind = 3292052;
      Returns:
      Whether the kind field is set.
    • getKind

      String getKind()
       Output only. [Output Only] Type of the resource. Alwayscompute#accessConfig for access configs.
       
      optional string kind = 3292052;
      Returns:
      The kind.
    • getKindBytes

      com.google.protobuf.ByteString getKindBytes()
       Output only. [Output Only] Type of the resource. Alwayscompute#accessConfig for access configs.
       
      optional string kind = 3292052;
      Returns:
      The bytes for kind.
    • hasName

      boolean hasName()
       The name of this access configuration. In accessConfigs
       (IPv4), the default and recommended name is External NAT, but
       you can use any arbitrary string, such as My external IP orNetwork Access. In ipv6AccessConfigs, the
       recommend name is External IPv6.
       
      optional string name = 3373707;
      Returns:
      Whether the name field is set.
    • getName

      String getName()
       The name of this access configuration. In accessConfigs
       (IPv4), the default and recommended name is External NAT, but
       you can use any arbitrary string, such as My external IP orNetwork Access. In ipv6AccessConfigs, the
       recommend name is External IPv6.
       
      optional string name = 3373707;
      Returns:
      The name.
    • getNameBytes

      com.google.protobuf.ByteString getNameBytes()
       The name of this access configuration. In accessConfigs
       (IPv4), the default and recommended name is External NAT, but
       you can use any arbitrary string, such as My external IP orNetwork Access. In ipv6AccessConfigs, the
       recommend name is External IPv6.
       
      optional string name = 3373707;
      Returns:
      The bytes for name.
    • hasNatIP

      boolean hasNatIP()
       Applies to accessConfigs (IPv4) only. Anexternal IP
       address associated with this instance. Specify an unused static
       external IP address available to the project or leave this field undefined
       to use an IP from a shared ephemeral IP address pool. If you specify a
       static external IP address, it must live in the same region as the zone of
       the instance.
       
      optional string nat_i_p = 117634556;
      Returns:
      Whether the natIP field is set.
    • getNatIP

      String getNatIP()
       Applies to accessConfigs (IPv4) only. Anexternal IP
       address associated with this instance. Specify an unused static
       external IP address available to the project or leave this field undefined
       to use an IP from a shared ephemeral IP address pool. If you specify a
       static external IP address, it must live in the same region as the zone of
       the instance.
       
      optional string nat_i_p = 117634556;
      Returns:
      The natIP.
    • getNatIPBytes

      com.google.protobuf.ByteString getNatIPBytes()
       Applies to accessConfigs (IPv4) only. Anexternal IP
       address associated with this instance. Specify an unused static
       external IP address available to the project or leave this field undefined
       to use an IP from a shared ephemeral IP address pool. If you specify a
       static external IP address, it must live in the same region as the zone of
       the instance.
       
      optional string nat_i_p = 117634556;
      Returns:
      The bytes for natIP.
    • hasNetworkTier

      boolean hasNetworkTier()
       This signifies the networking tier used for configuring this access
       configuration and can only take the following values: PREMIUM,STANDARD.
      
       If an AccessConfig is specified without a valid external IP address, an
       ephemeral IP will be created with this networkTier.
      
       If an AccessConfig with a valid external IP address is specified, it must
       match that of the networkTier associated with the Address resource owning
       that IP.
       Check the NetworkTier enum for the list of possible values.
       
      optional string network_tier = 517397843;
      Returns:
      Whether the networkTier field is set.
    • getNetworkTier

      String getNetworkTier()
       This signifies the networking tier used for configuring this access
       configuration and can only take the following values: PREMIUM,STANDARD.
      
       If an AccessConfig is specified without a valid external IP address, an
       ephemeral IP will be created with this networkTier.
      
       If an AccessConfig with a valid external IP address is specified, it must
       match that of the networkTier associated with the Address resource owning
       that IP.
       Check the NetworkTier enum for the list of possible values.
       
      optional string network_tier = 517397843;
      Returns:
      The networkTier.
    • getNetworkTierBytes

      com.google.protobuf.ByteString getNetworkTierBytes()
       This signifies the networking tier used for configuring this access
       configuration and can only take the following values: PREMIUM,STANDARD.
      
       If an AccessConfig is specified without a valid external IP address, an
       ephemeral IP will be created with this networkTier.
      
       If an AccessConfig with a valid external IP address is specified, it must
       match that of the networkTier associated with the Address resource owning
       that IP.
       Check the NetworkTier enum for the list of possible values.
       
      optional string network_tier = 517397843;
      Returns:
      The bytes for networkTier.
    • hasPublicPtrDomainName

      boolean hasPublicPtrDomainName()
       The DNS domain name for the public PTR record.
      
       You can set this field only if the `setPublicPtr` field is enabled inaccessConfig. If this field is unspecified inipv6AccessConfig, a default PTR record will be created for
       first IP in associated external IPv6 range.
       
      optional string public_ptr_domain_name = 316599167;
      Returns:
      Whether the publicPtrDomainName field is set.
    • getPublicPtrDomainName

      String getPublicPtrDomainName()
       The DNS domain name for the public PTR record.
      
       You can set this field only if the `setPublicPtr` field is enabled inaccessConfig. If this field is unspecified inipv6AccessConfig, a default PTR record will be created for
       first IP in associated external IPv6 range.
       
      optional string public_ptr_domain_name = 316599167;
      Returns:
      The publicPtrDomainName.
    • getPublicPtrDomainNameBytes

      com.google.protobuf.ByteString getPublicPtrDomainNameBytes()
       The DNS domain name for the public PTR record.
      
       You can set this field only if the `setPublicPtr` field is enabled inaccessConfig. If this field is unspecified inipv6AccessConfig, a default PTR record will be created for
       first IP in associated external IPv6 range.
       
      optional string public_ptr_domain_name = 316599167;
      Returns:
      The bytes for publicPtrDomainName.
    • hasSecurityPolicy

      boolean hasSecurityPolicy()
       The resource URL for the security policy associated with this access
       config.
       
      optional string security_policy = 171082513;
      Returns:
      Whether the securityPolicy field is set.
    • getSecurityPolicy

      String getSecurityPolicy()
       The resource URL for the security policy associated with this access
       config.
       
      optional string security_policy = 171082513;
      Returns:
      The securityPolicy.
    • getSecurityPolicyBytes

      com.google.protobuf.ByteString getSecurityPolicyBytes()
       The resource URL for the security policy associated with this access
       config.
       
      optional string security_policy = 171082513;
      Returns:
      The bytes for securityPolicy.
    • hasSetPublicPtr

      boolean hasSetPublicPtr()
       Specifies whether a public DNS 'PTR' record should be created to map the
       external IP address of the instance to a DNS domain name.
      
       This field is not used in ipv6AccessConfig. A default PTR
       record will be created if the VM has external IPv6 range associated.
       
      optional bool set_public_ptr = 523870229;
      Returns:
      Whether the setPublicPtr field is set.
    • getSetPublicPtr

      boolean getSetPublicPtr()
       Specifies whether a public DNS 'PTR' record should be created to map the
       external IP address of the instance to a DNS domain name.
      
       This field is not used in ipv6AccessConfig. A default PTR
       record will be created if the VM has external IPv6 range associated.
       
      optional bool set_public_ptr = 523870229;
      Returns:
      The setPublicPtr.
    • hasType

      boolean hasType()
       The type of configuration. In accessConfigs (IPv4), the
       default and only option is ONE_TO_ONE_NAT. Inipv6AccessConfigs, the default and only option isDIRECT_IPV6.
       Check the Type enum for the list of possible values.
       
      optional string type = 3575610;
      Returns:
      Whether the type field is set.
    • getType

      String getType()
       The type of configuration. In accessConfigs (IPv4), the
       default and only option is ONE_TO_ONE_NAT. Inipv6AccessConfigs, the default and only option isDIRECT_IPV6.
       Check the Type enum for the list of possible values.
       
      optional string type = 3575610;
      Returns:
      The type.
    • getTypeBytes

      com.google.protobuf.ByteString getTypeBytes()
       The type of configuration. In accessConfigs (IPv4), the
       default and only option is ONE_TO_ONE_NAT. Inipv6AccessConfigs, the default and only option isDIRECT_IPV6.
       Check the Type enum for the list of possible values.
       
      optional string type = 3575610;
      Returns:
      The bytes for type.