public interface DhcpOrBuilder extends MessageOrBuilderImplements
MessageOrBuilderMethods
getChaddr()
public abstract String getChaddr()Client hardware address (chaddr).
string chaddr = 12;
| Returns | |
|---|---|
| Type | Description |
String |
The chaddr. |
getChaddrBytes()
public abstract ByteString getChaddrBytes()Client hardware address (chaddr).
string chaddr = 12;
| Returns | |
|---|---|
| Type | Description |
ByteString |
The bytes for chaddr. |
getCiaddr()
public abstract String getCiaddr()Client IP address (ciaddr).
string ciaddr = 8;
| Returns | |
|---|---|
| Type | Description |
String |
The ciaddr. |
getCiaddrBytes()
public abstract ByteString getCiaddrBytes()Client IP address (ciaddr).
string ciaddr = 8;
| Returns | |
|---|---|
| Type | Description |
ByteString |
The bytes for ciaddr. |
getClientHostname()
public abstract String getClientHostname()Client hostname. See RFC2132, section 3.14.
string client_hostname = 18;
| Returns | |
|---|---|
| Type | Description |
String |
The clientHostname. |
getClientHostnameBytes()
public abstract ByteString getClientHostnameBytes()Client hostname. See RFC2132, section 3.14.
string client_hostname = 18;
| Returns | |
|---|---|
| Type | Description |
ByteString |
The bytes for clientHostname. |
getClientIdentifier()
public abstract ByteString getClientIdentifier()Client identifier. See RFC2132, section 9.14. Note: Make sure to update the client_identifier_string field as well if you update this field.
bytes client_identifier = 19;
| Returns | |
|---|---|
| Type | Description |
ByteString |
The clientIdentifier. |
getClientIdentifierString()
public abstract String getClientIdentifierString()Client identifier as string. See RFC2132, section 9.14. This field holds the string value of the client_identifier.
string client_identifier_string = 21;
| Returns | |
|---|---|
| Type | Description |
String |
The clientIdentifierString. |
getClientIdentifierStringBytes()
public abstract ByteString getClientIdentifierStringBytes()Client identifier as string. See RFC2132, section 9.14. This field holds the string value of the client_identifier.
string client_identifier_string = 21;
| Returns | |
|---|---|
| Type | Description |
ByteString |
The bytes for clientIdentifierString. |
getFile()
public abstract String getFile()Boot image filename.
string file = 14;
| Returns | |
|---|---|
| Type | Description |
String |
The file. |
getFileBytes()
public abstract ByteString getFileBytes()Boot image filename.
string file = 14;
| Returns | |
|---|---|
| Type | Description |
ByteString |
The bytes for file. |
getFlags()
public abstract int getFlags()Flags.
uint32 flags = 7;
| Returns | |
|---|---|
| Type | Description |
int |
The flags. |
getGiaddr()
public abstract String getGiaddr()Relay agent IP address (giaddr).
string giaddr = 11;
| Returns | |
|---|---|
| Type | Description |
String |
The giaddr. |
getGiaddrBytes()
public abstract ByteString getGiaddrBytes()Relay agent IP address (giaddr).
string giaddr = 11;
| Returns | |
|---|---|
| Type | Description |
ByteString |
The bytes for giaddr. |
getHlen()
public abstract int getHlen()Hardware address length.
uint32 hlen = 3;
| Returns | |
|---|---|
| Type | Description |
int |
The hlen. |
getHops()
public abstract int getHops()Hardware ops.
uint32 hops = 4;
| Returns | |
|---|---|
| Type | Description |
int |
The hops. |
getHtype()
public abstract int getHtype()Hardware address type.
uint32 htype = 2;
| Returns | |
|---|---|
| Type | Description |
int |
The htype. |
getLeaseTimeSeconds()
public abstract int getLeaseTimeSeconds()Lease time in seconds. See RFC2132, section 9.2.
uint32 lease_time_seconds = 17;
| Returns | |
|---|---|
| Type | Description |
int |
The leaseTimeSeconds. |
getOpcode()
public abstract Dhcp.OpCode getOpcode()The BOOTP op code.
.google.backstory.Dhcp.OpCode opcode = 1;
| Returns | |
|---|---|
| Type | Description |
Dhcp.OpCode |
The opcode. |
getOpcodeValue()
public abstract int getOpcodeValue()The BOOTP op code.
.google.backstory.Dhcp.OpCode opcode = 1;
| Returns | |
|---|---|
| Type | Description |
int |
The enum numeric value on the wire for opcode. |
getOptions(int index)
public abstract Dhcp.Option getOptions(int index)List of DHCP options.
repeated .google.backstory.Dhcp.Option options = 15;
| Parameter | |
|---|---|
| Name | Description |
index |
int |
| Returns | |
|---|---|
| Type | Description |
Dhcp.Option |
|
getOptionsCount()
public abstract int getOptionsCount()List of DHCP options.
repeated .google.backstory.Dhcp.Option options = 15;
| Returns | |
|---|---|
| Type | Description |
int |
|
getOptionsList()
public abstract List<Dhcp.Option> getOptionsList()List of DHCP options.
repeated .google.backstory.Dhcp.Option options = 15;
| Returns | |
|---|---|
| Type | Description |
List<Option> |
|
getOptionsOrBuilder(int index)
public abstract Dhcp.OptionOrBuilder getOptionsOrBuilder(int index)List of DHCP options.
repeated .google.backstory.Dhcp.Option options = 15;
| Parameter | |
|---|---|
| Name | Description |
index |
int |
| Returns | |
|---|---|
| Type | Description |
Dhcp.OptionOrBuilder |
|
getOptionsOrBuilderList()
public abstract List<? extends Dhcp.OptionOrBuilder> getOptionsOrBuilderList()List of DHCP options.
repeated .google.backstory.Dhcp.Option options = 15;
| Returns | |
|---|---|
| Type | Description |
List<? extends com.google.backstory.Dhcp.OptionOrBuilder> |
|
getRequestedAddress()
public abstract String getRequestedAddress()Requested IP address. See RFC2132, section 9.1.
string requested_address = 20;
| Returns | |
|---|---|
| Type | Description |
String |
The requestedAddress. |
getRequestedAddressBytes()
public abstract ByteString getRequestedAddressBytes()Requested IP address. See RFC2132, section 9.1.
string requested_address = 20;
| Returns | |
|---|---|
| Type | Description |
ByteString |
The bytes for requestedAddress. |
getSeconds()
public abstract int getSeconds()Seconds elapsed since client began address acquisition/renewal process.
uint32 seconds = 6;
| Returns | |
|---|---|
| Type | Description |
int |
The seconds. |
getSiaddr()
public abstract String getSiaddr()IP address of the next bootstrap server.
string siaddr = 10;
| Returns | |
|---|---|
| Type | Description |
String |
The siaddr. |
getSiaddrBytes()
public abstract ByteString getSiaddrBytes()IP address of the next bootstrap server.
string siaddr = 10;
| Returns | |
|---|---|
| Type | Description |
ByteString |
The bytes for siaddr. |
getSname()
public abstract String getSname()Server name that the client wishes to boot from.
string sname = 13;
| Returns | |
|---|---|
| Type | Description |
String |
The sname. |
getSnameBytes()
public abstract ByteString getSnameBytes()Server name that the client wishes to boot from.
string sname = 13;
| Returns | |
|---|---|
| Type | Description |
ByteString |
The bytes for sname. |
getTransactionId()
public abstract int getTransactionId()Transaction ID.
uint32 transaction_id = 5;
| Returns | |
|---|---|
| Type | Description |
int |
The transactionId. |
getType()
public abstract Dhcp.MessageType getType()DHCP message type.
.google.backstory.Dhcp.MessageType type = 16;
| Returns | |
|---|---|
| Type | Description |
Dhcp.MessageType |
The type. |
getTypeValue()
public abstract int getTypeValue()DHCP message type.
.google.backstory.Dhcp.MessageType type = 16;
| Returns | |
|---|---|
| Type | Description |
int |
The enum numeric value on the wire for type. |
getYiaddr()
public abstract String getYiaddr()Your IP address (yiaddr).
string yiaddr = 9;
| Returns | |
|---|---|
| Type | Description |
String |
The yiaddr. |
getYiaddrBytes()
public abstract ByteString getYiaddrBytes()Your IP address (yiaddr).
string yiaddr = 9;
| Returns | |
|---|---|
| Type | Description |
ByteString |
The bytes for yiaddr. |