- 1.65.0 (latest)
- 1.64.0
- 1.63.0
- 1.62.0
- 1.61.0
- 1.59.0
- 1.58.0
- 1.57.0
- 1.56.0
- 1.55.0
- 1.54.0
- 1.53.0
- 1.52.0
- 1.51.0
- 1.50.0
- 1.49.0
- 1.47.0
- 1.46.0
- 1.45.0
- 1.44.0
- 1.43.0
- 1.42.0
- 1.41.0
- 1.40.0
- 1.39.0
- 1.38.0
- 1.37.0
- 1.34.0
- 1.33.0
- 1.32.0
- 1.31.0
- 1.30.0
- 1.29.0
- 1.28.0
- 1.27.0
- 1.26.0
- 1.25.0
- 1.24.0
- 1.23.0
- 1.22.0
- 1.21.0
- 1.20.0
- 1.19.0
- 1.18.0
- 1.17.0
- 1.16.0
- 1.15.0
- 1.14.0
- 1.13.0
- 1.12.1
- 1.11.0
- 1.9.1
- 1.8.1
- 1.7.2
- 1.6.0-beta
public static final class PublicDelegatedPrefix.Builder extends GeneratedMessageV3.Builder<PublicDelegatedPrefix.Builder> 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
Inheritance
Object > AbstractMessageLite.Builder<MessageType,BuilderType> > AbstractMessage.Builder<BuilderType> > GeneratedMessageV3.Builder > PublicDelegatedPrefix.BuilderImplements
PublicDelegatedPrefixOrBuilderStatic Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
Returns | |
---|---|
Type | Description |
Descriptor |
Methods
addAllPublicDelegatedSubPrefixs(Iterable<? extends PublicDelegatedPrefixPublicDelegatedSubPrefix> values)
public PublicDelegatedPrefix.Builder addAllPublicDelegatedSubPrefixs(Iterable<? extends PublicDelegatedPrefixPublicDelegatedSubPrefix> values)
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 |
values |
Iterable<? extends com.google.cloud.compute.v1.PublicDelegatedPrefixPublicDelegatedSubPrefix> |
Returns | |
---|---|
Type | Description |
PublicDelegatedPrefix.Builder |
addPublicDelegatedSubPrefixs(PublicDelegatedPrefixPublicDelegatedSubPrefix value)
public PublicDelegatedPrefix.Builder addPublicDelegatedSubPrefixs(PublicDelegatedPrefixPublicDelegatedSubPrefix value)
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 |
value |
PublicDelegatedPrefixPublicDelegatedSubPrefix |
Returns | |
---|---|
Type | Description |
PublicDelegatedPrefix.Builder |
addPublicDelegatedSubPrefixs(PublicDelegatedPrefixPublicDelegatedSubPrefix.Builder builderForValue)
public PublicDelegatedPrefix.Builder addPublicDelegatedSubPrefixs(PublicDelegatedPrefixPublicDelegatedSubPrefix.Builder builderForValue)
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 |
builderForValue |
PublicDelegatedPrefixPublicDelegatedSubPrefix.Builder |
Returns | |
---|---|
Type | Description |
PublicDelegatedPrefix.Builder |
addPublicDelegatedSubPrefixs(int index, PublicDelegatedPrefixPublicDelegatedSubPrefix value)
public PublicDelegatedPrefix.Builder addPublicDelegatedSubPrefixs(int index, PublicDelegatedPrefixPublicDelegatedSubPrefix value)
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;
Parameters | |
---|---|
Name | Description |
index |
int |
value |
PublicDelegatedPrefixPublicDelegatedSubPrefix |
Returns | |
---|---|
Type | Description |
PublicDelegatedPrefix.Builder |
addPublicDelegatedSubPrefixs(int index, PublicDelegatedPrefixPublicDelegatedSubPrefix.Builder builderForValue)
public PublicDelegatedPrefix.Builder addPublicDelegatedSubPrefixs(int index, PublicDelegatedPrefixPublicDelegatedSubPrefix.Builder builderForValue)
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;
Parameters | |
---|---|
Name | Description |
index |
int |
builderForValue |
PublicDelegatedPrefixPublicDelegatedSubPrefix.Builder |
Returns | |
---|---|
Type | Description |
PublicDelegatedPrefix.Builder |
addPublicDelegatedSubPrefixsBuilder()
public PublicDelegatedPrefixPublicDelegatedSubPrefix.Builder addPublicDelegatedSubPrefixsBuilder()
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 |
PublicDelegatedPrefixPublicDelegatedSubPrefix.Builder |
addPublicDelegatedSubPrefixsBuilder(int index)
public PublicDelegatedPrefixPublicDelegatedSubPrefix.Builder addPublicDelegatedSubPrefixsBuilder(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.Builder |
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
public PublicDelegatedPrefix.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters | |
---|---|
Name | Description |
field |
FieldDescriptor |
value |
Object |
Returns | |
---|---|
Type | Description |
PublicDelegatedPrefix.Builder |
build()
public PublicDelegatedPrefix build()
Returns | |
---|---|
Type | Description |
PublicDelegatedPrefix |
buildPartial()
public PublicDelegatedPrefix buildPartial()
Returns | |
---|---|
Type | Description |
PublicDelegatedPrefix |
clear()
public PublicDelegatedPrefix.Builder clear()
Returns | |
---|---|
Type | Description |
PublicDelegatedPrefix.Builder |
clearByoipApiVersion()
public PublicDelegatedPrefix.Builder clearByoipApiVersion()
[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 |
PublicDelegatedPrefix.Builder |
This builder for chaining. |
clearCreationTimestamp()
public PublicDelegatedPrefix.Builder clearCreationTimestamp()
[Output Only] Creation timestamp in RFC3339 text format.
optional string creation_timestamp = 30525366;
Returns | |
---|---|
Type | Description |
PublicDelegatedPrefix.Builder |
This builder for chaining. |
clearDescription()
public PublicDelegatedPrefix.Builder clearDescription()
An optional description of this resource. Provide this property when you create the resource.
optional string description = 422937596;
Returns | |
---|---|
Type | Description |
PublicDelegatedPrefix.Builder |
This builder for chaining. |
clearField(Descriptors.FieldDescriptor field)
public PublicDelegatedPrefix.Builder clearField(Descriptors.FieldDescriptor field)
Parameter | |
---|---|
Name | Description |
field |
FieldDescriptor |
Returns | |
---|---|
Type | Description |
PublicDelegatedPrefix.Builder |
clearFingerprint()
public PublicDelegatedPrefix.Builder clearFingerprint()
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 |
PublicDelegatedPrefix.Builder |
This builder for chaining. |
clearId()
public PublicDelegatedPrefix.Builder clearId()
[Output Only] The unique identifier for the resource type. The server generates this identifier.
optional uint64 id = 3355;
Returns | |
---|---|
Type | Description |
PublicDelegatedPrefix.Builder |
This builder for chaining. |
clearIpCidrRange()
public PublicDelegatedPrefix.Builder clearIpCidrRange()
The IP address range, in CIDR format, represented by this public delegated prefix.
optional string ip_cidr_range = 98117322;
Returns | |
---|---|
Type | Description |
PublicDelegatedPrefix.Builder |
This builder for chaining. |
clearIsLiveMigration()
public PublicDelegatedPrefix.Builder clearIsLiveMigration()
If true, the prefix will be live migrated.
optional bool is_live_migration = 511823856;
Returns | |
---|---|
Type | Description |
PublicDelegatedPrefix.Builder |
This builder for chaining. |
clearKind()
public PublicDelegatedPrefix.Builder clearKind()
[Output Only] Type of the resource. Always compute#publicDelegatedPrefix for public delegated prefixes.
optional string kind = 3292052;
Returns | |
---|---|
Type | Description |
PublicDelegatedPrefix.Builder |
This builder for chaining. |
clearName()
public PublicDelegatedPrefix.Builder clearName()
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 |
PublicDelegatedPrefix.Builder |
This builder for chaining. |
clearOneof(Descriptors.OneofDescriptor oneof)
public PublicDelegatedPrefix.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter | |
---|---|
Name | Description |
oneof |
OneofDescriptor |
Returns | |
---|---|
Type | Description |
PublicDelegatedPrefix.Builder |
clearParentPrefix()
public PublicDelegatedPrefix.Builder clearParentPrefix()
The URL of parent prefix. Either PublicAdvertisedPrefix or PublicDelegatedPrefix.
optional string parent_prefix = 15233991;
Returns | |
---|---|
Type | Description |
PublicDelegatedPrefix.Builder |
This builder for chaining. |
clearPublicDelegatedSubPrefixs()
public PublicDelegatedPrefix.Builder clearPublicDelegatedSubPrefixs()
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 |
PublicDelegatedPrefix.Builder |
clearRegion()
public PublicDelegatedPrefix.Builder clearRegion()
[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 |
PublicDelegatedPrefix.Builder |
This builder for chaining. |
clearSelfLink()
public PublicDelegatedPrefix.Builder clearSelfLink()
[Output Only] Server-defined URL for the resource.
optional string self_link = 456214797;
Returns | |
---|---|
Type | Description |
PublicDelegatedPrefix.Builder |
This builder for chaining. |
clearStatus()
public PublicDelegatedPrefix.Builder clearStatus()
[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 |
PublicDelegatedPrefix.Builder |
This builder for chaining. |
clone()
public PublicDelegatedPrefix.Builder clone()
Returns | |
---|---|
Type | Description |
PublicDelegatedPrefix.Builder |
getByoipApiVersion()
public 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 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 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 PublicDelegatedPrefix getDefaultInstanceForType()
Returns | |
---|---|
Type | Description |
PublicDelegatedPrefix |
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. |
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()
Returns | |
---|---|
Type | Description |
Descriptor |
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 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 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 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 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 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 boolean getIsLiveMigration()
If true, the prefix will be live migrated.
optional bool is_live_migration = 511823856;
Returns | |
---|---|
Type | Description |
boolean |
The isLiveMigration. |
getKind()
public 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 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. |
getName()
public 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 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 String getParentPrefix()
The URL of parent prefix. Either PublicAdvertisedPrefix or PublicDelegatedPrefix.
optional string parent_prefix = 15233991;
Returns | |
---|---|
Type | Description |
String |
The parentPrefix. |
getParentPrefixBytes()
public 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 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 |
getPublicDelegatedSubPrefixsBuilder(int index)
public PublicDelegatedPrefixPublicDelegatedSubPrefix.Builder getPublicDelegatedSubPrefixsBuilder(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.Builder |
getPublicDelegatedSubPrefixsBuilderList()
public List<PublicDelegatedPrefixPublicDelegatedSubPrefix.Builder> getPublicDelegatedSubPrefixsBuilderList()
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<Builder> |
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;
Returns | |
---|---|
Type | Description |
int |
getPublicDelegatedSubPrefixsList()
public 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 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 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 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 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. |
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. |
getStatus()
public 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 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. |
hasByoipApiVersion()
public 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 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. |
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 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 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 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 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 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. |
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 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 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 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. |
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. |
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 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. |
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns | |
---|---|
Type | Description |
FieldAccessorTable |
isInitialized()
public final boolean isInitialized()
Returns | |
---|---|
Type | Description |
boolean |
mergeFrom(PublicDelegatedPrefix other)
public PublicDelegatedPrefix.Builder mergeFrom(PublicDelegatedPrefix other)
Parameter | |
---|---|
Name | Description |
other |
PublicDelegatedPrefix |
Returns | |
---|---|
Type | Description |
PublicDelegatedPrefix.Builder |
mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public PublicDelegatedPrefix.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters | |
---|---|
Name | Description |
input |
CodedInputStream |
extensionRegistry |
ExtensionRegistryLite |
Returns | |
---|---|
Type | Description |
PublicDelegatedPrefix.Builder |
Exceptions | |
---|---|
Type | Description |
IOException |
mergeFrom(Message other)
public PublicDelegatedPrefix.Builder mergeFrom(Message other)
Parameter | |
---|---|
Name | Description |
other |
Message |
Returns | |
---|---|
Type | Description |
PublicDelegatedPrefix.Builder |
mergeUnknownFields(UnknownFieldSet unknownFields)
public final PublicDelegatedPrefix.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter | |
---|---|
Name | Description |
unknownFields |
UnknownFieldSet |
Returns | |
---|---|
Type | Description |
PublicDelegatedPrefix.Builder |
removePublicDelegatedSubPrefixs(int index)
public PublicDelegatedPrefix.Builder removePublicDelegatedSubPrefixs(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 |
PublicDelegatedPrefix.Builder |
setByoipApiVersion(String value)
public PublicDelegatedPrefix.Builder setByoipApiVersion(String value)
[Output Only] The version of BYOIP API. Check the ByoipApiVersion enum for the list of possible values.
optional string byoip_api_version = 162683283;
Parameter | |
---|---|
Name | Description |
value |
String The byoipApiVersion to set. |
Returns | |
---|---|
Type | Description |
PublicDelegatedPrefix.Builder |
This builder for chaining. |
setByoipApiVersionBytes(ByteString value)
public PublicDelegatedPrefix.Builder setByoipApiVersionBytes(ByteString value)
[Output Only] The version of BYOIP API. Check the ByoipApiVersion enum for the list of possible values.
optional string byoip_api_version = 162683283;
Parameter | |
---|---|
Name | Description |
value |
ByteString The bytes for byoipApiVersion to set. |
Returns | |
---|---|
Type | Description |
PublicDelegatedPrefix.Builder |
This builder for chaining. |
setCreationTimestamp(String value)
public PublicDelegatedPrefix.Builder setCreationTimestamp(String value)
[Output Only] Creation timestamp in RFC3339 text format.
optional string creation_timestamp = 30525366;
Parameter | |
---|---|
Name | Description |
value |
String The creationTimestamp to set. |
Returns | |
---|---|
Type | Description |
PublicDelegatedPrefix.Builder |
This builder for chaining. |
setCreationTimestampBytes(ByteString value)
public PublicDelegatedPrefix.Builder setCreationTimestampBytes(ByteString value)
[Output Only] Creation timestamp in RFC3339 text format.
optional string creation_timestamp = 30525366;
Parameter | |
---|---|
Name | Description |
value |
ByteString The bytes for creationTimestamp to set. |
Returns | |
---|---|
Type | Description |
PublicDelegatedPrefix.Builder |
This builder for chaining. |
setDescription(String value)
public PublicDelegatedPrefix.Builder setDescription(String value)
An optional description of this resource. Provide this property when you create the resource.
optional string description = 422937596;
Parameter | |
---|---|
Name | Description |
value |
String The description to set. |
Returns | |
---|---|
Type | Description |
PublicDelegatedPrefix.Builder |
This builder for chaining. |
setDescriptionBytes(ByteString value)
public PublicDelegatedPrefix.Builder setDescriptionBytes(ByteString value)
An optional description of this resource. Provide this property when you create the resource.
optional string description = 422937596;
Parameter | |
---|---|
Name | Description |
value |
ByteString The bytes for description to set. |
Returns | |
---|---|
Type | Description |
PublicDelegatedPrefix.Builder |
This builder for chaining. |
setField(Descriptors.FieldDescriptor field, Object value)
public PublicDelegatedPrefix.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters | |
---|---|
Name | Description |
field |
FieldDescriptor |
value |
Object |
Returns | |
---|---|
Type | Description |
PublicDelegatedPrefix.Builder |
setFingerprint(String value)
public PublicDelegatedPrefix.Builder setFingerprint(String value)
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;
Parameter | |
---|---|
Name | Description |
value |
String The fingerprint to set. |
Returns | |
---|---|
Type | Description |
PublicDelegatedPrefix.Builder |
This builder for chaining. |
setFingerprintBytes(ByteString value)
public PublicDelegatedPrefix.Builder setFingerprintBytes(ByteString value)
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;
Parameter | |
---|---|
Name | Description |
value |
ByteString The bytes for fingerprint to set. |
Returns | |
---|---|
Type | Description |
PublicDelegatedPrefix.Builder |
This builder for chaining. |
setId(long value)
public PublicDelegatedPrefix.Builder setId(long value)
[Output Only] The unique identifier for the resource type. The server generates this identifier.
optional uint64 id = 3355;
Parameter | |
---|---|
Name | Description |
value |
long The id to set. |
Returns | |
---|---|
Type | Description |
PublicDelegatedPrefix.Builder |
This builder for chaining. |
setIpCidrRange(String value)
public PublicDelegatedPrefix.Builder setIpCidrRange(String value)
The IP address range, in CIDR format, represented by this public delegated prefix.
optional string ip_cidr_range = 98117322;
Parameter | |
---|---|
Name | Description |
value |
String The ipCidrRange to set. |
Returns | |
---|---|
Type | Description |
PublicDelegatedPrefix.Builder |
This builder for chaining. |
setIpCidrRangeBytes(ByteString value)
public PublicDelegatedPrefix.Builder setIpCidrRangeBytes(ByteString value)
The IP address range, in CIDR format, represented by this public delegated prefix.
optional string ip_cidr_range = 98117322;
Parameter | |
---|---|
Name | Description |
value |
ByteString The bytes for ipCidrRange to set. |
Returns | |
---|---|
Type | Description |
PublicDelegatedPrefix.Builder |
This builder for chaining. |
setIsLiveMigration(boolean value)
public PublicDelegatedPrefix.Builder setIsLiveMigration(boolean value)
If true, the prefix will be live migrated.
optional bool is_live_migration = 511823856;
Parameter | |
---|---|
Name | Description |
value |
boolean The isLiveMigration to set. |
Returns | |
---|---|
Type | Description |
PublicDelegatedPrefix.Builder |
This builder for chaining. |
setKind(String value)
public PublicDelegatedPrefix.Builder setKind(String value)
[Output Only] Type of the resource. Always compute#publicDelegatedPrefix for public delegated prefixes.
optional string kind = 3292052;
Parameter | |
---|---|
Name | Description |
value |
String The kind to set. |
Returns | |
---|---|
Type | Description |
PublicDelegatedPrefix.Builder |
This builder for chaining. |
setKindBytes(ByteString value)
public PublicDelegatedPrefix.Builder setKindBytes(ByteString value)
[Output Only] Type of the resource. Always compute#publicDelegatedPrefix for public delegated prefixes.
optional string kind = 3292052;
Parameter | |
---|---|
Name | Description |
value |
ByteString The bytes for kind to set. |
Returns | |
---|---|
Type | Description |
PublicDelegatedPrefix.Builder |
This builder for chaining. |
setName(String value)
public PublicDelegatedPrefix.Builder setName(String value)
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;
Parameter | |
---|---|
Name | Description |
value |
String The name to set. |
Returns | |
---|---|
Type | Description |
PublicDelegatedPrefix.Builder |
This builder for chaining. |
setNameBytes(ByteString value)
public PublicDelegatedPrefix.Builder setNameBytes(ByteString value)
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;
Parameter | |
---|---|
Name | Description |
value |
ByteString The bytes for name to set. |
Returns | |
---|---|
Type | Description |
PublicDelegatedPrefix.Builder |
This builder for chaining. |
setParentPrefix(String value)
public PublicDelegatedPrefix.Builder setParentPrefix(String value)
The URL of parent prefix. Either PublicAdvertisedPrefix or PublicDelegatedPrefix.
optional string parent_prefix = 15233991;
Parameter | |
---|---|
Name | Description |
value |
String The parentPrefix to set. |
Returns | |
---|---|
Type | Description |
PublicDelegatedPrefix.Builder |
This builder for chaining. |
setParentPrefixBytes(ByteString value)
public PublicDelegatedPrefix.Builder setParentPrefixBytes(ByteString value)
The URL of parent prefix. Either PublicAdvertisedPrefix or PublicDelegatedPrefix.
optional string parent_prefix = 15233991;
Parameter | |
---|---|
Name | Description |
value |
ByteString The bytes for parentPrefix to set. |
Returns | |
---|---|
Type | Description |
PublicDelegatedPrefix.Builder |
This builder for chaining. |
setPublicDelegatedSubPrefixs(int index, PublicDelegatedPrefixPublicDelegatedSubPrefix value)
public PublicDelegatedPrefix.Builder setPublicDelegatedSubPrefixs(int index, PublicDelegatedPrefixPublicDelegatedSubPrefix value)
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;
Parameters | |
---|---|
Name | Description |
index |
int |
value |
PublicDelegatedPrefixPublicDelegatedSubPrefix |
Returns | |
---|---|
Type | Description |
PublicDelegatedPrefix.Builder |
setPublicDelegatedSubPrefixs(int index, PublicDelegatedPrefixPublicDelegatedSubPrefix.Builder builderForValue)
public PublicDelegatedPrefix.Builder setPublicDelegatedSubPrefixs(int index, PublicDelegatedPrefixPublicDelegatedSubPrefix.Builder builderForValue)
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;
Parameters | |
---|---|
Name | Description |
index |
int |
builderForValue |
PublicDelegatedPrefixPublicDelegatedSubPrefix.Builder |
Returns | |
---|---|
Type | Description |
PublicDelegatedPrefix.Builder |
setRegion(String value)
public PublicDelegatedPrefix.Builder setRegion(String value)
[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;
Parameter | |
---|---|
Name | Description |
value |
String The region to set. |
Returns | |
---|---|
Type | Description |
PublicDelegatedPrefix.Builder |
This builder for chaining. |
setRegionBytes(ByteString value)
public PublicDelegatedPrefix.Builder setRegionBytes(ByteString value)
[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;
Parameter | |
---|---|
Name | Description |
value |
ByteString The bytes for region to set. |
Returns | |
---|---|
Type | Description |
PublicDelegatedPrefix.Builder |
This builder for chaining. |
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public PublicDelegatedPrefix.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters | |
---|---|
Name | Description |
field |
FieldDescriptor |
index |
int |
value |
Object |
Returns | |
---|---|
Type | Description |
PublicDelegatedPrefix.Builder |
setSelfLink(String value)
public PublicDelegatedPrefix.Builder setSelfLink(String value)
[Output Only] Server-defined URL for the resource.
optional string self_link = 456214797;
Parameter | |
---|---|
Name | Description |
value |
String The selfLink to set. |
Returns | |
---|---|
Type | Description |
PublicDelegatedPrefix.Builder |
This builder for chaining. |
setSelfLinkBytes(ByteString value)
public PublicDelegatedPrefix.Builder setSelfLinkBytes(ByteString value)
[Output Only] Server-defined URL for the resource.
optional string self_link = 456214797;
Parameter | |
---|---|
Name | Description |
value |
ByteString The bytes for selfLink to set. |
Returns | |
---|---|
Type | Description |
PublicDelegatedPrefix.Builder |
This builder for chaining. |
setStatus(String value)
public PublicDelegatedPrefix.Builder setStatus(String value)
[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;
Parameter | |
---|---|
Name | Description |
value |
String The status to set. |
Returns | |
---|---|
Type | Description |
PublicDelegatedPrefix.Builder |
This builder for chaining. |
setStatusBytes(ByteString value)
public PublicDelegatedPrefix.Builder setStatusBytes(ByteString value)
[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;
Parameter | |
---|---|
Name | Description |
value |
ByteString The bytes for status to set. |
Returns | |
---|---|
Type | Description |
PublicDelegatedPrefix.Builder |
This builder for chaining. |
setUnknownFields(UnknownFieldSet unknownFields)
public final PublicDelegatedPrefix.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter | |
---|---|
Name | Description |
unknownFields |
UnknownFieldSet |
Returns | |
---|---|
Type | Description |
PublicDelegatedPrefix.Builder |