Label.php 820 Bytes
Newer Older
1 2 3 4
<?php
# Generated by the protocol buffer compiler.  DO NOT EDIT!
# source: google/protobuf/descriptor.proto

5
namespace Google\Protobuf\Internal\FieldDescriptorProto;
6

7
/**
8
 * Protobuf type <code>google.protobuf.FieldDescriptorProto.Label</code>
9
 */
10
class Label
11 12 13 14
{
    /**
     * 0 is reserved for errors
     *
15
     * Generated from protobuf enum <code>LABEL_OPTIONAL = 1;</code>
16 17 18
     */
    const LABEL_OPTIONAL = 1;
    /**
19
     * Generated from protobuf enum <code>LABEL_REQUIRED = 2;</code>
20 21 22
     */
    const LABEL_REQUIRED = 2;
    /**
23
     * Generated from protobuf enum <code>LABEL_REPEATED = 3;</code>
24 25 26 27
     */
    const LABEL_REPEATED = 3;
}

28 29 30
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(Label::class, \Google\Protobuf\Internal\FieldDescriptorProto_Label::class);