FieldInfo_Format class final
The standard format of a field value. The supported formats are all backed by either an RFC defined by the IETF or a Google-defined AIP.
- Inheritance
-
- Object
- ProtoEnum
- FieldInfo_Format
Constructors
- FieldInfo_Format(String value)
-
const
- FieldInfo_Format.fromJson(Object? json)
-
factory
Properties
- hashCode → int
-
The hash code for this object.
no setterinherited
- isNotDefault → bool
-
no setter
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- value → String
-
finalinherited
Methods
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toJson(
) → String -
inherited
-
toString(
) → String -
A string representation of this object.
override
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited
Constants
- $default → const FieldInfo_Format
- The default value for FieldInfo_Format.
- formatUnspecified → const FieldInfo_Format
- Default, unspecified value.
- ipv4 → const FieldInfo_Format
-
Internet Protocol v4 value as defined by RFC
791. The value may be
condensed, with leading zeros in each octet stripped. For example,
001.022.233.040would be condensed to1.22.233.40. - ipv4OrIpv6 → const FieldInfo_Format
- An IP address in either v4 or v6 format as described by the individual values defined herein. See the comments on the IPV4 and IPV6 types for allowed normalizations of each.
- ipv6 → const FieldInfo_Format
-
Internet Protocol v6 value as defined by RFC
2460. The value may be
normalized to entirely lowercase letters with zeros compressed, following
RFC 5952. For example,
the value
2001:0DB8:0::0would be normalized to2001:db8::. - uuid4 → const FieldInfo_Format
-
Universally Unique Identifier, version 4, value as defined by
https://datatracker.ietf.org/doc/html/rfc4122. The value may be
normalized to entirely lowercase letters. For example, the value
F47AC10B-58CC-0372-8567-0E02B2C3D479would be normalized tof47ac10b-58cc-0372-8567-0e02b2c3d479.