Class PublicAdvertisedPrefix.Builder (1.39.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
TypeDescription
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
NameDescription
valuesIterable<? extends com.google.cloud.compute.v1.PublicAdvertisedPrefixPublicDelegatedPrefix>
Returns
TypeDescription
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
NameDescription
valuePublicAdvertisedPrefixPublicDelegatedPrefix
Returns
TypeDescription
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
NameDescription
builderForValuePublicAdvertisedPrefixPublicDelegatedPrefix.Builder
Returns
TypeDescription
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
NameDescription
indexint
valuePublicAdvertisedPrefixPublicDelegatedPrefix
Returns
TypeDescription
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
NameDescription
indexint
builderForValuePublicAdvertisedPrefixPublicDelegatedPrefix.Builder
Returns
TypeDescription
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
TypeDescription
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
NameDescription
indexint
Returns
TypeDescription
PublicAdvertisedPrefixPublicDelegatedPrefix.Builder

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

public PublicAdvertisedPrefix.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
NameDescription
fieldFieldDescriptor
valueObject
Returns
TypeDescription
PublicAdvertisedPrefix.Builder
Overrides

build()

public PublicAdvertisedPrefix build()
Returns
TypeDescription
PublicAdvertisedPrefix

buildPartial()

public PublicAdvertisedPrefix buildPartial()
Returns
TypeDescription
PublicAdvertisedPrefix

clear()

public PublicAdvertisedPrefix.Builder clear()
Returns
TypeDescription
PublicAdvertisedPrefix.Builder
Overrides

clearCreationTimestamp()

public PublicAdvertisedPrefix.Builder clearCreationTimestamp()

[Output Only] Creation timestamp in RFC3339 text format.

optional string creation_timestamp = 30525366;

Returns
TypeDescription
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
TypeDescription
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
TypeDescription
PublicAdvertisedPrefix.Builder

This builder for chaining.

clearField(Descriptors.FieldDescriptor field)

public PublicAdvertisedPrefix.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
NameDescription
fieldFieldDescriptor
Returns
TypeDescription
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
TypeDescription
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
TypeDescription
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
TypeDescription
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
TypeDescription
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
TypeDescription
PublicAdvertisedPrefix.Builder

This builder for chaining.

clearOneof(Descriptors.OneofDescriptor oneof)

public PublicAdvertisedPrefix.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
NameDescription
oneofOneofDescriptor
Returns
TypeDescription
PublicAdvertisedPrefix.Builder
Overrides

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
TypeDescription
PublicAdvertisedPrefix.Builder
public PublicAdvertisedPrefix.Builder clearSelfLink()

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

optional string self_link = 456214797;

Returns
TypeDescription
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
TypeDescription
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
TypeDescription
PublicAdvertisedPrefix.Builder

This builder for chaining.

clone()

public PublicAdvertisedPrefix.Builder clone()
Returns
TypeDescription
PublicAdvertisedPrefix.Builder
Overrides

getCreationTimestamp()

public String getCreationTimestamp()

[Output Only] Creation timestamp in RFC3339 text format.

optional string creation_timestamp = 30525366;

Returns
TypeDescription
String

The creationTimestamp.

getCreationTimestampBytes()

public ByteString getCreationTimestampBytes()

[Output Only] Creation timestamp in RFC3339 text format.

optional string creation_timestamp = 30525366;

Returns
TypeDescription
ByteString

The bytes for creationTimestamp.

getDefaultInstanceForType()

public PublicAdvertisedPrefix getDefaultInstanceForType()
Returns
TypeDescription
PublicAdvertisedPrefix

getDescription()

public String getDescription()

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

optional string description = 422937596;

Returns
TypeDescription
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
TypeDescription
ByteString

The bytes for description.

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
TypeDescription
Descriptor
Overrides

getDnsVerificationIp()

public String getDnsVerificationIp()

The address to be used for reverse DNS verification.

optional string dns_verification_ip = 241011381;

Returns
TypeDescription
String

The dnsVerificationIp.

getDnsVerificationIpBytes()

public ByteString getDnsVerificationIpBytes()

The address to be used for reverse DNS verification.

optional string dns_verification_ip = 241011381;

Returns
TypeDescription
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
TypeDescription
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
TypeDescription
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
TypeDescription
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
TypeDescription
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
TypeDescription
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
TypeDescription
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
TypeDescription
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
TypeDescription
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
TypeDescription
ByteString

The bytes for name.

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
NameDescription
indexint
Returns
TypeDescription
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
NameDescription
indexint
Returns
TypeDescription
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
TypeDescription
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
TypeDescription
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
TypeDescription
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
NameDescription
indexint
Returns
TypeDescription
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
TypeDescription
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
TypeDescription
String

The selfLink.

getSelfLinkBytes()

public ByteString getSelfLinkBytes()

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

optional string self_link = 456214797;

Returns
TypeDescription
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
TypeDescription
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
TypeDescription
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
TypeDescription
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
TypeDescription
ByteString

The bytes for status.

hasCreationTimestamp()

public boolean hasCreationTimestamp()

[Output Only] Creation timestamp in RFC3339 text format.

optional string creation_timestamp = 30525366;

Returns
TypeDescription
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
TypeDescription
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
TypeDescription
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
TypeDescription
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
TypeDescription
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
TypeDescription
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
TypeDescription
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
TypeDescription
boolean

Whether the name field is set.

public boolean hasSelfLink()

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

optional string self_link = 456214797;

Returns
TypeDescription
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
TypeDescription
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
TypeDescription
boolean

Whether the status field is set.

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
TypeDescription
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
TypeDescription
boolean
Overrides

mergeFrom(PublicAdvertisedPrefix other)

public PublicAdvertisedPrefix.Builder mergeFrom(PublicAdvertisedPrefix other)
Parameter
NameDescription
otherPublicAdvertisedPrefix
Returns
TypeDescription
PublicAdvertisedPrefix.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public PublicAdvertisedPrefix.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputCodedInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
PublicAdvertisedPrefix.Builder
Overrides
Exceptions
TypeDescription
IOException

mergeFrom(Message other)

public PublicAdvertisedPrefix.Builder mergeFrom(Message other)
Parameter
NameDescription
otherMessage
Returns
TypeDescription
PublicAdvertisedPrefix.Builder
Overrides

mergeUnknownFields(UnknownFieldSet unknownFields)

public final PublicAdvertisedPrefix.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
NameDescription
unknownFieldsUnknownFieldSet
Returns
TypeDescription
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
NameDescription
indexint
Returns
TypeDescription
PublicAdvertisedPrefix.Builder

setCreationTimestamp(String value)

public PublicAdvertisedPrefix.Builder setCreationTimestamp(String value)

[Output Only] Creation timestamp in RFC3339 text format.

optional string creation_timestamp = 30525366;

Parameter
NameDescription
valueString

The creationTimestamp to set.

Returns
TypeDescription
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
NameDescription
valueByteString

The bytes for creationTimestamp to set.

Returns
TypeDescription
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
NameDescription
valueString

The description to set.

Returns
TypeDescription
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
NameDescription
valueByteString

The bytes for description to set.

Returns
TypeDescription
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
NameDescription
valueString

The dnsVerificationIp to set.

Returns
TypeDescription
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
NameDescription
valueByteString

The bytes for dnsVerificationIp to set.

Returns
TypeDescription
PublicAdvertisedPrefix.Builder

This builder for chaining.

setField(Descriptors.FieldDescriptor field, Object value)

public PublicAdvertisedPrefix.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
NameDescription
fieldFieldDescriptor
valueObject
Returns
TypeDescription
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
NameDescription
valueString

The fingerprint to set.

Returns
TypeDescription
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
NameDescription
valueByteString

The bytes for fingerprint to set.

Returns
TypeDescription
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
NameDescription
valuelong

The id to set.

Returns
TypeDescription
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
NameDescription
valueString

The ipCidrRange to set.

Returns
TypeDescription
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
NameDescription
valueByteString

The bytes for ipCidrRange to set.

Returns
TypeDescription
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
NameDescription
valueString

The kind to set.

Returns
TypeDescription
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
NameDescription
valueByteString

The bytes for kind to set.

Returns
TypeDescription
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
NameDescription
valueString

The name to set.

Returns
TypeDescription
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
NameDescription
valueByteString

The bytes for name to set.

Returns
TypeDescription
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
NameDescription
indexint
valuePublicAdvertisedPrefixPublicDelegatedPrefix
Returns
TypeDescription
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
NameDescription
indexint
builderForValuePublicAdvertisedPrefixPublicDelegatedPrefix.Builder
Returns
TypeDescription
PublicAdvertisedPrefix.Builder

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

public PublicAdvertisedPrefix.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters
NameDescription
fieldFieldDescriptor
indexint
valueObject
Returns
TypeDescription
PublicAdvertisedPrefix.Builder
Overrides
public PublicAdvertisedPrefix.Builder setSelfLink(String value)

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

optional string self_link = 456214797;

Parameter
NameDescription
valueString

The selfLink to set.

Returns
TypeDescription
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
NameDescription
valueByteString

The bytes for selfLink to set.

Returns
TypeDescription
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
NameDescription
valueString

The sharedSecret to set.

Returns
TypeDescription
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
NameDescription
valueByteString

The bytes for sharedSecret to set.

Returns
TypeDescription
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
NameDescription
valueString

The status to set.

Returns
TypeDescription
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
NameDescription
valueByteString

The bytes for status to set.

Returns
TypeDescription
PublicAdvertisedPrefix.Builder

This builder for chaining.

setUnknownFields(UnknownFieldSet unknownFields)

public final PublicAdvertisedPrefix.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
NameDescription
unknownFieldsUnknownFieldSet
Returns
TypeDescription
PublicAdvertisedPrefix.Builder
Overrides