Class PublicAdvertisedPrefixPublicDelegatedPrefix.Builder (1.53.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
Type Description
Descriptor

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

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

build()

public PublicAdvertisedPrefixPublicDelegatedPrefix build()
Returns
Type Description
PublicAdvertisedPrefixPublicDelegatedPrefix

buildPartial()

public PublicAdvertisedPrefixPublicDelegatedPrefix buildPartial()
Returns
Type Description
PublicAdvertisedPrefixPublicDelegatedPrefix

clear()

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

clearField(Descriptors.FieldDescriptor field)

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

clearIpRange()

public PublicAdvertisedPrefixPublicDelegatedPrefix.Builder clearIpRange()

The IP address range of the public delegated prefix

optional string ip_range = 145092645;

Returns
Type Description
PublicAdvertisedPrefixPublicDelegatedPrefix.Builder

This builder for chaining.

clearName()

public PublicAdvertisedPrefixPublicDelegatedPrefix.Builder clearName()

The name of the public delegated prefix

optional string name = 3373707;

Returns
Type Description
PublicAdvertisedPrefixPublicDelegatedPrefix.Builder

This builder for chaining.

clearOneof(Descriptors.OneofDescriptor oneof)

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

clearProject()

public PublicAdvertisedPrefixPublicDelegatedPrefix.Builder clearProject()

The project number of the public delegated prefix

optional string project = 227560217;

Returns
Type Description
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
Type Description
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
Type Description
PublicAdvertisedPrefixPublicDelegatedPrefix.Builder

This builder for chaining.

clone()

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

getDefaultInstanceForType()

public PublicAdvertisedPrefixPublicDelegatedPrefix getDefaultInstanceForType()
Returns
Type Description
PublicAdvertisedPrefixPublicDelegatedPrefix

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
Type Description
Descriptor
Overrides

getIpRange()

public String getIpRange()

The IP address range of the public delegated prefix

optional string ip_range = 145092645;

Returns
Type Description
String

The ipRange.

getIpRangeBytes()

public ByteString getIpRangeBytes()

The IP address range of the public delegated prefix

optional string ip_range = 145092645;

Returns
Type Description
ByteString

The bytes for ipRange.

getName()

public String getName()

The name of the public delegated prefix

optional string name = 3373707;

Returns
Type Description
String

The name.

getNameBytes()

public ByteString getNameBytes()

The name of the public delegated prefix

optional string name = 3373707;

Returns
Type Description
ByteString

The bytes for name.

getProject()

public String getProject()

The project number of the public delegated prefix

optional string project = 227560217;

Returns
Type Description
String

The project.

getProjectBytes()

public ByteString getProjectBytes()

The project number of the public delegated prefix

optional string project = 227560217;

Returns
Type Description
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
Type Description
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
Type Description
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
Type Description
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
Type Description
ByteString

The bytes for status.

hasIpRange()

public boolean hasIpRange()

The IP address range of the public delegated prefix

optional string ip_range = 145092645;

Returns
Type Description
boolean

Whether the ipRange field is set.

hasName()

public boolean hasName()

The name of the public delegated prefix

optional string name = 3373707;

Returns
Type Description
boolean

Whether the name field is set.

hasProject()

public boolean hasProject()

The project number of the public delegated prefix

optional string project = 227560217;

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

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

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

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

mergeUnknownFields(UnknownFieldSet unknownFields)

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

setField(Descriptors.FieldDescriptor field, Object value)

public PublicAdvertisedPrefixPublicDelegatedPrefix.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
Name Description
field FieldDescriptor
value Object
Returns
Type Description
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
Name Description
value String

The ipRange to set.

Returns
Type Description
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
Name Description
value ByteString

The bytes for ipRange to set.

Returns
Type Description
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
Name Description
value String

The name to set.

Returns
Type Description
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
Name Description
value ByteString

The bytes for name to set.

Returns
Type Description
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
Name Description
value String

The project to set.

Returns
Type Description
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
Name Description
value ByteString

The bytes for project to set.

Returns
Type Description
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
Name Description
value String

The region to set.

Returns
Type Description
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
Name Description
value ByteString

The bytes for region to set.

Returns
Type Description
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
Name Description
field FieldDescriptor
index int
value Object
Returns
Type Description
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
Name Description
value String

The status to set.

Returns
Type Description
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
Name Description
value ByteString

The bytes for status to set.

Returns
Type Description
PublicAdvertisedPrefixPublicDelegatedPrefix.Builder

This builder for chaining.

setUnknownFields(UnknownFieldSet unknownFields)

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