proto

package
v0.10.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Oct 11, 2026 License: Apache-2.0 Imports: 9 Imported by: 1 module, 0 packages

The first number is the count of modules that contain a package that imports this one. The module count is a better indicator of popularity than the package count. A module with 100 importing packages is counted only once instead of 100 times, reflecting the fact that the choice to use the package was likely made only once, not 100 times.
A '?' means that the value hasn't been computed yet.

Documentation

Index

Constants

View Source
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_Migrate_FullMethodName            = "/sysml.SysMLService/Migrate"
	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_ValidateInstance_FullMethodName   = "/sysml.SysMLService/ValidateInstance"
	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"
	SysMLService_RenderView_FullMethodName         = "/sysml.SysMLService/RenderView"
	SysMLService_ExportGraphs_FullMethodName       = "/sysml.SysMLService/ExportGraphs"
)

Variables

View Source
var (
	FailureReason_name = map[int32]string{
		0: "FAILURE_REASON_UNSPECIFIED",
		1: "FAILURE_REASON_EVALUATION",
		2: "FAILURE_REASON_WRONG_KIND",
		3: "FAILURE_REASON_AMBIGUOUS_SUBJECT",
		4: "FAILURE_REASON_UNDECIDED",
	}
	FailureReason_value = map[string]int32{
		"FAILURE_REASON_UNSPECIFIED":       0,
		"FAILURE_REASON_EVALUATION":        1,
		"FAILURE_REASON_WRONG_KIND":        2,
		"FAILURE_REASON_AMBIGUOUS_SUBJECT": 3,
		"FAILURE_REASON_UNDECIDED":         4,
	}
)

Enum value maps for FailureReason.

View Source
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",
		18: "EDIT_FAILURE_REFERENCED_ELSEWHERE",
	}
	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,
		"EDIT_FAILURE_REFERENCED_ELSEWHERE": 18,
	}
)

Enum value maps for EditFailure.

View Source
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.

View Source
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.

View Source
var File_sysml_proto protoreflect.FileDescriptor
View Source
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: "Migrate",
			Handler:    _SysMLService_Migrate_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: "ValidateInstance",
			Handler:    _SysMLService_ValidateInstance_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,
		},
		{
			MethodName: "RenderView",
			Handler:    _SysMLService_RenderView_Handler,
		},
		{
			MethodName: "ExportGraphs",
			Handler:    _SysMLService_ExportGraphs_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 AddCommentEdit added in v0.9.2

type AddCommentEdit struct {

	// Namespace FQN receiving the comment; empty means the document root.
	Owner string `protobuf:"bytes,1,opt,name=owner,proto3" json:"owner,omitempty"`
	// Comment body, as plain text that Comment::body reads back exactly; it may
	// not contain `*/` or a carriage return.
	Body string `protobuf:"bytes,2,opt,name=body,proto3" json:"body,omitempty"`
	// Optional declared name of the comment.
	Name string `protobuf:"bytes,3,opt,name=name,proto3" json:"name,omitempty"`
	// Optional annotated elements, each a qualified name written after `about`.
	About []string `protobuf:"bytes,4,rep,name=about,proto3" json:"about,omitempty"`
	// Optional locale, written as `locale "..."`.
	Locale string `protobuf:"bytes,5,opt,name=locale,proto3" json:"locale,omitempty"`
	// contains filtered or unexported fields
}

AddCommentEdit inserts `comment [name] [about a, b] [locale "..."] /* ... */` where a new member of owner goes.

func (*AddCommentEdit) Descriptor deprecated added in v0.9.2

func (*AddCommentEdit) Descriptor() ([]byte, []int)

Deprecated: Use AddCommentEdit.ProtoReflect.Descriptor instead.

func (*AddCommentEdit) GetAbout added in v0.9.2

func (x *AddCommentEdit) GetAbout() []string

func (*AddCommentEdit) GetBody added in v0.9.2

func (x *AddCommentEdit) GetBody() string

func (*AddCommentEdit) GetLocale added in v0.9.2

func (x *AddCommentEdit) GetLocale() string

func (*AddCommentEdit) GetName added in v0.9.2

func (x *AddCommentEdit) GetName() string

func (*AddCommentEdit) GetOwner added in v0.9.2

func (x *AddCommentEdit) GetOwner() string

func (*AddCommentEdit) ProtoMessage added in v0.9.2

func (*AddCommentEdit) ProtoMessage()

func (*AddCommentEdit) ProtoReflect added in v0.9.2

func (x *AddCommentEdit) ProtoReflect() protoreflect.Message

func (*AddCommentEdit) Reset added in v0.9.2

func (x *AddCommentEdit) Reset()

func (*AddCommentEdit) String added in v0.9.2

func (x *AddCommentEdit) String() string

type AddConnectionEdit added in v0.9.2

type AddConnectionEdit struct {

	// Namespace FQN receiving the usage; empty means the document root.
	Owner string `protobuf:"bytes,1,opt,name=owner,proto3" json:"owner,omitempty"`
	// Usage kind: SysML connection, interface, allocation, binding, flow,
	// succession or transition; KerML connector, binding, flow or succession.
	Kind string `protobuf:"bytes,2,opt,name=kind,proto3" json:"kind,omitempty"`
	// First feature reference resolved from the owner.
	FromEnd string `protobuf:"bytes,3,opt,name=from_end,json=fromEnd,proto3" json:"from_end,omitempty"`
	// Second feature reference resolved from the owner.
	ToEnd string `protobuf:"bytes,4,opt,name=to_end,json=toEnd,proto3" json:"to_end,omitempty"`
	// Optional declared name.
	Name string `protobuf:"bytes,5,opt,name=name,proto3" json:"name,omitempty"`
	// Optional typing target, legal only for typed connection kinds.
	Type string `protobuf:"bytes,6,opt,name=type,proto3" json:"type,omitempty"`
	// contains filtered or unexported fields
}

AddConnectionEdit inserts a usage whose ends connect two features.

func (*AddConnectionEdit) Descriptor deprecated added in v0.9.2

func (*AddConnectionEdit) Descriptor() ([]byte, []int)

Deprecated: Use AddConnectionEdit.ProtoReflect.Descriptor instead.

func (*AddConnectionEdit) GetFromEnd added in v0.9.2

func (x *AddConnectionEdit) GetFromEnd() string

func (*AddConnectionEdit) GetKind added in v0.9.2

func (x *AddConnectionEdit) GetKind() string

func (*AddConnectionEdit) GetName added in v0.9.2

func (x *AddConnectionEdit) GetName() string

func (*AddConnectionEdit) GetOwner added in v0.9.2

func (x *AddConnectionEdit) GetOwner() string

func (*AddConnectionEdit) GetToEnd added in v0.9.2

func (x *AddConnectionEdit) GetToEnd() string

func (*AddConnectionEdit) GetType added in v0.9.2

func (x *AddConnectionEdit) GetType() string

func (*AddConnectionEdit) ProtoMessage added in v0.9.2

func (*AddConnectionEdit) ProtoMessage()

func (*AddConnectionEdit) ProtoReflect added in v0.9.2

func (x *AddConnectionEdit) ProtoReflect() protoreflect.Message

func (*AddConnectionEdit) Reset added in v0.9.2

func (x *AddConnectionEdit) Reset()

func (*AddConnectionEdit) String added in v0.9.2

func (x *AddConnectionEdit) String() string

type AddDocumentationEdit added in v0.9.2

type AddDocumentationEdit struct {

	// Fully qualified name of the documented declaration.
	Target string `protobuf:"bytes,1,opt,name=target,proto3" json:"target,omitempty"`
	// Documentation body, as plain text that Documentation::body reads back
	// exactly, whitespace included; it may not contain `*/` or a carriage return.
	Body string `protobuf:"bytes,2,opt,name=body,proto3" json:"body,omitempty"`
	// Optional declared name of the documentation.
	Name string `protobuf:"bytes,3,opt,name=name,proto3" json:"name,omitempty"`
	// Optional locale, written as `locale "..."`.
	Locale string `protobuf:"bytes,4,opt,name=locale,proto3" json:"locale,omitempty"`
	// Rewrite the one documentation target already owns instead of refusing.
	Replace bool `protobuf:"varint,5,opt,name=replace,proto3" json:"replace,omitempty"`
	// contains filtered or unexported fields
}

AddDocumentationEdit adds a `doc /* ... */` as the first body member of an existing declaration, opening a body for one ended by `;`.

func (*AddDocumentationEdit) Descriptor deprecated added in v0.9.2

func (*AddDocumentationEdit) Descriptor() ([]byte, []int)

Deprecated: Use AddDocumentationEdit.ProtoReflect.Descriptor instead.

func (*AddDocumentationEdit) GetBody added in v0.9.2

func (x *AddDocumentationEdit) GetBody() string

func (*AddDocumentationEdit) GetLocale added in v0.9.2

func (x *AddDocumentationEdit) GetLocale() string

func (*AddDocumentationEdit) GetName added in v0.9.2

func (x *AddDocumentationEdit) GetName() string

func (*AddDocumentationEdit) GetReplace added in v0.9.2

func (x *AddDocumentationEdit) GetReplace() bool

func (*AddDocumentationEdit) GetTarget added in v0.9.2

func (x *AddDocumentationEdit) GetTarget() string

func (*AddDocumentationEdit) ProtoMessage added in v0.9.2

func (*AddDocumentationEdit) ProtoMessage()

func (*AddDocumentationEdit) ProtoReflect added in v0.9.2

func (x *AddDocumentationEdit) ProtoReflect() protoreflect.Message

func (*AddDocumentationEdit) Reset added in v0.9.2

func (x *AddDocumentationEdit) Reset()

func (*AddDocumentationEdit) String added in v0.9.2

func (x *AddDocumentationEdit) String() string

type AddImportEdit added in v0.9.2

type AddImportEdit struct {

	// Namespace FQN receiving the import; empty means the document root.
	Owner string `protobuf:"bytes,1,opt,name=owner,proto3" json:"owner,omitempty"`
	// "private", "public" or "protected"; empty writes "private".
	Visibility string `protobuf:"bytes,2,opt,name=visibility,proto3" json:"visibility,omitempty"`
	// Imported qualified name, optionally rooted "$::", suffixed "::*" for a namespace import.
	Target string `protobuf:"bytes,3,opt,name=target,proto3" json:"target,omitempty"`
	// Write "::**" to import recursively.
	IsRecursive bool `protobuf:"varint,4,opt,name=is_recursive,json=isRecursive,proto3" json:"is_recursive,omitempty"`
	// Write "import all" to import non-public members too.
	IsImportAll bool `protobuf:"varint,5,opt,name=is_import_all,json=isImportAll,proto3" json:"is_import_all,omitempty"`
	// Filter conditions, each written as "[<expression>]".
	Filters []string `protobuf:"bytes,6,rep,name=filters,proto3" json:"filters,omitempty"`
	// contains filtered or unexported fields
}

AddImportEdit inserts an import declaration into a namespace body or the document root.

func (*AddImportEdit) Descriptor deprecated added in v0.9.2

func (*AddImportEdit) Descriptor() ([]byte, []int)

Deprecated: Use AddImportEdit.ProtoReflect.Descriptor instead.

func (*AddImportEdit) GetFilters added in v0.9.2

func (x *AddImportEdit) GetFilters() []string

func (*AddImportEdit) GetIsImportAll added in v0.9.2

func (x *AddImportEdit) GetIsImportAll() bool

func (*AddImportEdit) GetIsRecursive added in v0.9.2

func (x *AddImportEdit) GetIsRecursive() bool

func (*AddImportEdit) GetOwner added in v0.9.2

func (x *AddImportEdit) GetOwner() string

func (*AddImportEdit) GetTarget added in v0.9.2

func (x *AddImportEdit) GetTarget() string

func (*AddImportEdit) GetVisibility added in v0.9.2

func (x *AddImportEdit) GetVisibility() string

func (*AddImportEdit) ProtoMessage added in v0.9.2

func (*AddImportEdit) ProtoMessage()

func (*AddImportEdit) ProtoReflect added in v0.9.2

func (x *AddImportEdit) ProtoReflect() protoreflect.Message

func (*AddImportEdit) Reset added in v0.9.2

func (x *AddImportEdit) Reset()

func (*AddImportEdit) String added in v0.9.2

func (x *AddImportEdit) String() string

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"`
	// Whether the declaration is abstract.
	IsAbstract bool `protobuf:"varint,8,opt,name=is_abstract,json=isAbstract,proto3" json:"is_abstract,omitempty"`
	// Optional redefinition targets for a usage.
	Redefines []string `protobuf:"bytes,9,rep,name=redefines,proto3" json:"redefines,omitempty"`
	// Whether the value uses the default assignment keyword.
	IsDefault bool `protobuf:"varint,10,opt,name=is_default,json=isDefault,proto3" json:"is_default,omitempty"`
	// Optional usage direction: "in", "out" or "inout".
	Direction string `protobuf:"bytes,11,opt,name=direction,proto3" json:"direction,omitempty"`
	// Metadata types annotating the new member.
	MetadataPrefixes []string `protobuf:"bytes,14,rep,name=metadata_prefixes,json=metadataPrefixes,proto3" json:"metadata_prefixes,omitempty"`
	// Optional documentation body, as plain text, written as the declaration's
	// first body member `doc /* ... */` that reads back as exactly this text.
	Doc string `protobuf:"bytes,12,opt,name=doc,proto3" json:"doc,omitempty"`
	// Optional body expression. For constraints, it is the condition; for calc,
	// case, analysis, verification, and use-case kinds, it is the result
	// expression. It is written inside `{ ... }`, distinct from value, which
	// writes `= ...`.
	BodyExpression string `protobuf:"bytes,13,opt,name=body_expression,json=bodyExpression,proto3" json:"body_expression,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) GetBodyExpression added in v0.9.2

func (x *AddMemberEdit) GetBodyExpression() string

func (*AddMemberEdit) GetDirection added in v0.9.2

func (x *AddMemberEdit) GetDirection() string

func (*AddMemberEdit) GetDoc added in v0.9.2

func (x *AddMemberEdit) GetDoc() string

func (*AddMemberEdit) GetIsAbstract added in v0.9.2

func (x *AddMemberEdit) GetIsAbstract() bool

func (*AddMemberEdit) GetIsDefault added in v0.9.2

func (x *AddMemberEdit) GetIsDefault() bool

func (*AddMemberEdit) GetKind added in v0.2.0

func (x *AddMemberEdit) GetKind() string

func (*AddMemberEdit) GetMetadataPrefixes added in v0.9.2

func (x *AddMemberEdit) GetMetadataPrefixes() []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) GetRedefines added in v0.9.2

func (x *AddMemberEdit) GetRedefines() []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 AddMetadataEdit added in v0.9.2

type AddMetadataEdit struct {

	// Namespace or body receiving the metadata usage.
	Owner string `protobuf:"bytes,1,opt,name=owner,proto3" json:"owner,omitempty"`
	// Metadata definition reference.
	MetadataType string `protobuf:"bytes,2,opt,name=metadata_type,json=metadataType,proto3" json:"metadata_type,omitempty"`
	// Optional declared name for the usage.
	Name string `protobuf:"bytes,3,opt,name=name,proto3" json:"name,omitempty"`
	// Optional references the metadata usage is about.
	About []string `protobuf:"bytes,4,rep,name=about,proto3" json:"about,omitempty"`
	// Feature values in written order.
	Values []*MetadataFeatureValue `protobuf:"bytes,5,rep,name=values,proto3" json:"values,omitempty"`
	// Write shorthand `@` notation instead of `metadata`.
	Shorthand bool `protobuf:"varint,6,opt,name=shorthand,proto3" json:"shorthand,omitempty"`
	// contains filtered or unexported fields
}

AddMetadataEdit inserts a metadata usage.

func (*AddMetadataEdit) Descriptor deprecated added in v0.9.2

func (*AddMetadataEdit) Descriptor() ([]byte, []int)

Deprecated: Use AddMetadataEdit.ProtoReflect.Descriptor instead.

func (*AddMetadataEdit) GetAbout added in v0.9.2

func (x *AddMetadataEdit) GetAbout() []string

func (*AddMetadataEdit) GetMetadataType added in v0.9.2

func (x *AddMetadataEdit) GetMetadataType() string

func (*AddMetadataEdit) GetName added in v0.9.2

func (x *AddMetadataEdit) GetName() string

func (*AddMetadataEdit) GetOwner added in v0.9.2

func (x *AddMetadataEdit) GetOwner() string

func (*AddMetadataEdit) GetShorthand added in v0.9.2

func (x *AddMetadataEdit) GetShorthand() bool

func (*AddMetadataEdit) GetValues added in v0.9.2

func (x *AddMetadataEdit) GetValues() []*MetadataFeatureValue

func (*AddMetadataEdit) ProtoMessage added in v0.9.2

func (*AddMetadataEdit) ProtoMessage()

func (*AddMetadataEdit) ProtoReflect added in v0.9.2

func (x *AddMetadataEdit) ProtoReflect() protoreflect.Message

func (*AddMetadataEdit) Reset added in v0.9.2

func (x *AddMetadataEdit) Reset()

func (*AddMetadataEdit) String added in v0.9.2

func (x *AddMetadataEdit) String() string

type AddMetadataPrefixEdit added in v0.9.2

type AddMetadataPrefixEdit struct {

	// Declaration to annotate, by its qualified name.
	Target string `protobuf:"bytes,1,opt,name=target,proto3" json:"target,omitempty"`
	// Metadata definition reference to add as a prefix.
	MetadataType string `protobuf:"bytes,2,opt,name=metadata_type,json=metadataType,proto3" json:"metadata_type,omitempty"`
	// contains filtered or unexported fields
}

AddMetadataPrefixEdit annotates an existing declaration with prefix metadata.

func (*AddMetadataPrefixEdit) Descriptor deprecated added in v0.9.2

func (*AddMetadataPrefixEdit) Descriptor() ([]byte, []int)

Deprecated: Use AddMetadataPrefixEdit.ProtoReflect.Descriptor instead.

func (*AddMetadataPrefixEdit) GetMetadataType added in v0.9.2

func (x *AddMetadataPrefixEdit) GetMetadataType() string

func (*AddMetadataPrefixEdit) GetTarget added in v0.9.2

func (x *AddMetadataPrefixEdit) GetTarget() string

func (*AddMetadataPrefixEdit) ProtoMessage added in v0.9.2

func (*AddMetadataPrefixEdit) ProtoMessage()

func (*AddMetadataPrefixEdit) ProtoReflect added in v0.9.2

func (x *AddMetadataPrefixEdit) ProtoReflect() protoreflect.Message

func (*AddMetadataPrefixEdit) Reset added in v0.9.2

func (x *AddMetadataPrefixEdit) Reset()

func (*AddMetadataPrefixEdit) String added in v0.9.2

func (x *AddMetadataPrefixEdit) String() string

type AddNoteEdit added in v0.9.2

type AddNoteEdit struct {

	// Fully qualified name of the declaration the note precedes.
	Target string `protobuf:"bytes,1,opt,name=target,proto3" json:"target,omitempty"`
	// Note text, one line: it may not contain a line break.
	Text string `protobuf:"bytes,2,opt,name=text,proto3" json:"text,omitempty"`
	// contains filtered or unexported fields
}

AddNoteEdit writes the line note `// text` on its own line above a declaration. A note is lexical trivia, not a model element.

func (*AddNoteEdit) Descriptor deprecated added in v0.9.2

func (*AddNoteEdit) Descriptor() ([]byte, []int)

Deprecated: Use AddNoteEdit.ProtoReflect.Descriptor instead.

func (*AddNoteEdit) GetTarget added in v0.9.2

func (x *AddNoteEdit) GetTarget() string

func (*AddNoteEdit) GetText added in v0.9.2

func (x *AddNoteEdit) GetText() string

func (*AddNoteEdit) ProtoMessage added in v0.9.2

func (*AddNoteEdit) ProtoMessage()

func (*AddNoteEdit) ProtoReflect added in v0.9.2

func (x *AddNoteEdit) ProtoReflect() protoreflect.Message

func (*AddNoteEdit) Reset added in v0.9.2

func (x *AddNoteEdit) Reset()

func (*AddNoteEdit) String added in v0.9.2

func (x *AddNoteEdit) String() string

type AddRequirementConstraintEdit added in v0.9.2

type AddRequirementConstraintEdit struct {

	// Requirement-like namespace receiving the constraint.
	Owner string `protobuf:"bytes,1,opt,name=owner,proto3" json:"owner,omitempty"`
	// Constraint kind: "require" or "assume".
	Kind string `protobuf:"bytes,2,opt,name=kind,proto3" json:"kind,omitempty"`
	// Constraint expression, written as notation.
	Expression string `protobuf:"bytes,3,opt,name=expression,proto3" json:"expression,omitempty"`
	// Optional declared name.
	Name string `protobuf:"bytes,4,opt,name=name,proto3" json:"name,omitempty"`
	// contains filtered or unexported fields
}

AddRequirementConstraintEdit inserts a require or assume constraint.

func (*AddRequirementConstraintEdit) Descriptor deprecated added in v0.9.2

func (*AddRequirementConstraintEdit) Descriptor() ([]byte, []int)

Deprecated: Use AddRequirementConstraintEdit.ProtoReflect.Descriptor instead.

func (*AddRequirementConstraintEdit) GetExpression added in v0.9.2

func (x *AddRequirementConstraintEdit) GetExpression() string

func (*AddRequirementConstraintEdit) GetKind added in v0.9.2

func (x *AddRequirementConstraintEdit) GetKind() string

func (*AddRequirementConstraintEdit) GetName added in v0.9.2

func (x *AddRequirementConstraintEdit) GetName() string

func (*AddRequirementConstraintEdit) GetOwner added in v0.9.2

func (x *AddRequirementConstraintEdit) GetOwner() string

func (*AddRequirementConstraintEdit) ProtoMessage added in v0.9.2

func (*AddRequirementConstraintEdit) ProtoMessage()

func (*AddRequirementConstraintEdit) ProtoReflect added in v0.9.2

func (*AddRequirementConstraintEdit) Reset added in v0.9.2

func (x *AddRequirementConstraintEdit) Reset()

func (*AddRequirementConstraintEdit) String added in v0.9.2

type AddSatisfyEdit added in v0.9.2

type AddSatisfyEdit struct {

	// Body receiving the usage.
	Owner string `protobuf:"bytes,1,opt,name=owner,proto3" json:"owner,omitempty"`
	// Requirement feature reference.
	Requirement string `protobuf:"bytes,2,opt,name=requirement,proto3" json:"requirement,omitempty"`
	// Optional satisfying feature reference.
	SatisfyingFeature string `protobuf:"bytes,3,opt,name=satisfying_feature,json=satisfyingFeature,proto3" json:"satisfying_feature,omitempty"`
	// Whether the usage is asserted.
	IsAsserted bool `protobuf:"varint,4,opt,name=is_asserted,json=isAsserted,proto3" json:"is_asserted,omitempty"`
	// Whether the usage is negated.
	IsNegated bool `protobuf:"varint,5,opt,name=is_negated,json=isNegated,proto3" json:"is_negated,omitempty"`
	// contains filtered or unexported fields
}

AddSatisfyEdit inserts a satisfy usage into any package or body that admits behavior usages.

func (*AddSatisfyEdit) Descriptor deprecated added in v0.9.2

func (*AddSatisfyEdit) Descriptor() ([]byte, []int)

Deprecated: Use AddSatisfyEdit.ProtoReflect.Descriptor instead.

func (*AddSatisfyEdit) GetIsAsserted added in v0.9.2

func (x *AddSatisfyEdit) GetIsAsserted() bool

func (*AddSatisfyEdit) GetIsNegated added in v0.9.2

func (x *AddSatisfyEdit) GetIsNegated() bool

func (*AddSatisfyEdit) GetOwner added in v0.9.2

func (x *AddSatisfyEdit) GetOwner() string

func (*AddSatisfyEdit) GetRequirement added in v0.9.2

func (x *AddSatisfyEdit) GetRequirement() string

func (*AddSatisfyEdit) GetSatisfyingFeature added in v0.9.2

func (x *AddSatisfyEdit) GetSatisfyingFeature() string

func (*AddSatisfyEdit) ProtoMessage added in v0.9.2

func (*AddSatisfyEdit) ProtoMessage()

func (*AddSatisfyEdit) ProtoReflect added in v0.9.2

func (x *AddSatisfyEdit) ProtoReflect() protoreflect.Message

func (*AddSatisfyEdit) Reset added in v0.9.2

func (x *AddSatisfyEdit) Reset()

func (*AddSatisfyEdit) String added in v0.9.2

func (x *AddSatisfyEdit) String() string

type AddSequenceEdit added in v0.9.2

type AddSequenceEdit struct {

	// Action body receiving the member.
	Owner string `protobuf:"bytes,1,opt,name=owner,proto3" json:"owner,omitempty"`
	// Sequence keyword: "first", "then", "if", "else", or empty for a plain member.
	// These action-body forms follow SysML.xtext:1607 ActionBodyParameter, 1442 AcceptNode,
	// 1499 SendNode, 1535 AssignmentNode, 1596 IfNode, 1615 WhileLoopNode, 1624 ForLoopNode, 1641 TerminateNode; formal/2026-03-02.
	Keyword string `protobuf:"bytes,2,opt,name=keyword,proto3" json:"keyword,omitempty"`
	// Node a bare `first <ref>;`/`then <ref>;` names; empty when the `then`
	// declares a member instead.
	Ref string `protobuf:"bytes,3,opt,name=ref,proto3" json:"ref,omitempty"`
	// Body item kind, including action, perform action, state, merge, decide,
	// join, fork, accept, send, assign, if, while, loop, for or terminate.
	MemberKind string `protobuf:"bytes,4,opt,name=member_kind,json=memberKind,proto3" json:"member_kind,omitempty"`
	// Optional declared name of the `then`-declared member.
	MemberName string `protobuf:"bytes,5,opt,name=member_name,json=memberName,proto3" json:"member_name,omitempty"`
	// Optional typing target of the `then`-declared member.
	Type string `protobuf:"bytes,6,opt,name=type,proto3" json:"type,omitempty"`
	// Optional name of the body member the new member follows.
	After string `protobuf:"bytes,7,opt,name=after,proto3" json:"after,omitempty"`
	// Condition or guard expression for if and while.
	Condition string `protobuf:"bytes,8,opt,name=condition,proto3" json:"condition,omitempty"`
	// Payload, assigned value, collection or terminated occurrence.
	Value string `protobuf:"bytes,9,opt,name=value,proto3" json:"value,omitempty"`
	// Assigned feature or send receiver.
	Target string `protobuf:"bytes,10,opt,name=target,proto3" json:"target,omitempty"`
	// Port expression for accept or send.
	Via string `protobuf:"bytes,11,opt,name=via,proto3" json:"via,omitempty"`
	// Optional loop termination condition.
	Until string `protobuf:"bytes,12,opt,name=until,proto3" json:"until,omitempty"`
	// Nested action-body items.
	Body []*AddSequenceEdit `protobuf:"bytes,13,rep,name=body,proto3" json:"body,omitempty"`
	// Nested items of the if's else branch; an empty list means no else branch.
	// An explicit empty `else { }` is not authorable; it performs nothing and is equivalent to omitting it.
	ElseBody []*AddSequenceEdit `protobuf:"bytes,14,rep,name=else_body,json=elseBody,proto3" json:"else_body,omitempty"`
	// Source-end multiplicity, written as bracketed notation, only with "then".
	// SysML.xtext:878, 887, 1703 TargetSuccession, 1708 GuardedTargetSuccession, 1714 DefaultTargetSuccession; formal/2026-03-02.
	Multiplicity string `protobuf:"bytes,15,opt,name=multiplicity,proto3" json:"multiplicity,omitempty"`
	// Payload name for accept or loop variable for for.
	Parameter string `protobuf:"bytes,16,opt,name=parameter,proto3" json:"parameter,omitempty"`
	// contains filtered or unexported fields
}

AddSequenceEdit inserts a `first` or `then` sequencing member into an action body.

func (*AddSequenceEdit) Descriptor deprecated added in v0.9.2

func (*AddSequenceEdit) Descriptor() ([]byte, []int)

Deprecated: Use AddSequenceEdit.ProtoReflect.Descriptor instead.

func (*AddSequenceEdit) GetAfter added in v0.9.2

func (x *AddSequenceEdit) GetAfter() string

func (*AddSequenceEdit) GetBody added in v0.9.2

func (x *AddSequenceEdit) GetBody() []*AddSequenceEdit

func (*AddSequenceEdit) GetCondition added in v0.9.2

func (x *AddSequenceEdit) GetCondition() string

func (*AddSequenceEdit) GetElseBody added in v0.9.2

func (x *AddSequenceEdit) GetElseBody() []*AddSequenceEdit

func (*AddSequenceEdit) GetKeyword added in v0.9.2

func (x *AddSequenceEdit) GetKeyword() string

func (*AddSequenceEdit) GetMemberKind added in v0.9.2

func (x *AddSequenceEdit) GetMemberKind() string

func (*AddSequenceEdit) GetMemberName added in v0.9.2

func (x *AddSequenceEdit) GetMemberName() string

func (*AddSequenceEdit) GetMultiplicity added in v0.9.2

func (x *AddSequenceEdit) GetMultiplicity() string

func (*AddSequenceEdit) GetOwner added in v0.9.2

func (x *AddSequenceEdit) GetOwner() string

func (*AddSequenceEdit) GetParameter added in v0.9.2

func (x *AddSequenceEdit) GetParameter() string

func (*AddSequenceEdit) GetRef added in v0.9.2

func (x *AddSequenceEdit) GetRef() string

func (*AddSequenceEdit) GetTarget added in v0.9.2

func (x *AddSequenceEdit) GetTarget() string

func (*AddSequenceEdit) GetType added in v0.9.2

func (x *AddSequenceEdit) GetType() string

func (*AddSequenceEdit) GetUntil added in v0.9.2

func (x *AddSequenceEdit) GetUntil() string

func (*AddSequenceEdit) GetValue added in v0.9.2

func (x *AddSequenceEdit) GetValue() string

func (*AddSequenceEdit) GetVia added in v0.9.2

func (x *AddSequenceEdit) GetVia() string

func (*AddSequenceEdit) ProtoMessage added in v0.9.2

func (*AddSequenceEdit) ProtoMessage()

func (*AddSequenceEdit) ProtoReflect added in v0.9.2

func (x *AddSequenceEdit) ProtoReflect() protoreflect.Message

func (*AddSequenceEdit) Reset added in v0.9.2

func (x *AddSequenceEdit) Reset()

func (*AddSequenceEdit) String added in v0.9.2

func (x *AddSequenceEdit) String() string

type AddTransitionEdit added in v0.9.2

type AddTransitionEdit struct {

	// State body receiving the transition.
	Owner string `protobuf:"bytes,1,opt,name=owner,proto3" json:"owner,omitempty"`
	// Optional transition name.
	Name string `protobuf:"bytes,2,opt,name=name,proto3" json:"name,omitempty"`
	// Source feature reference; empty only for an entry transition.
	Source string `protobuf:"bytes,3,opt,name=source,proto3" json:"source,omitempty"`
	// Target feature reference.
	Target string `protobuf:"bytes,4,opt,name=target,proto3" json:"target,omitempty"`
	// Optional text after `accept`.
	Trigger string `protobuf:"bytes,5,opt,name=trigger,proto3" json:"trigger,omitempty"`
	// Optional boolean expression after `if`.
	Guard string `protobuf:"bytes,6,opt,name=guard,proto3" json:"guard,omitempty"`
	// Optional effect text after `do`.
	Effect string `protobuf:"bytes,7,opt,name=effect,proto3" json:"effect,omitempty"`
	// Write `entry; then <target>;` instead of a regular transition.
	Initial bool `protobuf:"varint,8,opt,name=initial,proto3" json:"initial,omitempty"`
	// contains filtered or unexported fields
}

AddTransitionEdit inserts a transition usage, or an entry transition, into a state body.

func (*AddTransitionEdit) Descriptor deprecated added in v0.9.2

func (*AddTransitionEdit) Descriptor() ([]byte, []int)

Deprecated: Use AddTransitionEdit.ProtoReflect.Descriptor instead.

func (*AddTransitionEdit) GetEffect added in v0.9.2

func (x *AddTransitionEdit) GetEffect() string

func (*AddTransitionEdit) GetGuard added in v0.9.2

func (x *AddTransitionEdit) GetGuard() string

func (*AddTransitionEdit) GetInitial added in v0.9.2

func (x *AddTransitionEdit) GetInitial() bool

func (*AddTransitionEdit) GetName added in v0.9.2

func (x *AddTransitionEdit) GetName() string

func (*AddTransitionEdit) GetOwner added in v0.9.2

func (x *AddTransitionEdit) GetOwner() string

func (*AddTransitionEdit) GetSource added in v0.9.2

func (x *AddTransitionEdit) GetSource() string

func (*AddTransitionEdit) GetTarget added in v0.9.2

func (x *AddTransitionEdit) GetTarget() string

func (*AddTransitionEdit) GetTrigger added in v0.9.2

func (x *AddTransitionEdit) GetTrigger() string

func (*AddTransitionEdit) ProtoMessage added in v0.9.2

func (*AddTransitionEdit) ProtoMessage()

func (*AddTransitionEdit) ProtoReflect added in v0.9.2

func (x *AddTransitionEdit) ProtoReflect() protoreflect.Message

func (*AddTransitionEdit) Reset added in v0.9.2

func (x *AddTransitionEdit) Reset()

func (*AddTransitionEdit) String added in v0.9.2

func (x *AddTransitionEdit) String() string

type AddVerifyEdit added in v0.9.2

type AddVerifyEdit struct {

	// Verification case or objective receiving the verification.
	Owner string `protobuf:"bytes,1,opt,name=owner,proto3" json:"owner,omitempty"`
	// Requirement feature reference.
	Requirement string `protobuf:"bytes,2,opt,name=requirement,proto3" json:"requirement,omitempty"`
	// contains filtered or unexported fields
}

AddVerifyEdit inserts a requirement verification into a verification case.

func (*AddVerifyEdit) Descriptor deprecated added in v0.9.2

func (*AddVerifyEdit) Descriptor() ([]byte, []int)

Deprecated: Use AddVerifyEdit.ProtoReflect.Descriptor instead.

func (*AddVerifyEdit) GetOwner added in v0.9.2

func (x *AddVerifyEdit) GetOwner() string

func (*AddVerifyEdit) GetRequirement added in v0.9.2

func (x *AddVerifyEdit) GetRequirement() string

func (*AddVerifyEdit) ProtoMessage added in v0.9.2

func (*AddVerifyEdit) ProtoMessage()

func (*AddVerifyEdit) ProtoReflect added in v0.9.2

func (x *AddVerifyEdit) ProtoReflect() protoreflect.Message

func (*AddVerifyEdit) Reset added in v0.9.2

func (x *AddVerifyEdit) Reset()

func (*AddVerifyEdit) String added in v0.9.2

func (x *AddVerifyEdit) 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
	// The document the bytes are in, named as the parse request named it and as
	// ApplyEditsResponse.documents lists it. Set for a single-document model too.
	Document string `protobuf:"bytes,7,opt,name=document,proto3" json:"document,omitempty"`
	// 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) GetDocument added in v0.9.0

func (x *AppliedEdit) GetDocument() string

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 a ParseFile or ParseSources 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"`
	// The document whose declarations the operations target, named as the parse
	// request named it; empty names the model's first document, which is the
	// only one of a ParseFile model. An operation targeting a declaration of
	// another document is refused as an unknown target, naming that document. A
	// name no document of the model has fails the call as an invalid argument.
	Document string `protobuf:"bytes,3,opt,name=document,proto3" json:"document,omitempty"`
	// Whether the client reads the response's `documents`. A model of several documents is
	// edited only when set; unset, such a model is refused as a failed precondition, as before.
	AcceptDocuments bool `protobuf:"varint,4,opt,name=accept_documents,json=acceptDocuments,proto3" json:"accept_documents,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. A model of several documents (ParseSources) is edited as one when the request sets `accept_documents`: the operations target declarations of the document named by `document`, and a rename or cascade delete follows references into every other document of the model, rewriting those too. `document` and `accept_documents` are advertised as the "edit_documents" capability: a service without it edits a model of one document alone and answers `content` alone, so a client checks it before naming a document or reading `documents`.

func (*ApplyEditsRequest) Descriptor deprecated

func (*ApplyEditsRequest) Descriptor() ([]byte, []int)

Deprecated: Use ApplyEditsRequest.ProtoReflect.Descriptor instead.

func (*ApplyEditsRequest) GetAcceptDocuments added in v0.9.0

func (x *ApplyEditsRequest) GetAcceptDocuments() bool

func (*ApplyEditsRequest) GetDocument added in v0.9.0

func (x *ApplyEditsRequest) GetDocument() string

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 of a single-document model, byte-identical to the
	// source outside the edited spans. Empty when the edits were refused, so a
	// refusal never writes a file, and empty for a model of several documents,
	// whose edited notation is in `documents` alone: a client that reads
	// `content` alone was written for one document and must not write one
	// document's notation over another's. `documents` carries the same notation
	// for a single-document model, so a client needs one code path.
	Content string `protobuf:"bytes,1,opt,name=content,proto3" json:"content,omitempty"`
	// What each operation changed, grouped by document in the order `documents`
	// lists them and in request order within a document.
	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 and documents are 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. A diagnostic's span
	// names the document it is in.
	Diagnostics []*Diagnostic `protobuf:"bytes,5,rep,name=diagnostics,proto3" json:"diagnostics,omitempty"`
	// Where the references to a declaration whose rename, delete or move was
	// refused are made: the FQN of each referring namespace, suffixed with its
	// document in parentheses when that is not the document being edited.
	// `referrers` carries the same list with the document as a field of its own.
	ReferringElements []string `protobuf:"bytes,6,rep,name=referring_elements,json=referringElements,proto3" json:"referring_elements,omitempty"`
	// The edited notation of every document the edits rewrote, named as the
	// parse request named it: the document being edited first, then the others
	// in name order. A document of several the edits left as parsed is not
	// listed; the one document of a single-document model always is. Empty when
	// the edits were refused.
	Documents []*EditedDocument `protobuf:"bytes,7,rep,name=documents,proto3" json:"documents,omitempty"`
	// The declarations referring to the target of a refused rename, delete or
	// move, each with the document declaring it, in document then name order.
	// Empty when `referring_elements` is.
	Referrers []*Referrer `protobuf:"bytes,8,rep,name=referrers,proto3" json:"referrers,omitempty"`
	// contains filtered or unexported fields
}

ApplyEditsResponse carries the edited source, or says why nothing was edited. The edited notation is in `documents`, one entry per document the edits rewrote; `content` repeats it for a single-document model only.

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) GetDocuments added in v0.9.0

func (x *ApplyEditsResponse) GetDocuments() []*EditedDocument

func (*ApplyEditsResponse) GetError

func (x *ApplyEditsResponse) GetError() string

func (*ApplyEditsResponse) GetFailure

func (x *ApplyEditsResponse) GetFailure() EditFailure

func (*ApplyEditsResponse) GetReferrers added in v0.9.0

func (x *ApplyEditsResponse) GetReferrers() []*Referrer

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) Descriptor() ([]byte, []int)

Deprecated: Use Array.ProtoReflect.Descriptor instead.

func (*Array) GetDimensions added in v0.6.0

func (x *Array) GetDimensions() []int64

func (*Array) GetElements added in v0.6.0

func (x *Array) GetElements() []*Value

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

func (*Array) Reset added in v0.6.0

func (x *Array) Reset()

func (*Array) String added in v0.6.0

func (x *Array) String() string

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) Descriptor() ([]byte, []int)

Deprecated: Use Bound.ProtoReflect.Descriptor instead.

func (*Bound) GetLimit added in v0.8.0

func (x *Bound) GetLimit() int64

func (*Bound) GetName added in v0.8.0

func (x *Bound) GetName() string

func (*Bound) GetReached added in v0.8.0

func (x *Bound) GetReached() bool

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

func (*Bound) Reset added in v0.8.0

func (x *Bound) Reset()

func (*Bound) String added in v0.8.0

func (x *Bound) String() string

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) Descriptor() ([]byte, []int)

Deprecated: Use Complex.ProtoReflect.Descriptor instead.

func (*Complex) GetImaginary added in v0.5.0

func (x *Complex) GetImaginary() float64

func (*Complex) GetReal added in v0.5.0

func (x *Complex) GetReal() float64

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

func (*Complex) Reset added in v0.5.0

func (x *Complex) Reset()

func (*Complex) String added in v0.5.0

func (x *Complex) String() string

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) Enum

func (CompositeOperator) EnumDescriptor deprecated

func (CompositeOperator) EnumDescriptor() ([]byte, []int)

Deprecated: Use CompositeOperator.Descriptor instead.

func (CompositeOperator) Number

func (CompositeOperator) String

func (x CompositeOperator) String() string

func (CompositeOperator) Type

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", "rdf", "api-json" or "json".
	// 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.
	// A SysML v1 model ("xmi", "uml" or "mdzip", named or inferred from the
	// extension) is INVALID_ARGUMENT, pointing at Migrate: a v1 model is
	// migrated, element by element and reported, not converted.
	FromFormat string `protobuf:"bytes,3,opt,name=from_format,json=fromFormat,proto3" json:"from_format,omitempty"`
	// Format to write, named as in from_format; the v1 names are refused, since
	// a v2 model has no v1 form. 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"`
	// How derived element ids are spelled when notation is written as a graph
	// ("ttl" or "api-json"), as `sysml -id` does: "qualified" (the default, each
	// derived from its qualified name) or "uuid" (name-based uuids under each root
	// package, the library convention). Declared and normative ids are unchanged.
	// Empty is "qualified"; any other value, or one given for another direction,
	// is INVALID_ARGUMENT.
	IdForm string `protobuf:"bytes,7,opt,name=id_form,json=idForm,proto3" json:"id_form,omitempty"`
	// For a model_hash, the documents whose elements are written, named as the
	// parse named them; the model's other documents are read for the references
	// into them, which keep the ids those elements are written under when their
	// own documents are converted. Empty writes every document. A name the model
	// does not hold, or documents for a file_path or content, is
	// INVALID_ARGUMENT. Reported as the "convert_documents" capability.
	Documents []string `protobuf:"bytes,8,rep,name=documents,proto3" json:"documents,omitempty"`
	// For api-json from notation: write the compact document
	// (api-json-compact/1) in place of the standard element array. It is one
	// object holding a table of element ids, written once, and the elements with
	// every reference spelled as an index into it, without indentation; see
	// docs/reference/wire-contract.md for the shape. Refused for any other
	// target. Reported as the "convert_compact" capability.
	Compact bool `protobuf:"varint,9,opt,name=compact,proto3" json:"compact,omitempty"`
	// With compact: leave out every derived property of the metamodel (the
	// ones the owned properties already state), except those named in
	// keep_derived. Refused without compact.
	OmitDerived bool `protobuf:"varint,10,opt,name=omit_derived,json=omitDerived,proto3" json:"omit_derived,omitempty"`
	// With omit_derived: the derived properties still written, named as in the
	// element form ("owner", "qualifiedName"). A name that is not a derived
	// property of the metamodel is INVALID_ARGUMENT. Refused without omit_derived.
	KeepDerived []string `protobuf:"bytes,11,rep,name=keep_derived,json=keepDerived,proto3" json:"keep_derived,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) GetCompact added in v0.10.0

func (x *ConvertRequest) GetCompact() bool

func (*ConvertRequest) GetContent

func (x *ConvertRequest) GetContent() string

func (*ConvertRequest) GetDocuments added in v0.10.0

func (x *ConvertRequest) GetDocuments() []string

func (*ConvertRequest) GetFilePath

func (x *ConvertRequest) GetFilePath() string

func (*ConvertRequest) GetFromFormat

func (x *ConvertRequest) GetFromFormat() string

func (*ConvertRequest) GetIdForm added in v0.9.2

func (x *ConvertRequest) GetIdForm() string

func (*ConvertRequest) GetKeepDerived added in v0.10.0

func (x *ConvertRequest) GetKeepDerived() []string

func (*ConvertRequest) GetModelHash

func (x *ConvertRequest) GetModelHash() string

func (*ConvertRequest) GetOmitDerived added in v0.10.0

func (x *ConvertRequest) GetOmitDerived() bool

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 or the API's JSON element form, 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 DocumentEvent added in v0.9.0

type DocumentEvent struct {

	// "accept", "send", "transition", "entry", "exit", "do", "choice", "guard" or "terminate".
	Kind string `protobuf:"bytes,1,opt,name=kind,proto3" json:"kind,omitempty"`
	// The clock's instant when the record was made: a quantity in the clock's
	// unit when the library reduces one, else a bare real of clock units.
	Time *DocumentValue `protobuf:"bytes,2,opt,name=time,proto3" json:"time,omitempty"`
	// The object whose behavior made the record; unset for the run's own
	// records (a due-order choice, a message posted from outside the model).
	Object *DocumentObject `protobuf:"bytes,3,opt,name=object,proto3" json:"object,omitempty"`
	// The behavior the record is about, by the name the object exhibits it
	// under, else its declared name; empty for the run's own records.
	Machine string `protobuf:"bytes,4,opt,name=machine,proto3" json:"machine,omitempty"`
	// The state entered, exited or stepped by an entry, exit or do record.
	State string `protobuf:"bytes,5,opt,name=state,proto3" json:"state,omitempty"`
	// A fired transition's source and target states.
	From string `protobuf:"bytes,6,opt,name=from,proto3" json:"from,omitempty"`
	To   string `protobuf:"bytes,7,opt,name=to,proto3" json:"to,omitempty"`
	// The object a send was addressed to; unset for every other kind and a
	// send addressed to no object.
	Target *DocumentObject `protobuf:"bytes,8,opt,name=target,proto3" json:"target,omitempty"`
	// The signal or event accepted or sent, or the trigger a transition fired on.
	Event string `protobuf:"bytes,9,opt,name=event,proto3" json:"event,omitempty"`
	// An accept's payload, one `name = value` entry per parameter in name order.
	Payload []string `protobuf:"bytes,10,rep,name=payload,proto3" json:"payload,omitempty"`
	// A choice's alternatives, in the order they were offered, and the one taken.
	Alternatives []string `protobuf:"bytes,11,rep,name=alternatives,proto3" json:"alternatives,omitempty"`
	Taken        string   `protobuf:"bytes,12,opt,name=taken,proto3" json:"taken,omitempty"`
	// The line the trace prints for the record.
	Text string `protobuf:"bytes,13,opt,name=text,proto3" json:"text,omitempty"`
	// contains filtered or unexported fields
}

DocumentEvent is one row an `Events` query answered: one record of the session's trace, in the order the run made it.

func (*DocumentEvent) Descriptor deprecated added in v0.9.0

func (*DocumentEvent) Descriptor() ([]byte, []int)

Deprecated: Use DocumentEvent.ProtoReflect.Descriptor instead.

func (*DocumentEvent) GetAlternatives added in v0.9.0

func (x *DocumentEvent) GetAlternatives() []string

func (*DocumentEvent) GetEvent added in v0.9.0

func (x *DocumentEvent) GetEvent() string

func (*DocumentEvent) GetFrom added in v0.9.0

func (x *DocumentEvent) GetFrom() string

func (*DocumentEvent) GetKind added in v0.9.0

func (x *DocumentEvent) GetKind() string

func (*DocumentEvent) GetMachine added in v0.9.0

func (x *DocumentEvent) GetMachine() string

func (*DocumentEvent) GetObject added in v0.9.0

func (x *DocumentEvent) GetObject() *DocumentObject

func (*DocumentEvent) GetPayload added in v0.9.0

func (x *DocumentEvent) GetPayload() []string

func (*DocumentEvent) GetState added in v0.9.0

func (x *DocumentEvent) GetState() string

func (*DocumentEvent) GetTaken added in v0.9.0

func (x *DocumentEvent) GetTaken() string

func (*DocumentEvent) GetTarget added in v0.9.0

func (x *DocumentEvent) GetTarget() *DocumentObject

func (*DocumentEvent) GetText added in v0.9.0

func (x *DocumentEvent) GetText() string

func (*DocumentEvent) GetTime added in v0.9.0

func (x *DocumentEvent) GetTime() *DocumentValue

func (*DocumentEvent) GetTo added in v0.9.0

func (x *DocumentEvent) GetTo() string

func (*DocumentEvent) ProtoMessage added in v0.9.0

func (*DocumentEvent) ProtoMessage()

func (*DocumentEvent) ProtoReflect added in v0.9.0

func (x *DocumentEvent) ProtoReflect() protoreflect.Message

func (*DocumentEvent) Reset added in v0.9.0

func (x *DocumentEvent) Reset()

func (*DocumentEvent) String added in v0.9.0

func (x *DocumentEvent) String() string

type DocumentObject added in v0.9.0

type DocumentObject struct {

	// The object's id, as Instantiate answered it. Fails with NOT_FOUND when no
	// object of the model has it.
	InstanceId int64 `protobuf:"varint,1,opt,name=instance_id,json=instanceId,proto3" json:"instance_id,omitempty"`
	// The object by the label a session reaches it under: the qualified name it
	// was instantiated as (`Garage::car`), its id (`#2`), or a path through the
	// feature values of either (`Garage::car.wheels[2]`, `#2.wheels[2]`; indexes
	// count from 1). Fails with INVALID_ARGUMENT when the text is no reference or
	// a segment reaches no object, and NOT_FOUND when the name it starts from has
	// no object.
	Path string `protobuf:"bytes,2,opt,name=path,proto3" json:"path,omitempty"`
	// The usage the object is held under — its own definition or usage for an
	// object Instantiate created — as an element value with its qualified name
	// and metamodel type. Answered, ignored when bound.
	Element *DocumentValue `protobuf:"bytes,3,opt,name=element,proto3" json:"element,omitempty"`
	// contains filtered or unexported fields
}

DocumentObject is an object the service holds for the model, created by Instantiate, as a query binds and answers it. A request names it by path when path is set, and by instance_id otherwise; a request setting both must name one object by both. A response answers both, and the element the object stands for.

func (*DocumentObject) Descriptor deprecated added in v0.9.0

func (*DocumentObject) Descriptor() ([]byte, []int)

Deprecated: Use DocumentObject.ProtoReflect.Descriptor instead.

func (*DocumentObject) GetElement added in v0.9.0

func (x *DocumentObject) GetElement() *DocumentValue

func (*DocumentObject) GetInstanceId added in v0.9.0

func (x *DocumentObject) GetInstanceId() int64

func (*DocumentObject) GetPath added in v0.9.0

func (x *DocumentObject) GetPath() string

func (*DocumentObject) ProtoMessage added in v0.9.0

func (*DocumentObject) ProtoMessage()

func (*DocumentObject) ProtoReflect added in v0.9.0

func (x *DocumentObject) ProtoReflect() protoreflect.Message

func (*DocumentObject) Reset added in v0.9.0

func (x *DocumentObject) Reset()

func (*DocumentObject) String added in v0.9.0

func (x *DocumentObject) 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; an
	// object value for a row over an object the service holds; a verdict value
	// for a row `Verdicts` answered; a state value for a row `States` answered;
	// an event value for a row `Events` answered.
	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 DocumentState added in v0.9.0

type DocumentState struct {

	// The object in the state, with the path the session reaches it by.
	Object *DocumentObject `protobuf:"bytes,1,opt,name=object,proto3" json:"object,omitempty"`
	// The state machine, by the name the object exhibits it under (`lp`), else
	// its declared name.
	Machine string `protobuf:"bytes,2,opt,name=machine,proto3" json:"machine,omitempty"`
	// The leaf state's name.
	Name string `protobuf:"bytes,3,opt,name=name,proto3" json:"name,omitempty"`
	// The leaf state's path in its machine, composite states first (`on.dim`).
	StatePath string `protobuf:"bytes,4,opt,name=state_path,json=statePath,proto3" json:"state_path,omitempty"`
	// The leaf state's declaration as an element value; empty when the machine
	// declares no element for it.
	State *DocumentValue `protobuf:"bytes,5,opt,name=state,proto3" json:"state,omitempty"`
	// The orthogonal region the leaf is declared in; empty outside one.
	Region string `protobuf:"bytes,6,opt,name=region,proto3" json:"region,omitempty"`
	// The composite states enclosing the leaf, outermost first; each is active.
	Enclosing []string `protobuf:"bytes,7,rep,name=enclosing,proto3" json:"enclosing,omitempty"`
	// contains filtered or unexported fields
}

DocumentState is one row a `States` query answered: an active leaf state of the state machine `object` exhibits, which the row stands for as its `element` when the model declares it.

func (*DocumentState) Descriptor deprecated added in v0.9.0

func (*DocumentState) Descriptor() ([]byte, []int)

Deprecated: Use DocumentState.ProtoReflect.Descriptor instead.

func (*DocumentState) GetEnclosing added in v0.9.0

func (x *DocumentState) GetEnclosing() []string

func (*DocumentState) GetMachine added in v0.9.0

func (x *DocumentState) GetMachine() string

func (*DocumentState) GetName added in v0.9.0

func (x *DocumentState) GetName() string

func (*DocumentState) GetObject added in v0.9.0

func (x *DocumentState) GetObject() *DocumentObject

func (*DocumentState) GetRegion added in v0.9.0

func (x *DocumentState) GetRegion() string

func (*DocumentState) GetState added in v0.9.0

func (x *DocumentState) GetState() *DocumentValue

func (*DocumentState) GetStatePath added in v0.9.0

func (x *DocumentState) GetStatePath() string

func (*DocumentState) ProtoMessage added in v0.9.0

func (*DocumentState) ProtoMessage()

func (*DocumentState) ProtoReflect added in v0.9.0

func (x *DocumentState) ProtoReflect() protoreflect.Message

func (*DocumentState) Reset added in v0.9.0

func (x *DocumentState) Reset()

func (*DocumentState) String added in v0.9.0

func (x *DocumentState) 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
	//	*DocumentValue_Verdict
	//	*DocumentValue_Object
	//	*DocumentValue_State
	//	*DocumentValue_Event
	//	*DocumentValue_BigIntValue
	//	*DocumentValue_RationalValue
	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, or an object the service holds in object; 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) GetBigIntValue added in v0.10.0

func (x *DocumentValue) GetBigIntValue() string

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) GetEvent added in v0.9.0

func (x *DocumentValue) GetEvent() *DocumentEvent

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) GetObject added in v0.9.0

func (x *DocumentValue) GetObject() *DocumentObject

func (*DocumentValue) GetQuantity added in v0.6.0

func (x *DocumentValue) GetQuantity() *Quantity

func (*DocumentValue) GetRationalValue added in v0.10.0

func (x *DocumentValue) GetRationalValue() *Rational

func (*DocumentValue) GetRealValue added in v0.4.2

func (x *DocumentValue) GetRealValue() float64

func (*DocumentValue) GetState added in v0.9.0

func (x *DocumentValue) GetState() *DocumentState

func (*DocumentValue) GetStringValue added in v0.4.2

func (x *DocumentValue) GetStringValue() string

func (*DocumentValue) GetVerdict added in v0.9.0

func (x *DocumentValue) GetVerdict() *DocumentVerdict

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_BigIntValue added in v0.10.0

type DocumentValue_BigIntValue struct {
	// An Integer beyond int64, in decimal, as Value.big_int_value.
	BigIntValue string `protobuf:"bytes,13,opt,name=big_int_value,json=bigIntValue,proto3,oneof"`
}

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_Event added in v0.9.0

type DocumentValue_Event struct {
	Event *DocumentEvent `protobuf:"bytes,12,opt,name=event,proto3,oneof"` // a row Events answered; answered, never bound
}

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_Object added in v0.9.0

type DocumentValue_Object struct {
	Object *DocumentObject `protobuf:"bytes,10,opt,name=object,proto3,oneof"` // an object Instantiate created; bound and answered
}

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_RationalValue added in v0.10.0

type DocumentValue_RationalValue struct {
	// An exact Rational, as Value.rational_value.
	RationalValue *Rational `protobuf:"bytes,14,opt,name=rational_value,json=rationalValue,proto3,oneof"`
}

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_State added in v0.9.0

type DocumentValue_State struct {
	State *DocumentState `protobuf:"bytes,11,opt,name=state,proto3,oneof"` // a row States answered; answered, never bound
}

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 DocumentValue_Verdict added in v0.9.0

type DocumentValue_Verdict struct {
	Verdict *DocumentVerdict `protobuf:"bytes,9,opt,name=verdict,proto3,oneof"` // a row Verdicts answered; answered, never bound
}

type DocumentVerdict added in v0.9.0

type DocumentVerdict struct {

	// The assertion checked, as an element value: the constraint, requirement,
	// satisfy usage or verification case, its element_id empty when anonymous.
	Assertion *DocumentValue `protobuf:"bytes,1,opt,name=assertion,proto3" json:"assertion,omitempty"`
	// "constraint", "requirement", "satisfaction" or "verification".
	Kind string `protobuf:"bytes,2,opt,name=kind,proto3" json:"kind,omitempty"`
	// The assertion as written ("assert constraint massKnown", "satisfy Range by
	// cruise", "verification Tests::massTest"), naming an anonymous one.
	Text string `protobuf:"bytes,3,opt,name=text,proto3" json:"text,omitempty"`
	// The object checked, by path from the element the query was bound to
	// ("Garage::car.wheels[2]"); the element's own qualified name for itself.
	Path string `protobuf:"bytes,4,opt,name=path,proto3" json:"path,omitempty"`
	// "holds", "violated" or "undecided".
	Verdict string `protobuf:"bytes,5,opt,name=verdict,proto3" json:"verdict,omitempty"`
	// The condition that evaluated to false, as written; empty otherwise.
	Condition string `protobuf:"bytes,6,opt,name=condition,proto3" json:"condition,omitempty"`
	// Why the assertion is violated or undecided; empty when it holds.
	Reason string `protobuf:"bytes,7,opt,name=reason,proto3" json:"reason,omitempty"`
	// The verdict kinds ("pass", "fail", "inconclusive", "error") of the
	// verification cases verifying the requirement the row is about; a
	// verification row's own kind. Empty for a constraint.
	Verification []string `protobuf:"bytes,8,rep,name=verification,proto3" json:"verification,omitempty"`
	// contains filtered or unexported fields
}

DocumentVerdict is one row a `Verdicts` query answered: an assertion checked on the object at `path`, which the row stands for as its `element`.

func (*DocumentVerdict) Descriptor deprecated added in v0.9.0

func (*DocumentVerdict) Descriptor() ([]byte, []int)

Deprecated: Use DocumentVerdict.ProtoReflect.Descriptor instead.

func (*DocumentVerdict) GetAssertion added in v0.9.0

func (x *DocumentVerdict) GetAssertion() *DocumentValue

func (*DocumentVerdict) GetCondition added in v0.9.0

func (x *DocumentVerdict) GetCondition() string

func (*DocumentVerdict) GetKind added in v0.9.0

func (x *DocumentVerdict) GetKind() string

func (*DocumentVerdict) GetPath added in v0.9.0

func (x *DocumentVerdict) GetPath() string

func (*DocumentVerdict) GetReason added in v0.9.0

func (x *DocumentVerdict) GetReason() string

func (*DocumentVerdict) GetText added in v0.9.0

func (x *DocumentVerdict) GetText() string

func (*DocumentVerdict) GetVerdict added in v0.9.0

func (x *DocumentVerdict) GetVerdict() string

func (*DocumentVerdict) GetVerification added in v0.9.0

func (x *DocumentVerdict) GetVerification() []string

func (*DocumentVerdict) ProtoMessage added in v0.9.0

func (*DocumentVerdict) ProtoMessage()

func (*DocumentVerdict) ProtoReflect added in v0.9.0

func (x *DocumentVerdict) ProtoReflect() protoreflect.Message

func (*DocumentVerdict) Reset added in v0.9.0

func (x *DocumentVerdict) Reset()

func (*DocumentVerdict) String added in v0.9.0

func (x *DocumentVerdict) String() string

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
	// the target is referred to from a document the edit cannot rewrite: a
	// library document, or any other document for a move, which respells
	// references in the target's own document only
	EditFailure_EDIT_FAILURE_REFERENCED_ELSEWHERE EditFailure = 18
)

func (EditFailure) Descriptor

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

type EditOperation

type EditOperation struct {

	// Types that are valid to be assigned to Operation:
	//
	//	*EditOperation_SetValue
	//	*EditOperation_Rename
	//	*EditOperation_AddMember
	//	*EditOperation_Delete
	//	*EditOperation_Move
	//	*EditOperation_AddConnection
	//	*EditOperation_AddSatisfy
	//	*EditOperation_AddRequirementConstraint
	//	*EditOperation_AddTransition
	//	*EditOperation_AddImport
	//	*EditOperation_AddDocumentation
	//	*EditOperation_AddVerify
	//	*EditOperation_AddMetadata
	//	*EditOperation_AddSequence
	//	*EditOperation_AddMetadataPrefix
	//	*EditOperation_AddComment
	//	*EditOperation_AddNote
	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) GetAddComment added in v0.9.2

func (x *EditOperation) GetAddComment() *AddCommentEdit

func (*EditOperation) GetAddConnection added in v0.9.2

func (x *EditOperation) GetAddConnection() *AddConnectionEdit

func (*EditOperation) GetAddDocumentation added in v0.9.2

func (x *EditOperation) GetAddDocumentation() *AddDocumentationEdit

func (*EditOperation) GetAddImport added in v0.9.2

func (x *EditOperation) GetAddImport() *AddImportEdit

func (*EditOperation) GetAddMember added in v0.2.0

func (x *EditOperation) GetAddMember() *AddMemberEdit

func (*EditOperation) GetAddMetadata added in v0.9.2

func (x *EditOperation) GetAddMetadata() *AddMetadataEdit

func (*EditOperation) GetAddMetadataPrefix added in v0.9.2

func (x *EditOperation) GetAddMetadataPrefix() *AddMetadataPrefixEdit

func (*EditOperation) GetAddNote added in v0.9.2

func (x *EditOperation) GetAddNote() *AddNoteEdit

func (*EditOperation) GetAddRequirementConstraint added in v0.9.2

func (x *EditOperation) GetAddRequirementConstraint() *AddRequirementConstraintEdit

func (*EditOperation) GetAddSatisfy added in v0.9.2

func (x *EditOperation) GetAddSatisfy() *AddSatisfyEdit

func (*EditOperation) GetAddSequence added in v0.9.2

func (x *EditOperation) GetAddSequence() *AddSequenceEdit

func (*EditOperation) GetAddTransition added in v0.9.2

func (x *EditOperation) GetAddTransition() *AddTransitionEdit

func (*EditOperation) GetAddVerify added in v0.9.2

func (x *EditOperation) GetAddVerify() *AddVerifyEdit

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_AddComment added in v0.9.2

type EditOperation_AddComment struct {
	AddComment *AddCommentEdit `protobuf:"bytes,16,opt,name=add_comment,json=addComment,proto3,oneof"`
}

type EditOperation_AddConnection added in v0.9.2

type EditOperation_AddConnection struct {
	AddConnection *AddConnectionEdit `protobuf:"bytes,6,opt,name=add_connection,json=addConnection,proto3,oneof"`
}

type EditOperation_AddDocumentation added in v0.9.2

type EditOperation_AddDocumentation struct {
	AddDocumentation *AddDocumentationEdit `protobuf:"bytes,11,opt,name=add_documentation,json=addDocumentation,proto3,oneof"`
}

type EditOperation_AddImport added in v0.9.2

type EditOperation_AddImport struct {
	AddImport *AddImportEdit `protobuf:"bytes,10,opt,name=add_import,json=addImport,proto3,oneof"`
}

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_AddMetadata added in v0.9.2

type EditOperation_AddMetadata struct {
	AddMetadata *AddMetadataEdit `protobuf:"bytes,13,opt,name=add_metadata,json=addMetadata,proto3,oneof"`
}

type EditOperation_AddMetadataPrefix added in v0.9.2

type EditOperation_AddMetadataPrefix struct {
	AddMetadataPrefix *AddMetadataPrefixEdit `protobuf:"bytes,15,opt,name=add_metadata_prefix,json=addMetadataPrefix,proto3,oneof"`
}

type EditOperation_AddNote added in v0.9.2

type EditOperation_AddNote struct {
	AddNote *AddNoteEdit `protobuf:"bytes,18,opt,name=add_note,json=addNote,proto3,oneof"`
}

type EditOperation_AddRequirementConstraint added in v0.9.2

type EditOperation_AddRequirementConstraint struct {
	AddRequirementConstraint *AddRequirementConstraintEdit `protobuf:"bytes,8,opt,name=add_requirement_constraint,json=addRequirementConstraint,proto3,oneof"`
}

type EditOperation_AddSatisfy added in v0.9.2

type EditOperation_AddSatisfy struct {
	AddSatisfy *AddSatisfyEdit `protobuf:"bytes,7,opt,name=add_satisfy,json=addSatisfy,proto3,oneof"`
}

type EditOperation_AddSequence added in v0.9.2

type EditOperation_AddSequence struct {
	AddSequence *AddSequenceEdit `protobuf:"bytes,14,opt,name=add_sequence,json=addSequence,proto3,oneof"`
}

type EditOperation_AddTransition added in v0.9.2

type EditOperation_AddTransition struct {
	AddTransition *AddTransitionEdit `protobuf:"bytes,9,opt,name=add_transition,json=addTransition,proto3,oneof"`
}

type EditOperation_AddVerify added in v0.9.2

type EditOperation_AddVerify struct {
	AddVerify *AddVerifyEdit `protobuf:"bytes,12,opt,name=add_verify,json=addVerify,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 EditedDocument added in v0.9.0

type EditedDocument struct {

	// The document's name as the parse request gave it: the file path of a
	// file_path document, the name of an inline one, or the position it was
	// given when it was named neither.
	Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
	// The edited notation, byte-identical to the source outside the edited spans.
	Content string `protobuf:"bytes,2,opt,name=content,proto3" json:"content,omitempty"`
	// contains filtered or unexported fields
}

EditedDocument is the edited notation of one document of the model.

func (*EditedDocument) Descriptor deprecated added in v0.9.0

func (*EditedDocument) Descriptor() ([]byte, []int)

Deprecated: Use EditedDocument.ProtoReflect.Descriptor instead.

func (*EditedDocument) GetContent added in v0.9.0

func (x *EditedDocument) GetContent() string

func (*EditedDocument) GetName added in v0.9.0

func (x *EditedDocument) GetName() string

func (*EditedDocument) ProtoMessage added in v0.9.0

func (*EditedDocument) ProtoMessage()

func (*EditedDocument) ProtoReflect added in v0.9.0

func (x *EditedDocument) ProtoReflect() protoreflect.Message

func (*EditedDocument) Reset added in v0.9.0

func (x *EditedDocument) Reset()

func (*EditedDocument) String added in v0.9.0

func (x *EditedDocument) String() string

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"`
	// Why the engine cannot run, empty when it can.
	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; for a tool, "object"
	// for the one-JSON-object exchange or "argv+<stdin>" when the entry has an
	// invocation block, with a "/<reply format>" suffix such as "argv+none/csv"
	// when the reply block reads another format (the format alone when the entry
	// has no invocation); "<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"`
	// Optional FQN of a part/usage to perform the action on, or a path from one to
	// a nested object, as `Mission::mission.vehicle`: the object is created for the
	// run — inside the assembly the path walks, so its connectors carry what the
	// action sends — and under explore each run creates its own. Empty performs
	// the action outside any object.
	PerformerSymbolId string `protobuf:"bytes,5,opt,name=performer_symbol_id,json=performerSymbolId,proto3" json:"performer_symbol_id,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) GetPerformerSymbolId added in v0.9.0

func (x *ExecuteActionRequest) GetPerformerSymbolId() 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"`
	// The attributes the object named by performer_symbol_id holds when the run
	// ends, keyed as an explored outcome's `outputs` key them (`this.level`);
	// `outputs` stays the output parameters alone. Empty without a performer and
	// under an explore schedule, whose outcomes carry them.
	PerformerAttributes map[string]*Value `` /* 192-byte string literal not displayed */
	// 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) GetPerformerAttributes added in v0.9.2

func (x *ExecuteActionResponse) GetPerformerAttributes() 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"`
	// Optional FQN of a part/usage to run the machine on, or a path from one to a
	// nested object (see ExecuteActionRequest.performer_symbol_id). An object
	// exhibiting the machine runs the one it exhibits, so what its assembly
	// connects to it reaches the run; one exhibiting it under several usages is
	// an error. Empty runs the machine outside any object.
	PerformerSymbolId string `protobuf:"bytes,5,opt,name=performer_symbol_id,json=performerSymbolId,proto3" json:"performer_symbol_id,omitempty"`
	// Ask for the run's trace in ExecuteStateResponse.trace. Advertised as the
	// "state_trace" capability; a service withholding it refuses true with UNIMPLEMENTED.
	Trace bool `protobuf:"varint,6,opt,name=trace,proto3" json:"trace,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) GetPerformerSymbolId added in v0.9.0

func (x *ExecuteStateRequest) GetPerformerSymbolId() string

func (*ExecuteStateRequest) GetSchedule added in v0.7.0

func (x *ExecuteStateRequest) GetSchedule() string

func (*ExecuteStateRequest) GetStateMachineSymbolId

func (x *ExecuteStateRequest) GetStateMachineSymbolId() string

func (*ExecuteStateRequest) GetTrace added in v0.10.0

func (x *ExecuteStateRequest) GetTrace() bool

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"`
	// The run's trace in the order the run made it, when the request asked for it:
	// also on a run that failed, up to the failure. Empty under an explore schedule.
	Trace []*DocumentEvent `protobuf:"bytes,8,rep,name=trace,proto3" json:"trace,omitempty"`
	// How many of the oldest records the service's held-events bound discarded.
	TraceDropped int32 `protobuf:"varint,9,opt,name=trace_dropped,json=traceDropped,proto3" json:"trace_dropped,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) GetTrace added in v0.10.0

func (x *ExecuteStateResponse) GetTrace() []*DocumentEvent

func (*ExecuteStateResponse) GetTraceDropped added in v0.10.0

func (x *ExecuteStateResponse) GetTraceDropped() int32

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"`
	// True when weighted probabilities are lower bounds: a budget kept some
	// linearizations unexplored.
	ProbabilitiesLowerBound bool `` /* 133-byte string literal not displayed */
	// How many linearizations ended in runtime-error outcomes.
	FailedLinearizations int32 `protobuf:"varint,7,opt,name=failed_linearizations,json=failedLinearizations,proto3" json:"failed_linearizations,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) GetFailedLinearizations added in v0.10.0

func (x *ExplorationStatus) GetFailedLinearizations() int32

func (*ExplorationStatus) GetProbabilitiesLowerBound added in v0.9.0

func (x *ExplorationStatus) GetProbabilitiesLowerBound() bool

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 ExportGraphsRequest added in v0.10.0

type ExportGraphsRequest struct {
	ModelHash string `protobuf:"bytes,1,opt,name=model_hash,json=modelHash,proto3" json:"model_hash,omitempty"`
	// Qualified name of an action or state machine, definition or usage.
	Subject string `protobuf:"bytes,2,opt,name=subject,proto3" json:"subject,omitempty"`
	// contains filtered or unexported fields
}

ExportGraphsRequest names the behavior whose lowered graph is exported.

func (*ExportGraphsRequest) Descriptor deprecated added in v0.10.0

func (*ExportGraphsRequest) Descriptor() ([]byte, []int)

Deprecated: Use ExportGraphsRequest.ProtoReflect.Descriptor instead.

func (*ExportGraphsRequest) GetModelHash added in v0.10.0

func (x *ExportGraphsRequest) GetModelHash() string

func (*ExportGraphsRequest) GetSubject added in v0.10.0

func (x *ExportGraphsRequest) GetSubject() string

func (*ExportGraphsRequest) ProtoMessage added in v0.10.0

func (*ExportGraphsRequest) ProtoMessage()

func (*ExportGraphsRequest) ProtoReflect added in v0.10.0

func (x *ExportGraphsRequest) ProtoReflect() protoreflect.Message

func (*ExportGraphsRequest) Reset added in v0.10.0

func (x *ExportGraphsRequest) Reset()

func (*ExportGraphsRequest) String added in v0.10.0

func (x *ExportGraphsRequest) String() string

type ExportGraphsResponse added in v0.10.0

type ExportGraphsResponse struct {

	// The form, as canonical JSON with one trailing newline.
	Content string `protobuf:"bytes,1,opt,name=content,proto3" json:"content,omitempty"`
	// The version of the form, the `version` field of the JSON.
	Version int32 `protobuf:"varint,2,opt,name=version,proto3" json:"version,omitempty"`
	// The subject's qualified name as resolved.
	Subject string `protobuf:"bytes,3,opt,name=subject,proto3" json:"subject,omitempty"`
	// contains filtered or unexported fields
}

ExportGraphsResponse carries the `graphs:<version>` form: the lowered ActionGraph/StateGraph IR of the subject and of every behavior it performs, as canonical JSON — the same bytes an external engine is sent.

func (*ExportGraphsResponse) Descriptor deprecated added in v0.10.0

func (*ExportGraphsResponse) Descriptor() ([]byte, []int)

Deprecated: Use ExportGraphsResponse.ProtoReflect.Descriptor instead.

func (*ExportGraphsResponse) GetContent added in v0.10.0

func (x *ExportGraphsResponse) GetContent() string

func (*ExportGraphsResponse) GetSubject added in v0.10.0

func (x *ExportGraphsResponse) GetSubject() string

func (*ExportGraphsResponse) GetVersion added in v0.10.0

func (x *ExportGraphsResponse) GetVersion() int32

func (*ExportGraphsResponse) ProtoMessage added in v0.10.0

func (*ExportGraphsResponse) ProtoMessage()

func (*ExportGraphsResponse) ProtoReflect added in v0.10.0

func (x *ExportGraphsResponse) ProtoReflect() protoreflect.Message

func (*ExportGraphsResponse) Reset added in v0.10.0

func (x *ExportGraphsResponse) Reset()

func (*ExportGraphsResponse) String added in v0.10.0

func (x *ExportGraphsResponse) 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
	FailureReason_FAILURE_REASON_UNDECIDED         FailureReason = 4 // an engine was asked but decided nothing
)

func (FailureReason) Descriptor

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 (FailureReason) String

func (x FailureReason) String() string

func (FailureReason) Type

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) Descriptor() ([]byte, []int)

Deprecated: Use Function.ProtoReflect.Descriptor instead.

func (*Function) GetCalcId added in v0.7.0

func (x *Function) GetCalcId() string

func (*Function) GetSelfId added in v0.7.0

func (x *Function) GetSelfId() int64

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

func (*Function) Reset added in v0.7.0

func (x *Function) Reset()

func (*Function) String added in v0.7.0

func (x *Function) String() string

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) Descriptor() ([]byte, []int)

Deprecated: Use Instance.ProtoReflect.Descriptor instead.

func (*Instance) GetFeatureValues

func (x *Instance) GetFeatureValues() map[string]*FeatureValue

func (*Instance) GetId

func (x *Instance) GetId() int64

func (*Instance) GetTypeSymbolId

func (x *Instance) GetTypeSymbolId() string

func (*Instance) ProtoMessage

func (*Instance) ProtoMessage()

func (*Instance) ProtoReflect

func (x *Instance) ProtoReflect() protoreflect.Message

func (*Instance) Reset

func (x *Instance) Reset()

func (*Instance) String

func (x *Instance) String() string

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. The service keeps the object for the model it was created in: a later RunDocumentQuery on the same model_hash binds it by its id or by the name it was instantiated under, and `DocumentQueries::Objects` enumerates it. Instantiating the same symbol again creates a new object under the name; the earlier one stays reachable by id.

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 MetadataFeatureValue added in v0.9.2

type MetadataFeatureValue struct {

	// Feature reference to bind.
	Feature string `protobuf:"bytes,1,opt,name=feature,proto3" json:"feature,omitempty"`
	// Value expression, written as notation.
	Value string `protobuf:"bytes,2,opt,name=value,proto3" json:"value,omitempty"`
	// contains filtered or unexported fields
}

MetadataFeatureValue binds one metadata feature to a value expression.

func (*MetadataFeatureValue) Descriptor deprecated added in v0.9.2

func (*MetadataFeatureValue) Descriptor() ([]byte, []int)

Deprecated: Use MetadataFeatureValue.ProtoReflect.Descriptor instead.

func (*MetadataFeatureValue) GetFeature added in v0.9.2

func (x *MetadataFeatureValue) GetFeature() string

func (*MetadataFeatureValue) GetValue added in v0.9.2

func (x *MetadataFeatureValue) GetValue() string

func (*MetadataFeatureValue) ProtoMessage added in v0.9.2

func (*MetadataFeatureValue) ProtoMessage()

func (*MetadataFeatureValue) ProtoReflect added in v0.9.2

func (x *MetadataFeatureValue) ProtoReflect() protoreflect.Message

func (*MetadataFeatureValue) Reset added in v0.9.2

func (x *MetadataFeatureValue) Reset()

func (*MetadataFeatureValue) String added in v0.9.2

func (x *MetadataFeatureValue) 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 MigrateRequest added in v0.10.0

type MigrateRequest struct {

	// Types that are valid to be assigned to Source:
	//
	//	*MigrateRequest_FilePath
	//	*MigrateRequest_Content
	Source isMigrateRequest_Source `protobuf_oneof:"source"`
	// "xmi" (UML XMI 2.5.1 with the SysML profile applied), "uml" (an Eclipse
	// UML2 file) or "mdzip" (a Cameo/MagicDraw archive). Empty infers from
	// file_path's extension; inline content has none, so it must say. A v2
	// format is INVALID_ARGUMENT, pointing at Convert.
	FromFormat string `protobuf:"bytes,3,opt,name=from_format,json=fromFormat,proto3" json:"from_format,omitempty"`
	// Format to write: "sysml", "kerml", "text", "ttl", "turtle", "rdf",
	// "api-json" or "json", as Convert names them. The v1 names are refused,
	// since a v2 model has no v1 form. Empty is rejected.
	ToFormat string `protobuf:"bytes,4,opt,name=to_format,json=toFormat,proto3" json:"to_format,omitempty"`
	// Carry every element's verdict in the response's report, as the command's
	// -migration-report writes it. The report's summary and counts are carried
	// whether or not this is set.
	Report bool `protobuf:"varint,5,opt,name=report,proto3" json:"report,omitempty"`
	// Carry the result snapshots the v1 tool stored with the model, indexed as
	// the command's -migration-results writes them, so the migrated runs can be
	// compared with the tool's (`sysml -compare-results`).
	Results bool `protobuf:"varint,6,opt,name=results,proto3" json:"results,omitempty"`
	// An MTIP export of the model's diagrams (Model_mtip.xml), laying the
	// migrated views out as the v1 tool drew them: a path the service reads, or
	// the document itself.
	//
	// Types that are valid to be assigned to Layout:
	//
	//	*MigrateRequest_LayoutPath
	//	*MigrateRequest_LayoutContent
	Layout isMigrateRequest_Layout `protobuf_oneof:"layout"`
	// Absolute http(s) URL that a server-relative image reference in a v1
	// comment (<img src="/projects/…">) is resolved against.
	ImageBaseUrl string `protobuf:"bytes,9,opt,name=image_base_url,json=imageBaseUrl,proto3" json:"image_base_url,omitempty"`
	// Write only notation a pinned SysML v2 production admits: a construct whose
	// only v2 form is an OpenSysML extension (a deferred event, a choice,
	// junction or history pseudostate) is reported unmapped instead of written.
	Strict bool `protobuf:"varint,10,opt,name=strict,proto3" json:"strict,omitempty"`
	// contains filtered or unexported fields
}

MigrateRequest asks for a SysML v1 model migrated to v2. The source is a file_path the service reads, or the document carried inline as content — bytes, since a .mdzip archive is binary. There is no model_hash form: parse reads v2 notation, and a v1 model is never parsed.

func (*MigrateRequest) Descriptor deprecated added in v0.10.0

func (*MigrateRequest) Descriptor() ([]byte, []int)

Deprecated: Use MigrateRequest.ProtoReflect.Descriptor instead.

func (*MigrateRequest) GetContent added in v0.10.0

func (x *MigrateRequest) GetContent() []byte

func (*MigrateRequest) GetFilePath added in v0.10.0

func (x *MigrateRequest) GetFilePath() string

func (*MigrateRequest) GetFromFormat added in v0.10.0

func (x *MigrateRequest) GetFromFormat() string

func (*MigrateRequest) GetImageBaseUrl added in v0.10.0

func (x *MigrateRequest) GetImageBaseUrl() string

func (*MigrateRequest) GetLayout added in v0.10.0

func (x *MigrateRequest) GetLayout() isMigrateRequest_Layout

func (*MigrateRequest) GetLayoutContent added in v0.10.0

func (x *MigrateRequest) GetLayoutContent() string

func (*MigrateRequest) GetLayoutPath added in v0.10.0

func (x *MigrateRequest) GetLayoutPath() string

func (*MigrateRequest) GetReport added in v0.10.0

func (x *MigrateRequest) GetReport() bool

func (*MigrateRequest) GetResults added in v0.10.0

func (x *MigrateRequest) GetResults() bool

func (*MigrateRequest) GetSource added in v0.10.0

func (x *MigrateRequest) GetSource() isMigrateRequest_Source

func (*MigrateRequest) GetStrict added in v0.10.0

func (x *MigrateRequest) GetStrict() bool

func (*MigrateRequest) GetToFormat added in v0.10.0

func (x *MigrateRequest) GetToFormat() string

func (*MigrateRequest) ProtoMessage added in v0.10.0

func (*MigrateRequest) ProtoMessage()

func (*MigrateRequest) ProtoReflect added in v0.10.0

func (x *MigrateRequest) ProtoReflect() protoreflect.Message

func (*MigrateRequest) Reset added in v0.10.0

func (x *MigrateRequest) Reset()

func (*MigrateRequest) String added in v0.10.0

func (x *MigrateRequest) String() string

type MigrateRequest_Content added in v0.10.0

type MigrateRequest_Content struct {
	Content []byte `protobuf:"bytes,2,opt,name=content,proto3,oneof"`
}

type MigrateRequest_FilePath added in v0.10.0

type MigrateRequest_FilePath struct {
	FilePath string `protobuf:"bytes,1,opt,name=file_path,json=filePath,proto3,oneof"`
}

type MigrateRequest_LayoutContent added in v0.10.0

type MigrateRequest_LayoutContent struct {
	LayoutContent string `protobuf:"bytes,8,opt,name=layout_content,json=layoutContent,proto3,oneof"`
}

type MigrateRequest_LayoutPath added in v0.10.0

type MigrateRequest_LayoutPath struct {
	LayoutPath string `protobuf:"bytes,7,opt,name=layout_path,json=layoutPath,proto3,oneof"`
}

type MigrateResponse added in v0.10.0

type MigrateResponse struct {
	Content string `protobuf:"bytes,1,opt,name=content,proto3" json:"content,omitempty"`
	// Formats used, canonical ("xmi" for every v1 form), 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 migration failed; content is unset
	// Always set: migration is experimental, in the sense Convert's
	// experimental says, and experimental_notice says so in the wording every
	// surface reports it in.
	Experimental       bool   `protobuf:"varint,5,opt,name=experimental,proto3" json:"experimental,omitempty"`
	ExperimentalNotice string `protobuf:"bytes,6,opt,name=experimental_notice,json=experimentalNotice,proto3" json:"experimental_notice,omitempty"`
	// What the migration did, element by element. Its entries are carried when
	// the request set report; its summary and counts always.
	Report *MigrationReport `protobuf:"bytes,7,opt,name=report,proto3" json:"report,omitempty"`
	// The result snapshots the v1 tool stored, as the JSON `sysml
	// -compare-results` reads, when the request set results and the model
	// holds any.
	Results string `protobuf:"bytes,8,opt,name=results,proto3" json:"results,omitempty"`
	// Image files the migrated model refers to by relative path (a picture a v1
	// comment embeds), to be written beside it.
	Files []*MigrationFile `protobuf:"bytes,9,rep,name=files,proto3" json:"files,omitempty"`
	// contains filtered or unexported fields
}

MigrateResponse carries the migrated model and the account of what the migration did with every v1 element.

func (*MigrateResponse) Descriptor deprecated added in v0.10.0

func (*MigrateResponse) Descriptor() ([]byte, []int)

Deprecated: Use MigrateResponse.ProtoReflect.Descriptor instead.

func (*MigrateResponse) GetContent added in v0.10.0

func (x *MigrateResponse) GetContent() string

func (*MigrateResponse) GetError added in v0.10.0

func (x *MigrateResponse) GetError() string

func (*MigrateResponse) GetExperimental added in v0.10.0

func (x *MigrateResponse) GetExperimental() bool

func (*MigrateResponse) GetExperimentalNotice added in v0.10.0

func (x *MigrateResponse) GetExperimentalNotice() string

func (*MigrateResponse) GetFiles added in v0.10.0

func (x *MigrateResponse) GetFiles() []*MigrationFile

func (*MigrateResponse) GetFromFormat added in v0.10.0

func (x *MigrateResponse) GetFromFormat() string

func (*MigrateResponse) GetReport added in v0.10.0

func (x *MigrateResponse) GetReport() *MigrationReport

func (*MigrateResponse) GetResults added in v0.10.0

func (x *MigrateResponse) GetResults() string

func (*MigrateResponse) GetToFormat added in v0.10.0

func (x *MigrateResponse) GetToFormat() string

func (*MigrateResponse) ProtoMessage added in v0.10.0

func (*MigrateResponse) ProtoMessage()

func (*MigrateResponse) ProtoReflect added in v0.10.0

func (x *MigrateResponse) ProtoReflect() protoreflect.Message

func (*MigrateResponse) Reset added in v0.10.0

func (x *MigrateResponse) Reset()

func (*MigrateResponse) String added in v0.10.0

func (x *MigrateResponse) String() string

type MigrationEntry added in v0.10.0

type MigrationEntry struct {

	// The element's xmi:id, the handle a v1 tool addresses it by.
	Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"`
	// The element as modeled: its stereotype when one classifies it («Block»,
	// «Requirement»), else its UML metaclass; and its qualified name in v1.
	Kind string `protobuf:"bytes,2,opt,name=kind,proto3" json:"kind,omitempty"`
	Name string `protobuf:"bytes,3,opt,name=name,proto3" json:"name,omitempty"`
	// The v2 declaration written for it, a qualified name with its keyword, or
	// empty when nothing was.
	Target string `protobuf:"bytes,4,opt,name=target,proto3" json:"target,omitempty"`
	// "mapped", "approximated", "unmapped" or "skipped".
	Verdict string `protobuf:"bytes,5,opt,name=verdict,proto3" json:"verdict,omitempty"`
	// Why it was approximated, left unmapped or skipped.
	Note string `protobuf:"bytes,6,opt,name=note,proto3" json:"note,omitempty"`
	// contains filtered or unexported fields
}

MigrationEntry is the verdict on one SysML v1 element.

func (*MigrationEntry) Descriptor deprecated added in v0.10.0

func (*MigrationEntry) Descriptor() ([]byte, []int)

Deprecated: Use MigrationEntry.ProtoReflect.Descriptor instead.

func (*MigrationEntry) GetId added in v0.10.0

func (x *MigrationEntry) GetId() string

func (*MigrationEntry) GetKind added in v0.10.0

func (x *MigrationEntry) GetKind() string

func (*MigrationEntry) GetName added in v0.10.0

func (x *MigrationEntry) GetName() string

func (*MigrationEntry) GetNote added in v0.10.0

func (x *MigrationEntry) GetNote() string

func (*MigrationEntry) GetTarget added in v0.10.0

func (x *MigrationEntry) GetTarget() string

func (*MigrationEntry) GetVerdict added in v0.10.0

func (x *MigrationEntry) GetVerdict() string

func (*MigrationEntry) ProtoMessage added in v0.10.0

func (*MigrationEntry) ProtoMessage()

func (*MigrationEntry) ProtoReflect added in v0.10.0

func (x *MigrationEntry) ProtoReflect() protoreflect.Message

func (*MigrationEntry) Reset added in v0.10.0

func (x *MigrationEntry) Reset()

func (*MigrationEntry) String added in v0.10.0

func (x *MigrationEntry) String() string

type MigrationFile added in v0.10.0

type MigrationFile struct {
	Path    string `protobuf:"bytes,1,opt,name=path,proto3" json:"path,omitempty"`
	Content []byte `protobuf:"bytes,2,opt,name=content,proto3" json:"content,omitempty"`
	// contains filtered or unexported fields
}

MigrationFile is a file the migrated model refers to, named relative to it.

func (*MigrationFile) Descriptor deprecated added in v0.10.0

func (*MigrationFile) Descriptor() ([]byte, []int)

Deprecated: Use MigrationFile.ProtoReflect.Descriptor instead.

func (*MigrationFile) GetContent added in v0.10.0

func (x *MigrationFile) GetContent() []byte

func (*MigrationFile) GetPath added in v0.10.0

func (x *MigrationFile) GetPath() string

func (*MigrationFile) ProtoMessage added in v0.10.0

func (*MigrationFile) ProtoMessage()

func (*MigrationFile) ProtoReflect added in v0.10.0

func (x *MigrationFile) ProtoReflect() protoreflect.Message

func (*MigrationFile) Reset added in v0.10.0

func (x *MigrationFile) Reset()

func (*MigrationFile) String added in v0.10.0

func (x *MigrationFile) String() string

type MigrationReport added in v0.10.0

type MigrationReport struct {

	// The v1 document migrated, and the tool that exported it when it said.
	Source   string `protobuf:"bytes,1,opt,name=source,proto3" json:"source,omitempty"`
	Exporter string `protobuf:"bytes,2,opt,name=exporter,proto3" json:"exporter,omitempty"`
	// The one-line account the command prints after migrating.
	Summary      string `protobuf:"bytes,3,opt,name=summary,proto3" json:"summary,omitempty"`
	Mapped       int32  `protobuf:"varint,4,opt,name=mapped,proto3" json:"mapped,omitempty"`
	Approximated int32  `protobuf:"varint,5,opt,name=approximated,proto3" json:"approximated,omitempty"`
	Unmapped     int32  `protobuf:"varint,6,opt,name=unmapped,proto3" json:"unmapped,omitempty"`
	Skipped      int32  `protobuf:"varint,7,opt,name=skipped,proto3" json:"skipped,omitempty"`
	// Every element's verdict, when the request asked for the report; empty
	// otherwise, the counts above standing in.
	Entries []*MigrationEntry `protobuf:"bytes,8,rep,name=entries,proto3" json:"entries,omitempty"`
	// The report as the command's -migration-report writes it to a text file,
	// when the request asked for the report: the entries grouped by verdict,
	// the elements that need attention first, with the layout account.
	Text string `protobuf:"bytes,9,opt,name=text,proto3" json:"text,omitempty"`
	// contains filtered or unexported fields
}

MigrationReport accounts for every element of a SysML v1 model: mapped to a v2 counterpart that states the same thing, approximated by a v2 form that loses or restates part of what v1 said, left unmapped and recorded as a comment where it stood, or skipped as a profile, library or notation-only element nothing in the model refers to.

func (*MigrationReport) Descriptor deprecated added in v0.10.0

func (*MigrationReport) Descriptor() ([]byte, []int)

Deprecated: Use MigrationReport.ProtoReflect.Descriptor instead.

func (*MigrationReport) GetApproximated added in v0.10.0

func (x *MigrationReport) GetApproximated() int32

func (*MigrationReport) GetEntries added in v0.10.0

func (x *MigrationReport) GetEntries() []*MigrationEntry

func (*MigrationReport) GetExporter added in v0.10.0

func (x *MigrationReport) GetExporter() string

func (*MigrationReport) GetMapped added in v0.10.0

func (x *MigrationReport) GetMapped() int32

func (*MigrationReport) GetSkipped added in v0.10.0

func (x *MigrationReport) GetSkipped() int32

func (*MigrationReport) GetSource added in v0.10.0

func (x *MigrationReport) GetSource() string

func (*MigrationReport) GetSummary added in v0.10.0

func (x *MigrationReport) GetSummary() string

func (*MigrationReport) GetText added in v0.10.0

func (x *MigrationReport) GetText() string

func (*MigrationReport) GetUnmapped added in v0.10.0

func (x *MigrationReport) GetUnmapped() int32

func (*MigrationReport) ProtoMessage added in v0.10.0

func (*MigrationReport) ProtoMessage()

func (*MigrationReport) ProtoReflect added in v0.10.0

func (x *MigrationReport) ProtoReflect() protoreflect.Message

func (*MigrationReport) Reset added in v0.10.0

func (x *MigrationReport) Reset()

func (*MigrationReport) String added in v0.10.0

func (x *MigrationReport) 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) Descriptor() ([]byte, []int)

Deprecated: Use MoveEdit.ProtoReflect.Descriptor instead.

func (*MoveEdit) GetOwner added in v0.8.0

func (x *MoveEdit) GetOwner() string

func (*MoveEdit) GetTarget added in v0.8.0

func (x *MoveEdit) GetTarget() string

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

func (*MoveEdit) Reset added in v0.8.0

func (x *MoveEdit) Reset()

func (*MoveEdit) String added in v0.8.0

func (x *MoveEdit) String() string

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"`
	// The exact model-draw probability when probability_range is exact; zero otherwise.
	Probability float64 `protobuf:"fixed64,8,opt,name=probability,proto3" json:"probability,omitempty"`
	// Present when the exploration made a weighted choice. Bounds probabilities
	// over schedulers, not shares of the enumerated schedules.
	ProbabilityRange *ProbabilityRange `protobuf:"bytes,9,opt,name=probability_range,json=probabilityRange,proto3" json:"probability_range,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) Descriptor() ([]byte, []int)

Deprecated: Use Outcome.ProtoReflect.Descriptor instead.

func (*Outcome) GetDiagnostics added in v0.7.0

func (x *Outcome) GetDiagnostics() []*Diagnostic

func (*Outcome) GetError added in v0.7.0

func (x *Outcome) GetError() string

func (*Outcome) GetFinalState added in v0.7.0

func (x *Outcome) GetFinalState() string

func (*Outcome) GetLinearizations added in v0.7.0

func (x *Outcome) GetLinearizations() int32

func (*Outcome) GetOutputs added in v0.7.0

func (x *Outcome) GetOutputs() map[string]*Value

func (*Outcome) GetProbability added in v0.9.0

func (x *Outcome) GetProbability() float64

func (*Outcome) GetProbabilityRange added in v0.10.0

func (x *Outcome) GetProbabilityRange() *ProbabilityRange

func (*Outcome) GetStatesVisited added in v0.7.0

func (x *Outcome) GetStatesVisited() []string

func (*Outcome) GetWitness added in v0.7.0

func (x *Outcome) GetWitness() []string

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

func (*Outcome) Reset added in v0.7.0

func (x *Outcome) Reset()

func (*Outcome) String added in v0.7.0

func (x *Outcome) String() string

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"`
	// The model_hash of a model of these documents the client holds results of,
	// typically the one its previous ParseSources returned. The answer's affected
	// is relative to it. Reported as the "parse_sources_affected" capability.
	BaseModelHash string `protobuf:"bytes,3,opt,name=base_model_hash,json=baseModelHash,proto3" json:"base_model_hash,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) GetBaseModelHash added in v0.10.0

func (x *ParseSourcesRequest) GetBaseModelHash() string

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"`
	// The documents, by name and in the request's order, whose analysis, and so
	// whose diagnostics and conversion, may differ from base_model_hash's model:
	// those whose text changed, those whose analysis read something an edit
	// changed, and those base_model_hash's model did not hold. Every other
	// document's results are the base's, so a client may reuse them. Answered
	// only when base_model_hash is given; every document when the service
	// cannot relate it to this model (no longer cached, not of the same
	// documents, or a model whose documents may declare an identity scope).
	// Reported as the "parse_sources_affected" capability.
	Affected []string `protobuf:"bytes,5,rep,name=affected,proto3" json:"affected,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) GetAffected added in v0.10.0

func (x *ParseSourcesResponse) GetAffected() []string

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) Enum

func (PrimitiveOperator) EnumDescriptor deprecated

func (PrimitiveOperator) EnumDescriptor() ([]byte, []int)

Deprecated: Use PrimitiveOperator.Descriptor instead.

func (PrimitiveOperator) Number

func (PrimitiveOperator) String

func (x PrimitiveOperator) String() string

func (PrimitiveOperator) Type

type ProbabilityRange added in v0.10.0

type ProbabilityRange struct {
	Min float64 `protobuf:"fixed64,1,opt,name=min,proto3" json:"min,omitempty"`
	Max float64 `protobuf:"fixed64,2,opt,name=max,proto3" json:"max,omitempty"`
	// contains filtered or unexported fields
}

ProbabilityRange is the model-draw probability of an outcome, bounded by the least and greatest probabilities over schedulers resolving scheduling choices.

func (*ProbabilityRange) Descriptor deprecated added in v0.10.0

func (*ProbabilityRange) Descriptor() ([]byte, []int)

Deprecated: Use ProbabilityRange.ProtoReflect.Descriptor instead.

func (*ProbabilityRange) GetMax added in v0.10.0

func (x *ProbabilityRange) GetMax() float64

func (*ProbabilityRange) GetMin added in v0.10.0

func (x *ProbabilityRange) GetMin() float64

func (*ProbabilityRange) ProtoMessage added in v0.10.0

func (*ProbabilityRange) ProtoMessage()

func (*ProbabilityRange) ProtoReflect added in v0.10.0

func (x *ProbabilityRange) ProtoReflect() protoreflect.Message

func (*ProbabilityRange) Reset added in v0.10.0

func (x *ProbabilityRange) Reset()

func (*ProbabilityRange) String added in v0.10.0

func (x *ProbabilityRange) String() string

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
	//	*Quantity_BigIntMagnitude
	//	*Quantity_RationalMagnitude
	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) Descriptor() ([]byte, []int)

Deprecated: Use Quantity.ProtoReflect.Descriptor instead.

func (*Quantity) GetBigIntMagnitude added in v0.10.0

func (x *Quantity) GetBigIntMagnitude() string

func (*Quantity) GetIntMagnitude

func (x *Quantity) GetIntMagnitude() int64

func (*Quantity) GetMagnitude

func (x *Quantity) GetMagnitude() isQuantity_Magnitude

func (*Quantity) GetRationalMagnitude added in v0.10.0

func (x *Quantity) GetRationalMagnitude() *Rational

func (*Quantity) GetRealMagnitude

func (x *Quantity) GetRealMagnitude() float64

func (*Quantity) GetUnit

func (x *Quantity) GetUnit() string

func (*Quantity) GetUnitTerm

func (x *Quantity) GetUnitTerm() *UnitTerm

func (*Quantity) ProtoMessage

func (*Quantity) ProtoMessage()

func (*Quantity) ProtoReflect

func (x *Quantity) ProtoReflect() protoreflect.Message

func (*Quantity) Reset

func (x *Quantity) Reset()

func (*Quantity) String

func (x *Quantity) String() string

type Quantity_BigIntMagnitude added in v0.10.0

type Quantity_BigIntMagnitude struct {
	// An Integer magnitude beyond int64, in decimal, as Value.big_int_value.
	BigIntMagnitude string `protobuf:"bytes,5,opt,name=big_int_magnitude,json=bigIntMagnitude,proto3,oneof"`
}

type Quantity_IntMagnitude

type Quantity_IntMagnitude struct {
	IntMagnitude int64 `protobuf:"varint,1,opt,name=int_magnitude,json=intMagnitude,proto3,oneof"`
}

type Quantity_RationalMagnitude added in v0.10.0

type Quantity_RationalMagnitude struct {
	// An exact Rational magnitude, as Value.rational_value.
	RationalMagnitude *Rational `protobuf:"bytes,6,opt,name=rational_magnitude,json=rationalMagnitude,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) Descriptor() ([]byte, []int)

Deprecated: Use Query.ProtoReflect.Descriptor instead.

func (*Query) GetScope

func (x *Query) GetScope() []string

func (*Query) GetSelect

func (x *Query) GetSelect() []string

func (*Query) GetWhere

func (x *Query) GetWhere() *Constraint

func (*Query) ProtoMessage

func (*Query) ProtoMessage()

func (*Query) ProtoReflect

func (x *Query) ProtoReflect() protoreflect.Message

func (*Query) Reset

func (x *Query) Reset()

func (*Query) String

func (x *Query) String() string

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 Rational added in v0.10.0

type Rational struct {
	Numerator   string `protobuf:"bytes,1,opt,name=numerator,proto3" json:"numerator,omitempty"`
	Denominator string `protobuf:"bytes,2,opt,name=denominator,proto3" json:"denominator,omitempty"`
	// contains filtered or unexported fields
}

Rational is an exact rational number in lowest terms: numerator over a positive denominator, each written as big_int_value is. The server rejects one not in lowest terms; a client also rejects an answered one a double holds exactly.

func (*Rational) Descriptor deprecated added in v0.10.0

func (*Rational) Descriptor() ([]byte, []int)

Deprecated: Use Rational.ProtoReflect.Descriptor instead.

func (*Rational) GetDenominator added in v0.10.0

func (x *Rational) GetDenominator() string

func (*Rational) GetNumerator added in v0.10.0

func (x *Rational) GetNumerator() string

func (*Rational) ProtoMessage added in v0.10.0

func (*Rational) ProtoMessage()

func (*Rational) ProtoReflect added in v0.10.0

func (x *Rational) ProtoReflect() protoreflect.Message

func (*Rational) Reset added in v0.10.0

func (x *Rational) Reset()

func (*Rational) String added in v0.10.0

func (x *Rational) String() string

type Referrer added in v0.9.0

type Referrer struct {

	// The declaration as the notation names it: the FQN of a named one, or the
	// heading of an anonymous one within its namespace.
	Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
	// The document declaring it, named as the parse request named it.
	Document string `protobuf:"bytes,2,opt,name=document,proto3" json:"document,omitempty"`
	// contains filtered or unexported fields
}

Referrer is one declaration referring to the target of a refused edit.

func (*Referrer) Descriptor deprecated added in v0.9.0

func (*Referrer) Descriptor() ([]byte, []int)

Deprecated: Use Referrer.ProtoReflect.Descriptor instead.

func (*Referrer) GetDocument added in v0.9.0

func (x *Referrer) GetDocument() string

func (*Referrer) GetName added in v0.9.0

func (x *Referrer) GetName() string

func (*Referrer) ProtoMessage added in v0.9.0

func (*Referrer) ProtoMessage()

func (*Referrer) ProtoReflect added in v0.9.0

func (x *Referrer) ProtoReflect() protoreflect.Message

func (*Referrer) Reset added in v0.9.0

func (x *Referrer) Reset()

func (*Referrer) String added in v0.9.0

func (x *Referrer) 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 and every reference to it in the model's documents. A rename that reaches a reference in a document the edit cannot rewrite 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 RenderCanvas added in v0.10.0

type RenderCanvas struct {
	Unit    string  `protobuf:"bytes,1,opt,name=unit,proto3" json:"unit,omitempty"`
	Width   float64 `protobuf:"fixed64,2,opt,name=width,proto3" json:"width,omitempty"`
	Height  float64 `protobuf:"fixed64,3,opt,name=height,proto3" json:"height,omitempty"`
	HasSize bool    `protobuf:"varint,4,opt,name=has_size,json=hasSize,proto3" json:"has_size,omitempty"`
	// contains filtered or unexported fields
}

RenderCanvas is the rendering's drawing surface.

func (*RenderCanvas) Descriptor deprecated added in v0.10.0

func (*RenderCanvas) Descriptor() ([]byte, []int)

Deprecated: Use RenderCanvas.ProtoReflect.Descriptor instead.

func (*RenderCanvas) GetHasSize added in v0.10.0

func (x *RenderCanvas) GetHasSize() bool

func (*RenderCanvas) GetHeight added in v0.10.0

func (x *RenderCanvas) GetHeight() float64

func (*RenderCanvas) GetUnit added in v0.10.0

func (x *RenderCanvas) GetUnit() string

func (*RenderCanvas) GetWidth added in v0.10.0

func (x *RenderCanvas) GetWidth() float64

func (*RenderCanvas) ProtoMessage added in v0.10.0

func (*RenderCanvas) ProtoMessage()

func (*RenderCanvas) ProtoReflect added in v0.10.0

func (x *RenderCanvas) ProtoReflect() protoreflect.Message

func (*RenderCanvas) Reset added in v0.10.0

func (x *RenderCanvas) Reset()

func (*RenderCanvas) String added in v0.10.0

func (x *RenderCanvas) 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"`
	// Form to render: "markdown" (the default when empty) or "html", the
	// standalone page with the default stylesheet that the CLI's -doc-form html
	// writes. Any other form fails with INVALID_ARGUMENT; PDF needs the CLI's
	// converter toolchain and is not offered here.
	Form string `protobuf:"bytes,3,opt,name=form,proto3" json:"form,omitempty"`
	// contains filtered or unexported fields
}

RenderDocumentRequest renders a named document — a part def specializing DocumentQueries::Document — to Markdown or HTML. 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) GetForm added in v0.9.0

func (x *RenderDocumentRequest) GetForm() 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"`
	Html     string `protobuf:"bytes,2,opt,name=html,proto3" json:"html,omitempty"`
	// contains filtered or unexported fields
}

RenderDocumentResponse carries the rendered document in the form requested, byte-for-byte what the CLI's -render-document writes: markdown for the Markdown form, html for the HTML form, the other left empty.

func (*RenderDocumentResponse) Descriptor deprecated added in v0.4.2

func (*RenderDocumentResponse) Descriptor() ([]byte, []int)

Deprecated: Use RenderDocumentResponse.ProtoReflect.Descriptor instead.

func (*RenderDocumentResponse) GetHtml added in v0.9.0

func (x *RenderDocumentResponse) GetHtml() string

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 RenderEdge added in v0.10.0

type RenderEdge struct {
	From     string         `protobuf:"bytes,1,opt,name=from,proto3" json:"from,omitempty"`
	To       string         `protobuf:"bytes,2,opt,name=to,proto3" json:"to,omitempty"`
	FromPort string         `protobuf:"bytes,3,opt,name=from_port,json=fromPort,proto3" json:"from_port,omitempty"`
	ToPort   string         `protobuf:"bytes,4,opt,name=to_port,json=toPort,proto3" json:"to_port,omitempty"`
	Label    string         `protobuf:"bytes,5,opt,name=label,proto3" json:"label,omitempty"`
	Name     string         `protobuf:"bytes,6,opt,name=name,proto3" json:"name,omitempty"`
	Kind     string         `protobuf:"bytes,7,opt,name=kind,proto3" json:"kind,omitempty"`
	Origin   *Span          `protobuf:"bytes,8,opt,name=origin,proto3" json:"origin,omitempty"`
	Route    []*RenderPoint `protobuf:"bytes,9,rep,name=route,proto3" json:"route,omitempty"`
	Style    *RenderStyle   `protobuf:"bytes,10,opt,name=style,proto3" json:"style,omitempty"`
	// contains filtered or unexported fields
}

RenderEdge joins two rendered nodes and may connect their ports.

func (*RenderEdge) Descriptor deprecated added in v0.10.0

func (*RenderEdge) Descriptor() ([]byte, []int)

Deprecated: Use RenderEdge.ProtoReflect.Descriptor instead.

func (*RenderEdge) GetFrom added in v0.10.0

func (x *RenderEdge) GetFrom() string

func (*RenderEdge) GetFromPort added in v0.10.0

func (x *RenderEdge) GetFromPort() string

func (*RenderEdge) GetKind added in v0.10.0

func (x *RenderEdge) GetKind() string

func (*RenderEdge) GetLabel added in v0.10.0

func (x *RenderEdge) GetLabel() string

func (*RenderEdge) GetName added in v0.10.0

func (x *RenderEdge) GetName() string

func (*RenderEdge) GetOrigin added in v0.10.0

func (x *RenderEdge) GetOrigin() *Span

func (*RenderEdge) GetRoute added in v0.10.0

func (x *RenderEdge) GetRoute() []*RenderPoint

func (*RenderEdge) GetStyle added in v0.10.0

func (x *RenderEdge) GetStyle() *RenderStyle

func (*RenderEdge) GetTo added in v0.10.0

func (x *RenderEdge) GetTo() string

func (*RenderEdge) GetToPort added in v0.10.0

func (x *RenderEdge) GetToPort() string

func (*RenderEdge) ProtoMessage added in v0.10.0

func (*RenderEdge) ProtoMessage()

func (*RenderEdge) ProtoReflect added in v0.10.0

func (x *RenderEdge) ProtoReflect() protoreflect.Message

func (*RenderEdge) Reset added in v0.10.0

func (x *RenderEdge) Reset()

func (*RenderEdge) String added in v0.10.0

func (x *RenderEdge) String() string

type RenderGeometry added in v0.10.0

type RenderGeometry struct {
	X         float64 `protobuf:"fixed64,1,opt,name=x,proto3" json:"x,omitempty"`
	Y         float64 `protobuf:"fixed64,2,opt,name=y,proto3" json:"y,omitempty"`
	Width     float64 `protobuf:"fixed64,3,opt,name=width,proto3" json:"width,omitempty"`
	Height    float64 `protobuf:"fixed64,4,opt,name=height,proto3" json:"height,omitempty"`
	HasSize   bool    `protobuf:"varint,5,opt,name=has_size,json=hasSize,proto3" json:"has_size,omitempty"`
	Collapsed bool    `protobuf:"varint,6,opt,name=collapsed,proto3" json:"collapsed,omitempty"`
	// contains filtered or unexported fields
}

RenderGeometry locates a node on the rendering's canvas.

func (*RenderGeometry) Descriptor deprecated added in v0.10.0

func (*RenderGeometry) Descriptor() ([]byte, []int)

Deprecated: Use RenderGeometry.ProtoReflect.Descriptor instead.

func (*RenderGeometry) GetCollapsed added in v0.10.0

func (x *RenderGeometry) GetCollapsed() bool

func (*RenderGeometry) GetHasSize added in v0.10.0

func (x *RenderGeometry) GetHasSize() bool

func (*RenderGeometry) GetHeight added in v0.10.0

func (x *RenderGeometry) GetHeight() float64

func (*RenderGeometry) GetWidth added in v0.10.0

func (x *RenderGeometry) GetWidth() float64

func (*RenderGeometry) GetX added in v0.10.0

func (x *RenderGeometry) GetX() float64

func (*RenderGeometry) GetY added in v0.10.0

func (x *RenderGeometry) GetY() float64

func (*RenderGeometry) ProtoMessage added in v0.10.0

func (*RenderGeometry) ProtoMessage()

func (*RenderGeometry) ProtoReflect added in v0.10.0

func (x *RenderGeometry) ProtoReflect() protoreflect.Message

func (*RenderGeometry) Reset added in v0.10.0

func (x *RenderGeometry) Reset()

func (*RenderGeometry) String added in v0.10.0

func (x *RenderGeometry) String() string

type RenderNode added in v0.10.0

type RenderNode struct {
	Id              string        `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"`
	Kind            string        `protobuf:"bytes,2,opt,name=kind,proto3" json:"kind,omitempty"`
	Name            string        `protobuf:"bytes,3,opt,name=name,proto3" json:"name,omitempty"`
	NameSynthesized bool          `protobuf:"varint,4,opt,name=name_synthesized,json=nameSynthesized,proto3" json:"name_synthesized,omitempty"`
	Type            string        `protobuf:"bytes,5,opt,name=type,proto3" json:"type,omitempty"`
	Detail          string        `protobuf:"bytes,6,opt,name=detail,proto3" json:"detail,omitempty"`
	Text            string        `protobuf:"bytes,7,opt,name=text,proto3" json:"text,omitempty"`
	StandIn         bool          `protobuf:"varint,8,opt,name=stand_in,json=standIn,proto3" json:"stand_in,omitempty"`
	Parent          string        `protobuf:"bytes,9,opt,name=parent,proto3" json:"parent,omitempty"`
	Ports           []*RenderPort `protobuf:"bytes,10,rep,name=ports,proto3" json:"ports,omitempty"`
	Origin          *Span         `protobuf:"bytes,11,opt,name=origin,proto3" json:"origin,omitempty"`
	// Unset when no layout positions the node.
	Geometry *RenderGeometry `protobuf:"bytes,12,opt,name=geometry,proto3" json:"geometry,omitempty"`
	Style    *RenderStyle    `protobuf:"bytes,13,opt,name=style,proto3" json:"style,omitempty"`
	// contains filtered or unexported fields
}

RenderNode is one flattened node of the rendering.

func (*RenderNode) Descriptor deprecated added in v0.10.0

func (*RenderNode) Descriptor() ([]byte, []int)

Deprecated: Use RenderNode.ProtoReflect.Descriptor instead.

func (*RenderNode) GetDetail added in v0.10.0

func (x *RenderNode) GetDetail() string

func (*RenderNode) GetGeometry added in v0.10.0

func (x *RenderNode) GetGeometry() *RenderGeometry

func (*RenderNode) GetId added in v0.10.0

func (x *RenderNode) GetId() string

func (*RenderNode) GetKind added in v0.10.0

func (x *RenderNode) GetKind() string

func (*RenderNode) GetName added in v0.10.0

func (x *RenderNode) GetName() string

func (*RenderNode) GetNameSynthesized added in v0.10.0

func (x *RenderNode) GetNameSynthesized() bool

func (*RenderNode) GetOrigin added in v0.10.0

func (x *RenderNode) GetOrigin() *Span

func (*RenderNode) GetParent added in v0.10.0

func (x *RenderNode) GetParent() string

func (*RenderNode) GetPorts added in v0.10.0

func (x *RenderNode) GetPorts() []*RenderPort

func (*RenderNode) GetStandIn added in v0.10.0

func (x *RenderNode) GetStandIn() bool

func (*RenderNode) GetStyle added in v0.10.0

func (x *RenderNode) GetStyle() *RenderStyle

func (*RenderNode) GetText added in v0.10.0

func (x *RenderNode) GetText() string

func (*RenderNode) GetType added in v0.10.0

func (x *RenderNode) GetType() string

func (*RenderNode) ProtoMessage added in v0.10.0

func (*RenderNode) ProtoMessage()

func (*RenderNode) ProtoReflect added in v0.10.0

func (x *RenderNode) ProtoReflect() protoreflect.Message

func (*RenderNode) Reset added in v0.10.0

func (x *RenderNode) Reset()

func (*RenderNode) String added in v0.10.0

func (x *RenderNode) String() string

type RenderNote added in v0.10.0

type RenderNote struct {
	Text     string  `protobuf:"bytes,1,opt,name=text,proto3" json:"text,omitempty"`
	Anchor   string  `protobuf:"bytes,2,opt,name=anchor,proto3" json:"anchor,omitempty"`
	EdgeFrom string  `protobuf:"bytes,3,opt,name=edge_from,json=edgeFrom,proto3" json:"edge_from,omitempty"`
	EdgeTo   string  `protobuf:"bytes,4,opt,name=edge_to,json=edgeTo,proto3" json:"edge_to,omitempty"`
	X        float64 `protobuf:"fixed64,5,opt,name=x,proto3" json:"x,omitempty"`
	Y        float64 `protobuf:"fixed64,6,opt,name=y,proto3" json:"y,omitempty"`
	Width    float64 `protobuf:"fixed64,7,opt,name=width,proto3" json:"width,omitempty"`
	Height   float64 `protobuf:"fixed64,8,opt,name=height,proto3" json:"height,omitempty"`
	HasSize  bool    `protobuf:"varint,9,opt,name=has_size,json=hasSize,proto3" json:"has_size,omitempty"`
	Origin   *Span   `protobuf:"bytes,10,opt,name=origin,proto3" json:"origin,omitempty"`
	// contains filtered or unexported fields
}

RenderNote is a note box drawn on the rendering's canvas.

func (*RenderNote) Descriptor deprecated added in v0.10.0

func (*RenderNote) Descriptor() ([]byte, []int)

Deprecated: Use RenderNote.ProtoReflect.Descriptor instead.

func (*RenderNote) GetAnchor added in v0.10.0

func (x *RenderNote) GetAnchor() string

func (*RenderNote) GetEdgeFrom added in v0.10.0

func (x *RenderNote) GetEdgeFrom() string

func (*RenderNote) GetEdgeTo added in v0.10.0

func (x *RenderNote) GetEdgeTo() string

func (*RenderNote) GetHasSize added in v0.10.0

func (x *RenderNote) GetHasSize() bool

func (*RenderNote) GetHeight added in v0.10.0

func (x *RenderNote) GetHeight() float64

func (*RenderNote) GetOrigin added in v0.10.0

func (x *RenderNote) GetOrigin() *Span

func (*RenderNote) GetText added in v0.10.0

func (x *RenderNote) GetText() string

func (*RenderNote) GetWidth added in v0.10.0

func (x *RenderNote) GetWidth() float64

func (*RenderNote) GetX added in v0.10.0

func (x *RenderNote) GetX() float64

func (*RenderNote) GetY added in v0.10.0

func (x *RenderNote) GetY() float64

func (*RenderNote) ProtoMessage added in v0.10.0

func (*RenderNote) ProtoMessage()

func (*RenderNote) ProtoReflect added in v0.10.0

func (x *RenderNote) ProtoReflect() protoreflect.Message

func (*RenderNote) Reset added in v0.10.0

func (x *RenderNote) Reset()

func (*RenderNote) String added in v0.10.0

func (x *RenderNote) String() string

type RenderPoint added in v0.10.0

type RenderPoint struct {
	X float64 `protobuf:"fixed64,1,opt,name=x,proto3" json:"x,omitempty"`
	Y float64 `protobuf:"fixed64,2,opt,name=y,proto3" json:"y,omitempty"`
	// contains filtered or unexported fields
}

RenderPoint is a route waypoint on the rendering's canvas.

func (*RenderPoint) Descriptor deprecated added in v0.10.0

func (*RenderPoint) Descriptor() ([]byte, []int)

Deprecated: Use RenderPoint.ProtoReflect.Descriptor instead.

func (*RenderPoint) GetX added in v0.10.0

func (x *RenderPoint) GetX() float64

func (*RenderPoint) GetY added in v0.10.0

func (x *RenderPoint) GetY() float64

func (*RenderPoint) ProtoMessage added in v0.10.0

func (*RenderPoint) ProtoMessage()

func (*RenderPoint) ProtoReflect added in v0.10.0

func (x *RenderPoint) ProtoReflect() protoreflect.Message

func (*RenderPoint) Reset added in v0.10.0

func (x *RenderPoint) Reset()

func (*RenderPoint) String added in v0.10.0

func (x *RenderPoint) String() string

type RenderPort added in v0.10.0

type RenderPort struct {
	Id        string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"`
	Name      string `protobuf:"bytes,2,opt,name=name,proto3" json:"name,omitempty"`
	Type      string `protobuf:"bytes,3,opt,name=type,proto3" json:"type,omitempty"`
	Direction string `protobuf:"bytes,4,opt,name=direction,proto3" json:"direction,omitempty"`
	// contains filtered or unexported fields
}

RenderPort is a feature drawn on a node's border.

func (*RenderPort) Descriptor deprecated added in v0.10.0

func (*RenderPort) Descriptor() ([]byte, []int)

Deprecated: Use RenderPort.ProtoReflect.Descriptor instead.

func (*RenderPort) GetDirection added in v0.10.0

func (x *RenderPort) GetDirection() string

func (*RenderPort) GetId added in v0.10.0

func (x *RenderPort) GetId() string

func (*RenderPort) GetName added in v0.10.0

func (x *RenderPort) GetName() string

func (*RenderPort) GetType added in v0.10.0

func (x *RenderPort) GetType() string

func (*RenderPort) ProtoMessage added in v0.10.0

func (*RenderPort) ProtoMessage()

func (*RenderPort) ProtoReflect added in v0.10.0

func (x *RenderPort) ProtoReflect() protoreflect.Message

func (*RenderPort) Reset added in v0.10.0

func (x *RenderPort) Reset()

func (*RenderPort) String added in v0.10.0

func (x *RenderPort) String() string

type RenderRow added in v0.10.0

type RenderRow struct {
	Cells  []string `protobuf:"bytes,1,rep,name=cells,proto3" json:"cells,omitempty"`
	Origin *Span    `protobuf:"bytes,2,opt,name=origin,proto3" json:"origin,omitempty"`
	// contains filtered or unexported fields
}

RenderRow is one row of a tabular rendering.

func (*RenderRow) Descriptor deprecated added in v0.10.0

func (*RenderRow) Descriptor() ([]byte, []int)

Deprecated: Use RenderRow.ProtoReflect.Descriptor instead.

func (*RenderRow) GetCells added in v0.10.0

func (x *RenderRow) GetCells() []string

func (*RenderRow) GetOrigin added in v0.10.0

func (x *RenderRow) GetOrigin() *Span

func (*RenderRow) ProtoMessage added in v0.10.0

func (*RenderRow) ProtoMessage()

func (*RenderRow) ProtoReflect added in v0.10.0

func (x *RenderRow) ProtoReflect() protoreflect.Message

func (*RenderRow) Reset added in v0.10.0

func (x *RenderRow) Reset()

func (*RenderRow) String added in v0.10.0

func (x *RenderRow) String() string

type RenderStyle added in v0.10.0

type RenderStyle struct {
	Fill     string  `protobuf:"bytes,1,opt,name=fill,proto3" json:"fill,omitempty"`
	Line     string  `protobuf:"bytes,2,opt,name=line,proto3" json:"line,omitempty"`
	Text     string  `protobuf:"bytes,3,opt,name=text,proto3" json:"text,omitempty"`
	Font     string  `protobuf:"bytes,4,opt,name=font,proto3" json:"font,omitempty"`
	FontSize float64 `protobuf:"fixed64,5,opt,name=font_size,json=fontSize,proto3" json:"font_size,omitempty"`
	Bold     bool    `protobuf:"varint,6,opt,name=bold,proto3" json:"bold,omitempty"`
	Italic   bool    `protobuf:"varint,7,opt,name=italic,proto3" json:"italic,omitempty"`
	// contains filtered or unexported fields
}

RenderStyle is the optional styling of a node or edge.

func (*RenderStyle) Descriptor deprecated added in v0.10.0

func (*RenderStyle) Descriptor() ([]byte, []int)

Deprecated: Use RenderStyle.ProtoReflect.Descriptor instead.

func (*RenderStyle) GetBold added in v0.10.0

func (x *RenderStyle) GetBold() bool

func (*RenderStyle) GetFill added in v0.10.0

func (x *RenderStyle) GetFill() string

func (*RenderStyle) GetFont added in v0.10.0

func (x *RenderStyle) GetFont() string

func (*RenderStyle) GetFontSize added in v0.10.0

func (x *RenderStyle) GetFontSize() float64

func (*RenderStyle) GetItalic added in v0.10.0

func (x *RenderStyle) GetItalic() bool

func (*RenderStyle) GetLine added in v0.10.0

func (x *RenderStyle) GetLine() string

func (*RenderStyle) GetText added in v0.10.0

func (x *RenderStyle) GetText() string

func (*RenderStyle) ProtoMessage added in v0.10.0

func (*RenderStyle) ProtoMessage()

func (*RenderStyle) ProtoReflect added in v0.10.0

func (x *RenderStyle) ProtoReflect() protoreflect.Message

func (*RenderStyle) Reset added in v0.10.0

func (x *RenderStyle) Reset()

func (*RenderStyle) String added in v0.10.0

func (x *RenderStyle) String() string

type RenderViewRequest added in v0.10.0

type RenderViewRequest struct {
	ModelHash string `protobuf:"bytes,1,opt,name=model_hash,json=modelHash,proto3" json:"model_hash,omitempty"`
	// A qualified view name or "#<kind>:<qualified name>" pseudo-view.
	View string `protobuf:"bytes,2,opt,name=view,proto3" json:"view,omitempty"`
	// "" or "minimal" (the default), or "full", as view.ParsePorts reads it.
	Ports string `protobuf:"bytes,3,opt,name=ports,proto3" json:"ports,omitempty"`
	// contains filtered or unexported fields
}

RenderViewRequest names a declared view or targeted pseudo-view to render.

func (*RenderViewRequest) Descriptor deprecated added in v0.10.0

func (*RenderViewRequest) Descriptor() ([]byte, []int)

Deprecated: Use RenderViewRequest.ProtoReflect.Descriptor instead.

func (*RenderViewRequest) GetModelHash added in v0.10.0

func (x *RenderViewRequest) GetModelHash() string

func (*RenderViewRequest) GetPorts added in v0.10.0

func (x *RenderViewRequest) GetPorts() string

func (*RenderViewRequest) GetView added in v0.10.0

func (x *RenderViewRequest) GetView() string

func (*RenderViewRequest) ProtoMessage added in v0.10.0

func (*RenderViewRequest) ProtoMessage()

func (*RenderViewRequest) ProtoReflect added in v0.10.0

func (x *RenderViewRequest) ProtoReflect() protoreflect.Message

func (*RenderViewRequest) Reset added in v0.10.0

func (x *RenderViewRequest) Reset()

func (*RenderViewRequest) String added in v0.10.0

func (x *RenderViewRequest) String() string

type RenderViewResponse added in v0.10.0

type RenderViewResponse struct {
	View   string `protobuf:"bytes,1,opt,name=view,proto3" json:"view,omitempty"`
	Kind   string `protobuf:"bytes,2,opt,name=kind,proto3" json:"kind,omitempty"`
	Stated string `protobuf:"bytes,3,opt,name=stated,proto3" json:"stated,omitempty"`
	// Nodes are flattened with parents before children.
	Nodes   []*RenderNode `protobuf:"bytes,4,rep,name=nodes,proto3" json:"nodes,omitempty"`
	Edges   []*RenderEdge `protobuf:"bytes,5,rep,name=edges,proto3" json:"edges,omitempty"`
	Columns []string      `protobuf:"bytes,6,rep,name=columns,proto3" json:"columns,omitempty"`
	Rows    []*RenderRow  `protobuf:"bytes,7,rep,name=rows,proto3" json:"rows,omitempty"`
	// Unset when the view states no canvas.
	Canvas  *RenderCanvas `protobuf:"bytes,8,opt,name=canvas,proto3" json:"canvas,omitempty"`
	Notes   []*RenderNote `protobuf:"bytes,9,rep,name=notes,proto3" json:"notes,omitempty"`
	Notices []string      `protobuf:"bytes,10,rep,name=notices,proto3" json:"notices,omitempty"`
	// contains filtered or unexported fields
}

RenderViewResponse carries all machine-readable fields of the rendering.

func (*RenderViewResponse) Descriptor deprecated added in v0.10.0

func (*RenderViewResponse) Descriptor() ([]byte, []int)

Deprecated: Use RenderViewResponse.ProtoReflect.Descriptor instead.

func (*RenderViewResponse) GetCanvas added in v0.10.0

func (x *RenderViewResponse) GetCanvas() *RenderCanvas

func (*RenderViewResponse) GetColumns added in v0.10.0

func (x *RenderViewResponse) GetColumns() []string

func (*RenderViewResponse) GetEdges added in v0.10.0

func (x *RenderViewResponse) GetEdges() []*RenderEdge

func (*RenderViewResponse) GetKind added in v0.10.0

func (x *RenderViewResponse) GetKind() string

func (*RenderViewResponse) GetNodes added in v0.10.0

func (x *RenderViewResponse) GetNodes() []*RenderNode

func (*RenderViewResponse) GetNotes added in v0.10.0

func (x *RenderViewResponse) GetNotes() []*RenderNote

func (*RenderViewResponse) GetNotices added in v0.10.0

func (x *RenderViewResponse) GetNotices() []string

func (*RenderViewResponse) GetRows added in v0.10.0

func (x *RenderViewResponse) GetRows() []*RenderRow

func (*RenderViewResponse) GetStated added in v0.10.0

func (x *RenderViewResponse) GetStated() string

func (*RenderViewResponse) GetView added in v0.10.0

func (x *RenderViewResponse) GetView() string

func (*RenderViewResponse) ProtoMessage added in v0.10.0

func (*RenderViewResponse) ProtoMessage()

func (*RenderViewResponse) ProtoReflect added in v0.10.0

func (x *RenderViewResponse) ProtoReflect() protoreflect.Message

func (*RenderViewResponse) Reset added in v0.10.0

func (x *RenderViewResponse) Reset()

func (*RenderViewResponse) String added in v0.10.0

func (x *RenderViewResponse) 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. A path from a declaration, as
	// `Mission::mission.vehicle`, makes the subject the object the path reaches in
	// an object of the declaration built for the run — every explored run its own
	// — so what the assembly binds and connects on it is in force.
	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. The query runs over the objects Instantiate created for the model, which a binding may name (DocumentObject) and `DocumentQueries::Objects` and `Verdicts` reach.

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 (*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,
	// or a path from one to a nested object; see RunAnalysisRequest.subject_symbol_id.
	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.
	//	"edit_documents" - ApplyEdits edits a model of several documents as one
	//	               batch for a request setting accept_documents, targets the
	//	               document the request names, and answers each edited
	//	               document by name in `documents`, each referrer of a refusal
	//	               with its document in `referrers`, and each applied edit's
	//	               `document`. Without it those fields are empty, a model of
	//	               several documents is refused with FAILED_PRECONDITION, and
	//	               a request naming a document is refused with UNIMPLEMENTED.
	//	"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.
	//	"render_view" - the RenderView RPC renders a declared view or targeted
	//	               pseudo-view as machine-readable diagram data.
	//	"export_graphs" - the ExportGraphs RPC exports the lowered graph of an
	//	               action or state machine as canonical graphs:1 JSON.
	//	"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.
	//	"state_trace"  - ExecuteStateRequest can ask for the run's typed trace in
	//	               ExecuteStateResponse.trace, including records before a failure.
	//	               Traces are unavailable under an explore schedule.
	//	"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) Descriptor() ([]byte, []int)

Deprecated: Use Span.ProtoReflect.Descriptor instead.

func (*Span) GetEndCol

func (x *Span) GetEndCol() int32

func (*Span) GetEndLine

func (x *Span) GetEndLine() int32

func (*Span) GetFile

func (x *Span) GetFile() string

func (*Span) GetStartCol

func (x *Span) GetStartCol() int32

func (*Span) GetStartLine

func (x *Span) GetStartLine() int32

func (*Span) ProtoMessage

func (*Span) ProtoMessage()

func (*Span) ProtoReflect

func (x *Span) ProtoReflect() protoreflect.Message

func (*Span) Reset

func (x *Span) Reset()

func (*Span) String

func (x *Span) String() string

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) Descriptor() ([]byte, []int)

Deprecated: Use SweepRow.ProtoReflect.Descriptor instead.

func (*SweepRow) GetElapsedMicros added in v0.7.0

func (x *SweepRow) GetElapsedMicros() int64

func (*SweepRow) GetError added in v0.7.0

func (x *SweepRow) GetError() string

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 (x *SweepRow) GetVerdicts() []*Verdict

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

func (*SweepRow) Reset added in v0.7.0

func (x *SweepRow) Reset()

func (*SweepRow) String added in v0.7.0

func (x *SweepRow) String() string

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. A SysML v1 model is refused: it is migrated, not
	// converted (Migrate). Reported as the "convert" capability.
	Convert(ctx context.Context, in *ConvertRequest, opts ...grpc.CallOption) (*ConvertResponse, error)
	// Migrate a SysML v1 model — UML XMI with the SysML profile applied, an
	// Eclipse UML2 .uml file or a Cameo/MagicDraw .mdzip archive — to SysML v2,
	// written in one of the representations Convert writes. Migration is not a
	// lossless conversion: every v1 element is mapped, approximated or left
	// unmapped, and the response's report says which, element by element.
	// Reported as the "migrate" capability.
	Migrate(ctx context.Context, in *MigrateRequest, opts ...grpc.CallOption) (*MigrateResponse, 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)
	// Validate an object as a whole, as the REPL's %validate and the CLI's
	// -validate=<object> do: every assertion about an object of the named part
	// and about the objects it holds — the asserted constraints of their types,
	// the requirements they carry and the satisfactions they are the subject of —
	// each answered on the concrete object it is about. Reported as the
	// "verification" capability.
	ValidateInstance(ctx context.Context, in *ValidateInstanceRequest, opts ...grpc.CallOption) (*ValidateInstanceResponse, 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)
	// Render a named view or targeted pseudo-view as machine-readable diagram
	// data. Reported as the "render_view" capability.
	RenderView(ctx context.Context, in *RenderViewRequest, opts ...grpc.CallOption) (*RenderViewResponse, error)
	// Export the lowered graph of an action or a state machine — the subject's
	// and every behavior it performs — as the canonical `graphs:<version>` JSON
	// external analysis engines read. Reported as the "export_graphs" capability.
	ExportGraphs(ctx context.Context, in *ExportGraphsRequest, opts ...grpc.CallOption) (*ExportGraphsResponse, 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.

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. A SysML v1 model is refused: it is migrated, not
	// converted (Migrate). Reported as the "convert" capability.
	Convert(context.Context, *ConvertRequest) (*ConvertResponse, error)
	// Migrate a SysML v1 model — UML XMI with the SysML profile applied, an
	// Eclipse UML2 .uml file or a Cameo/MagicDraw .mdzip archive — to SysML v2,
	// written in one of the representations Convert writes. Migration is not a
	// lossless conversion: every v1 element is mapped, approximated or left
	// unmapped, and the response's report says which, element by element.
	// Reported as the "migrate" capability.
	Migrate(context.Context, *MigrateRequest) (*MigrateResponse, 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)
	// Validate an object as a whole, as the REPL's %validate and the CLI's
	// -validate=<object> do: every assertion about an object of the named part
	// and about the objects it holds — the asserted constraints of their types,
	// the requirements they carry and the satisfactions they are the subject of —
	// each answered on the concrete object it is about. Reported as the
	// "verification" capability.
	ValidateInstance(context.Context, *ValidateInstanceRequest) (*ValidateInstanceResponse, 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)
	// Render a named view or targeted pseudo-view as machine-readable diagram
	// data. Reported as the "render_view" capability.
	RenderView(context.Context, *RenderViewRequest) (*RenderViewResponse, error)
	// Export the lowered graph of an action or a state machine — the subject's
	// and every behavior it performs — as the canonical `graphs:<version>` JSON
	// external analysis engines read. Reported as the "export_graphs" capability.
	ExportGraphs(context.Context, *ExportGraphsRequest) (*ExportGraphsResponse, 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) Descriptor() ([]byte, []int)

Deprecated: Use TypeInfo.ProtoReflect.Descriptor instead.

func (*TypeInfo) GetDeclared

func (x *TypeInfo) GetDeclared() string

func (*TypeInfo) GetPrimitive

func (x *TypeInfo) GetPrimitive() string

func (*TypeInfo) GetPrimitiveSource

func (x *TypeInfo) GetPrimitiveSource() string

func (*TypeInfo) GetQuantity

func (x *TypeInfo) GetQuantity() bool

func (*TypeInfo) GetResolvedId

func (x *TypeInfo) GetResolvedId() string

func (*TypeInfo) GetResolvedKind

func (x *TypeInfo) GetResolvedKind() string

func (*TypeInfo) GetUnit

func (x *TypeInfo) GetUnit() string

func (*TypeInfo) ProtoMessage

func (*TypeInfo) ProtoMessage()

func (*TypeInfo) ProtoReflect

func (x *TypeInfo) ProtoReflect() protoreflect.Message

func (*TypeInfo) Reset

func (x *TypeInfo) Reset()

func (*TypeInfo) String

func (x *TypeInfo) String() string

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) Convert

func (UnimplementedSysMLServiceServer) Evaluate

func (UnimplementedSysMLServiceServer) EvaluateCalc

func (UnimplementedSysMLServiceServer) ExecuteAction

func (UnimplementedSysMLServiceServer) ExecuteState

func (UnimplementedSysMLServiceServer) ExportGraphs added in v0.10.0

func (UnimplementedSysMLServiceServer) GetDiagnostics

func (UnimplementedSysMLServiceServer) GetServerInfo

func (UnimplementedSysMLServiceServer) GetSymbol

func (UnimplementedSysMLServiceServer) Instantiate

func (UnimplementedSysMLServiceServer) ListEngines added in v0.8.0

func (UnimplementedSysMLServiceServer) Migrate added in v0.10.0

func (UnimplementedSysMLServiceServer) ParseFile

func (UnimplementedSysMLServiceServer) ParseSources added in v0.4.2

func (UnimplementedSysMLServiceServer) Query

func (UnimplementedSysMLServiceServer) RenderDocument added in v0.4.2

func (UnimplementedSysMLServiceServer) RenderView added in v0.10.0

func (UnimplementedSysMLServiceServer) RunAnalysis added in v0.6.0

func (UnimplementedSysMLServiceServer) RunDocumentQuery added in v0.4.2

func (UnimplementedSysMLServiceServer) RunSweep added in v0.7.0

func (UnimplementedSysMLServiceServer) ValidateInstance added in v0.9.0

func (UnimplementedSysMLServiceServer) VerifyConstraint

func (UnimplementedSysMLServiceServer) VerifyRequirement

func (UnimplementedSysMLServiceServer) VerifySatisfaction

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) Descriptor() ([]byte, []int)

Deprecated: Use UnitTerm.ProtoReflect.Descriptor instead.

func (*UnitTerm) GetFactors

func (x *UnitTerm) GetFactors() []*UnitFactor

func (*UnitTerm) GetScaleDen

func (x *UnitTerm) GetScaleDen() float64

func (*UnitTerm) GetScaleNum

func (x *UnitTerm) GetScaleNum() float64

func (*UnitTerm) ProtoMessage

func (*UnitTerm) ProtoMessage()

func (*UnitTerm) ProtoReflect

func (x *UnitTerm) ProtoReflect() protoreflect.Message

func (*UnitTerm) Reset

func (x *UnitTerm) Reset()

func (*UnitTerm) String

func (x *UnitTerm) String() string

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 ValidateInstanceRequest added in v0.9.0

type ValidateInstanceRequest struct {
	ModelHash string `protobuf:"bytes,1,opt,name=model_hash,json=modelHash,proto3" json:"model_hash,omitempty"`
	// FQN of the part or usage an object of which is validated.
	SymbolId string `protobuf:"bytes,2,opt,name=symbol_id,json=symbolId,proto3" json:"symbol_id,omitempty"`
	// The engine the validation is put to; see VerifyConstraintRequest.engine.
	Engine string `protobuf:"bytes,3,opt,name=engine,proto3" json:"engine,omitempty"`
	// contains filtered or unexported fields
}

ValidateInstanceRequest asks for every assertion about an object of a part, as %validate does: the object is built for the call.

func (*ValidateInstanceRequest) Descriptor deprecated added in v0.9.0

func (*ValidateInstanceRequest) Descriptor() ([]byte, []int)

Deprecated: Use ValidateInstanceRequest.ProtoReflect.Descriptor instead.

func (*ValidateInstanceRequest) GetEngine added in v0.9.0

func (x *ValidateInstanceRequest) GetEngine() string

func (*ValidateInstanceRequest) GetModelHash added in v0.9.0

func (x *ValidateInstanceRequest) GetModelHash() string

func (*ValidateInstanceRequest) GetSymbolId added in v0.9.0

func (x *ValidateInstanceRequest) GetSymbolId() string

func (*ValidateInstanceRequest) ProtoMessage added in v0.9.0

func (*ValidateInstanceRequest) ProtoMessage()

func (*ValidateInstanceRequest) ProtoReflect added in v0.9.0

func (x *ValidateInstanceRequest) ProtoReflect() protoreflect.Message

func (*ValidateInstanceRequest) Reset added in v0.9.0

func (x *ValidateInstanceRequest) Reset()

func (*ValidateInstanceRequest) String added in v0.9.0

func (x *ValidateInstanceRequest) String() string

type ValidateInstanceResponse added in v0.9.0

type ValidateInstanceResponse struct {

	// One per assertion: kind "constraint", "requirement" or "satisfy", about the
	// object `instance_id` names, reached along `instance_path`.
	Verdicts []*Verdict `protobuf:"bytes,1,rep,name=verdicts,proto3" json:"verdicts,omitempty"`
	// The object as a whole, kind "object": holds when every assertion holds and
	// every held object was reached. With `error` empty, false is the model's
	// answer, some assertion failing; with `error` set, nothing was decided, an
	// assertion being undecided or nesting left unreached.
	Summary *Verdict `protobuf:"bytes,2,opt,name=summary,proto3" json:"summary,omitempty"`
	// Every object reached, the validated one first, so a client can read the
	// feature values behind each verdict.
	Instances   []*Instance   `protobuf:"bytes,3,rep,name=instances,proto3" json:"instances,omitempty"`
	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 of every verification case verifying a requirement a verdict
	// is about answered, once per requirement; each names its requirement, which
	// the requirement and satisfy verdicts carry as their requirement_id.
	VerificationVerdicts []*VerificationVerdict `protobuf:"bytes,7,rep,name=verification_verdicts,json=verificationVerdicts,proto3" json:"verification_verdicts,omitempty"`
	// True when nesting deeper than the validation descends, or past its budget,
	// was left unvalidated; the summary then decides nothing.
	Bounded bool `protobuf:"varint,8,opt,name=bounded,proto3" json:"bounded,omitempty"`
	// contains filtered or unexported fields
}

ValidateInstanceResponse carries one verdict per assertion, in the order the objects were reached from the validated one, and the verdict about the object as a whole. An object no assertion is about has an empty list and a summary that decides nothing.

func (*ValidateInstanceResponse) Descriptor deprecated added in v0.9.0

func (*ValidateInstanceResponse) Descriptor() ([]byte, []int)

Deprecated: Use ValidateInstanceResponse.ProtoReflect.Descriptor instead.

func (*ValidateInstanceResponse) GetBounded added in v0.9.0

func (x *ValidateInstanceResponse) GetBounded() bool

func (*ValidateInstanceResponse) GetDiagnostics added in v0.9.0

func (x *ValidateInstanceResponse) GetDiagnostics() []*Diagnostic

func (*ValidateInstanceResponse) GetError added in v0.9.0

func (x *ValidateInstanceResponse) GetError() string

func (*ValidateInstanceResponse) GetFailureReason added in v0.9.0

func (x *ValidateInstanceResponse) GetFailureReason() FailureReason

func (*ValidateInstanceResponse) GetInstances added in v0.9.0

func (x *ValidateInstanceResponse) GetInstances() []*Instance

func (*ValidateInstanceResponse) GetSummary added in v0.9.0

func (x *ValidateInstanceResponse) GetSummary() *Verdict

func (*ValidateInstanceResponse) GetVerdicts added in v0.9.0

func (x *ValidateInstanceResponse) GetVerdicts() []*Verdict

func (*ValidateInstanceResponse) GetVerificationVerdicts added in v0.9.0

func (x *ValidateInstanceResponse) GetVerificationVerdicts() []*VerificationVerdict

func (*ValidateInstanceResponse) ProtoMessage added in v0.9.0

func (*ValidateInstanceResponse) ProtoMessage()

func (*ValidateInstanceResponse) ProtoReflect added in v0.9.0

func (x *ValidateInstanceResponse) ProtoReflect() protoreflect.Message

func (*ValidateInstanceResponse) Reset added in v0.9.0

func (x *ValidateInstanceResponse) Reset()

func (*ValidateInstanceResponse) String added in v0.9.0

func (x *ValidateInstanceResponse) String() string

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
	//	*Value_BigIntValue
	//	*Value_RationalValue
	Kind isValue_Kind `protobuf_oneof:"kind"`
	// contains filtered or unexported fields
}

Value represents a runtime-evaluable value

func (*Value) Descriptor deprecated

func (*Value) Descriptor() ([]byte, []int)

Deprecated: Use Value.ProtoReflect.Descriptor instead.

func (*Value) GetArray added in v0.6.0

func (x *Value) GetArray() *Array

func (*Value) GetBigIntValue added in v0.10.0

func (x *Value) GetBigIntValue() string

func (*Value) GetBoolValue

func (x *Value) GetBoolValue() bool

func (*Value) GetComplex added in v0.5.0

func (x *Value) GetComplex() *Complex

func (*Value) GetEnumLiteral

func (x *Value) GetEnumLiteral() *EnumLiteral

func (*Value) GetFunction added in v0.7.0

func (x *Value) GetFunction() *Function

func (*Value) GetInfinity added in v0.7.0

func (x *Value) GetInfinity() bool

func (*Value) GetInstanceId

func (x *Value) GetInstanceId() int64

func (*Value) GetIntValue

func (x *Value) GetIntValue() int64

func (*Value) GetKind

func (x *Value) GetKind() isValue_Kind

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) GetNull

func (x *Value) GetNull() string

func (*Value) GetQuantity

func (x *Value) GetQuantity() *Quantity

func (*Value) GetRationalValue added in v0.10.0

func (x *Value) GetRationalValue() *Rational

func (*Value) GetRealValue

func (x *Value) GetRealValue() float64

func (*Value) GetSequence

func (x *Value) GetSequence() *ValueSequence

func (*Value) GetSet added in v0.7.0

func (x *Value) GetSet() *ValueSet

func (*Value) GetStringValue

func (x *Value) GetStringValue() string

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) GetUnset

func (x *Value) GetUnset() bool

func (*Value) GetVector added in v0.6.0

func (x *Value) GetVector() *Vector

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

func (*Value) Reset

func (x *Value) Reset()

func (*Value) String

func (x *Value) String() string

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) Descriptor() ([]byte, []int)

Deprecated: Use ValueSet.ProtoReflect.Descriptor instead.

func (*ValueSet) GetElements added in v0.7.0

func (x *ValueSet) GetElements() []*Value

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

func (*ValueSet) Reset added in v0.7.0

func (x *ValueSet) Reset()

func (*ValueSet) String added in v0.7.0

func (x *ValueSet) String() string

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_BigIntValue added in v0.10.0

type Value_BigIntValue struct {
	// An Integer beyond int64, in decimal (`-` signed, no `+`, no leading
	// zeros). An Integer that fits int64 is always int_value, never this.
	BigIntValue string `protobuf:"bytes,22,opt,name=big_int_value,json=bigIntValue,proto3,oneof"`
}

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_RationalValue added in v0.10.0

type Value_RationalValue struct {
	// An exact Rational (KerML 9.3.2.2.8), as `0.1` or `1 / 3` evaluates. The
	// server answers one a double holds exactly as real_value; a client sends
	// any exact Rational here, and an inbound real_value is always a Real.
	RationalValue *Rational `protobuf:"bytes,23,opt,name=rational_value,json=rationalValue,proto3,oneof"`
}

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) Descriptor() ([]byte, []int)

Deprecated: Use Vector.ProtoReflect.Descriptor instead.

func (*Vector) GetComponents added in v0.6.0

func (x *Vector) GetComponents() []*Value

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

func (*Vector) Reset added in v0.6.0

func (x *Vector) Reset()

func (*Vector) String added in v0.6.0

func (x *Vector) String() string

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"; for the summary
	// of a ValidateInstance, "object".
	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"`
	// For a verdict ValidateInstance reports: the path from the validated object
	// to the object this verdict is about, as the REPL spells it ("engine",
	// "wheels[2]", "engine.injector"). Empty for the validated object itself,
	// and for every other RPC.
	InstancePath string `protobuf:"bytes,14,opt,name=instance_path,json=instancePath,proto3" json:"instance_path,omitempty"`
	// The question the verdict answers: "evaluate" for an evaluation, "holds"
	// for a claim proved over every free assignment, "satisfiable" for one
	// satisfying assignment. Reported as the "verification_questions" capability.
	Question string `protobuf:"bytes,15,opt,name=question,proto3" json:"question,omitempty"`
	// What the question was answered: "holds", "violated" or "undecided" for
	// an evaluation or a holds question (undecided names `error` carrying the
	// reason), "satisfiable" or "unsatisfiable" for a satisfiable question.
	// `holds` is true iff status is "holds" or "satisfiable".
	Status string `protobuf:"bytes,16,opt,name=status,proto3" json:"status,omitempty"`
	// The assignment witnessing a "violated" holds answer or a "satisfiable"
	// satisfiable one: the query's free variables, in query order. Never set
	// for an undecided answer. Reported as the "verification_questions" capability.
	Witness []*WitnessAssignment `protobuf:"bytes,17,rep,name=witness,proto3" json:"witness,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) Descriptor() ([]byte, []int)

Deprecated: Use Verdict.ProtoReflect.Descriptor instead.

func (*Verdict) GetBounds added in v0.8.0

func (x *Verdict) GetBounds() []*Bound

func (*Verdict) GetCondition

func (x *Verdict) GetCondition() string

func (*Verdict) GetElement

func (x *Verdict) GetElement() string

func (*Verdict) GetElementId

func (x *Verdict) GetElementId() string

func (*Verdict) GetEngine added in v0.8.0

func (x *Verdict) GetEngine() string

func (*Verdict) GetError

func (x *Verdict) GetError() string

func (*Verdict) GetFailureReason

func (x *Verdict) GetFailureReason() FailureReason

func (*Verdict) GetHolds

func (x *Verdict) GetHolds() bool

func (*Verdict) GetInstanceId

func (x *Verdict) GetInstanceId() int64

func (*Verdict) GetInstancePath added in v0.9.0

func (x *Verdict) GetInstancePath() string

func (*Verdict) GetInstanceTypeId

func (x *Verdict) GetInstanceTypeId() string

func (*Verdict) GetKind

func (x *Verdict) GetKind() string

func (*Verdict) GetQuestion added in v0.9.2

func (x *Verdict) GetQuestion() string

func (*Verdict) GetRequirementId added in v0.7.0

func (x *Verdict) GetRequirementId() string

func (*Verdict) GetStatus added in v0.9.2

func (x *Verdict) GetStatus() string

func (*Verdict) GetStrength added in v0.8.0

func (x *Verdict) GetStrength() string

func (*Verdict) GetWitness added in v0.9.2

func (x *Verdict) GetWitness() []*WitnessAssignment

func (*Verdict) ProtoMessage

func (*Verdict) ProtoMessage()

func (*Verdict) ProtoReflect

func (x *Verdict) ProtoReflect() protoreflect.Message

func (*Verdict) Reset

func (x *Verdict) Reset()

func (*Verdict) String

func (x *Verdict) String() string

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. A path from a
	// declaration, as `Mission::mission.vehicle`, instantiates the declaration and
	// evaluates against the object the path reaches, inside the assembly built
	// around it; an index picks from a multi-valued usage, `convoy.escorts[2]`.
	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"`
	// The question asked: "evaluate" (unset, today's behavior) evaluates the
	// declared values; "holds" asks whether the claim holds over every
	// assignment of the free features; "satisfiable" asks whether one
	// assignment satisfies it. Anything else is INVALID_ARGUMENT. The two
	// solver questions are reported as the "verification_questions" capability
	// and need an SMT solver.
	Question string `protobuf:"bytes,5,opt,name=question,proto3" json:"question,omitempty"`
	// Values for the constraint's `in` parameters, in declaration order, as
	// RunAnalysisRequest.arguments binds a case's; an argument the constraint
	// does not take is INVALID_ARGUMENT, as is a parameter left without an
	// argument or default. Reported as the "verification_arguments" capability.
	Arguments []*Value `protobuf:"bytes,6,rep,name=arguments,proto3" json:"arguments,omitempty"`
	// Values for `in` parameters by name; see arguments.
	NamedArguments map[string]*Value `` /* 177-byte string literal not displayed */
	// 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) GetArguments added in v0.10.0

func (x *VerifyConstraintRequest) GetArguments() []*Value

func (*VerifyConstraintRequest) GetEngine added in v0.8.0

func (x *VerifyConstraintRequest) GetEngine() string

func (*VerifyConstraintRequest) GetModelHash

func (x *VerifyConstraintRequest) GetModelHash() string

func (*VerifyConstraintRequest) GetNamedArguments added in v0.10.0

func (x *VerifyConstraintRequest) GetNamedArguments() map[string]*Value

func (*VerifyConstraintRequest) GetQuestion added in v0.9.2

func (x *VerifyConstraintRequest) GetQuestion() 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, or a path
	// from one to a nested object; see VerifyConstraintRequest.subject_symbol_id.
	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"`
	// The question asked; see VerifyConstraintRequest.question.
	Question string `protobuf:"bytes,5,opt,name=question,proto3" json:"question,omitempty"`
	// Values for the requirement's `in` parameters, positional and by name; see
	// VerifyConstraintRequest.arguments. Reported as the "verification_arguments"
	// capability.
	Arguments      []*Value          `protobuf:"bytes,6,rep,name=arguments,proto3" json:"arguments,omitempty"`
	NamedArguments map[string]*Value `` /* 177-byte string literal not displayed */
	// 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) GetArguments added in v0.10.0

func (x *VerifyRequirementRequest) GetArguments() []*Value

func (*VerifyRequirementRequest) GetEngine added in v0.8.0

func (x *VerifyRequirementRequest) GetEngine() string

func (*VerifyRequirementRequest) GetModelHash

func (x *VerifyRequirementRequest) GetModelHash() string

func (*VerifyRequirementRequest) GetNamedArguments added in v0.10.0

func (x *VerifyRequirementRequest) GetNamedArguments() map[string]*Value

func (*VerifyRequirementRequest) GetQuestion added in v0.9.2

func (x *VerifyRequirementRequest) GetQuestion() 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 (*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"`
	// The question every assertion is put to; see VerifyConstraintRequest.question.
	Question string `protobuf:"bytes,4,opt,name=question,proto3" json:"question,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) GetQuestion added in v0.9.2

func (x *VerifySatisfactionRequest) GetQuestion() string

func (*VerifySatisfactionRequest) GetSymbolId

func (x *VerifySatisfactionRequest) GetSymbolId() string

func (*VerifySatisfactionRequest) ProtoMessage

func (*VerifySatisfactionRequest) ProtoMessage()

func (*VerifySatisfactionRequest) ProtoReflect

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 (*VerifySatisfactionResponse) Reset

func (x *VerifySatisfactionResponse) Reset()

func (*VerifySatisfactionResponse) String

func (x *VerifySatisfactionResponse) String() string

type WitnessAssignment added in v0.9.2

type WitnessAssignment struct {

	// The variable's feature, as a qualified name with chain steps appended
	// with '.'.
	Feature string `protobuf:"bytes,1,opt,name=feature,proto3" json:"feature,omitempty"`
	// The value the evaluator replayed: a bool, an int, a real as the float64
	// of the exact rational, an enum literal.
	Value *Value `protobuf:"bytes,2,opt,name=value,proto3" json:"value,omitempty"`
	// The base units a magnitude is expressed in; empty when dimensionless.
	Unit string `protobuf:"bytes,3,opt,name=unit,proto3" json:"unit,omitempty"`
	// The solver's exact value as text: a rational for a real, the literal's
	// name for an enum.
	Exact string `protobuf:"bytes,4,opt,name=exact,proto3" json:"exact,omitempty"`
	// contains filtered or unexported fields
}

WitnessAssignment is one free variable's value in a witnessed assignment: the assignment the solver found, replayed by the evaluator.

func (*WitnessAssignment) Descriptor deprecated added in v0.9.2

func (*WitnessAssignment) Descriptor() ([]byte, []int)

Deprecated: Use WitnessAssignment.ProtoReflect.Descriptor instead.

func (*WitnessAssignment) GetExact added in v0.9.2

func (x *WitnessAssignment) GetExact() string

func (*WitnessAssignment) GetFeature added in v0.9.2

func (x *WitnessAssignment) GetFeature() string

func (*WitnessAssignment) GetUnit added in v0.9.2

func (x *WitnessAssignment) GetUnit() string

func (*WitnessAssignment) GetValue added in v0.9.2

func (x *WitnessAssignment) GetValue() *Value

func (*WitnessAssignment) ProtoMessage added in v0.9.2

func (*WitnessAssignment) ProtoMessage()

func (*WitnessAssignment) ProtoReflect added in v0.9.2

func (x *WitnessAssignment) ProtoReflect() protoreflect.Message

func (*WitnessAssignment) Reset added in v0.9.2

func (x *WitnessAssignment) Reset()

func (*WitnessAssignment) String added in v0.9.2

func (x *WitnessAssignment) String() string

Directories

Path Synopsis

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL