Field
import type { Field } from "https://googleapis.deno.dev/v1/monitoring:v3.ts";
A single field of a message type.
interface Field {
cardinality?:
| "CARDINALITY_UNKNOWN"
| "CARDINALITY_OPTIONAL"
| "CARDINALITY_REQUIRED"
| "CARDINALITY_REPEATED";
defaultValue?: string;
jsonName?: string;
kind?:
| "TYPE_UNKNOWN"
| "TYPE_DOUBLE"
| "TYPE_FLOAT"
| "TYPE_INT64"
| "TYPE_UINT64"
| "TYPE_INT32"
| "TYPE_FIXED64"
| "TYPE_FIXED32"
| "TYPE_BOOL"
| "TYPE_STRING"
| "TYPE_GROUP"
| "TYPE_MESSAGE"
| "TYPE_BYTES"
| "TYPE_UINT32"
| "TYPE_ENUM"
| "TYPE_SFIXED32"
| "TYPE_SFIXED64"
| "TYPE_SINT32"
| "TYPE_SINT64";
name?: string;
number?: number;
oneofIndex?: number;
options?: Option[];
packed?: boolean;
typeUrl?: string;
}§Properties
§
cardinality?: "CARDINALITY_UNKNOWN" | "CARDINALITY_OPTIONAL" | "CARDINALITY_REQUIRED" | "CARDINALITY_REPEATED"
[src]The field cardinality.
§
kind?: "TYPE_UNKNOWN" | "TYPE_DOUBLE" | "TYPE_FLOAT" | "TYPE_INT64" | "TYPE_UINT64" | "TYPE_INT32" | "TYPE_FIXED64" | "TYPE_FIXED32" | "TYPE_BOOL" | "TYPE_STRING" | "TYPE_GROUP" | "TYPE_MESSAGE" | "TYPE_BYTES" | "TYPE_UINT32" | "TYPE_ENUM" | "TYPE_SFIXED32" | "TYPE_SFIXED64" | "TYPE_SINT32" | "TYPE_SINT64"
[src]The field type.