Google Cloud Chronicle Client - Class Dhcp (0.9.0)

Reference documentation and code samples for the Google Cloud Chronicle Client class Dhcp.

DHCP information.

Generated from protobuf message google.backstory.Dhcp

Namespace

Google \ Backstory

Methods

__construct

Constructor.

Parameters
Name Description
data array

Optional. Data for populating the Message object.

↳ opcode int

The BOOTP op code.

↳ htype int

Hardware address type.

↳ hlen int

Hardware address length.

↳ hops int

Hardware ops.

↳ transaction_id int

Transaction ID.

↳ seconds int

Seconds elapsed since client began address acquisition/renewal process.

↳ flags int

Flags.

↳ ciaddr string

Client IP address (ciaddr).

↳ yiaddr string

Your IP address (yiaddr).

↳ siaddr string

IP address of the next bootstrap server.

↳ giaddr string

Relay agent IP address (giaddr).

↳ chaddr string

Client hardware address (chaddr).

↳ sname string

Server name that the client wishes to boot from.

↳ file string

Boot image filename.

↳ options array<Dhcp\Option>

List of DHCP options.

↳ type int

DHCP message type.

↳ lease_time_seconds int

Lease time in seconds. See RFC2132, section 9.2.

↳ client_hostname string

Client hostname. See RFC2132, section 3.14.

↳ client_identifier string

Client identifier. See RFC2132, section 9.14. Note: Make sure to update the client_identifier_string field as well if you update this field.

↳ requested_address string

Requested IP address. See RFC2132, section 9.1.

↳ client_identifier_string string

Client identifier as string. See RFC2132, section 9.14. This field holds the string value of the client_identifier.

getOpcode

The BOOTP op code.

Returns
Type Description
int Enum of type OpCode.

setOpcode

The BOOTP op code.

Parameter
Name Description
var int

Enum of type OpCode.

Returns
Type Description
$this

getHtype

Hardware address type.

Returns
Type Description
int

setHtype

Hardware address type.

Parameter
Name Description
var int
Returns
Type Description
$this

getHlen

Hardware address length.

Returns
Type Description
int

setHlen

Hardware address length.

Parameter
Name Description
var int
Returns
Type Description
$this

getHops

Hardware ops.

Returns
Type Description
int

setHops

Hardware ops.

Parameter
Name Description
var int
Returns
Type Description
$this

getTransactionId

Transaction ID.

Returns
Type Description
int

setTransactionId

Transaction ID.

Parameter
Name Description
var int
Returns
Type Description
$this

getSeconds

Seconds elapsed since client began address acquisition/renewal process.

Returns
Type Description
int

setSeconds

Seconds elapsed since client began address acquisition/renewal process.

Parameter
Name Description
var int
Returns
Type Description
$this

getFlags

Flags.

Returns
Type Description
int

setFlags

Flags.

Parameter
Name Description
var int
Returns
Type Description
$this

getCiaddr

Client IP address (ciaddr).

Returns
Type Description
string

setCiaddr

Client IP address (ciaddr).

Parameter
Name Description
var string
Returns
Type Description
$this

getYiaddr

Your IP address (yiaddr).

Returns
Type Description
string

setYiaddr

Your IP address (yiaddr).

Parameter
Name Description
var string
Returns
Type Description
$this

getSiaddr

IP address of the next bootstrap server.

Returns
Type Description
string

setSiaddr

IP address of the next bootstrap server.

Parameter
Name Description
var string
Returns
Type Description
$this

getGiaddr

Relay agent IP address (giaddr).

Returns
Type Description
string

setGiaddr

Relay agent IP address (giaddr).

Parameter
Name Description
var string
Returns
Type Description
$this

getChaddr

Client hardware address (chaddr).

Returns
Type Description
string

setChaddr

Client hardware address (chaddr).

Parameter
Name Description
var string
Returns
Type Description
$this

getSname

Server name that the client wishes to boot from.

Returns
Type Description
string

setSname

Server name that the client wishes to boot from.

Parameter
Name Description
var string
Returns
Type Description
$this

getFile

Boot image filename.

Returns
Type Description
string

setFile

Boot image filename.

Parameter
Name Description
var string
Returns
Type Description
$this

getOptions

List of DHCP options.

Returns
Type Description
Google\Protobuf\RepeatedField<Dhcp\Option>

setOptions

List of DHCP options.

Parameter
Name Description
var array<Dhcp\Option>
Returns
Type Description
$this

getType

DHCP message type.

Returns
Type Description
int Enum of type MessageType.

setType

DHCP message type.

Parameter
Name Description
var int

Enum of type MessageType.

Returns
Type Description
$this

getLeaseTimeSeconds

Lease time in seconds. See RFC2132, section 9.2.

Returns
Type Description
int

setLeaseTimeSeconds

Lease time in seconds. See RFC2132, section 9.2.

Parameter
Name Description
var int
Returns
Type Description
$this

getClientHostname

Client hostname. See RFC2132, section 3.14.

Returns
Type Description
string

setClientHostname

Client hostname. See RFC2132, section 3.14.

Parameter
Name Description
var string
Returns
Type Description
$this

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.

Returns
Type Description
string

setClientIdentifier

Client identifier. See RFC2132, section 9.14.

Note: Make sure to update the client_identifier_string field as well if you update this field.

Parameter
Name Description
var string
Returns
Type Description
$this

getRequestedAddress

Requested IP address. See RFC2132, section 9.1.

Returns
Type Description
string

setRequestedAddress

Requested IP address. See RFC2132, section 9.1.

Parameter
Name Description
var string
Returns
Type Description
$this

getClientIdentifierString

Client identifier as string. See RFC2132, section 9.14.

This field holds the string value of the client_identifier.

Returns
Type Description
string

setClientIdentifierString

Client identifier as string. See RFC2132, section 9.14.

This field holds the string value of the client_identifier.

Parameter
Name Description
var string
Returns
Type Description
$this