public static final class PublicAdvertisedPrefixPublicDelegatedPrefix.Builder extends GeneratedMessage.Builder<PublicAdvertisedPrefixPublicDelegatedPrefix.Builder> implements PublicAdvertisedPrefixPublicDelegatedPrefixOrBuilderRepresents a CIDR range which can be used to assign addresses.
Protobuf type google.cloud.compute.v1.PublicAdvertisedPrefixPublicDelegatedPrefix
Inheritance
java.lang.Object > AbstractMessageLite.Builder<MessageType,BuilderType> > AbstractMessage.Builder<BuilderType> > GeneratedMessage.Builder > PublicAdvertisedPrefixPublicDelegatedPrefix.BuilderStatic Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()| Returns | |
|---|---|
| Type | Description |
Descriptor |
|
Methods
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 |
|
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. |
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. |
getDefaultInstanceForType()
public PublicAdvertisedPrefixPublicDelegatedPrefix getDefaultInstanceForType()| Returns | |
|---|---|
| Type | Description |
PublicAdvertisedPrefixPublicDelegatedPrefix |
|
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()| Returns | |
|---|---|
| Type | Description |
Descriptor |
|
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 GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()| Returns | |
|---|---|
| Type | Description |
FieldAccessorTable |
|
isInitialized()
public final boolean isInitialized()| Returns | |
|---|---|
| Type | Description |
boolean |
|
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 |
|
| Exceptions | |
|---|---|
| Type | Description |
IOException |
|
mergeFrom(Message other)
public PublicAdvertisedPrefixPublicDelegatedPrefix.Builder mergeFrom(Message other)| Parameter | |
|---|---|
| Name | Description |
other |
Message |
| Returns | |
|---|---|
| Type | Description |
PublicAdvertisedPrefixPublicDelegatedPrefix.Builder |
|
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 |
StringThe 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 |
ByteStringThe 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 |
StringThe 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 |
ByteStringThe 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 |
StringThe 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 |
ByteStringThe 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 |
StringThe 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 |
ByteStringThe bytes for region to set. |
| Returns | |
|---|---|
| Type | Description |
PublicAdvertisedPrefixPublicDelegatedPrefix.Builder |
This builder for chaining. |
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 |
StringThe 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 |
ByteStringThe bytes for status to set. |
| Returns | |
|---|---|
| Type | Description |
PublicAdvertisedPrefixPublicDelegatedPrefix.Builder |
This builder for chaining. |