FieldType
FieldType represents a field’s type value and whether that field supports presence detection.
Constructors
Section titled “Constructors”Constructor
Section titled “Constructor”new FieldType(
type,isSet,getFrom,isJSONField?):FieldType
Parameters
Section titled “Parameters”Type
Type of the field as a protobuf type value.
IsSet indicates whether the field is set on an input object.
getFrom
Section titled “getFrom”GetFrom retrieves the field value on the input object, if set.
isJSONField?
Section titled “isJSONField?”boolean = false
IsJSONField indicates that the field was accessed via its JSON name.
Returns
Section titled “Returns”FieldType
Properties
Section titled “Properties”getFrom
Section titled “getFrom”
readonlygetFrom:FieldGetter
GetFrom retrieves the field value on the input object, if set.
isJSONField
Section titled “isJSONField”
readonlyisJSONField:boolean=false
IsJSONField indicates that the field was accessed via its JSON name.
readonlyisSet:RefFieldTester
IsSet indicates whether the field is set on an input object.
readonlytype:Type
Type of the field as a protobuf type value.