Kind.php 3.06 KB
Newer Older
1 2
<?php
# Generated by the protocol buffer compiler.  DO NOT EDIT!
3
# source: google/protobuf/type.proto
4

5
namespace Google\Protobuf\Field;
6

7
/**
8 9 10
 * Basic field types.
 *
 * Protobuf type <code>google.protobuf.Field.Kind</code>
11
 */
12
class Kind
13 14
{
    /**
15 16 17 18 19 20 21
     * Field type unknown.
     *
     * Generated from protobuf enum <code>TYPE_UNKNOWN = 0;</code>
     */
    const TYPE_UNKNOWN = 0;
    /**
     * Field type double.
22
     *
23
     * Generated from protobuf enum <code>TYPE_DOUBLE = 1;</code>
24 25 26
     */
    const TYPE_DOUBLE = 1;
    /**
27 28
     * Field type float.
     *
29
     * Generated from protobuf enum <code>TYPE_FLOAT = 2;</code>
30 31 32
     */
    const TYPE_FLOAT = 2;
    /**
33
     * Field type int64.
34
     *
35
     * Generated from protobuf enum <code>TYPE_INT64 = 3;</code>
36 37 38
     */
    const TYPE_INT64 = 3;
    /**
39 40
     * Field type uint64.
     *
41
     * Generated from protobuf enum <code>TYPE_UINT64 = 4;</code>
42 43 44
     */
    const TYPE_UINT64 = 4;
    /**
45
     * Field type int32.
46
     *
47
     * Generated from protobuf enum <code>TYPE_INT32 = 5;</code>
48 49 50
     */
    const TYPE_INT32 = 5;
    /**
51 52
     * Field type fixed64.
     *
53
     * Generated from protobuf enum <code>TYPE_FIXED64 = 6;</code>
54 55 56
     */
    const TYPE_FIXED64 = 6;
    /**
57 58
     * Field type fixed32.
     *
59
     * Generated from protobuf enum <code>TYPE_FIXED32 = 7;</code>
60 61 62
     */
    const TYPE_FIXED32 = 7;
    /**
63 64
     * Field type bool.
     *
65
     * Generated from protobuf enum <code>TYPE_BOOL = 8;</code>
66 67 68
     */
    const TYPE_BOOL = 8;
    /**
69 70
     * Field type string.
     *
71
     * Generated from protobuf enum <code>TYPE_STRING = 9;</code>
72 73 74
     */
    const TYPE_STRING = 9;
    /**
75
     * Field type group. Proto2 syntax only, and deprecated.
76
     *
77
     * Generated from protobuf enum <code>TYPE_GROUP = 10;</code>
78 79 80
     */
    const TYPE_GROUP = 10;
    /**
81
     * Field type message.
82
     *
83
     * Generated from protobuf enum <code>TYPE_MESSAGE = 11;</code>
84 85 86
     */
    const TYPE_MESSAGE = 11;
    /**
87
     * Field type bytes.
88
     *
89
     * Generated from protobuf enum <code>TYPE_BYTES = 12;</code>
90 91 92
     */
    const TYPE_BYTES = 12;
    /**
93 94
     * Field type uint32.
     *
95
     * Generated from protobuf enum <code>TYPE_UINT32 = 13;</code>
96 97 98
     */
    const TYPE_UINT32 = 13;
    /**
99 100
     * Field type enum.
     *
101
     * Generated from protobuf enum <code>TYPE_ENUM = 14;</code>
102 103 104
     */
    const TYPE_ENUM = 14;
    /**
105 106
     * Field type sfixed32.
     *
107
     * Generated from protobuf enum <code>TYPE_SFIXED32 = 15;</code>
108 109 110
     */
    const TYPE_SFIXED32 = 15;
    /**
111 112
     * Field type sfixed64.
     *
113
     * Generated from protobuf enum <code>TYPE_SFIXED64 = 16;</code>
114 115 116
     */
    const TYPE_SFIXED64 = 16;
    /**
117
     * Field type sint32.
118
     *
119
     * Generated from protobuf enum <code>TYPE_SINT32 = 17;</code>
120 121 122
     */
    const TYPE_SINT32 = 17;
    /**
123
     * Field type sint64.
124
     *
125
     * Generated from protobuf enum <code>TYPE_SINT64 = 18;</code>
126 127 128 129
     */
    const TYPE_SINT64 = 18;
}

130 131 132
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(Kind::class, \Google\Protobuf\Field_Kind::class);