Class PublicDelegatedPrefix.Builder

  • All Implemented Interfaces:
    PublicDelegatedPrefixOrBuilder, com.google.protobuf.Message.Builder, com.google.protobuf.MessageLite.Builder, com.google.protobuf.MessageLiteOrBuilder, com.google.protobuf.MessageOrBuilder, Cloneable
    Enclosing class:
    PublicDelegatedPrefix

    public static final class PublicDelegatedPrefix.Builder
    extends com.google.protobuf.GeneratedMessageV3.Builder<PublicDelegatedPrefix.Builder>
    implements PublicDelegatedPrefixOrBuilder
     A PublicDelegatedPrefix resource represents an IP block within a PublicAdvertisedPrefix that is configured within a single cloud scope (global or region). IPs in the block can be allocated to resources within that scope. Public delegated prefixes may be further broken up into smaller IP blocks in the same scope as the parent block.
     
    Protobuf type google.cloud.compute.v1.PublicDelegatedPrefix
    • Method Detail

      • getDescriptor

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

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

        public PublicDelegatedPrefix.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.GeneratedMessageV3.Builder<PublicDelegatedPrefix.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.GeneratedMessageV3.Builder<PublicDelegatedPrefix.Builder>
      • getDefaultInstanceForType

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

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

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

        public PublicDelegatedPrefix.Builder clone()
        Specified by:
        clone in interface com.google.protobuf.Message.Builder
        Specified by:
        clone in interface com.google.protobuf.MessageLite.Builder
        Overrides:
        clone in class com.google.protobuf.GeneratedMessageV3.Builder<PublicDelegatedPrefix.Builder>
      • clearField

        public PublicDelegatedPrefix.Builder clearField​(com.google.protobuf.Descriptors.FieldDescriptor field)
        Specified by:
        clearField in interface com.google.protobuf.Message.Builder
        Overrides:
        clearField in class com.google.protobuf.GeneratedMessageV3.Builder<PublicDelegatedPrefix.Builder>
      • clearOneof

        public PublicDelegatedPrefix.Builder clearOneof​(com.google.protobuf.Descriptors.OneofDescriptor oneof)
        Specified by:
        clearOneof in interface com.google.protobuf.Message.Builder
        Overrides:
        clearOneof in class com.google.protobuf.GeneratedMessageV3.Builder<PublicDelegatedPrefix.Builder>
      • setRepeatedField

        public PublicDelegatedPrefix.Builder setRepeatedField​(com.google.protobuf.Descriptors.FieldDescriptor field,
                                                              int index,
                                                              Object value)
        Specified by:
        setRepeatedField in interface com.google.protobuf.Message.Builder
        Overrides:
        setRepeatedField in class com.google.protobuf.GeneratedMessageV3.Builder<PublicDelegatedPrefix.Builder>
      • addRepeatedField

        public PublicDelegatedPrefix.Builder addRepeatedField​(com.google.protobuf.Descriptors.FieldDescriptor field,
                                                              Object value)
        Specified by:
        addRepeatedField in interface com.google.protobuf.Message.Builder
        Overrides:
        addRepeatedField in class com.google.protobuf.GeneratedMessageV3.Builder<PublicDelegatedPrefix.Builder>
      • isInitialized

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

        public PublicDelegatedPrefix.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<PublicDelegatedPrefix.Builder>
        Throws:
        IOException
      • hasCreationTimestamp

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

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

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

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

        public PublicDelegatedPrefix.Builder setCreationTimestampBytes​(com.google.protobuf.ByteString value)
         [Output Only] Creation timestamp in RFC3339 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 PublicDelegatedPrefixOrBuilder
        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 PublicDelegatedPrefixOrBuilder
        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 PublicDelegatedPrefixOrBuilder
        Returns:
        The bytes for description.
      • setDescription

        public PublicDelegatedPrefix.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 PublicDelegatedPrefix.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 PublicDelegatedPrefix.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.
      • 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 PublicDelegatedPrefix. An up-to-date fingerprint must be provided in order to update the PublicDelegatedPrefix, otherwise the request will fail with error 412 conditionNotMet. To see the latest fingerprint, make a get() request to retrieve a PublicDelegatedPrefix.
         
        optional string fingerprint = 234678500;
        Specified by:
        hasFingerprint in interface PublicDelegatedPrefixOrBuilder
        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 PublicDelegatedPrefix. An up-to-date fingerprint must be provided in order to update the PublicDelegatedPrefix, otherwise the request will fail with error 412 conditionNotMet. To see the latest fingerprint, make a get() request to retrieve a PublicDelegatedPrefix.
         
        optional string fingerprint = 234678500;
        Specified by:
        getFingerprint in interface PublicDelegatedPrefixOrBuilder
        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 PublicDelegatedPrefix. An up-to-date fingerprint must be provided in order to update the PublicDelegatedPrefix, otherwise the request will fail with error 412 conditionNotMet. To see the latest fingerprint, make a get() request to retrieve a PublicDelegatedPrefix.
         
        optional string fingerprint = 234678500;
        Specified by:
        getFingerprintBytes in interface PublicDelegatedPrefixOrBuilder
        Returns:
        The bytes for fingerprint.
      • setFingerprint

        public PublicDelegatedPrefix.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 PublicDelegatedPrefix. An up-to-date fingerprint must be provided in order to update the PublicDelegatedPrefix, otherwise the request will fail with error 412 conditionNotMet. To see the latest fingerprint, make a get() request to retrieve a PublicDelegatedPrefix.
         
        optional string fingerprint = 234678500;
        Parameters:
        value - The fingerprint to set.
        Returns:
        This builder for chaining.
      • clearFingerprint

        public PublicDelegatedPrefix.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 PublicDelegatedPrefix. An up-to-date fingerprint must be provided in order to update the PublicDelegatedPrefix, otherwise the request will fail with error 412 conditionNotMet. To see the latest fingerprint, make a get() request to retrieve a PublicDelegatedPrefix.
         
        optional string fingerprint = 234678500;
        Returns:
        This builder for chaining.
      • setFingerprintBytes

        public PublicDelegatedPrefix.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 PublicDelegatedPrefix. An up-to-date fingerprint must be provided in order to update the PublicDelegatedPrefix, otherwise the request will fail with error 412 conditionNotMet. To see the latest fingerprint, make a get() request to retrieve a PublicDelegatedPrefix.
         
        optional string fingerprint = 234678500;
        Parameters:
        value - The bytes for fingerprint to set.
        Returns:
        This builder for chaining.
      • hasId

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

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

        public PublicDelegatedPrefix.Builder setId​(long value)
         [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

        public PublicDelegatedPrefix.Builder clearId()
         [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 IP address range, in CIDR format, represented by this public delegated prefix.
         
        optional string ip_cidr_range = 98117322;
        Specified by:
        hasIpCidrRange in interface PublicDelegatedPrefixOrBuilder
        Returns:
        Whether the ipCidrRange field is set.
      • getIpCidrRange

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

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

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

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

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

        public boolean hasIsLiveMigration()
         If true, the prefix will be live migrated.
         
        optional bool is_live_migration = 511823856;
        Specified by:
        hasIsLiveMigration in interface PublicDelegatedPrefixOrBuilder
        Returns:
        Whether the isLiveMigration field is set.
      • getIsLiveMigration

        public boolean getIsLiveMigration()
         If true, the prefix will be live migrated.
         
        optional bool is_live_migration = 511823856;
        Specified by:
        getIsLiveMigration in interface PublicDelegatedPrefixOrBuilder
        Returns:
        The isLiveMigration.
      • setIsLiveMigration

        public PublicDelegatedPrefix.Builder setIsLiveMigration​(boolean value)
         If true, the prefix will be live migrated.
         
        optional bool is_live_migration = 511823856;
        Parameters:
        value - The isLiveMigration to set.
        Returns:
        This builder for chaining.
      • clearIsLiveMigration

        public PublicDelegatedPrefix.Builder clearIsLiveMigration()
         If true, the prefix will be live migrated.
         
        optional bool is_live_migration = 511823856;
        Returns:
        This builder for chaining.
      • hasKind

        public boolean hasKind()
         [Output Only] Type of the resource. Always compute#publicDelegatedPrefix for public delegated prefixes.
         
        optional string kind = 3292052;
        Specified by:
        hasKind in interface PublicDelegatedPrefixOrBuilder
        Returns:
        Whether the kind field is set.
      • getKind

        public String getKind()
         [Output Only] Type of the resource. Always compute#publicDelegatedPrefix for public delegated prefixes.
         
        optional string kind = 3292052;
        Specified by:
        getKind in interface PublicDelegatedPrefixOrBuilder
        Returns:
        The kind.
      • getKindBytes

        public com.google.protobuf.ByteString getKindBytes()
         [Output Only] Type of the resource. Always compute#publicDelegatedPrefix for public delegated prefixes.
         
        optional string kind = 3292052;
        Specified by:
        getKindBytes in interface PublicDelegatedPrefixOrBuilder
        Returns:
        The bytes for kind.
      • setKind

        public PublicDelegatedPrefix.Builder setKind​(String value)
         [Output Only] Type of the resource. Always compute#publicDelegatedPrefix for public delegated prefixes.
         
        optional string kind = 3292052;
        Parameters:
        value - The kind to set.
        Returns:
        This builder for chaining.
      • clearKind

        public PublicDelegatedPrefix.Builder clearKind()
         [Output Only] Type of the resource. Always compute#publicDelegatedPrefix for public delegated prefixes.
         
        optional string kind = 3292052;
        Returns:
        This builder for chaining.
      • setKindBytes

        public PublicDelegatedPrefix.Builder setKindBytes​(com.google.protobuf.ByteString value)
         [Output Only] Type of the resource. Always compute#publicDelegatedPrefix for public delegated 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 with RFC1035. 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 PublicDelegatedPrefixOrBuilder
        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 with RFC1035. 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 PublicDelegatedPrefixOrBuilder
        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 with RFC1035. 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 PublicDelegatedPrefixOrBuilder
        Returns:
        The bytes for name.
      • setName

        public PublicDelegatedPrefix.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 with RFC1035. 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 PublicDelegatedPrefix.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 with RFC1035. 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 PublicDelegatedPrefix.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 with RFC1035. 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.
      • hasParentPrefix

        public boolean hasParentPrefix()
         The URL of parent prefix. Either PublicAdvertisedPrefix or PublicDelegatedPrefix.
         
        optional string parent_prefix = 15233991;
        Specified by:
        hasParentPrefix in interface PublicDelegatedPrefixOrBuilder
        Returns:
        Whether the parentPrefix field is set.
      • getParentPrefix

        public String getParentPrefix()
         The URL of parent prefix. Either PublicAdvertisedPrefix or PublicDelegatedPrefix.
         
        optional string parent_prefix = 15233991;
        Specified by:
        getParentPrefix in interface PublicDelegatedPrefixOrBuilder
        Returns:
        The parentPrefix.
      • getParentPrefixBytes

        public com.google.protobuf.ByteString getParentPrefixBytes()
         The URL of parent prefix. Either PublicAdvertisedPrefix or PublicDelegatedPrefix.
         
        optional string parent_prefix = 15233991;
        Specified by:
        getParentPrefixBytes in interface PublicDelegatedPrefixOrBuilder
        Returns:
        The bytes for parentPrefix.
      • setParentPrefix

        public PublicDelegatedPrefix.Builder setParentPrefix​(String value)
         The URL of parent prefix. Either PublicAdvertisedPrefix or PublicDelegatedPrefix.
         
        optional string parent_prefix = 15233991;
        Parameters:
        value - The parentPrefix to set.
        Returns:
        This builder for chaining.
      • clearParentPrefix

        public PublicDelegatedPrefix.Builder clearParentPrefix()
         The URL of parent prefix. Either PublicAdvertisedPrefix or PublicDelegatedPrefix.
         
        optional string parent_prefix = 15233991;
        Returns:
        This builder for chaining.
      • setParentPrefixBytes

        public PublicDelegatedPrefix.Builder setParentPrefixBytes​(com.google.protobuf.ByteString value)
         The URL of parent prefix. Either PublicAdvertisedPrefix or PublicDelegatedPrefix.
         
        optional string parent_prefix = 15233991;
        Parameters:
        value - The bytes for parentPrefix to set.
        Returns:
        This builder for chaining.
      • getPublicDelegatedSubPrefixsCount

        public int getPublicDelegatedSubPrefixsCount()
         The list of sub public delegated prefixes that exist for this public delegated prefix.
         
        repeated .google.cloud.compute.v1.PublicDelegatedPrefixPublicDelegatedSubPrefix public_delegated_sub_prefixs = 188940044;
        Specified by:
        getPublicDelegatedSubPrefixsCount in interface PublicDelegatedPrefixOrBuilder
      • setPublicDelegatedSubPrefixs

        public PublicDelegatedPrefix.Builder setPublicDelegatedSubPrefixs​(int index,
                                                                          PublicDelegatedPrefixPublicDelegatedSubPrefix value)
         The list of sub public delegated prefixes that exist for this public delegated prefix.
         
        repeated .google.cloud.compute.v1.PublicDelegatedPrefixPublicDelegatedSubPrefix public_delegated_sub_prefixs = 188940044;
      • addPublicDelegatedSubPrefixs

        public PublicDelegatedPrefix.Builder addPublicDelegatedSubPrefixs​(int index,
                                                                          PublicDelegatedPrefixPublicDelegatedSubPrefix value)
         The list of sub public delegated prefixes that exist for this public delegated prefix.
         
        repeated .google.cloud.compute.v1.PublicDelegatedPrefixPublicDelegatedSubPrefix public_delegated_sub_prefixs = 188940044;
      • clearPublicDelegatedSubPrefixs

        public PublicDelegatedPrefix.Builder clearPublicDelegatedSubPrefixs()
         The list of sub public delegated prefixes that exist for this public delegated prefix.
         
        repeated .google.cloud.compute.v1.PublicDelegatedPrefixPublicDelegatedSubPrefix public_delegated_sub_prefixs = 188940044;
      • removePublicDelegatedSubPrefixs

        public PublicDelegatedPrefix.Builder removePublicDelegatedSubPrefixs​(int index)
         The list of sub public delegated prefixes that exist for this public delegated prefix.
         
        repeated .google.cloud.compute.v1.PublicDelegatedPrefixPublicDelegatedSubPrefix public_delegated_sub_prefixs = 188940044;
      • getPublicDelegatedSubPrefixsBuilder

        public PublicDelegatedPrefixPublicDelegatedSubPrefix.Builder getPublicDelegatedSubPrefixsBuilder​(int index)
         The list of sub public delegated prefixes that exist for this public delegated prefix.
         
        repeated .google.cloud.compute.v1.PublicDelegatedPrefixPublicDelegatedSubPrefix public_delegated_sub_prefixs = 188940044;
      • addPublicDelegatedSubPrefixsBuilder

        public PublicDelegatedPrefixPublicDelegatedSubPrefix.Builder addPublicDelegatedSubPrefixsBuilder()
         The list of sub public delegated prefixes that exist for this public delegated prefix.
         
        repeated .google.cloud.compute.v1.PublicDelegatedPrefixPublicDelegatedSubPrefix public_delegated_sub_prefixs = 188940044;
      • addPublicDelegatedSubPrefixsBuilder

        public PublicDelegatedPrefixPublicDelegatedSubPrefix.Builder addPublicDelegatedSubPrefixsBuilder​(int index)
         The list of sub public delegated prefixes that exist for this public delegated prefix.
         
        repeated .google.cloud.compute.v1.PublicDelegatedPrefixPublicDelegatedSubPrefix public_delegated_sub_prefixs = 188940044;
      • getPublicDelegatedSubPrefixsBuilderList

        public List<PublicDelegatedPrefixPublicDelegatedSubPrefix.Builder> getPublicDelegatedSubPrefixsBuilderList()
         The list of sub public delegated prefixes that exist for this public delegated prefix.
         
        repeated .google.cloud.compute.v1.PublicDelegatedPrefixPublicDelegatedSubPrefix public_delegated_sub_prefixs = 188940044;
      • hasRegion

        public boolean hasRegion()
         [Output Only] URL of the region where the public delegated prefix resides. This field applies only to the region resource. You must specify this field as part of the HTTP request URL. It is not settable as a field in the request body.
         
        optional string region = 138946292;
        Specified by:
        hasRegion in interface PublicDelegatedPrefixOrBuilder
        Returns:
        Whether the region field is set.
      • getRegion

        public String getRegion()
         [Output Only] URL of the region where the public delegated prefix resides. This field applies only to the region resource. You must specify this field as part of the HTTP request URL. It is not settable as a field in the request body.
         
        optional string region = 138946292;
        Specified by:
        getRegion in interface PublicDelegatedPrefixOrBuilder
        Returns:
        The region.
      • getRegionBytes

        public com.google.protobuf.ByteString getRegionBytes()
         [Output Only] URL of the region where the public delegated prefix resides. This field applies only to the region resource. You must specify this field as part of the HTTP request URL. It is not settable as a field in the request body.
         
        optional string region = 138946292;
        Specified by:
        getRegionBytes in interface PublicDelegatedPrefixOrBuilder
        Returns:
        The bytes for region.
      • setRegion

        public PublicDelegatedPrefix.Builder setRegion​(String value)
         [Output Only] URL of the region where the public delegated prefix resides. This field applies only to the region resource. You must specify this field as part of the HTTP request URL. It is not settable as a field in the request body.
         
        optional string region = 138946292;
        Parameters:
        value - The region to set.
        Returns:
        This builder for chaining.
      • clearRegion

        public PublicDelegatedPrefix.Builder clearRegion()
         [Output Only] URL of the region where the public delegated prefix resides. This field applies only to the region resource. You must specify this field as part of the HTTP request URL. It is not settable as a field in the request body.
         
        optional string region = 138946292;
        Returns:
        This builder for chaining.
      • setRegionBytes

        public PublicDelegatedPrefix.Builder setRegionBytes​(com.google.protobuf.ByteString value)
         [Output Only] URL of the region where the public delegated prefix resides. This field applies only to the region resource. You must specify this field as part of the HTTP request URL. It is not settable as a field in the request body.
         
        optional string region = 138946292;
        Parameters:
        value - The bytes for region to set.
        Returns:
        This builder for chaining.
      • hasSelfLink

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

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

        public PublicDelegatedPrefix.Builder setSelfLink​(String value)
         [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 PublicDelegatedPrefix.Builder clearSelfLink()
         [Output Only] Server-defined URL for the resource.
         
        optional string self_link = 456214797;
        Returns:
        This builder for chaining.
      • setSelfLinkBytes

        public PublicDelegatedPrefix.Builder setSelfLinkBytes​(com.google.protobuf.ByteString value)
         [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.
      • hasStatus

        public boolean hasStatus()
         [Output Only] The status of the public delegated prefix, which can be one of following values: - `INITIALIZING` The public delegated prefix is being initialized and addresses cannot be created yet. - `READY_TO_ANNOUNCE` The public delegated prefix is a live migration prefix and is active. - `ANNOUNCED` The public delegated prefix is active. - `DELETING` The public delegated prefix is being deprovsioned.
         Check the Status enum for the list of possible values.
         
        optional string status = 181260274;
        Specified by:
        hasStatus in interface PublicDelegatedPrefixOrBuilder
        Returns:
        Whether the status field is set.
      • getStatus

        public String getStatus()
         [Output Only] The status of the public delegated prefix, which can be one of following values: - `INITIALIZING` The public delegated prefix is being initialized and addresses cannot be created yet. - `READY_TO_ANNOUNCE` The public delegated prefix is a live migration prefix and is active. - `ANNOUNCED` The public delegated prefix is active. - `DELETING` The public delegated prefix is being deprovsioned.
         Check the Status enum for the list of possible values.
         
        optional string status = 181260274;
        Specified by:
        getStatus in interface PublicDelegatedPrefixOrBuilder
        Returns:
        The status.
      • getStatusBytes

        public com.google.protobuf.ByteString getStatusBytes()
         [Output Only] The status of the public delegated prefix, which can be one of following values: - `INITIALIZING` The public delegated prefix is being initialized and addresses cannot be created yet. - `READY_TO_ANNOUNCE` The public delegated prefix is a live migration prefix and is active. - `ANNOUNCED` The public delegated prefix is active. - `DELETING` The public delegated prefix is being deprovsioned.
         Check the Status enum for the list of possible values.
         
        optional string status = 181260274;
        Specified by:
        getStatusBytes in interface PublicDelegatedPrefixOrBuilder
        Returns:
        The bytes for status.
      • setStatus

        public PublicDelegatedPrefix.Builder setStatus​(String value)
         [Output Only] The status of the public delegated prefix, which can be one of following values: - `INITIALIZING` The public delegated prefix is being initialized and addresses cannot be created yet. - `READY_TO_ANNOUNCE` The public delegated prefix is a live migration prefix and is active. - `ANNOUNCED` The public delegated prefix is active. - `DELETING` The public delegated prefix is being deprovsioned.
         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 PublicDelegatedPrefix.Builder clearStatus()
         [Output Only] The status of the public delegated prefix, which can be one of following values: - `INITIALIZING` The public delegated prefix is being initialized and addresses cannot be created yet. - `READY_TO_ANNOUNCE` The public delegated prefix is a live migration prefix and is active. - `ANNOUNCED` The public delegated prefix is active. - `DELETING` The public delegated prefix is being deprovsioned.
         Check the Status enum for the list of possible values.
         
        optional string status = 181260274;
        Returns:
        This builder for chaining.
      • setStatusBytes

        public PublicDelegatedPrefix.Builder setStatusBytes​(com.google.protobuf.ByteString value)
         [Output Only] The status of the public delegated prefix, which can be one of following values: - `INITIALIZING` The public delegated prefix is being initialized and addresses cannot be created yet. - `READY_TO_ANNOUNCE` The public delegated prefix is a live migration prefix and is active. - `ANNOUNCED` The public delegated prefix is active. - `DELETING` The public delegated prefix is being deprovsioned.
         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.
      • setUnknownFields

        public final PublicDelegatedPrefix.Builder setUnknownFields​(com.google.protobuf.UnknownFieldSet unknownFields)
        Specified by:
        setUnknownFields in interface com.google.protobuf.Message.Builder
        Overrides:
        setUnknownFields in class com.google.protobuf.GeneratedMessageV3.Builder<PublicDelegatedPrefix.Builder>
      • mergeUnknownFields

        public final PublicDelegatedPrefix.Builder mergeUnknownFields​(com.google.protobuf.UnknownFieldSet unknownFields)
        Specified by:
        mergeUnknownFields in interface com.google.protobuf.Message.Builder
        Overrides:
        mergeUnknownFields in class com.google.protobuf.GeneratedMessageV3.Builder<PublicDelegatedPrefix.Builder>