google_api_monitoring v0.2.0 GoogleApi.Monitoring.V3.Model.Field View Source

A single field of a message type.

Attributes

  • cardinality (String.t): The field cardinality. Defaults to: null.

    • Enum - one of [CARDINALITY_UNKNOWN, CARDINALITY_OPTIONAL, CARDINALITY_REQUIRED, CARDINALITY_REPEATED]
  • defaultValue (String.t): The string value of the default value of this field. Proto2 syntax only. Defaults to: null.
  • jsonName (String.t): The field JSON name. Defaults to: null.
  • kind (String.t): The field type. Defaults to: null.

    • Enum - one of [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.t): The field name. Defaults to: null.
  • number (integer()): The field number. Defaults to: null.
  • oneofIndex (integer()): The index of the field type in Type.oneofs, for message or enumeration types. The first type has index 1; zero means the type is not in the list. Defaults to: null.
  • options ([Option]): The protocol buffer options. Defaults to: null.
  • packed (boolean()): Whether to use alternative packed wire representation. Defaults to: null.
  • typeUrl (String.t): The field type URL, without the scheme, for message or enumeration types. Example: "type.googleapis.com/google.protobuf.Timestamp". Defaults to: null.

Link to this section Summary

Functions

Unwrap a decoded JSON object into its complex fields

Link to this section Types

Link to this type t() View Source
t() :: %GoogleApi.Monitoring.V3.Model.Field{
  cardinality: any(),
  defaultValue: any(),
  jsonName: any(),
  kind: any(),
  name: any(),
  number: any(),
  oneofIndex: any(),
  options: [GoogleApi.Monitoring.V3.Model.Option.t()],
  packed: any(),
  typeUrl: any()
}

Link to this section Functions

Link to this function decode(value, options) View Source
decode(struct(), keyword()) :: struct()

Unwrap a decoded JSON object into its complex fields.