class Label (View source)

Protobuf type google.protobuf.FieldDescriptorProto.Label

Constants

LABEL_OPTIONAL

0 is reserved for errors

Generated from protobuf enum LABEL_OPTIONAL = 1;

LABEL_REPEATED

Generated from protobuf enum LABEL_REPEATED = 3;

LABEL_REQUIRED

The 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;

Methods

static 
name($value)

No description

static 
value($name)

No description

Details

static name($value)

No description

Parameters

$value

static value($name)

No description

Parameters

$name