Reference documentation and code samples for the Google API Common Protos Client class FieldInfo.
Rich semantic information of an API field beyond basic typing.
Generated from protobuf message google.api.FieldInfo
Namespace
Google \ ApiMethods
__construct
Constructor.
data
array
Optional. Data for populating the Message object.
↳ format
int
The standard format of a field value. This does not explicitly configure any API consumer, just documents the API's format for the field it is applied to.
↳ referenced_types
array< TypeReference
>
The type(s) that the annotated, generic field may represent. Currently, this must only be used on fields of type google.protobuf.Any
. Supporting other generic types may be considered in the future.
getFormat
The standard format of a field value. This does not explicitly configure any API consumer, just documents the API's format for the field it is applied to.
int
setFormat
The standard format of a field value. This does not explicitly configure any API consumer, just documents the API's format for the field it is applied to.
var
int
$this
getReferencedTypes
The type(s) that the annotated, generic field may represent.
Currently, this must only be used on fields of type google.protobuf.Any
.
Supporting other generic types may be considered in the future.
setReferencedTypes
The type(s) that the annotated, generic field may represent.
Currently, this must only be used on fields of type google.protobuf.Any
.
Supporting other generic types may be considered in the future.
$this