proto library Client - Class Semantic (v5.36.2)

Reference documentation and code samples for the proto library Client class Semantic.

Represents the identified object's effect on the element in the original .proto file.

Protobuf type google.protobuf.GeneratedCodeInfo.Annotation.Semantic

Namespace

Google \ Protobuf \ Internal \ GeneratedCodeInfo \ Annotation

Methods

static::name

Parameter
Name Description
value mixed

static::value

Parameter
Name Description
name mixed

Constants

NONE

Value: 0

There is no effect or the effect is indescribable.

Generated from protobuf enum NONE = 0;

SET

Value: 1

The element is set or otherwise mutated.

Generated from protobuf enum SET = 1;

ALIAS

Value: 2

An alias to the element is returned.

Generated from protobuf enum ALIAS = 2;