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
Inherited Members
com.google.protobuf.GeneratedMessageV3.<ListT>makeMutableCopy(ListT)
com.google.protobuf.GeneratedMessageV3.<ListT>makeMutableCopy(ListT,int)
com.google.protobuf.GeneratedMessageV3.<T>emptyList(java.lang.Class<T>)
com.google.protobuf.GeneratedMessageV3.internalGetMapFieldReflection(int)
Static Fields
CREATION_TIMESTAMP_FIELD_NUMBER
public static final int CREATION_TIMESTAMP_FIELD_NUMBER
Field Value |
---|
Type | Description |
int | |
DESCRIPTION_FIELD_NUMBER
public static final int DESCRIPTION_FIELD_NUMBER
Field Value |
---|
Type | Description |
int | |
DNS_VERIFICATION_IP_FIELD_NUMBER
public static final int DNS_VERIFICATION_IP_FIELD_NUMBER
Field Value |
---|
Type | Description |
int | |
FINGERPRINT_FIELD_NUMBER
public static final int FINGERPRINT_FIELD_NUMBER
Field Value |
---|
Type | Description |
int | |
ID_FIELD_NUMBER
public static final int ID_FIELD_NUMBER
Field Value |
---|
Type | Description |
int | |
IP_CIDR_RANGE_FIELD_NUMBER
public static final int IP_CIDR_RANGE_FIELD_NUMBER
Field Value |
---|
Type | Description |
int | |
KIND_FIELD_NUMBER
public static final int KIND_FIELD_NUMBER
Field Value |
---|
Type | Description |
int | |
NAME_FIELD_NUMBER
public static final int NAME_FIELD_NUMBER
Field Value |
---|
Type | Description |
int | |
PUBLIC_DELEGATED_PREFIXS_FIELD_NUMBER
public static final int PUBLIC_DELEGATED_PREFIXS_FIELD_NUMBER
Field Value |
---|
Type | Description |
int | |
SELF_LINK_FIELD_NUMBER
public static final int SELF_LINK_FIELD_NUMBER
Field Value |
---|
Type | Description |
int | |
SHARED_SECRET_FIELD_NUMBER
public static final int SHARED_SECRET_FIELD_NUMBER
Field Value |
---|
Type | Description |
int | |
STATUS_FIELD_NUMBER
public static final int STATUS_FIELD_NUMBER
Field Value |
---|
Type | Description |
int | |
Static Methods
getDefaultInstance()
public static PublicAdvertisedPrefix getDefaultInstance()
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
newBuilder()
public static PublicAdvertisedPrefix.Builder newBuilder()
newBuilder(PublicAdvertisedPrefix prototype)
public static PublicAdvertisedPrefix.Builder newBuilder(PublicAdvertisedPrefix prototype)
public static PublicAdvertisedPrefix parseDelimitedFrom(InputStream input)
public static PublicAdvertisedPrefix parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
parseFrom(byte[] data)
public static PublicAdvertisedPrefix parseFrom(byte[] data)
Parameter |
---|
Name | Description |
data | byte[]
|
parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
public static PublicAdvertisedPrefix parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
parseFrom(ByteString data)
public static PublicAdvertisedPrefix parseFrom(ByteString data)
parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
public static PublicAdvertisedPrefix parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
public static PublicAdvertisedPrefix parseFrom(CodedInputStream input)
public static PublicAdvertisedPrefix parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public static PublicAdvertisedPrefix parseFrom(InputStream input)
public static PublicAdvertisedPrefix parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
parseFrom(ByteBuffer data)
public static PublicAdvertisedPrefix parseFrom(ByteBuffer data)
parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
public static PublicAdvertisedPrefix parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
parser()
public static Parser<PublicAdvertisedPrefix> parser()
Methods
equals(Object obj)
public boolean equals(Object obj)
Parameter |
---|
Name | Description |
obj | Object
|
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()
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 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()
[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()
[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()
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.
|
getParserForType()
public Parser<PublicAdvertisedPrefix> getParserForType()
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 |
---|
Name | Description |
index | int
|
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;
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
|
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 |
---|
Type | Description |
ByteString | The bytes for selfLink.
|
getSerializedSize()
public int getSerializedSize()
Returns |
---|
Type | Description |
int | |
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 |
---|
Type | Description |
ByteString | The bytes for status.
|
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()
[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()
[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 |
---|
Type | Description |
int | |
Overrides
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Overrides
isInitialized()
public final boolean isInitialized()
Overrides
newBuilderForType()
public PublicAdvertisedPrefix.Builder newBuilderForType()
newBuilderForType(GeneratedMessageV3.BuilderParent parent)
protected PublicAdvertisedPrefix.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Overrides
newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Overrides
toBuilder()
public PublicAdvertisedPrefix.Builder toBuilder()
writeTo(CodedOutputStream output)
public void writeTo(CodedOutputStream output)
Overrides