public static final class Dhcp.Option.Builder extends GeneratedMessage.Builder<Dhcp.Option.Builder> implements Dhcp.OptionOrBuilderDHCP options.
Protobuf type google.backstory.Dhcp.Option
Inheritance
java.lang.Object > AbstractMessageLite.Builder<MessageType,BuilderType> > AbstractMessage.Builder<BuilderType> > GeneratedMessage.Builder > Dhcp.Option.BuilderImplements
Dhcp.OptionOrBuilderStatic Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()| Returns | |
|---|---|
| Type | Description |
Descriptor |
|
Methods
build()
public Dhcp.Option build()| Returns | |
|---|---|
| Type | Description |
Dhcp.Option |
|
buildPartial()
public Dhcp.Option buildPartial()| Returns | |
|---|---|
| Type | Description |
Dhcp.Option |
|
clear()
public Dhcp.Option.Builder clear()| Returns | |
|---|---|
| Type | Description |
Dhcp.Option.Builder |
|
clearCode()
public Dhcp.Option.Builder clearCode()Code. See RFC1533.
uint32 code = 1;
| Returns | |
|---|---|
| Type | Description |
Dhcp.Option.Builder |
This builder for chaining. |
clearData()
public Dhcp.Option.Builder clearData()Data.
bytes data = 2;
| Returns | |
|---|---|
| Type | Description |
Dhcp.Option.Builder |
This builder for chaining. |
getCode()
public int getCode()Code. See RFC1533.
uint32 code = 1;
| Returns | |
|---|---|
| Type | Description |
int |
The code. |
getData()
public ByteString getData()Data.
bytes data = 2;
| Returns | |
|---|---|
| Type | Description |
ByteString |
The data. |
getDefaultInstanceForType()
public Dhcp.Option getDefaultInstanceForType()| Returns | |
|---|---|
| Type | Description |
Dhcp.Option |
|
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()| Returns | |
|---|---|
| Type | Description |
Descriptor |
|
internalGetFieldAccessorTable()
protected GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()| Returns | |
|---|---|
| Type | Description |
FieldAccessorTable |
|
isInitialized()
public final boolean isInitialized()| Returns | |
|---|---|
| Type | Description |
boolean |
|
mergeFrom(Dhcp.Option other)
public Dhcp.Option.Builder mergeFrom(Dhcp.Option other)| Parameter | |
|---|---|
| Name | Description |
other |
Dhcp.Option |
| Returns | |
|---|---|
| Type | Description |
Dhcp.Option.Builder |
|
mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public Dhcp.Option.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)| Parameters | |
|---|---|
| Name | Description |
input |
CodedInputStream |
extensionRegistry |
ExtensionRegistryLite |
| Returns | |
|---|---|
| Type | Description |
Dhcp.Option.Builder |
|
| Exceptions | |
|---|---|
| Type | Description |
IOException |
|
mergeFrom(Message other)
public Dhcp.Option.Builder mergeFrom(Message other)| Parameter | |
|---|---|
| Name | Description |
other |
Message |
| Returns | |
|---|---|
| Type | Description |
Dhcp.Option.Builder |
|
setCode(int value)
public Dhcp.Option.Builder setCode(int value)Code. See RFC1533.
uint32 code = 1;
| Parameter | |
|---|---|
| Name | Description |
value |
intThe code to set. |
| Returns | |
|---|---|
| Type | Description |
Dhcp.Option.Builder |
This builder for chaining. |
setData(ByteString value)
public Dhcp.Option.Builder setData(ByteString value)Data.
bytes data = 2;
| Parameter | |
|---|---|
| Name | Description |
value |
ByteStringThe data to set. |
| Returns | |
|---|---|
| Type | Description |
Dhcp.Option.Builder |
This builder for chaining. |