Class PublicAdvertisedPrefix.Builder (1.63.0)

public static final class PublicAdvertisedPrefix.Builder extends GeneratedMessageV3.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

Static Methods

getDescriptor()

public static final Descriptors.Descriptor getDescriptor()
Returns
Type Description
Descriptor

Methods

addAllPublicDelegatedPrefixs(Iterable<? extends PublicAdvertisedPrefixPublicDelegatedPrefix> values)

public PublicAdvertisedPrefix.Builder addAllPublicDelegatedPrefixs(Iterable<? extends PublicAdvertisedPrefixPublicDelegatedPrefix> values)

[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;

Parameter
Name Description
values Iterable<? extends com.google.cloud.compute.v1.PublicAdvertisedPrefixPublicDelegatedPrefix>
Returns
Type Description
PublicAdvertisedPrefix.Builder

addPublicDelegatedPrefixs(PublicAdvertisedPrefixPublicDelegatedPrefix value)

public PublicAdvertisedPrefix.Builder addPublicDelegatedPrefixs(PublicAdvertisedPrefixPublicDelegatedPrefix value)

[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;

Parameter
Name Description
value PublicAdvertisedPrefixPublicDelegatedPrefix
Returns
Type Description
PublicAdvertisedPrefix.Builder

addPublicDelegatedPrefixs(PublicAdvertisedPrefixPublicDelegatedPrefix.Builder builderForValue)

public PublicAdvertisedPrefix.Builder addPublicDelegatedPrefixs(PublicAdvertisedPrefixPublicDelegatedPrefix.Builder builderForValue)

[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;

Parameter
Name Description
builderForValue PublicAdvertisedPrefixPublicDelegatedPrefix.Builder
Returns
Type Description
PublicAdvertisedPrefix.Builder

addPublicDelegatedPrefixs(int index, PublicAdvertisedPrefixPublicDelegatedPrefix value)

public PublicAdvertisedPrefix.Builder addPublicDelegatedPrefixs(int index, PublicAdvertisedPrefixPublicDelegatedPrefix value)

[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;

Parameters
Name Description
index int
value PublicAdvertisedPrefixPublicDelegatedPrefix
Returns
Type Description
PublicAdvertisedPrefix.Builder

addPublicDelegatedPrefixs(int index, PublicAdvertisedPrefixPublicDelegatedPrefix.Builder builderForValue)

public PublicAdvertisedPrefix.Builder addPublicDelegatedPrefixs(int index, PublicAdvertisedPrefixPublicDelegatedPrefix.Builder builderForValue)

[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;

Parameters
Name Description
index int
builderForValue PublicAdvertisedPrefixPublicDelegatedPrefix.Builder
Returns
Type Description
PublicAdvertisedPrefix.Builder

addPublicDelegatedPrefixsBuilder()

public PublicAdvertisedPrefixPublicDelegatedPrefix.Builder addPublicDelegatedPrefixsBuilder()

[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;

Returns
Type Description
PublicAdvertisedPrefixPublicDelegatedPrefix.Builder

addPublicDelegatedPrefixsBuilder(int index)

public PublicAdvertisedPrefixPublicDelegatedPrefix.Builder addPublicDelegatedPrefixsBuilder(int index)

[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;

Parameter
Name Description
index int
Returns
Type Description
PublicAdvertisedPrefixPublicDelegatedPrefix.Builder

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

public PublicAdvertisedPrefix.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
Name Description
field FieldDescriptor
value Object
Returns
Type Description
PublicAdvertisedPrefix.Builder
Overrides

build()

public PublicAdvertisedPrefix build()
Returns
Type Description
PublicAdvertisedPrefix

buildPartial()

public PublicAdvertisedPrefix buildPartial()
Returns
Type Description
PublicAdvertisedPrefix

clear()

public PublicAdvertisedPrefix.Builder clear()
Returns
Type Description
PublicAdvertisedPrefix.Builder
Overrides

clearByoipApiVersion()

public PublicAdvertisedPrefix.Builder clearByoipApiVersion()

[Output Only] The version of BYOIP API. Check the ByoipApiVersion enum for the list of possible values.

optional string byoip_api_version = 162683283;

Returns
Type Description
PublicAdvertisedPrefix.Builder

This builder for chaining.

clearCreationTimestamp()

public PublicAdvertisedPrefix.Builder clearCreationTimestamp()

[Output Only] Creation timestamp in RFC3339 text format.

optional string creation_timestamp = 30525366;

Returns
Type Description
PublicAdvertisedPrefix.Builder

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
Type Description
PublicAdvertisedPrefix.Builder

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
Type Description
PublicAdvertisedPrefix.Builder

This builder for chaining.

clearField(Descriptors.FieldDescriptor field)

public PublicAdvertisedPrefix.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
Name Description
field FieldDescriptor
Returns
Type Description
PublicAdvertisedPrefix.Builder
Overrides

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 the PublicAdvertisedPrefix, 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
Type Description
PublicAdvertisedPrefix.Builder

This builder for chaining.

clearId()

public PublicAdvertisedPrefix.Builder clearId()

[Output Only] The unique identifier for the resource type. The server generates this identifier.

optional uint64 id = 3355;

Returns
Type Description
PublicAdvertisedPrefix.Builder

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
Type Description
PublicAdvertisedPrefix.Builder

This builder for chaining.

clearKind()

public PublicAdvertisedPrefix.Builder clearKind()

[Output Only] Type of the resource. Always compute#publicAdvertisedPrefix for public advertised prefixes.

optional string kind = 3292052;

Returns
Type Description
PublicAdvertisedPrefix.Builder

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 with RFC1035. Specifically, the name must be 1-63 characters long and match the regular expression a-z? 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
Type Description
PublicAdvertisedPrefix.Builder

This builder for chaining.

clearOneof(Descriptors.OneofDescriptor oneof)

public PublicAdvertisedPrefix.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
Name Description
oneof OneofDescriptor
Returns
Type Description
PublicAdvertisedPrefix.Builder
Overrides

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
Type Description
PublicAdvertisedPrefix.Builder

This builder for chaining.

clearPublicDelegatedPrefixs()

public PublicAdvertisedPrefix.Builder clearPublicDelegatedPrefixs()

[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;

Returns
Type Description
PublicAdvertisedPrefix.Builder
public PublicAdvertisedPrefix.Builder clearSelfLink()

[Output Only] Server-defined URL for the resource.

optional string self_link = 456214797;

Returns
Type Description
PublicAdvertisedPrefix.Builder

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
Type Description
PublicAdvertisedPrefix.Builder

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
Type Description
PublicAdvertisedPrefix.Builder

This builder for chaining.

clone()

public PublicAdvertisedPrefix.Builder clone()
Returns
Type Description
PublicAdvertisedPrefix.Builder
Overrides

getByoipApiVersion()

public String getByoipApiVersion()

[Output Only] The version of BYOIP API. Check the ByoipApiVersion enum for the list of possible values.

optional string byoip_api_version = 162683283;

Returns
Type Description
String

The byoipApiVersion.

getByoipApiVersionBytes()

public ByteString getByoipApiVersionBytes()

[Output Only] The version of BYOIP API. Check the ByoipApiVersion enum for the list of possible values.

optional string byoip_api_version = 162683283;

Returns
Type Description
ByteString

The bytes for byoipApiVersion.

getCreationTimestamp()

public String getCreationTimestamp()

[Output Only] Creation timestamp in RFC3339 text format.

optional string creation_timestamp = 30525366;

Returns
Type Description
String

The creationTimestamp.

getCreationTimestampBytes()

public ByteString getCreationTimestampBytes()

[Output Only] Creation timestamp in RFC3339 text format.

optional string creation_timestamp = 30525366;

Returns
Type Description
ByteString

The bytes for creationTimestamp.

getDefaultInstanceForType()

public PublicAdvertisedPrefix getDefaultInstanceForType()
Returns
Type Description
PublicAdvertisedPrefix

getDescription()

public String getDescription()

An optional description of this resource. Provide this property when you create the resource.

optional string description = 422937596;

Returns
Type Description
String

The description.

getDescriptionBytes()

public ByteString getDescriptionBytes()

An optional description of this resource. Provide this property when you create the resource.

optional string description = 422937596;

Returns
Type Description
ByteString

The bytes for description.

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
Type Description
Descriptor
Overrides

getDnsVerificationIp()

public String getDnsVerificationIp()

The address to be used for reverse DNS verification.

optional string dns_verification_ip = 241011381;

Returns
Type Description
String

The dnsVerificationIp.

getDnsVerificationIpBytes()

public ByteString getDnsVerificationIpBytes()

The address to be used for reverse DNS verification.

optional string dns_verification_ip = 241011381;

Returns
Type Description
ByteString

The bytes for dnsVerificationIp.

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 the PublicAdvertisedPrefix, 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
Type Description
String

The fingerprint.

getFingerprintBytes()

public 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 the PublicAdvertisedPrefix, 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
Type Description
ByteString

The bytes for fingerprint.

getId()

public long getId()

[Output Only] The unique identifier for the resource type. The server generates this identifier.

optional uint64 id = 3355;

Returns
Type Description
long

The id.

getIpCidrRange()

public String getIpCidrRange()

The address range, in CIDR format, represented by this public advertised prefix.

optional string ip_cidr_range = 98117322;

Returns
Type Description
String

The ipCidrRange.

getIpCidrRangeBytes()

public ByteString getIpCidrRangeBytes()

The address range, in CIDR format, represented by this public advertised prefix.

optional string ip_cidr_range = 98117322;

Returns
Type Description
ByteString

The bytes for ipCidrRange.

getKind()

public String getKind()

[Output Only] Type of the resource. Always compute#publicAdvertisedPrefix for public advertised prefixes.

optional string kind = 3292052;

Returns
Type Description
String

The kind.

getKindBytes()

public ByteString getKindBytes()

[Output Only] Type of the resource. Always compute#publicAdvertisedPrefix for public advertised prefixes.

optional string kind = 3292052;

Returns
Type Description
ByteString

The bytes for kind.

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? 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
Type Description
String

The name.

getNameBytes()

public 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? 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
Type Description
ByteString

The bytes for name.

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;

Returns
Type Description
String

The pdpScope.

getPdpScopeBytes()

public 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;

Returns
Type Description
ByteString

The bytes for pdpScope.

getPublicDelegatedPrefixs(int index)

public PublicAdvertisedPrefixPublicDelegatedPrefix getPublicDelegatedPrefixs(int index)

[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;

Parameter
Name Description
index int
Returns
Type Description
PublicAdvertisedPrefixPublicDelegatedPrefix

getPublicDelegatedPrefixsBuilder(int index)

public PublicAdvertisedPrefixPublicDelegatedPrefix.Builder getPublicDelegatedPrefixsBuilder(int index)

[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;

Parameter
Name Description
index int
Returns
Type Description
PublicAdvertisedPrefixPublicDelegatedPrefix.Builder

getPublicDelegatedPrefixsBuilderList()

public List<PublicAdvertisedPrefixPublicDelegatedPrefix.Builder> getPublicDelegatedPrefixsBuilderList()

[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;

Returns
Type Description
List<Builder>

getPublicDelegatedPrefixsCount()

public int getPublicDelegatedPrefixsCount()

[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;

Returns
Type Description
int

getPublicDelegatedPrefixsList()

public List<PublicAdvertisedPrefixPublicDelegatedPrefix> getPublicDelegatedPrefixsList()

[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;

Returns
Type Description
List<PublicAdvertisedPrefixPublicDelegatedPrefix>

getPublicDelegatedPrefixsOrBuilder(int index)

public PublicAdvertisedPrefixPublicDelegatedPrefixOrBuilder getPublicDelegatedPrefixsOrBuilder(int index)

[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;

Parameter
Name Description
index int
Returns
Type Description
PublicAdvertisedPrefixPublicDelegatedPrefixOrBuilder

getPublicDelegatedPrefixsOrBuilderList()

public List<? extends PublicAdvertisedPrefixPublicDelegatedPrefixOrBuilder> getPublicDelegatedPrefixsOrBuilderList()

[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;

Returns
Type Description
List<? extends com.google.cloud.compute.v1.PublicAdvertisedPrefixPublicDelegatedPrefixOrBuilder>
public String getSelfLink()

[Output Only] Server-defined URL for the resource.

optional string self_link = 456214797;

Returns
Type Description
String

The selfLink.

getSelfLinkBytes()

public ByteString getSelfLinkBytes()

[Output Only] Server-defined URL for the resource.

optional string self_link = 456214797;

Returns
Type Description
ByteString

The bytes for selfLink.

getSharedSecret()

public String getSharedSecret()

[Output Only] The shared secret to be used for reverse DNS verification.

optional string shared_secret = 381932490;

Returns
Type Description
String

The sharedSecret.

getSharedSecretBytes()

public ByteString getSharedSecretBytes()

[Output Only] The shared secret to be used for reverse DNS verification.

optional string shared_secret = 381932490;

Returns
Type Description
ByteString

The bytes for sharedSecret.

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;

Returns
Type Description
String

The status.

getStatusBytes()

public 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;

Returns
Type Description
ByteString

The bytes for status.

hasByoipApiVersion()

public boolean hasByoipApiVersion()

[Output Only] The version of BYOIP API. Check the ByoipApiVersion enum for the list of possible values.

optional string byoip_api_version = 162683283;

Returns
Type Description
boolean

Whether the byoipApiVersion field is set.

hasCreationTimestamp()

public boolean hasCreationTimestamp()

[Output Only] Creation timestamp in RFC3339 text format.

optional string creation_timestamp = 30525366;

Returns
Type Description
boolean

Whether the creationTimestamp field is set.

hasDescription()

public boolean hasDescription()

An optional description of this resource. Provide this property when you create the resource.

optional string description = 422937596;

Returns
Type Description
boolean

Whether the description field is set.

hasDnsVerificationIp()

public boolean hasDnsVerificationIp()

The address to be used for reverse DNS verification.

optional string dns_verification_ip = 241011381;

Returns
Type Description
boolean

Whether the dnsVerificationIp field is set.

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 the PublicAdvertisedPrefix, 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
Type Description
boolean

Whether the fingerprint field is set.

hasId()

public boolean hasId()

[Output Only] The unique identifier for the resource type. The server generates this identifier.

optional uint64 id = 3355;

Returns
Type Description
boolean

Whether the id field is set.

hasIpCidrRange()

public boolean hasIpCidrRange()

The address range, in CIDR format, represented by this public advertised prefix.

optional string ip_cidr_range = 98117322;

Returns
Type Description
boolean

Whether the ipCidrRange field is set.

hasKind()

public boolean hasKind()

[Output Only] Type of the resource. Always compute#publicAdvertisedPrefix for public advertised prefixes.

optional string kind = 3292052;

Returns
Type Description
boolean

Whether the kind field is set.

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? 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
Type Description
boolean

Whether the name field is set.

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;

Returns
Type Description
boolean

Whether the pdpScope field is set.

public boolean hasSelfLink()

[Output Only] Server-defined URL for the resource.

optional string self_link = 456214797;

Returns
Type Description
boolean

Whether the selfLink field is set.

hasSharedSecret()

public boolean hasSharedSecret()

[Output Only] The shared secret to be used for reverse DNS verification.

optional string shared_secret = 381932490;

Returns
Type Description
boolean

Whether the sharedSecret field is set.

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;

Returns
Type Description
boolean

Whether the status field is set.

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
Type Description
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

mergeFrom(PublicAdvertisedPrefix other)

public PublicAdvertisedPrefix.Builder mergeFrom(PublicAdvertisedPrefix other)
Parameter
Name Description
other PublicAdvertisedPrefix
Returns
Type Description
PublicAdvertisedPrefix.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public PublicAdvertisedPrefix.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input CodedInputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
PublicAdvertisedPrefix.Builder
Overrides
Exceptions
Type Description
IOException

mergeFrom(Message other)

public PublicAdvertisedPrefix.Builder mergeFrom(Message other)
Parameter
Name Description
other Message
Returns
Type Description
PublicAdvertisedPrefix.Builder
Overrides

mergeUnknownFields(UnknownFieldSet unknownFields)

public final PublicAdvertisedPrefix.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
Name Description
unknownFields UnknownFieldSet
Returns
Type Description
PublicAdvertisedPrefix.Builder
Overrides

removePublicDelegatedPrefixs(int index)

public PublicAdvertisedPrefix.Builder removePublicDelegatedPrefixs(int index)

[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;

Parameter
Name Description
index int
Returns
Type Description
PublicAdvertisedPrefix.Builder

setByoipApiVersion(String value)

public PublicAdvertisedPrefix.Builder setByoipApiVersion(String value)

[Output Only] The version of BYOIP API. Check the ByoipApiVersion enum for the list of possible values.

optional string byoip_api_version = 162683283;

Parameter
Name Description
value String

The byoipApiVersion to set.

Returns
Type Description
PublicAdvertisedPrefix.Builder

This builder for chaining.

setByoipApiVersionBytes(ByteString value)

public PublicAdvertisedPrefix.Builder setByoipApiVersionBytes(ByteString value)

[Output Only] The version of BYOIP API. Check the ByoipApiVersion enum for the list of possible values.

optional string byoip_api_version = 162683283;

Parameter
Name Description
value ByteString

The bytes for byoipApiVersion to set.

Returns
Type Description
PublicAdvertisedPrefix.Builder

This builder for chaining.

setCreationTimestamp(String value)

public PublicAdvertisedPrefix.Builder setCreationTimestamp(String value)

[Output Only] Creation timestamp in RFC3339 text format.

optional string creation_timestamp = 30525366;

Parameter
Name Description
value String

The creationTimestamp to set.

Returns
Type Description
PublicAdvertisedPrefix.Builder

This builder for chaining.

setCreationTimestampBytes(ByteString value)

public PublicAdvertisedPrefix.Builder setCreationTimestampBytes(ByteString value)

[Output Only] Creation timestamp in RFC3339 text format.

optional string creation_timestamp = 30525366;

Parameter
Name Description
value ByteString

The bytes for creationTimestamp to set.

Returns
Type Description
PublicAdvertisedPrefix.Builder

This builder for chaining.

setDescription(String value)

public PublicAdvertisedPrefix.Builder setDescription(String value)

An optional description of this resource. Provide this property when you create the resource.

optional string description = 422937596;

Parameter
Name Description
value String

The description to set.

Returns
Type Description
PublicAdvertisedPrefix.Builder

This builder for chaining.

setDescriptionBytes(ByteString value)

public PublicAdvertisedPrefix.Builder setDescriptionBytes(ByteString value)

An optional description of this resource. Provide this property when you create the resource.

optional string description = 422937596;

Parameter
Name Description
value ByteString

The bytes for description to set.

Returns
Type Description
PublicAdvertisedPrefix.Builder

This builder for chaining.

setDnsVerificationIp(String value)

public PublicAdvertisedPrefix.Builder setDnsVerificationIp(String value)

The address to be used for reverse DNS verification.

optional string dns_verification_ip = 241011381;

Parameter
Name Description
value String

The dnsVerificationIp to set.

Returns
Type Description
PublicAdvertisedPrefix.Builder

This builder for chaining.

setDnsVerificationIpBytes(ByteString value)

public PublicAdvertisedPrefix.Builder setDnsVerificationIpBytes(ByteString value)

The address to be used for reverse DNS verification.

optional string dns_verification_ip = 241011381;

Parameter
Name Description
value ByteString

The bytes for dnsVerificationIp to set.

Returns
Type Description
PublicAdvertisedPrefix.Builder

This builder for chaining.

setField(Descriptors.FieldDescriptor field, Object value)

public PublicAdvertisedPrefix.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
Name Description
field FieldDescriptor
value Object
Returns
Type Description
PublicAdvertisedPrefix.Builder
Overrides

setFingerprint(String value)

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 the PublicAdvertisedPrefix, 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;

Parameter
Name Description
value String

The fingerprint to set.

Returns
Type Description
PublicAdvertisedPrefix.Builder

This builder for chaining.

setFingerprintBytes(ByteString value)

public PublicAdvertisedPrefix.Builder setFingerprintBytes(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 the PublicAdvertisedPrefix, 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;

Parameter
Name Description
value ByteString

The bytes for fingerprint to set.

Returns
Type Description
PublicAdvertisedPrefix.Builder

This builder for chaining.

setId(long value)

public PublicAdvertisedPrefix.Builder setId(long value)

[Output Only] The unique identifier for the resource type. The server generates this identifier.

optional uint64 id = 3355;

Parameter
Name Description
value long

The id to set.

Returns
Type Description
PublicAdvertisedPrefix.Builder

This builder for chaining.

setIpCidrRange(String value)

public PublicAdvertisedPrefix.Builder setIpCidrRange(String value)

The address range, in CIDR format, represented by this public advertised prefix.

optional string ip_cidr_range = 98117322;

Parameter
Name Description
value String

The ipCidrRange to set.

Returns
Type Description
PublicAdvertisedPrefix.Builder

This builder for chaining.

setIpCidrRangeBytes(ByteString value)

public PublicAdvertisedPrefix.Builder setIpCidrRangeBytes(ByteString value)

The address range, in CIDR format, represented by this public advertised prefix.

optional string ip_cidr_range = 98117322;

Parameter
Name Description
value ByteString

The bytes for ipCidrRange to set.

Returns
Type Description
PublicAdvertisedPrefix.Builder

This builder for chaining.

setKind(String value)

public PublicAdvertisedPrefix.Builder setKind(String value)

[Output Only] Type of the resource. Always compute#publicAdvertisedPrefix for public advertised prefixes.

optional string kind = 3292052;

Parameter
Name Description
value String

The kind to set.

Returns
Type Description
PublicAdvertisedPrefix.Builder

This builder for chaining.

setKindBytes(ByteString value)

public PublicAdvertisedPrefix.Builder setKindBytes(ByteString value)

[Output Only] Type of the resource. Always compute#publicAdvertisedPrefix for public advertised prefixes.

optional string kind = 3292052;

Parameter
Name Description
value ByteString

The bytes for kind to set.

Returns
Type Description
PublicAdvertisedPrefix.Builder

This builder for chaining.

setName(String value)

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 with RFC1035. Specifically, the name must be 1-63 characters long and match the regular expression a-z? 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;

Parameter
Name Description
value String

The name to set.

Returns
Type Description
PublicAdvertisedPrefix.Builder

This builder for chaining.

setNameBytes(ByteString value)

public PublicAdvertisedPrefix.Builder setNameBytes(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? 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;

Parameter
Name Description
value ByteString

The bytes for name to set.

Returns
Type Description
PublicAdvertisedPrefix.Builder

This builder for chaining.

setPdpScope(String value)

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;

Parameter
Name Description
value String

The pdpScope to set.

Returns
Type Description
PublicAdvertisedPrefix.Builder

This builder for chaining.

setPdpScopeBytes(ByteString value)

public PublicAdvertisedPrefix.Builder setPdpScopeBytes(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;

Parameter
Name Description
value ByteString

The bytes for pdpScope to set.

Returns
Type Description
PublicAdvertisedPrefix.Builder

This builder for chaining.

setPublicDelegatedPrefixs(int index, PublicAdvertisedPrefixPublicDelegatedPrefix value)

public PublicAdvertisedPrefix.Builder setPublicDelegatedPrefixs(int index, PublicAdvertisedPrefixPublicDelegatedPrefix value)

[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;

Parameters
Name Description
index int
value PublicAdvertisedPrefixPublicDelegatedPrefix
Returns
Type Description
PublicAdvertisedPrefix.Builder

setPublicDelegatedPrefixs(int index, PublicAdvertisedPrefixPublicDelegatedPrefix.Builder builderForValue)

public PublicAdvertisedPrefix.Builder setPublicDelegatedPrefixs(int index, PublicAdvertisedPrefixPublicDelegatedPrefix.Builder builderForValue)

[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;

Parameters
Name Description
index int
builderForValue PublicAdvertisedPrefixPublicDelegatedPrefix.Builder
Returns
Type Description
PublicAdvertisedPrefix.Builder

setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)

public PublicAdvertisedPrefix.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters
Name Description
field FieldDescriptor
index int
value Object
Returns
Type Description
PublicAdvertisedPrefix.Builder
Overrides
public PublicAdvertisedPrefix.Builder setSelfLink(String value)

[Output Only] Server-defined URL for the resource.

optional string self_link = 456214797;

Parameter
Name Description
value String

The selfLink to set.

Returns
Type Description
PublicAdvertisedPrefix.Builder

This builder for chaining.

setSelfLinkBytes(ByteString value)

public PublicAdvertisedPrefix.Builder setSelfLinkBytes(ByteString value)

[Output Only] Server-defined URL for the resource.

optional string self_link = 456214797;

Parameter
Name Description
value ByteString

The bytes for selfLink to set.

Returns
Type Description
PublicAdvertisedPrefix.Builder

This builder for chaining.

setSharedSecret(String value)

public PublicAdvertisedPrefix.Builder setSharedSecret(String value)

[Output Only] The shared secret to be used for reverse DNS verification.

optional string shared_secret = 381932490;

Parameter
Name Description
value String

The sharedSecret to set.

Returns
Type Description
PublicAdvertisedPrefix.Builder

This builder for chaining.

setSharedSecretBytes(ByteString value)

public PublicAdvertisedPrefix.Builder setSharedSecretBytes(ByteString value)

[Output Only] The shared secret to be used for reverse DNS verification.

optional string shared_secret = 381932490;

Parameter
Name Description
value ByteString

The bytes for sharedSecret to set.

Returns
Type Description
PublicAdvertisedPrefix.Builder

This builder for chaining.

setStatus(String value)

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;

Parameter
Name Description
value String

The status to set.

Returns
Type Description
PublicAdvertisedPrefix.Builder

This builder for chaining.

setStatusBytes(ByteString value)

public PublicAdvertisedPrefix.Builder setStatusBytes(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;

Parameter
Name Description
value ByteString

The bytes for status to set.

Returns
Type Description
PublicAdvertisedPrefix.Builder

This builder for chaining.

setUnknownFields(UnknownFieldSet unknownFields)

public final PublicAdvertisedPrefix.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
Name Description
unknownFields UnknownFieldSet
Returns
Type Description
PublicAdvertisedPrefix.Builder
Overrides