Package com.google.cloud.compute.v1
Class PublicDelegatedPrefix
java.lang.Object
com.google.protobuf.AbstractMessageLite
com.google.protobuf.AbstractMessage
com.google.protobuf.GeneratedMessage
com.google.cloud.compute.v1.PublicDelegatedPrefix
- All Implemented Interfaces:
PublicDelegatedPrefixOrBuilder,com.google.protobuf.Message,com.google.protobuf.MessageLite,com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder,Serializable
@Generated
public final class PublicDelegatedPrefix
extends com.google.protobuf.GeneratedMessage
implements PublicDelegatedPrefixOrBuilder
A PublicDelegatedPrefix resource represents an IP block within a PublicAdvertisedPrefix that is configured within a single cloud scope (global or region). IPs in the block can be allocated to resources within that scope. Public delegated prefixes may be further broken up into smaller IP blocks in the same scope as the parent block.Protobuf type
google.cloud.compute.v1.PublicDelegatedPrefix- See Also:
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic final classA PublicDelegatedPrefix resource represents an IP block within a PublicAdvertisedPrefix that is configured within a single cloud scope (global or region).static enumOutput only.static enumOutput only.static enumThe public delegated prefix mode for IPv6 only.static enum[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 yetNested classes/interfaces inherited from class com.google.protobuf.GeneratedMessage
com.google.protobuf.GeneratedMessage.ExtendableBuilder<MessageT extends com.google.protobuf.GeneratedMessage.ExtendableMessage<MessageT>,BuilderT extends com.google.protobuf.GeneratedMessage.ExtendableBuilder<MessageT, BuilderT>>, com.google.protobuf.GeneratedMessage.ExtendableMessage<MessageT extends com.google.protobuf.GeneratedMessage.ExtendableMessage<MessageT>>, com.google.protobuf.GeneratedMessage.ExtendableMessageOrBuilder<MessageT extends com.google.protobuf.GeneratedMessage.ExtendableMessage<MessageT>>, com.google.protobuf.GeneratedMessage.FieldAccessorTable, com.google.protobuf.GeneratedMessage.GeneratedExtension<ContainingT extends com.google.protobuf.Message, T extends Object>, com.google.protobuf.GeneratedMessage.UnusedPrivateParameter Nested classes/interfaces inherited from class com.google.protobuf.AbstractMessage
com.google.protobuf.AbstractMessage.BuilderParentNested classes/interfaces inherited from class com.google.protobuf.AbstractMessageLite
com.google.protobuf.AbstractMessageLite.InternalOneOfEnum -
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final intstatic final intstatic final intstatic final intstatic final intstatic final intstatic final intstatic final intstatic final intstatic final intstatic final intstatic final intstatic final intstatic final intstatic final intstatic final intstatic final intstatic final intFields inherited from class com.google.protobuf.GeneratedMessage
alwaysUseFieldBuilders, loggedPre22TypeNames, unknownFieldsFields inherited from class com.google.protobuf.AbstractMessage
memoizedSizeFields inherited from class com.google.protobuf.AbstractMessageLite
memoizedHashCode -
Method Summary
Modifier and TypeMethodDescriptionbooleanintThe allocatable prefix length supported by this public delegated prefix.Output only.com.google.protobuf.ByteStringOutput only.Output only.com.google.protobuf.ByteStringOutput only.static PublicDelegatedPrefixAn optional description of this resource.com.google.protobuf.ByteStringAn optional description of this resource.static final com.google.protobuf.Descriptors.DescriptorbooleanOutput 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.com.google.protobuf.Parser<PublicDelegatedPrefix>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.int[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.inthashCode()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 yetprotected com.google.protobuf.GeneratedMessage.FieldAccessorTablefinal booleannewBuilder(PublicDelegatedPrefix prototype) protected PublicDelegatedPrefix.BuildernewBuilderForType(com.google.protobuf.AbstractMessage.BuilderParent parent) static PublicDelegatedPrefixparseDelimitedFrom(InputStream input) static PublicDelegatedPrefixparseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static PublicDelegatedPrefixparseFrom(byte[] data) static PublicDelegatedPrefixparseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static PublicDelegatedPrefixparseFrom(com.google.protobuf.ByteString data) static PublicDelegatedPrefixparseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static PublicDelegatedPrefixparseFrom(com.google.protobuf.CodedInputStream input) static PublicDelegatedPrefixparseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static PublicDelegatedPrefixparseFrom(InputStream input) static PublicDelegatedPrefixparseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static PublicDelegatedPrefixparseFrom(ByteBuffer data) static PublicDelegatedPrefixparseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static com.google.protobuf.Parser<PublicDelegatedPrefix>parser()voidwriteTo(com.google.protobuf.CodedOutputStream output) Methods inherited from class com.google.protobuf.GeneratedMessage
canUseUnsafe, computeStringSize, computeStringSizeNoTag, emptyBooleanList, emptyDoubleList, emptyFloatList, emptyIntList, emptyList, emptyLongList, getAllFields, getDescriptorForType, getField, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof, internalGetMapField, internalGetMapFieldReflection, isStringEmpty, makeExtensionsImmutable, makeMutableCopy, makeMutableCopy, mergeFromAndMakeImmutableInternal, newFileScopedGeneratedExtension, newInstance, newMessageScopedGeneratedExtension, parseDelimitedWithIOException, parseDelimitedWithIOException, parseUnknownField, parseUnknownFieldProto3, parseWithIOException, parseWithIOException, parseWithIOException, parseWithIOException, serializeBooleanMapTo, serializeIntegerMapTo, serializeLongMapTo, serializeStringMapTo, writeReplace, writeString, writeStringNoTagMethods inherited from class com.google.protobuf.AbstractMessage
findInitializationErrors, getInitializationErrorString, hashFields, toStringMethods inherited from class com.google.protobuf.AbstractMessageLite
addAll, checkByteStringIsUtf8, toByteArray, toByteString, writeDelimitedTo, writeToMethods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, waitMethods inherited from interface com.google.protobuf.MessageLite
toByteArray, toByteString, writeDelimitedTo, writeToMethods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
Field Details
-
ALLOCATABLE_PREFIX_LENGTH_FIELD_NUMBER
public static final int ALLOCATABLE_PREFIX_LENGTH_FIELD_NUMBER- See Also:
-
BYOIP_API_VERSION_FIELD_NUMBER
public static final int BYOIP_API_VERSION_FIELD_NUMBER- See Also:
-
CREATION_TIMESTAMP_FIELD_NUMBER
public static final int CREATION_TIMESTAMP_FIELD_NUMBER- See Also:
-
DESCRIPTION_FIELD_NUMBER
public static final int DESCRIPTION_FIELD_NUMBER- See Also:
-
ENABLE_ENHANCED_IPV4_ALLOCATION_FIELD_NUMBER
public static final int ENABLE_ENHANCED_IPV4_ALLOCATION_FIELD_NUMBER- See Also:
-
FINGERPRINT_FIELD_NUMBER
public static final int FINGERPRINT_FIELD_NUMBER- See Also:
-
ID_FIELD_NUMBER
public static final int ID_FIELD_NUMBER- See Also:
-
IP_CIDR_RANGE_FIELD_NUMBER
public static final int IP_CIDR_RANGE_FIELD_NUMBER- See Also:
-
IPV6_ACCESS_TYPE_FIELD_NUMBER
public static final int IPV6_ACCESS_TYPE_FIELD_NUMBER- See Also:
-
IS_LIVE_MIGRATION_FIELD_NUMBER
public static final int IS_LIVE_MIGRATION_FIELD_NUMBER- See Also:
-
KIND_FIELD_NUMBER
public static final int KIND_FIELD_NUMBER- See Also:
-
MODE_FIELD_NUMBER
public static final int MODE_FIELD_NUMBER- See Also:
-
NAME_FIELD_NUMBER
public static final int NAME_FIELD_NUMBER- See Also:
-
PARENT_PREFIX_FIELD_NUMBER
public static final int PARENT_PREFIX_FIELD_NUMBER- See Also:
-
PUBLIC_DELEGATED_SUB_PREFIXS_FIELD_NUMBER
public static final int PUBLIC_DELEGATED_SUB_PREFIXS_FIELD_NUMBER- See Also:
-
REGION_FIELD_NUMBER
public static final int REGION_FIELD_NUMBER- See Also:
-
SELF_LINK_FIELD_NUMBER
public static final int SELF_LINK_FIELD_NUMBER- See Also:
-
STATUS_FIELD_NUMBER
public static final int STATUS_FIELD_NUMBER- See Also:
-
-
Method Details
-
getDescriptor
public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() -
internalGetFieldAccessorTable
protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()- Specified by:
internalGetFieldAccessorTablein classcom.google.protobuf.GeneratedMessage
-
hasAllocatablePrefixLength
public 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;- Specified by:
hasAllocatablePrefixLengthin interfacePublicDelegatedPrefixOrBuilder- Returns:
- Whether the allocatablePrefixLength field is set.
-
getAllocatablePrefixLength
public 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;- Specified by:
getAllocatablePrefixLengthin interfacePublicDelegatedPrefixOrBuilder- Returns:
- The allocatablePrefixLength.
-
hasByoipApiVersion
public 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;- Specified by:
hasByoipApiVersionin interfacePublicDelegatedPrefixOrBuilder- Returns:
- Whether the byoipApiVersion field is set.
-
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;- Specified by:
getByoipApiVersionin interfacePublicDelegatedPrefixOrBuilder- Returns:
- The byoipApiVersion.
-
getByoipApiVersionBytes
public 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;- Specified by:
getByoipApiVersionBytesin interfacePublicDelegatedPrefixOrBuilder- Returns:
- The bytes for byoipApiVersion.
-
hasCreationTimestamp
public boolean hasCreationTimestamp()Output only. [Output Only] Creation timestamp inRFC3339 text format.
optional string creation_timestamp = 30525366;- Specified by:
hasCreationTimestampin interfacePublicDelegatedPrefixOrBuilder- Returns:
- Whether the creationTimestamp field is set.
-
getCreationTimestamp
Output only. [Output Only] Creation timestamp inRFC3339 text format.
optional string creation_timestamp = 30525366;- Specified by:
getCreationTimestampin interfacePublicDelegatedPrefixOrBuilder- Returns:
- The creationTimestamp.
-
getCreationTimestampBytes
public com.google.protobuf.ByteString getCreationTimestampBytes()Output only. [Output Only] Creation timestamp inRFC3339 text format.
optional string creation_timestamp = 30525366;- Specified by:
getCreationTimestampBytesin interfacePublicDelegatedPrefixOrBuilder- Returns:
- The bytes for creationTimestamp.
-
hasDescription
public boolean hasDescription()An optional description of this resource. Provide this property when you create the resource.
optional string description = 422937596;- Specified by:
hasDescriptionin interfacePublicDelegatedPrefixOrBuilder- Returns:
- Whether the description field is set.
-
getDescription
An optional description of this resource. Provide this property when you create the resource.
optional string description = 422937596;- Specified by:
getDescriptionin interfacePublicDelegatedPrefixOrBuilder- Returns:
- The description.
-
getDescriptionBytes
public com.google.protobuf.ByteString getDescriptionBytes()An optional description of this resource. Provide this property when you create the resource.
optional string description = 422937596;- Specified by:
getDescriptionBytesin interfacePublicDelegatedPrefixOrBuilder- Returns:
- The bytes for description.
-
hasEnableEnhancedIpv4Allocation
public 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;- Specified by:
hasEnableEnhancedIpv4Allocationin interfacePublicDelegatedPrefixOrBuilder- Returns:
- Whether the enableEnhancedIpv4Allocation field is set.
-
getEnableEnhancedIpv4Allocation
public 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;- Specified by:
getEnableEnhancedIpv4Allocationin interfacePublicDelegatedPrefixOrBuilder- Returns:
- The enableEnhancedIpv4Allocation.
-
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 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;- Specified by:
hasFingerprintin interfacePublicDelegatedPrefixOrBuilder- Returns:
- Whether the fingerprint field is set.
-
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;- Specified by:
getFingerprintin interfacePublicDelegatedPrefixOrBuilder- Returns:
- The fingerprint.
-
getFingerprintBytes
public 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;- Specified by:
getFingerprintBytesin interfacePublicDelegatedPrefixOrBuilder- Returns:
- The bytes for fingerprint.
-
hasId
public boolean hasId()Output only. [Output Only] The unique identifier for the resource type. The server generates this identifier.
optional uint64 id = 3355;- Specified by:
hasIdin interfacePublicDelegatedPrefixOrBuilder- Returns:
- Whether the id field is set.
-
getId
public long getId()Output only. [Output Only] The unique identifier for the resource type. The server generates this identifier.
optional uint64 id = 3355;- Specified by:
getIdin interfacePublicDelegatedPrefixOrBuilder- Returns:
- The id.
-
hasIpCidrRange
public boolean hasIpCidrRange()The IP address range, in CIDR format, represented by this public delegated prefix.
optional string ip_cidr_range = 98117322;- Specified by:
hasIpCidrRangein interfacePublicDelegatedPrefixOrBuilder- Returns:
- Whether the ipCidrRange field is set.
-
getIpCidrRange
The IP address range, in CIDR format, represented by this public delegated prefix.
optional string ip_cidr_range = 98117322;- Specified by:
getIpCidrRangein interfacePublicDelegatedPrefixOrBuilder- Returns:
- The ipCidrRange.
-
getIpCidrRangeBytes
public com.google.protobuf.ByteString getIpCidrRangeBytes()The IP address range, in CIDR format, represented by this public delegated prefix.
optional string ip_cidr_range = 98117322;- Specified by:
getIpCidrRangeBytesin interfacePublicDelegatedPrefixOrBuilder- Returns:
- The bytes for ipCidrRange.
-
hasIpv6AccessType
public 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;- Specified by:
hasIpv6AccessTypein interfacePublicDelegatedPrefixOrBuilder- Returns:
- Whether the ipv6AccessType field is set.
-
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;- Specified by:
getIpv6AccessTypein interfacePublicDelegatedPrefixOrBuilder- Returns:
- The ipv6AccessType.
-
getIpv6AccessTypeBytes
public 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;- Specified by:
getIpv6AccessTypeBytesin interfacePublicDelegatedPrefixOrBuilder- Returns:
- The bytes for ipv6AccessType.
-
hasIsLiveMigration
public boolean hasIsLiveMigration()If true, the prefix will be live migrated.
optional bool is_live_migration = 511823856;- Specified by:
hasIsLiveMigrationin interfacePublicDelegatedPrefixOrBuilder- Returns:
- Whether the isLiveMigration field is set.
-
getIsLiveMigration
public boolean getIsLiveMigration()If true, the prefix will be live migrated.
optional bool is_live_migration = 511823856;- Specified by:
getIsLiveMigrationin interfacePublicDelegatedPrefixOrBuilder- Returns:
- The isLiveMigration.
-
hasKind
public boolean hasKind()Output only. [Output Only] Type of the resource. Alwayscompute#publicDelegatedPrefix for public delegated prefixes.
optional string kind = 3292052;- Specified by:
hasKindin interfacePublicDelegatedPrefixOrBuilder- Returns:
- Whether the kind field is set.
-
getKind
Output only. [Output Only] Type of the resource. Alwayscompute#publicDelegatedPrefix for public delegated prefixes.
optional string kind = 3292052;- Specified by:
getKindin interfacePublicDelegatedPrefixOrBuilder- Returns:
- The kind.
-
getKindBytes
public com.google.protobuf.ByteString getKindBytes()Output only. [Output Only] Type of the resource. Alwayscompute#publicDelegatedPrefix for public delegated prefixes.
optional string kind = 3292052;- Specified by:
getKindBytesin interfacePublicDelegatedPrefixOrBuilder- Returns:
- The bytes for kind.
-
hasMode
public boolean hasMode()The public delegated prefix mode for IPv6 only. Check the Mode enum for the list of possible values.
optional string mode = 3357091;- Specified by:
hasModein interfacePublicDelegatedPrefixOrBuilder- Returns:
- Whether the mode field is set.
-
getMode
The public delegated prefix mode for IPv6 only. Check the Mode enum for the list of possible values.
optional string mode = 3357091;- Specified by:
getModein interfacePublicDelegatedPrefixOrBuilder- Returns:
- The mode.
-
getModeBytes
public 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;- Specified by:
getModeBytesin interfacePublicDelegatedPrefixOrBuilder- Returns:
- The bytes for mode.
-
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 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;- Specified by:
hasNamein interfacePublicDelegatedPrefixOrBuilder- Returns:
- Whether the name field is set.
-
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;- Specified by:
getNamein interfacePublicDelegatedPrefixOrBuilder- Returns:
- The name.
-
getNameBytes
public 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;- Specified by:
getNameBytesin interfacePublicDelegatedPrefixOrBuilder- Returns:
- The bytes for name.
-
hasParentPrefix
public boolean hasParentPrefix()The URL of parent prefix. Either PublicAdvertisedPrefix or PublicDelegatedPrefix.
optional string parent_prefix = 15233991;- Specified by:
hasParentPrefixin interfacePublicDelegatedPrefixOrBuilder- Returns:
- Whether the parentPrefix field is set.
-
getParentPrefix
The URL of parent prefix. Either PublicAdvertisedPrefix or PublicDelegatedPrefix.
optional string parent_prefix = 15233991;- Specified by:
getParentPrefixin interfacePublicDelegatedPrefixOrBuilder- Returns:
- The parentPrefix.
-
getParentPrefixBytes
public com.google.protobuf.ByteString getParentPrefixBytes()The URL of parent prefix. Either PublicAdvertisedPrefix or PublicDelegatedPrefix.
optional string parent_prefix = 15233991;- Specified by:
getParentPrefixBytesin interfacePublicDelegatedPrefixOrBuilder- Returns:
- The bytes for parentPrefix.
-
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;- Specified by:
getPublicDelegatedSubPrefixsListin interfacePublicDelegatedPrefixOrBuilder
-
getPublicDelegatedSubPrefixsOrBuilderList
public 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;- Specified by:
getPublicDelegatedSubPrefixsOrBuilderListin interfacePublicDelegatedPrefixOrBuilder
-
getPublicDelegatedSubPrefixsCount
public 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;- Specified by:
getPublicDelegatedSubPrefixsCountin interfacePublicDelegatedPrefixOrBuilder
-
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;- Specified by:
getPublicDelegatedSubPrefixsin interfacePublicDelegatedPrefixOrBuilder
-
getPublicDelegatedSubPrefixsOrBuilder
public 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;- Specified by:
getPublicDelegatedSubPrefixsOrBuilderin interfacePublicDelegatedPrefixOrBuilder
-
hasRegion
public 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;- Specified by:
hasRegionin interfacePublicDelegatedPrefixOrBuilder- Returns:
- Whether the region field is set.
-
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;- Specified by:
getRegionin interfacePublicDelegatedPrefixOrBuilder- Returns:
- The region.
-
getRegionBytes
public 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;- Specified by:
getRegionBytesin interfacePublicDelegatedPrefixOrBuilder- Returns:
- The bytes for region.
-
hasSelfLink
public boolean hasSelfLink()Output only. [Output Only] Server-defined URL for the resource.
optional string self_link = 456214797;- Specified by:
hasSelfLinkin interfacePublicDelegatedPrefixOrBuilder- Returns:
- Whether the selfLink field is set.
-
getSelfLink
Output only. [Output Only] Server-defined URL for the resource.
optional string self_link = 456214797;- Specified by:
getSelfLinkin interfacePublicDelegatedPrefixOrBuilder- Returns:
- The selfLink.
-
getSelfLinkBytes
public com.google.protobuf.ByteString getSelfLinkBytes()Output only. [Output Only] Server-defined URL for the resource.
optional string self_link = 456214797;- Specified by:
getSelfLinkBytesin interfacePublicDelegatedPrefixOrBuilder- Returns:
- The bytes for selfLink.
-
hasStatus
public 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;- Specified by:
hasStatusin interfacePublicDelegatedPrefixOrBuilder- Returns:
- Whether the status field is set.
-
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;- Specified by:
getStatusin interfacePublicDelegatedPrefixOrBuilder- Returns:
- The status.
-
getStatusBytes
public 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;- Specified by:
getStatusBytesin interfacePublicDelegatedPrefixOrBuilder- Returns:
- The bytes for status.
-
isInitialized
public final boolean isInitialized()- Specified by:
isInitializedin interfacecom.google.protobuf.MessageLiteOrBuilder- Overrides:
isInitializedin classcom.google.protobuf.GeneratedMessage
-
writeTo
- Specified by:
writeToin interfacecom.google.protobuf.MessageLite- Overrides:
writeToin classcom.google.protobuf.GeneratedMessage- Throws:
IOException
-
getSerializedSize
public int getSerializedSize()- Specified by:
getSerializedSizein interfacecom.google.protobuf.MessageLite- Overrides:
getSerializedSizein classcom.google.protobuf.GeneratedMessage
-
equals
- Specified by:
equalsin interfacecom.google.protobuf.Message- Overrides:
equalsin classcom.google.protobuf.AbstractMessage
-
hashCode
public int hashCode()- Specified by:
hashCodein interfacecom.google.protobuf.Message- Overrides:
hashCodein classcom.google.protobuf.AbstractMessage
-
parseFrom
public static PublicDelegatedPrefix parseFrom(ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static PublicDelegatedPrefix parseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static PublicDelegatedPrefix parseFrom(com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static PublicDelegatedPrefix parseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static PublicDelegatedPrefix parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static PublicDelegatedPrefix parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
- Throws:
IOException
-
parseFrom
public static PublicDelegatedPrefix parseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException - Throws:
IOException
-
parseDelimitedFrom
- Throws:
IOException
-
parseDelimitedFrom
public static PublicDelegatedPrefix parseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException - Throws:
IOException
-
parseFrom
public static PublicDelegatedPrefix parseFrom(com.google.protobuf.CodedInputStream input) throws IOException - Throws:
IOException
-
parseFrom
public static PublicDelegatedPrefix parseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException - Throws:
IOException
-
newBuilderForType
- Specified by:
newBuilderForTypein interfacecom.google.protobuf.Message- Specified by:
newBuilderForTypein interfacecom.google.protobuf.MessageLite
-
newBuilder
-
newBuilder
-
toBuilder
- Specified by:
toBuilderin interfacecom.google.protobuf.Message- Specified by:
toBuilderin interfacecom.google.protobuf.MessageLite
-
newBuilderForType
protected PublicDelegatedPrefix.Builder newBuilderForType(com.google.protobuf.AbstractMessage.BuilderParent parent) - Overrides:
newBuilderForTypein classcom.google.protobuf.AbstractMessage
-
getDefaultInstance
-
parser
-
getParserForType
- Specified by:
getParserForTypein interfacecom.google.protobuf.Message- Specified by:
getParserForTypein interfacecom.google.protobuf.MessageLite- Overrides:
getParserForTypein classcom.google.protobuf.GeneratedMessage
-
getDefaultInstanceForType
- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageLiteOrBuilder- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageOrBuilder
-