class Field extends Collection (View source)

Properties

protected $collection_key
string $cardinality
string $defaultValue
string $jsonName
string $kind
string $name
int $number
int $oneofIndex
protected $optionsType
protected $optionsDataType
bool $packed
string $typeUrl

Methods

setCardinality($cardinality)

No description

string
getCardinality()

No description

setDefaultValue($defaultValue)

No description

string
getDefaultValue()

No description

setJsonName($jsonName)

No description

string
getJsonName()

No description

setKind($kind)

No description

string
getKind()

No description

setName($name)

No description

string
getName()

No description

setNumber($number)

No description

int
getNumber()

No description

setOneofIndex($oneofIndex)

No description

int
getOneofIndex()

No description

setOptions($options)

No description

Option[]
getOptions()

No description

setPacked($packed)

No description

bool
getPacked()

No description

setTypeUrl($typeUrl)

No description

string
getTypeUrl()

No description

Details

setCardinality($cardinality)

No description

Parameters

$cardinality

string getCardinality()

No description

Return Value

string

setDefaultValue($defaultValue)

No description

Parameters

$defaultValue

string getDefaultValue()

No description

Return Value

string

setJsonName($jsonName)

No description

Parameters

$jsonName

string getJsonName()

No description

Return Value

string

setKind($kind)

No description

Parameters

$kind

string getKind()

No description

Return Value

string

setName($name)

No description

Parameters

$name

string getName()

No description

Return Value

string

setNumber($number)

No description

Parameters

$number

int getNumber()

No description

Return Value

int

setOneofIndex($oneofIndex)

No description

Parameters

$oneofIndex

int getOneofIndex()

No description

Return Value

int

setOptions($options)

No description

Parameters

$options

Option[] getOptions()

No description

Return Value

Option[]

setPacked($packed)

No description

Parameters

$packed

bool getPacked()

No description

Return Value

bool

setTypeUrl($typeUrl)

No description

Parameters

$typeUrl

string getTypeUrl()

No description

Return Value

string