public final class Dhcp extends GeneratedMessage implements DhcpOrBuilder
DHCP information.
Protobuf type google.backstory.Dhcp
Inherited Members
com.google.protobuf.GeneratedMessage.<ContainingT,T>newFileScopedGeneratedExtension(java.lang.Class<?>,com.google.protobuf.Message)
com.google.protobuf.GeneratedMessage.<ContainingT,T>newMessageScopedGeneratedExtension(com.google.protobuf.Message,int,java.lang.Class<?>,com.google.protobuf.Message)
com.google.protobuf.GeneratedMessage.<ListT>makeMutableCopy(ListT)
com.google.protobuf.GeneratedMessage.<ListT>makeMutableCopy(ListT,int)
com.google.protobuf.GeneratedMessage.<T>emptyList(java.lang.Class<T>)
com.google.protobuf.GeneratedMessage.<V>serializeBooleanMapTo(com.google.protobuf.CodedOutputStream,com.google.protobuf.MapField<java.lang.Boolean,V>,com.google.protobuf.MapEntry<java.lang.Boolean,V>,int)
com.google.protobuf.GeneratedMessage.<V>serializeIntegerMapTo(com.google.protobuf.CodedOutputStream,com.google.protobuf.MapField<java.lang.Integer,V>,com.google.protobuf.MapEntry<java.lang.Integer,V>,int)
com.google.protobuf.GeneratedMessage.<V>serializeLongMapTo(com.google.protobuf.CodedOutputStream,com.google.protobuf.MapField<java.lang.Long,V>,com.google.protobuf.MapEntry<java.lang.Long,V>,int)
com.google.protobuf.GeneratedMessage.<V>serializeStringMapTo(com.google.protobuf.CodedOutputStream,com.google.protobuf.MapField<java.lang.String,V>,com.google.protobuf.MapEntry<java.lang.String,V>,int)
com.google.protobuf.GeneratedMessage.canUseUnsafe()
com.google.protobuf.GeneratedMessage.emptyBooleanList()
com.google.protobuf.GeneratedMessage.emptyDoubleList()
com.google.protobuf.GeneratedMessage.emptyFloatList()
com.google.protobuf.GeneratedMessage.emptyIntList()
com.google.protobuf.GeneratedMessage.emptyLongList()
com.google.protobuf.GeneratedMessage.internalGetMapFieldReflection(int)
com.google.protobuf.GeneratedMessage.isStringEmpty(java.lang.Object)
com.google.protobuf.GeneratedMessage.mergeFromAndMakeImmutableInternal(com.google.protobuf.CodedInputStream,com.google.protobuf.ExtensionRegistryLite)
com.google.protobuf.GeneratedMessage.newInstance(com.google.protobuf.GeneratedMessage.UnusedPrivateParameter)
com.google.protobuf.GeneratedMessage.parseUnknownFieldProto3(com.google.protobuf.CodedInputStream,com.google.protobuf.UnknownFieldSet.Builder,com.google.protobuf.ExtensionRegistryLite,int)
Static Fields
CHADDR_FIELD_NUMBER
public static final int CHADDR_FIELD_NUMBER
| Field Value |
| Type |
Description |
int |
|
CIADDR_FIELD_NUMBER
public static final int CIADDR_FIELD_NUMBER
| Field Value |
| Type |
Description |
int |
|
CLIENT_HOSTNAME_FIELD_NUMBER
public static final int CLIENT_HOSTNAME_FIELD_NUMBER
| Field Value |
| Type |
Description |
int |
|
CLIENT_IDENTIFIER_FIELD_NUMBER
public static final int CLIENT_IDENTIFIER_FIELD_NUMBER
| Field Value |
| Type |
Description |
int |
|
CLIENT_IDENTIFIER_STRING_FIELD_NUMBER
public static final int CLIENT_IDENTIFIER_STRING_FIELD_NUMBER
| Field Value |
| Type |
Description |
int |
|
FILE_FIELD_NUMBER
public static final int FILE_FIELD_NUMBER
| Field Value |
| Type |
Description |
int |
|
FLAGS_FIELD_NUMBER
public static final int FLAGS_FIELD_NUMBER
| Field Value |
| Type |
Description |
int |
|
GIADDR_FIELD_NUMBER
public static final int GIADDR_FIELD_NUMBER
| Field Value |
| Type |
Description |
int |
|
HLEN_FIELD_NUMBER
public static final int HLEN_FIELD_NUMBER
| Field Value |
| Type |
Description |
int |
|
HOPS_FIELD_NUMBER
public static final int HOPS_FIELD_NUMBER
| Field Value |
| Type |
Description |
int |
|
HTYPE_FIELD_NUMBER
public static final int HTYPE_FIELD_NUMBER
| Field Value |
| Type |
Description |
int |
|
LEASE_TIME_SECONDS_FIELD_NUMBER
public static final int LEASE_TIME_SECONDS_FIELD_NUMBER
| Field Value |
| Type |
Description |
int |
|
OPCODE_FIELD_NUMBER
public static final int OPCODE_FIELD_NUMBER
| Field Value |
| Type |
Description |
int |
|
OPTIONS_FIELD_NUMBER
public static final int OPTIONS_FIELD_NUMBER
| Field Value |
| Type |
Description |
int |
|
REQUESTED_ADDRESS_FIELD_NUMBER
public static final int REQUESTED_ADDRESS_FIELD_NUMBER
| Field Value |
| Type |
Description |
int |
|
SECONDS_FIELD_NUMBER
public static final int SECONDS_FIELD_NUMBER
| Field Value |
| Type |
Description |
int |
|
SIADDR_FIELD_NUMBER
public static final int SIADDR_FIELD_NUMBER
| Field Value |
| Type |
Description |
int |
|
SNAME_FIELD_NUMBER
public static final int SNAME_FIELD_NUMBER
| Field Value |
| Type |
Description |
int |
|
TRANSACTION_ID_FIELD_NUMBER
public static final int TRANSACTION_ID_FIELD_NUMBER
| Field Value |
| Type |
Description |
int |
|
TYPE_FIELD_NUMBER
public static final int TYPE_FIELD_NUMBER
| Field Value |
| Type |
Description |
int |
|
YIADDR_FIELD_NUMBER
public static final int YIADDR_FIELD_NUMBER
| Field Value |
| Type |
Description |
int |
|
Static Methods
getDefaultInstance()
public static Dhcp getDefaultInstance()
| Returns |
| Type |
Description |
Dhcp |
|
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
newBuilder()
public static Dhcp.Builder newBuilder()
newBuilder(Dhcp prototype)
public static Dhcp.Builder newBuilder(Dhcp prototype)
| Parameter |
| Name |
Description |
prototype |
Dhcp
|
parseDelimitedFrom(InputStream input)
public static Dhcp parseDelimitedFrom(InputStream input)
| Returns |
| Type |
Description |
Dhcp |
|
parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
public static Dhcp parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
| Returns |
| Type |
Description |
Dhcp |
|
parseFrom(byte[] data)
public static Dhcp parseFrom(byte[] data)
| Parameter |
| Name |
Description |
data |
byte[]
|
| Returns |
| Type |
Description |
Dhcp |
|
parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
public static Dhcp parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
| Returns |
| Type |
Description |
Dhcp |
|
parseFrom(ByteString data)
public static Dhcp parseFrom(ByteString data)
| Returns |
| Type |
Description |
Dhcp |
|
parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
public static Dhcp parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
| Returns |
| Type |
Description |
Dhcp |
|
parseFrom(CodedInputStream input)
public static Dhcp parseFrom(CodedInputStream input)
| Returns |
| Type |
Description |
Dhcp |
|
parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public static Dhcp parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
| Returns |
| Type |
Description |
Dhcp |
|
parseFrom(InputStream input)
public static Dhcp parseFrom(InputStream input)
| Returns |
| Type |
Description |
Dhcp |
|
parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
public static Dhcp parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
| Returns |
| Type |
Description |
Dhcp |
|
parseFrom(ByteBuffer data)
public static Dhcp parseFrom(ByteBuffer data)
| Returns |
| Type |
Description |
Dhcp |
|
parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
public static Dhcp parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
| Returns |
| Type |
Description |
Dhcp |
|
parser()
public static Parser<Dhcp> parser()
Methods
equals(Object obj)
public boolean equals(Object obj)
| Parameter |
| Name |
Description |
obj |
Object
|
Overrides
getChaddr()
public String getChaddr()
Client hardware address (chaddr).
string chaddr = 12;
| Returns |
| Type |
Description |
String |
The chaddr.
|
getChaddrBytes()
public ByteString getChaddrBytes()
Client hardware address (chaddr).
string chaddr = 12;
| Returns |
| Type |
Description |
ByteString |
The bytes for chaddr.
|
getCiaddr()
public String getCiaddr()
Client IP address (ciaddr).
string ciaddr = 8;
| Returns |
| Type |
Description |
String |
The ciaddr.
|
getCiaddrBytes()
public ByteString getCiaddrBytes()
Client IP address (ciaddr).
string ciaddr = 8;
| Returns |
| Type |
Description |
ByteString |
The bytes for ciaddr.
|
getClientHostname()
public String getClientHostname()
Client hostname. See RFC2132, section 3.14.
string client_hostname = 18;
| Returns |
| Type |
Description |
String |
The clientHostname.
|
getClientHostnameBytes()
public ByteString getClientHostnameBytes()
Client hostname. See RFC2132, section 3.14.
string client_hostname = 18;
| Returns |
| Type |
Description |
ByteString |
The bytes for clientHostname.
|
getClientIdentifier()
public 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 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 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.
|
getDefaultInstanceForType()
public Dhcp getDefaultInstanceForType()
| Returns |
| Type |
Description |
Dhcp |
|
getFile()
Boot image filename.
string file = 14;
| Returns |
| Type |
Description |
String |
The file.
|
getFileBytes()
public ByteString getFileBytes()
Boot image filename.
string file = 14;
| Returns |
| Type |
Description |
ByteString |
The bytes for file.
|
getFlags()
| Returns |
| Type |
Description |
int |
The flags.
|
getGiaddr()
public String getGiaddr()
Relay agent IP address (giaddr).
string giaddr = 11;
| Returns |
| Type |
Description |
String |
The giaddr.
|
getGiaddrBytes()
public ByteString getGiaddrBytes()
Relay agent IP address (giaddr).
string giaddr = 11;
| Returns |
| Type |
Description |
ByteString |
The bytes for giaddr.
|
getHlen()
Hardware address length.
uint32 hlen = 3;
| Returns |
| Type |
Description |
int |
The hlen.
|
getHops()
Hardware ops.
uint32 hops = 4;
| Returns |
| Type |
Description |
int |
The hops.
|
getHtype()
Hardware address type.
uint32 htype = 2;
| Returns |
| Type |
Description |
int |
The htype.
|
getLeaseTimeSeconds()
public int getLeaseTimeSeconds()
Lease time in seconds. See RFC2132, section 9.2.
uint32 lease_time_seconds = 17;
| Returns |
| Type |
Description |
int |
The leaseTimeSeconds.
|
getOpcode()
public Dhcp.OpCode getOpcode()
The BOOTP op code.
.google.backstory.Dhcp.OpCode opcode = 1;
getOpcodeValue()
public 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 Dhcp.Option getOptions(int index)
List of DHCP options.
repeated .google.backstory.Dhcp.Option options = 15;
| Parameter |
| Name |
Description |
index |
int
|
getOptionsCount()
public int getOptionsCount()
List of DHCP options.
repeated .google.backstory.Dhcp.Option options = 15;
| Returns |
| Type |
Description |
int |
|
getOptionsList()
public List<Dhcp.Option> getOptionsList()
List of DHCP options.
repeated .google.backstory.Dhcp.Option options = 15;
getOptionsOrBuilder(int index)
public Dhcp.OptionOrBuilder getOptionsOrBuilder(int index)
List of DHCP options.
repeated .google.backstory.Dhcp.Option options = 15;
| Parameter |
| Name |
Description |
index |
int
|
getOptionsOrBuilderList()
public 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> |
|
getParserForType()
public Parser<Dhcp> getParserForType()
Overrides
getRequestedAddress()
public String getRequestedAddress()
Requested IP address. See RFC2132, section 9.1.
string requested_address = 20;
| Returns |
| Type |
Description |
String |
The requestedAddress.
|
getRequestedAddressBytes()
public ByteString getRequestedAddressBytes()
Requested IP address. See RFC2132, section 9.1.
string requested_address = 20;
| Returns |
| Type |
Description |
ByteString |
The bytes for requestedAddress.
|
getSeconds()
Seconds elapsed since client began address acquisition/renewal process.
uint32 seconds = 6;
| Returns |
| Type |
Description |
int |
The seconds.
|
getSerializedSize()
public int getSerializedSize()
| Returns |
| Type |
Description |
int |
|
Overrides
getSiaddr()
public String getSiaddr()
IP address of the next bootstrap server.
string siaddr = 10;
| Returns |
| Type |
Description |
String |
The siaddr.
|
getSiaddrBytes()
public ByteString getSiaddrBytes()
IP address of the next bootstrap server.
string siaddr = 10;
| Returns |
| Type |
Description |
ByteString |
The bytes for siaddr.
|
getSname()
Server name that the client wishes to boot from.
string sname = 13;
| Returns |
| Type |
Description |
String |
The sname.
|
getSnameBytes()
public ByteString getSnameBytes()
Server name that the client wishes to boot from.
string sname = 13;
| Returns |
| Type |
Description |
ByteString |
The bytes for sname.
|
getTransactionId()
public int getTransactionId()
Transaction ID.
uint32 transaction_id = 5;
| Returns |
| Type |
Description |
int |
The transactionId.
|
getType()
public Dhcp.MessageType getType()
DHCP message type.
.google.backstory.Dhcp.MessageType type = 16;
getTypeValue()
public 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 String getYiaddr()
Your IP address (yiaddr).
string yiaddr = 9;
| Returns |
| Type |
Description |
String |
The yiaddr.
|
getYiaddrBytes()
public ByteString getYiaddrBytes()
Your IP address (yiaddr).
string yiaddr = 9;
| Returns |
| Type |
Description |
ByteString |
The bytes for yiaddr.
|
hashCode()
| Returns |
| Type |
Description |
int |
|
Overrides
internalGetFieldAccessorTable()
protected GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()
Overrides
isInitialized()
public final boolean isInitialized()
Overrides
newBuilderForType()
public Dhcp.Builder newBuilderForType()
newBuilderForType(AbstractMessage.BuilderParent parent)
protected Dhcp.Builder newBuilderForType(AbstractMessage.BuilderParent parent)
Overrides
toBuilder()
public Dhcp.Builder toBuilder()
writeTo(CodedOutputStream output)
public void writeTo(CodedOutputStream output)
Overrides