jina.types.mixin

class jina.types.mixin.ProtoTypeMixin[source]

Bases: object

Mixin class of ProtoType.

json()[source]

Return the object in JSON string

Return type

str

dict()[source]

Return the object in Python dictionary

Return type

Dict

property proto

Return the underlying Protobuf object

Return type

GeneratedProtocolMessageType