Namespaces

Classes

Base class for Google\Protobuf\Any, this contains hand-written convenience methods like pack() and unpack().

Describes a message type.

The full set of known editions.

Describes an enum type.

Generated from protobuf message google.protobuf.EnumOptions

Describes a value within an enum.

Generated from protobuf message google.protobuf.EnumValueOptions

Generated from protobuf message google.protobuf.ExtensionRangeOptions

TODO Enums in C++ gencode (and potentially other languages) are not well scoped. This means that each of the feature enums below can clash with each other. The short names we've chosen maximize call-site readability, but leave us very open to this scenario. A future feature will be designed and implemented to handle this, hopefully before we ever hit a conflict here.

A compiled specification for the defaults of a set of features. These messages are generated from FeatureSet extensions and can be used to seed feature resolution. The resolution with this object becomes a simple search for the closest matching edition, followed by proto merges.

Describes a field within a message.

Generated from protobuf message google.protobuf.FieldOptions

Describes a complete .proto file.

The protocol compiler can output a FileDescriptorSet containing the .proto files it parses.

Generated from protobuf message google.protobuf.FileOptions

Describes the relationship between generated code and its original source file. A GeneratedCodeInfo message is associated with only one generated source file, but may contain references to different source .proto files.

MapField is used by generated protocol message classes to manipulate map fields. It can be used like native PHP array.

MapFieldIter is used to iterate MapField. It is also need for the foreach syntax.

Parent class of all proto messages. Users should not instantiate this class or extend this class or its child classes by their own. See the comment of specific functions for more details.

Generated from protobuf message google.protobuf.MessageOptions

Describes a method of a service.

Generated from protobuf message google.protobuf.MethodOptions

Describes a oneof.

Generated from protobuf message google.protobuf.OneofOptions

RepeatedField deprecated

This class is deprecated. Use Google\Protobuf\RepeatedField instead.

RepeatedFieldIter is used to iterate RepeatedField. It is also need for the foreach syntax.

Describes a service.

Generated from protobuf message google.protobuf.ServiceOptions

Encapsulates information about the original source file from which a FileDescriptorProto was generated.

Describes the 'visibility' of a symbol with respect to the proto import system. Symbols can only be imported when the visibility rules do not prevent it (ex: local symbols cannot be imported). Visibility modifiers can only set on message and enum as they are the only types available to be referenced from other files.

Base class for Google\Protobuf\Timestamp, this contains hand-written convenience methods.

A message representing a option the parser does not recognize. This only appears in options protos created by the compiler::Parser class.

Functions

camel2underscore($input)

No description

Exceptions