Reference documentation and code samples for the proto library Client class Label.
Protobuf type google.protobuf.FieldDescriptorProto.Label
Namespace
Google \ Protobuf \ Internal \ FieldDescriptorProtoMethods
static::name
| Parameter | |
|---|---|
| Name | Description |
value |
mixed
|
static::value
| Parameter | |
|---|---|
| Name | Description |
name |
mixed
|
Constants
LABEL_OPTIONAL
Value: 10 is reserved for errors
Generated from protobuf enum LABEL_OPTIONAL = 1;
LABEL_REPEATED
Value: 3Generated from protobuf enum LABEL_REPEATED = 3;
LABEL_REQUIRED
Value: 2The required label is only allowed in google.protobuf. In proto3 and Editions
it's explicitly prohibited. In Editions, the field_presence feature
can be used to get this behavior.
Generated from protobuf enum LABEL_REQUIRED = 2;