cilroy.proto
path kilroy/cilroy/v1alpha/cilroy.proto
package kilroy.cilroy.v1alpha
Definitions for cilroy service.
Messages
GeneratePostsRequest
Request for GeneratePosts.
Name | Type | Description |
---|---|---|
quantity | uint64 | The quantity of posts to generate. |
GeneratePostsResponse
Response from GeneratePosts.
Name | Type | Description |
---|---|---|
content | string | The content of the posts as a JSON string. |
GetControllerConfigRequest
Request for GetControllerConfig.
Name | Type | Description |
---|
GetControllerConfigResponse
Response from GetControllerConfig.
Name | Type | Description |
---|---|---|
config | string | The controller config as a JSON string. |
GetControllerConfigSchemaRequest
Request for GetControllerConfigSchema.
Name | Type | Description |
---|
GetControllerConfigSchemaResponse
Response from GetControllerConfigSchema.
Name | Type | Description |
---|---|---|
schema | string | The schema of the controller config as a JSON string. |
GetControllerStatusRequest
Request for GetControllerStatus.
Name | Type | Description |
---|
GetControllerStatusResponse
Response from GetControllerStatus.
Name | Type | Description |
---|---|---|
status | Status | The status of the controller. |
GetFaceConfigRequest
Request for GetFaceConfig.
Name | Type | Description |
---|
GetFaceConfigResponse
Response from GetFaceConfig.
Name | Type | Description |
---|---|---|
config | string | The face config as a JSON string. |
GetFaceConfigSchemaRequest
Request for GetFaceConfigSchema.
Name | Type | Description |
---|
GetFaceConfigSchemaResponse
Response from GetFaceConfigSchema.
Name | Type | Description |
---|---|---|
schema | string | The schema of the face config as a JSON string. |
GetFaceMetadataRequest
Request for GetFaceMetadata.
Name | Type | Description |
---|
GetFaceMetadataResponse
Response from GetFaceMetadata.
Name | Type | Description |
---|---|---|
key | string | The key of the face. |
description | string | The description of the face. |
GetFacePostSchemaRequest
Request for GetFacePostSchema.
Name | Type | Description |
---|
GetFacePostSchemaResponse
Response from GetFacePostSchema.
Name | Type | Description |
---|---|---|
schema | string | The schema of a post as a JSON string. |
GetFaceStatusRequest
Request for GetFaceStatus.
Name | Type | Description |
---|
GetFaceStatusResponse
Response from GetFaceStatus.
Name | Type | Description |
---|---|---|
status | Status | The status of the face. |
GetFeedRequest
Request for GetFeed.
Name | Type | Description |
---|
GetFeedResponse
Response from GetFeed.
Name | Type | Description |
---|---|---|
id | string | The ID of the post. |
url | string | The URL of the post. |
content | string | The content of the post as a JSON string. |
created_at | string | The creation time of the post. |
GetModuleConfigRequest
Request for GetModuleConfig.
Name | Type | Description |
---|
GetModuleConfigResponse
Response from GetModuleConfig.
Name | Type | Description |
---|---|---|
config | string | The module config as a JSON string. |
GetModuleConfigSchemaRequest
Request for GetModuleConfigSchema.
Name | Type | Description |
---|
GetModuleConfigSchemaResponse
Response from GetModuleConfigSchema.
Name | Type | Description |
---|---|---|
schema | string | The schema of the module config as a JSON string. |
GetModuleMetadataRequest
Request for GetModuleMetadata.
Name | Type | Description |
---|
GetModuleMetadataResponse
Response from GetModuleMetadata.
Name | Type | Description |
---|---|---|
key | string | The key of the module. |
description | string | The description of the module. |
GetModuleMetricsConfigRequest
Request for GetModuleMetricsConfig.
Name | Type | Description |
---|
GetModuleMetricsConfigResponse
Response from GetModuleMetricsConfig.
Name | Type | Description |
---|---|---|
configs | MetricConfig | The metrics configs. |
GetModuleMetricsRequest
Request for GetModuleMetrics.
Name | Type | Description |
---|
GetModuleMetricsResponse
Response from GetModuleMetrics.
Name | Type | Description |
---|---|---|
metrics | MetricData | The metrics data. |
GetModulePostSchemaRequest
Request for GetModulePostSchema.
Name | Type | Description |
---|
GetModulePostSchemaResponse
Response from GetModulePostSchema.
Name | Type | Description |
---|---|---|
schema | string | The schema of a post as a JSON string. |
GetModuleStatusRequest
Request for GetModuleStatus.
Name | Type | Description |
---|
GetModuleStatusResponse
Response from GetModuleStatus.
Name | Type | Description |
---|---|---|
status | Status | The status of the module. |
GetTrainingStatusRequest
Request for GetTrainingStatus.
Name | Type | Description |
---|
GetTrainingStatusResponse
Response from GetTrainingStatus.
Name | Type | Description |
---|---|---|
status | TrainingStatus | The training status. |
MetricConfig
Metric configuration data.
Name | Type | Description |
---|---|---|
id | string | The ID of the metric. |
label | string | The label of the metric. |
config | string | The config of the metric as a JSON string. |
tags | string | The tags of the metric. |
MetricData
Metric data.
Name | Type | Description |
---|---|---|
metric_id | string | The ID of the metric. |
dataset_id | uint64 | The ID of the dataset. |
data | string | The data of the metric as a JSON string. |
ResetControllerRequest
Request for ResetController.
Name | Type | Description |
---|
ResetControllerResponse
Response from ResetController.
Name | Type | Description |
---|
ResetFaceRequest
Request for ResetFace.
Name | Type | Description |
---|
ResetFaceResponse
Response from ResetFace.
Name | Type | Description |
---|
ResetModuleRequest
Request for ResetModule.
Name | Type | Description |
---|
ResetModuleResponse
Response from ResetModule.
Name | Type | Description |
---|
SaveControllerRequest
Request for SaveController.
Name | Type | Description |
---|
SaveControllerResponse
Response from SaveController.
Name | Type | Description |
---|
SaveFaceRequest
Request for SaveFace.
Name | Type | Description |
---|
SaveFaceResponse
Response from SaveFace.
Name | Type | Description |
---|
SaveModuleRequest
Request for SaveModule.
Name | Type | Description |
---|
SaveModuleResponse
Response from SaveModule.
Name | Type | Description |
---|
SetControllerConfigRequest
Request for SetControllerConfig.
Name | Type | Description |
---|---|---|
config | string | The controller config as a JSON string. |
SetControllerConfigResponse
Response from SetControllerConfig.
Name | Type | Description |
---|---|---|
config | string | The controller config as a JSON string. |
SetFaceConfigRequest
Request for SetFaceConfig.
Name | Type | Description |
---|---|---|
config | string | The face config as a JSON string. |
SetFaceConfigResponse
Response from SetFaceConfig.
Name | Type | Description |
---|---|---|
config | string | The face config as a JSON string. |
SetModuleConfigRequest
Request for SetModuleConfig.
Name | Type | Description |
---|---|---|
config | string | The module config as a JSON string. |
SetModuleConfigResponse
Response from SetModuleConfig.
Name | Type | Description |
---|---|---|
config | string | The module config as a JSON string. |
StopTrainingRequest
Request for StopTraining.
Name | Type | Description |
---|
StopTrainingResponse
Response from StopTraining.
Name | Type | Description |
---|
TrainOfflineRequest
Request for TrainOffline.
Name | Type | Description |
---|
TrainOfflineResponse
Response from TrainOffline.
Name | Type | Description |
---|
TrainOnlineRequest
Request for TrainOnline.
Name | Type | Description |
---|
TrainOnlineResponse
Response from TrainOnline.
Name | Type | Description |
---|
WatchAllRequest
Request for WatchAll.
Name | Type | Description |
---|
WatchAllResponse
Response from WatchAll.
Name | Type | Description |
---|---|---|
method | string | The method that the message is from. |
message | string | The message as a JSON string. |
WatchControllerConfigRequest
Request for WatchControllerConfig.
Name | Type | Description |
---|
WatchControllerConfigResponse
Response from WatchControllerConfig.
Name | Type | Description |
---|---|---|
config | string | The controller config as a JSON string. |
WatchControllerStatusRequest
Request for WatchControllerStatus.
Name | Type | Description |
---|
WatchControllerStatusResponse
Response from WatchControllerStatus.
Name | Type | Description |
---|---|---|
status | Status | The status of the controller. |
WatchFaceConfigRequest
Request for WatchFaceConfig.
Name | Type | Description |
---|
WatchFaceConfigResponse
Response from WatchFaceConfig.
Name | Type | Description |
---|---|---|
config | string | The face config as a JSON string. |
WatchFaceStatusRequest
Request for WatchFaceStatus.
Name | Type | Description |
---|
WatchFaceStatusResponse
Response from WatchFaceStatus.
Name | Type | Description |
---|---|---|
status | Status | The status of the face. |
WatchFeedRequest
Request for WatchFeed.
Name | Type | Description |
---|
WatchFeedResponse
Response from WatchFeed.
Name | Type | Description |
---|---|---|
id | string | The ID of the post. |
url | string | The URL of the post. |
content | string | The content of the post as a JSON string. |
created_at | string | The creation time of the post. |
WatchModuleConfigRequest
Request for WatchModuleConfig.
Name | Type | Description |
---|
WatchModuleConfigResponse
Response from WatchModuleConfig.
Name | Type | Description |
---|---|---|
config | string | The module config as a JSON string. |
WatchModuleMetricsRequest
Request for WatchModuleMetrics.
Name | Type | Description |
---|
WatchModuleMetricsResponse
Response from WatchModuleMetrics.
Name | Type | Description |
---|---|---|
metric | MetricData | The metric data. |
WatchModuleStatusRequest
Request for WatchModuleStatus.
Name | Type | Description |
---|
WatchModuleStatusResponse
Response from WatchModuleStatus.
Name | Type | Description |
---|---|---|
status | Status | The status of the module. |
WatchTrainingStatusRequest
Request for WatchTrainingStatus.
Name | Type | Description |
---|
WatchTrainingStatusResponse
Response from WatchTrainingStatus.
Name | Type | Description |
---|---|---|
status | TrainingStatus | The training status. |
Enums
Status
Possible service statuses.
Name | Number | Description |
---|---|---|
STATUS_UNSPECIFIED | 0 | Unspecified status. |
STATUS_LOADING | 1 | The service is loading. |
STATUS_READY | 2 | The service is ready. |
TrainingStatus
Possible training statuses.
Name | Number | Description |
---|---|---|
TRAINING_STATUS_UNSPECIFIED | 0 | Unspecified training status. |
TRAINING_STATUS_IDLE | 1 | The training is idle. |
TRAINING_STATUS_OFFLINE | 2 | The training is in offline mode. |
TRAINING_STATUS_ONLINE | 3 | The training is in online mode. |
Services
CilroyService
Cilroy service.
GetFaceMetadata
Method | GetFaceMetadata |
---|---|
Request | GetFaceMetadataRequest |
Response | GetFaceMetadataResponse |
Description | Returns the metadata of the face. |
GetModuleMetadata
Method | GetModuleMetadata |
---|---|
Request | GetModuleMetadataRequest |
Response | GetModuleMetadataResponse |
Description | Returns the metadata of the module. |
GetFacePostSchema
Method | GetFacePostSchema |
---|---|
Request | GetFacePostSchemaRequest |
Response | GetFacePostSchemaResponse |
Description | Returns the schema of a post as reported by the face. |
GetModulePostSchema
Method | GetModulePostSchema |
---|---|
Request | GetModulePostSchemaRequest |
Response | GetModulePostSchemaResponse |
Description | Returns the schema of a post as reported by the module. |
GetControllerStatus
Method | GetControllerStatus |
---|---|
Request | GetControllerStatusRequest |
Response | GetControllerStatusResponse |
Description | Returns the status of the controller. |
WatchControllerStatus
Method | WatchControllerStatus |
---|---|
Request | WatchControllerStatusRequest |
Response | WatchControllerStatusResponse stream |
Description | Returns an infinite stream of controller status updates. |
GetFaceStatus
Method | GetFaceStatus |
---|---|
Request | GetFaceStatusRequest |
Response | GetFaceStatusResponse |
Description | Returns the status of the face. |
WatchFaceStatus
Method | WatchFaceStatus |
---|---|
Request | WatchFaceStatusRequest |
Response | WatchFaceStatusResponse stream |
Description | Returns an infinite stream of face status updates. |
GetModuleStatus
Method | GetModuleStatus |
---|---|
Request | GetModuleStatusRequest |
Response | GetModuleStatusResponse |
Description | Returns the status of the module. |
WatchModuleStatus
Method | WatchModuleStatus |
---|---|
Request | WatchModuleStatusRequest |
Response | WatchModuleStatusResponse stream |
Description | Returns an infinite stream of module status updates. |
GetTrainingStatus
Method | GetTrainingStatus |
---|---|
Request | GetTrainingStatusRequest |
Response | GetTrainingStatusResponse |
Description | Returns the training status. |
WatchTrainingStatus
Method | WatchTrainingStatus |
---|---|
Request | WatchTrainingStatusRequest |
Response | WatchTrainingStatusResponse stream |
Description | Returns an infinite stream of training status updates. |
GetControllerConfigSchema
Method | GetControllerConfigSchema |
---|---|
Request | GetControllerConfigSchemaRequest |
Response | GetControllerConfigSchemaResponse |
Description | Returns the schema of the controller config. |
GetControllerConfig
Method | GetControllerConfig |
---|---|
Request | GetControllerConfigRequest |
Response | GetControllerConfigResponse |
Description | Returns the config of the controller. |
WatchControllerConfig
Method | WatchControllerConfig |
---|---|
Request | WatchControllerConfigRequest |
Response | WatchControllerConfigResponse stream |
Description | Returns an infinite stream of controller config updates. |
SetControllerConfig
Method | SetControllerConfig |
---|---|
Request | SetControllerConfigRequest |
Response | SetControllerConfigResponse |
Description | Sets the config of the controller. |
GetFaceConfigSchema
Method | GetFaceConfigSchema |
---|---|
Request | GetFaceConfigSchemaRequest |
Response | GetFaceConfigSchemaResponse |
Description | Returns the schema of the face config. |
GetFaceConfig
Method | GetFaceConfig |
---|---|
Request | GetFaceConfigRequest |
Response | GetFaceConfigResponse |
Description | Returns the config of the face. |
WatchFaceConfig
Method | WatchFaceConfig |
---|---|
Request | WatchFaceConfigRequest |
Response | WatchFaceConfigResponse stream |
Description | Returns an infinite stream of face config updates. |
SetFaceConfig
Method | SetFaceConfig |
---|---|
Request | SetFaceConfigRequest |
Response | SetFaceConfigResponse |
Description | Sets the config of the face. |
GetModuleConfigSchema
Method | GetModuleConfigSchema |
---|---|
Request | GetModuleConfigSchemaRequest |
Response | GetModuleConfigSchemaResponse |
Description | Returns the schema of the module config. |
GetModuleConfig
Method | GetModuleConfig |
---|---|
Request | GetModuleConfigRequest |
Response | GetModuleConfigResponse |
Description | Returns the config of the module. |
WatchModuleConfig
Method | WatchModuleConfig |
---|---|
Request | WatchModuleConfigRequest |
Response | WatchModuleConfigResponse stream |
Description | Returns an infinite stream of module config updates. |
SetModuleConfig
Method | SetModuleConfig |
---|---|
Request | SetModuleConfigRequest |
Response | SetModuleConfigResponse |
Description | Sets the config of the module. |
TrainOffline
Method | TrainOffline |
---|---|
Request | TrainOfflineRequest |
Response | TrainOfflineResponse |
Description | Starts offline training. |
TrainOnline
Method | TrainOnline |
---|---|
Request | TrainOnlineRequest |
Response | TrainOnlineResponse |
Description | Starts online training. |
StopTraining
Method | StopTraining |
---|---|
Request | StopTrainingRequest |
Response | StopTrainingResponse |
Description | Stops training. |
GetModuleMetricsConfig
Method | GetModuleMetricsConfig |
---|---|
Request | GetModuleMetricsConfigRequest |
Response | GetModuleMetricsConfigResponse |
Description | Returns the configuration of the module metrics. |
GetModuleMetrics
Method | GetModuleMetrics |
---|---|
Request | GetModuleMetricsRequest |
Response | GetModuleMetricsResponse |
Description | Returns the module metrics data. |
WatchModuleMetrics
Method | WatchModuleMetrics |
---|---|
Request | WatchModuleMetricsRequest |
Response | WatchModuleMetricsResponse stream |
Description | Returns an infinite stream of module metrics data updates. |
WatchAll
Method | WatchAll |
---|---|
Request | WatchAllRequest |
Response | WatchAllResponse stream |
Description | Returns an infinite stream of all messages. |
ResetController
Method | ResetController |
---|---|
Request | ResetControllerRequest |
Response | ResetControllerResponse |
Description | Resets the controller. |
ResetFace
Method | ResetFace |
---|---|
Request | ResetFaceRequest |
Response | ResetFaceResponse |
Description | Resets the face. |
ResetModule
Method | ResetModule |
---|---|
Request | ResetModuleRequest |
Response | ResetModuleResponse |
Description | Resets the module. |
SaveController
Method | SaveController |
---|---|
Request | SaveControllerRequest |
Response | SaveControllerResponse |
Description | Saves the controller. |
SaveFace
Method | SaveFace |
---|---|
Request | SaveFaceRequest |
Response | SaveFaceResponse |
Description | Saves the face. |
SaveModule
Method | SaveModule |
---|---|
Request | SaveModuleRequest |
Response | SaveModuleResponse |
Description | Saves the module. |
GetFeed
Method | GetFeed |
---|---|
Request | GetFeedRequest |
Response | GetFeedResponse stream |
Description | Returns the feed. |
WatchFeed
Method | WatchFeed |
---|---|
Request | WatchFeedRequest |
Response | WatchFeedResponse stream |
Description | Returns an infinite stream of feed updates. |
GeneratePosts
Method | GeneratePosts |
---|---|
Request | GeneratePostsRequest |
Response | GeneratePostsResponse stream |
Description | Generates posts without any side effects. |