Package com.google.cloud.compute.v1
Interface PublicDelegatedPrefixOrBuilder
- All Superinterfaces:
com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder
- All Known Implementing Classes:
PublicDelegatedPrefix,PublicDelegatedPrefix.Builder
@Generated
public interface PublicDelegatedPrefixOrBuilder
extends com.google.protobuf.MessageOrBuilder
-
Method Summary
Modifier and TypeMethodDescriptionintThe allocatable prefix length supported by this public delegated prefix.Output only.com.google.protobuf.ByteStringOutput only.Output only.com.google.protobuf.ByteStringOutput only.An optional description of this resource.com.google.protobuf.ByteStringAn optional description of this resource.booleanOutput only.Fingerprint of this resource.com.google.protobuf.ByteStringFingerprint of this resource.longgetId()Output only.The IP address range, in CIDR format, represented by this public delegated prefix.com.google.protobuf.ByteStringThe IP address range, in CIDR format, represented by this public delegated prefix.Output only.com.google.protobuf.ByteStringOutput only.booleanIf true, the prefix will be live migrated.getKind()Output only.com.google.protobuf.ByteStringOutput only.getMode()The public delegated prefix mode for IPv6 only.com.google.protobuf.ByteStringThe public delegated prefix mode for IPv6 only.getName()Name of the resource.com.google.protobuf.ByteStringName of the resource.The URL of parent prefix.com.google.protobuf.ByteStringThe URL of parent prefix.getPublicDelegatedSubPrefixs(int index) The list of sub public delegated prefixes that exist for this public delegated prefix.intThe list of sub public delegated prefixes that exist for this public delegated prefix.The list of sub public delegated prefixes that exist for this public delegated prefix.getPublicDelegatedSubPrefixsOrBuilder(int index) The list of sub public delegated prefixes that exist for this public delegated prefix.The list of sub public delegated prefixes that exist for this public delegated prefix.Output only.com.google.protobuf.ByteStringOutput only.Output only.com.google.protobuf.ByteStringOutput only.[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 yetcom.google.protobuf.ByteString[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 yetbooleanThe allocatable prefix length supported by this public delegated prefix.booleanOutput only.booleanOutput only.booleanAn optional description of this resource.booleanOutput only.booleanFingerprint of this resource.booleanhasId()Output only.booleanThe IP address range, in CIDR format, represented by this public delegated prefix.booleanOutput only.booleanIf true, the prefix will be live migrated.booleanhasKind()Output only.booleanhasMode()The public delegated prefix mode for IPv6 only.booleanhasName()Name of the resource.booleanThe URL of parent prefix.booleanOutput only.booleanOutput only.boolean[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 yetMethods inherited from interface com.google.protobuf.MessageLiteOrBuilder
isInitializedMethods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getDefaultInstanceForType, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
Method Details
-
hasAllocatablePrefixLength
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:
- Whether the allocatablePrefixLength field is set.
-
getAllocatablePrefixLength
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:
- The allocatablePrefixLength.
-
hasByoipApiVersion
boolean hasByoipApiVersion()Output only. [Output Only] The version of BYOIP API. Check the ByoipApiVersion enum for the list of possible values.
optional string byoip_api_version = 162683283;- Returns:
- Whether the byoipApiVersion field is set.
-
getByoipApiVersion
String getByoipApiVersion()Output only. [Output Only] The version of BYOIP API. Check the ByoipApiVersion enum for the list of possible values.
optional string byoip_api_version = 162683283;- Returns:
- The byoipApiVersion.
-
getByoipApiVersionBytes
com.google.protobuf.ByteString getByoipApiVersionBytes()Output only. [Output Only] The version of BYOIP API. Check the ByoipApiVersion enum for the list of possible values.
optional string byoip_api_version = 162683283;- Returns:
- The bytes for byoipApiVersion.
-
hasCreationTimestamp
boolean hasCreationTimestamp()Output only. [Output Only] Creation timestamp inRFC3339 text format.
optional string creation_timestamp = 30525366;- Returns:
- Whether the creationTimestamp field is set.
-
getCreationTimestamp
String getCreationTimestamp()Output only. [Output Only] Creation timestamp inRFC3339 text format.
optional string creation_timestamp = 30525366;- Returns:
- The creationTimestamp.
-
getCreationTimestampBytes
com.google.protobuf.ByteString getCreationTimestampBytes()Output only. [Output Only] Creation timestamp inRFC3339 text format.
optional string creation_timestamp = 30525366;- Returns:
- The bytes for creationTimestamp.
-
hasDescription
boolean hasDescription()An optional description of this resource. Provide this property when you create the resource.
optional string description = 422937596;- Returns:
- Whether the description field is set.
-
getDescription
String getDescription()An optional description of this resource. Provide this property when you create the resource.
optional string description = 422937596;- Returns:
- The description.
-
getDescriptionBytes
com.google.protobuf.ByteString getDescriptionBytes()An optional description of this resource. Provide this property when you create the resource.
optional string description = 422937596;- Returns:
- The bytes for description.
-
hasEnableEnhancedIpv4Allocation
boolean hasEnableEnhancedIpv4Allocation()Output only. [Output Only] Whether this PDP supports enhanced IPv4 allocations. Applicable for IPv4 PDPs only.
optional bool enable_enhanced_ipv4_allocation = 54582253;- Returns:
- Whether the enableEnhancedIpv4Allocation field is set.
-
getEnableEnhancedIpv4Allocation
boolean getEnableEnhancedIpv4Allocation()Output only. [Output Only] Whether this PDP supports enhanced IPv4 allocations. Applicable for IPv4 PDPs only.
optional bool enable_enhanced_ipv4_allocation = 54582253;- Returns:
- The enableEnhancedIpv4Allocation.
-
hasFingerprint
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 thePublicDelegatedPrefix, 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:
- Whether the fingerprint field is set.
-
getFingerprint
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 thePublicDelegatedPrefix, 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:
- The fingerprint.
-
getFingerprintBytes
com.google.protobuf.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 thePublicDelegatedPrefix, 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:
- The bytes for fingerprint.
-
hasId
boolean hasId()Output only. [Output Only] The unique identifier for the resource type. The server generates this identifier.
optional uint64 id = 3355;- Returns:
- Whether the id field is set.
-
getId
long getId()Output only. [Output Only] The unique identifier for the resource type. The server generates this identifier.
optional uint64 id = 3355;- Returns:
- The id.
-
hasIpCidrRange
boolean hasIpCidrRange()The IP address range, in CIDR format, represented by this public delegated prefix.
optional string ip_cidr_range = 98117322;- Returns:
- Whether the ipCidrRange field is set.
-
getIpCidrRange
String getIpCidrRange()The IP address range, in CIDR format, represented by this public delegated prefix.
optional string ip_cidr_range = 98117322;- Returns:
- The ipCidrRange.
-
getIpCidrRangeBytes
com.google.protobuf.ByteString getIpCidrRangeBytes()The IP address range, in CIDR format, represented by this public delegated prefix.
optional string ip_cidr_range = 98117322;- Returns:
- The bytes for ipCidrRange.
-
hasIpv6AccessType
boolean hasIpv6AccessType()Output only. [Output Only] The internet access type for IPv6 Public Delegated Prefixes. Inherited from parent prefix. Check the Ipv6AccessType enum for the list of possible values.
optional string ipv6_access_type = 504658653;- Returns:
- Whether the ipv6AccessType field is set.
-
getIpv6AccessType
String getIpv6AccessType()Output only. [Output Only] The internet access type for IPv6 Public Delegated Prefixes. Inherited from parent prefix. Check the Ipv6AccessType enum for the list of possible values.
optional string ipv6_access_type = 504658653;- Returns:
- The ipv6AccessType.
-
getIpv6AccessTypeBytes
com.google.protobuf.ByteString getIpv6AccessTypeBytes()Output only. [Output Only] The internet access type for IPv6 Public Delegated Prefixes. Inherited from parent prefix. Check the Ipv6AccessType enum for the list of possible values.
optional string ipv6_access_type = 504658653;- Returns:
- The bytes for ipv6AccessType.
-
hasIsLiveMigration
boolean hasIsLiveMigration()If true, the prefix will be live migrated.
optional bool is_live_migration = 511823856;- Returns:
- Whether the isLiveMigration field is set.
-
getIsLiveMigration
boolean getIsLiveMigration()If true, the prefix will be live migrated.
optional bool is_live_migration = 511823856;- Returns:
- The isLiveMigration.
-
hasKind
boolean hasKind()Output only. [Output Only] Type of the resource. Alwayscompute#publicDelegatedPrefix for public delegated prefixes.
optional string kind = 3292052;- Returns:
- Whether the kind field is set.
-
getKind
String getKind()Output only. [Output Only] Type of the resource. Alwayscompute#publicDelegatedPrefix for public delegated prefixes.
optional string kind = 3292052;- Returns:
- The kind.
-
getKindBytes
com.google.protobuf.ByteString getKindBytes()Output only. [Output Only] Type of the resource. Alwayscompute#publicDelegatedPrefix for public delegated prefixes.
optional string kind = 3292052;- Returns:
- The bytes for kind.
-
hasMode
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:
- Whether the mode field is set.
-
getMode
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:
- The mode.
-
getModeBytes
com.google.protobuf.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:
- The bytes for mode.
-
hasName
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 withRFC1035. Specifically, the name must be 1-63 characters long and match the regular expression `[a-z]([-a-z0-9]*[a-z0-9])?` 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:
- Whether the name field is set.
-
getName
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 withRFC1035. Specifically, the name must be 1-63 characters long and match the regular expression `[a-z]([-a-z0-9]*[a-z0-9])?` 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:
- The name.
-
getNameBytes
com.google.protobuf.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 withRFC1035. Specifically, the name must be 1-63 characters long and match the regular expression `[a-z]([-a-z0-9]*[a-z0-9])?` 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:
- The bytes for name.
-
hasParentPrefix
boolean hasParentPrefix()The URL of parent prefix. Either PublicAdvertisedPrefix or PublicDelegatedPrefix.
optional string parent_prefix = 15233991;- Returns:
- Whether the parentPrefix field is set.
-
getParentPrefix
String getParentPrefix()The URL of parent prefix. Either PublicAdvertisedPrefix or PublicDelegatedPrefix.
optional string parent_prefix = 15233991;- Returns:
- The parentPrefix.
-
getParentPrefixBytes
com.google.protobuf.ByteString getParentPrefixBytes()The URL of parent prefix. Either PublicAdvertisedPrefix or PublicDelegatedPrefix.
optional string parent_prefix = 15233991;- Returns:
- The bytes for parentPrefix.
-
getPublicDelegatedSubPrefixsList
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; -
getPublicDelegatedSubPrefixs
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; -
getPublicDelegatedSubPrefixsCount
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; -
getPublicDelegatedSubPrefixsOrBuilderList
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; -
getPublicDelegatedSubPrefixsOrBuilder
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; -
hasRegion
boolean hasRegion()Output only. [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:
- Whether the region field is set.
-
getRegion
String getRegion()Output only. [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:
- The region.
-
getRegionBytes
com.google.protobuf.ByteString getRegionBytes()Output only. [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:
- The bytes for region.
-
hasSelfLink
boolean hasSelfLink()Output only. [Output Only] Server-defined URL for the resource.
optional string self_link = 456214797;- Returns:
- Whether the selfLink field is set.
-
getSelfLink
String getSelfLink()Output only. [Output Only] Server-defined URL for the resource.
optional string self_link = 456214797;- Returns:
- The selfLink.
-
getSelfLinkBytes
com.google.protobuf.ByteString getSelfLinkBytes()Output only. [Output Only] Server-defined URL for the resource.
optional string self_link = 456214797;- Returns:
- The bytes for selfLink.
-
hasStatus
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 announced and ready to use. - `DELETING` The public delegated prefix is being deprovsioned. - `ACTIVE` The public delegated prefix is ready to use. Check the Status enum for the list of possible values.
optional string status = 181260274;- Returns:
- Whether the status field is set.
-
getStatus
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 announced and ready to use. - `DELETING` The public delegated prefix is being deprovsioned. - `ACTIVE` The public delegated prefix is ready to use. Check the Status enum for the list of possible values.
optional string status = 181260274;- Returns:
- The status.
-
getStatusBytes
com.google.protobuf.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 announced and ready to use. - `DELETING` The public delegated prefix is being deprovsioned. - `ACTIVE` The public delegated prefix is ready to use. Check the Status enum for the list of possible values.
optional string status = 181260274;- Returns:
- The bytes for status.
-