public static final class RouterAdvertisedIpRange.Builder extends GeneratedMessage.Builder<RouterAdvertisedIpRange.Builder> implements RouterAdvertisedIpRangeOrBuilderDescription-tagged IP ranges for the router to advertise.
Protobuf type google.cloud.compute.v1.RouterAdvertisedIpRange
Inheritance
java.lang.Object > AbstractMessageLite.Builder<MessageType,BuilderType> > AbstractMessage.Builder<BuilderType> > GeneratedMessage.Builder > RouterAdvertisedIpRange.BuilderImplements
RouterAdvertisedIpRangeOrBuilderStatic Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()| Returns | |
|---|---|
| Type | Description |
Descriptor |
|
Methods
build()
public RouterAdvertisedIpRange build()| Returns | |
|---|---|
| Type | Description |
RouterAdvertisedIpRange |
|
buildPartial()
public RouterAdvertisedIpRange buildPartial()| Returns | |
|---|---|
| Type | Description |
RouterAdvertisedIpRange |
|
clear()
public RouterAdvertisedIpRange.Builder clear()| Returns | |
|---|---|
| Type | Description |
RouterAdvertisedIpRange.Builder |
|
clearDescription()
public RouterAdvertisedIpRange.Builder clearDescription()User-specified description for the IP range.
optional string description = 422937596;
| Returns | |
|---|---|
| Type | Description |
RouterAdvertisedIpRange.Builder |
This builder for chaining. |
clearRange()
public RouterAdvertisedIpRange.Builder clearRange()The IP range to advertise. The value must be a CIDR-formatted string.
optional string range = 108280125;
| Returns | |
|---|---|
| Type | Description |
RouterAdvertisedIpRange.Builder |
This builder for chaining. |
getDefaultInstanceForType()
public RouterAdvertisedIpRange getDefaultInstanceForType()| Returns | |
|---|---|
| Type | Description |
RouterAdvertisedIpRange |
|
getDescription()
public String getDescription()User-specified description for the IP range.
optional string description = 422937596;
| Returns | |
|---|---|
| Type | Description |
String |
The description. |
getDescriptionBytes()
public ByteString getDescriptionBytes()User-specified description for the IP range.
optional string description = 422937596;
| Returns | |
|---|---|
| Type | Description |
ByteString |
The bytes for description. |
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()| Returns | |
|---|---|
| Type | Description |
Descriptor |
|
getRange()
public String getRange()The IP range to advertise. The value must be a CIDR-formatted string.
optional string range = 108280125;
| Returns | |
|---|---|
| Type | Description |
String |
The range. |
getRangeBytes()
public ByteString getRangeBytes()The IP range to advertise. The value must be a CIDR-formatted string.
optional string range = 108280125;
| Returns | |
|---|---|
| Type | Description |
ByteString |
The bytes for range. |
hasDescription()
public boolean hasDescription()User-specified description for the IP range.
optional string description = 422937596;
| Returns | |
|---|---|
| Type | Description |
boolean |
Whether the description field is set. |
hasRange()
public boolean hasRange()The IP range to advertise. The value must be a CIDR-formatted string.
optional string range = 108280125;
| Returns | |
|---|---|
| Type | Description |
boolean |
Whether the range field is set. |
internalGetFieldAccessorTable()
protected GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()| Returns | |
|---|---|
| Type | Description |
FieldAccessorTable |
|
isInitialized()
public final boolean isInitialized()| Returns | |
|---|---|
| Type | Description |
boolean |
|
mergeFrom(RouterAdvertisedIpRange other)
public RouterAdvertisedIpRange.Builder mergeFrom(RouterAdvertisedIpRange other)| Parameter | |
|---|---|
| Name | Description |
other |
RouterAdvertisedIpRange |
| Returns | |
|---|---|
| Type | Description |
RouterAdvertisedIpRange.Builder |
|
mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public RouterAdvertisedIpRange.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)| Parameters | |
|---|---|
| Name | Description |
input |
CodedInputStream |
extensionRegistry |
ExtensionRegistryLite |
| Returns | |
|---|---|
| Type | Description |
RouterAdvertisedIpRange.Builder |
|
| Exceptions | |
|---|---|
| Type | Description |
IOException |
|
mergeFrom(Message other)
public RouterAdvertisedIpRange.Builder mergeFrom(Message other)| Parameter | |
|---|---|
| Name | Description |
other |
Message |
| Returns | |
|---|---|
| Type | Description |
RouterAdvertisedIpRange.Builder |
|
setDescription(String value)
public RouterAdvertisedIpRange.Builder setDescription(String value)User-specified description for the IP range.
optional string description = 422937596;
| Parameter | |
|---|---|
| Name | Description |
value |
StringThe description to set. |
| Returns | |
|---|---|
| Type | Description |
RouterAdvertisedIpRange.Builder |
This builder for chaining. |
setDescriptionBytes(ByteString value)
public RouterAdvertisedIpRange.Builder setDescriptionBytes(ByteString value)User-specified description for the IP range.
optional string description = 422937596;
| Parameter | |
|---|---|
| Name | Description |
value |
ByteStringThe bytes for description to set. |
| Returns | |
|---|---|
| Type | Description |
RouterAdvertisedIpRange.Builder |
This builder for chaining. |
setRange(String value)
public RouterAdvertisedIpRange.Builder setRange(String value)The IP range to advertise. The value must be a CIDR-formatted string.
optional string range = 108280125;
| Parameter | |
|---|---|
| Name | Description |
value |
StringThe range to set. |
| Returns | |
|---|---|
| Type | Description |
RouterAdvertisedIpRange.Builder |
This builder for chaining. |
setRangeBytes(ByteString value)
public RouterAdvertisedIpRange.Builder setRangeBytes(ByteString value)The IP range to advertise. The value must be a CIDR-formatted string.
optional string range = 108280125;
| Parameter | |
|---|---|
| Name | Description |
value |
ByteStringThe bytes for range to set. |
| Returns | |
|---|---|
| Type | Description |
RouterAdvertisedIpRange.Builder |
This builder for chaining. |