Documentation
¶
Index ¶
- Constants
- Variables
- func RegisterSysMLServiceServer(s grpc.ServiceRegistrar, srv SysMLServiceServer)
- type AddMemberEdit
- func (*AddMemberEdit) Descriptor() ([]byte, []int)deprecated
- func (x *AddMemberEdit) GetKind() string
- func (x *AddMemberEdit) GetMultiplicity() string
- func (x *AddMemberEdit) GetName() string
- func (x *AddMemberEdit) GetOwner() string
- func (x *AddMemberEdit) GetSpecializes() []string
- func (x *AddMemberEdit) GetType() string
- func (x *AddMemberEdit) GetValue() string
- func (*AddMemberEdit) ProtoMessage()
- func (x *AddMemberEdit) ProtoReflect() protoreflect.Message
- func (x *AddMemberEdit) Reset()
- func (x *AddMemberEdit) String() string
- type AppliedEdit
- func (*AppliedEdit) Descriptor() ([]byte, []int)deprecated
- func (x *AppliedEdit) GetLength() int32
- func (x *AppliedEdit) GetNewText() string
- func (x *AppliedEdit) GetOffset() int32
- func (x *AppliedEdit) GetOldText() string
- func (x *AppliedEdit) GetOperationIndex() int32
- func (x *AppliedEdit) GetTarget() string
- func (*AppliedEdit) ProtoMessage()
- func (x *AppliedEdit) ProtoReflect() protoreflect.Message
- func (x *AppliedEdit) Reset()
- func (x *AppliedEdit) String() string
- type ApplyEditsRequest
- func (*ApplyEditsRequest) Descriptor() ([]byte, []int)deprecated
- func (x *ApplyEditsRequest) GetModelHash() string
- func (x *ApplyEditsRequest) GetOperations() []*EditOperation
- func (*ApplyEditsRequest) ProtoMessage()
- func (x *ApplyEditsRequest) ProtoReflect() protoreflect.Message
- func (x *ApplyEditsRequest) Reset()
- func (x *ApplyEditsRequest) String() string
- type ApplyEditsResponse
- func (*ApplyEditsResponse) Descriptor() ([]byte, []int)deprecated
- func (x *ApplyEditsResponse) GetApplied() []*AppliedEdit
- func (x *ApplyEditsResponse) GetContent() string
- func (x *ApplyEditsResponse) GetDiagnostics() []*Diagnostic
- func (x *ApplyEditsResponse) GetError() string
- func (x *ApplyEditsResponse) GetFailure() EditFailure
- func (x *ApplyEditsResponse) GetReferringElements() []string
- func (*ApplyEditsResponse) ProtoMessage()
- func (x *ApplyEditsResponse) ProtoReflect() protoreflect.Message
- func (x *ApplyEditsResponse) Reset()
- func (x *ApplyEditsResponse) String() string
- type Array
- type AttributeInfo
- func (*AttributeInfo) Descriptor() ([]byte, []int)deprecated
- func (x *AttributeInfo) GetName() string
- func (x *AttributeInfo) GetType() string
- func (x *AttributeInfo) GetUnit() string
- func (x *AttributeInfo) GetValue() *Value
- func (*AttributeInfo) ProtoMessage()
- func (x *AttributeInfo) ProtoReflect() protoreflect.Message
- func (x *AttributeInfo) Reset()
- func (x *AttributeInfo) String() string
- type Bound
- type CalcOutput
- type CaseEvaluation
- func (*CaseEvaluation) Descriptor() ([]byte, []int)deprecated
- func (x *CaseEvaluation) GetArguments() []*Value
- func (x *CaseEvaluation) GetError() string
- func (x *CaseEvaluation) GetFunctionId() string
- func (x *CaseEvaluation) GetResult() *Value
- func (x *CaseEvaluation) GetSelected() bool
- func (x *CaseEvaluation) GetTied() bool
- func (*CaseEvaluation) ProtoMessage()
- func (x *CaseEvaluation) ProtoReflect() protoreflect.Message
- func (x *CaseEvaluation) Reset()
- func (x *CaseEvaluation) String() string
- type Complex
- type CompositeConstraint
- func (*CompositeConstraint) Descriptor() ([]byte, []int)deprecated
- func (x *CompositeConstraint) GetConstraint() []*Constraint
- func (x *CompositeConstraint) GetOperator() CompositeOperator
- func (*CompositeConstraint) ProtoMessage()
- func (x *CompositeConstraint) ProtoReflect() protoreflect.Message
- func (x *CompositeConstraint) Reset()
- func (x *CompositeConstraint) String() string
- type CompositeOperator
- func (CompositeOperator) Descriptor() protoreflect.EnumDescriptor
- func (x CompositeOperator) Enum() *CompositeOperator
- func (CompositeOperator) EnumDescriptor() ([]byte, []int)deprecated
- func (x CompositeOperator) Number() protoreflect.EnumNumber
- func (x CompositeOperator) String() string
- func (CompositeOperator) Type() protoreflect.EnumType
- type Constraint
- func (*Constraint) Descriptor() ([]byte, []int)deprecated
- func (x *Constraint) GetComposite() *CompositeConstraint
- func (x *Constraint) GetConstraint() isConstraint_Constraint
- func (x *Constraint) GetPrimitive() *PrimitiveConstraint
- func (*Constraint) ProtoMessage()
- func (x *Constraint) ProtoReflect() protoreflect.Message
- func (x *Constraint) Reset()
- func (x *Constraint) String() string
- type Constraint_Composite
- type Constraint_Primitive
- type ConvertRequest
- func (*ConvertRequest) Descriptor() ([]byte, []int)deprecated
- func (x *ConvertRequest) GetContent() string
- func (x *ConvertRequest) GetFilePath() string
- func (x *ConvertRequest) GetFromFormat() string
- func (x *ConvertRequest) GetModelHash() string
- func (x *ConvertRequest) GetSource() isConvertRequest_Source
- func (x *ConvertRequest) GetToFormat() string
- func (x *ConvertRequest) GetTolerateSyntaxErrors() bool
- func (*ConvertRequest) ProtoMessage()
- func (x *ConvertRequest) ProtoReflect() protoreflect.Message
- func (x *ConvertRequest) Reset()
- func (x *ConvertRequest) String() string
- type ConvertRequest_Content
- type ConvertRequest_FilePath
- type ConvertRequest_ModelHash
- type ConvertResponse
- func (*ConvertResponse) Descriptor() ([]byte, []int)deprecated
- func (x *ConvertResponse) GetContent() string
- func (x *ConvertResponse) GetDiagnostics() []*Diagnostic
- func (x *ConvertResponse) GetError() string
- func (x *ConvertResponse) GetExperimental() bool
- func (x *ConvertResponse) GetExperimentalNotice() string
- func (x *ConvertResponse) GetFromFormat() string
- func (x *ConvertResponse) GetToFormat() string
- func (*ConvertResponse) ProtoMessage()
- func (x *ConvertResponse) ProtoReflect() protoreflect.Message
- func (x *ConvertResponse) Reset()
- func (x *ConvertResponse) String() string
- type DeleteEdit
- type Diagnostic
- func (*Diagnostic) Descriptor() ([]byte, []int)deprecated
- func (x *Diagnostic) GetCode() string
- func (x *Diagnostic) GetMessage() string
- func (x *Diagnostic) GetSeverity() string
- func (x *Diagnostic) GetSpan() *Span
- func (*Diagnostic) ProtoMessage()
- func (x *Diagnostic) ProtoReflect() protoreflect.Message
- func (x *Diagnostic) Reset()
- func (x *Diagnostic) String() string
- type DiagnosticsRequest
- func (*DiagnosticsRequest) Descriptor() ([]byte, []int)deprecated
- func (x *DiagnosticsRequest) GetModelHash() string
- func (*DiagnosticsRequest) ProtoMessage()
- func (x *DiagnosticsRequest) ProtoReflect() protoreflect.Message
- func (x *DiagnosticsRequest) Reset()
- func (x *DiagnosticsRequest) String() string
- type DiagnosticsResponse
- func (*DiagnosticsResponse) Descriptor() ([]byte, []int)deprecated
- func (x *DiagnosticsResponse) GetDiagnostics() []*Diagnostic
- func (x *DiagnosticsResponse) GetError() string
- func (*DiagnosticsResponse) ProtoMessage()
- func (x *DiagnosticsResponse) ProtoReflect() protoreflect.Message
- func (x *DiagnosticsResponse) Reset()
- func (x *DiagnosticsResponse) String() string
- type DocumentQueryBinding
- func (*DocumentQueryBinding) Descriptor() ([]byte, []int)deprecated
- func (x *DocumentQueryBinding) GetParameter() string
- func (x *DocumentQueryBinding) GetValues() []*DocumentValue
- func (*DocumentQueryBinding) ProtoMessage()
- func (x *DocumentQueryBinding) ProtoReflect() protoreflect.Message
- func (x *DocumentQueryBinding) Reset()
- func (x *DocumentQueryBinding) String() string
- type DocumentQueryCell
- func (*DocumentQueryCell) Descriptor() ([]byte, []int)deprecated
- func (x *DocumentQueryCell) GetValues() []*DocumentValue
- func (*DocumentQueryCell) ProtoMessage()
- func (x *DocumentQueryCell) ProtoReflect() protoreflect.Message
- func (x *DocumentQueryCell) Reset()
- func (x *DocumentQueryCell) String() string
- type DocumentQueryColumn
- func (*DocumentQueryColumn) Descriptor() ([]byte, []int)deprecated
- func (x *DocumentQueryColumn) GetName() string
- func (*DocumentQueryColumn) ProtoMessage()
- func (x *DocumentQueryColumn) ProtoReflect() protoreflect.Message
- func (x *DocumentQueryColumn) Reset()
- func (x *DocumentQueryColumn) String() string
- type DocumentQueryRow
- func (*DocumentQueryRow) Descriptor() ([]byte, []int)deprecated
- func (x *DocumentQueryRow) GetCells() []*DocumentQueryCell
- func (x *DocumentQueryRow) GetElement() *DocumentValue
- func (*DocumentQueryRow) ProtoMessage()
- func (x *DocumentQueryRow) ProtoReflect() protoreflect.Message
- func (x *DocumentQueryRow) Reset()
- func (x *DocumentQueryRow) String() string
- type DocumentValue
- func (*DocumentValue) Descriptor() ([]byte, []int)deprecated
- func (x *DocumentValue) GetBoolValue() bool
- func (x *DocumentValue) GetElementId() string
- func (x *DocumentValue) GetElementType() string
- func (x *DocumentValue) GetInfinity() bool
- func (x *DocumentValue) GetIntValue() int64
- func (x *DocumentValue) GetKind() isDocumentValue_Kind
- func (x *DocumentValue) GetQuantity() *Quantity
- func (x *DocumentValue) GetRealValue() float64
- func (x *DocumentValue) GetStringValue() string
- func (*DocumentValue) ProtoMessage()
- func (x *DocumentValue) ProtoReflect() protoreflect.Message
- func (x *DocumentValue) Reset()
- func (x *DocumentValue) String() string
- type DocumentValue_BoolValue
- type DocumentValue_ElementId
- type DocumentValue_Infinity
- type DocumentValue_IntValue
- type DocumentValue_Quantity
- type DocumentValue_RealValue
- type DocumentValue_StringValue
- type EditFailure
- func (EditFailure) Descriptor() protoreflect.EnumDescriptor
- func (x EditFailure) Enum() *EditFailure
- func (EditFailure) EnumDescriptor() ([]byte, []int)deprecated
- func (x EditFailure) Number() protoreflect.EnumNumber
- func (x EditFailure) String() string
- func (EditFailure) Type() protoreflect.EnumType
- type EditOperation
- func (*EditOperation) Descriptor() ([]byte, []int)deprecated
- func (x *EditOperation) GetAddMember() *AddMemberEdit
- func (x *EditOperation) GetDelete() *DeleteEdit
- func (x *EditOperation) GetMove() *MoveEdit
- func (x *EditOperation) GetOperation() isEditOperation_Operation
- func (x *EditOperation) GetRename() *RenameEdit
- func (x *EditOperation) GetSetValue() *SetValueEdit
- func (*EditOperation) ProtoMessage()
- func (x *EditOperation) ProtoReflect() protoreflect.Message
- func (x *EditOperation) Reset()
- func (x *EditOperation) String() string
- type EditOperation_AddMember
- type EditOperation_Delete
- type EditOperation_Move
- type EditOperation_Rename
- type EditOperation_SetValue
- type EngineInfo
- func (*EngineInfo) Descriptor() ([]byte, []int)deprecated
- func (x *EngineInfo) GetAnswers() []string
- func (x *EngineInfo) GetAuthority() string
- func (x *EngineInfo) GetBounds() []string
- func (x *EngineInfo) GetCommand() string
- func (x *EngineInfo) GetKind() string
- func (x *EngineInfo) GetName() string
- func (x *EngineInfo) GetProcess() string
- func (x *EngineInfo) GetProcessFound() string
- func (x *EngineInfo) GetProtocol() string
- func (x *EngineInfo) GetReady() bool
- func (x *EngineInfo) GetServed() bool
- func (x *EngineInfo) GetSource() string
- func (x *EngineInfo) GetUnavailable() string
- func (x *EngineInfo) GetVersion() string
- func (*EngineInfo) ProtoMessage()
- func (x *EngineInfo) ProtoReflect() protoreflect.Message
- func (x *EngineInfo) Reset()
- func (x *EngineInfo) String() string
- type EnumLiteral
- func (*EnumLiteral) Descriptor() ([]byte, []int)deprecated
- func (x *EnumLiteral) GetEnumerationId() string
- func (x *EnumLiteral) GetLiteralId() string
- func (x *EnumLiteral) GetName() string
- func (x *EnumLiteral) GetValue() *Value
- func (*EnumLiteral) ProtoMessage()
- func (x *EnumLiteral) ProtoReflect() protoreflect.Message
- func (x *EnumLiteral) Reset()
- func (x *EnumLiteral) String() string
- type EvaluateCalcRequest
- func (*EvaluateCalcRequest) Descriptor() ([]byte, []int)deprecated
- func (x *EvaluateCalcRequest) GetArguments() []*Value
- func (x *EvaluateCalcRequest) GetEngine() string
- func (x *EvaluateCalcRequest) GetModelHash() string
- func (x *EvaluateCalcRequest) GetSymbolId() string
- func (*EvaluateCalcRequest) ProtoMessage()
- func (x *EvaluateCalcRequest) ProtoReflect() protoreflect.Message
- func (x *EvaluateCalcRequest) Reset()
- func (x *EvaluateCalcRequest) String() string
- type EvaluateCalcResponse
- func (*EvaluateCalcResponse) Descriptor() ([]byte, []int)deprecated
- func (x *EvaluateCalcResponse) GetBounds() []*Bound
- func (x *EvaluateCalcResponse) GetDiagnostics() []*Diagnostic
- func (x *EvaluateCalcResponse) GetEngine() string
- func (x *EvaluateCalcResponse) GetError() string
- func (x *EvaluateCalcResponse) GetFailureReason() FailureReason
- func (x *EvaluateCalcResponse) GetOutputs() []*CalcOutput
- func (x *EvaluateCalcResponse) GetResult() *Value
- func (x *EvaluateCalcResponse) GetStrength() string
- func (*EvaluateCalcResponse) ProtoMessage()
- func (x *EvaluateCalcResponse) ProtoReflect() protoreflect.Message
- func (x *EvaluateCalcResponse) Reset()
- func (x *EvaluateCalcResponse) String() string
- type EvaluateRequest
- func (*EvaluateRequest) Descriptor() ([]byte, []int)deprecated
- func (x *EvaluateRequest) GetContextSymbolId() string
- func (x *EvaluateRequest) GetExpression() string
- func (x *EvaluateRequest) GetModelHash() string
- func (x *EvaluateRequest) GetSubjectSymbolId() string
- func (*EvaluateRequest) ProtoMessage()
- func (x *EvaluateRequest) ProtoReflect() protoreflect.Message
- func (x *EvaluateRequest) Reset()
- func (x *EvaluateRequest) String() string
- type EvaluateResponse
- func (*EvaluateResponse) Descriptor() ([]byte, []int)deprecated
- func (x *EvaluateResponse) GetDiagnostics() []*Diagnostic
- func (x *EvaluateResponse) GetError() string
- func (x *EvaluateResponse) GetResult() *Value
- func (*EvaluateResponse) ProtoMessage()
- func (x *EvaluateResponse) ProtoReflect() protoreflect.Message
- func (x *EvaluateResponse) Reset()
- func (x *EvaluateResponse) String() string
- type ExecuteActionRequest
- func (*ExecuteActionRequest) Descriptor() ([]byte, []int)deprecated
- func (x *ExecuteActionRequest) GetActionSymbolId() string
- func (x *ExecuteActionRequest) GetInputs() map[string]*Value
- func (x *ExecuteActionRequest) GetModelHash() string
- func (x *ExecuteActionRequest) GetSchedule() string
- func (*ExecuteActionRequest) ProtoMessage()
- func (x *ExecuteActionRequest) ProtoReflect() protoreflect.Message
- func (x *ExecuteActionRequest) Reset()
- func (x *ExecuteActionRequest) String() string
- type ExecuteActionResponse
- func (*ExecuteActionResponse) Descriptor() ([]byte, []int)deprecated
- func (x *ExecuteActionResponse) GetDiagnostics() []*Diagnostic
- func (x *ExecuteActionResponse) GetError() string
- func (x *ExecuteActionResponse) GetExploration() *ExplorationStatus
- func (x *ExecuteActionResponse) GetFinalTime() float64
- func (x *ExecuteActionResponse) GetOutcomes() []*Outcome
- func (x *ExecuteActionResponse) GetOutputs() map[string]*Value
- func (*ExecuteActionResponse) ProtoMessage()
- func (x *ExecuteActionResponse) ProtoReflect() protoreflect.Message
- func (x *ExecuteActionResponse) Reset()
- func (x *ExecuteActionResponse) String() string
- type ExecuteStateRequest
- func (*ExecuteStateRequest) Descriptor() ([]byte, []int)deprecated
- func (x *ExecuteStateRequest) GetEvents() []string
- func (x *ExecuteStateRequest) GetModelHash() string
- func (x *ExecuteStateRequest) GetSchedule() string
- func (x *ExecuteStateRequest) GetStateMachineSymbolId() string
- func (*ExecuteStateRequest) ProtoMessage()
- func (x *ExecuteStateRequest) ProtoReflect() protoreflect.Message
- func (x *ExecuteStateRequest) Reset()
- func (x *ExecuteStateRequest) String() string
- type ExecuteStateResponse
- func (*ExecuteStateResponse) Descriptor() ([]byte, []int)deprecated
- func (x *ExecuteStateResponse) GetDiagnostics() []*Diagnostic
- func (x *ExecuteStateResponse) GetError() string
- func (x *ExecuteStateResponse) GetExploration() *ExplorationStatus
- func (x *ExecuteStateResponse) GetFinalContext() map[string]*Value
- func (x *ExecuteStateResponse) GetFinalTime() float64
- func (x *ExecuteStateResponse) GetOutcomes() []*Outcome
- func (x *ExecuteStateResponse) GetStatesVisited() []string
- func (*ExecuteStateResponse) ProtoMessage()
- func (x *ExecuteStateResponse) ProtoReflect() protoreflect.Message
- func (x *ExecuteStateResponse) Reset()
- func (x *ExecuteStateResponse) String() string
- type ExplorationStatus
- func (*ExplorationStatus) Descriptor() ([]byte, []int)deprecated
- func (x *ExplorationStatus) GetBudgetsHit() []string
- func (x *ExplorationStatus) GetComplete() bool
- func (x *ExplorationStatus) GetDepthBudget() int32
- func (x *ExplorationStatus) GetRuns() int32
- func (x *ExplorationStatus) GetRunsBudget() int32
- func (*ExplorationStatus) ProtoMessage()
- func (x *ExplorationStatus) ProtoReflect() protoreflect.Message
- func (x *ExplorationStatus) Reset()
- func (x *ExplorationStatus) String() string
- type FailureReason
- func (FailureReason) Descriptor() protoreflect.EnumDescriptor
- func (x FailureReason) Enum() *FailureReason
- func (FailureReason) EnumDescriptor() ([]byte, []int)deprecated
- func (x FailureReason) Number() protoreflect.EnumNumber
- func (x FailureReason) String() string
- func (FailureReason) Type() protoreflect.EnumType
- type FeatureValue
- func (*FeatureValue) Descriptor() ([]byte, []int)deprecated
- func (x *FeatureValue) GetError() string
- func (x *FeatureValue) GetFeatureName() string
- func (x *FeatureValue) GetMaterialized() bool
- func (x *FeatureValue) GetValue() *Value
- func (x *FeatureValue) GetValues() []*Value
- func (*FeatureValue) ProtoMessage()
- func (x *FeatureValue) ProtoReflect() protoreflect.Message
- func (x *FeatureValue) Reset()
- func (x *FeatureValue) String() string
- type Function
- type GetSymbolRequest
- func (*GetSymbolRequest) Descriptor() ([]byte, []int)deprecated
- func (x *GetSymbolRequest) GetModelHash() string
- func (x *GetSymbolRequest) GetSymbolId() string
- func (*GetSymbolRequest) ProtoMessage()
- func (x *GetSymbolRequest) ProtoReflect() protoreflect.Message
- func (x *GetSymbolRequest) Reset()
- func (x *GetSymbolRequest) String() string
- type Instance
- func (*Instance) Descriptor() ([]byte, []int)deprecated
- func (x *Instance) GetFeatureValues() map[string]*FeatureValue
- func (x *Instance) GetId() int64
- func (x *Instance) GetTypeSymbolId() string
- func (*Instance) ProtoMessage()
- func (x *Instance) ProtoReflect() protoreflect.Message
- func (x *Instance) Reset()
- func (x *Instance) String() string
- type InstantiateRequest
- func (*InstantiateRequest) Descriptor() ([]byte, []int)deprecated
- func (x *InstantiateRequest) GetModelHash() string
- func (x *InstantiateRequest) GetSymbolId() string
- func (*InstantiateRequest) ProtoMessage()
- func (x *InstantiateRequest) ProtoReflect() protoreflect.Message
- func (x *InstantiateRequest) Reset()
- func (x *InstantiateRequest) String() string
- type InstantiateResponse
- func (*InstantiateResponse) Descriptor() ([]byte, []int)deprecated
- func (x *InstantiateResponse) GetDiagnostics() []*Diagnostic
- func (x *InstantiateResponse) GetError() string
- func (x *InstantiateResponse) GetInstance() *Instance
- func (x *InstantiateResponse) GetInstances() []*Instance
- func (*InstantiateResponse) ProtoMessage()
- func (x *InstantiateResponse) ProtoReflect() protoreflect.Message
- func (x *InstantiateResponse) Reset()
- func (x *InstantiateResponse) String() string
- type ListEnginesRequest
- type ListEnginesResponse
- func (*ListEnginesResponse) Descriptor() ([]byte, []int)deprecated
- func (x *ListEnginesResponse) GetEngines() []*EngineInfo
- func (*ListEnginesResponse) ProtoMessage()
- func (x *ListEnginesResponse) ProtoReflect() protoreflect.Message
- func (x *ListEnginesResponse) Reset()
- func (x *ListEnginesResponse) String() string
- type MeasurementRef
- func (*MeasurementRef) Descriptor() ([]byte, []int)deprecated
- func (x *MeasurementRef) GetUnit() string
- func (x *MeasurementRef) GetUnitId() string
- func (x *MeasurementRef) GetUnitTerm() *UnitTerm
- func (*MeasurementRef) ProtoMessage()
- func (x *MeasurementRef) ProtoReflect() protoreflect.Message
- func (x *MeasurementRef) Reset()
- func (x *MeasurementRef) String() string
- type Metaobject
- func (*Metaobject) Descriptor() ([]byte, []int)deprecated
- func (x *Metaobject) GetElementId() string
- func (x *Metaobject) GetMetaclassId() string
- func (*Metaobject) ProtoMessage()
- func (x *Metaobject) ProtoReflect() protoreflect.Message
- func (x *Metaobject) Reset()
- func (x *Metaobject) String() string
- type MoveEdit
- type MultiplicityInfo
- func (*MultiplicityInfo) Descriptor() ([]byte, []int)deprecated
- func (x *MultiplicityInfo) GetLower() string
- func (x *MultiplicityInfo) GetUpper() string
- func (*MultiplicityInfo) ProtoMessage()
- func (x *MultiplicityInfo) ProtoReflect() protoreflect.Message
- func (x *MultiplicityInfo) Reset()
- func (x *MultiplicityInfo) String() string
- type Outcome
- func (*Outcome) Descriptor() ([]byte, []int)deprecated
- func (x *Outcome) GetDiagnostics() []*Diagnostic
- func (x *Outcome) GetError() string
- func (x *Outcome) GetFinalState() string
- func (x *Outcome) GetLinearizations() int32
- func (x *Outcome) GetOutputs() map[string]*Value
- func (x *Outcome) GetStatesVisited() []string
- func (x *Outcome) GetWitness() []string
- func (*Outcome) ProtoMessage()
- func (x *Outcome) ProtoReflect() protoreflect.Message
- func (x *Outcome) Reset()
- func (x *Outcome) String() string
- type ParseFileRequest
- func (*ParseFileRequest) Descriptor() ([]byte, []int)deprecated
- func (x *ParseFileRequest) GetContent() string
- func (x *ParseFileRequest) GetContentHash() stringdeprecated
- func (x *ParseFileRequest) GetFilePath() string
- func (x *ParseFileRequest) GetLanguage() string
- func (x *ParseFileRequest) GetSource() isParseFileRequest_Source
- func (x *ParseFileRequest) GetStrictConformance() bool
- func (*ParseFileRequest) ProtoMessage()
- func (x *ParseFileRequest) ProtoReflect() protoreflect.Message
- func (x *ParseFileRequest) Reset()
- func (x *ParseFileRequest) String() string
- type ParseFileRequest_Content
- type ParseFileRequest_FilePath
- type ParseFileResponse
- func (*ParseFileResponse) Descriptor() ([]byte, []int)deprecated
- func (x *ParseFileResponse) GetDiagnostics() []*Diagnostic
- func (x *ParseFileResponse) GetError() string
- func (x *ParseFileResponse) GetModelHash() string
- func (x *ParseFileResponse) GetRoot() *SymbolInfo
- func (*ParseFileResponse) ProtoMessage()
- func (x *ParseFileResponse) ProtoReflect() protoreflect.Message
- func (x *ParseFileResponse) Reset()
- func (x *ParseFileResponse) String() string
- type ParseSourcesRequest
- func (*ParseSourcesRequest) Descriptor() ([]byte, []int)deprecated
- func (x *ParseSourcesRequest) GetDocuments() []*SourceDocument
- func (x *ParseSourcesRequest) GetStrictConformance() bool
- func (*ParseSourcesRequest) ProtoMessage()
- func (x *ParseSourcesRequest) ProtoReflect() protoreflect.Message
- func (x *ParseSourcesRequest) Reset()
- func (x *ParseSourcesRequest) String() string
- type ParseSourcesResponse
- func (*ParseSourcesResponse) Descriptor() ([]byte, []int)deprecated
- func (x *ParseSourcesResponse) GetDiagnostics() []*Diagnostic
- func (x *ParseSourcesResponse) GetError() string
- func (x *ParseSourcesResponse) GetModelHash() string
- func (x *ParseSourcesResponse) GetRoots() []*SymbolInfo
- func (*ParseSourcesResponse) ProtoMessage()
- func (x *ParseSourcesResponse) ProtoReflect() protoreflect.Message
- func (x *ParseSourcesResponse) Reset()
- func (x *ParseSourcesResponse) String() string
- type PrimitiveConstraint
- func (*PrimitiveConstraint) Descriptor() ([]byte, []int)deprecated
- func (x *PrimitiveConstraint) GetInverse() bool
- func (x *PrimitiveConstraint) GetOperator() PrimitiveOperator
- func (x *PrimitiveConstraint) GetProperty() string
- func (x *PrimitiveConstraint) GetValue() []string
- func (*PrimitiveConstraint) ProtoMessage()
- func (x *PrimitiveConstraint) ProtoReflect() protoreflect.Message
- func (x *PrimitiveConstraint) Reset()
- func (x *PrimitiveConstraint) String() string
- type PrimitiveOperator
- func (PrimitiveOperator) Descriptor() protoreflect.EnumDescriptor
- func (x PrimitiveOperator) Enum() *PrimitiveOperator
- func (PrimitiveOperator) EnumDescriptor() ([]byte, []int)deprecated
- func (x PrimitiveOperator) Number() protoreflect.EnumNumber
- func (x PrimitiveOperator) String() string
- func (PrimitiveOperator) Type() protoreflect.EnumType
- type Quantity
- func (*Quantity) Descriptor() ([]byte, []int)deprecated
- func (x *Quantity) GetIntMagnitude() int64
- func (x *Quantity) GetMagnitude() isQuantity_Magnitude
- func (x *Quantity) GetRealMagnitude() float64
- func (x *Quantity) GetUnit() string
- func (x *Quantity) GetUnitTerm() *UnitTerm
- func (*Quantity) ProtoMessage()
- func (x *Quantity) ProtoReflect() protoreflect.Message
- func (x *Quantity) Reset()
- func (x *Quantity) String() string
- type Quantity_IntMagnitude
- type Quantity_RealMagnitude
- type Query
- func (*Query) Descriptor() ([]byte, []int)deprecated
- func (x *Query) GetScope() []string
- func (x *Query) GetSelect() []string
- func (x *Query) GetWhere() *Constraint
- func (*Query) ProtoMessage()
- func (x *Query) ProtoReflect() protoreflect.Message
- func (x *Query) Reset()
- func (x *Query) String() string
- type QueryRequest
- func (*QueryRequest) Descriptor() ([]byte, []int)deprecated
- func (x *QueryRequest) GetModelHash() string
- func (x *QueryRequest) GetOslcQuery() string
- func (x *QueryRequest) GetQuery() *Query
- func (*QueryRequest) ProtoMessage()
- func (x *QueryRequest) ProtoReflect() protoreflect.Message
- func (x *QueryRequest) Reset()
- func (x *QueryRequest) String() string
- type QueryResponse
- type QueryResultElement
- func (*QueryResultElement) Descriptor() ([]byte, []int)deprecated
- func (x *QueryResultElement) GetId() string
- func (x *QueryResultElement) GetProperties() map[string]string
- func (x *QueryResultElement) GetType() string
- func (*QueryResultElement) ProtoMessage()
- func (x *QueryResultElement) ProtoReflect() protoreflect.Message
- func (x *QueryResultElement) Reset()
- func (x *QueryResultElement) String() string
- type RenameEdit
- type RenderDocumentRequest
- func (*RenderDocumentRequest) Descriptor() ([]byte, []int)deprecated
- func (x *RenderDocumentRequest) GetDocumentId() string
- func (x *RenderDocumentRequest) GetModelHash() string
- func (*RenderDocumentRequest) ProtoMessage()
- func (x *RenderDocumentRequest) ProtoReflect() protoreflect.Message
- func (x *RenderDocumentRequest) Reset()
- func (x *RenderDocumentRequest) String() string
- type RenderDocumentResponse
- func (*RenderDocumentResponse) Descriptor() ([]byte, []int)deprecated
- func (x *RenderDocumentResponse) GetMarkdown() string
- func (*RenderDocumentResponse) ProtoMessage()
- func (x *RenderDocumentResponse) ProtoReflect() protoreflect.Message
- func (x *RenderDocumentResponse) Reset()
- func (x *RenderDocumentResponse) String() string
- type RunAnalysisRequest
- func (*RunAnalysisRequest) Descriptor() ([]byte, []int)deprecated
- func (x *RunAnalysisRequest) GetArguments() []*Value
- func (x *RunAnalysisRequest) GetEngine() string
- func (x *RunAnalysisRequest) GetModelHash() string
- func (x *RunAnalysisRequest) GetNamedArguments() map[string]*Value
- func (x *RunAnalysisRequest) GetSchedule() string
- func (x *RunAnalysisRequest) GetSubjectSymbolId() string
- func (x *RunAnalysisRequest) GetSymbolId() string
- func (*RunAnalysisRequest) ProtoMessage()
- func (x *RunAnalysisRequest) ProtoReflect() protoreflect.Message
- func (x *RunAnalysisRequest) Reset()
- func (x *RunAnalysisRequest) String() string
- type RunAnalysisResponse
- func (*RunAnalysisResponse) Descriptor() ([]byte, []int)deprecated
- func (x *RunAnalysisResponse) GetBounds() []*Bound
- func (x *RunAnalysisResponse) GetDiagnostics() []*Diagnostic
- func (x *RunAnalysisResponse) GetEngine() string
- func (x *RunAnalysisResponse) GetError() string
- func (x *RunAnalysisResponse) GetEvaluations() []*CaseEvaluation
- func (x *RunAnalysisResponse) GetExploration() *ExplorationStatus
- func (x *RunAnalysisResponse) GetFailureReason() FailureReason
- func (x *RunAnalysisResponse) GetInstances() []*Instance
- func (x *RunAnalysisResponse) GetOutcomes() []*Outcome
- func (x *RunAnalysisResponse) GetOutputs() []*CalcOutput
- func (x *RunAnalysisResponse) GetStrength() string
- func (x *RunAnalysisResponse) GetVerdicts() []*Verdict
- func (x *RunAnalysisResponse) GetVerificationVerdicts() []*VerificationVerdict
- func (*RunAnalysisResponse) ProtoMessage()
- func (x *RunAnalysisResponse) ProtoReflect() protoreflect.Message
- func (x *RunAnalysisResponse) Reset()
- func (x *RunAnalysisResponse) String() string
- type RunDocumentQueryRequest
- func (*RunDocumentQueryRequest) Descriptor() ([]byte, []int)deprecated
- func (x *RunDocumentQueryRequest) GetBindings() []*DocumentQueryBinding
- func (x *RunDocumentQueryRequest) GetModelHash() string
- func (x *RunDocumentQueryRequest) GetQueryId() string
- func (*RunDocumentQueryRequest) ProtoMessage()
- func (x *RunDocumentQueryRequest) ProtoReflect() protoreflect.Message
- func (x *RunDocumentQueryRequest) Reset()
- func (x *RunDocumentQueryRequest) String() string
- type RunDocumentQueryResponse
- func (*RunDocumentQueryResponse) Descriptor() ([]byte, []int)deprecated
- func (x *RunDocumentQueryResponse) GetColumns() []*DocumentQueryColumn
- func (x *RunDocumentQueryResponse) GetRows() []*DocumentQueryRow
- func (*RunDocumentQueryResponse) ProtoMessage()
- func (x *RunDocumentQueryResponse) ProtoReflect() protoreflect.Message
- func (x *RunDocumentQueryResponse) Reset()
- func (x *RunDocumentQueryResponse) String() string
- type RunSweepRequest
- func (*RunSweepRequest) Descriptor() ([]byte, []int)deprecated
- func (x *RunSweepRequest) GetArguments() []*Value
- func (x *RunSweepRequest) GetEngine() string
- func (x *RunSweepRequest) GetModelHash() string
- func (x *RunSweepRequest) GetNamedArguments() map[string]*Value
- func (x *RunSweepRequest) GetRanges() []*SweepRange
- func (x *RunSweepRequest) GetSamples() int64
- func (x *RunSweepRequest) GetSeed() uint64
- func (x *RunSweepRequest) GetSubjectSymbolId() string
- func (x *RunSweepRequest) GetSymbolId() string
- func (*RunSweepRequest) ProtoMessage()
- func (x *RunSweepRequest) ProtoReflect() protoreflect.Message
- func (x *RunSweepRequest) Reset()
- func (x *RunSweepRequest) String() string
- type RunSweepResponse
- func (*RunSweepResponse) Descriptor() ([]byte, []int)deprecated
- func (x *RunSweepResponse) GetBounds() []*Bound
- func (x *RunSweepResponse) GetDiagnostics() []*Diagnostic
- func (x *RunSweepResponse) GetEngine() string
- func (x *RunSweepResponse) GetError() string
- func (x *RunSweepResponse) GetFailureReason() FailureReason
- func (x *RunSweepResponse) GetInstances() []*Instance
- func (x *RunSweepResponse) GetParameters() []string
- func (x *RunSweepResponse) GetRows() []*SweepRow
- func (x *RunSweepResponse) GetSampled() bool
- func (x *RunSweepResponse) GetSeed() uint64
- func (x *RunSweepResponse) GetStrength() string
- func (*RunSweepResponse) ProtoMessage()
- func (x *RunSweepResponse) ProtoReflect() protoreflect.Message
- func (x *RunSweepResponse) Reset()
- func (x *RunSweepResponse) String() string
- type ServerInfoRequest
- type ServerInfoResponse
- func (*ServerInfoResponse) Descriptor() ([]byte, []int)deprecated
- func (x *ServerInfoResponse) GetCapabilities() []string
- func (x *ServerInfoResponse) GetVersion() string
- func (*ServerInfoResponse) ProtoMessage()
- func (x *ServerInfoResponse) ProtoReflect() protoreflect.Message
- func (x *ServerInfoResponse) Reset()
- func (x *ServerInfoResponse) String() string
- type SetValueEdit
- func (*SetValueEdit) Descriptor() ([]byte, []int)deprecated
- func (x *SetValueEdit) GetTarget() string
- func (x *SetValueEdit) GetValue() string
- func (*SetValueEdit) ProtoMessage()
- func (x *SetValueEdit) ProtoReflect() protoreflect.Message
- func (x *SetValueEdit) Reset()
- func (x *SetValueEdit) String() string
- type SourceDocument
- func (*SourceDocument) Descriptor() ([]byte, []int)deprecated
- func (x *SourceDocument) GetContent() string
- func (x *SourceDocument) GetFilePath() string
- func (x *SourceDocument) GetLanguage() string
- func (x *SourceDocument) GetName() string
- func (x *SourceDocument) GetSource() isSourceDocument_Source
- func (*SourceDocument) ProtoMessage()
- func (x *SourceDocument) ProtoReflect() protoreflect.Message
- func (x *SourceDocument) Reset()
- func (x *SourceDocument) String() string
- type SourceDocument_Content
- type SourceDocument_FilePath
- type Span
- func (*Span) Descriptor() ([]byte, []int)deprecated
- func (x *Span) GetEndCol() int32
- func (x *Span) GetEndLine() int32
- func (x *Span) GetFile() string
- func (x *Span) GetStartCol() int32
- func (x *Span) GetStartLine() int32
- func (*Span) ProtoMessage()
- func (x *Span) ProtoReflect() protoreflect.Message
- func (x *Span) Reset()
- func (x *Span) String() string
- type Specialization
- func (*Specialization) Descriptor() ([]byte, []int)deprecated
- func (x *Specialization) GetDeclared() string
- func (x *Specialization) GetKind() string
- func (x *Specialization) GetTargetId() string
- func (x *Specialization) GetTargetKind() string
- func (*Specialization) ProtoMessage()
- func (x *Specialization) ProtoReflect() protoreflect.Message
- func (x *Specialization) Reset()
- func (x *Specialization) String() string
- type SweepRange
- func (*SweepRange) Descriptor() ([]byte, []int)deprecated
- func (x *SweepRange) GetEnd() *Value
- func (x *SweepRange) GetParameter() string
- func (x *SweepRange) GetStart() *Value
- func (x *SweepRange) GetStep() *Value
- func (*SweepRange) ProtoMessage()
- func (x *SweepRange) ProtoReflect() protoreflect.Message
- func (x *SweepRange) Reset()
- func (x *SweepRange) String() string
- type SweepRow
- func (*SweepRow) Descriptor() ([]byte, []int)deprecated
- func (x *SweepRow) GetElapsedMicros() int64
- func (x *SweepRow) GetError() string
- func (x *SweepRow) GetEvaluations() []*CaseEvaluation
- func (x *SweepRow) GetFailureReason() FailureReason
- func (x *SweepRow) GetInputs() []*CalcOutput
- func (x *SweepRow) GetOutputs() []*CalcOutput
- func (x *SweepRow) GetVerdicts() []*Verdict
- func (*SweepRow) ProtoMessage()
- func (x *SweepRow) ProtoReflect() protoreflect.Message
- func (x *SweepRow) Reset()
- func (x *SweepRow) String() string
- type SymbolInfo
- func (*SymbolInfo) Descriptor() ([]byte, []int)deprecated
- func (x *SymbolInfo) GetAttributes() []*AttributeInfo
- func (x *SymbolInfo) GetChildIds() []string
- func (x *SymbolInfo) GetId() string
- func (x *SymbolInfo) GetKind() string
- func (x *SymbolInfo) GetMetadata() map[string]string
- func (x *SymbolInfo) GetMultiplicity() *MultiplicityInfo
- func (x *SymbolInfo) GetName() string
- func (x *SymbolInfo) GetSpecializations() []*Specialization
- func (x *SymbolInfo) GetTypeInfo() *TypeInfo
- func (x *SymbolInfo) GetWithheldLibraryAttributes() int32
- func (*SymbolInfo) ProtoMessage()
- func (x *SymbolInfo) ProtoReflect() protoreflect.Message
- func (x *SymbolInfo) Reset()
- func (x *SymbolInfo) String() string
- type SymbolResponse
- func (*SymbolResponse) Descriptor() ([]byte, []int)deprecated
- func (x *SymbolResponse) GetError() string
- func (x *SymbolResponse) GetSymbol() *SymbolInfo
- func (*SymbolResponse) ProtoMessage()
- func (x *SymbolResponse) ProtoReflect() protoreflect.Message
- func (x *SymbolResponse) Reset()
- func (x *SymbolResponse) String() string
- type SysMLServiceClient
- type SysMLServiceServer
- type TensorQuantity
- func (*TensorQuantity) Descriptor() ([]byte, []int)deprecated
- func (x *TensorQuantity) GetComponents() []*Quantity
- func (x *TensorQuantity) GetDimensions() []int64
- func (*TensorQuantity) ProtoMessage()
- func (x *TensorQuantity) ProtoReflect() protoreflect.Message
- func (x *TensorQuantity) Reset()
- func (x *TensorQuantity) String() string
- type TypeInfo
- func (*TypeInfo) Descriptor() ([]byte, []int)deprecated
- func (x *TypeInfo) GetDeclared() string
- func (x *TypeInfo) GetPrimitive() string
- func (x *TypeInfo) GetPrimitiveSource() string
- func (x *TypeInfo) GetQuantity() bool
- func (x *TypeInfo) GetResolvedId() string
- func (x *TypeInfo) GetResolvedKind() string
- func (x *TypeInfo) GetUnit() string
- func (*TypeInfo) ProtoMessage()
- func (x *TypeInfo) ProtoReflect() protoreflect.Message
- func (x *TypeInfo) Reset()
- func (x *TypeInfo) String() string
- type Undetermined
- func (*Undetermined) Descriptor() ([]byte, []int)deprecated
- func (x *Undetermined) GetCount() *MultiplicityInfo
- func (x *Undetermined) GetReason() string
- func (*Undetermined) ProtoMessage()
- func (x *Undetermined) ProtoReflect() protoreflect.Message
- func (x *Undetermined) Reset()
- func (x *Undetermined) String() string
- type UnimplementedSysMLServiceServer
- func (UnimplementedSysMLServiceServer) ApplyEdits(context.Context, *ApplyEditsRequest) (*ApplyEditsResponse, error)
- func (UnimplementedSysMLServiceServer) Convert(context.Context, *ConvertRequest) (*ConvertResponse, error)
- func (UnimplementedSysMLServiceServer) Evaluate(context.Context, *EvaluateRequest) (*EvaluateResponse, error)
- func (UnimplementedSysMLServiceServer) EvaluateCalc(context.Context, *EvaluateCalcRequest) (*EvaluateCalcResponse, error)
- func (UnimplementedSysMLServiceServer) ExecuteAction(context.Context, *ExecuteActionRequest) (*ExecuteActionResponse, error)
- func (UnimplementedSysMLServiceServer) ExecuteState(context.Context, *ExecuteStateRequest) (*ExecuteStateResponse, error)
- func (UnimplementedSysMLServiceServer) GetDiagnostics(context.Context, *DiagnosticsRequest) (*DiagnosticsResponse, error)
- func (UnimplementedSysMLServiceServer) GetServerInfo(context.Context, *ServerInfoRequest) (*ServerInfoResponse, error)
- func (UnimplementedSysMLServiceServer) GetSymbol(context.Context, *GetSymbolRequest) (*SymbolResponse, error)
- func (UnimplementedSysMLServiceServer) Instantiate(context.Context, *InstantiateRequest) (*InstantiateResponse, error)
- func (UnimplementedSysMLServiceServer) ListEngines(context.Context, *ListEnginesRequest) (*ListEnginesResponse, error)
- func (UnimplementedSysMLServiceServer) ParseFile(context.Context, *ParseFileRequest) (*ParseFileResponse, error)
- func (UnimplementedSysMLServiceServer) ParseSources(context.Context, *ParseSourcesRequest) (*ParseSourcesResponse, error)
- func (UnimplementedSysMLServiceServer) Query(context.Context, *QueryRequest) (*QueryResponse, error)
- func (UnimplementedSysMLServiceServer) RenderDocument(context.Context, *RenderDocumentRequest) (*RenderDocumentResponse, error)
- func (UnimplementedSysMLServiceServer) RunAnalysis(context.Context, *RunAnalysisRequest) (*RunAnalysisResponse, error)
- func (UnimplementedSysMLServiceServer) RunDocumentQuery(context.Context, *RunDocumentQueryRequest) (*RunDocumentQueryResponse, error)
- func (UnimplementedSysMLServiceServer) RunSweep(context.Context, *RunSweepRequest) (*RunSweepResponse, error)
- func (UnimplementedSysMLServiceServer) VerifyConstraint(context.Context, *VerifyConstraintRequest) (*VerifyConstraintResponse, error)
- func (UnimplementedSysMLServiceServer) VerifyRequirement(context.Context, *VerifyRequirementRequest) (*VerifyRequirementResponse, error)
- func (UnimplementedSysMLServiceServer) VerifySatisfaction(context.Context, *VerifySatisfactionRequest) (*VerifySatisfactionResponse, error)
- type UnitFactor
- type UnitTerm
- func (*UnitTerm) Descriptor() ([]byte, []int)deprecated
- func (x *UnitTerm) GetFactors() []*UnitFactor
- func (x *UnitTerm) GetScaleDen() float64
- func (x *UnitTerm) GetScaleNum() float64
- func (*UnitTerm) ProtoMessage()
- func (x *UnitTerm) ProtoReflect() protoreflect.Message
- func (x *UnitTerm) Reset()
- func (x *UnitTerm) String() string
- type UnsafeSysMLServiceServer
- type Value
- func (*Value) Descriptor() ([]byte, []int)deprecated
- func (x *Value) GetArray() *Array
- func (x *Value) GetBoolValue() bool
- func (x *Value) GetComplex() *Complex
- func (x *Value) GetEnumLiteral() *EnumLiteral
- func (x *Value) GetFunction() *Function
- func (x *Value) GetInfinity() bool
- func (x *Value) GetInstanceId() int64
- func (x *Value) GetIntValue() int64
- func (x *Value) GetKind() isValue_Kind
- func (x *Value) GetMeasurementRef() *MeasurementRef
- func (x *Value) GetMetaobject() *Metaobject
- func (x *Value) GetNull() string
- func (x *Value) GetQuantity() *Quantity
- func (x *Value) GetRealValue() float64
- func (x *Value) GetSequence() *ValueSequence
- func (x *Value) GetSet() *ValueSet
- func (x *Value) GetStringValue() string
- func (x *Value) GetTensorQuantity() *TensorQuantity
- func (x *Value) GetUndetermined() *Undetermined
- func (x *Value) GetUnset() bool
- func (x *Value) GetVector() *Vector
- func (x *Value) GetVectorQuantity() *VectorQuantity
- func (*Value) ProtoMessage()
- func (x *Value) ProtoReflect() protoreflect.Message
- func (x *Value) Reset()
- func (x *Value) String() string
- type ValueSequence
- type ValueSet
- type Value_Array
- type Value_BoolValue
- type Value_Complex
- type Value_EnumLiteral
- type Value_Function
- type Value_Infinity
- type Value_InstanceId
- type Value_IntValue
- type Value_MeasurementRef
- type Value_Metaobject
- type Value_Null
- type Value_Quantity
- type Value_RealValue
- type Value_Sequence
- type Value_Set
- type Value_StringValue
- type Value_TensorQuantity
- type Value_Undetermined
- type Value_Unset
- type Value_Vector
- type Value_VectorQuantity
- type Vector
- type VectorQuantity
- type Verdict
- func (*Verdict) Descriptor() ([]byte, []int)deprecated
- func (x *Verdict) GetBounds() []*Bound
- func (x *Verdict) GetCondition() string
- func (x *Verdict) GetElement() string
- func (x *Verdict) GetElementId() string
- func (x *Verdict) GetEngine() string
- func (x *Verdict) GetError() string
- func (x *Verdict) GetFailureReason() FailureReason
- func (x *Verdict) GetHolds() bool
- func (x *Verdict) GetInstanceId() int64
- func (x *Verdict) GetInstanceTypeId() string
- func (x *Verdict) GetKind() string
- func (x *Verdict) GetRequirementId() string
- func (x *Verdict) GetStrength() string
- func (*Verdict) ProtoMessage()
- func (x *Verdict) ProtoReflect() protoreflect.Message
- func (x *Verdict) Reset()
- func (x *Verdict) String() string
- type VerificationVerdict
- func (*VerificationVerdict) Descriptor() ([]byte, []int)deprecated
- func (x *VerificationVerdict) GetCaseId() string
- func (x *VerificationVerdict) GetDetail() string
- func (x *VerificationVerdict) GetKind() string
- func (x *VerificationVerdict) GetRequirementId() string
- func (x *VerificationVerdict) GetSubcase() bool
- func (*VerificationVerdict) ProtoMessage()
- func (x *VerificationVerdict) ProtoReflect() protoreflect.Message
- func (x *VerificationVerdict) Reset()
- func (x *VerificationVerdict) String() string
- type VerifyConstraintRequest
- func (*VerifyConstraintRequest) Descriptor() ([]byte, []int)deprecated
- func (x *VerifyConstraintRequest) GetEngine() string
- func (x *VerifyConstraintRequest) GetModelHash() string
- func (x *VerifyConstraintRequest) GetSubjectSymbolId() string
- func (x *VerifyConstraintRequest) GetSymbolId() string
- func (*VerifyConstraintRequest) ProtoMessage()
- func (x *VerifyConstraintRequest) ProtoReflect() protoreflect.Message
- func (x *VerifyConstraintRequest) Reset()
- func (x *VerifyConstraintRequest) String() string
- type VerifyConstraintResponse
- func (*VerifyConstraintResponse) Descriptor() ([]byte, []int)deprecated
- func (x *VerifyConstraintResponse) GetDiagnostics() []*Diagnostic
- func (x *VerifyConstraintResponse) GetError() string
- func (x *VerifyConstraintResponse) GetInstances() []*Instance
- func (x *VerifyConstraintResponse) GetVerdict() *Verdict
- func (*VerifyConstraintResponse) ProtoMessage()
- func (x *VerifyConstraintResponse) ProtoReflect() protoreflect.Message
- func (x *VerifyConstraintResponse) Reset()
- func (x *VerifyConstraintResponse) String() string
- type VerifyRequirementRequest
- func (*VerifyRequirementRequest) Descriptor() ([]byte, []int)deprecated
- func (x *VerifyRequirementRequest) GetEngine() string
- func (x *VerifyRequirementRequest) GetModelHash() string
- func (x *VerifyRequirementRequest) GetSubjectSymbolId() string
- func (x *VerifyRequirementRequest) GetSymbolId() string
- func (*VerifyRequirementRequest) ProtoMessage()
- func (x *VerifyRequirementRequest) ProtoReflect() protoreflect.Message
- func (x *VerifyRequirementRequest) Reset()
- func (x *VerifyRequirementRequest) String() string
- type VerifyRequirementResponse
- func (*VerifyRequirementResponse) Descriptor() ([]byte, []int)deprecated
- func (x *VerifyRequirementResponse) GetDiagnostics() []*Diagnostic
- func (x *VerifyRequirementResponse) GetError() string
- func (x *VerifyRequirementResponse) GetInstances() []*Instance
- func (x *VerifyRequirementResponse) GetVerdict() *Verdict
- func (x *VerifyRequirementResponse) GetVerificationVerdicts() []*VerificationVerdict
- func (*VerifyRequirementResponse) ProtoMessage()
- func (x *VerifyRequirementResponse) ProtoReflect() protoreflect.Message
- func (x *VerifyRequirementResponse) Reset()
- func (x *VerifyRequirementResponse) String() string
- type VerifySatisfactionRequest
- func (*VerifySatisfactionRequest) Descriptor() ([]byte, []int)deprecated
- func (x *VerifySatisfactionRequest) GetEngine() string
- func (x *VerifySatisfactionRequest) GetModelHash() string
- func (x *VerifySatisfactionRequest) GetSymbolId() string
- func (*VerifySatisfactionRequest) ProtoMessage()
- func (x *VerifySatisfactionRequest) ProtoReflect() protoreflect.Message
- func (x *VerifySatisfactionRequest) Reset()
- func (x *VerifySatisfactionRequest) String() string
- type VerifySatisfactionResponse
- func (*VerifySatisfactionResponse) Descriptor() ([]byte, []int)deprecated
- func (x *VerifySatisfactionResponse) GetDiagnostics() []*Diagnostic
- func (x *VerifySatisfactionResponse) GetError() string
- func (x *VerifySatisfactionResponse) GetFailureReason() FailureReason
- func (x *VerifySatisfactionResponse) GetInstances() []*Instance
- func (x *VerifySatisfactionResponse) GetVerdicts() []*Verdict
- func (x *VerifySatisfactionResponse) GetVerificationVerdicts() []*VerificationVerdict
- func (*VerifySatisfactionResponse) ProtoMessage()
- func (x *VerifySatisfactionResponse) ProtoReflect() protoreflect.Message
- func (x *VerifySatisfactionResponse) Reset()
- func (x *VerifySatisfactionResponse) String() string
Constants ¶
const ( SysMLService_GetServerInfo_FullMethodName = "/sysml.SysMLService/GetServerInfo" SysMLService_ParseFile_FullMethodName = "/sysml.SysMLService/ParseFile" SysMLService_ParseSources_FullMethodName = "/sysml.SysMLService/ParseSources" SysMLService_GetSymbol_FullMethodName = "/sysml.SysMLService/GetSymbol" SysMLService_GetDiagnostics_FullMethodName = "/sysml.SysMLService/GetDiagnostics" SysMLService_Evaluate_FullMethodName = "/sysml.SysMLService/Evaluate" SysMLService_Instantiate_FullMethodName = "/sysml.SysMLService/Instantiate" SysMLService_ExecuteAction_FullMethodName = "/sysml.SysMLService/ExecuteAction" SysMLService_ExecuteState_FullMethodName = "/sysml.SysMLService/ExecuteState" SysMLService_Convert_FullMethodName = "/sysml.SysMLService/Convert" SysMLService_ApplyEdits_FullMethodName = "/sysml.SysMLService/ApplyEdits" SysMLService_VerifyConstraint_FullMethodName = "/sysml.SysMLService/VerifyConstraint" SysMLService_VerifyRequirement_FullMethodName = "/sysml.SysMLService/VerifyRequirement" SysMLService_VerifySatisfaction_FullMethodName = "/sysml.SysMLService/VerifySatisfaction" SysMLService_EvaluateCalc_FullMethodName = "/sysml.SysMLService/EvaluateCalc" SysMLService_RunAnalysis_FullMethodName = "/sysml.SysMLService/RunAnalysis" SysMLService_RunSweep_FullMethodName = "/sysml.SysMLService/RunSweep" SysMLService_ListEngines_FullMethodName = "/sysml.SysMLService/ListEngines" SysMLService_Query_FullMethodName = "/sysml.SysMLService/Query" SysMLService_RunDocumentQuery_FullMethodName = "/sysml.SysMLService/RunDocumentQuery" SysMLService_RenderDocument_FullMethodName = "/sysml.SysMLService/RenderDocument" )
Variables ¶
var ( FailureReason_name = map[int32]string{ 0: "FAILURE_REASON_UNSPECIFIED", 1: "FAILURE_REASON_EVALUATION", 2: "FAILURE_REASON_WRONG_KIND", 3: "FAILURE_REASON_AMBIGUOUS_SUBJECT", } FailureReason_value = map[string]int32{ "FAILURE_REASON_UNSPECIFIED": 0, "FAILURE_REASON_EVALUATION": 1, "FAILURE_REASON_WRONG_KIND": 2, "FAILURE_REASON_AMBIGUOUS_SUBJECT": 3, } )
Enum value maps for FailureReason.
var ( EditFailure_name = map[int32]string{ 0: "EDIT_FAILURE_UNSPECIFIED", 1: "EDIT_FAILURE_NO_OPERATIONS", 2: "EDIT_FAILURE_UNKNOWN_TARGET", 3: "EDIT_FAILURE_AMBIGUOUS_TARGET", 4: "EDIT_FAILURE_NOT_VALUED", 5: "EDIT_FAILURE_INVALID_VALUE", 6: "EDIT_FAILURE_INVALID_NAME", 7: "EDIT_FAILURE_NOT_NAMED", 8: "EDIT_FAILURE_RENAME_REFERENCED", 9: "EDIT_FAILURE_OVERLAPPING_EDITS", 10: "EDIT_FAILURE_RESULT_INVALID", 11: "EDIT_FAILURE_OWNER_UNKNOWN", 12: "EDIT_FAILURE_OWNER_NOT_NAMESPACE", 13: "EDIT_FAILURE_ILLEGAL_KIND", 14: "EDIT_FAILURE_MEMBER_NAME_TAKEN", 15: "EDIT_FAILURE_DELETE_REFERENCED", 16: "EDIT_FAILURE_OWNER_INSIDE_TARGET", 17: "EDIT_FAILURE_MOVE_REFERENCED", } EditFailure_value = map[string]int32{ "EDIT_FAILURE_UNSPECIFIED": 0, "EDIT_FAILURE_NO_OPERATIONS": 1, "EDIT_FAILURE_UNKNOWN_TARGET": 2, "EDIT_FAILURE_AMBIGUOUS_TARGET": 3, "EDIT_FAILURE_NOT_VALUED": 4, "EDIT_FAILURE_INVALID_VALUE": 5, "EDIT_FAILURE_INVALID_NAME": 6, "EDIT_FAILURE_NOT_NAMED": 7, "EDIT_FAILURE_RENAME_REFERENCED": 8, "EDIT_FAILURE_OVERLAPPING_EDITS": 9, "EDIT_FAILURE_RESULT_INVALID": 10, "EDIT_FAILURE_OWNER_UNKNOWN": 11, "EDIT_FAILURE_OWNER_NOT_NAMESPACE": 12, "EDIT_FAILURE_ILLEGAL_KIND": 13, "EDIT_FAILURE_MEMBER_NAME_TAKEN": 14, "EDIT_FAILURE_DELETE_REFERENCED": 15, "EDIT_FAILURE_OWNER_INSIDE_TARGET": 16, "EDIT_FAILURE_MOVE_REFERENCED": 17, } )
Enum value maps for EditFailure.
var ( PrimitiveOperator_name = map[int32]string{ 0: "PRIMITIVE_OPERATOR_UNSPECIFIED", 1: "PRIMITIVE_OPERATOR_EQUAL", 2: "PRIMITIVE_OPERATOR_GREATER", 3: "PRIMITIVE_OPERATOR_LESS", } PrimitiveOperator_value = map[string]int32{ "PRIMITIVE_OPERATOR_UNSPECIFIED": 0, "PRIMITIVE_OPERATOR_EQUAL": 1, "PRIMITIVE_OPERATOR_GREATER": 2, "PRIMITIVE_OPERATOR_LESS": 3, } )
Enum value maps for PrimitiveOperator.
var ( CompositeOperator_name = map[int32]string{ 0: "COMPOSITE_OPERATOR_UNSPECIFIED", 1: "COMPOSITE_OPERATOR_AND", 2: "COMPOSITE_OPERATOR_OR", } CompositeOperator_value = map[string]int32{ "COMPOSITE_OPERATOR_UNSPECIFIED": 0, "COMPOSITE_OPERATOR_AND": 1, "COMPOSITE_OPERATOR_OR": 2, } )
Enum value maps for CompositeOperator.
var File_sysml_proto protoreflect.FileDescriptor
var SysMLService_ServiceDesc = grpc.ServiceDesc{ ServiceName: "sysml.SysMLService", HandlerType: (*SysMLServiceServer)(nil), Methods: []grpc.MethodDesc{ { MethodName: "GetServerInfo", Handler: _SysMLService_GetServerInfo_Handler, }, { MethodName: "ParseFile", Handler: _SysMLService_ParseFile_Handler, }, { MethodName: "ParseSources", Handler: _SysMLService_ParseSources_Handler, }, { MethodName: "GetSymbol", Handler: _SysMLService_GetSymbol_Handler, }, { MethodName: "GetDiagnostics", Handler: _SysMLService_GetDiagnostics_Handler, }, { MethodName: "Evaluate", Handler: _SysMLService_Evaluate_Handler, }, { MethodName: "Instantiate", Handler: _SysMLService_Instantiate_Handler, }, { MethodName: "ExecuteAction", Handler: _SysMLService_ExecuteAction_Handler, }, { MethodName: "ExecuteState", Handler: _SysMLService_ExecuteState_Handler, }, { MethodName: "Convert", Handler: _SysMLService_Convert_Handler, }, { MethodName: "ApplyEdits", Handler: _SysMLService_ApplyEdits_Handler, }, { MethodName: "VerifyConstraint", Handler: _SysMLService_VerifyConstraint_Handler, }, { MethodName: "VerifyRequirement", Handler: _SysMLService_VerifyRequirement_Handler, }, { MethodName: "VerifySatisfaction", Handler: _SysMLService_VerifySatisfaction_Handler, }, { MethodName: "EvaluateCalc", Handler: _SysMLService_EvaluateCalc_Handler, }, { MethodName: "RunAnalysis", Handler: _SysMLService_RunAnalysis_Handler, }, { MethodName: "RunSweep", Handler: _SysMLService_RunSweep_Handler, }, { MethodName: "ListEngines", Handler: _SysMLService_ListEngines_Handler, }, { MethodName: "Query", Handler: _SysMLService_Query_Handler, }, { MethodName: "RunDocumentQuery", Handler: _SysMLService_RunDocumentQuery_Handler, }, { MethodName: "RenderDocument", Handler: _SysMLService_RenderDocument_Handler, }, }, Streams: []grpc.StreamDesc{}, Metadata: "sysml.proto", }
SysMLService_ServiceDesc is the grpc.ServiceDesc for SysMLService service. It's only intended for direct use with grpc.RegisterService, and not to be introspected or modified (even as a copy)
Functions ¶
func RegisterSysMLServiceServer ¶
func RegisterSysMLServiceServer(s grpc.ServiceRegistrar, srv SysMLServiceServer)
Types ¶
type AddMemberEdit ¶ added in v0.2.0
type AddMemberEdit struct {
// Namespace FQN to receive the declaration; empty means the document root.
Owner string `protobuf:"bytes,1,opt,name=owner,proto3" json:"owner,omitempty"`
// Written declaration kind, such as "part def" or "class".
Kind string `protobuf:"bytes,2,opt,name=kind,proto3" json:"kind,omitempty"`
// Declared identifier.
Name string `protobuf:"bytes,3,opt,name=name,proto3" json:"name,omitempty"`
// Optional type target for a usage, written as notation.
Type string `protobuf:"bytes,4,opt,name=type,proto3" json:"type,omitempty"`
// Optional multiplicity, including brackets, such as "[0..*]".
Multiplicity string `protobuf:"bytes,5,opt,name=multiplicity,proto3" json:"multiplicity,omitempty"`
// Optional value expression, written as notation.
Value string `protobuf:"bytes,6,opt,name=value,proto3" json:"value,omitempty"`
// Optional specialization targets for a definition.
Specializes []string `protobuf:"bytes,7,rep,name=specializes,proto3" json:"specializes,omitempty"`
// contains filtered or unexported fields
}
AddMemberEdit inserts a declaration into a namespace or the document root.
func (*AddMemberEdit) Descriptor
deprecated
added in
v0.2.0
func (*AddMemberEdit) Descriptor() ([]byte, []int)
Deprecated: Use AddMemberEdit.ProtoReflect.Descriptor instead.
func (*AddMemberEdit) GetKind ¶ added in v0.2.0
func (x *AddMemberEdit) GetKind() string
func (*AddMemberEdit) GetMultiplicity ¶ added in v0.2.0
func (x *AddMemberEdit) GetMultiplicity() string
func (*AddMemberEdit) GetName ¶ added in v0.2.0
func (x *AddMemberEdit) GetName() string
func (*AddMemberEdit) GetOwner ¶ added in v0.2.0
func (x *AddMemberEdit) GetOwner() string
func (*AddMemberEdit) GetSpecializes ¶ added in v0.2.0
func (x *AddMemberEdit) GetSpecializes() []string
func (*AddMemberEdit) GetType ¶ added in v0.2.0
func (x *AddMemberEdit) GetType() string
func (*AddMemberEdit) GetValue ¶ added in v0.2.0
func (x *AddMemberEdit) GetValue() string
func (*AddMemberEdit) ProtoMessage ¶ added in v0.2.0
func (*AddMemberEdit) ProtoMessage()
func (*AddMemberEdit) ProtoReflect ¶ added in v0.2.0
func (x *AddMemberEdit) ProtoReflect() protoreflect.Message
func (*AddMemberEdit) Reset ¶ added in v0.2.0
func (x *AddMemberEdit) Reset()
func (*AddMemberEdit) String ¶ added in v0.2.0
func (x *AddMemberEdit) String() string
type AppliedEdit ¶
type AppliedEdit struct {
// Index of the operation in the request, so an answer maps back to its ask.
OperationIndex int32 `protobuf:"varint,1,opt,name=operation_index,json=operationIndex,proto3" json:"operation_index,omitempty"`
Target string `protobuf:"bytes,2,opt,name=target,proto3" json:"target,omitempty"` // element edited, as the request named it
// Batch offsets use the original source; sequential offsets use the
// intermediate source seen by that operation.
Offset int32 `protobuf:"varint,3,opt,name=offset,proto3" json:"offset,omitempty"`
Length int32 `protobuf:"varint,4,opt,name=length,proto3" json:"length,omitempty"` // bytes replaced; zero for text inserted
OldText string `protobuf:"bytes,5,opt,name=old_text,json=oldText,proto3" json:"old_text,omitempty"` // what was there, empty for an insertion
NewText string `protobuf:"bytes,6,opt,name=new_text,json=newText,proto3" json:"new_text,omitempty"` // what was written
// contains filtered or unexported fields
}
AppliedEdit is one byte range of the original source that an operation replaced, so a client can report or locate what changed.
func (*AppliedEdit) Descriptor
deprecated
func (*AppliedEdit) Descriptor() ([]byte, []int)
Deprecated: Use AppliedEdit.ProtoReflect.Descriptor instead.
func (*AppliedEdit) GetLength ¶
func (x *AppliedEdit) GetLength() int32
func (*AppliedEdit) GetNewText ¶
func (x *AppliedEdit) GetNewText() string
func (*AppliedEdit) GetOffset ¶
func (x *AppliedEdit) GetOffset() int32
func (*AppliedEdit) GetOldText ¶
func (x *AppliedEdit) GetOldText() string
func (*AppliedEdit) GetOperationIndex ¶
func (x *AppliedEdit) GetOperationIndex() int32
func (*AppliedEdit) GetTarget ¶
func (x *AppliedEdit) GetTarget() string
func (*AppliedEdit) ProtoMessage ¶
func (*AppliedEdit) ProtoMessage()
func (*AppliedEdit) ProtoReflect ¶
func (x *AppliedEdit) ProtoReflect() protoreflect.Message
func (*AppliedEdit) Reset ¶
func (x *AppliedEdit) Reset()
func (*AppliedEdit) String ¶
func (x *AppliedEdit) String() string
type ApplyEditsRequest ¶
type ApplyEditsRequest struct {
ModelHash string `protobuf:"bytes,1,opt,name=model_hash,json=modelHash,proto3" json:"model_hash,omitempty"` // from ParseFile response
// Edits to apply, all of them or none. Empty is rejected: it names no edit,
// and answering with the unedited source would look like one was made.
Operations []*EditOperation `protobuf:"bytes,2,rep,name=operations,proto3" json:"operations,omitempty"`
// contains filtered or unexported fields
}
ApplyEditsRequest asks for a model's source with edits applied to it. The source edited is the one parse read, named by its hash, so an edit is applied to the model that was inspected.
func (*ApplyEditsRequest) Descriptor
deprecated
func (*ApplyEditsRequest) Descriptor() ([]byte, []int)
Deprecated: Use ApplyEditsRequest.ProtoReflect.Descriptor instead.
func (*ApplyEditsRequest) GetModelHash ¶
func (x *ApplyEditsRequest) GetModelHash() string
func (*ApplyEditsRequest) GetOperations ¶
func (x *ApplyEditsRequest) GetOperations() []*EditOperation
func (*ApplyEditsRequest) ProtoMessage ¶
func (*ApplyEditsRequest) ProtoMessage()
func (*ApplyEditsRequest) ProtoReflect ¶
func (x *ApplyEditsRequest) ProtoReflect() protoreflect.Message
func (*ApplyEditsRequest) Reset ¶
func (x *ApplyEditsRequest) Reset()
func (*ApplyEditsRequest) String ¶
func (x *ApplyEditsRequest) String() string
type ApplyEditsResponse ¶
type ApplyEditsResponse struct {
// The edited notation, byte-identical to the source outside the edited spans.
// Empty when the edits were refused, so a refusal never writes a file.
Content string `protobuf:"bytes,1,opt,name=content,proto3" json:"content,omitempty"`
// What each operation changed, in request order.
Applied []*AppliedEdit `protobuf:"bytes,2,rep,name=applied,proto3" json:"applied,omitempty"`
Error string `protobuf:"bytes,3,opt,name=error,proto3" json:"error,omitempty"` // non-empty if the edits were refused; content is unset
// Which kind of refusal `error` reports, so a client acts on the kind rather
// than on the message text.
Failure EditFailure `protobuf:"varint,4,opt,name=failure,proto3,enum=sysml.EditFailure" json:"failure,omitempty"`
// Diagnostics behind a refusal: the parse errors of an unreadable new value,
// or the errors the edited source was found to have.
Diagnostics []*Diagnostic `protobuf:"bytes,5,rep,name=diagnostics,proto3" json:"diagnostics,omitempty"`
// Where the references to a declaration whose rename was refused are made:
// the FQN of each referring namespace.
ReferringElements []string `protobuf:"bytes,6,rep,name=referring_elements,json=referringElements,proto3" json:"referring_elements,omitempty"`
// contains filtered or unexported fields
}
ApplyEditsResponse carries the edited source, or says why nothing was edited.
func (*ApplyEditsResponse) Descriptor
deprecated
func (*ApplyEditsResponse) Descriptor() ([]byte, []int)
Deprecated: Use ApplyEditsResponse.ProtoReflect.Descriptor instead.
func (*ApplyEditsResponse) GetApplied ¶
func (x *ApplyEditsResponse) GetApplied() []*AppliedEdit
func (*ApplyEditsResponse) GetContent ¶
func (x *ApplyEditsResponse) GetContent() string
func (*ApplyEditsResponse) GetDiagnostics ¶
func (x *ApplyEditsResponse) GetDiagnostics() []*Diagnostic
func (*ApplyEditsResponse) GetError ¶
func (x *ApplyEditsResponse) GetError() string
func (*ApplyEditsResponse) GetFailure ¶
func (x *ApplyEditsResponse) GetFailure() EditFailure
func (*ApplyEditsResponse) GetReferringElements ¶
func (x *ApplyEditsResponse) GetReferringElements() []string
func (*ApplyEditsResponse) ProtoMessage ¶
func (*ApplyEditsResponse) ProtoMessage()
func (*ApplyEditsResponse) ProtoReflect ¶
func (x *ApplyEditsResponse) ProtoReflect() protoreflect.Message
func (*ApplyEditsResponse) Reset ¶
func (x *ApplyEditsResponse) Reset()
func (*ApplyEditsResponse) String ¶
func (x *ApplyEditsResponse) String() string
type Array ¶ added in v0.6.0
type Array struct {
// Positive extents, one per rank; their product (one for rank 0) is how many
// elements there are, and an array not filling them is rejected.
Dimensions []int64 `protobuf:"varint,1,rep,packed,name=dimensions,proto3" json:"dimensions,omitempty"`
// Any Value each, so an array of quantities or of arrays crosses as such.
Elements []*Value `protobuf:"bytes,2,rep,name=elements,proto3" json:"elements,omitempty"`
// contains filtered or unexported fields
}
Array is a Collections::Array: its elements flattened in row-major order under its dimensions, compared by content rather than by the object read.
func (*Array) Descriptor
deprecated
added in
v0.6.0
func (*Array) GetDimensions ¶ added in v0.6.0
func (*Array) GetElements ¶ added in v0.6.0
func (*Array) ProtoMessage ¶ added in v0.6.0
func (*Array) ProtoMessage()
func (*Array) ProtoReflect ¶ added in v0.6.0
func (x *Array) ProtoReflect() protoreflect.Message
type AttributeInfo ¶
type AttributeInfo struct {
Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
Type string `protobuf:"bytes,2,opt,name=type,proto3" json:"type,omitempty"`
Value *Value `protobuf:"bytes,3,opt,name=value,proto3" json:"value,omitempty"`
Unit string `protobuf:"bytes,4,opt,name=unit,proto3" json:"unit,omitempty"`
// contains filtered or unexported fields
}
AttributeInfo represents an attribute with its value
func (*AttributeInfo) Descriptor
deprecated
func (*AttributeInfo) Descriptor() ([]byte, []int)
Deprecated: Use AttributeInfo.ProtoReflect.Descriptor instead.
func (*AttributeInfo) GetName ¶
func (x *AttributeInfo) GetName() string
func (*AttributeInfo) GetType ¶
func (x *AttributeInfo) GetType() string
func (*AttributeInfo) GetUnit ¶
func (x *AttributeInfo) GetUnit() string
func (*AttributeInfo) GetValue ¶
func (x *AttributeInfo) GetValue() *Value
func (*AttributeInfo) ProtoMessage ¶
func (*AttributeInfo) ProtoMessage()
func (*AttributeInfo) ProtoReflect ¶
func (x *AttributeInfo) ProtoReflect() protoreflect.Message
func (*AttributeInfo) Reset ¶
func (x *AttributeInfo) Reset()
func (*AttributeInfo) String ¶
func (x *AttributeInfo) String() string
type Bound ¶ added in v0.8.0
type Bound struct {
// The bound's name as the budget spells it: "runs", "depth", "steps",
// "elements", "solver", "configurations".
Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
// The value the run was held to.
Limit int64 `protobuf:"varint,2,opt,name=limit,proto3" json:"limit,omitempty"`
// True when the run stopped at the limit rather than finishing within it,
// which is what lowers a verdict's strength.
Reached bool `protobuf:"varint,3,opt,name=reached,proto3" json:"reached,omitempty"`
// contains filtered or unexported fields
}
Bound is one limit an engine ran under, as its plan names it: a count, or milliseconds for a time, and whether the run stopped at it.
func (*Bound) Descriptor
deprecated
added in
v0.8.0
func (*Bound) GetReached ¶ added in v0.8.0
func (*Bound) ProtoMessage ¶ added in v0.8.0
func (*Bound) ProtoMessage()
func (*Bound) ProtoReflect ¶ added in v0.8.0
func (x *Bound) ProtoReflect() protoreflect.Message
type CalcOutput ¶
type CalcOutput struct {
Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
Value *Value `protobuf:"bytes,2,opt,name=value,proto3" json:"value,omitempty"`
// contains filtered or unexported fields
}
CalcOutput is one output feature a calc usage computed.
func (*CalcOutput) Descriptor
deprecated
func (*CalcOutput) Descriptor() ([]byte, []int)
Deprecated: Use CalcOutput.ProtoReflect.Descriptor instead.
func (*CalcOutput) GetName ¶
func (x *CalcOutput) GetName() string
func (*CalcOutput) GetValue ¶
func (x *CalcOutput) GetValue() *Value
func (*CalcOutput) ProtoMessage ¶
func (*CalcOutput) ProtoMessage()
func (*CalcOutput) ProtoReflect ¶
func (x *CalcOutput) ProtoReflect() protoreflect.Message
func (*CalcOutput) Reset ¶
func (x *CalcOutput) Reset()
func (*CalcOutput) String ¶
func (x *CalcOutput) String() string
type CaseEvaluation ¶ added in v0.7.0
type CaseEvaluation struct {
// FQN of the calc applied.
FunctionId string `protobuf:"bytes,1,opt,name=function_id,json=functionId,proto3" json:"function_id,omitempty"`
// What it was applied to, in parameter order; an alternative is an instance_id.
Arguments []*Value `protobuf:"bytes,2,rep,name=arguments,proto3" json:"arguments,omitempty"`
// What it computed; unset when `error` says why it computed nothing.
Result *Value `protobuf:"bytes,3,opt,name=result,proto3" json:"result,omitempty"`
Error string `protobuf:"bytes,4,opt,name=error,proto3" json:"error,omitempty"`
// Set on the evaluation whose argument `selectOne` picked and the case
// returned: the alternative a trade study selected. A result that merely
// equals an argument selects nothing.
Selected bool `protobuf:"varint,5,opt,name=selected,proto3" json:"selected,omitempty"`
// Set on an evaluation computing what the selected one did without being
// selected: an alternative `selectOne` passed over for an earlier one
// evaluating alike.
Tied bool `protobuf:"varint,6,opt,name=tied,proto3" json:"tied,omitempty"`
// contains filtered or unexported fields
}
CaseEvaluation is one application an analysis case made of one of its own calcs held as a function value: a trade study's evaluationFunction applied to one alternative. Reported as the "case_evaluations" capability.
func (*CaseEvaluation) Descriptor
deprecated
added in
v0.7.0
func (*CaseEvaluation) Descriptor() ([]byte, []int)
Deprecated: Use CaseEvaluation.ProtoReflect.Descriptor instead.
func (*CaseEvaluation) GetArguments ¶ added in v0.7.0
func (x *CaseEvaluation) GetArguments() []*Value
func (*CaseEvaluation) GetError ¶ added in v0.7.0
func (x *CaseEvaluation) GetError() string
func (*CaseEvaluation) GetFunctionId ¶ added in v0.7.0
func (x *CaseEvaluation) GetFunctionId() string
func (*CaseEvaluation) GetResult ¶ added in v0.7.0
func (x *CaseEvaluation) GetResult() *Value
func (*CaseEvaluation) GetSelected ¶ added in v0.7.0
func (x *CaseEvaluation) GetSelected() bool
func (*CaseEvaluation) GetTied ¶ added in v0.7.0
func (x *CaseEvaluation) GetTied() bool
func (*CaseEvaluation) ProtoMessage ¶ added in v0.7.0
func (*CaseEvaluation) ProtoMessage()
func (*CaseEvaluation) ProtoReflect ¶ added in v0.7.0
func (x *CaseEvaluation) ProtoReflect() protoreflect.Message
func (*CaseEvaluation) Reset ¶ added in v0.7.0
func (x *CaseEvaluation) Reset()
func (*CaseEvaluation) String ¶ added in v0.7.0
func (x *CaseEvaluation) String() string
type Complex ¶ added in v0.5.0
type Complex struct {
Real float64 `protobuf:"fixed64,1,opt,name=real,proto3" json:"real,omitempty"`
Imaginary float64 `protobuf:"fixed64,2,opt,name=imaginary,proto3" json:"imaginary,omitempty"`
// contains filtered or unexported fields
}
Complex is one complex number in rectangular form. It crosses as one value so `1.0 + 2.0i` cannot be mistaken for a sequence of two Reals.
func (*Complex) Descriptor
deprecated
added in
v0.5.0
func (*Complex) GetImaginary ¶ added in v0.5.0
func (*Complex) ProtoMessage ¶ added in v0.5.0
func (*Complex) ProtoMessage()
func (*Complex) ProtoReflect ¶ added in v0.5.0
func (x *Complex) ProtoReflect() protoreflect.Message
type CompositeConstraint ¶
type CompositeConstraint struct {
Operator CompositeOperator `protobuf:"varint,1,opt,name=operator,proto3,enum=sysml.CompositeOperator" json:"operator,omitempty"`
Constraint []*Constraint `protobuf:"bytes,2,rep,name=constraint,proto3" json:"constraint,omitempty"`
// contains filtered or unexported fields
}
CompositeConstraint combines constraints. An empty constraint list fails the call: it has no defensible verdict.
func (*CompositeConstraint) Descriptor
deprecated
func (*CompositeConstraint) Descriptor() ([]byte, []int)
Deprecated: Use CompositeConstraint.ProtoReflect.Descriptor instead.
func (*CompositeConstraint) GetConstraint ¶
func (x *CompositeConstraint) GetConstraint() []*Constraint
func (*CompositeConstraint) GetOperator ¶
func (x *CompositeConstraint) GetOperator() CompositeOperator
func (*CompositeConstraint) ProtoMessage ¶
func (*CompositeConstraint) ProtoMessage()
func (*CompositeConstraint) ProtoReflect ¶
func (x *CompositeConstraint) ProtoReflect() protoreflect.Message
func (*CompositeConstraint) Reset ¶
func (x *CompositeConstraint) Reset()
func (*CompositeConstraint) String ¶
func (x *CompositeConstraint) String() string
type CompositeOperator ¶
type CompositeOperator int32
CompositeOperator is the standard's CompositeConstraint.operator.
const ( CompositeOperator_COMPOSITE_OPERATOR_UNSPECIFIED CompositeOperator = 0 // unset; fails the call CompositeOperator_COMPOSITE_OPERATOR_AND CompositeOperator = 1 // "and" CompositeOperator_COMPOSITE_OPERATOR_OR CompositeOperator = 2 // "or" )
func (CompositeOperator) Descriptor ¶
func (CompositeOperator) Descriptor() protoreflect.EnumDescriptor
func (CompositeOperator) Enum ¶
func (x CompositeOperator) Enum() *CompositeOperator
func (CompositeOperator) EnumDescriptor
deprecated
func (CompositeOperator) EnumDescriptor() ([]byte, []int)
Deprecated: Use CompositeOperator.Descriptor instead.
func (CompositeOperator) Number ¶
func (x CompositeOperator) Number() protoreflect.EnumNumber
func (CompositeOperator) String ¶
func (x CompositeOperator) String() string
func (CompositeOperator) Type ¶
func (CompositeOperator) Type() protoreflect.EnumType
type Constraint ¶
type Constraint struct {
// Types that are valid to be assigned to Constraint:
//
// *Constraint_Primitive
// *Constraint_Composite
Constraint isConstraint_Constraint `protobuf_oneof:"constraint"`
// contains filtered or unexported fields
}
Constraint is the standard's Constraint, whose `@type` discriminates between its two forms. On the wire the form is the oneof arm, not a type tag.
func (*Constraint) Descriptor
deprecated
func (*Constraint) Descriptor() ([]byte, []int)
Deprecated: Use Constraint.ProtoReflect.Descriptor instead.
func (*Constraint) GetComposite ¶
func (x *Constraint) GetComposite() *CompositeConstraint
func (*Constraint) GetConstraint ¶
func (x *Constraint) GetConstraint() isConstraint_Constraint
func (*Constraint) GetPrimitive ¶
func (x *Constraint) GetPrimitive() *PrimitiveConstraint
func (*Constraint) ProtoMessage ¶
func (*Constraint) ProtoMessage()
func (*Constraint) ProtoReflect ¶
func (x *Constraint) ProtoReflect() protoreflect.Message
func (*Constraint) Reset ¶
func (x *Constraint) Reset()
func (*Constraint) String ¶
func (x *Constraint) String() string
type Constraint_Composite ¶
type Constraint_Composite struct {
Composite *CompositeConstraint `protobuf:"bytes,2,opt,name=composite,proto3,oneof"`
}
type Constraint_Primitive ¶
type Constraint_Primitive struct {
Primitive *PrimitiveConstraint `protobuf:"bytes,1,opt,name=primitive,proto3,oneof"`
}
type ConvertRequest ¶
type ConvertRequest struct {
// Types that are valid to be assigned to Source:
//
// *ConvertRequest_FilePath
// *ConvertRequest_Content
// *ConvertRequest_ModelHash
Source isConvertRequest_Source `protobuf_oneof:"source"`
// "sysml", "kerml", "text", "ttl", "turtle" or "rdf". Empty infers from
// file_path's extension, and is notation for a model_hash, since that is what
// parse reads; inline content has neither, so it must say.
FromFormat string `protobuf:"bytes,3,opt,name=from_format,json=fromFormat,proto3" json:"from_format,omitempty"`
// Format to write, named as in from_format. Empty is rejected.
ToFormat string `protobuf:"bytes,4,opt,name=to_format,json=toFormat,proto3" json:"to_format,omitempty"`
// Write notation back out even when the parser could not read all of it,
// reporting its syntax errors as diagnostics. Notation to notation only:
// every other direction builds a graph, where unreadable declarations would
// go missing silently.
TolerateSyntaxErrors bool `protobuf:"varint,5,opt,name=tolerate_syntax_errors,json=tolerateSyntaxErrors,proto3" json:"tolerate_syntax_errors,omitempty"`
// contains filtered or unexported fields
}
ConvertRequest asks for a model in another representation. A model_hash converts the source that parse read, so a file edited since then does not change the answer; a file_path is read afresh and content is carried inline.
func (*ConvertRequest) Descriptor
deprecated
func (*ConvertRequest) Descriptor() ([]byte, []int)
Deprecated: Use ConvertRequest.ProtoReflect.Descriptor instead.
func (*ConvertRequest) GetContent ¶
func (x *ConvertRequest) GetContent() string
func (*ConvertRequest) GetFilePath ¶
func (x *ConvertRequest) GetFilePath() string
func (*ConvertRequest) GetFromFormat ¶
func (x *ConvertRequest) GetFromFormat() string
func (*ConvertRequest) GetModelHash ¶
func (x *ConvertRequest) GetModelHash() string
func (*ConvertRequest) GetSource ¶
func (x *ConvertRequest) GetSource() isConvertRequest_Source
func (*ConvertRequest) GetToFormat ¶
func (x *ConvertRequest) GetToFormat() string
func (*ConvertRequest) GetTolerateSyntaxErrors ¶
func (x *ConvertRequest) GetTolerateSyntaxErrors() bool
func (*ConvertRequest) ProtoMessage ¶
func (*ConvertRequest) ProtoMessage()
func (*ConvertRequest) ProtoReflect ¶
func (x *ConvertRequest) ProtoReflect() protoreflect.Message
func (*ConvertRequest) Reset ¶
func (x *ConvertRequest) Reset()
func (*ConvertRequest) String ¶
func (x *ConvertRequest) String() string
type ConvertRequest_Content ¶
type ConvertRequest_Content struct {
Content string `protobuf:"bytes,2,opt,name=content,proto3,oneof"`
}
type ConvertRequest_FilePath ¶
type ConvertRequest_FilePath struct {
FilePath string `protobuf:"bytes,1,opt,name=file_path,json=filePath,proto3,oneof"`
}
type ConvertRequest_ModelHash ¶
type ConvertRequest_ModelHash struct {
ModelHash string `protobuf:"bytes,6,opt,name=model_hash,json=modelHash,proto3,oneof"`
}
type ConvertResponse ¶
type ConvertResponse struct {
Content string `protobuf:"bytes,1,opt,name=content,proto3" json:"content,omitempty"`
// Formats used, so a caller that let from_format be inferred learns what it
// was inferred as.
FromFormat string `protobuf:"bytes,2,opt,name=from_format,json=fromFormat,proto3" json:"from_format,omitempty"`
ToFormat string `protobuf:"bytes,3,opt,name=to_format,json=toFormat,proto3" json:"to_format,omitempty"`
Error string `protobuf:"bytes,4,opt,name=error,proto3" json:"error,omitempty"` // non-empty if the conversion failed; content is unset
// Syntax errors tolerated under tolerate_syntax_errors, or those that failed
// the conversion.
Diagnostics []*Diagnostic `protobuf:"bytes,5,rep,name=diagnostics,proto3" json:"diagnostics,omitempty"`
// Set when either format is RDF, whose mapping is experimental: it covers
// model structure and the behavior its bodies state, refuses what it cannot
// write back, and its vocabulary may change without a compatibility path.
// Notation to notation is stable and leaves this unset.
Experimental bool `protobuf:"varint,6,opt,name=experimental,proto3" json:"experimental,omitempty"`
// What is experimental about the conversion, in the wording every surface
// reports it in. Empty when experimental is false.
ExperimentalNotice string `protobuf:"bytes,7,opt,name=experimental_notice,json=experimentalNotice,proto3" json:"experimental_notice,omitempty"`
// contains filtered or unexported fields
}
ConvertResponse contains the converted model.
func (*ConvertResponse) Descriptor
deprecated
func (*ConvertResponse) Descriptor() ([]byte, []int)
Deprecated: Use ConvertResponse.ProtoReflect.Descriptor instead.
func (*ConvertResponse) GetContent ¶
func (x *ConvertResponse) GetContent() string
func (*ConvertResponse) GetDiagnostics ¶
func (x *ConvertResponse) GetDiagnostics() []*Diagnostic
func (*ConvertResponse) GetError ¶
func (x *ConvertResponse) GetError() string
func (*ConvertResponse) GetExperimental ¶
func (x *ConvertResponse) GetExperimental() bool
func (*ConvertResponse) GetExperimentalNotice ¶
func (x *ConvertResponse) GetExperimentalNotice() string
func (*ConvertResponse) GetFromFormat ¶
func (x *ConvertResponse) GetFromFormat() string
func (*ConvertResponse) GetToFormat ¶
func (x *ConvertResponse) GetToFormat() string
func (*ConvertResponse) ProtoMessage ¶
func (*ConvertResponse) ProtoMessage()
func (*ConvertResponse) ProtoReflect ¶
func (x *ConvertResponse) ProtoReflect() protoreflect.Message
func (*ConvertResponse) Reset ¶
func (x *ConvertResponse) Reset()
func (*ConvertResponse) String ¶
func (x *ConvertResponse) String() string
type DeleteEdit ¶ added in v0.2.0
type DeleteEdit struct {
// Fully qualified name of the declaration to remove.
Target string `protobuf:"bytes,1,opt,name=target,proto3" json:"target,omitempty"`
// Also remove declarations that refer to target.
Cascade bool `protobuf:"varint,2,opt,name=cascade,proto3" json:"cascade,omitempty"`
// contains filtered or unexported fields
}
DeleteEdit removes a declaration and its owned trivia.
func (*DeleteEdit) Descriptor
deprecated
added in
v0.2.0
func (*DeleteEdit) Descriptor() ([]byte, []int)
Deprecated: Use DeleteEdit.ProtoReflect.Descriptor instead.
func (*DeleteEdit) GetCascade ¶ added in v0.2.0
func (x *DeleteEdit) GetCascade() bool
func (*DeleteEdit) GetTarget ¶ added in v0.2.0
func (x *DeleteEdit) GetTarget() string
func (*DeleteEdit) ProtoMessage ¶ added in v0.2.0
func (*DeleteEdit) ProtoMessage()
func (*DeleteEdit) ProtoReflect ¶ added in v0.2.0
func (x *DeleteEdit) ProtoReflect() protoreflect.Message
func (*DeleteEdit) Reset ¶ added in v0.2.0
func (x *DeleteEdit) Reset()
func (*DeleteEdit) String ¶ added in v0.2.0
func (x *DeleteEdit) String() string
type Diagnostic ¶
type Diagnostic struct {
Severity string `protobuf:"bytes,1,opt,name=severity,proto3" json:"severity,omitempty"` // "error", "warning", "info"
Message string `protobuf:"bytes,2,opt,name=message,proto3" json:"message,omitempty"`
Span *Span `protobuf:"bytes,3,opt,name=span,proto3" json:"span,omitempty"`
// Stable identifier to branch on instead of the message: a pass or rule code,
// "syntax", "choice-point", "guard-unevaluable"; empty when none was assigned.
Code string `protobuf:"bytes,4,opt,name=code,proto3" json:"code,omitempty"`
// contains filtered or unexported fields
}
Diagnostic represents a parse/semantic error or warning
func (*Diagnostic) Descriptor
deprecated
func (*Diagnostic) Descriptor() ([]byte, []int)
Deprecated: Use Diagnostic.ProtoReflect.Descriptor instead.
func (*Diagnostic) GetCode ¶ added in v0.7.0
func (x *Diagnostic) GetCode() string
func (*Diagnostic) GetMessage ¶
func (x *Diagnostic) GetMessage() string
func (*Diagnostic) GetSeverity ¶
func (x *Diagnostic) GetSeverity() string
func (*Diagnostic) GetSpan ¶
func (x *Diagnostic) GetSpan() *Span
func (*Diagnostic) ProtoMessage ¶
func (*Diagnostic) ProtoMessage()
func (*Diagnostic) ProtoReflect ¶
func (x *Diagnostic) ProtoReflect() protoreflect.Message
func (*Diagnostic) Reset ¶
func (x *Diagnostic) Reset()
func (*Diagnostic) String ¶
func (x *Diagnostic) String() string
type DiagnosticsRequest ¶
type DiagnosticsRequest struct {
ModelHash string `protobuf:"bytes,1,opt,name=model_hash,json=modelHash,proto3" json:"model_hash,omitempty"`
// contains filtered or unexported fields
}
DiagnosticsRequest gets all diagnostics for a model
func (*DiagnosticsRequest) Descriptor
deprecated
func (*DiagnosticsRequest) Descriptor() ([]byte, []int)
Deprecated: Use DiagnosticsRequest.ProtoReflect.Descriptor instead.
func (*DiagnosticsRequest) GetModelHash ¶
func (x *DiagnosticsRequest) GetModelHash() string
func (*DiagnosticsRequest) ProtoMessage ¶
func (*DiagnosticsRequest) ProtoMessage()
func (*DiagnosticsRequest) ProtoReflect ¶
func (x *DiagnosticsRequest) ProtoReflect() protoreflect.Message
func (*DiagnosticsRequest) Reset ¶
func (x *DiagnosticsRequest) Reset()
func (*DiagnosticsRequest) String ¶
func (x *DiagnosticsRequest) String() string
type DiagnosticsResponse ¶
type DiagnosticsResponse struct {
Diagnostics []*Diagnostic `protobuf:"bytes,1,rep,name=diagnostics,proto3" json:"diagnostics,omitempty"`
Error string `protobuf:"bytes,2,opt,name=error,proto3" json:"error,omitempty"`
// contains filtered or unexported fields
}
DiagnosticsResponse contains diagnostic list
func (*DiagnosticsResponse) Descriptor
deprecated
func (*DiagnosticsResponse) Descriptor() ([]byte, []int)
Deprecated: Use DiagnosticsResponse.ProtoReflect.Descriptor instead.
func (*DiagnosticsResponse) GetDiagnostics ¶
func (x *DiagnosticsResponse) GetDiagnostics() []*Diagnostic
func (*DiagnosticsResponse) GetError ¶
func (x *DiagnosticsResponse) GetError() string
func (*DiagnosticsResponse) ProtoMessage ¶
func (*DiagnosticsResponse) ProtoMessage()
func (*DiagnosticsResponse) ProtoReflect ¶
func (x *DiagnosticsResponse) ProtoReflect() protoreflect.Message
func (*DiagnosticsResponse) Reset ¶
func (x *DiagnosticsResponse) Reset()
func (*DiagnosticsResponse) String ¶
func (x *DiagnosticsResponse) String() string
type DocumentQueryBinding ¶ added in v0.4.2
type DocumentQueryBinding struct {
Parameter string `protobuf:"bytes,1,opt,name=parameter,proto3" json:"parameter,omitempty"`
Values []*DocumentValue `protobuf:"bytes,2,rep,name=values,proto3" json:"values,omitempty"`
// contains filtered or unexported fields
}
DocumentQueryBinding binds one entry parameter of a document query.
func (*DocumentQueryBinding) Descriptor
deprecated
added in
v0.4.2
func (*DocumentQueryBinding) Descriptor() ([]byte, []int)
Deprecated: Use DocumentQueryBinding.ProtoReflect.Descriptor instead.
func (*DocumentQueryBinding) GetParameter ¶ added in v0.4.2
func (x *DocumentQueryBinding) GetParameter() string
func (*DocumentQueryBinding) GetValues ¶ added in v0.4.2
func (x *DocumentQueryBinding) GetValues() []*DocumentValue
func (*DocumentQueryBinding) ProtoMessage ¶ added in v0.4.2
func (*DocumentQueryBinding) ProtoMessage()
func (*DocumentQueryBinding) ProtoReflect ¶ added in v0.4.2
func (x *DocumentQueryBinding) ProtoReflect() protoreflect.Message
func (*DocumentQueryBinding) Reset ¶ added in v0.4.2
func (x *DocumentQueryBinding) Reset()
func (*DocumentQueryBinding) String ¶ added in v0.4.2
func (x *DocumentQueryBinding) String() string
type DocumentQueryCell ¶ added in v0.4.2
type DocumentQueryCell struct {
Values []*DocumentValue `protobuf:"bytes,1,rep,name=values,proto3" json:"values,omitempty"`
// contains filtered or unexported fields
}
DocumentQueryCell is one row's values for one column, in the query's order.
func (*DocumentQueryCell) Descriptor
deprecated
added in
v0.4.2
func (*DocumentQueryCell) Descriptor() ([]byte, []int)
Deprecated: Use DocumentQueryCell.ProtoReflect.Descriptor instead.
func (*DocumentQueryCell) GetValues ¶ added in v0.4.2
func (x *DocumentQueryCell) GetValues() []*DocumentValue
func (*DocumentQueryCell) ProtoMessage ¶ added in v0.4.2
func (*DocumentQueryCell) ProtoMessage()
func (*DocumentQueryCell) ProtoReflect ¶ added in v0.4.2
func (x *DocumentQueryCell) ProtoReflect() protoreflect.Message
func (*DocumentQueryCell) Reset ¶ added in v0.4.2
func (x *DocumentQueryCell) Reset()
func (*DocumentQueryCell) String ¶ added in v0.4.2
func (x *DocumentQueryCell) String() string
type DocumentQueryColumn ¶ added in v0.4.2
type DocumentQueryColumn struct {
Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
// contains filtered or unexported fields
}
DocumentQueryColumn is one projected property, in projection order.
func (*DocumentQueryColumn) Descriptor
deprecated
added in
v0.4.2
func (*DocumentQueryColumn) Descriptor() ([]byte, []int)
Deprecated: Use DocumentQueryColumn.ProtoReflect.Descriptor instead.
func (*DocumentQueryColumn) GetName ¶ added in v0.4.2
func (x *DocumentQueryColumn) GetName() string
func (*DocumentQueryColumn) ProtoMessage ¶ added in v0.4.2
func (*DocumentQueryColumn) ProtoMessage()
func (*DocumentQueryColumn) ProtoReflect ¶ added in v0.4.2
func (x *DocumentQueryColumn) ProtoReflect() protoreflect.Message
func (*DocumentQueryColumn) Reset ¶ added in v0.4.2
func (x *DocumentQueryColumn) Reset()
func (*DocumentQueryColumn) String ¶ added in v0.4.2
func (x *DocumentQueryColumn) String() string
type DocumentQueryRow ¶ added in v0.4.2
type DocumentQueryRow struct {
// The selected element itself, an element value with its qualified name.
Element *DocumentValue `protobuf:"bytes,1,opt,name=element,proto3" json:"element,omitempty"`
Cells []*DocumentQueryCell `protobuf:"bytes,2,rep,name=cells,proto3" json:"cells,omitempty"`
// contains filtered or unexported fields
}
DocumentQueryRow is one selected element and its projected cells, one per column in column order.
func (*DocumentQueryRow) Descriptor
deprecated
added in
v0.4.2
func (*DocumentQueryRow) Descriptor() ([]byte, []int)
Deprecated: Use DocumentQueryRow.ProtoReflect.Descriptor instead.
func (*DocumentQueryRow) GetCells ¶ added in v0.4.2
func (x *DocumentQueryRow) GetCells() []*DocumentQueryCell
func (*DocumentQueryRow) GetElement ¶ added in v0.4.2
func (x *DocumentQueryRow) GetElement() *DocumentValue
func (*DocumentQueryRow) ProtoMessage ¶ added in v0.4.2
func (*DocumentQueryRow) ProtoMessage()
func (*DocumentQueryRow) ProtoReflect ¶ added in v0.4.2
func (x *DocumentQueryRow) ProtoReflect() protoreflect.Message
func (*DocumentQueryRow) Reset ¶ added in v0.4.2
func (x *DocumentQueryRow) Reset()
func (*DocumentQueryRow) String ¶ added in v0.4.2
func (x *DocumentQueryRow) String() string
type DocumentValue ¶ added in v0.4.2
type DocumentValue struct {
// Types that are valid to be assigned to Kind:
//
// *DocumentValue_ElementId
// *DocumentValue_StringValue
// *DocumentValue_IntValue
// *DocumentValue_RealValue
// *DocumentValue_BoolValue
// *DocumentValue_Infinity
// *DocumentValue_Quantity
Kind isDocumentValue_Kind `protobuf_oneof:"kind"`
// Metamodel type of element_id ("PartUsage", ...); answered, ignored when bound.
ElementType string `protobuf:"bytes,7,opt,name=element_type,json=elementType,proto3" json:"element_type,omitempty"`
// contains filtered or unexported fields
}
DocumentValue is one typed document-query value. A request binds a model element by qualified name in element_id; a response also says what the element is in element_type. `infinity` denotes an unbounded multiplicity and is only ever answered, never bound.
func (*DocumentValue) Descriptor
deprecated
added in
v0.4.2
func (*DocumentValue) Descriptor() ([]byte, []int)
Deprecated: Use DocumentValue.ProtoReflect.Descriptor instead.
func (*DocumentValue) GetBoolValue ¶ added in v0.4.2
func (x *DocumentValue) GetBoolValue() bool
func (*DocumentValue) GetElementId ¶ added in v0.4.2
func (x *DocumentValue) GetElementId() string
func (*DocumentValue) GetElementType ¶ added in v0.4.2
func (x *DocumentValue) GetElementType() string
func (*DocumentValue) GetInfinity ¶ added in v0.4.2
func (x *DocumentValue) GetInfinity() bool
func (*DocumentValue) GetIntValue ¶ added in v0.4.2
func (x *DocumentValue) GetIntValue() int64
func (*DocumentValue) GetKind ¶ added in v0.4.2
func (x *DocumentValue) GetKind() isDocumentValue_Kind
func (*DocumentValue) GetQuantity ¶ added in v0.6.0
func (x *DocumentValue) GetQuantity() *Quantity
func (*DocumentValue) GetRealValue ¶ added in v0.4.2
func (x *DocumentValue) GetRealValue() float64
func (*DocumentValue) GetStringValue ¶ added in v0.4.2
func (x *DocumentValue) GetStringValue() string
func (*DocumentValue) ProtoMessage ¶ added in v0.4.2
func (*DocumentValue) ProtoMessage()
func (*DocumentValue) ProtoReflect ¶ added in v0.4.2
func (x *DocumentValue) ProtoReflect() protoreflect.Message
func (*DocumentValue) Reset ¶ added in v0.4.2
func (x *DocumentValue) Reset()
func (*DocumentValue) String ¶ added in v0.4.2
func (x *DocumentValue) String() string
type DocumentValue_BoolValue ¶ added in v0.4.2
type DocumentValue_BoolValue struct {
BoolValue bool `protobuf:"varint,5,opt,name=bool_value,json=boolValue,proto3,oneof"`
}
type DocumentValue_ElementId ¶ added in v0.4.2
type DocumentValue_ElementId struct {
ElementId string `protobuf:"bytes,1,opt,name=element_id,json=elementId,proto3,oneof"` // qualified name of a model element
}
type DocumentValue_Infinity ¶ added in v0.4.2
type DocumentValue_Infinity struct {
Infinity bool `protobuf:"varint,6,opt,name=infinity,proto3,oneof"`
}
type DocumentValue_IntValue ¶ added in v0.4.2
type DocumentValue_IntValue struct {
IntValue int64 `protobuf:"varint,3,opt,name=int_value,json=intValue,proto3,oneof"`
}
type DocumentValue_Quantity ¶ added in v0.6.0
type DocumentValue_Quantity struct {
Quantity *Quantity `protobuf:"bytes,8,opt,name=quantity,proto3,oneof"` // magnitude in a unit, `2290000 [kg]`
}
type DocumentValue_RealValue ¶ added in v0.4.2
type DocumentValue_RealValue struct {
RealValue float64 `protobuf:"fixed64,4,opt,name=real_value,json=realValue,proto3,oneof"`
}
type DocumentValue_StringValue ¶ added in v0.4.2
type DocumentValue_StringValue struct {
StringValue string `protobuf:"bytes,2,opt,name=string_value,json=stringValue,proto3,oneof"`
}
type EditFailure ¶
type EditFailure int32
EditFailure says why edits were refused. Every refusal is one of these: an edit is never silently dropped.
const ( EditFailure_EDIT_FAILURE_UNSPECIFIED EditFailure = 0 // no failure EditFailure_EDIT_FAILURE_NO_OPERATIONS EditFailure = 1 // the request named no edit EditFailure_EDIT_FAILURE_UNKNOWN_TARGET EditFailure = 2 // no element of that name in the model EditFailure_EDIT_FAILURE_AMBIGUOUS_TARGET EditFailure = 3 // the name denotes several declarations EditFailure_EDIT_FAILURE_NOT_VALUED EditFailure = 4 // the element can carry no value EditFailure_EDIT_FAILURE_INVALID_VALUE EditFailure = 5 // the new value does not parse as an expression EditFailure_EDIT_FAILURE_INVALID_NAME EditFailure = 6 // the new name does not lex as an identifier EditFailure_EDIT_FAILURE_NOT_NAMED EditFailure = 7 // the element declares no name to rewrite EditFailure_EDIT_FAILURE_RENAME_REFERENCED EditFailure = 8 // references to the element would break EditFailure_EDIT_FAILURE_OVERLAPPING_EDITS EditFailure = 9 // two edits cover the same bytes EditFailure_EDIT_FAILURE_RESULT_INVALID EditFailure = 10 // the edited source has errors the original had not EditFailure_EDIT_FAILURE_OWNER_UNKNOWN EditFailure = 11 // add-member owner does not exist EditFailure_EDIT_FAILURE_OWNER_NOT_NAMESPACE EditFailure = 12 // owner cannot contain members EditFailure_EDIT_FAILURE_ILLEGAL_KIND EditFailure = 13 // kind is invalid for document language EditFailure_EDIT_FAILURE_MEMBER_NAME_TAKEN EditFailure = 14 // owner already declares the name EditFailure_EDIT_FAILURE_DELETE_REFERENCED EditFailure = 15 // delete would leave references EditFailure_EDIT_FAILURE_OWNER_INSIDE_TARGET EditFailure = 16 // move owner is the target or inside it EditFailure_EDIT_FAILURE_MOVE_REFERENCED EditFailure = 17 // move would leave a reference no spelling restores )
func (EditFailure) Descriptor ¶
func (EditFailure) Descriptor() protoreflect.EnumDescriptor
func (EditFailure) Enum ¶
func (x EditFailure) Enum() *EditFailure
func (EditFailure) EnumDescriptor
deprecated
func (EditFailure) EnumDescriptor() ([]byte, []int)
Deprecated: Use EditFailure.Descriptor instead.
func (EditFailure) Number ¶
func (x EditFailure) Number() protoreflect.EnumNumber
func (EditFailure) String ¶
func (x EditFailure) String() string
func (EditFailure) Type ¶
func (EditFailure) Type() protoreflect.EnumType
type EditOperation ¶
type EditOperation struct {
// Types that are valid to be assigned to Operation:
//
// *EditOperation_SetValue
// *EditOperation_Rename
// *EditOperation_AddMember
// *EditOperation_Delete
// *EditOperation_Move
Operation isEditOperation_Operation `protobuf_oneof:"operation"`
// contains filtered or unexported fields
}
EditOperation is one source-preserving change to make.
func (*EditOperation) Descriptor
deprecated
func (*EditOperation) Descriptor() ([]byte, []int)
Deprecated: Use EditOperation.ProtoReflect.Descriptor instead.
func (*EditOperation) GetAddMember ¶ added in v0.2.0
func (x *EditOperation) GetAddMember() *AddMemberEdit
func (*EditOperation) GetDelete ¶ added in v0.2.0
func (x *EditOperation) GetDelete() *DeleteEdit
func (*EditOperation) GetMove ¶ added in v0.8.0
func (x *EditOperation) GetMove() *MoveEdit
func (*EditOperation) GetOperation ¶
func (x *EditOperation) GetOperation() isEditOperation_Operation
func (*EditOperation) GetRename ¶
func (x *EditOperation) GetRename() *RenameEdit
func (*EditOperation) GetSetValue ¶
func (x *EditOperation) GetSetValue() *SetValueEdit
func (*EditOperation) ProtoMessage ¶
func (*EditOperation) ProtoMessage()
func (*EditOperation) ProtoReflect ¶
func (x *EditOperation) ProtoReflect() protoreflect.Message
func (*EditOperation) Reset ¶
func (x *EditOperation) Reset()
func (*EditOperation) String ¶
func (x *EditOperation) String() string
type EditOperation_AddMember ¶ added in v0.2.0
type EditOperation_AddMember struct {
AddMember *AddMemberEdit `protobuf:"bytes,3,opt,name=add_member,json=addMember,proto3,oneof"`
}
type EditOperation_Delete ¶ added in v0.2.0
type EditOperation_Delete struct {
Delete *DeleteEdit `protobuf:"bytes,4,opt,name=delete,proto3,oneof"`
}
type EditOperation_Move ¶ added in v0.8.0
type EditOperation_Move struct {
Move *MoveEdit `protobuf:"bytes,5,opt,name=move,proto3,oneof"`
}
type EditOperation_Rename ¶
type EditOperation_Rename struct {
Rename *RenameEdit `protobuf:"bytes,2,opt,name=rename,proto3,oneof"`
}
type EditOperation_SetValue ¶
type EditOperation_SetValue struct {
SetValue *SetValueEdit `protobuf:"bytes,1,opt,name=set_value,json=setValue,proto3,oneof"`
}
type EngineInfo ¶ added in v0.8.0
type EngineInfo struct {
// The engine's name, as a request's `engine` field selects it.
Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
// The strongest evidence the engine can ever produce, spelled as
// Verdict.strength is.
Authority string `protobuf:"bytes,2,opt,name=authority,proto3" json:"authority,omitempty"`
// The kinds of question the engine answers: "evaluate", "outcomes",
// "holds", "sensitive", "satisfiable", "sweep", "compute".
Answers []string `protobuf:"bytes,3,rep,name=answers,proto3" json:"answers,omitempty"`
// The bounds the engine takes, in the order it reports them.
Bounds []string `protobuf:"bytes,4,rep,name=bounds,proto3" json:"bounds,omitempty"`
// The external process the engine needs, empty for one running in-process;
// `process_found` says where it was found when it was.
Process string `protobuf:"bytes,5,opt,name=process,proto3" json:"process,omitempty"`
ProcessFound string `protobuf:"bytes,6,opt,name=process_found,json=processFound,proto3" json:"process_found,omitempty"`
// True when the engine can run: it is served, and it needs no process or its
// process was found.
Ready bool `protobuf:"varint,7,opt,name=ready,proto3" json:"ready,omitempty"`
Unavailable string `protobuf:"bytes,8,opt,name=unavailable,proto3" json:"unavailable,omitempty"`
// Where the engine comes from: "built-in" for the build's own, else the kind
// of the manifest entry that registered it: "tool", "engine", "policy" or
// "sampler". The fields below are empty for a built-in engine.
Kind string `protobuf:"bytes,9,opt,name=kind,proto3" json:"kind,omitempty"`
// How the engine is spoken to: "-" for one built in, "object" for a tool's
// one JSON object each way, "<transport>/<protocol>" for an engine entry.
Protocol string `protobuf:"bytes,10,opt,name=protocol,proto3" json:"protocol,omitempty"`
// The manifest entry the engine was registered from, the command it resolved
// to and the version the entry declares.
Source string `protobuf:"bytes,11,opt,name=source,proto3" json:"source,omitempty"`
Command string `protobuf:"bytes,12,opt,name=command,proto3" json:"command,omitempty"`
Version string `protobuf:"bytes,13,opt,name=version,proto3" json:"version,omitempty"`
// True when this service runs the engine for a request that reaches it. A
// manifest engine is listed but not served until the service is started with
// -serve-external-engines naming it; a request naming one that is not served
// is FAILED_PRECONDITION.
Served bool `protobuf:"varint,14,opt,name=served,proto3" json:"served,omitempty"`
// contains filtered or unexported fields
}
EngineInfo is one analysis engine: what it answers, how strongly it can, and whether it can run here.
func (*EngineInfo) Descriptor
deprecated
added in
v0.8.0
func (*EngineInfo) Descriptor() ([]byte, []int)
Deprecated: Use EngineInfo.ProtoReflect.Descriptor instead.
func (*EngineInfo) GetAnswers ¶ added in v0.8.0
func (x *EngineInfo) GetAnswers() []string
func (*EngineInfo) GetAuthority ¶ added in v0.8.0
func (x *EngineInfo) GetAuthority() string
func (*EngineInfo) GetBounds ¶ added in v0.8.0
func (x *EngineInfo) GetBounds() []string
func (*EngineInfo) GetCommand ¶ added in v0.8.0
func (x *EngineInfo) GetCommand() string
func (*EngineInfo) GetKind ¶ added in v0.8.0
func (x *EngineInfo) GetKind() string
func (*EngineInfo) GetName ¶ added in v0.8.0
func (x *EngineInfo) GetName() string
func (*EngineInfo) GetProcess ¶ added in v0.8.0
func (x *EngineInfo) GetProcess() string
func (*EngineInfo) GetProcessFound ¶ added in v0.8.0
func (x *EngineInfo) GetProcessFound() string
func (*EngineInfo) GetProtocol ¶ added in v0.8.0
func (x *EngineInfo) GetProtocol() string
func (*EngineInfo) GetReady ¶ added in v0.8.0
func (x *EngineInfo) GetReady() bool
func (*EngineInfo) GetServed ¶ added in v0.8.0
func (x *EngineInfo) GetServed() bool
func (*EngineInfo) GetSource ¶ added in v0.8.0
func (x *EngineInfo) GetSource() string
func (*EngineInfo) GetUnavailable ¶ added in v0.8.0
func (x *EngineInfo) GetUnavailable() string
func (*EngineInfo) GetVersion ¶ added in v0.8.0
func (x *EngineInfo) GetVersion() string
func (*EngineInfo) ProtoMessage ¶ added in v0.8.0
func (*EngineInfo) ProtoMessage()
func (*EngineInfo) ProtoReflect ¶ added in v0.8.0
func (x *EngineInfo) ProtoReflect() protoreflect.Message
func (*EngineInfo) Reset ¶ added in v0.8.0
func (x *EngineInfo) Reset()
func (*EngineInfo) String ¶ added in v0.8.0
func (x *EngineInfo) String() string
type EnumLiteral ¶
type EnumLiteral struct {
// FQN of the literal's declaration ("D::Color::red"). Its identity.
LiteralId string `protobuf:"bytes,1,opt,name=literal_id,json=literalId,proto3" json:"literal_id,omitempty"`
// FQN of the enumeration definition declaring it ("D::Color").
EnumerationId string `protobuf:"bytes,2,opt,name=enumeration_id,json=enumerationId,proto3" json:"enumeration_id,omitempty"`
// The literal as a reader writes it ("Color::red").
Name string `protobuf:"bytes,3,opt,name=name,proto3" json:"name,omitempty"`
// The scalar the literal equals (`high = 3` carries int_value 3); unset for a
// literal that is only its identity. Identity stays `literal_id`.
Value *Value `protobuf:"bytes,4,opt,name=value,proto3" json:"value,omitempty"`
// contains filtered or unexported fields
}
EnumLiteral is one literal of an enumeration definition. A literal is its own identity, so it travels as the declaration it names rather than as a number or a string: two values are the same literal exactly when `literal_id` is.
func (*EnumLiteral) Descriptor
deprecated
func (*EnumLiteral) Descriptor() ([]byte, []int)
Deprecated: Use EnumLiteral.ProtoReflect.Descriptor instead.
func (*EnumLiteral) GetEnumerationId ¶
func (x *EnumLiteral) GetEnumerationId() string
func (*EnumLiteral) GetLiteralId ¶
func (x *EnumLiteral) GetLiteralId() string
func (*EnumLiteral) GetName ¶
func (x *EnumLiteral) GetName() string
func (*EnumLiteral) GetValue ¶ added in v0.8.0
func (x *EnumLiteral) GetValue() *Value
func (*EnumLiteral) ProtoMessage ¶
func (*EnumLiteral) ProtoMessage()
func (*EnumLiteral) ProtoReflect ¶
func (x *EnumLiteral) ProtoReflect() protoreflect.Message
func (*EnumLiteral) Reset ¶
func (x *EnumLiteral) Reset()
func (*EnumLiteral) String ¶
func (x *EnumLiteral) String() string
type EvaluateCalcRequest ¶
type EvaluateCalcRequest struct {
ModelHash string `protobuf:"bytes,1,opt,name=model_hash,json=modelHash,proto3" json:"model_hash,omitempty"`
// FQN of the calc definition or usage.
SymbolId string `protobuf:"bytes,2,opt,name=symbol_id,json=symbolId,proto3" json:"symbol_id,omitempty"`
// Positional arguments. The notation writes named arguments inside an
// invocation's parentheses, which this request does not carry.
Arguments []*Value `protobuf:"bytes,3,rep,name=arguments,proto3" json:"arguments,omitempty"`
// The engine the calculation is put to; see VerifyConstraintRequest.engine.
Engine string `protobuf:"bytes,4,opt,name=engine,proto3" json:"engine,omitempty"`
// contains filtered or unexported fields
}
EvaluateCalcRequest invokes a calculation, as %calc does. Arguments are bound positionally; a calc usage named with no arguments binds its inputs from its own members and reports every output feature it computes (SysML 7.17).
func (*EvaluateCalcRequest) Descriptor
deprecated
func (*EvaluateCalcRequest) Descriptor() ([]byte, []int)
Deprecated: Use EvaluateCalcRequest.ProtoReflect.Descriptor instead.
func (*EvaluateCalcRequest) GetArguments ¶
func (x *EvaluateCalcRequest) GetArguments() []*Value
func (*EvaluateCalcRequest) GetEngine ¶ added in v0.8.0
func (x *EvaluateCalcRequest) GetEngine() string
func (*EvaluateCalcRequest) GetModelHash ¶
func (x *EvaluateCalcRequest) GetModelHash() string
func (*EvaluateCalcRequest) GetSymbolId ¶
func (x *EvaluateCalcRequest) GetSymbolId() string
func (*EvaluateCalcRequest) ProtoMessage ¶
func (*EvaluateCalcRequest) ProtoMessage()
func (*EvaluateCalcRequest) ProtoReflect ¶
func (x *EvaluateCalcRequest) ProtoReflect() protoreflect.Message
func (*EvaluateCalcRequest) Reset ¶
func (x *EvaluateCalcRequest) Reset()
func (*EvaluateCalcRequest) String ¶
func (x *EvaluateCalcRequest) String() string
type EvaluateCalcResponse ¶
type EvaluateCalcResponse struct {
// The value an invocation returned; unset when `outputs` carries the answer.
Result *Value `protobuf:"bytes,1,opt,name=result,proto3" json:"result,omitempty"`
// Output features of a calc usage evaluated from its own members, in
// declaration order. Empty for an invocation with arguments.
Outputs []*CalcOutput `protobuf:"bytes,2,rep,name=outputs,proto3" json:"outputs,omitempty"`
Error string `protobuf:"bytes,3,opt,name=error,proto3" json:"error,omitempty"`
Diagnostics []*Diagnostic `protobuf:"bytes,4,rep,name=diagnostics,proto3" json:"diagnostics,omitempty"`
// What kind of failure `error` reports.
FailureReason FailureReason `` /* 126-byte string literal not displayed */
// The engine that computed the answer, the strength of its evidence and the
// bounds it ran under, as Verdict carries them. Empty when the request was
// answered before any engine was asked. Reported as the "engines" capability.
Engine string `protobuf:"bytes,6,opt,name=engine,proto3" json:"engine,omitempty"`
Strength string `protobuf:"bytes,7,opt,name=strength,proto3" json:"strength,omitempty"`
Bounds []*Bound `protobuf:"bytes,8,rep,name=bounds,proto3" json:"bounds,omitempty"`
// contains filtered or unexported fields
}
EvaluateCalcResponse carries what the calculation computed.
func (*EvaluateCalcResponse) Descriptor
deprecated
func (*EvaluateCalcResponse) Descriptor() ([]byte, []int)
Deprecated: Use EvaluateCalcResponse.ProtoReflect.Descriptor instead.
func (*EvaluateCalcResponse) GetBounds ¶ added in v0.8.0
func (x *EvaluateCalcResponse) GetBounds() []*Bound
func (*EvaluateCalcResponse) GetDiagnostics ¶
func (x *EvaluateCalcResponse) GetDiagnostics() []*Diagnostic
func (*EvaluateCalcResponse) GetEngine ¶ added in v0.8.0
func (x *EvaluateCalcResponse) GetEngine() string
func (*EvaluateCalcResponse) GetError ¶
func (x *EvaluateCalcResponse) GetError() string
func (*EvaluateCalcResponse) GetFailureReason ¶
func (x *EvaluateCalcResponse) GetFailureReason() FailureReason
func (*EvaluateCalcResponse) GetOutputs ¶
func (x *EvaluateCalcResponse) GetOutputs() []*CalcOutput
func (*EvaluateCalcResponse) GetResult ¶
func (x *EvaluateCalcResponse) GetResult() *Value
func (*EvaluateCalcResponse) GetStrength ¶ added in v0.8.0
func (x *EvaluateCalcResponse) GetStrength() string
func (*EvaluateCalcResponse) ProtoMessage ¶
func (*EvaluateCalcResponse) ProtoMessage()
func (*EvaluateCalcResponse) ProtoReflect ¶
func (x *EvaluateCalcResponse) ProtoReflect() protoreflect.Message
func (*EvaluateCalcResponse) Reset ¶
func (x *EvaluateCalcResponse) Reset()
func (*EvaluateCalcResponse) String ¶
func (x *EvaluateCalcResponse) String() string
type EvaluateRequest ¶
type EvaluateRequest struct {
ModelHash string `protobuf:"bytes,1,opt,name=model_hash,json=modelHash,proto3" json:"model_hash,omitempty"` // from ParseFile response
Expression string `protobuf:"bytes,2,opt,name=expression,proto3" json:"expression,omitempty"` // SysML expression string (e.g., "2 + 2")
ContextSymbolId string `protobuf:"bytes,3,opt,name=context_symbol_id,json=contextSymbolId,proto3" json:"context_symbol_id,omitempty"` // optional: symbol FQN for context scope
// optional: FQN to instantiate and evaluate against, so a feature reads that
// object's value rather than the declared default (as %eval after %instantiate)
SubjectSymbolId string `protobuf:"bytes,4,opt,name=subject_symbol_id,json=subjectSymbolId,proto3" json:"subject_symbol_id,omitempty"`
// contains filtered or unexported fields
}
EvaluateRequest requests evaluation of a SysML expression
func (*EvaluateRequest) Descriptor
deprecated
func (*EvaluateRequest) Descriptor() ([]byte, []int)
Deprecated: Use EvaluateRequest.ProtoReflect.Descriptor instead.
func (*EvaluateRequest) GetContextSymbolId ¶
func (x *EvaluateRequest) GetContextSymbolId() string
func (*EvaluateRequest) GetExpression ¶
func (x *EvaluateRequest) GetExpression() string
func (*EvaluateRequest) GetModelHash ¶
func (x *EvaluateRequest) GetModelHash() string
func (*EvaluateRequest) GetSubjectSymbolId ¶
func (x *EvaluateRequest) GetSubjectSymbolId() string
func (*EvaluateRequest) ProtoMessage ¶
func (*EvaluateRequest) ProtoMessage()
func (*EvaluateRequest) ProtoReflect ¶
func (x *EvaluateRequest) ProtoReflect() protoreflect.Message
func (*EvaluateRequest) Reset ¶
func (x *EvaluateRequest) Reset()
func (*EvaluateRequest) String ¶
func (x *EvaluateRequest) String() string
type EvaluateResponse ¶
type EvaluateResponse struct {
Result *Value `protobuf:"bytes,1,opt,name=result,proto3" json:"result,omitempty"`
Error string `protobuf:"bytes,2,opt,name=error,proto3" json:"error,omitempty"` // non-empty if evaluation failed
Diagnostics []*Diagnostic `protobuf:"bytes,3,rep,name=diagnostics,proto3" json:"diagnostics,omitempty"`
// contains filtered or unexported fields
}
EvaluateResponse contains evaluation result
func (*EvaluateResponse) Descriptor
deprecated
func (*EvaluateResponse) Descriptor() ([]byte, []int)
Deprecated: Use EvaluateResponse.ProtoReflect.Descriptor instead.
func (*EvaluateResponse) GetDiagnostics ¶
func (x *EvaluateResponse) GetDiagnostics() []*Diagnostic
func (*EvaluateResponse) GetError ¶
func (x *EvaluateResponse) GetError() string
func (*EvaluateResponse) GetResult ¶
func (x *EvaluateResponse) GetResult() *Value
func (*EvaluateResponse) ProtoMessage ¶
func (*EvaluateResponse) ProtoMessage()
func (*EvaluateResponse) ProtoReflect ¶
func (x *EvaluateResponse) ProtoReflect() protoreflect.Message
func (*EvaluateResponse) Reset ¶
func (x *EvaluateResponse) Reset()
func (*EvaluateResponse) String ¶
func (x *EvaluateResponse) String() string
type ExecuteActionRequest ¶
type ExecuteActionRequest struct {
ModelHash string `protobuf:"bytes,1,opt,name=model_hash,json=modelHash,proto3" json:"model_hash,omitempty"`
ActionSymbolId string `protobuf:"bytes,2,opt,name=action_symbol_id,json=actionSymbolId,proto3" json:"action_symbol_id,omitempty"` // FQN of action def
Inputs map[string]*Value `` // parameter name → value
/* 139-byte string literal not displayed */
// Scheduling policy the run resolves its choice points under: "declared",
// "reverse", "seed:<n>" or "explore[:runs=<n>,depth=<d>]". Empty is the
// default, "reverse"; any other spelling is INVALID_ARGUMENT. Explore runs
// the action once per linearization the library admits, within a budget of
// runs (default 1024) and of choice points per run (default 64), each run on
// a fresh context, and answers with every distinct outcome reached.
Schedule string `protobuf:"bytes,4,opt,name=schedule,proto3" json:"schedule,omitempty"`
// contains filtered or unexported fields
}
ExecuteActionRequest requests action execution
func (*ExecuteActionRequest) Descriptor
deprecated
func (*ExecuteActionRequest) Descriptor() ([]byte, []int)
Deprecated: Use ExecuteActionRequest.ProtoReflect.Descriptor instead.
func (*ExecuteActionRequest) GetActionSymbolId ¶
func (x *ExecuteActionRequest) GetActionSymbolId() string
func (*ExecuteActionRequest) GetInputs ¶
func (x *ExecuteActionRequest) GetInputs() map[string]*Value
func (*ExecuteActionRequest) GetModelHash ¶
func (x *ExecuteActionRequest) GetModelHash() string
func (*ExecuteActionRequest) GetSchedule ¶ added in v0.7.0
func (x *ExecuteActionRequest) GetSchedule() string
func (*ExecuteActionRequest) ProtoMessage ¶
func (*ExecuteActionRequest) ProtoMessage()
func (*ExecuteActionRequest) ProtoReflect ¶
func (x *ExecuteActionRequest) ProtoReflect() protoreflect.Message
func (*ExecuteActionRequest) Reset ¶
func (x *ExecuteActionRequest) Reset()
func (*ExecuteActionRequest) String ¶
func (x *ExecuteActionRequest) String() string
type ExecuteActionResponse ¶
type ExecuteActionResponse struct {
Outputs map[string]*Value `` // output parameter name → value
/* 141-byte string literal not displayed */
Error string `protobuf:"bytes,2,opt,name=error,proto3" json:"error,omitempty"`
Diagnostics []*Diagnostic `protobuf:"bytes,3,rep,name=diagnostics,proto3" json:"diagnostics,omitempty"`
// Set only under an explore schedule: every distinct outcome reached, in
// canonical order, and how the exploration ended. `outputs`, `error` and
// `diagnostics` are then empty: a failed run is an outcome of its own, and
// each outcome carries its witness run's diagnostics.
Outcomes []*Outcome `protobuf:"bytes,4,rep,name=outcomes,proto3" json:"outcomes,omitempty"`
Exploration *ExplorationStatus `protobuf:"bytes,5,opt,name=exploration,proto3" json:"exploration,omitempty"`
// The run's simulation clock when it ended, in seconds (SI::s) from the 0
// it started at: the clock advances through every `accept after`/`accept
// at` the action waited on. Populated under the "final_time" capability.
FinalTime float64 `protobuf:"fixed64,6,opt,name=final_time,json=finalTime,proto3" json:"final_time,omitempty"`
// contains filtered or unexported fields
}
ExecuteActionResponse contains action execution results
func (*ExecuteActionResponse) Descriptor
deprecated
func (*ExecuteActionResponse) Descriptor() ([]byte, []int)
Deprecated: Use ExecuteActionResponse.ProtoReflect.Descriptor instead.
func (*ExecuteActionResponse) GetDiagnostics ¶
func (x *ExecuteActionResponse) GetDiagnostics() []*Diagnostic
func (*ExecuteActionResponse) GetError ¶
func (x *ExecuteActionResponse) GetError() string
func (*ExecuteActionResponse) GetExploration ¶ added in v0.7.0
func (x *ExecuteActionResponse) GetExploration() *ExplorationStatus
func (*ExecuteActionResponse) GetFinalTime ¶ added in v0.7.0
func (x *ExecuteActionResponse) GetFinalTime() float64
func (*ExecuteActionResponse) GetOutcomes ¶ added in v0.7.0
func (x *ExecuteActionResponse) GetOutcomes() []*Outcome
func (*ExecuteActionResponse) GetOutputs ¶
func (x *ExecuteActionResponse) GetOutputs() map[string]*Value
func (*ExecuteActionResponse) ProtoMessage ¶
func (*ExecuteActionResponse) ProtoMessage()
func (*ExecuteActionResponse) ProtoReflect ¶
func (x *ExecuteActionResponse) ProtoReflect() protoreflect.Message
func (*ExecuteActionResponse) Reset ¶
func (x *ExecuteActionResponse) Reset()
func (*ExecuteActionResponse) String ¶
func (x *ExecuteActionResponse) String() string
type ExecuteStateRequest ¶
type ExecuteStateRequest struct {
ModelHash string `protobuf:"bytes,1,opt,name=model_hash,json=modelHash,proto3" json:"model_hash,omitempty"`
StateMachineSymbolId string `protobuf:"bytes,2,opt,name=state_machine_symbol_id,json=stateMachineSymbolId,proto3" json:"state_machine_symbol_id,omitempty"`
Events []string `protobuf:"bytes,3,rep,name=events,proto3" json:"events,omitempty"` // sequence of event names to process
// Scheduling policy the run resolves its choice points under: "declared",
// "reverse", "seed:<n>" or "explore[:runs=<n>,depth=<d>]". Empty is the
// default, "reverse"; any other spelling is INVALID_ARGUMENT. Under explore
// the response answers with `outcomes` and `exploration` in place of one run's
// states_visited, final_context and error (see ExecuteActionResponse).
Schedule string `protobuf:"bytes,4,opt,name=schedule,proto3" json:"schedule,omitempty"`
// contains filtered or unexported fields
}
ExecuteStateRequest requests state machine execution
func (*ExecuteStateRequest) Descriptor
deprecated
func (*ExecuteStateRequest) Descriptor() ([]byte, []int)
Deprecated: Use ExecuteStateRequest.ProtoReflect.Descriptor instead.
func (*ExecuteStateRequest) GetEvents ¶
func (x *ExecuteStateRequest) GetEvents() []string
func (*ExecuteStateRequest) GetModelHash ¶
func (x *ExecuteStateRequest) GetModelHash() string
func (*ExecuteStateRequest) GetSchedule ¶ added in v0.7.0
func (x *ExecuteStateRequest) GetSchedule() string
func (*ExecuteStateRequest) GetStateMachineSymbolId ¶
func (x *ExecuteStateRequest) GetStateMachineSymbolId() string
func (*ExecuteStateRequest) ProtoMessage ¶
func (*ExecuteStateRequest) ProtoMessage()
func (*ExecuteStateRequest) ProtoReflect ¶
func (x *ExecuteStateRequest) ProtoReflect() protoreflect.Message
func (*ExecuteStateRequest) Reset ¶
func (x *ExecuteStateRequest) Reset()
func (*ExecuteStateRequest) String ¶
func (x *ExecuteStateRequest) String() string
type ExecuteStateResponse ¶
type ExecuteStateResponse struct {
StatesVisited []string `protobuf:"bytes,1,rep,name=states_visited,json=statesVisited,proto3" json:"states_visited,omitempty"` // trace of state names
FinalContext map[string]*Value `` /* 171-byte string literal not displayed */
Error string `protobuf:"bytes,3,opt,name=error,proto3" json:"error,omitempty"`
Diagnostics []*Diagnostic `protobuf:"bytes,4,rep,name=diagnostics,proto3" json:"diagnostics,omitempty"`
// Set only under an explore schedule: every distinct outcome reached, in
// canonical order, and how the exploration ended. An outcome's outputs are
// the final context; `states_visited`, `final_context`, `error` and
// `diagnostics` are then empty.
Outcomes []*Outcome `protobuf:"bytes,5,rep,name=outcomes,proto3" json:"outcomes,omitempty"`
Exploration *ExplorationStatus `protobuf:"bytes,6,opt,name=exploration,proto3" json:"exploration,omitempty"`
// The run's simulation clock when it ended, in seconds (SI::s) from the 0
// it started at: the clock advances through every time-triggered transition
// the machine took. Populated under the "final_time" capability.
FinalTime float64 `protobuf:"fixed64,7,opt,name=final_time,json=finalTime,proto3" json:"final_time,omitempty"`
// contains filtered or unexported fields
}
ExecuteStateResponse contains state machine execution trace
func (*ExecuteStateResponse) Descriptor
deprecated
func (*ExecuteStateResponse) Descriptor() ([]byte, []int)
Deprecated: Use ExecuteStateResponse.ProtoReflect.Descriptor instead.
func (*ExecuteStateResponse) GetDiagnostics ¶
func (x *ExecuteStateResponse) GetDiagnostics() []*Diagnostic
func (*ExecuteStateResponse) GetError ¶
func (x *ExecuteStateResponse) GetError() string
func (*ExecuteStateResponse) GetExploration ¶ added in v0.7.0
func (x *ExecuteStateResponse) GetExploration() *ExplorationStatus
func (*ExecuteStateResponse) GetFinalContext ¶
func (x *ExecuteStateResponse) GetFinalContext() map[string]*Value
func (*ExecuteStateResponse) GetFinalTime ¶ added in v0.7.0
func (x *ExecuteStateResponse) GetFinalTime() float64
func (*ExecuteStateResponse) GetOutcomes ¶ added in v0.7.0
func (x *ExecuteStateResponse) GetOutcomes() []*Outcome
func (*ExecuteStateResponse) GetStatesVisited ¶
func (x *ExecuteStateResponse) GetStatesVisited() []string
func (*ExecuteStateResponse) ProtoMessage ¶
func (*ExecuteStateResponse) ProtoMessage()
func (*ExecuteStateResponse) ProtoReflect ¶
func (x *ExecuteStateResponse) ProtoReflect() protoreflect.Message
func (*ExecuteStateResponse) Reset ¶
func (x *ExecuteStateResponse) Reset()
func (*ExecuteStateResponse) String ¶
func (x *ExecuteStateResponse) String() string
type ExplorationStatus ¶ added in v0.7.0
type ExplorationStatus struct {
// True when every linearization was run, so `outcomes` is the whole set.
Complete bool `protobuf:"varint,1,opt,name=complete,proto3" json:"complete,omitempty"`
// How many runs were made.
Runs int32 `protobuf:"varint,2,opt,name=runs,proto3" json:"runs,omitempty"`
// The budgets hit, "runs" before "depth"; empty when complete.
BudgetsHit []string `protobuf:"bytes,3,rep,name=budgets_hit,json=budgetsHit,proto3" json:"budgets_hit,omitempty"`
// The budget the exploration ran under: runs it may make, and choice points
// one run may resolve before the rest take their first alternative.
RunsBudget int32 `protobuf:"varint,4,opt,name=runs_budget,json=runsBudget,proto3" json:"runs_budget,omitempty"`
DepthBudget int32 `protobuf:"varint,5,opt,name=depth_budget,json=depthBudget,proto3" json:"depth_budget,omitempty"`
// contains filtered or unexported fields
}
ExplorationStatus is how an exploration ended: whether every linearization within the budget was run, and which budget stopped it when not.
func (*ExplorationStatus) Descriptor
deprecated
added in
v0.7.0
func (*ExplorationStatus) Descriptor() ([]byte, []int)
Deprecated: Use ExplorationStatus.ProtoReflect.Descriptor instead.
func (*ExplorationStatus) GetBudgetsHit ¶ added in v0.7.0
func (x *ExplorationStatus) GetBudgetsHit() []string
func (*ExplorationStatus) GetComplete ¶ added in v0.7.0
func (x *ExplorationStatus) GetComplete() bool
func (*ExplorationStatus) GetDepthBudget ¶ added in v0.7.0
func (x *ExplorationStatus) GetDepthBudget() int32
func (*ExplorationStatus) GetRuns ¶ added in v0.7.0
func (x *ExplorationStatus) GetRuns() int32
func (*ExplorationStatus) GetRunsBudget ¶ added in v0.7.0
func (x *ExplorationStatus) GetRunsBudget() int32
func (*ExplorationStatus) ProtoMessage ¶ added in v0.7.0
func (*ExplorationStatus) ProtoMessage()
func (*ExplorationStatus) ProtoReflect ¶ added in v0.7.0
func (x *ExplorationStatus) ProtoReflect() protoreflect.Message
func (*ExplorationStatus) Reset ¶ added in v0.7.0
func (x *ExplorationStatus) Reset()
func (*ExplorationStatus) String ¶ added in v0.7.0
func (x *ExplorationStatus) String() string
type FailureReason ¶
type FailureReason int32
FailureReason says what kind of failure an `error` reports, so a client acts on the kind rather than on the message text.
const ( FailureReason_FAILURE_REASON_UNSPECIFIED FailureReason = 0 // no failure, or one not classified FailureReason_FAILURE_REASON_EVALUATION FailureReason = 1 // the condition or calculation could not be evaluated FailureReason_FAILURE_REASON_WRONG_KIND FailureReason = 2 // the symbol named declares something else FailureReason_FAILURE_REASON_AMBIGUOUS_SUBJECT FailureReason = 3 // several objects carry the element; name one as the subject )
func (FailureReason) Descriptor ¶
func (FailureReason) Descriptor() protoreflect.EnumDescriptor
func (FailureReason) Enum ¶
func (x FailureReason) Enum() *FailureReason
func (FailureReason) EnumDescriptor
deprecated
func (FailureReason) EnumDescriptor() ([]byte, []int)
Deprecated: Use FailureReason.Descriptor instead.
func (FailureReason) Number ¶
func (x FailureReason) Number() protoreflect.EnumNumber
func (FailureReason) String ¶
func (x FailureReason) String() string
func (FailureReason) Type ¶
func (FailureReason) Type() protoreflect.EnumType
type FeatureValue ¶
type FeatureValue struct {
FeatureName string `protobuf:"bytes,1,opt,name=feature_name,json=featureName,proto3" json:"feature_name,omitempty"`
Value *Value `protobuf:"bytes,2,opt,name=value,proto3" json:"value,omitempty"` // for a single-valued feature
Values []*Value `protobuf:"bytes,3,rep,name=values,proto3" json:"values,omitempty"` // for a multi-valued feature
Materialized bool `protobuf:"varint,4,opt,name=materialized,proto3" json:"materialized,omitempty"`
Error string `protobuf:"bytes,5,opt,name=error,proto3" json:"error,omitempty"` // set when evaluation failed; value is unset
// contains filtered or unexported fields
}
FeatureValue is what an object holds for one feature of its type.
func (*FeatureValue) Descriptor
deprecated
func (*FeatureValue) Descriptor() ([]byte, []int)
Deprecated: Use FeatureValue.ProtoReflect.Descriptor instead.
func (*FeatureValue) GetError ¶
func (x *FeatureValue) GetError() string
func (*FeatureValue) GetFeatureName ¶
func (x *FeatureValue) GetFeatureName() string
func (*FeatureValue) GetMaterialized ¶
func (x *FeatureValue) GetMaterialized() bool
func (*FeatureValue) GetValue ¶
func (x *FeatureValue) GetValue() *Value
func (*FeatureValue) GetValues ¶
func (x *FeatureValue) GetValues() []*Value
func (*FeatureValue) ProtoMessage ¶
func (*FeatureValue) ProtoMessage()
func (*FeatureValue) ProtoReflect ¶
func (x *FeatureValue) ProtoReflect() protoreflect.Message
func (*FeatureValue) Reset ¶
func (x *FeatureValue) Reset()
func (*FeatureValue) String ¶
func (x *FeatureValue) String() string
type Function ¶ added in v0.7.0
type Function struct {
// FQN of the calc declaration ("Analysis::Sq"). Its identity.
CalcId string `protobuf:"bytes,1,opt,name=calc_id,json=calcId,proto3" json:"calc_id,omitempty"`
// ID of the object the calc's feature names resolve against, for a calc
// usage read off a part (`holder.scale`); 0 for a function closing over no
// object. An instance id, living only within the response that sent it: a
// request function with a non-zero self_id is rejected, since no later call
// holds that object.
SelfId int64 `protobuf:"varint,2,opt,name=self_id,json=selfId,proto3" json:"self_id,omitempty"`
// contains filtered or unexported fields
}
Function is a calc held as a value: a calc definition, or a calc usage with an input no read could supply, as `Sq` in `Fn(Sq, 3.0)` or the `f` of `in calc f {...}`. It crosses as the declaration it is a value of, which is its identity: two functions are the same exactly when calc_id and self_id are. A function closing over the bindings of the behavior body it is declared in has no wire form and crosses as the null arm.
func (*Function) Descriptor
deprecated
added in
v0.7.0
func (*Function) ProtoMessage ¶ added in v0.7.0
func (*Function) ProtoMessage()
func (*Function) ProtoReflect ¶ added in v0.7.0
func (x *Function) ProtoReflect() protoreflect.Message
type GetSymbolRequest ¶
type GetSymbolRequest struct {
ModelHash string `protobuf:"bytes,1,opt,name=model_hash,json=modelHash,proto3" json:"model_hash,omitempty"`
SymbolId string `protobuf:"bytes,2,opt,name=symbol_id,json=symbolId,proto3" json:"symbol_id,omitempty"` // Fully qualified name
// contains filtered or unexported fields
}
GetSymbolRequest queries for a specific symbol
func (*GetSymbolRequest) Descriptor
deprecated
func (*GetSymbolRequest) Descriptor() ([]byte, []int)
Deprecated: Use GetSymbolRequest.ProtoReflect.Descriptor instead.
func (*GetSymbolRequest) GetModelHash ¶
func (x *GetSymbolRequest) GetModelHash() string
func (*GetSymbolRequest) GetSymbolId ¶
func (x *GetSymbolRequest) GetSymbolId() string
func (*GetSymbolRequest) ProtoMessage ¶
func (*GetSymbolRequest) ProtoMessage()
func (*GetSymbolRequest) ProtoReflect ¶
func (x *GetSymbolRequest) ProtoReflect() protoreflect.Message
func (*GetSymbolRequest) Reset ¶
func (x *GetSymbolRequest) Reset()
func (*GetSymbolRequest) String ¶
func (x *GetSymbolRequest) String() string
type Instance ¶
type Instance struct {
Id int64 `protobuf:"varint,1,opt,name=id,proto3" json:"id,omitempty"`
TypeSymbolId string `protobuf:"bytes,2,opt,name=type_symbol_id,json=typeSymbolId,proto3" json:"type_symbol_id,omitempty"` // FQN of the def/usage
// What the object holds for each feature of its type, by feature name.
FeatureValues map[string]*FeatureValue `` /* 174-byte string literal not displayed */
// contains filtered or unexported fields
}
Instance represents a runtime instance of a part/usage
func (*Instance) Descriptor
deprecated
func (*Instance) GetFeatureValues ¶
func (x *Instance) GetFeatureValues() map[string]*FeatureValue
func (*Instance) GetTypeSymbolId ¶
func (*Instance) ProtoMessage ¶
func (*Instance) ProtoMessage()
func (*Instance) ProtoReflect ¶
func (x *Instance) ProtoReflect() protoreflect.Message
type InstantiateRequest ¶
type InstantiateRequest struct {
ModelHash string `protobuf:"bytes,1,opt,name=model_hash,json=modelHash,proto3" json:"model_hash,omitempty"`
SymbolId string `protobuf:"bytes,2,opt,name=symbol_id,json=symbolId,proto3" json:"symbol_id,omitempty"` // FQN of part/usage to instantiate
// contains filtered or unexported fields
}
InstantiateRequest requests instantiation of a part/usage
func (*InstantiateRequest) Descriptor
deprecated
func (*InstantiateRequest) Descriptor() ([]byte, []int)
Deprecated: Use InstantiateRequest.ProtoReflect.Descriptor instead.
func (*InstantiateRequest) GetModelHash ¶
func (x *InstantiateRequest) GetModelHash() string
func (*InstantiateRequest) GetSymbolId ¶
func (x *InstantiateRequest) GetSymbolId() string
func (*InstantiateRequest) ProtoMessage ¶
func (*InstantiateRequest) ProtoMessage()
func (*InstantiateRequest) ProtoReflect ¶
func (x *InstantiateRequest) ProtoReflect() protoreflect.Message
func (*InstantiateRequest) Reset ¶
func (x *InstantiateRequest) Reset()
func (*InstantiateRequest) String ¶
func (x *InstantiateRequest) String() string
type InstantiateResponse ¶
type InstantiateResponse struct {
Instance *Instance `protobuf:"bytes,1,opt,name=instance,proto3" json:"instance,omitempty"`
Error string `protobuf:"bytes,2,opt,name=error,proto3" json:"error,omitempty"`
Diagnostics []*Diagnostic `protobuf:"bytes,3,rep,name=diagnostics,proto3" json:"diagnostics,omitempty"`
// Every instance reachable from `instance`, including `instance` itself, so a
// client can resolve an `instance_id` feature value without a follow-up RPC.
Instances []*Instance `protobuf:"bytes,4,rep,name=instances,proto3" json:"instances,omitempty"`
// contains filtered or unexported fields
}
InstantiateResponse contains the created instance
func (*InstantiateResponse) Descriptor
deprecated
func (*InstantiateResponse) Descriptor() ([]byte, []int)
Deprecated: Use InstantiateResponse.ProtoReflect.Descriptor instead.
func (*InstantiateResponse) GetDiagnostics ¶
func (x *InstantiateResponse) GetDiagnostics() []*Diagnostic
func (*InstantiateResponse) GetError ¶
func (x *InstantiateResponse) GetError() string
func (*InstantiateResponse) GetInstance ¶
func (x *InstantiateResponse) GetInstance() *Instance
func (*InstantiateResponse) GetInstances ¶
func (x *InstantiateResponse) GetInstances() []*Instance
func (*InstantiateResponse) ProtoMessage ¶
func (*InstantiateResponse) ProtoMessage()
func (*InstantiateResponse) ProtoReflect ¶
func (x *InstantiateResponse) ProtoReflect() protoreflect.Message
func (*InstantiateResponse) Reset ¶
func (x *InstantiateResponse) Reset()
func (*InstantiateResponse) String ¶
func (x *InstantiateResponse) String() string
type ListEnginesRequest ¶ added in v0.8.0
type ListEnginesRequest struct {
// contains filtered or unexported fields
}
ListEnginesRequest asks for the analysis engines registered in this build.
func (*ListEnginesRequest) Descriptor
deprecated
added in
v0.8.0
func (*ListEnginesRequest) Descriptor() ([]byte, []int)
Deprecated: Use ListEnginesRequest.ProtoReflect.Descriptor instead.
func (*ListEnginesRequest) ProtoMessage ¶ added in v0.8.0
func (*ListEnginesRequest) ProtoMessage()
func (*ListEnginesRequest) ProtoReflect ¶ added in v0.8.0
func (x *ListEnginesRequest) ProtoReflect() protoreflect.Message
func (*ListEnginesRequest) Reset ¶ added in v0.8.0
func (x *ListEnginesRequest) Reset()
func (*ListEnginesRequest) String ¶ added in v0.8.0
func (x *ListEnginesRequest) String() string
type ListEnginesResponse ¶ added in v0.8.0
type ListEnginesResponse struct {
Engines []*EngineInfo `protobuf:"bytes,1,rep,name=engines,proto3" json:"engines,omitempty"`
// contains filtered or unexported fields
}
ListEnginesResponse lists the engines in name order.
func (*ListEnginesResponse) Descriptor
deprecated
added in
v0.8.0
func (*ListEnginesResponse) Descriptor() ([]byte, []int)
Deprecated: Use ListEnginesResponse.ProtoReflect.Descriptor instead.
func (*ListEnginesResponse) GetEngines ¶ added in v0.8.0
func (x *ListEnginesResponse) GetEngines() []*EngineInfo
func (*ListEnginesResponse) ProtoMessage ¶ added in v0.8.0
func (*ListEnginesResponse) ProtoMessage()
func (*ListEnginesResponse) ProtoReflect ¶ added in v0.8.0
func (x *ListEnginesResponse) ProtoReflect() protoreflect.Message
func (*ListEnginesResponse) Reset ¶ added in v0.8.0
func (x *ListEnginesResponse) Reset()
func (*ListEnginesResponse) String ¶ added in v0.8.0
func (x *ListEnginesResponse) String() string
type MeasurementRef ¶ added in v0.6.0
type MeasurementRef struct {
// Unit as written ("km") or as an operation composed it ("m/s"); empty for
// one never written down, described by unit_term alone.
Unit string `protobuf:"bytes,1,opt,name=unit,proto3" json:"unit,omitempty"`
// What the unit reduces to. Required wherever `unit` names one, as a
// Quantity's is: a named unit sent without its reduction is rejected rather
// than read as dimension one.
UnitTerm *UnitTerm `protobuf:"bytes,2,opt,name=unit_term,json=unitTerm,proto3" json:"unit_term,omitempty"`
// FQN of the one unit declaration the reference names ("SI::kilometre"), which
// is what tells the declared unit `km` from any other spelling of 1000 metres;
// empty for a unit composed of several ("m/s"), which names no declaration.
// The service always sends it for a named unit. A client may omit it, in
// which case `unit` is read as a Quantity's is; sent, it must name a
// measurement unit of the model that reduces to unit_term and that `unit`
// spells, or the value is rejected.
UnitId string `protobuf:"bytes,3,opt,name=unit_id,json=unitId,proto3" json:"unit_id,omitempty"`
// contains filtered or unexported fields
}
MeasurementRef is a MeasurementReferences::ScalarMeasurementReference held as a value: a unit by itself — `SI::m`, `km`, or `m / s` as an operation composed it — as distinct from a Quantity expressed in one. It carries what the runtime value carries: the unit as written and what it reduces to, plus the one declaration it names when it names one.
func (*MeasurementRef) Descriptor
deprecated
added in
v0.6.0
func (*MeasurementRef) Descriptor() ([]byte, []int)
Deprecated: Use MeasurementRef.ProtoReflect.Descriptor instead.
func (*MeasurementRef) GetUnit ¶ added in v0.6.0
func (x *MeasurementRef) GetUnit() string
func (*MeasurementRef) GetUnitId ¶ added in v0.6.0
func (x *MeasurementRef) GetUnitId() string
func (*MeasurementRef) GetUnitTerm ¶ added in v0.6.0
func (x *MeasurementRef) GetUnitTerm() *UnitTerm
func (*MeasurementRef) ProtoMessage ¶ added in v0.6.0
func (*MeasurementRef) ProtoMessage()
func (*MeasurementRef) ProtoReflect ¶ added in v0.6.0
func (x *MeasurementRef) ProtoReflect() protoreflect.Message
func (*MeasurementRef) Reset ¶ added in v0.6.0
func (x *MeasurementRef) Reset()
func (*MeasurementRef) String ¶ added in v0.6.0
func (x *MeasurementRef) String() string
type Metaobject ¶ added in v0.8.0
type Metaobject struct {
// FQN of the element reflected on ("Vehicle::seatBelt"). Its identity.
ElementId string `protobuf:"bytes,1,opt,name=element_id,json=elementId,proto3" json:"element_id,omitempty"`
// FQN of the element's own reflective metaclass ("SysML::Systems::PartUsage"),
// the most specific metaclass of the KerML or SysML library classifying it;
// not the type it was cast to. The service always sends it; a client may omit
// it, in which case the model's is used, but one sent must be the model's or
// the value is rejected.
MetaclassId string `protobuf:"bytes,2,opt,name=metaclass_id,json=metaclassId,proto3" json:"metaclass_id,omitempty"`
// contains filtered or unexported fields
}
Metaobject is an element of the model held as an instance of its reflective metaclass: what `x meta KerML::Feature`, or the last element of `x.metadata`, evaluates to (KerML 7.4.9.2, 8.3.4.8.15). It crosses as the element it reflects, which is its identity: two metaobjects are the same exactly when element_id is, whatever type each was cast to. Its features (`declaredName`, `ownedFeature`, ...) are read in the model, not carried.
func (*Metaobject) Descriptor
deprecated
added in
v0.8.0
func (*Metaobject) Descriptor() ([]byte, []int)
Deprecated: Use Metaobject.ProtoReflect.Descriptor instead.
func (*Metaobject) GetElementId ¶ added in v0.8.0
func (x *Metaobject) GetElementId() string
func (*Metaobject) GetMetaclassId ¶ added in v0.8.0
func (x *Metaobject) GetMetaclassId() string
func (*Metaobject) ProtoMessage ¶ added in v0.8.0
func (*Metaobject) ProtoMessage()
func (*Metaobject) ProtoReflect ¶ added in v0.8.0
func (x *Metaobject) ProtoReflect() protoreflect.Message
func (*Metaobject) Reset ¶ added in v0.8.0
func (x *Metaobject) Reset()
func (*Metaobject) String ¶ added in v0.8.0
func (x *Metaobject) String() string
type MoveEdit ¶ added in v0.8.0
type MoveEdit struct {
// Fully qualified name of the declaration to move.
Target string `protobuf:"bytes,1,opt,name=target,proto3" json:"target,omitempty"`
// Namespace FQN to receive the declaration; empty means the document root.
Owner string `protobuf:"bytes,2,opt,name=owner,proto3" json:"owner,omitempty"`
// contains filtered or unexported fields
}
MoveEdit re-parents a declaration: the span DeleteEdit would remove is written where AddMemberEdit would insert it, and the references the move breaks are respelled so the model stays valid. A move whose references cannot be respelled is refused, naming them, rather than leaving them dangling.
func (*MoveEdit) Descriptor
deprecated
added in
v0.8.0
func (*MoveEdit) ProtoMessage ¶ added in v0.8.0
func (*MoveEdit) ProtoMessage()
func (*MoveEdit) ProtoReflect ¶ added in v0.8.0
func (x *MoveEdit) ProtoReflect() protoreflect.Message
type MultiplicityInfo ¶
type MultiplicityInfo struct {
Lower string `protobuf:"bytes,1,opt,name=lower,proto3" json:"lower,omitempty"` // "0", "1", … or "*"
Upper string `protobuf:"bytes,2,opt,name=upper,proto3" json:"upper,omitempty"` // "1", "*", …
// contains filtered or unexported fields
}
MultiplicityInfo is a declared multiplicity range. A bound the service cannot evaluate statically is empty.
func (*MultiplicityInfo) Descriptor
deprecated
func (*MultiplicityInfo) Descriptor() ([]byte, []int)
Deprecated: Use MultiplicityInfo.ProtoReflect.Descriptor instead.
func (*MultiplicityInfo) GetLower ¶
func (x *MultiplicityInfo) GetLower() string
func (*MultiplicityInfo) GetUpper ¶
func (x *MultiplicityInfo) GetUpper() string
func (*MultiplicityInfo) ProtoMessage ¶
func (*MultiplicityInfo) ProtoMessage()
func (*MultiplicityInfo) ProtoReflect ¶
func (x *MultiplicityInfo) ProtoReflect() protoreflect.Message
func (*MultiplicityInfo) Reset ¶
func (x *MultiplicityInfo) Reset()
func (*MultiplicityInfo) String ¶
func (x *MultiplicityInfo) String() string
type Outcome ¶ added in v0.7.0
type Outcome struct {
// The values the run ended with: an action's outputs, a state machine's final
// context, or an analysis case's outputs and verdicts. Empty for a failed run.
Outputs map[string]*Value `` /* 141-byte string literal not displayed */
// The state a machine rests in and the states it entered, in order; both
// empty for an action or a case.
FinalState string `protobuf:"bytes,2,opt,name=final_state,json=finalState,proto3" json:"final_state,omitempty"`
StatesVisited []string `protobuf:"bytes,3,rep,name=states_visited,json=statesVisited,proto3" json:"states_visited,omitempty"`
// What the runs reaching this outcome failed with; empty for one they completed.
Error string `protobuf:"bytes,4,opt,name=error,proto3" json:"error,omitempty"`
// How many linearizations within the budget reached this outcome.
Linearizations int32 `protobuf:"varint,5,opt,name=linearizations,proto3" json:"linearizations,omitempty"`
// One run's choice sequence in run order, one entry per choice point it
// resolved, each spelling the alternatives and the one taken. Empty when the
// run faced no choice point.
Witness []string `protobuf:"bytes,6,rep,name=witness,proto3" json:"witness,omitempty"`
// What the witness run noted about itself: its choice points and the guards
// it could not evaluate, as RunAnalysisResponse.diagnostics reports them for
// one run.
Diagnostics []*Diagnostic `protobuf:"bytes,7,rep,name=diagnostics,proto3" json:"diagnostics,omitempty"`
// contains filtered or unexported fields
}
Outcome is one distinct outcome an exploration reached: the observables a conformance case compares, how many linearizations reached it, and the choice sequence of one run that did. Two runs agreeing on their observables are one outcome.
func (*Outcome) Descriptor
deprecated
added in
v0.7.0
func (*Outcome) GetDiagnostics ¶ added in v0.7.0
func (x *Outcome) GetDiagnostics() []*Diagnostic
func (*Outcome) GetFinalState ¶ added in v0.7.0
func (*Outcome) GetLinearizations ¶ added in v0.7.0
func (*Outcome) GetOutputs ¶ added in v0.7.0
func (*Outcome) GetStatesVisited ¶ added in v0.7.0
func (*Outcome) GetWitness ¶ added in v0.7.0
func (*Outcome) ProtoMessage ¶ added in v0.7.0
func (*Outcome) ProtoMessage()
func (*Outcome) ProtoReflect ¶ added in v0.7.0
func (x *Outcome) ProtoReflect() protoreflect.Message
type ParseFileRequest ¶
type ParseFileRequest struct {
// Types that are valid to be assigned to Source:
//
// *ParseFileRequest_FilePath
// *ParseFileRequest_Content
Source isParseFileRequest_Source `protobuf_oneof:"source"`
// Ignored: the service keys its cache by the source it read, so a repeated
// parse hits the cache whether or not a client sends this.
//
// Deprecated: Marked as deprecated in sysml.proto.
ContentHash string `protobuf:"bytes,3,opt,name=content_hash,json=contentHash,proto3" json:"content_hash,omitempty"`
// Language for inline content: "sysml" or "kerml". Empty defaults to SysML.
Language string `protobuf:"bytes,4,opt,name=language,proto3" json:"language,omitempty"`
// Judge the source as conforming SysML v2: notation no pinned production
// admits is an error rather than a warning. Part of the cache key, so the two
// modes never serve each other's diagnostics.
StrictConformance bool `protobuf:"varint,5,opt,name=strict_conformance,json=strictConformance,proto3" json:"strict_conformance,omitempty"`
// contains filtered or unexported fields
}
ParseFileRequest specifies the source to parse
func (*ParseFileRequest) Descriptor
deprecated
func (*ParseFileRequest) Descriptor() ([]byte, []int)
Deprecated: Use ParseFileRequest.ProtoReflect.Descriptor instead.
func (*ParseFileRequest) GetContent ¶
func (x *ParseFileRequest) GetContent() string
func (*ParseFileRequest) GetContentHash
deprecated
func (x *ParseFileRequest) GetContentHash() string
Deprecated: Marked as deprecated in sysml.proto.
func (*ParseFileRequest) GetFilePath ¶
func (x *ParseFileRequest) GetFilePath() string
func (*ParseFileRequest) GetLanguage ¶ added in v0.2.0
func (x *ParseFileRequest) GetLanguage() string
func (*ParseFileRequest) GetSource ¶
func (x *ParseFileRequest) GetSource() isParseFileRequest_Source
func (*ParseFileRequest) GetStrictConformance ¶ added in v0.2.0
func (x *ParseFileRequest) GetStrictConformance() bool
func (*ParseFileRequest) ProtoMessage ¶
func (*ParseFileRequest) ProtoMessage()
func (*ParseFileRequest) ProtoReflect ¶
func (x *ParseFileRequest) ProtoReflect() protoreflect.Message
func (*ParseFileRequest) Reset ¶
func (x *ParseFileRequest) Reset()
func (*ParseFileRequest) String ¶
func (x *ParseFileRequest) String() string
type ParseFileRequest_Content ¶
type ParseFileRequest_Content struct {
Content string `protobuf:"bytes,2,opt,name=content,proto3,oneof"`
}
type ParseFileRequest_FilePath ¶
type ParseFileRequest_FilePath struct {
FilePath string `protobuf:"bytes,1,opt,name=file_path,json=filePath,proto3,oneof"`
}
type ParseFileResponse ¶
type ParseFileResponse struct {
ModelHash string `protobuf:"bytes,1,opt,name=model_hash,json=modelHash,proto3" json:"model_hash,omitempty"` // Cache key for subsequent requests
Root *SymbolInfo `protobuf:"bytes,2,opt,name=root,proto3" json:"root,omitempty"` // Root namespace
Diagnostics []*Diagnostic `protobuf:"bytes,3,rep,name=diagnostics,proto3" json:"diagnostics,omitempty"`
Error string `protobuf:"bytes,4,opt,name=error,proto3" json:"error,omitempty"` // Critical failure message if any
// contains filtered or unexported fields
}
ParseFileResponse contains parsed model info
func (*ParseFileResponse) Descriptor
deprecated
func (*ParseFileResponse) Descriptor() ([]byte, []int)
Deprecated: Use ParseFileResponse.ProtoReflect.Descriptor instead.
func (*ParseFileResponse) GetDiagnostics ¶
func (x *ParseFileResponse) GetDiagnostics() []*Diagnostic
func (*ParseFileResponse) GetError ¶
func (x *ParseFileResponse) GetError() string
func (*ParseFileResponse) GetModelHash ¶
func (x *ParseFileResponse) GetModelHash() string
func (*ParseFileResponse) GetRoot ¶
func (x *ParseFileResponse) GetRoot() *SymbolInfo
func (*ParseFileResponse) ProtoMessage ¶
func (*ParseFileResponse) ProtoMessage()
func (*ParseFileResponse) ProtoReflect ¶
func (x *ParseFileResponse) ProtoReflect() protoreflect.Message
func (*ParseFileResponse) Reset ¶
func (x *ParseFileResponse) Reset()
func (*ParseFileResponse) String ¶
func (x *ParseFileResponse) String() string
type ParseSourcesRequest ¶ added in v0.4.2
type ParseSourcesRequest struct {
Documents []*SourceDocument `protobuf:"bytes,1,rep,name=documents,proto3" json:"documents,omitempty"`
// Judge every document as conforming SysML v2, as ParseFileRequest does.
StrictConformance bool `protobuf:"varint,2,opt,name=strict_conformance,json=strictConformance,proto3" json:"strict_conformance,omitempty"`
// contains filtered or unexported fields
}
ParseSourcesRequest specifies the documents that make up one model. Two documents may not carry the same name: each is a distinct document of the model, and diagnostics name the document they came from.
func (*ParseSourcesRequest) Descriptor
deprecated
added in
v0.4.2
func (*ParseSourcesRequest) Descriptor() ([]byte, []int)
Deprecated: Use ParseSourcesRequest.ProtoReflect.Descriptor instead.
func (*ParseSourcesRequest) GetDocuments ¶ added in v0.4.2
func (x *ParseSourcesRequest) GetDocuments() []*SourceDocument
func (*ParseSourcesRequest) GetStrictConformance ¶ added in v0.4.2
func (x *ParseSourcesRequest) GetStrictConformance() bool
func (*ParseSourcesRequest) ProtoMessage ¶ added in v0.4.2
func (*ParseSourcesRequest) ProtoMessage()
func (*ParseSourcesRequest) ProtoReflect ¶ added in v0.4.2
func (x *ParseSourcesRequest) ProtoReflect() protoreflect.Message
func (*ParseSourcesRequest) Reset ¶ added in v0.4.2
func (x *ParseSourcesRequest) Reset()
func (*ParseSourcesRequest) String ¶ added in v0.4.2
func (x *ParseSourcesRequest) String() string
type ParseSourcesResponse ¶ added in v0.4.2
type ParseSourcesResponse struct {
ModelHash string `protobuf:"bytes,1,opt,name=model_hash,json=modelHash,proto3" json:"model_hash,omitempty"`
// Root namespace per document, in the order the request named them.
Roots []*SymbolInfo `protobuf:"bytes,2,rep,name=roots,proto3" json:"roots,omitempty"`
// Diagnostics of every document, each naming the document it came from.
Diagnostics []*Diagnostic `protobuf:"bytes,3,rep,name=diagnostics,proto3" json:"diagnostics,omitempty"`
Error string `protobuf:"bytes,4,opt,name=error,proto3" json:"error,omitempty"`
// contains filtered or unexported fields
}
ParseSourcesResponse contains the parsed model, whose documents are one model for every later request: a model_hash names all of them together.
func (*ParseSourcesResponse) Descriptor
deprecated
added in
v0.4.2
func (*ParseSourcesResponse) Descriptor() ([]byte, []int)
Deprecated: Use ParseSourcesResponse.ProtoReflect.Descriptor instead.
func (*ParseSourcesResponse) GetDiagnostics ¶ added in v0.4.2
func (x *ParseSourcesResponse) GetDiagnostics() []*Diagnostic
func (*ParseSourcesResponse) GetError ¶ added in v0.4.2
func (x *ParseSourcesResponse) GetError() string
func (*ParseSourcesResponse) GetModelHash ¶ added in v0.4.2
func (x *ParseSourcesResponse) GetModelHash() string
func (*ParseSourcesResponse) GetRoots ¶ added in v0.4.2
func (x *ParseSourcesResponse) GetRoots() []*SymbolInfo
func (*ParseSourcesResponse) ProtoMessage ¶ added in v0.4.2
func (*ParseSourcesResponse) ProtoMessage()
func (*ParseSourcesResponse) ProtoReflect ¶ added in v0.4.2
func (x *ParseSourcesResponse) ProtoReflect() protoreflect.Message
func (*ParseSourcesResponse) Reset ¶ added in v0.4.2
func (x *ParseSourcesResponse) Reset()
func (*ParseSourcesResponse) String ¶ added in v0.4.2
func (x *ParseSourcesResponse) String() string
type PrimitiveConstraint ¶
type PrimitiveConstraint struct {
// Negates the comparison's verdict.
Inverse bool `protobuf:"varint,1,opt,name=inverse,proto3" json:"inverse,omitempty"`
// Property to compare, as named in docs/reference/api.md's query property table
// ("@type", "name", "qualifiedName", ...). An unknown one fails the call.
Property string `protobuf:"bytes,2,opt,name=property,proto3" json:"property,omitempty"`
Operator PrimitiveOperator `protobuf:"varint,3,opt,name=operator,proto3,enum=sysml.PrimitiveOperator" json:"operator,omitempty"`
// Values to compare against. The standard writes one value, and its clients
// also write a list for `@type`; with `=` the element matches any of them,
// while `>` and `<` require exactly one.
Value []string `protobuf:"bytes,4,rep,name=value,proto3" json:"value,omitempty"`
// contains filtered or unexported fields
}
PrimitiveConstraint compares one property of an element against a value.
func (*PrimitiveConstraint) Descriptor
deprecated
func (*PrimitiveConstraint) Descriptor() ([]byte, []int)
Deprecated: Use PrimitiveConstraint.ProtoReflect.Descriptor instead.
func (*PrimitiveConstraint) GetInverse ¶
func (x *PrimitiveConstraint) GetInverse() bool
func (*PrimitiveConstraint) GetOperator ¶
func (x *PrimitiveConstraint) GetOperator() PrimitiveOperator
func (*PrimitiveConstraint) GetProperty ¶
func (x *PrimitiveConstraint) GetProperty() string
func (*PrimitiveConstraint) GetValue ¶
func (x *PrimitiveConstraint) GetValue() []string
func (*PrimitiveConstraint) ProtoMessage ¶
func (*PrimitiveConstraint) ProtoMessage()
func (*PrimitiveConstraint) ProtoReflect ¶
func (x *PrimitiveConstraint) ProtoReflect() protoreflect.Message
func (*PrimitiveConstraint) Reset ¶
func (x *PrimitiveConstraint) Reset()
func (*PrimitiveConstraint) String ¶
func (x *PrimitiveConstraint) String() string
type PrimitiveOperator ¶
type PrimitiveOperator int32
PrimitiveOperator is the standard's PrimitiveConstraint.operator.
const ( PrimitiveOperator_PRIMITIVE_OPERATOR_UNSPECIFIED PrimitiveOperator = 0 // unset; fails the call PrimitiveOperator_PRIMITIVE_OPERATOR_EQUAL PrimitiveOperator = 1 // "=" PrimitiveOperator_PRIMITIVE_OPERATOR_GREATER PrimitiveOperator = 2 // ">" PrimitiveOperator_PRIMITIVE_OPERATOR_LESS PrimitiveOperator = 3 // "<" )
func (PrimitiveOperator) Descriptor ¶
func (PrimitiveOperator) Descriptor() protoreflect.EnumDescriptor
func (PrimitiveOperator) Enum ¶
func (x PrimitiveOperator) Enum() *PrimitiveOperator
func (PrimitiveOperator) EnumDescriptor
deprecated
func (PrimitiveOperator) EnumDescriptor() ([]byte, []int)
Deprecated: Use PrimitiveOperator.Descriptor instead.
func (PrimitiveOperator) Number ¶
func (x PrimitiveOperator) Number() protoreflect.EnumNumber
func (PrimitiveOperator) String ¶
func (x PrimitiveOperator) String() string
func (PrimitiveOperator) Type ¶
func (PrimitiveOperator) Type() protoreflect.EnumType
type Quantity ¶
type Quantity struct {
// Magnitude, keeping Integer and Real apart as the rest of Value does.
//
// Types that are valid to be assigned to Magnitude:
//
// *Quantity_IntMagnitude
// *Quantity_RealMagnitude
Magnitude isQuantity_Magnitude `protobuf_oneof:"magnitude"`
// Unit as written ("km/h") or as an operation composed it ("m/s"); empty for
// one never written down, described by unit_term alone.
Unit string `protobuf:"bytes,3,opt,name=unit,proto3" json:"unit,omitempty"`
// What the unit reduces to, which decides commensurability and conversion.
// Required wherever `unit` names one: a named unit sent without its reduction
// is rejected rather than read as dimension one.
UnitTerm *UnitTerm `protobuf:"bytes,4,opt,name=unit_term,json=unitTerm,proto3" json:"unit_term,omitempty"`
// contains filtered or unexported fields
}
Quantity is a magnitude and the measurement reference it is expressed in, sent in the unit written: `5.4 [km/h]` crosses as 5.4 `km/h`, not as 1.5 `m/s`.
func (*Quantity) Descriptor
deprecated
func (*Quantity) GetIntMagnitude ¶
func (*Quantity) GetMagnitude ¶
func (x *Quantity) GetMagnitude() isQuantity_Magnitude
func (*Quantity) GetRealMagnitude ¶
func (*Quantity) GetUnitTerm ¶
func (*Quantity) ProtoMessage ¶
func (*Quantity) ProtoMessage()
func (*Quantity) ProtoReflect ¶
func (x *Quantity) ProtoReflect() protoreflect.Message
type Quantity_IntMagnitude ¶
type Quantity_IntMagnitude struct {
IntMagnitude int64 `protobuf:"varint,1,opt,name=int_magnitude,json=intMagnitude,proto3,oneof"`
}
type Quantity_RealMagnitude ¶
type Quantity_RealMagnitude struct {
RealMagnitude float64 `protobuf:"fixed64,2,opt,name=real_magnitude,json=realMagnitude,proto3,oneof"`
}
type Query ¶
type Query struct {
// Elements the query considers, each named by qualified name, together with
// every element nested inside them. Empty considers the whole loaded model.
// Corresponds to the standard's `scope` of DataIdentity references.
Scope []string `protobuf:"bytes,1,rep,name=scope,proto3" json:"scope,omitempty"`
// Properties to report for each matched element. Empty reports all of them.
Select []string `protobuf:"bytes,2,rep,name=select,proto3" json:"select,omitempty"`
// Filter every considered element must satisfy. Unset matches all of them.
Where *Constraint `protobuf:"bytes,3,opt,name=where,proto3" json:"where,omitempty"`
// contains filtered or unexported fields
}
Query is the standard's Query resource (SysML v2 API & Services). Its `@type` is fixed and carries no information on the wire, and its identity fields (`@id`, `owningProject`) belong to a repository that stores queries, which this service is not: it evaluates a query against a parsed model.
func (*Query) Descriptor
deprecated
func (*Query) GetWhere ¶
func (x *Query) GetWhere() *Constraint
func (*Query) ProtoMessage ¶
func (*Query) ProtoMessage()
func (*Query) ProtoReflect ¶
func (x *Query) ProtoReflect() protoreflect.Message
type QueryRequest ¶
type QueryRequest struct {
ModelHash string `protobuf:"bytes,1,opt,name=model_hash,json=modelHash,proto3" json:"model_hash,omitempty"` // from ParseFile response
Query *Query `protobuf:"bytes,2,opt,name=query,proto3" json:"query,omitempty"`
// OSLC Query 3.0 parameter text, mutually exclusive with query.
OslcQuery string `protobuf:"bytes,3,opt,name=oslc_query,json=oslcQuery,proto3" json:"oslc_query,omitempty"`
// contains filtered or unexported fields
}
QueryRequest runs a Query against a model the service already parsed.
func (*QueryRequest) Descriptor
deprecated
func (*QueryRequest) Descriptor() ([]byte, []int)
Deprecated: Use QueryRequest.ProtoReflect.Descriptor instead.
func (*QueryRequest) GetModelHash ¶
func (x *QueryRequest) GetModelHash() string
func (*QueryRequest) GetOslcQuery ¶ added in v0.2.0
func (x *QueryRequest) GetOslcQuery() string
func (*QueryRequest) GetQuery ¶
func (x *QueryRequest) GetQuery() *Query
func (*QueryRequest) ProtoMessage ¶
func (*QueryRequest) ProtoMessage()
func (*QueryRequest) ProtoReflect ¶
func (x *QueryRequest) ProtoReflect() protoreflect.Message
func (*QueryRequest) Reset ¶
func (x *QueryRequest) Reset()
func (*QueryRequest) String ¶
func (x *QueryRequest) String() string
type QueryResponse ¶
type QueryResponse struct {
Elements []*QueryResultElement `protobuf:"bytes,1,rep,name=elements,proto3" json:"elements,omitempty"`
// contains filtered or unexported fields
}
QueryResponse contains the elements the query selected, in the order they are declared in the model. A query that matches nothing answers with no elements; a query the service cannot evaluate fails the call with INVALID_ARGUMENT rather than answering empty.
func (*QueryResponse) Descriptor
deprecated
func (*QueryResponse) Descriptor() ([]byte, []int)
Deprecated: Use QueryResponse.ProtoReflect.Descriptor instead.
func (*QueryResponse) GetElements ¶
func (x *QueryResponse) GetElements() []*QueryResultElement
func (*QueryResponse) ProtoMessage ¶
func (*QueryResponse) ProtoMessage()
func (*QueryResponse) ProtoReflect ¶
func (x *QueryResponse) ProtoReflect() protoreflect.Message
func (*QueryResponse) Reset ¶
func (x *QueryResponse) Reset()
func (*QueryResponse) String ¶
func (x *QueryResponse) String() string
type QueryResultElement ¶
type QueryResultElement struct {
Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"` // qualified name, the identity this service reports
Type string `protobuf:"bytes,2,opt,name=type,proto3" json:"type,omitempty"` // metamodel type name ("PartUsage", "PartDefinition", ...)
Properties map[string]string `` /* 147-byte string literal not displayed */
// contains filtered or unexported fields
}
QueryResultElement is one matched element. `id` and `type` are always reported, since an element record is not usable without them; `properties` carries what `select` asked for, omitting a property the element does not have.
func (*QueryResultElement) Descriptor
deprecated
func (*QueryResultElement) Descriptor() ([]byte, []int)
Deprecated: Use QueryResultElement.ProtoReflect.Descriptor instead.
func (*QueryResultElement) GetId ¶
func (x *QueryResultElement) GetId() string
func (*QueryResultElement) GetProperties ¶
func (x *QueryResultElement) GetProperties() map[string]string
func (*QueryResultElement) GetType ¶
func (x *QueryResultElement) GetType() string
func (*QueryResultElement) ProtoMessage ¶
func (*QueryResultElement) ProtoMessage()
func (*QueryResultElement) ProtoReflect ¶
func (x *QueryResultElement) ProtoReflect() protoreflect.Message
func (*QueryResultElement) Reset ¶
func (x *QueryResultElement) Reset()
func (*QueryResultElement) String ¶
func (x *QueryResultElement) String() string
type RenameEdit ¶
type RenameEdit struct {
Target string `protobuf:"bytes,1,opt,name=target,proto3" json:"target,omitempty"` // element to rename, as SymbolInfo.id names it
NewName string `protobuf:"bytes,2,opt,name=new_name,json=newName,proto3" json:"new_name,omitempty"` // new declared name; must lex as an identifier
// contains filtered or unexported fields
}
RenameEdit rewrites the name token of a declaration. References to the element are not updated: a rename of an element referenced anywhere is refused, naming the referring elements, rather than leaving a broken model.
func (*RenameEdit) Descriptor
deprecated
func (*RenameEdit) Descriptor() ([]byte, []int)
Deprecated: Use RenameEdit.ProtoReflect.Descriptor instead.
func (*RenameEdit) GetNewName ¶
func (x *RenameEdit) GetNewName() string
func (*RenameEdit) GetTarget ¶
func (x *RenameEdit) GetTarget() string
func (*RenameEdit) ProtoMessage ¶
func (*RenameEdit) ProtoMessage()
func (*RenameEdit) ProtoReflect ¶
func (x *RenameEdit) ProtoReflect() protoreflect.Message
func (*RenameEdit) Reset ¶
func (x *RenameEdit) Reset()
func (*RenameEdit) String ¶
func (x *RenameEdit) String() string
type RenderDocumentRequest ¶ added in v0.4.2
type RenderDocumentRequest struct {
ModelHash string `protobuf:"bytes,1,opt,name=model_hash,json=modelHash,proto3" json:"model_hash,omitempty"` // from ParseFile response
// FQN of the document to render. Fails with NOT_FOUND when the model does
// not declare it, and INVALID_ARGUMENT when it declares something else.
DocumentId string `protobuf:"bytes,2,opt,name=document_id,json=documentId,proto3" json:"document_id,omitempty"`
// contains filtered or unexported fields
}
RenderDocumentRequest renders a named document — a part def specializing DocumentQueries::Document — to Markdown. A document binds its queries' parameters in the model, so the request carries none.
func (*RenderDocumentRequest) Descriptor
deprecated
added in
v0.4.2
func (*RenderDocumentRequest) Descriptor() ([]byte, []int)
Deprecated: Use RenderDocumentRequest.ProtoReflect.Descriptor instead.
func (*RenderDocumentRequest) GetDocumentId ¶ added in v0.4.2
func (x *RenderDocumentRequest) GetDocumentId() string
func (*RenderDocumentRequest) GetModelHash ¶ added in v0.4.2
func (x *RenderDocumentRequest) GetModelHash() string
func (*RenderDocumentRequest) ProtoMessage ¶ added in v0.4.2
func (*RenderDocumentRequest) ProtoMessage()
func (*RenderDocumentRequest) ProtoReflect ¶ added in v0.4.2
func (x *RenderDocumentRequest) ProtoReflect() protoreflect.Message
func (*RenderDocumentRequest) Reset ¶ added in v0.4.2
func (x *RenderDocumentRequest) Reset()
func (*RenderDocumentRequest) String ¶ added in v0.4.2
func (x *RenderDocumentRequest) String() string
type RenderDocumentResponse ¶ added in v0.4.2
type RenderDocumentResponse struct {
Markdown string `protobuf:"bytes,1,opt,name=markdown,proto3" json:"markdown,omitempty"`
// contains filtered or unexported fields
}
RenderDocumentResponse carries the rendered Markdown, byte-for-byte what the CLI's -render-document writes.
func (*RenderDocumentResponse) Descriptor
deprecated
added in
v0.4.2
func (*RenderDocumentResponse) Descriptor() ([]byte, []int)
Deprecated: Use RenderDocumentResponse.ProtoReflect.Descriptor instead.
func (*RenderDocumentResponse) GetMarkdown ¶ added in v0.4.2
func (x *RenderDocumentResponse) GetMarkdown() string
func (*RenderDocumentResponse) ProtoMessage ¶ added in v0.4.2
func (*RenderDocumentResponse) ProtoMessage()
func (*RenderDocumentResponse) ProtoReflect ¶ added in v0.4.2
func (x *RenderDocumentResponse) ProtoReflect() protoreflect.Message
func (*RenderDocumentResponse) Reset ¶ added in v0.4.2
func (x *RenderDocumentResponse) Reset()
func (*RenderDocumentResponse) String ¶ added in v0.4.2
func (x *RenderDocumentResponse) String() string
type RunAnalysisRequest ¶ added in v0.6.0
type RunAnalysisRequest struct {
ModelHash string `protobuf:"bytes,1,opt,name=model_hash,json=modelHash,proto3" json:"model_hash,omitempty"`
// FQN of the analysis case definition or usage.
SymbolId string `protobuf:"bytes,2,opt,name=symbol_id,json=symbolId,proto3" json:"symbol_id,omitempty"`
// Optional FQN of a part/usage to instantiate as the case's subject. Empty
// leaves the case's own `subject s = ...` binding to supply it; a case that
// binds none and is given none fails to run.
SubjectSymbolId string `protobuf:"bytes,3,opt,name=subject_symbol_id,json=subjectSymbolId,proto3" json:"subject_symbol_id,omitempty"`
// Positional arguments for the case's input parameters, in declaration order;
// the subject is never among them.
Arguments []*Value `protobuf:"bytes,4,rep,name=arguments,proto3" json:"arguments,omitempty"`
// Arguments bound to input parameters by name.
NamedArguments map[string]*Value `` /* 177-byte string literal not displayed */
// Scheduling policy the run resolves its choice points under: "declared",
// "reverse", "seed:<n>" or "explore[:runs=<n>,depth=<d>]". Empty is the
// default, "reverse"; any other spelling is INVALID_ARGUMENT. Under explore
// the response answers with `outcomes` and `exploration` in place of one run's
// outputs, verdicts, instances and error (see ExecuteActionResponse).
Schedule string `protobuf:"bytes,6,opt,name=schedule,proto3" json:"schedule,omitempty"`
// The engine the case is put to; see VerifyConstraintRequest.engine. "explore"
// asks what "explore" as the schedule asks, and the response answers alike.
Engine string `protobuf:"bytes,7,opt,name=engine,proto3" json:"engine,omitempty"`
// contains filtered or unexported fields
}
RunAnalysisRequest runs an analysis case, as %analysis does: its subject and input parameters are bound from the request and from the case's own declarations, its body runs, and every output it declares is reported with the verdict of its objective and of each assertion in its body (SysML 7.22).
func (*RunAnalysisRequest) Descriptor
deprecated
added in
v0.6.0
func (*RunAnalysisRequest) Descriptor() ([]byte, []int)
Deprecated: Use RunAnalysisRequest.ProtoReflect.Descriptor instead.
func (*RunAnalysisRequest) GetArguments ¶ added in v0.6.0
func (x *RunAnalysisRequest) GetArguments() []*Value
func (*RunAnalysisRequest) GetEngine ¶ added in v0.8.0
func (x *RunAnalysisRequest) GetEngine() string
func (*RunAnalysisRequest) GetModelHash ¶ added in v0.6.0
func (x *RunAnalysisRequest) GetModelHash() string
func (*RunAnalysisRequest) GetNamedArguments ¶ added in v0.6.0
func (x *RunAnalysisRequest) GetNamedArguments() map[string]*Value
func (*RunAnalysisRequest) GetSchedule ¶ added in v0.7.0
func (x *RunAnalysisRequest) GetSchedule() string
func (*RunAnalysisRequest) GetSubjectSymbolId ¶ added in v0.6.0
func (x *RunAnalysisRequest) GetSubjectSymbolId() string
func (*RunAnalysisRequest) GetSymbolId ¶ added in v0.6.0
func (x *RunAnalysisRequest) GetSymbolId() string
func (*RunAnalysisRequest) ProtoMessage ¶ added in v0.6.0
func (*RunAnalysisRequest) ProtoMessage()
func (*RunAnalysisRequest) ProtoReflect ¶ added in v0.6.0
func (x *RunAnalysisRequest) ProtoReflect() protoreflect.Message
func (*RunAnalysisRequest) Reset ¶ added in v0.6.0
func (x *RunAnalysisRequest) Reset()
func (*RunAnalysisRequest) String ¶ added in v0.6.0
func (x *RunAnalysisRequest) String() string
type RunAnalysisResponse ¶ added in v0.6.0
type RunAnalysisResponse struct {
// The case's out and return parameters in declaration order; a value the
// body returned into an unnamed result is named "result".
Outputs []*CalcOutput `protobuf:"bytes,1,rep,name=outputs,proto3" json:"outputs,omitempty"`
// What the case's objective and each assertion in its body decided, the
// objective first: kind "objective" or "assertion", holds for satisfied, the
// violated condition for not satisfied, and an error for undecided.
Verdicts []*Verdict `protobuf:"bytes,2,rep,name=verdicts,proto3" json:"verdicts,omitempty"`
// Instances reachable from the subject the case ran on, including it, so its
// feature values need no follow-up RPC. Empty when the run named no object.
Instances []*Instance `protobuf:"bytes,3,rep,name=instances,proto3" json:"instances,omitempty"`
// Set when the case could not be run — an unknown symbol, a subject that
// could not be built or bound, an input with no value, a failed step. The
// outputs computed and the evaluations made before the failure are still
// reported beside it, each verdict undecided.
Error string `protobuf:"bytes,4,opt,name=error,proto3" json:"error,omitempty"`
Diagnostics []*Diagnostic `protobuf:"bytes,5,rep,name=diagnostics,proto3" json:"diagnostics,omitempty"`
// What kind of failure `error` reports.
FailureReason FailureReason `` /* 126-byte string literal not displayed */
// What the body answered when the case run was a verification case: its own
// verdict first, then the verdict of each subcase it performed.
VerificationVerdicts []*VerificationVerdict `protobuf:"bytes,7,rep,name=verification_verdicts,json=verificationVerdicts,proto3" json:"verification_verdicts,omitempty"`
// Set only under an explore schedule: every distinct outcome reached, in
// canonical order, and how the exploration ended. An outcome's outputs carry
// the case's outputs and, named "objective <name>", "assertion <name>" and
// "verdict <case>", its verdicts as strings; `outputs`, `verdicts`, `instances`
// and `error` are then empty, a failed run being an outcome of its own.
Outcomes []*Outcome `protobuf:"bytes,8,rep,name=outcomes,proto3" json:"outcomes,omitempty"`
Exploration *ExplorationStatus `protobuf:"bytes,9,opt,name=exploration,proto3" json:"exploration,omitempty"`
// Each application the run made of one of the case's own calcs as a function
// value, in the order first made: a trade study's evaluation of each
// alternative in subject order, the selected one marked.
Evaluations []*CaseEvaluation `protobuf:"bytes,10,rep,name=evaluations,proto3" json:"evaluations,omitempty"`
// The engine that answered, the strength of its evidence and the bounds it ran
// under, as Verdict carries them; each verdict in `verdicts` carries the same.
// Empty when the request was answered before any engine was asked. Reported
// as the "engines" capability.
Engine string `protobuf:"bytes,11,opt,name=engine,proto3" json:"engine,omitempty"`
Strength string `protobuf:"bytes,12,opt,name=strength,proto3" json:"strength,omitempty"`
Bounds []*Bound `protobuf:"bytes,13,rep,name=bounds,proto3" json:"bounds,omitempty"`
// contains filtered or unexported fields
}
RunAnalysisResponse carries what the case computed and decided.
func (*RunAnalysisResponse) Descriptor
deprecated
added in
v0.6.0
func (*RunAnalysisResponse) Descriptor() ([]byte, []int)
Deprecated: Use RunAnalysisResponse.ProtoReflect.Descriptor instead.
func (*RunAnalysisResponse) GetBounds ¶ added in v0.8.0
func (x *RunAnalysisResponse) GetBounds() []*Bound
func (*RunAnalysisResponse) GetDiagnostics ¶ added in v0.6.0
func (x *RunAnalysisResponse) GetDiagnostics() []*Diagnostic
func (*RunAnalysisResponse) GetEngine ¶ added in v0.8.0
func (x *RunAnalysisResponse) GetEngine() string
func (*RunAnalysisResponse) GetError ¶ added in v0.6.0
func (x *RunAnalysisResponse) GetError() string
func (*RunAnalysisResponse) GetEvaluations ¶ added in v0.7.0
func (x *RunAnalysisResponse) GetEvaluations() []*CaseEvaluation
func (*RunAnalysisResponse) GetExploration ¶ added in v0.7.0
func (x *RunAnalysisResponse) GetExploration() *ExplorationStatus
func (*RunAnalysisResponse) GetFailureReason ¶ added in v0.6.0
func (x *RunAnalysisResponse) GetFailureReason() FailureReason
func (*RunAnalysisResponse) GetInstances ¶ added in v0.6.0
func (x *RunAnalysisResponse) GetInstances() []*Instance
func (*RunAnalysisResponse) GetOutcomes ¶ added in v0.7.0
func (x *RunAnalysisResponse) GetOutcomes() []*Outcome
func (*RunAnalysisResponse) GetOutputs ¶ added in v0.6.0
func (x *RunAnalysisResponse) GetOutputs() []*CalcOutput
func (*RunAnalysisResponse) GetStrength ¶ added in v0.8.0
func (x *RunAnalysisResponse) GetStrength() string
func (*RunAnalysisResponse) GetVerdicts ¶ added in v0.6.0
func (x *RunAnalysisResponse) GetVerdicts() []*Verdict
func (*RunAnalysisResponse) GetVerificationVerdicts ¶ added in v0.7.0
func (x *RunAnalysisResponse) GetVerificationVerdicts() []*VerificationVerdict
func (*RunAnalysisResponse) ProtoMessage ¶ added in v0.6.0
func (*RunAnalysisResponse) ProtoMessage()
func (*RunAnalysisResponse) ProtoReflect ¶ added in v0.6.0
func (x *RunAnalysisResponse) ProtoReflect() protoreflect.Message
func (*RunAnalysisResponse) Reset ¶ added in v0.6.0
func (x *RunAnalysisResponse) Reset()
func (*RunAnalysisResponse) String ¶ added in v0.6.0
func (x *RunAnalysisResponse) String() string
type RunDocumentQueryRequest ¶ added in v0.4.2
type RunDocumentQueryRequest struct {
ModelHash string `protobuf:"bytes,1,opt,name=model_hash,json=modelHash,proto3" json:"model_hash,omitempty"` // from ParseFile response
// FQN of the document query to run. Fails with NOT_FOUND when the model does
// not declare it, and INVALID_ARGUMENT when it declares something else.
QueryId string `protobuf:"bytes,2,opt,name=query_id,json=queryId,proto3" json:"query_id,omitempty"`
// Entry-parameter bindings. Repeating a parameter appends to its binding, so
// a nonscalar parameter can be given several values.
Bindings []*DocumentQueryBinding `protobuf:"bytes,3,rep,name=bindings,proto3" json:"bindings,omitempty"`
// contains filtered or unexported fields
}
RunDocumentQueryRequest runs a named document query — a calc def specializing DocumentQueries::Query — against a model the service already parsed, binding its entry parameters. It answers as %run-query does, but with typed rows rather than formatted lines.
func (*RunDocumentQueryRequest) Descriptor
deprecated
added in
v0.4.2
func (*RunDocumentQueryRequest) Descriptor() ([]byte, []int)
Deprecated: Use RunDocumentQueryRequest.ProtoReflect.Descriptor instead.
func (*RunDocumentQueryRequest) GetBindings ¶ added in v0.4.2
func (x *RunDocumentQueryRequest) GetBindings() []*DocumentQueryBinding
func (*RunDocumentQueryRequest) GetModelHash ¶ added in v0.4.2
func (x *RunDocumentQueryRequest) GetModelHash() string
func (*RunDocumentQueryRequest) GetQueryId ¶ added in v0.4.2
func (x *RunDocumentQueryRequest) GetQueryId() string
func (*RunDocumentQueryRequest) ProtoMessage ¶ added in v0.4.2
func (*RunDocumentQueryRequest) ProtoMessage()
func (*RunDocumentQueryRequest) ProtoReflect ¶ added in v0.4.2
func (x *RunDocumentQueryRequest) ProtoReflect() protoreflect.Message
func (*RunDocumentQueryRequest) Reset ¶ added in v0.4.2
func (x *RunDocumentQueryRequest) Reset()
func (*RunDocumentQueryRequest) String ¶ added in v0.4.2
func (x *RunDocumentQueryRequest) String() string
type RunDocumentQueryResponse ¶ added in v0.4.2
type RunDocumentQueryResponse struct {
Columns []*DocumentQueryColumn `protobuf:"bytes,1,rep,name=columns,proto3" json:"columns,omitempty"`
Rows []*DocumentQueryRow `protobuf:"bytes,2,rep,name=rows,proto3" json:"rows,omitempty"`
// contains filtered or unexported fields
}
RunDocumentQueryResponse is the query's answer: its projected columns and its rows, both in the deterministic order the engine reports. A query that selects nothing answers with no rows; a query that could not be run fails the call with the status its failure maps to.
func (*RunDocumentQueryResponse) Descriptor
deprecated
added in
v0.4.2
func (*RunDocumentQueryResponse) Descriptor() ([]byte, []int)
Deprecated: Use RunDocumentQueryResponse.ProtoReflect.Descriptor instead.
func (*RunDocumentQueryResponse) GetColumns ¶ added in v0.4.2
func (x *RunDocumentQueryResponse) GetColumns() []*DocumentQueryColumn
func (*RunDocumentQueryResponse) GetRows ¶ added in v0.4.2
func (x *RunDocumentQueryResponse) GetRows() []*DocumentQueryRow
func (*RunDocumentQueryResponse) ProtoMessage ¶ added in v0.4.2
func (*RunDocumentQueryResponse) ProtoMessage()
func (*RunDocumentQueryResponse) ProtoReflect ¶ added in v0.4.2
func (x *RunDocumentQueryResponse) ProtoReflect() protoreflect.Message
func (*RunDocumentQueryResponse) Reset ¶ added in v0.4.2
func (x *RunDocumentQueryResponse) Reset()
func (*RunDocumentQueryResponse) String ¶ added in v0.4.2
func (x *RunDocumentQueryResponse) String() string
type RunSweepRequest ¶ added in v0.7.0
type RunSweepRequest struct {
ModelHash string `protobuf:"bytes,1,opt,name=model_hash,json=modelHash,proto3" json:"model_hash,omitempty"`
// FQN of the analysis case or calc, definition or usage.
SymbolId string `protobuf:"bytes,2,opt,name=symbol_id,json=symbolId,proto3" json:"symbol_id,omitempty"`
// Optional FQN of a part/usage to instantiate as an analysis case's subject.
SubjectSymbolId string `protobuf:"bytes,3,opt,name=subject_symbol_id,json=subjectSymbolId,proto3" json:"subject_symbol_id,omitempty"`
// Positional arguments for the target's input parameters, in declaration
// order, as every row binds them.
Arguments []*Value `protobuf:"bytes,4,rep,name=arguments,proto3" json:"arguments,omitempty"`
// Arguments bound to input parameters by name, as every row binds them.
NamedArguments map[string]*Value `` /* 177-byte string literal not displayed */
// The ranges swept, which several of make one row per point of their
// cartesian product, the first varying slowest.
Ranges []*SweepRange `protobuf:"bytes,6,rep,name=ranges,proto3" json:"ranges,omitempty"`
// Rows to draw uniformly from each range instead of stepping through it. 0
// steps through them; above 0 needs a seed and refuses a range with a step.
Samples int64 `protobuf:"varint,7,opt,name=samples,proto3" json:"samples,omitempty"`
// Seed the draws are taken from: the same seed draws the same table on every
// platform. Required with `samples`, ignored without it.
Seed uint64 `protobuf:"varint,8,opt,name=seed,proto3" json:"seed,omitempty"`
// The engine the sweep is put to; see VerifyConstraintRequest.engine.
Engine string `protobuf:"bytes,9,opt,name=engine,proto3" json:"engine,omitempty"`
// contains filtered or unexported fields
}
RunSweepRequest runs one analysis case or calc once per row of a sweep. Every row is an ordinary run of that target with the swept parameters bound to the row's values and the request's other arguments as given: this is tool-defined orchestration, and changes nothing about how a run executes.
func (*RunSweepRequest) Descriptor
deprecated
added in
v0.7.0
func (*RunSweepRequest) Descriptor() ([]byte, []int)
Deprecated: Use RunSweepRequest.ProtoReflect.Descriptor instead.
func (*RunSweepRequest) GetArguments ¶ added in v0.7.0
func (x *RunSweepRequest) GetArguments() []*Value
func (*RunSweepRequest) GetEngine ¶ added in v0.8.0
func (x *RunSweepRequest) GetEngine() string
func (*RunSweepRequest) GetModelHash ¶ added in v0.7.0
func (x *RunSweepRequest) GetModelHash() string
func (*RunSweepRequest) GetNamedArguments ¶ added in v0.7.0
func (x *RunSweepRequest) GetNamedArguments() map[string]*Value
func (*RunSweepRequest) GetRanges ¶ added in v0.7.0
func (x *RunSweepRequest) GetRanges() []*SweepRange
func (*RunSweepRequest) GetSamples ¶ added in v0.7.0
func (x *RunSweepRequest) GetSamples() int64
func (*RunSweepRequest) GetSeed ¶ added in v0.7.0
func (x *RunSweepRequest) GetSeed() uint64
func (*RunSweepRequest) GetSubjectSymbolId ¶ added in v0.7.0
func (x *RunSweepRequest) GetSubjectSymbolId() string
func (*RunSweepRequest) GetSymbolId ¶ added in v0.7.0
func (x *RunSweepRequest) GetSymbolId() string
func (*RunSweepRequest) ProtoMessage ¶ added in v0.7.0
func (*RunSweepRequest) ProtoMessage()
func (*RunSweepRequest) ProtoReflect ¶ added in v0.7.0
func (x *RunSweepRequest) ProtoReflect() protoreflect.Message
func (*RunSweepRequest) Reset ¶ added in v0.7.0
func (x *RunSweepRequest) Reset()
func (*RunSweepRequest) String ¶ added in v0.7.0
func (x *RunSweepRequest) String() string
type RunSweepResponse ¶ added in v0.7.0
type RunSweepResponse struct {
Rows []*SweepRow `protobuf:"bytes,1,rep,name=rows,proto3" json:"rows,omitempty"`
// The swept parameters, in the order their ranges were given, which is the
// order each row's inputs are in.
Parameters []string `protobuf:"bytes,2,rep,name=parameters,proto3" json:"parameters,omitempty"`
// Whether the rows were drawn rather than stepped through.
Sampled bool `protobuf:"varint,3,opt,name=sampled,proto3" json:"sampled,omitempty"`
// The seed the rows were drawn from, echoed so a table can be reproduced.
Seed uint64 `protobuf:"varint,4,opt,name=seed,proto3" json:"seed,omitempty"`
// Set when no run was made at all — an unknown symbol, a parameter the target
// does not declare, a range no values follow from, a budget refusal.
Error string `protobuf:"bytes,5,opt,name=error,proto3" json:"error,omitempty"`
Diagnostics []*Diagnostic `protobuf:"bytes,6,rep,name=diagnostics,proto3" json:"diagnostics,omitempty"`
// What kind of failure `error` reports.
FailureReason FailureReason `` /* 126-byte string literal not displayed */
// Every object a row's verdict is about, from every run of the table, so each
// verdict's `instance_id` resolves here.
Instances []*Instance `protobuf:"bytes,8,rep,name=instances,proto3" json:"instances,omitempty"`
// The engine that ran the table, the strength of its evidence and the bounds
// it ran under, as Verdict carries them; each row's verdicts carry the same.
// Empty when no run was made. Reported as the "engines" capability.
Engine string `protobuf:"bytes,9,opt,name=engine,proto3" json:"engine,omitempty"`
Strength string `protobuf:"bytes,10,opt,name=strength,proto3" json:"strength,omitempty"`
Bounds []*Bound `protobuf:"bytes,11,rep,name=bounds,proto3" json:"bounds,omitempty"`
// contains filtered or unexported fields
}
RunSweepResponse carries the table, one row per run, in the order the runs were made: lexicographically over the ranges as given for a swept table, and in draw order for a sampled one.
func (*RunSweepResponse) Descriptor
deprecated
added in
v0.7.0
func (*RunSweepResponse) Descriptor() ([]byte, []int)
Deprecated: Use RunSweepResponse.ProtoReflect.Descriptor instead.
func (*RunSweepResponse) GetBounds ¶ added in v0.8.0
func (x *RunSweepResponse) GetBounds() []*Bound
func (*RunSweepResponse) GetDiagnostics ¶ added in v0.7.0
func (x *RunSweepResponse) GetDiagnostics() []*Diagnostic
func (*RunSweepResponse) GetEngine ¶ added in v0.8.0
func (x *RunSweepResponse) GetEngine() string
func (*RunSweepResponse) GetError ¶ added in v0.7.0
func (x *RunSweepResponse) GetError() string
func (*RunSweepResponse) GetFailureReason ¶ added in v0.7.0
func (x *RunSweepResponse) GetFailureReason() FailureReason
func (*RunSweepResponse) GetInstances ¶ added in v0.7.0
func (x *RunSweepResponse) GetInstances() []*Instance
func (*RunSweepResponse) GetParameters ¶ added in v0.7.0
func (x *RunSweepResponse) GetParameters() []string
func (*RunSweepResponse) GetRows ¶ added in v0.7.0
func (x *RunSweepResponse) GetRows() []*SweepRow
func (*RunSweepResponse) GetSampled ¶ added in v0.7.0
func (x *RunSweepResponse) GetSampled() bool
func (*RunSweepResponse) GetSeed ¶ added in v0.7.0
func (x *RunSweepResponse) GetSeed() uint64
func (*RunSweepResponse) GetStrength ¶ added in v0.8.0
func (x *RunSweepResponse) GetStrength() string
func (*RunSweepResponse) ProtoMessage ¶ added in v0.7.0
func (*RunSweepResponse) ProtoMessage()
func (*RunSweepResponse) ProtoReflect ¶ added in v0.7.0
func (x *RunSweepResponse) ProtoReflect() protoreflect.Message
func (*RunSweepResponse) Reset ¶ added in v0.7.0
func (x *RunSweepResponse) Reset()
func (*RunSweepResponse) String ¶ added in v0.7.0
func (x *RunSweepResponse) String() string
type ServerInfoRequest ¶
type ServerInfoRequest struct {
// contains filtered or unexported fields
}
ServerInfoRequest asks the service to describe itself. It carries no fields; the answer does not depend on the caller.
func (*ServerInfoRequest) Descriptor
deprecated
func (*ServerInfoRequest) Descriptor() ([]byte, []int)
Deprecated: Use ServerInfoRequest.ProtoReflect.Descriptor instead.
func (*ServerInfoRequest) ProtoMessage ¶
func (*ServerInfoRequest) ProtoMessage()
func (*ServerInfoRequest) ProtoReflect ¶
func (x *ServerInfoRequest) ProtoReflect() protoreflect.Message
func (*ServerInfoRequest) Reset ¶
func (x *ServerInfoRequest) Reset()
func (*ServerInfoRequest) String ¶
func (x *ServerInfoRequest) String() string
type ServerInfoResponse ¶
type ServerInfoResponse struct {
// Build version of the service binary, informational only: it is "dev" for a
// build without release ldflags, and versions of forks are not comparable.
// Feature decisions belong in `capabilities`.
Version string `protobuf:"bytes,1,opt,name=version,proto3" json:"version,omitempty"`
// Named capabilities this build supports, each an exact string a client can
// require. Capabilities are only ever added, never renamed or removed with
// their behaviour intact, so requiring one is stable across releases.
// Currently defined:
//
// "type_facts" - SymbolInfo carries type_info, multiplicity and
// specializations, which typed code generation needs.
// "convert" - the Convert RPC writes a model back out as SysML notation
// or RDF Turtle.
// "verification" - the VerifyConstraint, VerifyRequirement,
// VerifySatisfaction and EvaluateCalc RPCs answer the
// questions the REPL's %constraint, %requirement, %satisfy
// and %calc answer.
// "query" - the Query RPC evaluates a SysML v2 API & Services Query.
// "oslc_query" - the Query RPC evaluates OSLC Query text.
// "enum_values" - a Value carries an enumeration literal as enum_literal,
// rather than reporting it as an unsupported null.
// "unset_value" - a valueless feature of a value type is reported as
// Value.unset, rather than as the empty object it
// materializes.
// "verification_verdicts" - the VerifyRequirement, VerifySatisfaction and
// RunAnalysis RPCs report what the body of a verification
// case answered as verification_verdicts, and RunAnalysis
// accepts a verification case.
// "complex_values" - a Value carries a complex number as complex, rather
// than reporting it as an unsupported null, and a complex
// action input or calc argument is accepted; without it,
// one is refused with UNIMPLEMENTED rather than read as
// another value.
// "structured_values" - a Value carries a Collections::Array, a numerical
// vector and a vector quantity as array, vector and
// vector_quantity, shape and units intact, rather than
// reporting them as unsupported nulls, and one is accepted
// as an action input or calc argument; without it, one is
// refused with UNIMPLEMENTED rather than read as another
// value.
// "measurement_refs" - a Value carries a bare measurement reference (a
// unit by itself, `SI::m` or `m / s`) as measurement_ref,
// unit text, reduction and declaration intact, rather than
// reporting it as an unsupported null, and one is accepted
// as an action input or calc argument; without it, one is
// refused with UNIMPLEMENTED rather than read as another
// value. Separate from structured_values, which a client
// built before this arm existed may already claim.
// "function_values" - a Value carries a calc held as a value as function,
// named by its declaration, rather than reporting it as an
// unsupported null, and one is accepted as an action input
// or calc argument; without it, one is refused with
// UNIMPLEMENTED rather than read as another value.
// "set_values" - a Value carries a unique, unordered collection (a
// Collections::Set's elements) as set, each element once in
// canonical order, rather than reporting it as an
// unsupported null, and one is accepted as an action input
// or calc argument in any order; without it, one is refused
// with UNIMPLEMENTED rather than read as a sequence.
// "tensor_values" - a Value carries a tensor quantity of any rank as
// tensor_quantity, its dimensions and one Quantity per
// row-major component, rather than reporting it as an
// unsupported null, and one is accepted as an action input
// or calc argument; without it, one is refused with
// UNIMPLEMENTED rather than read as another value.
// "metaobject_values" - a Value carries an element reflected on as an
// instance of its metaclass (`x meta T`, the last element
// of `x.metadata`) as metaobject, named by the element and
// its metaclass, rather than reporting it as an unsupported
// null, and one is accepted as an action input or calc
// argument; without it, one is refused with UNIMPLEMENTED
// rather than read as another value.
// "apply_edits" - the ApplyEdits RPC edits a parsed model's own source,
// preserving everything the edit did not touch.
// "document_query" - the RunDocumentQuery RPC runs a named document query
// and answers with typed rows.
// "render_document" - the RenderDocument RPC renders a named document to
// Markdown.
// "diagnostic_codes" - Diagnostic.code is populated, so an empty code is a
// finding none was assigned; without it every code is empty.
// "schedule" - ExecuteActionRequest, ExecuteStateRequest and
// RunAnalysisRequest take a schedule, the scheduling policy
// the run resolves its choice points under; without it a
// service drops the field and runs under the default, so a
// client must not send one.
// "case_evaluations" - RunAnalysis and each RunSweep row report each
// application the run made of one of the case's calcs as a
// function value — a trade study's evaluation of each
// alternative — as evaluations, and keep the outputs and
// evaluations a failed run made beside its error.
// "schedule_explore" - the schedule "explore[:runs=<n>,depth=<d>]" is
// accepted, and the response carries every distinct outcome
// as `outcomes` with an `exploration` status; without it the
// spelling is INVALID_ARGUMENT.
// "final_time" - ExecuteActionResponse and ExecuteStateResponse report
// final_time, the run's simulation clock when it ended;
// without it the field is 0 whatever the run waited on.
// "engines" - the ListEngines RPC lists the analysis engines; the
// verification and sweep requests take an `engine`, the
// engine the question is put to, unset meaning "auto"; and
// their responses and every Verdict report the `engine` that
// answered with the `strength` of its evidence and the
// `bounds` it ran under. Without it a service drops the
// request field and answers under "auto", so a client must
// not send one.
// "engines_external" - the service was started with -serve-external-engines
// and runs the OPENSYSML_ENGINES manifest engines it names;
// ListEngines reports which with `served`. Without it every
// manifest engine is listed but a request naming one is
// refused with FAILED_PRECONDITION.
Capabilities []string `protobuf:"bytes,2,rep,name=capabilities,proto3" json:"capabilities,omitempty"`
// contains filtered or unexported fields
}
ServerInfoResponse describes the running service.
func (*ServerInfoResponse) Descriptor
deprecated
func (*ServerInfoResponse) Descriptor() ([]byte, []int)
Deprecated: Use ServerInfoResponse.ProtoReflect.Descriptor instead.
func (*ServerInfoResponse) GetCapabilities ¶
func (x *ServerInfoResponse) GetCapabilities() []string
func (*ServerInfoResponse) GetVersion ¶
func (x *ServerInfoResponse) GetVersion() string
func (*ServerInfoResponse) ProtoMessage ¶
func (*ServerInfoResponse) ProtoMessage()
func (*ServerInfoResponse) ProtoReflect ¶
func (x *ServerInfoResponse) ProtoReflect() protoreflect.Message
func (*ServerInfoResponse) Reset ¶
func (x *ServerInfoResponse) Reset()
func (*ServerInfoResponse) String ¶
func (x *ServerInfoResponse) String() string
type SetValueEdit ¶
type SetValueEdit struct {
// Element to edit, named as SymbolInfo.id names it ("Demo::sc::unitMass").
Target string `protobuf:"bytes,1,opt,name=target,proto3" json:"target,omitempty"`
// New value in SysML notation ("1050.0[SI::kg]", "\"m1\"", "true", "mass * 2").
// It must parse as an expression and resolve in the feature's own scope.
Value string `protobuf:"bytes,2,opt,name=value,proto3" json:"value,omitempty"`
// contains filtered or unexported fields
}
SetValueEdit sets the value of a feature that already exists, replacing the expression of its `= <expr>` or adding one before the declaration's `;`.
func (*SetValueEdit) Descriptor
deprecated
func (*SetValueEdit) Descriptor() ([]byte, []int)
Deprecated: Use SetValueEdit.ProtoReflect.Descriptor instead.
func (*SetValueEdit) GetTarget ¶
func (x *SetValueEdit) GetTarget() string
func (*SetValueEdit) GetValue ¶
func (x *SetValueEdit) GetValue() string
func (*SetValueEdit) ProtoMessage ¶
func (*SetValueEdit) ProtoMessage()
func (*SetValueEdit) ProtoReflect ¶
func (x *SetValueEdit) ProtoReflect() protoreflect.Message
func (*SetValueEdit) Reset ¶
func (x *SetValueEdit) Reset()
func (*SetValueEdit) String ¶
func (x *SetValueEdit) String() string
type SourceDocument ¶ added in v0.4.2
type SourceDocument struct {
// Types that are valid to be assigned to Source:
//
// *SourceDocument_FilePath
// *SourceDocument_Content
Source isSourceDocument_Source `protobuf_oneof:"source"`
// Language for inline content: "sysml" or "kerml". Empty defaults to SysML,
// and is ignored for a file_path, whose extension says which language it is.
Language string `protobuf:"bytes,3,opt,name=language,proto3" json:"language,omitempty"`
// Name to report inline content by in diagnostics, and the name the document
// is indexed under. Empty names the document by its position in the request,
// and is ignored for a file_path, which is named by its path.
Name string `protobuf:"bytes,4,opt,name=name,proto3" json:"name,omitempty"`
// contains filtered or unexported fields
}
SourceDocument is one document of a multi-document parse.
func (*SourceDocument) Descriptor
deprecated
added in
v0.4.2
func (*SourceDocument) Descriptor() ([]byte, []int)
Deprecated: Use SourceDocument.ProtoReflect.Descriptor instead.
func (*SourceDocument) GetContent ¶ added in v0.4.2
func (x *SourceDocument) GetContent() string
func (*SourceDocument) GetFilePath ¶ added in v0.4.2
func (x *SourceDocument) GetFilePath() string
func (*SourceDocument) GetLanguage ¶ added in v0.4.2
func (x *SourceDocument) GetLanguage() string
func (*SourceDocument) GetName ¶ added in v0.4.2
func (x *SourceDocument) GetName() string
func (*SourceDocument) GetSource ¶ added in v0.4.2
func (x *SourceDocument) GetSource() isSourceDocument_Source
func (*SourceDocument) ProtoMessage ¶ added in v0.4.2
func (*SourceDocument) ProtoMessage()
func (*SourceDocument) ProtoReflect ¶ added in v0.4.2
func (x *SourceDocument) ProtoReflect() protoreflect.Message
func (*SourceDocument) Reset ¶ added in v0.4.2
func (x *SourceDocument) Reset()
func (*SourceDocument) String ¶ added in v0.4.2
func (x *SourceDocument) String() string
type SourceDocument_Content ¶ added in v0.4.2
type SourceDocument_Content struct {
Content string `protobuf:"bytes,2,opt,name=content,proto3,oneof"`
}
type SourceDocument_FilePath ¶ added in v0.4.2
type SourceDocument_FilePath struct {
FilePath string `protobuf:"bytes,1,opt,name=file_path,json=filePath,proto3,oneof"`
}
type Span ¶
type Span struct {
File string `protobuf:"bytes,1,opt,name=file,proto3" json:"file,omitempty"`
StartLine int32 `protobuf:"varint,2,opt,name=start_line,json=startLine,proto3" json:"start_line,omitempty"`
StartCol int32 `protobuf:"varint,3,opt,name=start_col,json=startCol,proto3" json:"start_col,omitempty"`
EndLine int32 `protobuf:"varint,4,opt,name=end_line,json=endLine,proto3" json:"end_line,omitempty"`
EndCol int32 `protobuf:"varint,5,opt,name=end_col,json=endCol,proto3" json:"end_col,omitempty"`
// contains filtered or unexported fields
}
Span represents a source location
func (*Span) Descriptor
deprecated
func (*Span) GetEndLine ¶
func (*Span) GetStartCol ¶
func (*Span) GetStartLine ¶
func (*Span) ProtoMessage ¶
func (*Span) ProtoMessage()
func (*Span) ProtoReflect ¶
func (x *Span) ProtoReflect() protoreflect.Message
type Specialization ¶
type Specialization struct {
// Relationship kind: "specializes", "subsets", "redefines" or "typing".
Kind string `protobuf:"bytes,1,opt,name=kind,proto3" json:"kind,omitempty"`
// The target as written in the source ("Engine", "Demo::Engine").
Declared string `protobuf:"bytes,2,opt,name=declared,proto3" json:"declared,omitempty"`
// FQN of the resolved target; empty when the name does not resolve.
TargetId string `protobuf:"bytes,3,opt,name=target_id,json=targetId,proto3" json:"target_id,omitempty"`
// Symbol kind of the resolved target ("partDef", ...); empty when unresolved.
TargetKind string `protobuf:"bytes,4,opt,name=target_kind,json=targetKind,proto3" json:"target_kind,omitempty"`
// contains filtered or unexported fields
}
Specialization is one generalization edge an element declares.
func (*Specialization) Descriptor
deprecated
func (*Specialization) Descriptor() ([]byte, []int)
Deprecated: Use Specialization.ProtoReflect.Descriptor instead.
func (*Specialization) GetDeclared ¶
func (x *Specialization) GetDeclared() string
func (*Specialization) GetKind ¶
func (x *Specialization) GetKind() string
func (*Specialization) GetTargetId ¶
func (x *Specialization) GetTargetId() string
func (*Specialization) GetTargetKind ¶
func (x *Specialization) GetTargetKind() string
func (*Specialization) ProtoMessage ¶
func (*Specialization) ProtoMessage()
func (*Specialization) ProtoReflect ¶
func (x *Specialization) ProtoReflect() protoreflect.Message
func (*Specialization) Reset ¶
func (x *Specialization) Reset()
func (*Specialization) String ¶
func (x *Specialization) String() string
type SweepRange ¶ added in v0.7.0
type SweepRange struct {
// Name of the input parameter the range binds, which the target must declare
// and the request's own arguments must not bind.
Parameter string `protobuf:"bytes,1,opt,name=parameter,proto3" json:"parameter,omitempty"`
// The endpoint the range's runs start at, and the one they run to, which is
// inclusive where the step lands on it. Both are required.
Start *Value `protobuf:"bytes,2,opt,name=start,proto3" json:"start,omitempty"`
End *Value `protobuf:"bytes,3,opt,name=end,proto3" json:"end,omitempty"`
Step *Value `protobuf:"bytes,4,opt,name=step,proto3" json:"step,omitempty"`
// contains filtered or unexported fields
}
SweepRange is one parameter's range: the endpoints a swept run advances between and the step it advances by, typed by the parameter it binds rather than by how they are written. A sampled range states no step; a swept range between whole numbers steps by one where it states none, and one with a fractional endpoint must state one.
func (*SweepRange) Descriptor
deprecated
added in
v0.7.0
func (*SweepRange) Descriptor() ([]byte, []int)
Deprecated: Use SweepRange.ProtoReflect.Descriptor instead.
func (*SweepRange) GetEnd ¶ added in v0.7.0
func (x *SweepRange) GetEnd() *Value
func (*SweepRange) GetParameter ¶ added in v0.7.0
func (x *SweepRange) GetParameter() string
func (*SweepRange) GetStart ¶ added in v0.7.0
func (x *SweepRange) GetStart() *Value
func (*SweepRange) GetStep ¶ added in v0.7.0
func (x *SweepRange) GetStep() *Value
func (*SweepRange) ProtoMessage ¶ added in v0.7.0
func (*SweepRange) ProtoMessage()
func (*SweepRange) ProtoReflect ¶ added in v0.7.0
func (x *SweepRange) ProtoReflect() protoreflect.Message
func (*SweepRange) Reset ¶ added in v0.7.0
func (x *SweepRange) Reset()
func (*SweepRange) String ¶ added in v0.7.0
func (x *SweepRange) String() string
type SweepRow ¶ added in v0.7.0
type SweepRow struct {
// The parameters this row bound, in the order their ranges were given.
Inputs []*CalcOutput `protobuf:"bytes,1,rep,name=inputs,proto3" json:"inputs,omitempty"`
// What the run produced: an analysis case's outputs, or a calc's returned
// value named "result".
Outputs []*CalcOutput `protobuf:"bytes,2,rep,name=outputs,proto3" json:"outputs,omitempty"`
// What the case's objective and assertions decided; empty for a calc.
Verdicts []*Verdict `protobuf:"bytes,3,rep,name=verdicts,proto3" json:"verdicts,omitempty"`
// Wall time of this run, in microseconds.
ElapsedMicros int64 `protobuf:"varint,4,opt,name=elapsed_micros,json=elapsedMicros,proto3" json:"elapsed_micros,omitempty"`
// Set when this run failed rather than the table failing. The outputs and
// evaluations the run made before failing are still reported beside it.
Error string `protobuf:"bytes,5,opt,name=error,proto3" json:"error,omitempty"`
// What kind of failure `error` reports.
FailureReason FailureReason `` /* 126-byte string literal not displayed */
// Each application this run made of one of the case's own calcs as a
// function value, as RunAnalysisResponse.evaluations reports them.
Evaluations []*CaseEvaluation `protobuf:"bytes,7,rep,name=evaluations,proto3" json:"evaluations,omitempty"`
// contains filtered or unexported fields
}
SweepRow is one run of a sweep: what it bound, what it produced, how long it took, and what stopped it where it failed. A failed row is reported as a row, so one failure does not end the table.
func (*SweepRow) Descriptor
deprecated
added in
v0.7.0
func (*SweepRow) GetElapsedMicros ¶ added in v0.7.0
func (*SweepRow) GetEvaluations ¶ added in v0.7.0
func (x *SweepRow) GetEvaluations() []*CaseEvaluation
func (*SweepRow) GetFailureReason ¶ added in v0.7.0
func (x *SweepRow) GetFailureReason() FailureReason
func (*SweepRow) GetInputs ¶ added in v0.7.0
func (x *SweepRow) GetInputs() []*CalcOutput
func (*SweepRow) GetOutputs ¶ added in v0.7.0
func (x *SweepRow) GetOutputs() []*CalcOutput
func (*SweepRow) GetVerdicts ¶ added in v0.7.0
func (*SweepRow) ProtoMessage ¶ added in v0.7.0
func (*SweepRow) ProtoMessage()
func (*SweepRow) ProtoReflect ¶ added in v0.7.0
func (x *SweepRow) ProtoReflect() protoreflect.Message
type SymbolInfo ¶
type SymbolInfo struct {
Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"` // Unique identifier (fully qualified name)
Name string `protobuf:"bytes,2,opt,name=name,proto3" json:"name,omitempty"`
Kind string `protobuf:"bytes,3,opt,name=kind,proto3" json:"kind,omitempty"` // "PartDefinition", "AttributeUsage", etc
Metadata map[string]string `` // multiplicity, type, etc
/* 143-byte string literal not displayed */
ChildIds []string `protobuf:"bytes,5,rep,name=child_ids,json=childIds,proto3" json:"child_ids,omitempty"` // References to children
Attributes []*AttributeInfo `protobuf:"bytes,6,rep,name=attributes,proto3" json:"attributes,omitempty"`
// Static type facts; unset when the element is not a def/usage.
TypeInfo *TypeInfo `protobuf:"bytes,7,opt,name=type_info,json=typeInfo,proto3" json:"type_info,omitempty"`
// Declared multiplicity; unset when none is declared.
Multiplicity *MultiplicityInfo `protobuf:"bytes,8,opt,name=multiplicity,proto3" json:"multiplicity,omitempty"`
// Every generalization edge declared, in declaration order. metadata["type"]
// and metadata["specializes"] report only the first, kept for compatibility.
Specializations []*Specialization `protobuf:"bytes,9,rep,name=specializations,proto3" json:"specializations,omitempty"`
// Attributes inherited from standard-library content, which `attributes`
// leaves out. Their absence is stated here rather than silent.
WithheldLibraryAttributes int32 `` /* 140-byte string literal not displayed */
// contains filtered or unexported fields
}
SymbolInfo represents any SysML element
func (*SymbolInfo) Descriptor
deprecated
func (*SymbolInfo) Descriptor() ([]byte, []int)
Deprecated: Use SymbolInfo.ProtoReflect.Descriptor instead.
func (*SymbolInfo) GetAttributes ¶
func (x *SymbolInfo) GetAttributes() []*AttributeInfo
func (*SymbolInfo) GetChildIds ¶
func (x *SymbolInfo) GetChildIds() []string
func (*SymbolInfo) GetId ¶
func (x *SymbolInfo) GetId() string
func (*SymbolInfo) GetKind ¶
func (x *SymbolInfo) GetKind() string
func (*SymbolInfo) GetMetadata ¶
func (x *SymbolInfo) GetMetadata() map[string]string
func (*SymbolInfo) GetMultiplicity ¶
func (x *SymbolInfo) GetMultiplicity() *MultiplicityInfo
func (*SymbolInfo) GetName ¶
func (x *SymbolInfo) GetName() string
func (*SymbolInfo) GetSpecializations ¶
func (x *SymbolInfo) GetSpecializations() []*Specialization
func (*SymbolInfo) GetTypeInfo ¶
func (x *SymbolInfo) GetTypeInfo() *TypeInfo
func (*SymbolInfo) GetWithheldLibraryAttributes ¶ added in v0.2.0
func (x *SymbolInfo) GetWithheldLibraryAttributes() int32
func (*SymbolInfo) ProtoMessage ¶
func (*SymbolInfo) ProtoMessage()
func (*SymbolInfo) ProtoReflect ¶
func (x *SymbolInfo) ProtoReflect() protoreflect.Message
func (*SymbolInfo) Reset ¶
func (x *SymbolInfo) Reset()
func (*SymbolInfo) String ¶
func (x *SymbolInfo) String() string
type SymbolResponse ¶
type SymbolResponse struct {
Symbol *SymbolInfo `protobuf:"bytes,1,opt,name=symbol,proto3" json:"symbol,omitempty"`
Error string `protobuf:"bytes,2,opt,name=error,proto3" json:"error,omitempty"`
// contains filtered or unexported fields
}
SymbolResponse contains symbol information
func (*SymbolResponse) Descriptor
deprecated
func (*SymbolResponse) Descriptor() ([]byte, []int)
Deprecated: Use SymbolResponse.ProtoReflect.Descriptor instead.
func (*SymbolResponse) GetError ¶
func (x *SymbolResponse) GetError() string
func (*SymbolResponse) GetSymbol ¶
func (x *SymbolResponse) GetSymbol() *SymbolInfo
func (*SymbolResponse) ProtoMessage ¶
func (*SymbolResponse) ProtoMessage()
func (*SymbolResponse) ProtoReflect ¶
func (x *SymbolResponse) ProtoReflect() protoreflect.Message
func (*SymbolResponse) Reset ¶
func (x *SymbolResponse) Reset()
func (*SymbolResponse) String ¶
func (x *SymbolResponse) String() string
type SysMLServiceClient ¶
type SysMLServiceClient interface {
// Report what this build of the service can do, so a client can require a
// capability instead of guessing from a version string. A service that
// predates this RPC answers UNIMPLEMENTED, which is itself the answer.
GetServerInfo(ctx context.Context, in *ServerInfoRequest, opts ...grpc.CallOption) (*ServerInfoResponse, error)
// Parse a SysML file and return model hash for subsequent queries
ParseFile(ctx context.Context, in *ParseFileRequest, opts ...grpc.CallOption) (*ParseFileResponse, error)
// Parse several documents as one model, so a name one document declares
// resolves in another and an import between them is satisfied. Reported as
// the "parse_sources" capability.
ParseSources(ctx context.Context, in *ParseSourcesRequest, opts ...grpc.CallOption) (*ParseSourcesResponse, error)
// Get symbol information by qualified name
GetSymbol(ctx context.Context, in *GetSymbolRequest, opts ...grpc.CallOption) (*SymbolResponse, error)
// Get all diagnostics for a parsed model
GetDiagnostics(ctx context.Context, in *DiagnosticsRequest, opts ...grpc.CallOption) (*DiagnosticsResponse, error)
// Runtime operations (Phase 4)
Evaluate(ctx context.Context, in *EvaluateRequest, opts ...grpc.CallOption) (*EvaluateResponse, error)
Instantiate(ctx context.Context, in *InstantiateRequest, opts ...grpc.CallOption) (*InstantiateResponse, error)
ExecuteAction(ctx context.Context, in *ExecuteActionRequest, opts ...grpc.CallOption) (*ExecuteActionResponse, error)
ExecuteState(ctx context.Context, in *ExecuteStateRequest, opts ...grpc.CallOption) (*ExecuteStateResponse, error)
// Convert a model between the representations OpenSysML writes — SysML
// textual notation and RDF Turtle — so a client can write a model back out
// rather than only read it. Reported as the "convert" capability.
Convert(ctx context.Context, in *ConvertRequest, opts ...grpc.CallOption) (*ConvertResponse, error)
// Apply edits to a parsed model's own source and return the edited notation,
// so a client can change a model and write it back with its comments and
// layout intact. Edits are byte ranges the service locates from the parsed
// spans, and the result is re-parsed and validated before it is returned.
// Reported as the "apply_edits" capability.
ApplyEdits(ctx context.Context, in *ApplyEditsRequest, opts ...grpc.CallOption) (*ApplyEditsResponse, error)
// Verification: the answers the REPL's %constraint, %requirement, %satisfy,
// %calc and %analysis give, so "does this model satisfy its requirements?"
// can be asked by a script. Each evaluates the same runtime paths the prompt
// does and returns a verdict rather than formatted lines. Reported as the
// "verification" capability.
VerifyConstraint(ctx context.Context, in *VerifyConstraintRequest, opts ...grpc.CallOption) (*VerifyConstraintResponse, error)
VerifyRequirement(ctx context.Context, in *VerifyRequirementRequest, opts ...grpc.CallOption) (*VerifyRequirementResponse, error)
VerifySatisfaction(ctx context.Context, in *VerifySatisfactionRequest, opts ...grpc.CallOption) (*VerifySatisfactionResponse, error)
EvaluateCalc(ctx context.Context, in *EvaluateCalcRequest, opts ...grpc.CallOption) (*EvaluateCalcResponse, error)
RunAnalysis(ctx context.Context, in *RunAnalysisRequest, opts ...grpc.CallOption) (*RunAnalysisResponse, error)
// Run one analysis case or calc once per row of a parameter sweep, as the
// CLI's -sweep and the REPL's %sweep do: each row is an ordinary run with the
// swept parameter bound to that row's value. Reported as the "verification"
// capability.
RunSweep(ctx context.Context, in *RunSweepRequest, opts ...grpc.CallOption) (*RunSweepResponse, error)
// List the analysis engines this build registers, as the CLI's -engines and
// the REPL's %engines do: each with the questions it answers, the strongest
// evidence it can produce and whether it can run. Reported as the "engines"
// capability, which also names the `engine` request fields and the `engine`,
// `strength` and `bounds` response fields of the verification RPCs. The
// engines registered from manifests are listed with their origin and whether
// this service serves them; the "engines_external" capability is advertised
// only when it was started to serve them.
ListEngines(ctx context.Context, in *ListEnginesRequest, opts ...grpc.CallOption) (*ListEnginesResponse, error)
// Run a SysML v2 API & Services Query over a parsed model: scope/select/where
// as the standard defines them, so a client that speaks that API can filter a
// model here. Reported as the "query" capability.
Query(ctx context.Context, in *QueryRequest, opts ...grpc.CallOption) (*QueryResponse, error)
// Run a named document query with parameter bindings, the answer the REPL's
// %run-query gives, as typed rows rather than formatted lines. Reported as
// the "document_query" capability.
RunDocumentQuery(ctx context.Context, in *RunDocumentQueryRequest, opts ...grpc.CallOption) (*RunDocumentQueryResponse, error)
// Render a named document to Markdown, as the CLI's -render-document does.
// Reported as the "render_document" capability.
RenderDocument(ctx context.Context, in *RenderDocumentRequest, opts ...grpc.CallOption) (*RenderDocumentResponse, error)
}
SysMLServiceClient is the client API for SysMLService service.
For semantics around ctx use and closing/ending streaming RPCs, please refer to https://pkg.go.dev/google.golang.org/grpc/?tab=doc#ClientConn.NewStream.
func NewSysMLServiceClient ¶
func NewSysMLServiceClient(cc grpc.ClientConnInterface) SysMLServiceClient
type SysMLServiceServer ¶
type SysMLServiceServer interface {
// Report what this build of the service can do, so a client can require a
// capability instead of guessing from a version string. A service that
// predates this RPC answers UNIMPLEMENTED, which is itself the answer.
GetServerInfo(context.Context, *ServerInfoRequest) (*ServerInfoResponse, error)
// Parse a SysML file and return model hash for subsequent queries
ParseFile(context.Context, *ParseFileRequest) (*ParseFileResponse, error)
// Parse several documents as one model, so a name one document declares
// resolves in another and an import between them is satisfied. Reported as
// the "parse_sources" capability.
ParseSources(context.Context, *ParseSourcesRequest) (*ParseSourcesResponse, error)
// Get symbol information by qualified name
GetSymbol(context.Context, *GetSymbolRequest) (*SymbolResponse, error)
// Get all diagnostics for a parsed model
GetDiagnostics(context.Context, *DiagnosticsRequest) (*DiagnosticsResponse, error)
// Runtime operations (Phase 4)
Evaluate(context.Context, *EvaluateRequest) (*EvaluateResponse, error)
Instantiate(context.Context, *InstantiateRequest) (*InstantiateResponse, error)
ExecuteAction(context.Context, *ExecuteActionRequest) (*ExecuteActionResponse, error)
ExecuteState(context.Context, *ExecuteStateRequest) (*ExecuteStateResponse, error)
// Convert a model between the representations OpenSysML writes — SysML
// textual notation and RDF Turtle — so a client can write a model back out
// rather than only read it. Reported as the "convert" capability.
Convert(context.Context, *ConvertRequest) (*ConvertResponse, error)
// Apply edits to a parsed model's own source and return the edited notation,
// so a client can change a model and write it back with its comments and
// layout intact. Edits are byte ranges the service locates from the parsed
// spans, and the result is re-parsed and validated before it is returned.
// Reported as the "apply_edits" capability.
ApplyEdits(context.Context, *ApplyEditsRequest) (*ApplyEditsResponse, error)
// Verification: the answers the REPL's %constraint, %requirement, %satisfy,
// %calc and %analysis give, so "does this model satisfy its requirements?"
// can be asked by a script. Each evaluates the same runtime paths the prompt
// does and returns a verdict rather than formatted lines. Reported as the
// "verification" capability.
VerifyConstraint(context.Context, *VerifyConstraintRequest) (*VerifyConstraintResponse, error)
VerifyRequirement(context.Context, *VerifyRequirementRequest) (*VerifyRequirementResponse, error)
VerifySatisfaction(context.Context, *VerifySatisfactionRequest) (*VerifySatisfactionResponse, error)
EvaluateCalc(context.Context, *EvaluateCalcRequest) (*EvaluateCalcResponse, error)
RunAnalysis(context.Context, *RunAnalysisRequest) (*RunAnalysisResponse, error)
// Run one analysis case or calc once per row of a parameter sweep, as the
// CLI's -sweep and the REPL's %sweep do: each row is an ordinary run with the
// swept parameter bound to that row's value. Reported as the "verification"
// capability.
RunSweep(context.Context, *RunSweepRequest) (*RunSweepResponse, error)
// List the analysis engines this build registers, as the CLI's -engines and
// the REPL's %engines do: each with the questions it answers, the strongest
// evidence it can produce and whether it can run. Reported as the "engines"
// capability, which also names the `engine` request fields and the `engine`,
// `strength` and `bounds` response fields of the verification RPCs. The
// engines registered from manifests are listed with their origin and whether
// this service serves them; the "engines_external" capability is advertised
// only when it was started to serve them.
ListEngines(context.Context, *ListEnginesRequest) (*ListEnginesResponse, error)
// Run a SysML v2 API & Services Query over a parsed model: scope/select/where
// as the standard defines them, so a client that speaks that API can filter a
// model here. Reported as the "query" capability.
Query(context.Context, *QueryRequest) (*QueryResponse, error)
// Run a named document query with parameter bindings, the answer the REPL's
// %run-query gives, as typed rows rather than formatted lines. Reported as
// the "document_query" capability.
RunDocumentQuery(context.Context, *RunDocumentQueryRequest) (*RunDocumentQueryResponse, error)
// Render a named document to Markdown, as the CLI's -render-document does.
// Reported as the "render_document" capability.
RenderDocument(context.Context, *RenderDocumentRequest) (*RenderDocumentResponse, error)
// contains filtered or unexported methods
}
SysMLServiceServer is the server API for SysMLService service. All implementations must embed UnimplementedSysMLServiceServer for forward compatibility
type TensorQuantity ¶ added in v0.7.0
type TensorQuantity struct {
// Positive extents, one per rank; their product (one for rank 0) is how many
// components there are, and a tensor not filling them is rejected.
Dimensions []int64 `protobuf:"varint,1,rep,packed,name=dimensions,proto3" json:"dimensions,omitempty"`
// A named unit sent without its unit_term is rejected as a Quantity's is.
Components []*Quantity `protobuf:"bytes,2,rep,name=components,proto3" json:"components,omitempty"`
// contains filtered or unexported fields
}
TensorQuantity is a Quantities::TensorQuantityValue of any rank: its dimensions and, flattened in row-major order under them, one Quantity per component, each with its unit and reduction as a scalar Quantity carries them. A tensor of rank one is not a VectorQuantity, on the wire as in the runtime.
func (*TensorQuantity) Descriptor
deprecated
added in
v0.7.0
func (*TensorQuantity) Descriptor() ([]byte, []int)
Deprecated: Use TensorQuantity.ProtoReflect.Descriptor instead.
func (*TensorQuantity) GetComponents ¶ added in v0.7.0
func (x *TensorQuantity) GetComponents() []*Quantity
func (*TensorQuantity) GetDimensions ¶ added in v0.7.0
func (x *TensorQuantity) GetDimensions() []int64
func (*TensorQuantity) ProtoMessage ¶ added in v0.7.0
func (*TensorQuantity) ProtoMessage()
func (*TensorQuantity) ProtoReflect ¶ added in v0.7.0
func (x *TensorQuantity) ProtoReflect() protoreflect.Message
func (*TensorQuantity) Reset ¶ added in v0.7.0
func (x *TensorQuantity) Reset()
func (*TensorQuantity) String ¶ added in v0.7.0
func (x *TensorQuantity) String() string
type TypeInfo ¶
type TypeInfo struct {
// Type name as written; empty when none is declared.
Declared string `protobuf:"bytes,1,opt,name=declared,proto3" json:"declared,omitempty"`
// FQN of the resolved type; empty when unresolved or undeclared.
ResolvedId string `protobuf:"bytes,2,opt,name=resolved_id,json=resolvedId,proto3" json:"resolved_id,omitempty"`
// Symbol kind of the resolved type ("partDef", "attributeDef", ...).
ResolvedKind string `protobuf:"bytes,3,opt,name=resolved_kind,json=resolvedKind,proto3" json:"resolved_kind,omitempty"`
// Library scalar the type reduces to ("Boolean", "Integer", "Real", ...);
// empty when it is not a scalar value type.
Primitive string `protobuf:"bytes,4,opt,name=primitive,proto3" json:"primitive,omitempty"`
// Origin of `primitive`: "declared" (from the declared or inherited type),
// "value" (inferred from the default value), or empty.
PrimitiveSource string `protobuf:"bytes,5,opt,name=primitive_source,json=primitiveSource,proto3" json:"primitive_source,omitempty"`
// Values carry a measurement unit, so such a feature value holds a Quantity.
Quantity bool `protobuf:"varint,6,opt,name=quantity,proto3" json:"quantity,omitempty"`
// Unit as written when the default value names one ("m/s"), else empty.
Unit string `protobuf:"bytes,7,opt,name=unit,proto3" json:"unit,omitempty"`
// contains filtered or unexported fields
}
TypeInfo is the static type of a usage, or the classification of a definition, as far as the service derives it without running the model.
func (*TypeInfo) Descriptor
deprecated
func (*TypeInfo) GetDeclared ¶
func (*TypeInfo) GetPrimitive ¶
func (*TypeInfo) GetPrimitiveSource ¶
func (*TypeInfo) GetQuantity ¶
func (*TypeInfo) GetResolvedId ¶
func (*TypeInfo) GetResolvedKind ¶
func (*TypeInfo) ProtoMessage ¶
func (*TypeInfo) ProtoMessage()
func (*TypeInfo) ProtoReflect ¶
func (x *TypeInfo) ProtoReflect() protoreflect.Message
type Undetermined ¶ added in v0.8.0
type Undetermined struct {
// Why the model leaves the result open, for a reader:
// "u has no value in the model".
Reason string `protobuf:"bytes,1,opt,name=reason,proto3" json:"reason,omitempty"`
// How many values the result would hold, as far as the model fixes it:
// `1..1` for an arithmetic result over an unbound scalar, `1..*` for the
// elements of a `[1..*]` feature, `0..*` where nothing is known.
Count *MultiplicityInfo `protobuf:"bytes,2,opt,name=count,proto3" json:"count,omitempty"`
// contains filtered or unexported fields
}
Undetermined is the model-level result of an expression the model does not decide: it reads a feature no value is given (`attribute u;`) or counts a feature whose multiplicity fixes no count (`part gear[1..*]`). The expression is well-formed and evaluation succeeded; the answer is open. Every other surface spells it `<undetermined>`.
func (*Undetermined) Descriptor
deprecated
added in
v0.8.0
func (*Undetermined) Descriptor() ([]byte, []int)
Deprecated: Use Undetermined.ProtoReflect.Descriptor instead.
func (*Undetermined) GetCount ¶ added in v0.8.0
func (x *Undetermined) GetCount() *MultiplicityInfo
func (*Undetermined) GetReason ¶ added in v0.8.0
func (x *Undetermined) GetReason() string
func (*Undetermined) ProtoMessage ¶ added in v0.8.0
func (*Undetermined) ProtoMessage()
func (*Undetermined) ProtoReflect ¶ added in v0.8.0
func (x *Undetermined) ProtoReflect() protoreflect.Message
func (*Undetermined) Reset ¶ added in v0.8.0
func (x *Undetermined) Reset()
func (*Undetermined) String ¶ added in v0.8.0
func (x *Undetermined) String() string
type UnimplementedSysMLServiceServer ¶
type UnimplementedSysMLServiceServer struct {
}
UnimplementedSysMLServiceServer must be embedded to have forward compatible implementations.
func (UnimplementedSysMLServiceServer) ApplyEdits ¶
func (UnimplementedSysMLServiceServer) ApplyEdits(context.Context, *ApplyEditsRequest) (*ApplyEditsResponse, error)
func (UnimplementedSysMLServiceServer) Convert ¶
func (UnimplementedSysMLServiceServer) Convert(context.Context, *ConvertRequest) (*ConvertResponse, error)
func (UnimplementedSysMLServiceServer) Evaluate ¶
func (UnimplementedSysMLServiceServer) Evaluate(context.Context, *EvaluateRequest) (*EvaluateResponse, error)
func (UnimplementedSysMLServiceServer) EvaluateCalc ¶
func (UnimplementedSysMLServiceServer) EvaluateCalc(context.Context, *EvaluateCalcRequest) (*EvaluateCalcResponse, error)
func (UnimplementedSysMLServiceServer) ExecuteAction ¶
func (UnimplementedSysMLServiceServer) ExecuteAction(context.Context, *ExecuteActionRequest) (*ExecuteActionResponse, error)
func (UnimplementedSysMLServiceServer) ExecuteState ¶
func (UnimplementedSysMLServiceServer) ExecuteState(context.Context, *ExecuteStateRequest) (*ExecuteStateResponse, error)
func (UnimplementedSysMLServiceServer) GetDiagnostics ¶
func (UnimplementedSysMLServiceServer) GetDiagnostics(context.Context, *DiagnosticsRequest) (*DiagnosticsResponse, error)
func (UnimplementedSysMLServiceServer) GetServerInfo ¶
func (UnimplementedSysMLServiceServer) GetServerInfo(context.Context, *ServerInfoRequest) (*ServerInfoResponse, error)
func (UnimplementedSysMLServiceServer) GetSymbol ¶
func (UnimplementedSysMLServiceServer) GetSymbol(context.Context, *GetSymbolRequest) (*SymbolResponse, error)
func (UnimplementedSysMLServiceServer) Instantiate ¶
func (UnimplementedSysMLServiceServer) Instantiate(context.Context, *InstantiateRequest) (*InstantiateResponse, error)
func (UnimplementedSysMLServiceServer) ListEngines ¶ added in v0.8.0
func (UnimplementedSysMLServiceServer) ListEngines(context.Context, *ListEnginesRequest) (*ListEnginesResponse, error)
func (UnimplementedSysMLServiceServer) ParseFile ¶
func (UnimplementedSysMLServiceServer) ParseFile(context.Context, *ParseFileRequest) (*ParseFileResponse, error)
func (UnimplementedSysMLServiceServer) ParseSources ¶ added in v0.4.2
func (UnimplementedSysMLServiceServer) ParseSources(context.Context, *ParseSourcesRequest) (*ParseSourcesResponse, error)
func (UnimplementedSysMLServiceServer) Query ¶
func (UnimplementedSysMLServiceServer) Query(context.Context, *QueryRequest) (*QueryResponse, error)
func (UnimplementedSysMLServiceServer) RenderDocument ¶ added in v0.4.2
func (UnimplementedSysMLServiceServer) RenderDocument(context.Context, *RenderDocumentRequest) (*RenderDocumentResponse, error)
func (UnimplementedSysMLServiceServer) RunAnalysis ¶ added in v0.6.0
func (UnimplementedSysMLServiceServer) RunAnalysis(context.Context, *RunAnalysisRequest) (*RunAnalysisResponse, error)
func (UnimplementedSysMLServiceServer) RunDocumentQuery ¶ added in v0.4.2
func (UnimplementedSysMLServiceServer) RunDocumentQuery(context.Context, *RunDocumentQueryRequest) (*RunDocumentQueryResponse, error)
func (UnimplementedSysMLServiceServer) RunSweep ¶ added in v0.7.0
func (UnimplementedSysMLServiceServer) RunSweep(context.Context, *RunSweepRequest) (*RunSweepResponse, error)
func (UnimplementedSysMLServiceServer) VerifyConstraint ¶
func (UnimplementedSysMLServiceServer) VerifyConstraint(context.Context, *VerifyConstraintRequest) (*VerifyConstraintResponse, error)
func (UnimplementedSysMLServiceServer) VerifyRequirement ¶
func (UnimplementedSysMLServiceServer) VerifyRequirement(context.Context, *VerifyRequirementRequest) (*VerifyRequirementResponse, error)
func (UnimplementedSysMLServiceServer) VerifySatisfaction ¶
func (UnimplementedSysMLServiceServer) VerifySatisfaction(context.Context, *VerifySatisfactionRequest) (*VerifySatisfactionResponse, error)
type UnitFactor ¶
type UnitFactor struct {
// FQN of the base unit ("SI::m"), naming it across processes.
UnitId string `protobuf:"bytes,1,opt,name=unit_id,json=unitId,proto3" json:"unit_id,omitempty"`
Exponent float64 `protobuf:"fixed64,2,opt,name=exponent,proto3" json:"exponent,omitempty"`
// contains filtered or unexported fields
}
UnitFactor is one base unit raised to an exponent.
func (*UnitFactor) Descriptor
deprecated
func (*UnitFactor) Descriptor() ([]byte, []int)
Deprecated: Use UnitFactor.ProtoReflect.Descriptor instead.
func (*UnitFactor) GetExponent ¶
func (x *UnitFactor) GetExponent() float64
func (*UnitFactor) GetUnitId ¶
func (x *UnitFactor) GetUnitId() string
func (*UnitFactor) ProtoMessage ¶
func (*UnitFactor) ProtoMessage()
func (*UnitFactor) ProtoReflect ¶
func (x *UnitFactor) ProtoReflect() protoreflect.Message
func (*UnitFactor) Reset ¶
func (x *UnitFactor) Reset()
func (*UnitFactor) String ¶
func (x *UnitFactor) String() string
type UnitTerm ¶
type UnitTerm struct {
// Scale as an unevaluated ratio, so an exact conversion stays exact.
ScaleNum float64 `protobuf:"fixed64,1,opt,name=scale_num,json=scaleNum,proto3" json:"scale_num,omitempty"`
ScaleDen float64 `protobuf:"fixed64,2,opt,name=scale_den,json=scaleDen,proto3" json:"scale_den,omitempty"`
// Base units of the reduction, carrying no zero exponents.
Factors []*UnitFactor `protobuf:"bytes,3,rep,name=factors,proto3" json:"factors,omitempty"`
// contains filtered or unexported fields
}
UnitTerm is a unit reduced to a scale factor over base units: `km/h` reduces to 1000/3600 over `SI::m` and `SI::s^-1`.
func (*UnitTerm) Descriptor
deprecated
func (*UnitTerm) GetFactors ¶
func (x *UnitTerm) GetFactors() []*UnitFactor
func (*UnitTerm) GetScaleDen ¶
func (*UnitTerm) GetScaleNum ¶
func (*UnitTerm) ProtoMessage ¶
func (*UnitTerm) ProtoMessage()
func (*UnitTerm) ProtoReflect ¶
func (x *UnitTerm) ProtoReflect() protoreflect.Message
type UnsafeSysMLServiceServer ¶
type UnsafeSysMLServiceServer interface {
// contains filtered or unexported methods
}
UnsafeSysMLServiceServer may be embedded to opt out of forward compatibility for this service. Use of this interface is not recommended, as added methods to SysMLServiceServer will result in compilation errors.
type Value ¶
type Value struct {
// Types that are valid to be assigned to Kind:
//
// *Value_IntValue
// *Value_RealValue
// *Value_BoolValue
// *Value_StringValue
// *Value_InstanceId
// *Value_Sequence
// *Value_Null
// *Value_Quantity
// *Value_EnumLiteral
// *Value_Unset
// *Value_Complex
// *Value_Array
// *Value_Vector
// *Value_VectorQuantity
// *Value_MeasurementRef
// *Value_Infinity
// *Value_Function
// *Value_Set
// *Value_TensorQuantity
// *Value_Metaobject
// *Value_Undetermined
Kind isValue_Kind `protobuf_oneof:"kind"`
// contains filtered or unexported fields
}
Value represents a runtime-evaluable value
func (*Value) Descriptor
deprecated
func (*Value) GetBoolValue ¶
func (*Value) GetComplex ¶ added in v0.5.0
func (*Value) GetEnumLiteral ¶
func (x *Value) GetEnumLiteral() *EnumLiteral
func (*Value) GetFunction ¶ added in v0.7.0
func (*Value) GetInfinity ¶ added in v0.7.0
func (*Value) GetInstanceId ¶
func (*Value) GetIntValue ¶
func (*Value) GetMeasurementRef ¶ added in v0.6.0
func (x *Value) GetMeasurementRef() *MeasurementRef
func (*Value) GetMetaobject ¶ added in v0.8.0
func (x *Value) GetMetaobject() *Metaobject
func (*Value) GetQuantity ¶
func (*Value) GetRealValue ¶
func (*Value) GetSequence ¶
func (x *Value) GetSequence() *ValueSequence
func (*Value) GetStringValue ¶
func (*Value) GetTensorQuantity ¶ added in v0.7.0
func (x *Value) GetTensorQuantity() *TensorQuantity
func (*Value) GetUndetermined ¶ added in v0.8.0
func (x *Value) GetUndetermined() *Undetermined
func (*Value) GetVectorQuantity ¶ added in v0.6.0
func (x *Value) GetVectorQuantity() *VectorQuantity
func (*Value) ProtoMessage ¶
func (*Value) ProtoMessage()
func (*Value) ProtoReflect ¶
func (x *Value) ProtoReflect() protoreflect.Message
type ValueSequence ¶
type ValueSequence struct {
Elements []*Value `protobuf:"bytes,1,rep,name=elements,proto3" json:"elements,omitempty"`
// contains filtered or unexported fields
}
func (*ValueSequence) Descriptor
deprecated
func (*ValueSequence) Descriptor() ([]byte, []int)
Deprecated: Use ValueSequence.ProtoReflect.Descriptor instead.
func (*ValueSequence) GetElements ¶
func (x *ValueSequence) GetElements() []*Value
func (*ValueSequence) ProtoMessage ¶
func (*ValueSequence) ProtoMessage()
func (*ValueSequence) ProtoReflect ¶
func (x *ValueSequence) ProtoReflect() protoreflect.Message
func (*ValueSequence) Reset ¶
func (x *ValueSequence) Reset()
func (*ValueSequence) String ¶
func (x *ValueSequence) String() string
type ValueSet ¶ added in v0.7.0
type ValueSet struct {
Elements []*Value `protobuf:"bytes,1,rep,name=elements,proto3" json:"elements,omitempty"`
// contains filtered or unexported fields
}
ValueSet is a unique, unordered collection — a Collections::Set's elements — as distinct from a ValueSequence, whose order is part of its value. Two sets are equal when they hold the same elements in any order. The service sends the elements in the runtime's canonical order (Booleans, numbers, strings, quantities, enumeration literals, objects, each class in its own order), so equal sets cross alike; a client may send them in any order, but sending an element twice is rejected rather than read as one, since a repeated element is what a sequence carries.
func (*ValueSet) Descriptor
deprecated
added in
v0.7.0
func (*ValueSet) GetElements ¶ added in v0.7.0
func (*ValueSet) ProtoMessage ¶ added in v0.7.0
func (*ValueSet) ProtoMessage()
func (*ValueSet) ProtoReflect ¶ added in v0.7.0
func (x *ValueSet) ProtoReflect() protoreflect.Message
type Value_Array ¶ added in v0.6.0
type Value_Array struct {
Array *Array `protobuf:"bytes,12,opt,name=array,proto3,oneof"` // shape and elements, never a flat sequence
}
type Value_BoolValue ¶
type Value_BoolValue struct {
BoolValue bool `protobuf:"varint,3,opt,name=bool_value,json=boolValue,proto3,oneof"`
}
type Value_Complex ¶ added in v0.5.0
type Value_Complex struct {
Complex *Complex `protobuf:"bytes,11,opt,name=complex,proto3,oneof"` // one complex number, never two Reals
}
type Value_EnumLiteral ¶
type Value_EnumLiteral struct {
EnumLiteral *EnumLiteral `protobuf:"bytes,9,opt,name=enum_literal,json=enumLiteral,proto3,oneof"`
}
type Value_Function ¶ added in v0.7.0
type Value_Function struct {
Function *Function `protobuf:"bytes,17,opt,name=function,proto3,oneof"` // a calc as a value, named by its declaration
}
type Value_Infinity ¶ added in v0.7.0
type Value_Infinity struct {
// The unbounded value `*`, which is no number and no string: ordered above
// every finite magnitude and refused by arithmetic. Always true when set,
// as DocumentValue.infinity is.
Infinity bool `protobuf:"varint,16,opt,name=infinity,proto3,oneof"`
}
type Value_InstanceId ¶
type Value_InstanceId struct {
InstanceId int64 `protobuf:"varint,5,opt,name=instance_id,json=instanceId,proto3,oneof"` // reference to Instance
}
type Value_IntValue ¶
type Value_IntValue struct {
IntValue int64 `protobuf:"varint,1,opt,name=int_value,json=intValue,proto3,oneof"`
}
type Value_MeasurementRef ¶ added in v0.6.0
type Value_MeasurementRef struct {
MeasurementRef *MeasurementRef `protobuf:"bytes,15,opt,name=measurement_ref,json=measurementRef,proto3,oneof"` // a unit by itself, no magnitude
}
type Value_Metaobject ¶ added in v0.8.0
type Value_Metaobject struct {
Metaobject *Metaobject `protobuf:"bytes,20,opt,name=metaobject,proto3,oneof"` // an element reflected on as its metaclass
}
type Value_Null ¶
type Value_Null struct {
Null string `protobuf:"bytes,7,opt,name=null,proto3,oneof"` // marker for null (empty string)
}
type Value_Quantity ¶
type Value_Quantity struct {
Quantity *Quantity `protobuf:"bytes,8,opt,name=quantity,proto3,oneof"` // magnitude and the unit it is expressed in
}
type Value_RealValue ¶
type Value_RealValue struct {
RealValue float64 `protobuf:"fixed64,2,opt,name=real_value,json=realValue,proto3,oneof"`
}
type Value_Sequence ¶
type Value_Sequence struct {
Sequence *ValueSequence `protobuf:"bytes,6,opt,name=sequence,proto3,oneof"`
}
type Value_Set ¶ added in v0.7.0
type Value_Set struct {
Set *ValueSet `protobuf:"bytes,18,opt,name=set,proto3,oneof"` // distinct elements with no order of their own
}
type Value_StringValue ¶
type Value_StringValue struct {
StringValue string `protobuf:"bytes,4,opt,name=string_value,json=stringValue,proto3,oneof"`
}
type Value_TensorQuantity ¶ added in v0.7.0
type Value_TensorQuantity struct {
TensorQuantity *TensorQuantity `protobuf:"bytes,19,opt,name=tensor_quantity,json=tensorQuantity,proto3,oneof"` // shape and one Quantity per component
}
type Value_Undetermined ¶ added in v0.8.0
type Value_Undetermined struct {
// A result the model leaves open: not an error, but no definite answer.
// A value the server sends, never one it accepts.
Undetermined *Undetermined `protobuf:"bytes,21,opt,name=undetermined,proto3,oneof"`
}
type Value_Unset ¶
type Value_Unset struct {
// A valueless feature of a value type: materialized, holding no value.
// Always true when set; a value the server sends, never one it accepts.
Unset bool `protobuf:"varint,10,opt,name=unset,proto3,oneof"`
}
type Value_Vector ¶ added in v0.6.0
type Value_Vector struct {
Vector *Vector `protobuf:"bytes,13,opt,name=vector,proto3,oneof"` // numeric components, never a sequence
}
type Value_VectorQuantity ¶ added in v0.6.0
type Value_VectorQuantity struct {
VectorQuantity *VectorQuantity `protobuf:"bytes,14,opt,name=vector_quantity,json=vectorQuantity,proto3,oneof"` // components each with their unit
}
type Vector ¶ added in v0.6.0
type Vector struct {
// Each an int_value or a real_value, kept apart as the rest of Value does;
// a component of any other arm is rejected rather than read as a number.
Components []*Value `protobuf:"bytes,1,rep,name=components,proto3" json:"components,omitempty"`
// contains filtered or unexported fields
}
Vector is a VectorValues::NumericalVectorValue: its components in order, its dimension their number.
func (*Vector) Descriptor
deprecated
added in
v0.6.0
func (*Vector) GetComponents ¶ added in v0.6.0
func (*Vector) ProtoMessage ¶ added in v0.6.0
func (*Vector) ProtoMessage()
func (*Vector) ProtoReflect ¶ added in v0.6.0
func (x *Vector) ProtoReflect() protoreflect.Message
type VectorQuantity ¶ added in v0.6.0
type VectorQuantity struct {
// At least one (num is Number[1..*]); a named unit sent without its
// unit_term is rejected as a Quantity's is.
Components []*Quantity `protobuf:"bytes,1,rep,name=components,proto3" json:"components,omitempty"`
// contains filtered or unexported fields
}
VectorQuantity is a Quantities::VectorQuantityValue: one Quantity per axis, unit and reduction included, since the axes need not share a unit.
func (*VectorQuantity) Descriptor
deprecated
added in
v0.6.0
func (*VectorQuantity) Descriptor() ([]byte, []int)
Deprecated: Use VectorQuantity.ProtoReflect.Descriptor instead.
func (*VectorQuantity) GetComponents ¶ added in v0.6.0
func (x *VectorQuantity) GetComponents() []*Quantity
func (*VectorQuantity) ProtoMessage ¶ added in v0.6.0
func (*VectorQuantity) ProtoMessage()
func (*VectorQuantity) ProtoReflect ¶ added in v0.6.0
func (x *VectorQuantity) ProtoReflect() protoreflect.Message
func (*VectorQuantity) Reset ¶ added in v0.6.0
func (x *VectorQuantity) Reset()
func (*VectorQuantity) String ¶ added in v0.6.0
func (x *VectorQuantity) String() string
type Verdict ¶
type Verdict struct {
// What was verified: "constraint", "requirement" or "satisfy"; for a check
// an analysis case run made, "objective" or "assertion".
Kind string `protobuf:"bytes,1,opt,name=kind,proto3" json:"kind,omitempty"`
// FQN of the element verified; empty for an anonymous satisfy assertion or
// an anonymous assertion in a case body.
ElementId string `protobuf:"bytes,2,opt,name=element_id,json=elementId,proto3" json:"element_id,omitempty"`
// The element as a reader names it: its FQN, or, for an anonymous satisfy
// assertion, the assertion as written ("satisfy Range by cruise"); for an
// objective or assertion of a case, its name or its condition as written.
Element string `protobuf:"bytes,3,opt,name=element,proto3" json:"element,omitempty"`
// Whether the condition holds. False with an empty `error` is the model's own
// answer; false with an `error` is no answer at all.
Holds bool `protobuf:"varint,4,opt,name=holds,proto3" json:"holds,omitempty"`
// The condition that evaluated to false, as written, when the runtime names
// one. Empty when the verdict holds or the condition is not named.
Condition string `protobuf:"bytes,5,opt,name=condition,proto3" json:"condition,omitempty"`
// Instance the verdict is about, 0 when it is about declared values alone.
// Its feature values are in `instances`, so a client can read what made it fail.
InstanceId int64 `protobuf:"varint,6,opt,name=instance_id,json=instanceId,proto3" json:"instance_id,omitempty"`
// Type of `instance_id`, as an FQN, for naming the object in a report.
InstanceTypeId string `protobuf:"bytes,7,opt,name=instance_type_id,json=instanceTypeId,proto3" json:"instance_type_id,omitempty"`
// Set when evaluation failed rather than the model answering false: unbound
// features, incommensurable units, an exhausted step budget. `holds` is then
// false but is not a verdict.
Error string `protobuf:"bytes,8,opt,name=error,proto3" json:"error,omitempty"`
// What kind of failure `error` reports. WRONG_KIND says the symbol named
// declares something else, which is a wrong request rather than an undecided
// verdict about the model.
FailureReason FailureReason `` /* 126-byte string literal not displayed */
// FQN of the requirement a "satisfy" verdict asserts satisfied, which is what
// associates it with the verification_verdicts reported for that requirement.
// Empty for every other kind, and for a requirement no FQN names.
RequirementId string `protobuf:"bytes,10,opt,name=requirement_id,json=requirementId,proto3" json:"requirement_id,omitempty"`
// The engine whose answer this verdict is, as ListEngines names it; empty
// for a verdict decided before any engine was asked. Reported as the
// "engines" capability, with `strength` and `bounds`.
Engine string `protobuf:"bytes,11,opt,name=engine,proto3" json:"engine,omitempty"`
// The strength of the evidence behind the verdict: "observed" for one run,
// "witnessed" for a replayed counterexample, "bounded" for an exhaustive
// search within the bounds, "proved" for every case, "not covered" when no
// engine decided it.
Strength string `protobuf:"bytes,12,opt,name=strength,proto3" json:"strength,omitempty"`
// The bounds the engine ran under, each marked when it stopped the run.
Bounds []*Bound `protobuf:"bytes,13,rep,name=bounds,proto3" json:"bounds,omitempty"`
// contains filtered or unexported fields
}
Verdict is one verification's answer: whether the condition held, and, when it did not, which condition the model answered false about.
func (*Verdict) Descriptor
deprecated
func (*Verdict) GetCondition ¶
func (*Verdict) GetElement ¶
func (*Verdict) GetElementId ¶
func (*Verdict) GetFailureReason ¶
func (x *Verdict) GetFailureReason() FailureReason
func (*Verdict) GetInstanceId ¶
func (*Verdict) GetInstanceTypeId ¶
func (*Verdict) GetRequirementId ¶ added in v0.7.0
func (*Verdict) GetStrength ¶ added in v0.8.0
func (*Verdict) ProtoMessage ¶
func (*Verdict) ProtoMessage()
func (*Verdict) ProtoReflect ¶
func (x *Verdict) ProtoReflect() protoreflect.Message
type VerificationVerdict ¶ added in v0.7.0
type VerificationVerdict struct {
// FQN of the verification case definition or usage that ran.
CaseId string `protobuf:"bytes,1,opt,name=case_id,json=caseId,proto3" json:"case_id,omitempty"`
// The VerdictKind the body produced: "pass", "fail", "inconclusive" or "error".
Kind string `protobuf:"bytes,2,opt,name=kind,proto3" json:"kind,omitempty"`
// Why the body decided nothing, or the text of the error that stopped its run.
// Empty for a pass or a fail, which are the case's own answers.
Detail string `protobuf:"bytes,3,opt,name=detail,proto3" json:"detail,omitempty"`
// Set for the verdict of a subcase the case performed, which the library
// states no roll-up for and which is therefore reported on its own.
Subcase bool `protobuf:"varint,4,opt,name=subcase,proto3" json:"subcase,omitempty"`
// FQN of the requirement this verdict was reported for: the one the case's
// objective verifies. Empty when the case was run for itself rather than for
// a requirement, or when that requirement can be named by no FQN.
RequirementId string `protobuf:"bytes,5,opt,name=requirement_id,json=requirementId,proto3" json:"requirement_id,omitempty"`
// contains filtered or unexported fields
}
VerificationVerdict is what the body of a verification case answered when it ran: the VerdictKind its return bound, which is a separate answer from whether a requirement is satisfied. Reported as the "verification_verdicts" capability.
func (*VerificationVerdict) Descriptor
deprecated
added in
v0.7.0
func (*VerificationVerdict) Descriptor() ([]byte, []int)
Deprecated: Use VerificationVerdict.ProtoReflect.Descriptor instead.
func (*VerificationVerdict) GetCaseId ¶ added in v0.7.0
func (x *VerificationVerdict) GetCaseId() string
func (*VerificationVerdict) GetDetail ¶ added in v0.7.0
func (x *VerificationVerdict) GetDetail() string
func (*VerificationVerdict) GetKind ¶ added in v0.7.0
func (x *VerificationVerdict) GetKind() string
func (*VerificationVerdict) GetRequirementId ¶ added in v0.7.0
func (x *VerificationVerdict) GetRequirementId() string
func (*VerificationVerdict) GetSubcase ¶ added in v0.7.0
func (x *VerificationVerdict) GetSubcase() bool
func (*VerificationVerdict) ProtoMessage ¶ added in v0.7.0
func (*VerificationVerdict) ProtoMessage()
func (*VerificationVerdict) ProtoReflect ¶ added in v0.7.0
func (x *VerificationVerdict) ProtoReflect() protoreflect.Message
func (*VerificationVerdict) Reset ¶ added in v0.7.0
func (x *VerificationVerdict) Reset()
func (*VerificationVerdict) String ¶ added in v0.7.0
func (x *VerificationVerdict) String() string
type VerifyConstraintRequest ¶
type VerifyConstraintRequest struct {
ModelHash string `protobuf:"bytes,1,opt,name=model_hash,json=modelHash,proto3" json:"model_hash,omitempty"`
// FQN of the constraint definition or usage to evaluate.
SymbolId string `protobuf:"bytes,2,opt,name=symbol_id,json=symbolId,proto3" json:"symbol_id,omitempty"`
// Optional FQN of a part/usage to instantiate and evaluate the constraint
// against, so the verdict is about concrete values rather than declared
// defaults. The prompt evaluates against the object a %instantiate created;
// a call carries no session, so it names the subject instead.
SubjectSymbolId string `protobuf:"bytes,3,opt,name=subject_symbol_id,json=subjectSymbolId,proto3" json:"subject_symbol_id,omitempty"`
// The engine the question is put to, as ListEngines names it, "auto" for the
// strongest covering one, or "all" for every covering one. Unset is "auto".
// An unknown name is INVALID_ARGUMENT. Reported as the "engines" capability.
Engine string `protobuf:"bytes,4,opt,name=engine,proto3" json:"engine,omitempty"`
// contains filtered or unexported fields
}
VerifyConstraintRequest asks whether a constraint holds, as %constraint does.
func (*VerifyConstraintRequest) Descriptor
deprecated
func (*VerifyConstraintRequest) Descriptor() ([]byte, []int)
Deprecated: Use VerifyConstraintRequest.ProtoReflect.Descriptor instead.
func (*VerifyConstraintRequest) GetEngine ¶ added in v0.8.0
func (x *VerifyConstraintRequest) GetEngine() string
func (*VerifyConstraintRequest) GetModelHash ¶
func (x *VerifyConstraintRequest) GetModelHash() string
func (*VerifyConstraintRequest) GetSubjectSymbolId ¶
func (x *VerifyConstraintRequest) GetSubjectSymbolId() string
func (*VerifyConstraintRequest) GetSymbolId ¶
func (x *VerifyConstraintRequest) GetSymbolId() string
func (*VerifyConstraintRequest) ProtoMessage ¶
func (*VerifyConstraintRequest) ProtoMessage()
func (*VerifyConstraintRequest) ProtoReflect ¶
func (x *VerifyConstraintRequest) ProtoReflect() protoreflect.Message
func (*VerifyConstraintRequest) Reset ¶
func (x *VerifyConstraintRequest) Reset()
func (*VerifyConstraintRequest) String ¶
func (x *VerifyConstraintRequest) String() string
type VerifyConstraintResponse ¶
type VerifyConstraintResponse struct {
Verdict *Verdict `protobuf:"bytes,1,opt,name=verdict,proto3" json:"verdict,omitempty"`
// Instances reachable from the verdict's subject, including it, so its feature
// values need no follow-up RPC. Empty when the verdict names no instance.
Instances []*Instance `protobuf:"bytes,2,rep,name=instances,proto3" json:"instances,omitempty"`
// Set when the request could not be answered at all — an unknown symbol, a
// subject that could not be built. `verdict` is then unset.
Error string `protobuf:"bytes,3,opt,name=error,proto3" json:"error,omitempty"`
Diagnostics []*Diagnostic `protobuf:"bytes,4,rep,name=diagnostics,proto3" json:"diagnostics,omitempty"`
// contains filtered or unexported fields
}
VerifyConstraintResponse carries the verdict; its engine, strength and bounds are on the verdict.
func (*VerifyConstraintResponse) Descriptor
deprecated
func (*VerifyConstraintResponse) Descriptor() ([]byte, []int)
Deprecated: Use VerifyConstraintResponse.ProtoReflect.Descriptor instead.
func (*VerifyConstraintResponse) GetDiagnostics ¶
func (x *VerifyConstraintResponse) GetDiagnostics() []*Diagnostic
func (*VerifyConstraintResponse) GetError ¶
func (x *VerifyConstraintResponse) GetError() string
func (*VerifyConstraintResponse) GetInstances ¶
func (x *VerifyConstraintResponse) GetInstances() []*Instance
func (*VerifyConstraintResponse) GetVerdict ¶
func (x *VerifyConstraintResponse) GetVerdict() *Verdict
func (*VerifyConstraintResponse) ProtoMessage ¶
func (*VerifyConstraintResponse) ProtoMessage()
func (*VerifyConstraintResponse) ProtoReflect ¶
func (x *VerifyConstraintResponse) ProtoReflect() protoreflect.Message
func (*VerifyConstraintResponse) Reset ¶
func (x *VerifyConstraintResponse) Reset()
func (*VerifyConstraintResponse) String ¶
func (x *VerifyConstraintResponse) String() string
type VerifyRequirementRequest ¶
type VerifyRequirementRequest struct {
ModelHash string `protobuf:"bytes,1,opt,name=model_hash,json=modelHash,proto3" json:"model_hash,omitempty"`
// FQN of the requirement definition or usage to evaluate.
SymbolId string `protobuf:"bytes,2,opt,name=symbol_id,json=symbolId,proto3" json:"symbol_id,omitempty"`
// Optional FQN of a part/usage to instantiate and evaluate against.
SubjectSymbolId string `protobuf:"bytes,3,opt,name=subject_symbol_id,json=subjectSymbolId,proto3" json:"subject_symbol_id,omitempty"`
// The engine the question is put to; see VerifyConstraintRequest.engine.
Engine string `protobuf:"bytes,4,opt,name=engine,proto3" json:"engine,omitempty"`
// contains filtered or unexported fields
}
VerifyRequirementRequest asks whether a requirement is satisfied, as %requirement does.
func (*VerifyRequirementRequest) Descriptor
deprecated
func (*VerifyRequirementRequest) Descriptor() ([]byte, []int)
Deprecated: Use VerifyRequirementRequest.ProtoReflect.Descriptor instead.
func (*VerifyRequirementRequest) GetEngine ¶ added in v0.8.0
func (x *VerifyRequirementRequest) GetEngine() string
func (*VerifyRequirementRequest) GetModelHash ¶
func (x *VerifyRequirementRequest) GetModelHash() string
func (*VerifyRequirementRequest) GetSubjectSymbolId ¶
func (x *VerifyRequirementRequest) GetSubjectSymbolId() string
func (*VerifyRequirementRequest) GetSymbolId ¶
func (x *VerifyRequirementRequest) GetSymbolId() string
func (*VerifyRequirementRequest) ProtoMessage ¶
func (*VerifyRequirementRequest) ProtoMessage()
func (*VerifyRequirementRequest) ProtoReflect ¶
func (x *VerifyRequirementRequest) ProtoReflect() protoreflect.Message
func (*VerifyRequirementRequest) Reset ¶
func (x *VerifyRequirementRequest) Reset()
func (*VerifyRequirementRequest) String ¶
func (x *VerifyRequirementRequest) String() string
type VerifyRequirementResponse ¶
type VerifyRequirementResponse struct {
Verdict *Verdict `protobuf:"bytes,1,opt,name=verdict,proto3" json:"verdict,omitempty"`
Instances []*Instance `protobuf:"bytes,2,rep,name=instances,proto3" json:"instances,omitempty"`
Error string `protobuf:"bytes,3,opt,name=error,proto3" json:"error,omitempty"`
Diagnostics []*Diagnostic `protobuf:"bytes,4,rep,name=diagnostics,proto3" json:"diagnostics,omitempty"`
// What the body of every verification case verifying this requirement
// answered, beside the satisfaction verdict rather than instead of it.
VerificationVerdicts []*VerificationVerdict `protobuf:"bytes,5,rep,name=verification_verdicts,json=verificationVerdicts,proto3" json:"verification_verdicts,omitempty"`
// contains filtered or unexported fields
}
VerifyRequirementResponse carries the verdict.
func (*VerifyRequirementResponse) Descriptor
deprecated
func (*VerifyRequirementResponse) Descriptor() ([]byte, []int)
Deprecated: Use VerifyRequirementResponse.ProtoReflect.Descriptor instead.
func (*VerifyRequirementResponse) GetDiagnostics ¶
func (x *VerifyRequirementResponse) GetDiagnostics() []*Diagnostic
func (*VerifyRequirementResponse) GetError ¶
func (x *VerifyRequirementResponse) GetError() string
func (*VerifyRequirementResponse) GetInstances ¶
func (x *VerifyRequirementResponse) GetInstances() []*Instance
func (*VerifyRequirementResponse) GetVerdict ¶
func (x *VerifyRequirementResponse) GetVerdict() *Verdict
func (*VerifyRequirementResponse) GetVerificationVerdicts ¶ added in v0.7.0
func (x *VerifyRequirementResponse) GetVerificationVerdicts() []*VerificationVerdict
func (*VerifyRequirementResponse) ProtoMessage ¶
func (*VerifyRequirementResponse) ProtoMessage()
func (*VerifyRequirementResponse) ProtoReflect ¶
func (x *VerifyRequirementResponse) ProtoReflect() protoreflect.Message
func (*VerifyRequirementResponse) Reset ¶
func (x *VerifyRequirementResponse) Reset()
func (*VerifyRequirementResponse) String ¶
func (x *VerifyRequirementResponse) String() string
type VerifySatisfactionRequest ¶
type VerifySatisfactionRequest struct {
ModelHash string `protobuf:"bytes,1,opt,name=model_hash,json=modelHash,proto3" json:"model_hash,omitempty"`
// Optional FQN limiting evaluation: the assertions stated within that
// element, or that element itself when it is a named satisfy assertion. Empty
// evaluates every assertion the model states.
SymbolId string `protobuf:"bytes,2,opt,name=symbol_id,json=symbolId,proto3" json:"symbol_id,omitempty"`
// The engine every assertion is put to; see VerifyConstraintRequest.engine.
Engine string `protobuf:"bytes,3,opt,name=engine,proto3" json:"engine,omitempty"`
// contains filtered or unexported fields
}
VerifySatisfactionRequest asks whether the satisfaction assertions a model states hold, as %satisfy does. Each is evaluated against an object of its subject, built for the call.
func (*VerifySatisfactionRequest) Descriptor
deprecated
func (*VerifySatisfactionRequest) Descriptor() ([]byte, []int)
Deprecated: Use VerifySatisfactionRequest.ProtoReflect.Descriptor instead.
func (*VerifySatisfactionRequest) GetEngine ¶ added in v0.8.0
func (x *VerifySatisfactionRequest) GetEngine() string
func (*VerifySatisfactionRequest) GetModelHash ¶
func (x *VerifySatisfactionRequest) GetModelHash() string
func (*VerifySatisfactionRequest) GetSymbolId ¶
func (x *VerifySatisfactionRequest) GetSymbolId() string
func (*VerifySatisfactionRequest) ProtoMessage ¶
func (*VerifySatisfactionRequest) ProtoMessage()
func (*VerifySatisfactionRequest) ProtoReflect ¶
func (x *VerifySatisfactionRequest) ProtoReflect() protoreflect.Message
func (*VerifySatisfactionRequest) Reset ¶
func (x *VerifySatisfactionRequest) Reset()
func (*VerifySatisfactionRequest) String ¶
func (x *VerifySatisfactionRequest) String() string
type VerifySatisfactionResponse ¶
type VerifySatisfactionResponse struct {
Verdicts []*Verdict `protobuf:"bytes,1,rep,name=verdicts,proto3" json:"verdicts,omitempty"`
Instances []*Instance `protobuf:"bytes,2,rep,name=instances,proto3" json:"instances,omitempty"`
Error string `protobuf:"bytes,3,opt,name=error,proto3" json:"error,omitempty"`
Diagnostics []*Diagnostic `protobuf:"bytes,4,rep,name=diagnostics,proto3" json:"diagnostics,omitempty"`
// What kind of failure `error` reports.
FailureReason FailureReason `` /* 126-byte string literal not displayed */
// What the body of every verification case verifying a requirement asserted
// as satisfied answered, in the order the assertions were evaluated. Each
// names the requirement it was reported for, which the verdict of an
// assertion of that requirement carries as its own requirement_id.
VerificationVerdicts []*VerificationVerdict `protobuf:"bytes,6,rep,name=verification_verdicts,json=verificationVerdicts,proto3" json:"verification_verdicts,omitempty"`
// contains filtered or unexported fields
}
VerifySatisfactionResponse carries one verdict per assertion evaluated, in declaration order. No assertion at all is an empty list, not an error.
func (*VerifySatisfactionResponse) Descriptor
deprecated
func (*VerifySatisfactionResponse) Descriptor() ([]byte, []int)
Deprecated: Use VerifySatisfactionResponse.ProtoReflect.Descriptor instead.
func (*VerifySatisfactionResponse) GetDiagnostics ¶
func (x *VerifySatisfactionResponse) GetDiagnostics() []*Diagnostic
func (*VerifySatisfactionResponse) GetError ¶
func (x *VerifySatisfactionResponse) GetError() string
func (*VerifySatisfactionResponse) GetFailureReason ¶
func (x *VerifySatisfactionResponse) GetFailureReason() FailureReason
func (*VerifySatisfactionResponse) GetInstances ¶
func (x *VerifySatisfactionResponse) GetInstances() []*Instance
func (*VerifySatisfactionResponse) GetVerdicts ¶
func (x *VerifySatisfactionResponse) GetVerdicts() []*Verdict
func (*VerifySatisfactionResponse) GetVerificationVerdicts ¶ added in v0.7.0
func (x *VerifySatisfactionResponse) GetVerificationVerdicts() []*VerificationVerdict
func (*VerifySatisfactionResponse) ProtoMessage ¶
func (*VerifySatisfactionResponse) ProtoMessage()
func (*VerifySatisfactionResponse) ProtoReflect ¶
func (x *VerifySatisfactionResponse) ProtoReflect() protoreflect.Message
func (*VerifySatisfactionResponse) Reset ¶
func (x *VerifySatisfactionResponse) Reset()
func (*VerifySatisfactionResponse) String ¶
func (x *VerifySatisfactionResponse) String() string