class Api extends Message

Properties

string $name
Method[] $methods
Option[] $options
string $version
SourceContext $source_context
Mixin[] $mixins
int $syntax

Methods

static 
descriptor()

No description

boolean
hasName()

Check if has a value

Api
clearName()

Clear value

string
getName()

Get value

Api
setName(string $value)

Set value

boolean
hasMethods()

Check if has a value

Api
clearMethods()

Clear value

getMethods(int $idx = NULL)

Get value

Api
setMethods(Method $value, $idx = NULL)

Set value

Method[]
getMethodsList()

Get all elements of

Api
addMethods(Method $value)

Add a new element to

boolean
hasOptions()

Check if has a value

Api
clearOptions()

Clear value

getOptions(int $idx = NULL)

Get value

Api
setOptions(Option $value, $idx = NULL)

Set value

Option[]
getOptionsList()

Get all elements of

Api
addOptions(Option $value)

Add a new element to

boolean
hasVersion()

Check if has a value

Api
clearVersion()

Clear value

string
getVersion()

Get value

Api
setVersion(string $value)

Set value

boolean
hasSourceContext()

Check if has a value

Api
clearSourceContext()

Clear value

Api
setSourceContext(SourceContext $value)

Set value

boolean
hasMixins()

Check if has a value

Api
clearMixins()

Clear value

getMixins(int $idx = NULL)

Get value

Api
setMixins(Mixin $value, $idx = NULL)

Set value

Mixin[]
getMixinsList()

Get all elements of

Api
addMixins(Mixin $value)

Add a new element to

boolean
hasSyntax()

Check if has a value

Api
clearSyntax()

Clear value

int
getSyntax()

Get value

Api
setSyntax(int $value)

Set value

Details

at line line 35
static descriptor()

at line line 112
boolean hasName()

Check if has a value

Return Value

boolean

at line line 121
Api clearName()

Clear value

Return Value

Api

at line line 130
string getName()

Get value

Return Value

string

at line line 140
Api setName(string $value)

Set value

Parameters

string $value

Return Value

Api

at line line 149
boolean hasMethods()

Check if has a value

Return Value

boolean

at line line 158
Api clearMethods()

Clear value

Return Value

Api

at line line 168
Method getMethods(int $idx = NULL)

Get value

Parameters

int $idx

Return Value

Method

at line line 178
Api setMethods(Method $value, $idx = NULL)

Set value

Parameters

Method $value
$idx

Return Value

Api

at line line 187
Method[] getMethodsList()

Get all elements of

Return Value

Method[]

at line line 197
Api addMethods(Method $value)

Add a new element to

Parameters

Method $value

Return Value

Api

at line line 206
boolean hasOptions()

Check if has a value

Return Value

boolean

at line line 215
Api clearOptions()

Clear value

Return Value

Api

at line line 225
Option getOptions(int $idx = NULL)

Get value

Parameters

int $idx

Return Value

Option

at line line 235
Api setOptions(Option $value, $idx = NULL)

Set value

Parameters

Option $value
$idx

Return Value

Api

at line line 244
Option[] getOptionsList()

Get all elements of

Return Value

Option[]

at line line 254
Api addOptions(Option $value)

Add a new element to

Parameters

Option $value

Return Value

Api

at line line 263
boolean hasVersion()

Check if has a value

Return Value

boolean

at line line 272
Api clearVersion()

Clear value

Return Value

Api

at line line 281
string getVersion()

Get value

Return Value

string

at line line 291
Api setVersion(string $value)

Set value

Parameters

string $value

Return Value

Api

at line line 300
boolean hasSourceContext()

Check if has a value

Return Value

boolean

at line line 309
Api clearSourceContext()

Clear value

Return Value

Api

at line line 318
SourceContext getSourceContext()

Get value

Return Value

SourceContext

at line line 328
Api setSourceContext(SourceContext $value)

Set value

Parameters

SourceContext $value

Return Value

Api

at line line 337
boolean hasMixins()

Check if has a value

Return Value

boolean

at line line 346
Api clearMixins()

Clear value

Return Value

Api

at line line 356
Mixin getMixins(int $idx = NULL)

Get value

Parameters

int $idx

Return Value

Mixin

at line line 366
Api setMixins(Mixin $value, $idx = NULL)

Set value

Parameters

Mixin $value
$idx

Return Value

Api

at line line 375
Mixin[] getMixinsList()

Get all elements of

Return Value

Mixin[]

at line line 385
Api addMixins(Mixin $value)

Add a new element to

Parameters

Mixin $value

Return Value

Api

at line line 394
boolean hasSyntax()

Check if has a value

Return Value

boolean

at line line 403
Api clearSyntax()

Clear value

Return Value

Api

at line line 412
int getSyntax()

Get value

Return Value

int
  • \google\protobuf\Syntax

at line line 422
Api setSyntax(int $value)

Set value

Parameters

int $value
  • \google\protobuf\Syntax $value

Return Value

Api