Class PublicDelegatedPrefixPublicDelegatedSubPrefix.Builder (1.65.0)

public static final class PublicDelegatedPrefixPublicDelegatedSubPrefix.Builder extends GeneratedMessageV3.Builder<PublicDelegatedPrefixPublicDelegatedSubPrefix.Builder> implements PublicDelegatedPrefixPublicDelegatedSubPrefixOrBuilder

Represents a sub PublicDelegatedPrefix.

Protobuf type google.cloud.compute.v1.PublicDelegatedPrefixPublicDelegatedSubPrefix

Static Methods

getDescriptor()

public static final Descriptors.Descriptor getDescriptor()
Returns
Type Description
Descriptor

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

public PublicDelegatedPrefixPublicDelegatedSubPrefix.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
Name Description
field FieldDescriptor
value Object
Returns
Type Description
PublicDelegatedPrefixPublicDelegatedSubPrefix.Builder
Overrides

build()

public PublicDelegatedPrefixPublicDelegatedSubPrefix build()
Returns
Type Description
PublicDelegatedPrefixPublicDelegatedSubPrefix

buildPartial()

public PublicDelegatedPrefixPublicDelegatedSubPrefix buildPartial()
Returns
Type Description
PublicDelegatedPrefixPublicDelegatedSubPrefix

clear()

public PublicDelegatedPrefixPublicDelegatedSubPrefix.Builder clear()
Returns
Type Description
PublicDelegatedPrefixPublicDelegatedSubPrefix.Builder
Overrides

clearAllocatablePrefixLength()

public PublicDelegatedPrefixPublicDelegatedSubPrefix.Builder clearAllocatablePrefixLength()

The allocatable prefix length supported by this PublicDelegatedSubPrefix.

optional int32 allocatable_prefix_length = 38427446;

Returns
Type Description
PublicDelegatedPrefixPublicDelegatedSubPrefix.Builder

This builder for chaining.

clearDelegateeProject()

public PublicDelegatedPrefixPublicDelegatedSubPrefix.Builder clearDelegateeProject()

Name of the project scoping this PublicDelegatedSubPrefix.

optional string delegatee_project = 414860634;

Returns
Type Description
PublicDelegatedPrefixPublicDelegatedSubPrefix.Builder

This builder for chaining.

clearDescription()

public PublicDelegatedPrefixPublicDelegatedSubPrefix.Builder clearDescription()

An optional description of this resource. Provide this property when you create the resource.

optional string description = 422937596;

Returns
Type Description
PublicDelegatedPrefixPublicDelegatedSubPrefix.Builder

This builder for chaining.

clearField(Descriptors.FieldDescriptor field)

public PublicDelegatedPrefixPublicDelegatedSubPrefix.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
Name Description
field FieldDescriptor
Returns
Type Description
PublicDelegatedPrefixPublicDelegatedSubPrefix.Builder
Overrides

clearIpCidrRange()

public PublicDelegatedPrefixPublicDelegatedSubPrefix.Builder clearIpCidrRange()

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

optional string ip_cidr_range = 98117322;

Returns
Type Description
PublicDelegatedPrefixPublicDelegatedSubPrefix.Builder

This builder for chaining.

clearIsAddress()

public PublicDelegatedPrefixPublicDelegatedSubPrefix.Builder clearIsAddress()

Whether the sub prefix is delegated to create Address resources in the delegatee project.

optional bool is_address = 352617951;

Returns
Type Description
PublicDelegatedPrefixPublicDelegatedSubPrefix.Builder

This builder for chaining.

clearMode()

public PublicDelegatedPrefixPublicDelegatedSubPrefix.Builder clearMode()

The PublicDelegatedSubPrefix mode for IPv6 only. Check the Mode enum for the list of possible values.

optional string mode = 3357091;

Returns
Type Description
PublicDelegatedPrefixPublicDelegatedSubPrefix.Builder

This builder for chaining.

clearName()

public PublicDelegatedPrefixPublicDelegatedSubPrefix.Builder clearName()

The name of the sub public delegated prefix.

optional string name = 3373707;

Returns
Type Description
PublicDelegatedPrefixPublicDelegatedSubPrefix.Builder

This builder for chaining.

clearOneof(Descriptors.OneofDescriptor oneof)

public PublicDelegatedPrefixPublicDelegatedSubPrefix.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
Name Description
oneof OneofDescriptor
Returns
Type Description
PublicDelegatedPrefixPublicDelegatedSubPrefix.Builder
Overrides

clearRegion()

public PublicDelegatedPrefixPublicDelegatedSubPrefix.Builder clearRegion()

[Output Only] The region of the sub public delegated prefix if it is regional. If absent, the sub prefix is global.

optional string region = 138946292;

Returns
Type Description
PublicDelegatedPrefixPublicDelegatedSubPrefix.Builder

This builder for chaining.

clearStatus()

public PublicDelegatedPrefixPublicDelegatedSubPrefix.Builder clearStatus()

[Output Only] The status of the sub public delegated prefix. Check the Status enum for the list of possible values.

optional string status = 181260274;

Returns
Type Description
PublicDelegatedPrefixPublicDelegatedSubPrefix.Builder

This builder for chaining.

clone()

public PublicDelegatedPrefixPublicDelegatedSubPrefix.Builder clone()
Returns
Type Description
PublicDelegatedPrefixPublicDelegatedSubPrefix.Builder
Overrides

getAllocatablePrefixLength()

public int getAllocatablePrefixLength()

The allocatable prefix length supported by this PublicDelegatedSubPrefix.

optional int32 allocatable_prefix_length = 38427446;

Returns
Type Description
int

The allocatablePrefixLength.

getDefaultInstanceForType()

public PublicDelegatedPrefixPublicDelegatedSubPrefix getDefaultInstanceForType()
Returns
Type Description
PublicDelegatedPrefixPublicDelegatedSubPrefix

getDelegateeProject()

public String getDelegateeProject()

Name of the project scoping this PublicDelegatedSubPrefix.

optional string delegatee_project = 414860634;

Returns
Type Description
String

The delegateeProject.

getDelegateeProjectBytes()

public ByteString getDelegateeProjectBytes()

Name of the project scoping this PublicDelegatedSubPrefix.

optional string delegatee_project = 414860634;

Returns
Type Description
ByteString

The bytes for delegateeProject.

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
Overrides

getIpCidrRange()

public String getIpCidrRange()

The IP address range, in CIDR format, represented by this sub 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 sub public delegated prefix.

optional string ip_cidr_range = 98117322;

Returns
Type Description
ByteString

The bytes for ipCidrRange.

getIsAddress()

public boolean getIsAddress()

Whether the sub prefix is delegated to create Address resources in the delegatee project.

optional bool is_address = 352617951;

Returns
Type Description
boolean

The isAddress.

getMode()

public String getMode()

The PublicDelegatedSubPrefix mode for IPv6 only. Check the Mode enum for the list of possible values.

optional string mode = 3357091;

Returns
Type Description
String

The mode.

getModeBytes()

public ByteString getModeBytes()

The PublicDelegatedSubPrefix mode for IPv6 only. Check the Mode enum for the list of possible values.

optional string mode = 3357091;

Returns
Type Description
ByteString

The bytes for mode.

getName()

public String getName()

The name of the sub public delegated prefix.

optional string name = 3373707;

Returns
Type Description
String

The name.

getNameBytes()

public ByteString getNameBytes()

The name of the sub public delegated prefix.

optional string name = 3373707;

Returns
Type Description
ByteString

The bytes for name.

getRegion()

public String getRegion()

[Output Only] The region of the sub public delegated prefix if it is regional. If absent, the sub prefix is global.

optional string region = 138946292;

Returns
Type Description
String

The region.

getRegionBytes()

public ByteString getRegionBytes()

[Output Only] The region of the sub public delegated prefix if it is regional. If absent, the sub prefix is global.

optional string region = 138946292;

Returns
Type Description
ByteString

The bytes for region.

getStatus()

public String getStatus()

[Output Only] The status of the sub public delegated prefix. 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 sub public delegated prefix. Check the Status enum for the list of possible values.

optional string status = 181260274;

Returns
Type Description
ByteString

The bytes for status.

hasAllocatablePrefixLength()

public boolean hasAllocatablePrefixLength()

The allocatable prefix length supported by this PublicDelegatedSubPrefix.

optional int32 allocatable_prefix_length = 38427446;

Returns
Type Description
boolean

Whether the allocatablePrefixLength field is set.

hasDelegateeProject()

public boolean hasDelegateeProject()

Name of the project scoping this PublicDelegatedSubPrefix.

optional string delegatee_project = 414860634;

Returns
Type Description
boolean

Whether the delegateeProject 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.

hasIpCidrRange()

public boolean hasIpCidrRange()

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

optional string ip_cidr_range = 98117322;

Returns
Type Description
boolean

Whether the ipCidrRange field is set.

hasIsAddress()

public boolean hasIsAddress()

Whether the sub prefix is delegated to create Address resources in the delegatee project.

optional bool is_address = 352617951;

Returns
Type Description
boolean

Whether the isAddress field is set.

hasMode()

public boolean hasMode()

The PublicDelegatedSubPrefix mode for IPv6 only. Check the Mode enum for the list of possible values.

optional string mode = 3357091;

Returns
Type Description
boolean

Whether the mode field is set.

hasName()

public boolean hasName()

The name of the sub public delegated prefix.

optional string name = 3373707;

Returns
Type Description
boolean

Whether the name field is set.

hasRegion()

public boolean hasRegion()

[Output Only] The region of the sub public delegated prefix if it is regional. If absent, the sub prefix is global.

optional string region = 138946292;

Returns
Type Description
boolean

Whether the region field is set.

hasStatus()

public boolean hasStatus()

[Output Only] The status of the sub public delegated prefix. 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
Overrides

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

mergeFrom(PublicDelegatedPrefixPublicDelegatedSubPrefix other)

public PublicDelegatedPrefixPublicDelegatedSubPrefix.Builder mergeFrom(PublicDelegatedPrefixPublicDelegatedSubPrefix other)
Parameter
Name Description
other PublicDelegatedPrefixPublicDelegatedSubPrefix
Returns
Type Description
PublicDelegatedPrefixPublicDelegatedSubPrefix.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public PublicDelegatedPrefixPublicDelegatedSubPrefix.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input CodedInputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
PublicDelegatedPrefixPublicDelegatedSubPrefix.Builder
Overrides
Exceptions
Type Description
IOException

mergeFrom(Message other)

public PublicDelegatedPrefixPublicDelegatedSubPrefix.Builder mergeFrom(Message other)
Parameter
Name Description
other Message
Returns
Type Description
PublicDelegatedPrefixPublicDelegatedSubPrefix.Builder
Overrides

mergeUnknownFields(UnknownFieldSet unknownFields)

public final PublicDelegatedPrefixPublicDelegatedSubPrefix.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
Name Description
unknownFields UnknownFieldSet
Returns
Type Description
PublicDelegatedPrefixPublicDelegatedSubPrefix.Builder
Overrides

setAllocatablePrefixLength(int value)

public PublicDelegatedPrefixPublicDelegatedSubPrefix.Builder setAllocatablePrefixLength(int value)

The allocatable prefix length supported by this PublicDelegatedSubPrefix.

optional int32 allocatable_prefix_length = 38427446;

Parameter
Name Description
value int

The allocatablePrefixLength to set.

Returns
Type Description
PublicDelegatedPrefixPublicDelegatedSubPrefix.Builder

This builder for chaining.

setDelegateeProject(String value)

public PublicDelegatedPrefixPublicDelegatedSubPrefix.Builder setDelegateeProject(String value)

Name of the project scoping this PublicDelegatedSubPrefix.

optional string delegatee_project = 414860634;

Parameter
Name Description
value String

The delegateeProject to set.

Returns
Type Description
PublicDelegatedPrefixPublicDelegatedSubPrefix.Builder

This builder for chaining.

setDelegateeProjectBytes(ByteString value)

public PublicDelegatedPrefixPublicDelegatedSubPrefix.Builder setDelegateeProjectBytes(ByteString value)

Name of the project scoping this PublicDelegatedSubPrefix.

optional string delegatee_project = 414860634;

Parameter
Name Description
value ByteString

The bytes for delegateeProject to set.

Returns
Type Description
PublicDelegatedPrefixPublicDelegatedSubPrefix.Builder

This builder for chaining.

setDescription(String value)

public PublicDelegatedPrefixPublicDelegatedSubPrefix.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
PublicDelegatedPrefixPublicDelegatedSubPrefix.Builder

This builder for chaining.

setDescriptionBytes(ByteString value)

public PublicDelegatedPrefixPublicDelegatedSubPrefix.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
PublicDelegatedPrefixPublicDelegatedSubPrefix.Builder

This builder for chaining.

setField(Descriptors.FieldDescriptor field, Object value)

public PublicDelegatedPrefixPublicDelegatedSubPrefix.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
Name Description
field FieldDescriptor
value Object
Returns
Type Description
PublicDelegatedPrefixPublicDelegatedSubPrefix.Builder
Overrides

setIpCidrRange(String value)

public PublicDelegatedPrefixPublicDelegatedSubPrefix.Builder setIpCidrRange(String value)

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

optional string ip_cidr_range = 98117322;

Parameter
Name Description
value String

The ipCidrRange to set.

Returns
Type Description
PublicDelegatedPrefixPublicDelegatedSubPrefix.Builder

This builder for chaining.

setIpCidrRangeBytes(ByteString value)

public PublicDelegatedPrefixPublicDelegatedSubPrefix.Builder setIpCidrRangeBytes(ByteString value)

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

optional string ip_cidr_range = 98117322;

Parameter
Name Description
value ByteString

The bytes for ipCidrRange to set.

Returns
Type Description
PublicDelegatedPrefixPublicDelegatedSubPrefix.Builder

This builder for chaining.

setIsAddress(boolean value)

public PublicDelegatedPrefixPublicDelegatedSubPrefix.Builder setIsAddress(boolean value)

Whether the sub prefix is delegated to create Address resources in the delegatee project.

optional bool is_address = 352617951;

Parameter
Name Description
value boolean

The isAddress to set.

Returns
Type Description
PublicDelegatedPrefixPublicDelegatedSubPrefix.Builder

This builder for chaining.

setMode(String value)

public PublicDelegatedPrefixPublicDelegatedSubPrefix.Builder setMode(String value)

The PublicDelegatedSubPrefix mode for IPv6 only. Check the Mode enum for the list of possible values.

optional string mode = 3357091;

Parameter
Name Description
value String

The mode to set.

Returns
Type Description
PublicDelegatedPrefixPublicDelegatedSubPrefix.Builder

This builder for chaining.

setModeBytes(ByteString value)

public PublicDelegatedPrefixPublicDelegatedSubPrefix.Builder setModeBytes(ByteString value)

The PublicDelegatedSubPrefix mode for IPv6 only. Check the Mode enum for the list of possible values.

optional string mode = 3357091;

Parameter
Name Description
value ByteString

The bytes for mode to set.

Returns
Type Description
PublicDelegatedPrefixPublicDelegatedSubPrefix.Builder

This builder for chaining.

setName(String value)

public PublicDelegatedPrefixPublicDelegatedSubPrefix.Builder setName(String value)

The name of the sub public delegated prefix.

optional string name = 3373707;

Parameter
Name Description
value String

The name to set.

Returns
Type Description
PublicDelegatedPrefixPublicDelegatedSubPrefix.Builder

This builder for chaining.

setNameBytes(ByteString value)

public PublicDelegatedPrefixPublicDelegatedSubPrefix.Builder setNameBytes(ByteString value)

The name of the sub public delegated prefix.

optional string name = 3373707;

Parameter
Name Description
value ByteString

The bytes for name to set.

Returns
Type Description
PublicDelegatedPrefixPublicDelegatedSubPrefix.Builder

This builder for chaining.

setRegion(String value)

public PublicDelegatedPrefixPublicDelegatedSubPrefix.Builder setRegion(String value)

[Output Only] The region of the sub public delegated prefix if it is regional. If absent, the sub prefix is global.

optional string region = 138946292;

Parameter
Name Description
value String

The region to set.

Returns
Type Description
PublicDelegatedPrefixPublicDelegatedSubPrefix.Builder

This builder for chaining.

setRegionBytes(ByteString value)

public PublicDelegatedPrefixPublicDelegatedSubPrefix.Builder setRegionBytes(ByteString value)

[Output Only] The region of the sub public delegated prefix if it is regional. If absent, the sub prefix is global.

optional string region = 138946292;

Parameter
Name Description
value ByteString

The bytes for region to set.

Returns
Type Description
PublicDelegatedPrefixPublicDelegatedSubPrefix.Builder

This builder for chaining.

setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)

public PublicDelegatedPrefixPublicDelegatedSubPrefix.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters
Name Description
field FieldDescriptor
index int
value Object
Returns
Type Description
PublicDelegatedPrefixPublicDelegatedSubPrefix.Builder
Overrides

setStatus(String value)

public PublicDelegatedPrefixPublicDelegatedSubPrefix.Builder setStatus(String value)

[Output Only] The status of the sub public delegated prefix. 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
PublicDelegatedPrefixPublicDelegatedSubPrefix.Builder

This builder for chaining.

setStatusBytes(ByteString value)

public PublicDelegatedPrefixPublicDelegatedSubPrefix.Builder setStatusBytes(ByteString value)

[Output Only] The status of the sub public delegated prefix. 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
PublicDelegatedPrefixPublicDelegatedSubPrefix.Builder

This builder for chaining.

setUnknownFields(UnknownFieldSet unknownFields)

public final PublicDelegatedPrefixPublicDelegatedSubPrefix.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
Name Description
unknownFields UnknownFieldSet
Returns
Type Description
PublicDelegatedPrefixPublicDelegatedSubPrefix.Builder
Overrides