Interface PublicDelegatedPrefixOrBuilder (1.65.0)

public interface PublicDelegatedPrefixOrBuilder extends MessageOrBuilder

Implements

MessageOrBuilder

Methods

getAllocatablePrefixLength()

public abstract int getAllocatablePrefixLength()

The allocatable prefix length supported by this public delegated prefix. This field is optional and cannot be set for prefixes in DELEGATION mode. It cannot be set for IPv4 prefixes either, and it always defaults to 32.

optional int32 allocatable_prefix_length = 38427446;

Returns
Type Description
int

The allocatablePrefixLength.

getByoipApiVersion()

public abstract 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 abstract 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 abstract String getCreationTimestamp()

[Output Only] Creation timestamp in RFC3339 text format.

optional string creation_timestamp = 30525366;

Returns
Type Description
String

The creationTimestamp.

getCreationTimestampBytes()

public abstract ByteString getCreationTimestampBytes()

[Output Only] Creation timestamp in RFC3339 text format.

optional string creation_timestamp = 30525366;

Returns
Type Description
ByteString

The bytes for creationTimestamp.

getDescription()

public abstract 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 abstract 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.

getFingerprint()

public abstract String getFingerprint()

Fingerprint of this resource. A hash of the contents stored in this object. This field is used in optimistic locking. This field will be ignored when inserting a new PublicDelegatedPrefix. An up-to-date fingerprint must be provided in order to update the PublicDelegatedPrefix, otherwise the request will fail with error 412 conditionNotMet. To see the latest fingerprint, make a get() request to retrieve a PublicDelegatedPrefix.

optional string fingerprint = 234678500;

Returns
Type Description
String

The fingerprint.

getFingerprintBytes()

public abstract ByteString getFingerprintBytes()

Fingerprint of this resource. A hash of the contents stored in this object. This field is used in optimistic locking. This field will be ignored when inserting a new PublicDelegatedPrefix. An up-to-date fingerprint must be provided in order to update the PublicDelegatedPrefix, otherwise the request will fail with error 412 conditionNotMet. To see the latest fingerprint, make a get() request to retrieve a PublicDelegatedPrefix.

optional string fingerprint = 234678500;

Returns
Type Description
ByteString

The bytes for fingerprint.

getId()

public abstract 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 abstract String getIpCidrRange()

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

optional string ip_cidr_range = 98117322;

Returns
Type Description
String

The ipCidrRange.

getIpCidrRangeBytes()

public abstract ByteString getIpCidrRangeBytes()

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

optional string ip_cidr_range = 98117322;

Returns
Type Description
ByteString

The bytes for ipCidrRange.

getIsLiveMigration()

public abstract boolean getIsLiveMigration()

If true, the prefix will be live migrated.

optional bool is_live_migration = 511823856;

Returns
Type Description
boolean

The isLiveMigration.

getKind()

public abstract String getKind()

[Output Only] Type of the resource. Always compute#publicDelegatedPrefix for public delegated prefixes.

optional string kind = 3292052;

Returns
Type Description
String

The kind.

getKindBytes()

public abstract ByteString getKindBytes()

[Output Only] Type of the resource. Always compute#publicDelegatedPrefix for public delegated prefixes.

optional string kind = 3292052;

Returns
Type Description
ByteString

The bytes for kind.

getMode()

public abstract String getMode()

The public delegated prefix mode for IPv6 only. Check the Mode enum for the list of possible values.

optional string mode = 3357091;

Returns
Type Description
String

The mode.

getModeBytes()

public abstract ByteString getModeBytes()

The public delegated prefix mode for IPv6 only. Check the Mode enum for the list of possible values.

optional string mode = 3357091;

Returns
Type Description
ByteString

The bytes for mode.

getName()

public abstract 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 abstract 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.

getParentPrefix()

public abstract String getParentPrefix()

The URL of parent prefix. Either PublicAdvertisedPrefix or PublicDelegatedPrefix.

optional string parent_prefix = 15233991;

Returns
Type Description
String

The parentPrefix.

getParentPrefixBytes()

public abstract ByteString getParentPrefixBytes()

The URL of parent prefix. Either PublicAdvertisedPrefix or PublicDelegatedPrefix.

optional string parent_prefix = 15233991;

Returns
Type Description
ByteString

The bytes for parentPrefix.

getPublicDelegatedSubPrefixs(int index)

public abstract PublicDelegatedPrefixPublicDelegatedSubPrefix getPublicDelegatedSubPrefixs(int index)

The list of sub public delegated prefixes that exist for this public delegated prefix.

repeated .google.cloud.compute.v1.PublicDelegatedPrefixPublicDelegatedSubPrefix public_delegated_sub_prefixs = 188940044;

Parameter
Name Description
index int
Returns
Type Description
PublicDelegatedPrefixPublicDelegatedSubPrefix

getPublicDelegatedSubPrefixsCount()

public abstract int getPublicDelegatedSubPrefixsCount()

The list of sub public delegated prefixes that exist for this public delegated prefix.

repeated .google.cloud.compute.v1.PublicDelegatedPrefixPublicDelegatedSubPrefix public_delegated_sub_prefixs = 188940044;

Returns
Type Description
int

getPublicDelegatedSubPrefixsList()

public abstract List<PublicDelegatedPrefixPublicDelegatedSubPrefix> getPublicDelegatedSubPrefixsList()

The list of sub public delegated prefixes that exist for this public delegated prefix.

repeated .google.cloud.compute.v1.PublicDelegatedPrefixPublicDelegatedSubPrefix public_delegated_sub_prefixs = 188940044;

Returns
Type Description
List<PublicDelegatedPrefixPublicDelegatedSubPrefix>

getPublicDelegatedSubPrefixsOrBuilder(int index)

public abstract PublicDelegatedPrefixPublicDelegatedSubPrefixOrBuilder getPublicDelegatedSubPrefixsOrBuilder(int index)

The list of sub public delegated prefixes that exist for this public delegated prefix.

repeated .google.cloud.compute.v1.PublicDelegatedPrefixPublicDelegatedSubPrefix public_delegated_sub_prefixs = 188940044;

Parameter
Name Description
index int
Returns
Type Description
PublicDelegatedPrefixPublicDelegatedSubPrefixOrBuilder

getPublicDelegatedSubPrefixsOrBuilderList()

public abstract List<? extends PublicDelegatedPrefixPublicDelegatedSubPrefixOrBuilder> getPublicDelegatedSubPrefixsOrBuilderList()

The list of sub public delegated prefixes that exist for this public delegated prefix.

repeated .google.cloud.compute.v1.PublicDelegatedPrefixPublicDelegatedSubPrefix public_delegated_sub_prefixs = 188940044;

Returns
Type Description
List<? extends com.google.cloud.compute.v1.PublicDelegatedPrefixPublicDelegatedSubPrefixOrBuilder>

getRegion()

public abstract String getRegion()

[Output Only] URL of the region where the public delegated prefix resides. This field applies only to the region resource. You must specify this field as part of the HTTP request URL. It is not settable as a field in the request body.

optional string region = 138946292;

Returns
Type Description
String

The region.

getRegionBytes()

public abstract ByteString getRegionBytes()

[Output Only] URL of the region where the public delegated prefix resides. This field applies only to the region resource. You must specify this field as part of the HTTP request URL. It is not settable as a field in the request body.

optional string region = 138946292;

Returns
Type Description
ByteString

The bytes for region.

public abstract String getSelfLink()

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

optional string self_link = 456214797;

Returns
Type Description
String

The selfLink.

getSelfLinkBytes()

public abstract ByteString getSelfLinkBytes()

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

optional string self_link = 456214797;

Returns
Type Description
ByteString

The bytes for selfLink.

getStatus()

public abstract String getStatus()

[Output Only] The status of the public delegated prefix, which can be one of following values: - INITIALIZING The public delegated prefix is being initialized and addresses cannot be created yet. - READY_TO_ANNOUNCE The public delegated prefix is a live migration prefix and is active. - ANNOUNCED The public delegated prefix is active. - DELETING The public delegated prefix is being deprovsioned. Check the Status enum for the list of possible values.

optional string status = 181260274;

Returns
Type Description
String

The status.

getStatusBytes()

public abstract ByteString getStatusBytes()

[Output Only] The status of the public delegated prefix, which can be one of following values: - INITIALIZING The public delegated prefix is being initialized and addresses cannot be created yet. - READY_TO_ANNOUNCE The public delegated prefix is a live migration prefix and is active. - ANNOUNCED The public delegated prefix is active. - DELETING The public delegated prefix is being deprovsioned. Check the Status enum for the list of possible values.

optional string status = 181260274;

Returns
Type Description
ByteString

The bytes for status.

hasAllocatablePrefixLength()

public abstract boolean hasAllocatablePrefixLength()

The allocatable prefix length supported by this public delegated prefix. This field is optional and cannot be set for prefixes in DELEGATION mode. It cannot be set for IPv4 prefixes either, and it always defaults to 32.

optional int32 allocatable_prefix_length = 38427446;

Returns
Type Description
boolean

Whether the allocatablePrefixLength field is set.

hasByoipApiVersion()

public abstract 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 abstract 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 abstract 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.

hasFingerprint()

public abstract boolean hasFingerprint()

Fingerprint of this resource. A hash of the contents stored in this object. This field is used in optimistic locking. This field will be ignored when inserting a new PublicDelegatedPrefix. An up-to-date fingerprint must be provided in order to update the PublicDelegatedPrefix, otherwise the request will fail with error 412 conditionNotMet. To see the latest fingerprint, make a get() request to retrieve a PublicDelegatedPrefix.

optional string fingerprint = 234678500;

Returns
Type Description
boolean

Whether the fingerprint field is set.

hasId()

public abstract 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 abstract boolean hasIpCidrRange()

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

optional string ip_cidr_range = 98117322;

Returns
Type Description
boolean

Whether the ipCidrRange field is set.

hasIsLiveMigration()

public abstract boolean hasIsLiveMigration()

If true, the prefix will be live migrated.

optional bool is_live_migration = 511823856;

Returns
Type Description
boolean

Whether the isLiveMigration field is set.

hasKind()

public abstract boolean hasKind()

[Output Only] Type of the resource. Always compute#publicDelegatedPrefix for public delegated prefixes.

optional string kind = 3292052;

Returns
Type Description
boolean

Whether the kind field is set.

hasMode()

public abstract boolean hasMode()

The public delegated prefix mode for IPv6 only. Check the Mode enum for the list of possible values.

optional string mode = 3357091;

Returns
Type Description
boolean

Whether the mode field is set.

hasName()

public abstract 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.

hasParentPrefix()

public abstract boolean hasParentPrefix()

The URL of parent prefix. Either PublicAdvertisedPrefix or PublicDelegatedPrefix.

optional string parent_prefix = 15233991;

Returns
Type Description
boolean

Whether the parentPrefix field is set.

hasRegion()

public abstract boolean hasRegion()

[Output Only] URL of the region where the public delegated prefix resides. This field applies only to the region resource. You must specify this field as part of the HTTP request URL. It is not settable as a field in the request body.

optional string region = 138946292;

Returns
Type Description
boolean

Whether the region field is set.

public abstract 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.

hasStatus()

public abstract boolean hasStatus()

[Output Only] The status of the public delegated prefix, which can be one of following values: - INITIALIZING The public delegated prefix is being initialized and addresses cannot be created yet. - READY_TO_ANNOUNCE The public delegated prefix is a live migration prefix and is active. - ANNOUNCED The public delegated prefix is active. - DELETING The public delegated prefix is being deprovsioned. Check the Status enum for the list of possible values.

optional string status = 181260274;

Returns
Type Description
boolean

Whether the status field is set.