class Type extends Message

A protocol buffer message type.

Protobuf type Google\Protobuf\Type

Methods

__construct()

No description

string
getName()

The fully qualified message name.

setName(string $var)

The fully qualified message name.

RepeatedField
getFields()

The list of fields.

setFields(array|RepeatedField $var)

The list of fields.

RepeatedField
getOneofs()

The list of types appearing in oneof definitions in this type.

setOneofs(array|RepeatedField $var)

The list of types appearing in oneof definitions in this type.

RepeatedField
getOptions()

The protocol buffer options.

setOptions(array|RepeatedField $var)

The protocol buffer options.

getSourceContext()

The source context.

setSourceContext(SourceContext $var)

The source context.

int
getSyntax()

The source syntax.

setSyntax(int $var)

The source syntax.

Details

at line 55
__construct()

at line 66
string getName()

The fully qualified message name.

Generated from protobuf field string name = 1;

Return Value

string

at line 77
setName(string $var)

The fully qualified message name.

Generated from protobuf field string name = 1;

Parameters

string $var

at line 89
RepeatedField getFields()

The list of fields.

Generated from protobuf field repeated .google.protobuf.Field fields = 2;

Return Value

RepeatedField

at line 100
setFields(array|RepeatedField $var)

The list of fields.

Generated from protobuf field repeated .google.protobuf.Field fields = 2;

Parameters

array|RepeatedField $var

at line 112
RepeatedField getOneofs()

The list of types appearing in oneof definitions in this type.

Generated from protobuf field repeated string oneofs = 3;

Return Value

RepeatedField

at line 123
setOneofs(array|RepeatedField $var)

The list of types appearing in oneof definitions in this type.

Generated from protobuf field repeated string oneofs = 3;

Parameters

array|RepeatedField $var

at line 135
RepeatedField getOptions()

The protocol buffer options.

Generated from protobuf field repeated .google.protobuf.Option options = 4;

Return Value

RepeatedField

at line 146
setOptions(array|RepeatedField $var)

The protocol buffer options.

Generated from protobuf field repeated .google.protobuf.Option options = 4;

Parameters

array|RepeatedField $var

at line 158
SourceContext getSourceContext()

The source context.

Generated from protobuf field .google.protobuf.SourceContext source_context = 5;

Return Value

SourceContext

at line 169
setSourceContext(SourceContext $var)

The source context.

Generated from protobuf field .google.protobuf.SourceContext source_context = 5;

Parameters

SourceContext $var

at line 181
int getSyntax()

The source syntax.

Generated from protobuf field .google.protobuf.Syntax syntax = 6;

Return Value

int

at line 192
setSyntax(int $var)

The source syntax.

Generated from protobuf field .google.protobuf.Syntax syntax = 6;

Parameters

int $var