Liking cljdoc? Tell your friends :D

Protocol Documentation

Table of Contents

Top

analysis_record.proto

Analysis

An analysis in the system.

An analysis is an app that was run by a user.

FieldTypeLabelDescription
idstring The UUID for the analysis
descriptionstring The description of the analysis provided by the user.
namestring The name of the analysis provided by the user.
appapps.App App information about the analysis.
app_versionapps.AppVersion App version information for the analysis.
kindAnalysisType The analysis type, which tells which environment to run the analysis in.
result_folder_pathstring The path to the folder containing analysis outputs.
start_dategoogle.protobuf.Timestamp The date the analysis was submitted.
end_dategoogle.protobuf.Timestamp The date the analyses finished.
planned_end_dategoogle.protobuf.Timestamp The date the analysis was scheduled to end.
statusstring The status of the analysis
deletedbool Whether the analysis was deleted.
notifybool Whether notifications should be emitted on status changes.
useruser.User The user that submitted the analysis.
subdomainstring The subdomain assigned to the analysis for VICE.
parent_idstring The UUID of the analysis that spawned this analysis. Used for batch analyses.
millicores_reserveddouble The number of millicores reserved for the analysis.

AnalysisType

Corresponds to the job_types table in the database.

FieldTypeLabelDescription
idstring The UUID for the analysis type.
namestring The name of the analysis type.
system_idstring The kind of system the analysis should run on.

BatchStatus

FieldTypeLabelDescription
totalint64
completedint64
runningint64
submittedint64

Top

analysis_requests.proto

AnalysisRecordList

FieldTypeLabelDescription
headerheader.Header
analysesAnalysisrepeated
errorsvcerror.ServiceError

AnalysisRecordLookupRequest

FieldTypeLabelDescription
analysis_idstring
external_idstring
user_idstring
usernamestring
headerheader.Header
requesting_userstring

AnalysisRecordResponse

FieldTypeLabelDescription
headerheader.Header
analysesAnalysisrepeated
timestampstring
totalint64
status_countAnalysisRecordResponse.StatusCountRecordrepeated
errorsvcerror.ServiceError

AnalysisRecordResponse.StatusCountRecord

FieldTypeLabelDescription
countint64
statusstring

Top

analysis_status.proto

AnalysisStatus

FieldTypeLabelDescription
headerheader.Header
errorsvcerror.ServiceError
jobAnalysisSubmission
versionint32
statestring
messagestring
sent_onstring
senderstring

Top

analysis_submission.proto

AnalysisSubmission

FieldTypeLabelDescription
app_descriptionstring
app_idstring
app_namestring
archive_logsbool
batch_idstring
condor_idstring
condor_log_pathstring
create_output_subdirbool
date_submittedgoogle.protobuf.Timestamp
date_startedgoogle.protobuf.Timestamp
date_completedgoogle.protobuf.Timestamp
descriptionstring
emailstring
extraExtra read all about it
execution_targetstring
exit_codeint32
failure_countint64
failure_thresholdint64
file_metadataFileMetadatarepeatedThe - is used instead of _ for backwards compatibility.
filter_filesstringrepeated
groupstring
input_path_list_filestring
input_tickets_filestring
invocation_idstring AKA the external ID.
irods_basestring
namestring
nfs_basestring
notifybool
now_datestring
output_dirstring
output_dir_ticketstring
output_ticket_filestring
request_typestring
run_on_nfsbool The - is on purpose.
skip_parent_metadatabool The - is on purpose.
stepsSteprepeated
submission_datestring
submitterstring Yup, the JSON name is completely different from the field name.
typestring
user_idstring
user_groupsstringrepeated
user_homestring
wiki_urlstring
config_filestring

Extra

FieldTypeLabelDescription
ht_condorHTCondorExtraInfo

FileMetadata

FieldTypeLabelDescription
attributestring
valuestring
unitstring

HTCondorExtraInfo

FieldTypeLabelDescription
extra_requirementsstring

Job

Since protocol buffers don't have a way to alias messages, we're copying the Analysis definition into Job and deprecating it.

FieldTypeLabelDescription
app_descriptionstring
app_idstring
app_namestring
archive_logsbool
batch_idstring
condor_idstring
condor_log_pathstring
create_output_subdirbool
date_submittedgoogle.protobuf.Timestamp
date_startedgoogle.protobuf.Timestamp
date_completedgoogle.protobuf.Timestamp
descriptionstring
emailstring
extraExtra read all about it
execution_targetstring
exit_codeint32
failure_countint64
failure_thresholdint64
file_metadataFileMetadatarepeatedThe - is used instead of _ for backwards compatibility.
filter_filesstringrepeated
groupstring
input_path_list_filestring
input_tickets_filestring
invocation_idstring AKA the external ID.
irods_basestring
namestring
nfs_basestring
notifybool
now_datestring
output_dirstring
output_dir_ticketstring
output_ticket_filestring
request_typestring
run_on_nfsbool The - is on purpose.
skip_parent_metadatabool The - is on purpose.
stepsSteprepeated
submission_datestring
submitterstring Yup, the JSON name is completely different from the field name.
typestring
user_idstring
user_groupsstringrepeated
user_homestring
wiki_urlstring
config_filestring

Step

FieldTypeLabelDescription
componentStep.Component
configStep.Config
typestring
stdin_pathstring
stdout_pathstring
stderr_pathstring
log_filestring
environmentStep.EnvironmentEntryrepeated
inputStep.InputrepeatedIt's really annoying, but this is singular for backwards compatibility.
outputStep.OutputrepeatedIt's really annoying, but this is singular for backwards compatibility.

Step.Component

FieldTypeLabelDescription
containercontainers.Container
typestring
namestring
locationstring
descriptionstring
time_limitint32
restrictedbool
is_interactivebool

Step.Config

FieldTypeLabelDescription
paramsStep.Paramrepeated
inputsStep.InputrepeatedKeep it singular in the JSON for backwards-compatibility.
outputsStep.OutputrepeatedKeep it singular in the JSON for backwards-compatibility.

Step.EnvironmentEntry

FieldTypeLabelDescription
keystring
valuestring

Step.Input

FieldTypeLabelDescription
idstring
ticketstring
multiplicitystring
namestring
propertystring
retainbool
typestring
valuestring

Step.Output

FieldTypeLabelDescription
multiplicitystring
namestring
propertystring
qual_idstring
retainbool
typestring

Step.Param

FieldTypeLabelDescription
idstring
namestring
valuestring
orderint32
typestring
pathstring

Scalar Value Types

| .proto Type | Notes | C++ | Java | Python | Go | C# | PHP | Ruby | | ----------- | ----- | --- | ---- | ------ | -- | -- | --- | ---- | | double | | double | double | float | float64 | double | float | Float | | float | | float | float | float | float32 | float | float | Float | | int32 | Uses variable-length encoding. Inefficient for encoding negative numbers – if your field is likely to have negative values, use sint32 instead. | int32 | int | int | int32 | int | integer | Bignum or Fixnum (as required) | | int64 | Uses variable-length encoding. Inefficient for encoding negative numbers – if your field is likely to have negative values, use sint64 instead. | int64 | long | int/long | int64 | long | integer/string | Bignum | | uint32 | Uses variable-length encoding. | uint32 | int | int/long | uint32 | uint | integer | Bignum or Fixnum (as required) | | uint64 | Uses variable-length encoding. | uint64 | long | int/long | uint64 | ulong | integer/string | Bignum or Fixnum (as required) | | sint32 | Uses variable-length encoding. Signed int value. These more efficiently encode negative numbers than regular int32s. | int32 | int | int | int32 | int | integer | Bignum or Fixnum (as required) | | sint64 | Uses variable-length encoding. Signed int value. These more efficiently encode negative numbers than regular int64s. | int64 | long | int/long | int64 | long | integer/string | Bignum | | fixed32 | Always four bytes. More efficient than uint32 if values are often greater than 2^28. | uint32 | int | int | uint32 | uint | integer | Bignum or Fixnum (as required) | | fixed64 | Always eight bytes. More efficient than uint64 if values are often greater than 2^56. | uint64 | long | int/long | uint64 | ulong | integer/string | Bignum | | sfixed32 | Always four bytes. | int32 | int | int | int32 | int | integer | Bignum or Fixnum (as required) | | sfixed64 | Always eight bytes. | int64 | long | int/long | int64 | long | integer/string | Bignum | | bool | | bool | boolean | boolean | bool | bool | boolean | TrueClass/FalseClass | | string | A string must always contain UTF-8 encoded or 7-bit ASCII text. | string | String | str/unicode | string | string | string | String (UTF-8) | | bytes | May contain any arbitrary sequence of bytes. | string | ByteString | str | []byte | ByteString | string | String (ASCII-8BIT) |

Can you improve this documentation?Edit on GitHub

cljdoc is a website building & hosting documentation for Clojure/Script libraries

× close