Interface UsableSubnetworkOrBuilder

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

@Generated public interface UsableSubnetworkOrBuilder extends com.google.protobuf.MessageOrBuilder
  • Method Details

    • hasExternalIpv6Prefix

      boolean hasExternalIpv6Prefix()
       Output only. [Output Only] The external IPv6 address range that is assigned to this
       subnetwork.
       
      optional string external_ipv6_prefix = 139299190;
      Returns:
      Whether the externalIpv6Prefix field is set.
    • getExternalIpv6Prefix

      String getExternalIpv6Prefix()
       Output only. [Output Only] The external IPv6 address range that is assigned to this
       subnetwork.
       
      optional string external_ipv6_prefix = 139299190;
      Returns:
      The externalIpv6Prefix.
    • getExternalIpv6PrefixBytes

      com.google.protobuf.ByteString getExternalIpv6PrefixBytes()
       Output only. [Output Only] The external IPv6 address range that is assigned to this
       subnetwork.
       
      optional string external_ipv6_prefix = 139299190;
      Returns:
      The bytes for externalIpv6Prefix.
    • hasInternalIpv6Prefix

      boolean hasInternalIpv6Prefix()
       Output only. [Output Only] The internal IPv6 address range that is assigned to this
       subnetwork.
       
      optional string internal_ipv6_prefix = 506270056;
      Returns:
      Whether the internalIpv6Prefix field is set.
    • getInternalIpv6Prefix

      String getInternalIpv6Prefix()
       Output only. [Output Only] The internal IPv6 address range that is assigned to this
       subnetwork.
       
      optional string internal_ipv6_prefix = 506270056;
      Returns:
      The internalIpv6Prefix.
    • getInternalIpv6PrefixBytes

      com.google.protobuf.ByteString getInternalIpv6PrefixBytes()
       Output only. [Output Only] The internal IPv6 address range that is assigned to this
       subnetwork.
       
      optional string internal_ipv6_prefix = 506270056;
      Returns:
      The bytes for internalIpv6Prefix.
    • hasIpCidrRange

      boolean hasIpCidrRange()
       The range of internal addresses that are owned by this subnetwork.
       
      optional string ip_cidr_range = 98117322;
      Returns:
      Whether the ipCidrRange field is set.
    • getIpCidrRange

      String getIpCidrRange()
       The range of internal addresses that are owned by this subnetwork.
       
      optional string ip_cidr_range = 98117322;
      Returns:
      The ipCidrRange.
    • getIpCidrRangeBytes

      com.google.protobuf.ByteString getIpCidrRangeBytes()
       The range of internal addresses that are owned by this subnetwork.
       
      optional string ip_cidr_range = 98117322;
      Returns:
      The bytes for ipCidrRange.
    • hasIpv6AccessType

      boolean hasIpv6AccessType()
       The access type of IPv6 address this subnet holds. It's immutable and can
       only be specified during creation or the first time the subnet is updated
       into IPV4_IPV6 dual stack.
       Check the Ipv6AccessType enum for the list of possible values.
       
      optional string ipv6_access_type = 504658653;
      Returns:
      Whether the ipv6AccessType field is set.
    • getIpv6AccessType

      String getIpv6AccessType()
       The access type of IPv6 address this subnet holds. It's immutable and can
       only be specified during creation or the first time the subnet is updated
       into IPV4_IPV6 dual stack.
       Check the Ipv6AccessType enum for the list of possible values.
       
      optional string ipv6_access_type = 504658653;
      Returns:
      The ipv6AccessType.
    • getIpv6AccessTypeBytes

      com.google.protobuf.ByteString getIpv6AccessTypeBytes()
       The access type of IPv6 address this subnet holds. It's immutable and can
       only be specified during creation or the first time the subnet is updated
       into IPV4_IPV6 dual stack.
       Check the Ipv6AccessType enum for the list of possible values.
       
      optional string ipv6_access_type = 504658653;
      Returns:
      The bytes for ipv6AccessType.
    • hasNetwork

      boolean hasNetwork()
       Network URL.
       
      optional string network = 232872494;
      Returns:
      Whether the network field is set.
    • getNetwork

      String getNetwork()
       Network URL.
       
      optional string network = 232872494;
      Returns:
      The network.
    • getNetworkBytes

      com.google.protobuf.ByteString getNetworkBytes()
       Network URL.
       
      optional string network = 232872494;
      Returns:
      The bytes for network.
    • hasPurpose

      boolean hasPurpose()
      
       Check the Purpose enum for the list of possible values.
       
      optional string purpose = 316407070;
      Returns:
      Whether the purpose field is set.
    • getPurpose

      String getPurpose()
      
       Check the Purpose enum for the list of possible values.
       
      optional string purpose = 316407070;
      Returns:
      The purpose.
    • getPurposeBytes

      com.google.protobuf.ByteString getPurposeBytes()
      
       Check the Purpose enum for the list of possible values.
       
      optional string purpose = 316407070;
      Returns:
      The bytes for purpose.
    • hasRole

      boolean hasRole()
       The role of subnetwork. Currently, this field is only used when
       purpose is set to GLOBAL_MANAGED_PROXY orREGIONAL_MANAGED_PROXY. The value can be set toACTIVE or BACKUP. An ACTIVE
       subnetwork is one that is currently being used for Envoy-based load
       balancers in a region. A BACKUP subnetwork is one that is
       ready to be promoted to ACTIVE or is currently draining.
       This field can be updated with a patch request.
       Check the Role enum for the list of possible values.
       
      optional string role = 3506294;
      Returns:
      Whether the role field is set.
    • getRole

      String getRole()
       The role of subnetwork. Currently, this field is only used when
       purpose is set to GLOBAL_MANAGED_PROXY orREGIONAL_MANAGED_PROXY. The value can be set toACTIVE or BACKUP. An ACTIVE
       subnetwork is one that is currently being used for Envoy-based load
       balancers in a region. A BACKUP subnetwork is one that is
       ready to be promoted to ACTIVE or is currently draining.
       This field can be updated with a patch request.
       Check the Role enum for the list of possible values.
       
      optional string role = 3506294;
      Returns:
      The role.
    • getRoleBytes

      com.google.protobuf.ByteString getRoleBytes()
       The role of subnetwork. Currently, this field is only used when
       purpose is set to GLOBAL_MANAGED_PROXY orREGIONAL_MANAGED_PROXY. The value can be set toACTIVE or BACKUP. An ACTIVE
       subnetwork is one that is currently being used for Envoy-based load
       balancers in a region. A BACKUP subnetwork is one that is
       ready to be promoted to ACTIVE or is currently draining.
       This field can be updated with a patch request.
       Check the Role enum for the list of possible values.
       
      optional string role = 3506294;
      Returns:
      The bytes for role.
    • getSecondaryIpRangesList

      List<UsableSubnetworkSecondaryRange> getSecondaryIpRangesList()
       Secondary IP ranges.
       
      repeated .google.cloud.compute.v1.UsableSubnetworkSecondaryRange secondary_ip_ranges = 136658915;
    • getSecondaryIpRanges

      UsableSubnetworkSecondaryRange getSecondaryIpRanges(int index)
       Secondary IP ranges.
       
      repeated .google.cloud.compute.v1.UsableSubnetworkSecondaryRange secondary_ip_ranges = 136658915;
    • getSecondaryIpRangesCount

      int getSecondaryIpRangesCount()
       Secondary IP ranges.
       
      repeated .google.cloud.compute.v1.UsableSubnetworkSecondaryRange secondary_ip_ranges = 136658915;
    • getSecondaryIpRangesOrBuilderList

      List<? extends UsableSubnetworkSecondaryRangeOrBuilder> getSecondaryIpRangesOrBuilderList()
       Secondary IP ranges.
       
      repeated .google.cloud.compute.v1.UsableSubnetworkSecondaryRange secondary_ip_ranges = 136658915;
    • getSecondaryIpRangesOrBuilder

      UsableSubnetworkSecondaryRangeOrBuilder getSecondaryIpRangesOrBuilder(int index)
       Secondary IP ranges.
       
      repeated .google.cloud.compute.v1.UsableSubnetworkSecondaryRange secondary_ip_ranges = 136658915;
    • hasStackType

      boolean hasStackType()
       The stack type for the subnet. If set to IPV4_ONLY, new VMs
       in the subnet are assigned IPv4 addresses only. If set toIPV4_IPV6, new VMs in the subnet can be assigned both IPv4 and
       IPv6 addresses. If not specified, IPV4_ONLY is used.
      
       This field can be both set at resource creation time and updated usingpatch.
       Check the StackType enum for the list of possible values.
       
      optional string stack_type = 425908881;
      Returns:
      Whether the stackType field is set.
    • getStackType

      String getStackType()
       The stack type for the subnet. If set to IPV4_ONLY, new VMs
       in the subnet are assigned IPv4 addresses only. If set toIPV4_IPV6, new VMs in the subnet can be assigned both IPv4 and
       IPv6 addresses. If not specified, IPV4_ONLY is used.
      
       This field can be both set at resource creation time and updated usingpatch.
       Check the StackType enum for the list of possible values.
       
      optional string stack_type = 425908881;
      Returns:
      The stackType.
    • getStackTypeBytes

      com.google.protobuf.ByteString getStackTypeBytes()
       The stack type for the subnet. If set to IPV4_ONLY, new VMs
       in the subnet are assigned IPv4 addresses only. If set toIPV4_IPV6, new VMs in the subnet can be assigned both IPv4 and
       IPv6 addresses. If not specified, IPV4_ONLY is used.
      
       This field can be both set at resource creation time and updated usingpatch.
       Check the StackType enum for the list of possible values.
       
      optional string stack_type = 425908881;
      Returns:
      The bytes for stackType.
    • hasSubnetwork

      boolean hasSubnetwork()
       Subnetwork URL.
       
      optional string subnetwork = 307827694;
      Returns:
      Whether the subnetwork field is set.
    • getSubnetwork

      String getSubnetwork()
       Subnetwork URL.
       
      optional string subnetwork = 307827694;
      Returns:
      The subnetwork.
    • getSubnetworkBytes

      com.google.protobuf.ByteString getSubnetworkBytes()
       Subnetwork URL.
       
      optional string subnetwork = 307827694;
      Returns:
      The bytes for subnetwork.