Skip to main content

protos/common.proto

AbstractDeployment

FieldTypeLabelDescription
deployment_keystring
registry_connector_classstring
server_proxy_classstring
registry_connector_init_kwargsAbstractDeployment.RegistryConnectorInitKwargsEntryrepeated
server_proxy_init_kwargsAbstractDeployment.ServerProxyInitKwargsEntryrepeated

AbstractDeployment.RegistryConnectorInitKwargsEntry

FieldTypeLabelDescription
keystring
valuestring

AbstractDeployment.ServerProxyInitKwargsEntry

FieldTypeLabelDescription
keystring
valuestring

CustomEmpty

DeleteEntitiesResponse

FieldTypeLabelDescription
idsstringrepeated

Deployment

FieldTypeLabelDescription
deployment_keystring
registry_connector_classstring
server_proxy_classstring
registry_connector_init_kwargsstringa JSON string containing an arbitrary JSON object
server_proxy_init_kwargsstringa JSON string containing an arbitrary JSON object
workspacestring

ExtendedTangoModelMetadata

FieldTypeLabelDescription
model_codestring
namestring
descriptionstring
versionstring
attrsTangoModelMetadataAttributes
otherbytesoptionala byte array containing an arbitrary JSON object converted to string and encoded in UTF-8
workspacestring

Invocation

FieldTypeLabelDescription
idstring
orderint32
typeInvocationType
requestTangoRequest
statusStatusType
responseTangoResponse
model_keyModelKeyoptional

ModelKey

FieldTypeLabelDescription
model_codestring
model_versionstring

TangoModelMetadata

FieldTypeLabelDescription
model_codestring
namestring
descriptionstring
versionstring
attrsTangoModelMetadataAttributes
workspacestring

TangoModelMetadataAttributes

FieldTypeLabelDescription
realtime_executionbool
allow_downloadbool
need_contextbool

TangoModelRegistryConnector

TangoRequest

FieldTypeLabelDescription
session_idstring
request_typeRequestType
bodystringa string containing an arbitrary JSON object representation

TangoResponse

FieldTypeLabelDescription
bodystringa string containing an arbitrary JSON object representation

WorkingSession

FieldTypeLabelDescription
idstring
user_idstring
model_keyModelKey
workspacestring

InvocationType

NameNumberDescription
PREDICT0
EXPLAIN1

RequestType

Keep them synchronized with tango-interfaces corresponding enum

NameNumberDescription
FEATURES0
PROMPT1
FEEDBACK2
OTHER3

StatusType

Keep them synchronized with tango-interfaces corresponding enum

NameNumberDescription
QUEUED0
IN_PROGRESS1
COMPLETED2
ERROR3

Scalar Value Types

.proto TypeNotesC++JavaPythonGoC#PHPRuby
doubledoubledoublefloatfloat64doublefloatFloat
floatfloatfloatfloatfloat32floatfloatFloat
int32Uses variable-length encoding. Inefficient for encoding negative numbers – if your field is likely to have negative values, use sint32 instead.int32intintint32intintegerBignum or Fixnum (as required)
int64Uses variable-length encoding. Inefficient for encoding negative numbers – if your field is likely to have negative values, use sint64 instead.int64longint/longint64longinteger/stringBignum
uint32Uses variable-length encoding.uint32intint/longuint32uintintegerBignum or Fixnum (as required)
uint64Uses variable-length encoding.uint64longint/longuint64ulonginteger/stringBignum or Fixnum (as required)
sint32Uses variable-length encoding. Signed int value. These more efficiently encode negative numbers than regular int32s.int32intintint32intintegerBignum or Fixnum (as required)
sint64Uses variable-length encoding. Signed int value. These more efficiently encode negative numbers than regular int64s.int64longint/longint64longinteger/stringBignum
fixed32Always four bytes. More efficient than uint32 if values are often greater than 2^28.uint32intintuint32uintintegerBignum or Fixnum (as required)
fixed64Always eight bytes. More efficient than uint64 if values are often greater than 2^56.uint64longint/longuint64ulonginteger/stringBignum
sfixed32Always four bytes.int32intintint32intintegerBignum or Fixnum (as required)
sfixed64Always eight bytes.int64longint/longint64longinteger/stringBignum
boolboolbooleanbooleanboolboolbooleanTrueClass/FalseClass
stringA string must always contain UTF-8 encoded or 7-bit ASCII text.stringStringstr/unicodestringstringstringString (UTF-8)
bytesMay contain any arbitrary sequence of bytes.stringByteStringstr[]byteByteStringstringString (ASCII-8BIT)