Class PublicDelegatedPrefixPublicDelegatedSubPrefix.Builder (1.19.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
TypeDescription
Descriptor

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

public PublicDelegatedPrefixPublicDelegatedSubPrefix.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
NameDescription
fieldFieldDescriptor
valueObject
Returns
TypeDescription
PublicDelegatedPrefixPublicDelegatedSubPrefix.Builder
Overrides

build()

public PublicDelegatedPrefixPublicDelegatedSubPrefix build()
Returns
TypeDescription
PublicDelegatedPrefixPublicDelegatedSubPrefix

buildPartial()

public PublicDelegatedPrefixPublicDelegatedSubPrefix buildPartial()
Returns
TypeDescription
PublicDelegatedPrefixPublicDelegatedSubPrefix

clear()

public PublicDelegatedPrefixPublicDelegatedSubPrefix.Builder clear()
Returns
TypeDescription
PublicDelegatedPrefixPublicDelegatedSubPrefix.Builder
Overrides

clearDelegateeProject()

public PublicDelegatedPrefixPublicDelegatedSubPrefix.Builder clearDelegateeProject()

Name of the project scoping this PublicDelegatedSubPrefix.

optional string delegatee_project = 414860634;

Returns
TypeDescription
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
TypeDescription
PublicDelegatedPrefixPublicDelegatedSubPrefix.Builder

This builder for chaining.

clearField(Descriptors.FieldDescriptor field)

public PublicDelegatedPrefixPublicDelegatedSubPrefix.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
NameDescription
fieldFieldDescriptor
Returns
TypeDescription
PublicDelegatedPrefixPublicDelegatedSubPrefix.Builder
Overrides

clearIpCidrRange()

public PublicDelegatedPrefixPublicDelegatedSubPrefix.Builder clearIpCidrRange()

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

optional string ip_cidr_range = 98117322;

Returns
TypeDescription
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
TypeDescription
PublicDelegatedPrefixPublicDelegatedSubPrefix.Builder

This builder for chaining.

clearName()

public PublicDelegatedPrefixPublicDelegatedSubPrefix.Builder clearName()

The name of the sub public delegated prefix.

optional string name = 3373707;

Returns
TypeDescription
PublicDelegatedPrefixPublicDelegatedSubPrefix.Builder

This builder for chaining.

clearOneof(Descriptors.OneofDescriptor oneof)

public PublicDelegatedPrefixPublicDelegatedSubPrefix.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
NameDescription
oneofOneofDescriptor
Returns
TypeDescription
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
TypeDescription
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
TypeDescription
PublicDelegatedPrefixPublicDelegatedSubPrefix.Builder

This builder for chaining.

clone()

public PublicDelegatedPrefixPublicDelegatedSubPrefix.Builder clone()
Returns
TypeDescription
PublicDelegatedPrefixPublicDelegatedSubPrefix.Builder
Overrides

getDefaultInstanceForType()

public PublicDelegatedPrefixPublicDelegatedSubPrefix getDefaultInstanceForType()
Returns
TypeDescription
PublicDelegatedPrefixPublicDelegatedSubPrefix

getDelegateeProject()

public String getDelegateeProject()

Name of the project scoping this PublicDelegatedSubPrefix.

optional string delegatee_project = 414860634;

Returns
TypeDescription
String

The delegateeProject.

getDelegateeProjectBytes()

public ByteString getDelegateeProjectBytes()

Name of the project scoping this PublicDelegatedSubPrefix.

optional string delegatee_project = 414860634;

Returns
TypeDescription
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
TypeDescription
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
TypeDescription
ByteString

The bytes for description.

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
TypeDescription
Descriptor
Overrides

getIpCidrRange()

public String getIpCidrRange()

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

optional string ip_cidr_range = 98117322;

Returns
TypeDescription
String

The ipCidrRange.

getIpCidrRangeBytes()

public ByteString getIpCidrRangeBytes()

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

optional string ip_cidr_range = 98117322;

Returns
TypeDescription
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
TypeDescription
boolean

The isAddress.

getName()

public String getName()

The name of the sub public delegated prefix.

optional string name = 3373707;

Returns
TypeDescription
String

The name.

getNameBytes()

public ByteString getNameBytes()

The name of the sub public delegated prefix.

optional string name = 3373707;

Returns
TypeDescription
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
TypeDescription
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
TypeDescription
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
TypeDescription
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
TypeDescription
ByteString

The bytes for status.

hasDelegateeProject()

public boolean hasDelegateeProject()

Name of the project scoping this PublicDelegatedSubPrefix.

optional string delegatee_project = 414860634;

Returns
TypeDescription
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
TypeDescription
boolean

Whether the description field is set.

hasIpCidrRange()

public boolean hasIpCidrRange()

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

optional string ip_cidr_range = 98117322;

Returns
TypeDescription
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
TypeDescription
boolean

Whether the isAddress field is set.

hasName()

public boolean hasName()

The name of the sub public delegated prefix.

optional string name = 3373707;

Returns
TypeDescription
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
TypeDescription
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
TypeDescription
boolean

Whether the status field is set.

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
TypeDescription
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
TypeDescription
boolean
Overrides

mergeFrom(PublicDelegatedPrefixPublicDelegatedSubPrefix other)

public PublicDelegatedPrefixPublicDelegatedSubPrefix.Builder mergeFrom(PublicDelegatedPrefixPublicDelegatedSubPrefix other)
Parameter
NameDescription
otherPublicDelegatedPrefixPublicDelegatedSubPrefix
Returns
TypeDescription
PublicDelegatedPrefixPublicDelegatedSubPrefix.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public PublicDelegatedPrefixPublicDelegatedSubPrefix.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputCodedInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
PublicDelegatedPrefixPublicDelegatedSubPrefix.Builder
Overrides Exceptions
TypeDescription
IOException

mergeFrom(Message other)

public PublicDelegatedPrefixPublicDelegatedSubPrefix.Builder mergeFrom(Message other)
Parameter
NameDescription
otherMessage
Returns
TypeDescription
PublicDelegatedPrefixPublicDelegatedSubPrefix.Builder
Overrides

mergeUnknownFields(UnknownFieldSet unknownFields)

public final PublicDelegatedPrefixPublicDelegatedSubPrefix.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
NameDescription
unknownFieldsUnknownFieldSet
Returns
TypeDescription
PublicDelegatedPrefixPublicDelegatedSubPrefix.Builder
Overrides

setDelegateeProject(String value)

public PublicDelegatedPrefixPublicDelegatedSubPrefix.Builder setDelegateeProject(String value)

Name of the project scoping this PublicDelegatedSubPrefix.

optional string delegatee_project = 414860634;

Parameter
NameDescription
valueString

The delegateeProject to set.

Returns
TypeDescription
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
NameDescription
valueByteString

The bytes for delegateeProject to set.

Returns
TypeDescription
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
NameDescription
valueString

The description to set.

Returns
TypeDescription
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
NameDescription
valueByteString

The bytes for description to set.

Returns
TypeDescription
PublicDelegatedPrefixPublicDelegatedSubPrefix.Builder

This builder for chaining.

setField(Descriptors.FieldDescriptor field, Object value)

public PublicDelegatedPrefixPublicDelegatedSubPrefix.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
NameDescription
fieldFieldDescriptor
valueObject
Returns
TypeDescription
PublicDelegatedPrefixPublicDelegatedSubPrefix.Builder
Overrides

setIpCidrRange(String value)

public PublicDelegatedPrefixPublicDelegatedSubPrefix.Builder setIpCidrRange(String value)

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

optional string ip_cidr_range = 98117322;

Parameter
NameDescription
valueString

The ipCidrRange to set.

Returns
TypeDescription
PublicDelegatedPrefixPublicDelegatedSubPrefix.Builder

This builder for chaining.

setIpCidrRangeBytes(ByteString value)

public PublicDelegatedPrefixPublicDelegatedSubPrefix.Builder setIpCidrRangeBytes(ByteString value)

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

optional string ip_cidr_range = 98117322;

Parameter
NameDescription
valueByteString

The bytes for ipCidrRange to set.

Returns
TypeDescription
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
NameDescription
valueboolean

The isAddress to set.

Returns
TypeDescription
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
NameDescription
valueString

The name to set.

Returns
TypeDescription
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
NameDescription
valueByteString

The bytes for name to set.

Returns
TypeDescription
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
NameDescription
valueString

The region to set.

Returns
TypeDescription
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
NameDescription
valueByteString

The bytes for region to set.

Returns
TypeDescription
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
NameDescription
fieldFieldDescriptor
indexint
valueObject
Returns
TypeDescription
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
NameDescription
valueString

The status to set.

Returns
TypeDescription
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
NameDescription
valueByteString

The bytes for status to set.

Returns
TypeDescription
PublicDelegatedPrefixPublicDelegatedSubPrefix.Builder

This builder for chaining.

setUnknownFields(UnknownFieldSet unknownFields)

public final PublicDelegatedPrefixPublicDelegatedSubPrefix.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
NameDescription
unknownFieldsUnknownFieldSet
Returns
TypeDescription
PublicDelegatedPrefixPublicDelegatedSubPrefix.Builder
Overrides