Enum
class Enum extends Message
Enum type definition.
Protobuf type Google\Protobuf\Enum
Methods
No description
Enum type name.
Enum type name.
Enum value definitions.
Enum value definitions.
Protocol buffer options.
Protocol buffer options.
The source context.
The source syntax.
The source syntax.
Details
at line 49
__construct()
at line 60
string
getName()
Enum type name.
Generated from protobuf field string name = 1;
at line 71
setName(string $var)
Enum type name.
Generated from protobuf field string name = 1;
at line 83
RepeatedField
getEnumvalue()
Enum value definitions.
Generated from protobuf field repeated .google.protobuf.EnumValue enumvalue = 2;
at line 94
setEnumvalue(array|RepeatedField $var)
Enum value definitions.
Generated from protobuf field repeated .google.protobuf.EnumValue enumvalue = 2;
at line 106
RepeatedField
getOptions()
Protocol buffer options.
Generated from protobuf field repeated .google.protobuf.Option options = 3;
at line 117
setOptions(array|RepeatedField $var)
Protocol buffer options.
Generated from protobuf field repeated .google.protobuf.Option options = 3;
at line 129
SourceContext
getSourceContext()
The source context.
Generated from protobuf field .google.protobuf.SourceContext source_context = 4;
at line 140
setSourceContext(SourceContext $var)
The source context.
Generated from protobuf field .google.protobuf.SourceContext source_context = 4;
at line 152
int
getSyntax()
The source syntax.
Generated from protobuf field .google.protobuf.Syntax syntax = 5;
at line 163
setSyntax(int $var)
The source syntax.
Generated from protobuf field .google.protobuf.Syntax syntax = 5;