Class PublicAdvertisedPrefixPublicDelegatedPrefix.Builder (1.25.0)

public static final class PublicAdvertisedPrefixPublicDelegatedPrefix.Builder extends GeneratedMessageV3.Builder<PublicAdvertisedPrefixPublicDelegatedPrefix.Builder> implements PublicAdvertisedPrefixPublicDelegatedPrefixOrBuilder

Represents a CIDR range which can be used to assign addresses.

Protobuf type google.cloud.compute.v1.PublicAdvertisedPrefixPublicDelegatedPrefix

Static Methods

getDescriptor()

public static final Descriptors.Descriptor getDescriptor()
Returns
TypeDescription
Descriptor

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

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

build()

public PublicAdvertisedPrefixPublicDelegatedPrefix build()
Returns
TypeDescription
PublicAdvertisedPrefixPublicDelegatedPrefix

buildPartial()

public PublicAdvertisedPrefixPublicDelegatedPrefix buildPartial()
Returns
TypeDescription
PublicAdvertisedPrefixPublicDelegatedPrefix

clear()

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

clearField(Descriptors.FieldDescriptor field)

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

clearIpRange()

public PublicAdvertisedPrefixPublicDelegatedPrefix.Builder clearIpRange()

The IP address range of the public delegated prefix

optional string ip_range = 145092645;

Returns
TypeDescription
PublicAdvertisedPrefixPublicDelegatedPrefix.Builder

This builder for chaining.

clearName()

public PublicAdvertisedPrefixPublicDelegatedPrefix.Builder clearName()

The name of the public delegated prefix

optional string name = 3373707;

Returns
TypeDescription
PublicAdvertisedPrefixPublicDelegatedPrefix.Builder

This builder for chaining.

clearOneof(Descriptors.OneofDescriptor oneof)

public PublicAdvertisedPrefixPublicDelegatedPrefix.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
NameDescription
oneofOneofDescriptor
Returns
TypeDescription
PublicAdvertisedPrefixPublicDelegatedPrefix.Builder
Overrides

clearProject()

public PublicAdvertisedPrefixPublicDelegatedPrefix.Builder clearProject()

The project number of the public delegated prefix

optional string project = 227560217;

Returns
TypeDescription
PublicAdvertisedPrefixPublicDelegatedPrefix.Builder

This builder for chaining.

clearRegion()

public PublicAdvertisedPrefixPublicDelegatedPrefix.Builder clearRegion()

The region of the public delegated prefix if it is regional. If absent, the prefix is global.

optional string region = 138946292;

Returns
TypeDescription
PublicAdvertisedPrefixPublicDelegatedPrefix.Builder

This builder for chaining.

clearStatus()

public PublicAdvertisedPrefixPublicDelegatedPrefix.Builder clearStatus()

The status of the public delegated prefix. Possible values are: INITIALIZING: The public delegated prefix is being initialized and addresses cannot be created yet. ANNOUNCED: The public delegated prefix is active.

optional string status = 181260274;

Returns
TypeDescription
PublicAdvertisedPrefixPublicDelegatedPrefix.Builder

This builder for chaining.

clone()

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

getDefaultInstanceForType()

public PublicAdvertisedPrefixPublicDelegatedPrefix getDefaultInstanceForType()
Returns
TypeDescription
PublicAdvertisedPrefixPublicDelegatedPrefix

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
TypeDescription
Descriptor
Overrides

getIpRange()

public String getIpRange()

The IP address range of the public delegated prefix

optional string ip_range = 145092645;

Returns
TypeDescription
String

The ipRange.

getIpRangeBytes()

public ByteString getIpRangeBytes()

The IP address range of the public delegated prefix

optional string ip_range = 145092645;

Returns
TypeDescription
ByteString

The bytes for ipRange.

getName()

public String getName()

The name of the public delegated prefix

optional string name = 3373707;

Returns
TypeDescription
String

The name.

getNameBytes()

public ByteString getNameBytes()

The name of the public delegated prefix

optional string name = 3373707;

Returns
TypeDescription
ByteString

The bytes for name.

getProject()

public String getProject()

The project number of the public delegated prefix

optional string project = 227560217;

Returns
TypeDescription
String

The project.

getProjectBytes()

public ByteString getProjectBytes()

The project number of the public delegated prefix

optional string project = 227560217;

Returns
TypeDescription
ByteString

The bytes for project.

getRegion()

public String getRegion()

The region of the public delegated prefix if it is regional. If absent, the prefix is global.

optional string region = 138946292;

Returns
TypeDescription
String

The region.

getRegionBytes()

public ByteString getRegionBytes()

The region of the public delegated prefix if it is regional. If absent, the prefix is global.

optional string region = 138946292;

Returns
TypeDescription
ByteString

The bytes for region.

getStatus()

public String getStatus()

The status of the public delegated prefix. Possible values are: INITIALIZING: The public delegated prefix is being initialized and addresses cannot be created yet. ANNOUNCED: The public delegated prefix is active.

optional string status = 181260274;

Returns
TypeDescription
String

The status.

getStatusBytes()

public ByteString getStatusBytes()

The status of the public delegated prefix. Possible values are: INITIALIZING: The public delegated prefix is being initialized and addresses cannot be created yet. ANNOUNCED: The public delegated prefix is active.

optional string status = 181260274;

Returns
TypeDescription
ByteString

The bytes for status.

hasIpRange()

public boolean hasIpRange()

The IP address range of the public delegated prefix

optional string ip_range = 145092645;

Returns
TypeDescription
boolean

Whether the ipRange field is set.

hasName()

public boolean hasName()

The name of the public delegated prefix

optional string name = 3373707;

Returns
TypeDescription
boolean

Whether the name field is set.

hasProject()

public boolean hasProject()

The project number of the public delegated prefix

optional string project = 227560217;

Returns
TypeDescription
boolean

Whether the project field is set.

hasRegion()

public boolean hasRegion()

The region of the public delegated prefix if it is regional. If absent, the prefix is global.

optional string region = 138946292;

Returns
TypeDescription
boolean

Whether the region field is set.

hasStatus()

public boolean hasStatus()

The status of the public delegated prefix. Possible values are: INITIALIZING: The public delegated prefix is being initialized and addresses cannot be created yet. ANNOUNCED: The public delegated prefix is active.

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(PublicAdvertisedPrefixPublicDelegatedPrefix other)

public PublicAdvertisedPrefixPublicDelegatedPrefix.Builder mergeFrom(PublicAdvertisedPrefixPublicDelegatedPrefix other)
Parameter
NameDescription
otherPublicAdvertisedPrefixPublicDelegatedPrefix
Returns
TypeDescription
PublicAdvertisedPrefixPublicDelegatedPrefix.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

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

mergeUnknownFields(UnknownFieldSet unknownFields)

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

setField(Descriptors.FieldDescriptor field, Object value)

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

setIpRange(String value)

public PublicAdvertisedPrefixPublicDelegatedPrefix.Builder setIpRange(String value)

The IP address range of the public delegated prefix

optional string ip_range = 145092645;

Parameter
NameDescription
valueString

The ipRange to set.

Returns
TypeDescription
PublicAdvertisedPrefixPublicDelegatedPrefix.Builder

This builder for chaining.

setIpRangeBytes(ByteString value)

public PublicAdvertisedPrefixPublicDelegatedPrefix.Builder setIpRangeBytes(ByteString value)

The IP address range of the public delegated prefix

optional string ip_range = 145092645;

Parameter
NameDescription
valueByteString

The bytes for ipRange to set.

Returns
TypeDescription
PublicAdvertisedPrefixPublicDelegatedPrefix.Builder

This builder for chaining.

setName(String value)

public PublicAdvertisedPrefixPublicDelegatedPrefix.Builder setName(String value)

The name of the public delegated prefix

optional string name = 3373707;

Parameter
NameDescription
valueString

The name to set.

Returns
TypeDescription
PublicAdvertisedPrefixPublicDelegatedPrefix.Builder

This builder for chaining.

setNameBytes(ByteString value)

public PublicAdvertisedPrefixPublicDelegatedPrefix.Builder setNameBytes(ByteString value)

The name of the public delegated prefix

optional string name = 3373707;

Parameter
NameDescription
valueByteString

The bytes for name to set.

Returns
TypeDescription
PublicAdvertisedPrefixPublicDelegatedPrefix.Builder

This builder for chaining.

setProject(String value)

public PublicAdvertisedPrefixPublicDelegatedPrefix.Builder setProject(String value)

The project number of the public delegated prefix

optional string project = 227560217;

Parameter
NameDescription
valueString

The project to set.

Returns
TypeDescription
PublicAdvertisedPrefixPublicDelegatedPrefix.Builder

This builder for chaining.

setProjectBytes(ByteString value)

public PublicAdvertisedPrefixPublicDelegatedPrefix.Builder setProjectBytes(ByteString value)

The project number of the public delegated prefix

optional string project = 227560217;

Parameter
NameDescription
valueByteString

The bytes for project to set.

Returns
TypeDescription
PublicAdvertisedPrefixPublicDelegatedPrefix.Builder

This builder for chaining.

setRegion(String value)

public PublicAdvertisedPrefixPublicDelegatedPrefix.Builder setRegion(String value)

The region of the public delegated prefix if it is regional. If absent, the prefix is global.

optional string region = 138946292;

Parameter
NameDescription
valueString

The region to set.

Returns
TypeDescription
PublicAdvertisedPrefixPublicDelegatedPrefix.Builder

This builder for chaining.

setRegionBytes(ByteString value)

public PublicAdvertisedPrefixPublicDelegatedPrefix.Builder setRegionBytes(ByteString value)

The region of the public delegated prefix if it is regional. If absent, the prefix is global.

optional string region = 138946292;

Parameter
NameDescription
valueByteString

The bytes for region to set.

Returns
TypeDescription
PublicAdvertisedPrefixPublicDelegatedPrefix.Builder

This builder for chaining.

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

public PublicAdvertisedPrefixPublicDelegatedPrefix.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters
NameDescription
fieldFieldDescriptor
indexint
valueObject
Returns
TypeDescription
PublicAdvertisedPrefixPublicDelegatedPrefix.Builder
Overrides

setStatus(String value)

public PublicAdvertisedPrefixPublicDelegatedPrefix.Builder setStatus(String value)

The status of the public delegated prefix. Possible values are: INITIALIZING: The public delegated prefix is being initialized and addresses cannot be created yet. ANNOUNCED: The public delegated prefix is active.

optional string status = 181260274;

Parameter
NameDescription
valueString

The status to set.

Returns
TypeDescription
PublicAdvertisedPrefixPublicDelegatedPrefix.Builder

This builder for chaining.

setStatusBytes(ByteString value)

public PublicAdvertisedPrefixPublicDelegatedPrefix.Builder setStatusBytes(ByteString value)

The status of the public delegated prefix. Possible values are: INITIALIZING: The public delegated prefix is being initialized and addresses cannot be created yet. ANNOUNCED: The public delegated prefix is active.

optional string status = 181260274;

Parameter
NameDescription
valueByteString

The bytes for status to set.

Returns
TypeDescription
PublicAdvertisedPrefixPublicDelegatedPrefix.Builder

This builder for chaining.

setUnknownFields(UnknownFieldSet unknownFields)

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