public final class PublicAdvertisedPrefix extends GeneratedMessageV3 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 Fields
CREATION_TIMESTAMP_FIELD_NUMBER
public static final int CREATION_TIMESTAMP_FIELD_NUMBER
Field Value
DESCRIPTION_FIELD_NUMBER
public static final int DESCRIPTION_FIELD_NUMBER
Field Value
DNS_VERIFICATION_IP_FIELD_NUMBER
public static final int DNS_VERIFICATION_IP_FIELD_NUMBER
Field Value
FINGERPRINT_FIELD_NUMBER
public static final int FINGERPRINT_FIELD_NUMBER
Field Value
ID_FIELD_NUMBER
public static final int ID_FIELD_NUMBER
Field Value
IP_CIDR_RANGE_FIELD_NUMBER
public static final int IP_CIDR_RANGE_FIELD_NUMBER
Field Value
KIND_FIELD_NUMBER
public static final int KIND_FIELD_NUMBER
Field Value
NAME_FIELD_NUMBER
public static final int NAME_FIELD_NUMBER
Field Value
PUBLIC_DELEGATED_PREFIXS_FIELD_NUMBER
public static final int PUBLIC_DELEGATED_PREFIXS_FIELD_NUMBER
Field Value
SELF_LINK_FIELD_NUMBER
public static final int SELF_LINK_FIELD_NUMBER
Field Value
SHARED_SECRET_FIELD_NUMBER
public static final int SHARED_SECRET_FIELD_NUMBER
Field Value
STATUS_FIELD_NUMBER
public static final int STATUS_FIELD_NUMBER
Field Value
Static Methods
getDefaultInstance()
public static PublicAdvertisedPrefix getDefaultInstance()
Returns
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
Returns
newBuilder()
public static PublicAdvertisedPrefix.Builder newBuilder()
Returns
newBuilder(PublicAdvertisedPrefix prototype)
public static PublicAdvertisedPrefix.Builder newBuilder(PublicAdvertisedPrefix prototype)
Parameter
Returns
public static PublicAdvertisedPrefix parseDelimitedFrom(InputStream input)
Parameter
Returns
Exceptions
public static PublicAdvertisedPrefix parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
parseFrom(byte[] data)
public static PublicAdvertisedPrefix parseFrom(byte[] data)
Parameter
Name | Description |
data | byte[]
|
Returns
Exceptions
parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
public static PublicAdvertisedPrefix parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
parseFrom(ByteString data)
public static PublicAdvertisedPrefix parseFrom(ByteString data)
Parameter
Returns
Exceptions
parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
public static PublicAdvertisedPrefix parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
public static PublicAdvertisedPrefix parseFrom(CodedInputStream input)
Parameter
Returns
Exceptions
public static PublicAdvertisedPrefix parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
public static PublicAdvertisedPrefix parseFrom(InputStream input)
Parameter
Returns
Exceptions
public static PublicAdvertisedPrefix parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
parseFrom(ByteBuffer data)
public static PublicAdvertisedPrefix parseFrom(ByteBuffer data)
Parameter
Returns
Exceptions
parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
public static PublicAdvertisedPrefix parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
parser()
public static Parser<PublicAdvertisedPrefix> parser()
Returns
Methods
equals(Object obj)
public boolean equals(Object obj)
Parameter
Returns
Overrides
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
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.
|
getDnsVerificationIp()
public String getDnsVerificationIp()
The IPv4 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 IPv4 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()
[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 IPv4 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 IPv4 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()
[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
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
getParserForType()
public Parser<PublicAdvertisedPrefix> getParserForType()
Returns
Overrides
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
Returns
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
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
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
Returns
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> | |
getSelfLink()
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
getSerializedSize()
public int getSerializedSize()
Returns
Overrides
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
getUnknownFields()
public final UnknownFieldSet getUnknownFields()
Returns
Overrides
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 IPv4 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()
[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 IPv4 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()
[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()
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.
|
hasSelfLink()
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.
|
hashCode()
Returns
Overrides
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
Overrides
isInitialized()
public final boolean isInitialized()
Returns
Overrides
newBuilderForType()
public PublicAdvertisedPrefix.Builder newBuilderForType()
Returns
newBuilderForType(GeneratedMessageV3.BuilderParent parent)
protected PublicAdvertisedPrefix.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Parameter
Returns
Overrides
newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Parameter
Returns
Overrides
toBuilder()
public PublicAdvertisedPrefix.Builder toBuilder()
Returns
writeTo(CodedOutputStream output)
public void writeTo(CodedOutputStream output)
Parameter
Overrides
Exceptions