#[non_exhaustive]pub enum Kind {
Show 20 variants
TypeUnknown,
TypeDouble,
TypeFloat,
TypeInt64,
TypeUint64,
TypeInt32,
TypeFixed64,
TypeFixed32,
TypeBool,
TypeString,
TypeGroup,
TypeMessage,
TypeBytes,
TypeUint32,
TypeEnum,
TypeSfixed32,
TypeSfixed64,
TypeSint32,
TypeSint64,
UnknownValue(UnknownValue),
}Expand description
Basic field types.
§Working with unknown values
This enum is defined as #[non_exhaustive] because Google Cloud may add
additional enum variants at any time. Adding new variants is not considered
a breaking change. Applications should write their code in anticipation of:
- New values appearing in future releases of the client library, and
- New values received dynamically, without application changes.
Please consult the Working with enums section in the user guide for some guidelines.
Variants (Non-exhaustive)§
This enum is marked as non-exhaustive
TypeUnknown
Field type unknown.
TypeDouble
Field type double.
TypeFloat
Field type float.
TypeInt64
Field type int64.
TypeUint64
Field type uint64.
TypeInt32
Field type int32.
TypeFixed64
Field type fixed64.
TypeFixed32
Field type fixed32.
TypeBool
Field type bool.
TypeString
Field type string.
TypeGroup
Field type group. Proto2 syntax only, and deprecated.
TypeMessage
Field type message.
TypeBytes
Field type bytes.
TypeUint32
Field type uint32.
TypeEnum
Field type enum.
TypeSfixed32
Field type sfixed32.
TypeSfixed64
Field type sfixed64.
TypeSint32
Field type sint32.
TypeSint64
Field type sint64.
UnknownValue(UnknownValue)
If set, the enum was initialized with an unknown value.
Applications can examine the value using Kind::value or Kind::name.