google_api_service_user v0.0.1 GoogleApi.ServiceUser.V1.Model.Field View Source

A single field of a message type.

Attributes

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

    • Enum - one of [CARDINALITY_UNKNOWN, CARDINALITY_OPTIONAL, CARDINALITY_REQUIRED, CARDINALITY_REPEATED]
  • defaultValue (String): The string value of the default value of this field. Proto2 syntax only. Defaults to: null.
  • jsonName (String): The field JSON name. Defaults to: null.
  • kind (String): 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): 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 (List[Option]): The protocol buffer options. Defaults to: null.
  • packed (Boolean): Whether to use alternative packed wire representation. Defaults to: null.
  • typeUrl (String): The field type URL, without the scheme, for message or enumeration types. Example: `"type.googleapis.com/google.protobuf.Timestamp"`. Defaults to: null.