Class PublicAdvertisedPrefix.Builder

java.lang.Object
com.google.protobuf.AbstractMessageLite.Builder
com.google.protobuf.AbstractMessage.Builder<BuilderT>
com.google.protobuf.GeneratedMessage.Builder<PublicAdvertisedPrefix.Builder>
com.google.cloud.compute.v1.PublicAdvertisedPrefix.Builder
All Implemented Interfaces:
PublicAdvertisedPrefixOrBuilder, com.google.protobuf.Message.Builder, com.google.protobuf.MessageLite.Builder, com.google.protobuf.MessageLiteOrBuilder, com.google.protobuf.MessageOrBuilder, Cloneable
Enclosing class:
PublicAdvertisedPrefix

public static final class PublicAdvertisedPrefix.Builder extends com.google.protobuf.GeneratedMessage.Builder<PublicAdvertisedPrefix.Builder> implements PublicAdvertisedPrefixOrBuilder
 A public advertised prefix represents an aggregated IP prefix or netblock
 which customers bring to cloud. The IP prefix is a single unit of route
 advertisement and is announced globally to the internet.
 
Protobuf type google.cloud.compute.v1.PublicAdvertisedPrefix
  • Method Details

    • getDescriptor

      public static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
    • internalGetFieldAccessorTable

      protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()
      Specified by:
      internalGetFieldAccessorTable in class com.google.protobuf.GeneratedMessage.Builder<PublicAdvertisedPrefix.Builder>
    • clear

      Specified by:
      clear in interface com.google.protobuf.Message.Builder
      Specified by:
      clear in interface com.google.protobuf.MessageLite.Builder
      Overrides:
      clear in class com.google.protobuf.GeneratedMessage.Builder<PublicAdvertisedPrefix.Builder>
    • getDescriptorForType

      public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()
      Specified by:
      getDescriptorForType in interface com.google.protobuf.Message.Builder
      Specified by:
      getDescriptorForType in interface com.google.protobuf.MessageOrBuilder
      Overrides:
      getDescriptorForType in class com.google.protobuf.GeneratedMessage.Builder<PublicAdvertisedPrefix.Builder>
    • getDefaultInstanceForType

      public PublicAdvertisedPrefix getDefaultInstanceForType()
      Specified by:
      getDefaultInstanceForType in interface com.google.protobuf.MessageLiteOrBuilder
      Specified by:
      getDefaultInstanceForType in interface com.google.protobuf.MessageOrBuilder
    • build

      public PublicAdvertisedPrefix build()
      Specified by:
      build in interface com.google.protobuf.Message.Builder
      Specified by:
      build in interface com.google.protobuf.MessageLite.Builder
    • buildPartial

      public PublicAdvertisedPrefix buildPartial()
      Specified by:
      buildPartial in interface com.google.protobuf.Message.Builder
      Specified by:
      buildPartial in interface com.google.protobuf.MessageLite.Builder
    • mergeFrom

      public PublicAdvertisedPrefix.Builder mergeFrom(com.google.protobuf.Message other)
      Specified by:
      mergeFrom in interface com.google.protobuf.Message.Builder
      Overrides:
      mergeFrom in class com.google.protobuf.AbstractMessage.Builder<PublicAdvertisedPrefix.Builder>
    • mergeFrom

    • isInitialized

      public final boolean isInitialized()
      Specified by:
      isInitialized in interface com.google.protobuf.MessageLiteOrBuilder
      Overrides:
      isInitialized in class com.google.protobuf.GeneratedMessage.Builder<PublicAdvertisedPrefix.Builder>
    • mergeFrom

      public PublicAdvertisedPrefix.Builder mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
      Specified by:
      mergeFrom in interface com.google.protobuf.Message.Builder
      Specified by:
      mergeFrom in interface com.google.protobuf.MessageLite.Builder
      Overrides:
      mergeFrom in class com.google.protobuf.AbstractMessage.Builder<PublicAdvertisedPrefix.Builder>
      Throws:
      IOException
    • hasByoipApiVersion

      public boolean hasByoipApiVersion()
       Output only. [Output Only] The version of BYOIP API.
       Check the ByoipApiVersion enum for the list of possible values.
       
      optional string byoip_api_version = 162683283;
      Specified by:
      hasByoipApiVersion in interface PublicAdvertisedPrefixOrBuilder
      Returns:
      Whether the byoipApiVersion field is set.
    • getByoipApiVersion

      public String getByoipApiVersion()
       Output only. [Output Only] The version of BYOIP API.
       Check the ByoipApiVersion enum for the list of possible values.
       
      optional string byoip_api_version = 162683283;
      Specified by:
      getByoipApiVersion in interface PublicAdvertisedPrefixOrBuilder
      Returns:
      The byoipApiVersion.
    • getByoipApiVersionBytes

      public com.google.protobuf.ByteString getByoipApiVersionBytes()
       Output only. [Output Only] The version of BYOIP API.
       Check the ByoipApiVersion enum for the list of possible values.
       
      optional string byoip_api_version = 162683283;
      Specified by:
      getByoipApiVersionBytes in interface PublicAdvertisedPrefixOrBuilder
      Returns:
      The bytes for byoipApiVersion.
    • setByoipApiVersion

      public PublicAdvertisedPrefix.Builder setByoipApiVersion(String value)
       Output only. [Output Only] The version of BYOIP API.
       Check the ByoipApiVersion enum for the list of possible values.
       
      optional string byoip_api_version = 162683283;
      Parameters:
      value - The byoipApiVersion to set.
      Returns:
      This builder for chaining.
    • clearByoipApiVersion

      public PublicAdvertisedPrefix.Builder clearByoipApiVersion()
       Output only. [Output Only] The version of BYOIP API.
       Check the ByoipApiVersion enum for the list of possible values.
       
      optional string byoip_api_version = 162683283;
      Returns:
      This builder for chaining.
    • setByoipApiVersionBytes

      public PublicAdvertisedPrefix.Builder setByoipApiVersionBytes(com.google.protobuf.ByteString value)
       Output only. [Output Only] The version of BYOIP API.
       Check the ByoipApiVersion enum for the list of possible values.
       
      optional string byoip_api_version = 162683283;
      Parameters:
      value - The bytes for byoipApiVersion to set.
      Returns:
      This builder for chaining.
    • hasCreationTimestamp

      public boolean hasCreationTimestamp()
       Output only. [Output Only] Creation timestamp inRFC3339
       text format.
       
      optional string creation_timestamp = 30525366;
      Specified by:
      hasCreationTimestamp in interface PublicAdvertisedPrefixOrBuilder
      Returns:
      Whether the creationTimestamp field is set.
    • getCreationTimestamp

      public String getCreationTimestamp()
       Output only. [Output Only] Creation timestamp inRFC3339
       text format.
       
      optional string creation_timestamp = 30525366;
      Specified by:
      getCreationTimestamp in interface PublicAdvertisedPrefixOrBuilder
      Returns:
      The creationTimestamp.
    • getCreationTimestampBytes

      public com.google.protobuf.ByteString getCreationTimestampBytes()
       Output only. [Output Only] Creation timestamp inRFC3339
       text format.
       
      optional string creation_timestamp = 30525366;
      Specified by:
      getCreationTimestampBytes in interface PublicAdvertisedPrefixOrBuilder
      Returns:
      The bytes for creationTimestamp.
    • setCreationTimestamp

      public PublicAdvertisedPrefix.Builder setCreationTimestamp(String value)
       Output only. [Output Only] Creation timestamp inRFC3339
       text format.
       
      optional string creation_timestamp = 30525366;
      Parameters:
      value - The creationTimestamp to set.
      Returns:
      This builder for chaining.
    • clearCreationTimestamp

      public PublicAdvertisedPrefix.Builder clearCreationTimestamp()
       Output only. [Output Only] Creation timestamp inRFC3339
       text format.
       
      optional string creation_timestamp = 30525366;
      Returns:
      This builder for chaining.
    • setCreationTimestampBytes

      public PublicAdvertisedPrefix.Builder setCreationTimestampBytes(com.google.protobuf.ByteString value)
       Output only. [Output Only] Creation timestamp inRFC3339
       text format.
       
      optional string creation_timestamp = 30525366;
      Parameters:
      value - The bytes for creationTimestamp to set.
      Returns:
      This builder for chaining.
    • hasDescription

      public boolean hasDescription()
       An optional description of this resource. Provide this property when you
       create the resource.
       
      optional string description = 422937596;
      Specified by:
      hasDescription in interface PublicAdvertisedPrefixOrBuilder
      Returns:
      Whether the description field is set.
    • getDescription

      public String getDescription()
       An optional description of this resource. Provide this property when you
       create the resource.
       
      optional string description = 422937596;
      Specified by:
      getDescription in interface PublicAdvertisedPrefixOrBuilder
      Returns:
      The description.
    • getDescriptionBytes

      public com.google.protobuf.ByteString getDescriptionBytes()
       An optional description of this resource. Provide this property when you
       create the resource.
       
      optional string description = 422937596;
      Specified by:
      getDescriptionBytes in interface PublicAdvertisedPrefixOrBuilder
      Returns:
      The bytes for description.
    • setDescription

      public PublicAdvertisedPrefix.Builder setDescription(String value)
       An optional description of this resource. Provide this property when you
       create the resource.
       
      optional string description = 422937596;
      Parameters:
      value - The description to set.
      Returns:
      This builder for chaining.
    • clearDescription

      public PublicAdvertisedPrefix.Builder clearDescription()
       An optional description of this resource. Provide this property when you
       create the resource.
       
      optional string description = 422937596;
      Returns:
      This builder for chaining.
    • setDescriptionBytes

      public PublicAdvertisedPrefix.Builder setDescriptionBytes(com.google.protobuf.ByteString value)
       An optional description of this resource. Provide this property when you
       create the resource.
       
      optional string description = 422937596;
      Parameters:
      value - The bytes for description to set.
      Returns:
      This builder for chaining.
    • hasDnsVerificationIp

      public boolean hasDnsVerificationIp()
       The address to be used for reverse DNS verification.
       
      optional string dns_verification_ip = 241011381;
      Specified by:
      hasDnsVerificationIp in interface PublicAdvertisedPrefixOrBuilder
      Returns:
      Whether the dnsVerificationIp field is set.
    • getDnsVerificationIp

      public String getDnsVerificationIp()
       The address to be used for reverse DNS verification.
       
      optional string dns_verification_ip = 241011381;
      Specified by:
      getDnsVerificationIp in interface PublicAdvertisedPrefixOrBuilder
      Returns:
      The dnsVerificationIp.
    • getDnsVerificationIpBytes

      public com.google.protobuf.ByteString getDnsVerificationIpBytes()
       The address to be used for reverse DNS verification.
       
      optional string dns_verification_ip = 241011381;
      Specified by:
      getDnsVerificationIpBytes in interface PublicAdvertisedPrefixOrBuilder
      Returns:
      The bytes for dnsVerificationIp.
    • setDnsVerificationIp

      public PublicAdvertisedPrefix.Builder setDnsVerificationIp(String value)
       The address to be used for reverse DNS verification.
       
      optional string dns_verification_ip = 241011381;
      Parameters:
      value - The dnsVerificationIp to set.
      Returns:
      This builder for chaining.
    • clearDnsVerificationIp

      public PublicAdvertisedPrefix.Builder clearDnsVerificationIp()
       The address to be used for reverse DNS verification.
       
      optional string dns_verification_ip = 241011381;
      Returns:
      This builder for chaining.
    • setDnsVerificationIpBytes

      public PublicAdvertisedPrefix.Builder setDnsVerificationIpBytes(com.google.protobuf.ByteString value)
       The address to be used for reverse DNS verification.
       
      optional string dns_verification_ip = 241011381;
      Parameters:
      value - The bytes for dnsVerificationIp to set.
      Returns:
      This builder for chaining.
    • hasFingerprint

      public boolean hasFingerprint()
       Fingerprint of this resource. A hash of the contents stored in this object.
       This field is used in optimistic locking. This field will be ignored when
       inserting a new PublicAdvertisedPrefix. An up-to-date
       fingerprint must be provided in order to update thePublicAdvertisedPrefix, otherwise the request will fail with
       error 412 conditionNotMet.
      
       To see the latest fingerprint, make a get() request to
       retrieve a PublicAdvertisedPrefix.
       
      optional string fingerprint = 234678500;
      Specified by:
      hasFingerprint in interface PublicAdvertisedPrefixOrBuilder
      Returns:
      Whether the fingerprint field is set.
    • getFingerprint

      public String getFingerprint()
       Fingerprint of this resource. A hash of the contents stored in this object.
       This field is used in optimistic locking. This field will be ignored when
       inserting a new PublicAdvertisedPrefix. An up-to-date
       fingerprint must be provided in order to update thePublicAdvertisedPrefix, otherwise the request will fail with
       error 412 conditionNotMet.
      
       To see the latest fingerprint, make a get() request to
       retrieve a PublicAdvertisedPrefix.
       
      optional string fingerprint = 234678500;
      Specified by:
      getFingerprint in interface PublicAdvertisedPrefixOrBuilder
      Returns:
      The fingerprint.
    • getFingerprintBytes

      public com.google.protobuf.ByteString getFingerprintBytes()
       Fingerprint of this resource. A hash of the contents stored in this object.
       This field is used in optimistic locking. This field will be ignored when
       inserting a new PublicAdvertisedPrefix. An up-to-date
       fingerprint must be provided in order to update thePublicAdvertisedPrefix, otherwise the request will fail with
       error 412 conditionNotMet.
      
       To see the latest fingerprint, make a get() request to
       retrieve a PublicAdvertisedPrefix.
       
      optional string fingerprint = 234678500;
      Specified by:
      getFingerprintBytes in interface PublicAdvertisedPrefixOrBuilder
      Returns:
      The bytes for fingerprint.
    • setFingerprint

      public PublicAdvertisedPrefix.Builder setFingerprint(String value)
       Fingerprint of this resource. A hash of the contents stored in this object.
       This field is used in optimistic locking. This field will be ignored when
       inserting a new PublicAdvertisedPrefix. An up-to-date
       fingerprint must be provided in order to update thePublicAdvertisedPrefix, otherwise the request will fail with
       error 412 conditionNotMet.
      
       To see the latest fingerprint, make a get() request to
       retrieve a PublicAdvertisedPrefix.
       
      optional string fingerprint = 234678500;
      Parameters:
      value - The fingerprint to set.
      Returns:
      This builder for chaining.
    • clearFingerprint

      public PublicAdvertisedPrefix.Builder clearFingerprint()
       Fingerprint of this resource. A hash of the contents stored in this object.
       This field is used in optimistic locking. This field will be ignored when
       inserting a new PublicAdvertisedPrefix. An up-to-date
       fingerprint must be provided in order to update thePublicAdvertisedPrefix, otherwise the request will fail with
       error 412 conditionNotMet.
      
       To see the latest fingerprint, make a get() request to
       retrieve a PublicAdvertisedPrefix.
       
      optional string fingerprint = 234678500;
      Returns:
      This builder for chaining.
    • setFingerprintBytes

      public PublicAdvertisedPrefix.Builder setFingerprintBytes(com.google.protobuf.ByteString value)
       Fingerprint of this resource. A hash of the contents stored in this object.
       This field is used in optimistic locking. This field will be ignored when
       inserting a new PublicAdvertisedPrefix. An up-to-date
       fingerprint must be provided in order to update thePublicAdvertisedPrefix, otherwise the request will fail with
       error 412 conditionNotMet.
      
       To see the latest fingerprint, make a get() request to
       retrieve a PublicAdvertisedPrefix.
       
      optional string fingerprint = 234678500;
      Parameters:
      value - The bytes for fingerprint to set.
      Returns:
      This builder for chaining.
    • hasId

      public boolean hasId()
       Output only. [Output Only] The unique identifier for the resource type. The server
       generates this identifier.
       
      optional uint64 id = 3355;
      Specified by:
      hasId in interface PublicAdvertisedPrefixOrBuilder
      Returns:
      Whether the id field is set.
    • getId

      public long getId()
       Output only. [Output Only] The unique identifier for the resource type. The server
       generates this identifier.
       
      optional uint64 id = 3355;
      Specified by:
      getId in interface PublicAdvertisedPrefixOrBuilder
      Returns:
      The id.
    • setId

      public PublicAdvertisedPrefix.Builder setId(long value)
       Output only. [Output Only] The unique identifier for the resource type. The server
       generates this identifier.
       
      optional uint64 id = 3355;
      Parameters:
      value - The id to set.
      Returns:
      This builder for chaining.
    • clearId

       Output only. [Output Only] The unique identifier for the resource type. The server
       generates this identifier.
       
      optional uint64 id = 3355;
      Returns:
      This builder for chaining.
    • hasIpCidrRange

      public boolean hasIpCidrRange()
       The address range, in CIDR format, represented by this public advertised
       prefix.
       
      optional string ip_cidr_range = 98117322;
      Specified by:
      hasIpCidrRange in interface PublicAdvertisedPrefixOrBuilder
      Returns:
      Whether the ipCidrRange field is set.
    • getIpCidrRange

      public String getIpCidrRange()
       The address range, in CIDR format, represented by this public advertised
       prefix.
       
      optional string ip_cidr_range = 98117322;
      Specified by:
      getIpCidrRange in interface PublicAdvertisedPrefixOrBuilder
      Returns:
      The ipCidrRange.
    • getIpCidrRangeBytes

      public com.google.protobuf.ByteString getIpCidrRangeBytes()
       The address range, in CIDR format, represented by this public advertised
       prefix.
       
      optional string ip_cidr_range = 98117322;
      Specified by:
      getIpCidrRangeBytes in interface PublicAdvertisedPrefixOrBuilder
      Returns:
      The bytes for ipCidrRange.
    • setIpCidrRange

      public PublicAdvertisedPrefix.Builder setIpCidrRange(String value)
       The address range, in CIDR format, represented by this public advertised
       prefix.
       
      optional string ip_cidr_range = 98117322;
      Parameters:
      value - The ipCidrRange to set.
      Returns:
      This builder for chaining.
    • clearIpCidrRange

      public PublicAdvertisedPrefix.Builder clearIpCidrRange()
       The address range, in CIDR format, represented by this public advertised
       prefix.
       
      optional string ip_cidr_range = 98117322;
      Returns:
      This builder for chaining.
    • setIpCidrRangeBytes

      public PublicAdvertisedPrefix.Builder setIpCidrRangeBytes(com.google.protobuf.ByteString value)
       The address range, in CIDR format, represented by this public advertised
       prefix.
       
      optional string ip_cidr_range = 98117322;
      Parameters:
      value - The bytes for ipCidrRange to set.
      Returns:
      This builder for chaining.
    • hasIpv6AccessType

      public boolean hasIpv6AccessType()
       The internet access type for IPv6 Public Advertised Prefixes.
       Check the Ipv6AccessType enum for the list of possible values.
       
      optional string ipv6_access_type = 504658653;
      Specified by:
      hasIpv6AccessType in interface PublicAdvertisedPrefixOrBuilder
      Returns:
      Whether the ipv6AccessType field is set.
    • getIpv6AccessType

      public String getIpv6AccessType()
       The internet access type for IPv6 Public Advertised Prefixes.
       Check the Ipv6AccessType enum for the list of possible values.
       
      optional string ipv6_access_type = 504658653;
      Specified by:
      getIpv6AccessType in interface PublicAdvertisedPrefixOrBuilder
      Returns:
      The ipv6AccessType.
    • getIpv6AccessTypeBytes

      public com.google.protobuf.ByteString getIpv6AccessTypeBytes()
       The internet access type for IPv6 Public Advertised Prefixes.
       Check the Ipv6AccessType enum for the list of possible values.
       
      optional string ipv6_access_type = 504658653;
      Specified by:
      getIpv6AccessTypeBytes in interface PublicAdvertisedPrefixOrBuilder
      Returns:
      The bytes for ipv6AccessType.
    • setIpv6AccessType

      public PublicAdvertisedPrefix.Builder setIpv6AccessType(String value)
       The internet access type for IPv6 Public Advertised Prefixes.
       Check the Ipv6AccessType enum for the list of possible values.
       
      optional string ipv6_access_type = 504658653;
      Parameters:
      value - The ipv6AccessType to set.
      Returns:
      This builder for chaining.
    • clearIpv6AccessType

      public PublicAdvertisedPrefix.Builder clearIpv6AccessType()
       The internet access type for IPv6 Public Advertised Prefixes.
       Check the Ipv6AccessType enum for the list of possible values.
       
      optional string ipv6_access_type = 504658653;
      Returns:
      This builder for chaining.
    • setIpv6AccessTypeBytes

      public PublicAdvertisedPrefix.Builder setIpv6AccessTypeBytes(com.google.protobuf.ByteString value)
       The internet access type for IPv6 Public Advertised Prefixes.
       Check the Ipv6AccessType enum for the list of possible values.
       
      optional string ipv6_access_type = 504658653;
      Parameters:
      value - The bytes for ipv6AccessType to set.
      Returns:
      This builder for chaining.
    • hasKind

      public boolean hasKind()
       Output only. [Output Only] Type of the resource. Alwayscompute#publicAdvertisedPrefix for public advertised prefixes.
       
      optional string kind = 3292052;
      Specified by:
      hasKind in interface PublicAdvertisedPrefixOrBuilder
      Returns:
      Whether the kind field is set.
    • getKind

      public String getKind()
       Output only. [Output Only] Type of the resource. Alwayscompute#publicAdvertisedPrefix for public advertised prefixes.
       
      optional string kind = 3292052;
      Specified by:
      getKind in interface PublicAdvertisedPrefixOrBuilder
      Returns:
      The kind.
    • getKindBytes

      public com.google.protobuf.ByteString getKindBytes()
       Output only. [Output Only] Type of the resource. Alwayscompute#publicAdvertisedPrefix for public advertised prefixes.
       
      optional string kind = 3292052;
      Specified by:
      getKindBytes in interface PublicAdvertisedPrefixOrBuilder
      Returns:
      The bytes for kind.
    • setKind

      public PublicAdvertisedPrefix.Builder setKind(String value)
       Output only. [Output Only] Type of the resource. Alwayscompute#publicAdvertisedPrefix for public advertised prefixes.
       
      optional string kind = 3292052;
      Parameters:
      value - The kind to set.
      Returns:
      This builder for chaining.
    • clearKind

      public PublicAdvertisedPrefix.Builder clearKind()
       Output only. [Output Only] Type of the resource. Alwayscompute#publicAdvertisedPrefix for public advertised prefixes.
       
      optional string kind = 3292052;
      Returns:
      This builder for chaining.
    • setKindBytes

      public PublicAdvertisedPrefix.Builder setKindBytes(com.google.protobuf.ByteString value)
       Output only. [Output Only] Type of the resource. Alwayscompute#publicAdvertisedPrefix for public advertised prefixes.
       
      optional string kind = 3292052;
      Parameters:
      value - The bytes for kind to set.
      Returns:
      This builder for chaining.
    • hasName

      public boolean hasName()
       Name of the resource. Provided by the client when the resource is created.
       The name must be 1-63 characters long, and comply withRFC1035.
       Specifically, the name must be 1-63 characters long and match the regular
       expression `[a-z]([-a-z0-9]*[a-z0-9])?` which means the first
       character must be a lowercase letter, and all following characters must
       be a dash, lowercase letter, or digit, except the last character, which
       cannot be a dash.
       
      optional string name = 3373707;
      Specified by:
      hasName in interface PublicAdvertisedPrefixOrBuilder
      Returns:
      Whether the name field is set.
    • getName

      public String getName()
       Name of the resource. Provided by the client when the resource is created.
       The name must be 1-63 characters long, and comply withRFC1035.
       Specifically, the name must be 1-63 characters long and match the regular
       expression `[a-z]([-a-z0-9]*[a-z0-9])?` which means the first
       character must be a lowercase letter, and all following characters must
       be a dash, lowercase letter, or digit, except the last character, which
       cannot be a dash.
       
      optional string name = 3373707;
      Specified by:
      getName in interface PublicAdvertisedPrefixOrBuilder
      Returns:
      The name.
    • getNameBytes

      public com.google.protobuf.ByteString getNameBytes()
       Name of the resource. Provided by the client when the resource is created.
       The name must be 1-63 characters long, and comply withRFC1035.
       Specifically, the name must be 1-63 characters long and match the regular
       expression `[a-z]([-a-z0-9]*[a-z0-9])?` which means the first
       character must be a lowercase letter, and all following characters must
       be a dash, lowercase letter, or digit, except the last character, which
       cannot be a dash.
       
      optional string name = 3373707;
      Specified by:
      getNameBytes in interface PublicAdvertisedPrefixOrBuilder
      Returns:
      The bytes for name.
    • setName

      public PublicAdvertisedPrefix.Builder setName(String value)
       Name of the resource. Provided by the client when the resource is created.
       The name must be 1-63 characters long, and comply withRFC1035.
       Specifically, the name must be 1-63 characters long and match the regular
       expression `[a-z]([-a-z0-9]*[a-z0-9])?` which means the first
       character must be a lowercase letter, and all following characters must
       be a dash, lowercase letter, or digit, except the last character, which
       cannot be a dash.
       
      optional string name = 3373707;
      Parameters:
      value - The name to set.
      Returns:
      This builder for chaining.
    • clearName

      public PublicAdvertisedPrefix.Builder clearName()
       Name of the resource. Provided by the client when the resource is created.
       The name must be 1-63 characters long, and comply withRFC1035.
       Specifically, the name must be 1-63 characters long and match the regular
       expression `[a-z]([-a-z0-9]*[a-z0-9])?` which means the first
       character must be a lowercase letter, and all following characters must
       be a dash, lowercase letter, or digit, except the last character, which
       cannot be a dash.
       
      optional string name = 3373707;
      Returns:
      This builder for chaining.
    • setNameBytes

      public PublicAdvertisedPrefix.Builder setNameBytes(com.google.protobuf.ByteString value)
       Name of the resource. Provided by the client when the resource is created.
       The name must be 1-63 characters long, and comply withRFC1035.
       Specifically, the name must be 1-63 characters long and match the regular
       expression `[a-z]([-a-z0-9]*[a-z0-9])?` which means the first
       character must be a lowercase letter, and all following characters must
       be a dash, lowercase letter, or digit, except the last character, which
       cannot be a dash.
       
      optional string name = 3373707;
      Parameters:
      value - The bytes for name to set.
      Returns:
      This builder for chaining.
    • hasPdpScope

      public boolean hasPdpScope()
       Specifies how child public delegated prefix will be scoped. It could
       be one of following values:
      
      
       - `REGIONAL`: The public delegated prefix is regional only. The
       provisioning will take a few minutes.
       - `GLOBAL`: The public delegated prefix is global only. The
       provisioning will take ~4 weeks.
       - `GLOBAL_AND_REGIONAL` [output only]: The public delegated prefixes is
       BYOIP V1 legacy prefix. This is output only value and no longer
       supported in BYOIP V2.
       Check the PdpScope enum for the list of possible values.
       
      optional string pdp_scope = 524264785;
      Specified by:
      hasPdpScope in interface PublicAdvertisedPrefixOrBuilder
      Returns:
      Whether the pdpScope field is set.
    • getPdpScope

      public String getPdpScope()
       Specifies how child public delegated prefix will be scoped. It could
       be one of following values:
      
      
       - `REGIONAL`: The public delegated prefix is regional only. The
       provisioning will take a few minutes.
       - `GLOBAL`: The public delegated prefix is global only. The
       provisioning will take ~4 weeks.
       - `GLOBAL_AND_REGIONAL` [output only]: The public delegated prefixes is
       BYOIP V1 legacy prefix. This is output only value and no longer
       supported in BYOIP V2.
       Check the PdpScope enum for the list of possible values.
       
      optional string pdp_scope = 524264785;
      Specified by:
      getPdpScope in interface PublicAdvertisedPrefixOrBuilder
      Returns:
      The pdpScope.
    • getPdpScopeBytes

      public com.google.protobuf.ByteString getPdpScopeBytes()
       Specifies how child public delegated prefix will be scoped. It could
       be one of following values:
      
      
       - `REGIONAL`: The public delegated prefix is regional only. The
       provisioning will take a few minutes.
       - `GLOBAL`: The public delegated prefix is global only. The
       provisioning will take ~4 weeks.
       - `GLOBAL_AND_REGIONAL` [output only]: The public delegated prefixes is
       BYOIP V1 legacy prefix. This is output only value and no longer
       supported in BYOIP V2.
       Check the PdpScope enum for the list of possible values.
       
      optional string pdp_scope = 524264785;
      Specified by:
      getPdpScopeBytes in interface PublicAdvertisedPrefixOrBuilder
      Returns:
      The bytes for pdpScope.
    • setPdpScope

      public PublicAdvertisedPrefix.Builder setPdpScope(String value)
       Specifies how child public delegated prefix will be scoped. It could
       be one of following values:
      
      
       - `REGIONAL`: The public delegated prefix is regional only. The
       provisioning will take a few minutes.
       - `GLOBAL`: The public delegated prefix is global only. The
       provisioning will take ~4 weeks.
       - `GLOBAL_AND_REGIONAL` [output only]: The public delegated prefixes is
       BYOIP V1 legacy prefix. This is output only value and no longer
       supported in BYOIP V2.
       Check the PdpScope enum for the list of possible values.
       
      optional string pdp_scope = 524264785;
      Parameters:
      value - The pdpScope to set.
      Returns:
      This builder for chaining.
    • clearPdpScope

      public PublicAdvertisedPrefix.Builder clearPdpScope()
       Specifies how child public delegated prefix will be scoped. It could
       be one of following values:
      
      
       - `REGIONAL`: The public delegated prefix is regional only. The
       provisioning will take a few minutes.
       - `GLOBAL`: The public delegated prefix is global only. The
       provisioning will take ~4 weeks.
       - `GLOBAL_AND_REGIONAL` [output only]: The public delegated prefixes is
       BYOIP V1 legacy prefix. This is output only value and no longer
       supported in BYOIP V2.
       Check the PdpScope enum for the list of possible values.
       
      optional string pdp_scope = 524264785;
      Returns:
      This builder for chaining.
    • setPdpScopeBytes

      public PublicAdvertisedPrefix.Builder setPdpScopeBytes(com.google.protobuf.ByteString value)
       Specifies how child public delegated prefix will be scoped. It could
       be one of following values:
      
      
       - `REGIONAL`: The public delegated prefix is regional only. The
       provisioning will take a few minutes.
       - `GLOBAL`: The public delegated prefix is global only. The
       provisioning will take ~4 weeks.
       - `GLOBAL_AND_REGIONAL` [output only]: The public delegated prefixes is
       BYOIP V1 legacy prefix. This is output only value and no longer
       supported in BYOIP V2.
       Check the PdpScope enum for the list of possible values.
       
      optional string pdp_scope = 524264785;
      Parameters:
      value - The bytes for pdpScope to set.
      Returns:
      This builder for chaining.
    • getPublicDelegatedPrefixsList

      public List<PublicAdvertisedPrefixPublicDelegatedPrefix> getPublicDelegatedPrefixsList()
       Output only. [Output Only] The list of public delegated prefixes that exist for this
       public advertised prefix.
       
      repeated .google.cloud.compute.v1.PublicAdvertisedPrefixPublicDelegatedPrefix public_delegated_prefixs = 425811723;
      Specified by:
      getPublicDelegatedPrefixsList in interface PublicAdvertisedPrefixOrBuilder
    • getPublicDelegatedPrefixsCount

      public int getPublicDelegatedPrefixsCount()
       Output only. [Output Only] The list of public delegated prefixes that exist for this
       public advertised prefix.
       
      repeated .google.cloud.compute.v1.PublicAdvertisedPrefixPublicDelegatedPrefix public_delegated_prefixs = 425811723;
      Specified by:
      getPublicDelegatedPrefixsCount in interface PublicAdvertisedPrefixOrBuilder
    • getPublicDelegatedPrefixs

      public PublicAdvertisedPrefixPublicDelegatedPrefix getPublicDelegatedPrefixs(int index)
       Output only. [Output Only] The list of public delegated prefixes that exist for this
       public advertised prefix.
       
      repeated .google.cloud.compute.v1.PublicAdvertisedPrefixPublicDelegatedPrefix public_delegated_prefixs = 425811723;
      Specified by:
      getPublicDelegatedPrefixs in interface PublicAdvertisedPrefixOrBuilder
    • setPublicDelegatedPrefixs

      public PublicAdvertisedPrefix.Builder setPublicDelegatedPrefixs(int index, PublicAdvertisedPrefixPublicDelegatedPrefix value)
       Output only. [Output Only] The list of public delegated prefixes that exist for this
       public advertised prefix.
       
      repeated .google.cloud.compute.v1.PublicAdvertisedPrefixPublicDelegatedPrefix public_delegated_prefixs = 425811723;
    • setPublicDelegatedPrefixs

      public PublicAdvertisedPrefix.Builder setPublicDelegatedPrefixs(int index, PublicAdvertisedPrefixPublicDelegatedPrefix.Builder builderForValue)
       Output only. [Output Only] The list of public delegated prefixes that exist for this
       public advertised prefix.
       
      repeated .google.cloud.compute.v1.PublicAdvertisedPrefixPublicDelegatedPrefix public_delegated_prefixs = 425811723;
    • addPublicDelegatedPrefixs

       Output only. [Output Only] The list of public delegated prefixes that exist for this
       public advertised prefix.
       
      repeated .google.cloud.compute.v1.PublicAdvertisedPrefixPublicDelegatedPrefix public_delegated_prefixs = 425811723;
    • addPublicDelegatedPrefixs

      public PublicAdvertisedPrefix.Builder addPublicDelegatedPrefixs(int index, PublicAdvertisedPrefixPublicDelegatedPrefix value)
       Output only. [Output Only] The list of public delegated prefixes that exist for this
       public advertised prefix.
       
      repeated .google.cloud.compute.v1.PublicAdvertisedPrefixPublicDelegatedPrefix public_delegated_prefixs = 425811723;
    • addPublicDelegatedPrefixs

      public PublicAdvertisedPrefix.Builder addPublicDelegatedPrefixs(PublicAdvertisedPrefixPublicDelegatedPrefix.Builder builderForValue)
       Output only. [Output Only] The list of public delegated prefixes that exist for this
       public advertised prefix.
       
      repeated .google.cloud.compute.v1.PublicAdvertisedPrefixPublicDelegatedPrefix public_delegated_prefixs = 425811723;
    • addPublicDelegatedPrefixs

      public PublicAdvertisedPrefix.Builder addPublicDelegatedPrefixs(int index, PublicAdvertisedPrefixPublicDelegatedPrefix.Builder builderForValue)
       Output only. [Output Only] The list of public delegated prefixes that exist for this
       public advertised prefix.
       
      repeated .google.cloud.compute.v1.PublicAdvertisedPrefixPublicDelegatedPrefix public_delegated_prefixs = 425811723;
    • addAllPublicDelegatedPrefixs

      public PublicAdvertisedPrefix.Builder addAllPublicDelegatedPrefixs(Iterable<? extends PublicAdvertisedPrefixPublicDelegatedPrefix> values)
       Output only. [Output Only] The list of public delegated prefixes that exist for this
       public advertised prefix.
       
      repeated .google.cloud.compute.v1.PublicAdvertisedPrefixPublicDelegatedPrefix public_delegated_prefixs = 425811723;
    • clearPublicDelegatedPrefixs

      public PublicAdvertisedPrefix.Builder clearPublicDelegatedPrefixs()
       Output only. [Output Only] The list of public delegated prefixes that exist for this
       public advertised prefix.
       
      repeated .google.cloud.compute.v1.PublicAdvertisedPrefixPublicDelegatedPrefix public_delegated_prefixs = 425811723;
    • removePublicDelegatedPrefixs

      public PublicAdvertisedPrefix.Builder removePublicDelegatedPrefixs(int index)
       Output only. [Output Only] The list of public delegated prefixes that exist for this
       public advertised prefix.
       
      repeated .google.cloud.compute.v1.PublicAdvertisedPrefixPublicDelegatedPrefix public_delegated_prefixs = 425811723;
    • getPublicDelegatedPrefixsBuilder

      public PublicAdvertisedPrefixPublicDelegatedPrefix.Builder getPublicDelegatedPrefixsBuilder(int index)
       Output only. [Output Only] The list of public delegated prefixes that exist for this
       public advertised prefix.
       
      repeated .google.cloud.compute.v1.PublicAdvertisedPrefixPublicDelegatedPrefix public_delegated_prefixs = 425811723;
    • getPublicDelegatedPrefixsOrBuilder

      public PublicAdvertisedPrefixPublicDelegatedPrefixOrBuilder getPublicDelegatedPrefixsOrBuilder(int index)
       Output only. [Output Only] The list of public delegated prefixes that exist for this
       public advertised prefix.
       
      repeated .google.cloud.compute.v1.PublicAdvertisedPrefixPublicDelegatedPrefix public_delegated_prefixs = 425811723;
      Specified by:
      getPublicDelegatedPrefixsOrBuilder in interface PublicAdvertisedPrefixOrBuilder
    • getPublicDelegatedPrefixsOrBuilderList

      public List<? extends PublicAdvertisedPrefixPublicDelegatedPrefixOrBuilder> getPublicDelegatedPrefixsOrBuilderList()
       Output only. [Output Only] The list of public delegated prefixes that exist for this
       public advertised prefix.
       
      repeated .google.cloud.compute.v1.PublicAdvertisedPrefixPublicDelegatedPrefix public_delegated_prefixs = 425811723;
      Specified by:
      getPublicDelegatedPrefixsOrBuilderList in interface PublicAdvertisedPrefixOrBuilder
    • addPublicDelegatedPrefixsBuilder

      public PublicAdvertisedPrefixPublicDelegatedPrefix.Builder addPublicDelegatedPrefixsBuilder()
       Output only. [Output Only] The list of public delegated prefixes that exist for this
       public advertised prefix.
       
      repeated .google.cloud.compute.v1.PublicAdvertisedPrefixPublicDelegatedPrefix public_delegated_prefixs = 425811723;
    • addPublicDelegatedPrefixsBuilder

      public PublicAdvertisedPrefixPublicDelegatedPrefix.Builder addPublicDelegatedPrefixsBuilder(int index)
       Output only. [Output Only] The list of public delegated prefixes that exist for this
       public advertised prefix.
       
      repeated .google.cloud.compute.v1.PublicAdvertisedPrefixPublicDelegatedPrefix public_delegated_prefixs = 425811723;
    • getPublicDelegatedPrefixsBuilderList

      public List<PublicAdvertisedPrefixPublicDelegatedPrefix.Builder> getPublicDelegatedPrefixsBuilderList()
       Output only. [Output Only] The list of public delegated prefixes that exist for this
       public advertised prefix.
       
      repeated .google.cloud.compute.v1.PublicAdvertisedPrefixPublicDelegatedPrefix public_delegated_prefixs = 425811723;
    • hasSelfLink

      public boolean hasSelfLink()
       Output only. [Output Only] Server-defined URL for the resource.
       
      optional string self_link = 456214797;
      Specified by:
      hasSelfLink in interface PublicAdvertisedPrefixOrBuilder
      Returns:
      Whether the selfLink field is set.
    • getSelfLink

      public String getSelfLink()
       Output only. [Output Only] Server-defined URL for the resource.
       
      optional string self_link = 456214797;
      Specified by:
      getSelfLink in interface PublicAdvertisedPrefixOrBuilder
      Returns:
      The selfLink.
    • getSelfLinkBytes

      public com.google.protobuf.ByteString getSelfLinkBytes()
       Output only. [Output Only] Server-defined URL for the resource.
       
      optional string self_link = 456214797;
      Specified by:
      getSelfLinkBytes in interface PublicAdvertisedPrefixOrBuilder
      Returns:
      The bytes for selfLink.
    • setSelfLink

      public PublicAdvertisedPrefix.Builder setSelfLink(String value)
       Output only. [Output Only] Server-defined URL for the resource.
       
      optional string self_link = 456214797;
      Parameters:
      value - The selfLink to set.
      Returns:
      This builder for chaining.
    • clearSelfLink

      public PublicAdvertisedPrefix.Builder clearSelfLink()
       Output only. [Output Only] Server-defined URL for the resource.
       
      optional string self_link = 456214797;
      Returns:
      This builder for chaining.
    • setSelfLinkBytes

      public PublicAdvertisedPrefix.Builder setSelfLinkBytes(com.google.protobuf.ByteString value)
       Output only. [Output Only] Server-defined URL for the resource.
       
      optional string self_link = 456214797;
      Parameters:
      value - The bytes for selfLink to set.
      Returns:
      This builder for chaining.
    • hasSharedSecret

      public boolean hasSharedSecret()
       [Output Only] The shared secret to be used for reverse DNS verification.
       
      optional string shared_secret = 381932490;
      Specified by:
      hasSharedSecret in interface PublicAdvertisedPrefixOrBuilder
      Returns:
      Whether the sharedSecret field is set.
    • getSharedSecret

      public String getSharedSecret()
       [Output Only] The shared secret to be used for reverse DNS verification.
       
      optional string shared_secret = 381932490;
      Specified by:
      getSharedSecret in interface PublicAdvertisedPrefixOrBuilder
      Returns:
      The sharedSecret.
    • getSharedSecretBytes

      public com.google.protobuf.ByteString getSharedSecretBytes()
       [Output Only] The shared secret to be used for reverse DNS verification.
       
      optional string shared_secret = 381932490;
      Specified by:
      getSharedSecretBytes in interface PublicAdvertisedPrefixOrBuilder
      Returns:
      The bytes for sharedSecret.
    • setSharedSecret

      public PublicAdvertisedPrefix.Builder setSharedSecret(String value)
       [Output Only] The shared secret to be used for reverse DNS verification.
       
      optional string shared_secret = 381932490;
      Parameters:
      value - The sharedSecret to set.
      Returns:
      This builder for chaining.
    • clearSharedSecret

      public PublicAdvertisedPrefix.Builder clearSharedSecret()
       [Output Only] The shared secret to be used for reverse DNS verification.
       
      optional string shared_secret = 381932490;
      Returns:
      This builder for chaining.
    • setSharedSecretBytes

      public PublicAdvertisedPrefix.Builder setSharedSecretBytes(com.google.protobuf.ByteString value)
       [Output Only] The shared secret to be used for reverse DNS verification.
       
      optional string shared_secret = 381932490;
      Parameters:
      value - The bytes for sharedSecret to set.
      Returns:
      This builder for chaining.
    • hasStatus

      public boolean hasStatus()
       The status of the public advertised prefix. Possible values include:
      
      
       - `INITIAL`: RPKI validation is complete.
       - `PTR_CONFIGURED`: User has configured the PTR.
       - `VALIDATED`: Reverse DNS lookup is successful.
       - `REVERSE_DNS_LOOKUP_FAILED`: Reverse DNS lookup failed.
       - `PREFIX_CONFIGURATION_IN_PROGRESS`: The prefix is being
       configured.
       - `PREFIX_CONFIGURATION_COMPLETE`: The prefix is fully configured.
       - `PREFIX_REMOVAL_IN_PROGRESS`: The prefix is being removed.
       Check the Status enum for the list of possible values.
       
      optional string status = 181260274;
      Specified by:
      hasStatus in interface PublicAdvertisedPrefixOrBuilder
      Returns:
      Whether the status field is set.
    • getStatus

      public String getStatus()
       The status of the public advertised prefix. Possible values include:
      
      
       - `INITIAL`: RPKI validation is complete.
       - `PTR_CONFIGURED`: User has configured the PTR.
       - `VALIDATED`: Reverse DNS lookup is successful.
       - `REVERSE_DNS_LOOKUP_FAILED`: Reverse DNS lookup failed.
       - `PREFIX_CONFIGURATION_IN_PROGRESS`: The prefix is being
       configured.
       - `PREFIX_CONFIGURATION_COMPLETE`: The prefix is fully configured.
       - `PREFIX_REMOVAL_IN_PROGRESS`: The prefix is being removed.
       Check the Status enum for the list of possible values.
       
      optional string status = 181260274;
      Specified by:
      getStatus in interface PublicAdvertisedPrefixOrBuilder
      Returns:
      The status.
    • getStatusBytes

      public com.google.protobuf.ByteString getStatusBytes()
       The status of the public advertised prefix. Possible values include:
      
      
       - `INITIAL`: RPKI validation is complete.
       - `PTR_CONFIGURED`: User has configured the PTR.
       - `VALIDATED`: Reverse DNS lookup is successful.
       - `REVERSE_DNS_LOOKUP_FAILED`: Reverse DNS lookup failed.
       - `PREFIX_CONFIGURATION_IN_PROGRESS`: The prefix is being
       configured.
       - `PREFIX_CONFIGURATION_COMPLETE`: The prefix is fully configured.
       - `PREFIX_REMOVAL_IN_PROGRESS`: The prefix is being removed.
       Check the Status enum for the list of possible values.
       
      optional string status = 181260274;
      Specified by:
      getStatusBytes in interface PublicAdvertisedPrefixOrBuilder
      Returns:
      The bytes for status.
    • setStatus

      public PublicAdvertisedPrefix.Builder setStatus(String value)
       The status of the public advertised prefix. Possible values include:
      
      
       - `INITIAL`: RPKI validation is complete.
       - `PTR_CONFIGURED`: User has configured the PTR.
       - `VALIDATED`: Reverse DNS lookup is successful.
       - `REVERSE_DNS_LOOKUP_FAILED`: Reverse DNS lookup failed.
       - `PREFIX_CONFIGURATION_IN_PROGRESS`: The prefix is being
       configured.
       - `PREFIX_CONFIGURATION_COMPLETE`: The prefix is fully configured.
       - `PREFIX_REMOVAL_IN_PROGRESS`: The prefix is being removed.
       Check the Status enum for the list of possible values.
       
      optional string status = 181260274;
      Parameters:
      value - The status to set.
      Returns:
      This builder for chaining.
    • clearStatus

      public PublicAdvertisedPrefix.Builder clearStatus()
       The status of the public advertised prefix. Possible values include:
      
      
       - `INITIAL`: RPKI validation is complete.
       - `PTR_CONFIGURED`: User has configured the PTR.
       - `VALIDATED`: Reverse DNS lookup is successful.
       - `REVERSE_DNS_LOOKUP_FAILED`: Reverse DNS lookup failed.
       - `PREFIX_CONFIGURATION_IN_PROGRESS`: The prefix is being
       configured.
       - `PREFIX_CONFIGURATION_COMPLETE`: The prefix is fully configured.
       - `PREFIX_REMOVAL_IN_PROGRESS`: The prefix is being removed.
       Check the Status enum for the list of possible values.
       
      optional string status = 181260274;
      Returns:
      This builder for chaining.
    • setStatusBytes

      public PublicAdvertisedPrefix.Builder setStatusBytes(com.google.protobuf.ByteString value)
       The status of the public advertised prefix. Possible values include:
      
      
       - `INITIAL`: RPKI validation is complete.
       - `PTR_CONFIGURED`: User has configured the PTR.
       - `VALIDATED`: Reverse DNS lookup is successful.
       - `REVERSE_DNS_LOOKUP_FAILED`: Reverse DNS lookup failed.
       - `PREFIX_CONFIGURATION_IN_PROGRESS`: The prefix is being
       configured.
       - `PREFIX_CONFIGURATION_COMPLETE`: The prefix is fully configured.
       - `PREFIX_REMOVAL_IN_PROGRESS`: The prefix is being removed.
       Check the Status enum for the list of possible values.
       
      optional string status = 181260274;
      Parameters:
      value - The bytes for status to set.
      Returns:
      This builder for chaining.