parserv1

package
v3.2.7 Latest Latest
Warning

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

Go to latest
Published: Apr 22, 2024 License: Apache-2.0 Imports: 9 Imported by: 0

Documentation

Index

Constants

View Source
const (
	ParserService_Deserialize_FullMethodName = "/runme.parser.v1.ParserService/Deserialize"
	ParserService_Serialize_FullMethodName   = "/runme.parser.v1.ParserService/Serialize"
)

Variables

View Source
var (
	CellKind_name = map[int32]string{
		0: "CELL_KIND_UNSPECIFIED",
		1: "CELL_KIND_MARKUP",
		2: "CELL_KIND_CODE",
	}
	CellKind_value = map[string]int32{
		"CELL_KIND_UNSPECIFIED": 0,
		"CELL_KIND_MARKUP":      1,
		"CELL_KIND_CODE":        2,
	}
)

Enum value maps for CellKind.

View Source
var (
	RunmeIdentity_name = map[int32]string{
		0: "RUNME_IDENTITY_UNSPECIFIED",
		1: "RUNME_IDENTITY_ALL",
		2: "RUNME_IDENTITY_DOCUMENT",
		3: "RUNME_IDENTITY_CELL",
	}
	RunmeIdentity_value = map[string]int32{
		"RUNME_IDENTITY_UNSPECIFIED": 0,
		"RUNME_IDENTITY_ALL":         1,
		"RUNME_IDENTITY_DOCUMENT":    2,
		"RUNME_IDENTITY_CELL":        3,
	}
)

Enum value maps for RunmeIdentity.

View Source
var File_runme_parser_v1_parser_proto protoreflect.FileDescriptor
View Source
var ParserService_ServiceDesc = grpc.ServiceDesc{
	ServiceName: "runme.parser.v1.ParserService",
	HandlerType: (*ParserServiceServer)(nil),
	Methods: []grpc.MethodDesc{
		{
			MethodName: "Deserialize",
			Handler:    _ParserService_Deserialize_Handler,
		},
		{
			MethodName: "Serialize",
			Handler:    _ParserService_Serialize_Handler,
		},
	},
	Streams:  []grpc.StreamDesc{},
	Metadata: "runme/parser/v1/parser.proto",
}

ParserService_ServiceDesc is the grpc.ServiceDesc for ParserService service. It's only intended for direct use with grpc.RegisterService, and not to be introspected or modified (even as a copy)

Functions

func RegisterParserServiceServer

func RegisterParserServiceServer(s grpc.ServiceRegistrar, srv ParserServiceServer)

Types

type Cell

type Cell struct {
	Kind             CellKind              `protobuf:"varint,1,opt,name=kind,proto3,enum=runme.parser.v1.CellKind" json:"kind,omitempty"`
	Value            string                `protobuf:"bytes,2,opt,name=value,proto3" json:"value,omitempty"`
	LanguageId       string                `protobuf:"bytes,3,opt,name=language_id,json=languageId,proto3" json:"language_id,omitempty"`
	Metadata         map[string]string     `` /* 157-byte string literal not displayed */
	TextRange        *TextRange            `protobuf:"bytes,5,opt,name=text_range,json=textRange,proto3" json:"text_range,omitempty"`
	Outputs          []*CellOutput         `protobuf:"bytes,6,rep,name=outputs,proto3" json:"outputs,omitempty"`
	ExecutionSummary *CellExecutionSummary `protobuf:"bytes,7,opt,name=execution_summary,json=executionSummary,proto3" json:"execution_summary,omitempty"`
	// contains filtered or unexported fields
}

func (*Cell) Descriptor deprecated

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

Deprecated: Use Cell.ProtoReflect.Descriptor instead.

func (*Cell) GetExecutionSummary

func (x *Cell) GetExecutionSummary() *CellExecutionSummary

func (*Cell) GetKind

func (x *Cell) GetKind() CellKind

func (*Cell) GetLanguageId

func (x *Cell) GetLanguageId() string

func (*Cell) GetMetadata

func (x *Cell) GetMetadata() map[string]string

func (*Cell) GetOutputs

func (x *Cell) GetOutputs() []*CellOutput

func (*Cell) GetTextRange

func (x *Cell) GetTextRange() *TextRange

func (*Cell) GetValue

func (x *Cell) GetValue() string

func (*Cell) ProtoMessage

func (*Cell) ProtoMessage()

func (*Cell) ProtoReflect

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

func (*Cell) Reset

func (x *Cell) Reset()

func (*Cell) String

func (x *Cell) String() string

type CellExecutionSummary

type CellExecutionSummary struct {
	ExecutionOrder *wrapperspb.UInt32Value `protobuf:"bytes,1,opt,name=execution_order,json=executionOrder,proto3" json:"execution_order,omitempty"`
	Success        *wrapperspb.BoolValue   `protobuf:"bytes,2,opt,name=success,proto3" json:"success,omitempty"`
	Timing         *ExecutionSummaryTiming `protobuf:"bytes,3,opt,name=timing,proto3" json:"timing,omitempty"`
	// contains filtered or unexported fields
}

func (*CellExecutionSummary) Descriptor deprecated

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

Deprecated: Use CellExecutionSummary.ProtoReflect.Descriptor instead.

func (*CellExecutionSummary) GetExecutionOrder

func (x *CellExecutionSummary) GetExecutionOrder() *wrapperspb.UInt32Value

func (*CellExecutionSummary) GetSuccess

func (x *CellExecutionSummary) GetSuccess() *wrapperspb.BoolValue

func (*CellExecutionSummary) GetTiming

func (*CellExecutionSummary) ProtoMessage

func (*CellExecutionSummary) ProtoMessage()

func (*CellExecutionSummary) ProtoReflect

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

func (*CellExecutionSummary) Reset

func (x *CellExecutionSummary) Reset()

func (*CellExecutionSummary) String

func (x *CellExecutionSummary) String() string

type CellKind

type CellKind int32
const (
	CellKind_CELL_KIND_UNSPECIFIED CellKind = 0
	CellKind_CELL_KIND_MARKUP      CellKind = 1
	CellKind_CELL_KIND_CODE        CellKind = 2
)

func (CellKind) Descriptor

func (CellKind) Descriptor() protoreflect.EnumDescriptor

func (CellKind) Enum

func (x CellKind) Enum() *CellKind

func (CellKind) EnumDescriptor deprecated

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

Deprecated: Use CellKind.Descriptor instead.

func (CellKind) Number

func (x CellKind) Number() protoreflect.EnumNumber

func (CellKind) String

func (x CellKind) String() string

func (CellKind) Type

type CellOutput

type CellOutput struct {
	Items       []*CellOutputItem      `protobuf:"bytes,1,rep,name=items,proto3" json:"items,omitempty"`
	Metadata    map[string]string      `` /* 157-byte string literal not displayed */
	ProcessInfo *CellOutputProcessInfo `protobuf:"bytes,3,opt,name=process_info,json=processInfo,proto3" json:"process_info,omitempty"`
	// contains filtered or unexported fields
}

func (*CellOutput) Descriptor deprecated

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

Deprecated: Use CellOutput.ProtoReflect.Descriptor instead.

func (*CellOutput) GetItems

func (x *CellOutput) GetItems() []*CellOutputItem

func (*CellOutput) GetMetadata

func (x *CellOutput) GetMetadata() map[string]string

func (*CellOutput) GetProcessInfo

func (x *CellOutput) GetProcessInfo() *CellOutputProcessInfo

func (*CellOutput) ProtoMessage

func (*CellOutput) ProtoMessage()

func (*CellOutput) ProtoReflect

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

func (*CellOutput) Reset

func (x *CellOutput) Reset()

func (*CellOutput) String

func (x *CellOutput) String() string

type CellOutputItem

type CellOutputItem struct {
	Data []byte `protobuf:"bytes,1,opt,name=data,proto3" json:"data,omitempty"`
	Type string `protobuf:"bytes,2,opt,name=type,proto3" json:"type,omitempty"`
	Mime string `protobuf:"bytes,3,opt,name=mime,proto3" json:"mime,omitempty"`
	// contains filtered or unexported fields
}

func (*CellOutputItem) Descriptor deprecated

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

Deprecated: Use CellOutputItem.ProtoReflect.Descriptor instead.

func (*CellOutputItem) GetData

func (x *CellOutputItem) GetData() []byte

func (*CellOutputItem) GetMime

func (x *CellOutputItem) GetMime() string

func (*CellOutputItem) GetType

func (x *CellOutputItem) GetType() string

func (*CellOutputItem) ProtoMessage

func (*CellOutputItem) ProtoMessage()

func (*CellOutputItem) ProtoReflect

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

func (*CellOutputItem) Reset

func (x *CellOutputItem) Reset()

func (*CellOutputItem) String

func (x *CellOutputItem) String() string

type CellOutputProcessInfo

type CellOutputProcessInfo struct {
	ExitReason *ProcessInfoExitReason `protobuf:"bytes,1,opt,name=exit_reason,json=exitReason,proto3" json:"exit_reason,omitempty"`
	Pid        *wrapperspb.Int64Value `protobuf:"bytes,2,opt,name=pid,proto3" json:"pid,omitempty"`
	// contains filtered or unexported fields
}

func (*CellOutputProcessInfo) Descriptor deprecated

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

Deprecated: Use CellOutputProcessInfo.ProtoReflect.Descriptor instead.

func (*CellOutputProcessInfo) GetExitReason

func (x *CellOutputProcessInfo) GetExitReason() *ProcessInfoExitReason

func (*CellOutputProcessInfo) GetPid

func (*CellOutputProcessInfo) ProtoMessage

func (*CellOutputProcessInfo) ProtoMessage()

func (*CellOutputProcessInfo) ProtoReflect

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

func (*CellOutputProcessInfo) Reset

func (x *CellOutputProcessInfo) Reset()

func (*CellOutputProcessInfo) String

func (x *CellOutputProcessInfo) String() string

type DeserializeRequest

type DeserializeRequest struct {
	Source  []byte                     `protobuf:"bytes,1,opt,name=source,proto3" json:"source,omitempty"`
	Options *DeserializeRequestOptions `protobuf:"bytes,2,opt,name=options,proto3" json:"options,omitempty"`
	// contains filtered or unexported fields
}

func (*DeserializeRequest) Descriptor deprecated

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

Deprecated: Use DeserializeRequest.ProtoReflect.Descriptor instead.

func (*DeserializeRequest) GetOptions

func (*DeserializeRequest) GetSource

func (x *DeserializeRequest) GetSource() []byte

func (*DeserializeRequest) ProtoMessage

func (*DeserializeRequest) ProtoMessage()

func (*DeserializeRequest) ProtoReflect

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

func (*DeserializeRequest) Reset

func (x *DeserializeRequest) Reset()

func (*DeserializeRequest) String

func (x *DeserializeRequest) String() string

type DeserializeRequestOptions

type DeserializeRequestOptions struct {
	Identity RunmeIdentity `protobuf:"varint,1,opt,name=identity,proto3,enum=runme.parser.v1.RunmeIdentity" json:"identity,omitempty"`
	// contains filtered or unexported fields
}

func (*DeserializeRequestOptions) Descriptor deprecated

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

Deprecated: Use DeserializeRequestOptions.ProtoReflect.Descriptor instead.

func (*DeserializeRequestOptions) GetIdentity

func (x *DeserializeRequestOptions) GetIdentity() RunmeIdentity

func (*DeserializeRequestOptions) ProtoMessage

func (*DeserializeRequestOptions) ProtoMessage()

func (*DeserializeRequestOptions) ProtoReflect

func (*DeserializeRequestOptions) Reset

func (x *DeserializeRequestOptions) Reset()

func (*DeserializeRequestOptions) String

func (x *DeserializeRequestOptions) String() string

type DeserializeResponse

type DeserializeResponse struct {
	Notebook *Notebook `protobuf:"bytes,1,opt,name=notebook,proto3" json:"notebook,omitempty"`
	// contains filtered or unexported fields
}

func (*DeserializeResponse) Descriptor deprecated

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

Deprecated: Use DeserializeResponse.ProtoReflect.Descriptor instead.

func (*DeserializeResponse) GetNotebook

func (x *DeserializeResponse) GetNotebook() *Notebook

func (*DeserializeResponse) ProtoMessage

func (*DeserializeResponse) ProtoMessage()

func (*DeserializeResponse) ProtoReflect

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

func (*DeserializeResponse) Reset

func (x *DeserializeResponse) Reset()

func (*DeserializeResponse) String

func (x *DeserializeResponse) String() string

type ExecutionSummaryTiming

type ExecutionSummaryTiming struct {
	StartTime *wrapperspb.Int64Value `protobuf:"bytes,1,opt,name=start_time,json=startTime,proto3" json:"start_time,omitempty"`
	EndTime   *wrapperspb.Int64Value `protobuf:"bytes,2,opt,name=end_time,json=endTime,proto3" json:"end_time,omitempty"`
	// contains filtered or unexported fields
}

func (*ExecutionSummaryTiming) Descriptor deprecated

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

Deprecated: Use ExecutionSummaryTiming.ProtoReflect.Descriptor instead.

func (*ExecutionSummaryTiming) GetEndTime

func (x *ExecutionSummaryTiming) GetEndTime() *wrapperspb.Int64Value

func (*ExecutionSummaryTiming) GetStartTime

func (x *ExecutionSummaryTiming) GetStartTime() *wrapperspb.Int64Value

func (*ExecutionSummaryTiming) ProtoMessage

func (*ExecutionSummaryTiming) ProtoMessage()

func (*ExecutionSummaryTiming) ProtoReflect

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

func (*ExecutionSummaryTiming) Reset

func (x *ExecutionSummaryTiming) Reset()

func (*ExecutionSummaryTiming) String

func (x *ExecutionSummaryTiming) String() string

type Frontmatter

type Frontmatter struct {
	Shell       string            `protobuf:"bytes,1,opt,name=shell,proto3" json:"shell,omitempty"`
	Cwd         string            `protobuf:"bytes,2,opt,name=cwd,proto3" json:"cwd,omitempty"`
	SkipPrompts bool              `protobuf:"varint,3,opt,name=skip_prompts,json=skipPrompts,proto3" json:"skip_prompts,omitempty"`
	Runme       *FrontmatterRunme `protobuf:"bytes,4,opt,name=runme,proto3" json:"runme,omitempty"`
	Category    string            `protobuf:"bytes,5,opt,name=category,proto3" json:"category,omitempty"`
	// contains filtered or unexported fields
}

func (*Frontmatter) Descriptor deprecated

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

Deprecated: Use Frontmatter.ProtoReflect.Descriptor instead.

func (*Frontmatter) GetCategory

func (x *Frontmatter) GetCategory() string

func (*Frontmatter) GetCwd

func (x *Frontmatter) GetCwd() string

func (*Frontmatter) GetRunme

func (x *Frontmatter) GetRunme() *FrontmatterRunme

func (*Frontmatter) GetShell

func (x *Frontmatter) GetShell() string

func (*Frontmatter) GetSkipPrompts

func (x *Frontmatter) GetSkipPrompts() bool

func (*Frontmatter) ProtoMessage

func (*Frontmatter) ProtoMessage()

func (*Frontmatter) ProtoReflect

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

func (*Frontmatter) Reset

func (x *Frontmatter) Reset()

func (*Frontmatter) String

func (x *Frontmatter) String() string

type FrontmatterRunme

type FrontmatterRunme struct {
	Id      string        `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"`
	Version string        `protobuf:"bytes,2,opt,name=version,proto3" json:"version,omitempty"`
	Session *RunmeSession `protobuf:"bytes,3,opt,name=session,proto3" json:"session,omitempty"`
	// contains filtered or unexported fields
}

func (*FrontmatterRunme) Descriptor deprecated

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

Deprecated: Use FrontmatterRunme.ProtoReflect.Descriptor instead.

func (*FrontmatterRunme) GetId

func (x *FrontmatterRunme) GetId() string

func (*FrontmatterRunme) GetSession

func (x *FrontmatterRunme) GetSession() *RunmeSession

func (*FrontmatterRunme) GetVersion

func (x *FrontmatterRunme) GetVersion() string

func (*FrontmatterRunme) ProtoMessage

func (*FrontmatterRunme) ProtoMessage()

func (*FrontmatterRunme) ProtoReflect

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

func (*FrontmatterRunme) Reset

func (x *FrontmatterRunme) Reset()

func (*FrontmatterRunme) String

func (x *FrontmatterRunme) String() string

type Notebook

type Notebook struct {
	Cells       []*Cell           `protobuf:"bytes,1,rep,name=cells,proto3" json:"cells,omitempty"`
	Metadata    map[string]string `` /* 157-byte string literal not displayed */
	Frontmatter *Frontmatter      `protobuf:"bytes,3,opt,name=frontmatter,proto3" json:"frontmatter,omitempty"`
	// contains filtered or unexported fields
}

func (*Notebook) Descriptor deprecated

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

Deprecated: Use Notebook.ProtoReflect.Descriptor instead.

func (*Notebook) GetCells

func (x *Notebook) GetCells() []*Cell

func (*Notebook) GetFrontmatter

func (x *Notebook) GetFrontmatter() *Frontmatter

func (*Notebook) GetMetadata

func (x *Notebook) GetMetadata() map[string]string

func (*Notebook) ProtoMessage

func (*Notebook) ProtoMessage()

func (*Notebook) ProtoReflect

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

func (*Notebook) Reset

func (x *Notebook) Reset()

func (*Notebook) String

func (x *Notebook) String() string

type ParserServiceClient

type ParserServiceClient interface {
	Deserialize(ctx context.Context, in *DeserializeRequest, opts ...grpc.CallOption) (*DeserializeResponse, error)
	Serialize(ctx context.Context, in *SerializeRequest, opts ...grpc.CallOption) (*SerializeResponse, error)
}

ParserServiceClient is the client API for ParserService 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 ParserServiceServer

type ParserServiceServer interface {
	Deserialize(context.Context, *DeserializeRequest) (*DeserializeResponse, error)
	Serialize(context.Context, *SerializeRequest) (*SerializeResponse, error)
	// contains filtered or unexported methods
}

ParserServiceServer is the server API for ParserService service. All implementations must embed UnimplementedParserServiceServer for forward compatibility

type ProcessInfoExitReason

type ProcessInfoExitReason struct {
	Type string                  `protobuf:"bytes,1,opt,name=type,proto3" json:"type,omitempty"`
	Code *wrapperspb.UInt32Value `protobuf:"bytes,2,opt,name=code,proto3" json:"code,omitempty"`
	// contains filtered or unexported fields
}

func (*ProcessInfoExitReason) Descriptor deprecated

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

Deprecated: Use ProcessInfoExitReason.ProtoReflect.Descriptor instead.

func (*ProcessInfoExitReason) GetCode

func (*ProcessInfoExitReason) GetType

func (x *ProcessInfoExitReason) GetType() string

func (*ProcessInfoExitReason) ProtoMessage

func (*ProcessInfoExitReason) ProtoMessage()

func (*ProcessInfoExitReason) ProtoReflect

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

func (*ProcessInfoExitReason) Reset

func (x *ProcessInfoExitReason) Reset()

func (*ProcessInfoExitReason) String

func (x *ProcessInfoExitReason) String() string

type RunmeIdentity

type RunmeIdentity int32
const (
	RunmeIdentity_RUNME_IDENTITY_UNSPECIFIED RunmeIdentity = 0 // aka NONE
	RunmeIdentity_RUNME_IDENTITY_ALL         RunmeIdentity = 1
	RunmeIdentity_RUNME_IDENTITY_DOCUMENT    RunmeIdentity = 2
	RunmeIdentity_RUNME_IDENTITY_CELL        RunmeIdentity = 3
)

func (RunmeIdentity) Descriptor

func (RunmeIdentity) Enum

func (x RunmeIdentity) Enum() *RunmeIdentity

func (RunmeIdentity) EnumDescriptor deprecated

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

Deprecated: Use RunmeIdentity.Descriptor instead.

func (RunmeIdentity) Number

func (RunmeIdentity) String

func (x RunmeIdentity) String() string

func (RunmeIdentity) Type

type RunmeSession

type RunmeSession struct {
	Id       string                `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"`
	Document *RunmeSessionDocument `protobuf:"bytes,2,opt,name=document,proto3" json:"document,omitempty"`
	// contains filtered or unexported fields
}

func (*RunmeSession) Descriptor deprecated

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

Deprecated: Use RunmeSession.ProtoReflect.Descriptor instead.

func (*RunmeSession) GetDocument

func (x *RunmeSession) GetDocument() *RunmeSessionDocument

func (*RunmeSession) GetId

func (x *RunmeSession) GetId() string

func (*RunmeSession) ProtoMessage

func (*RunmeSession) ProtoMessage()

func (*RunmeSession) ProtoReflect

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

func (*RunmeSession) Reset

func (x *RunmeSession) Reset()

func (*RunmeSession) String

func (x *RunmeSession) String() string

type RunmeSessionDocument

type RunmeSessionDocument struct {
	RelativePath string `protobuf:"bytes,1,opt,name=relative_path,json=relativePath,proto3" json:"relative_path,omitempty"`
	// contains filtered or unexported fields
}

func (*RunmeSessionDocument) Descriptor deprecated

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

Deprecated: Use RunmeSessionDocument.ProtoReflect.Descriptor instead.

func (*RunmeSessionDocument) GetRelativePath

func (x *RunmeSessionDocument) GetRelativePath() string

func (*RunmeSessionDocument) ProtoMessage

func (*RunmeSessionDocument) ProtoMessage()

func (*RunmeSessionDocument) ProtoReflect

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

func (*RunmeSessionDocument) Reset

func (x *RunmeSessionDocument) Reset()

func (*RunmeSessionDocument) String

func (x *RunmeSessionDocument) String() string

type SerializeRequest

type SerializeRequest struct {
	Notebook *Notebook                `protobuf:"bytes,1,opt,name=notebook,proto3" json:"notebook,omitempty"`
	Options  *SerializeRequestOptions `protobuf:"bytes,2,opt,name=options,proto3" json:"options,omitempty"`
	// contains filtered or unexported fields
}

func (*SerializeRequest) Descriptor deprecated

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

Deprecated: Use SerializeRequest.ProtoReflect.Descriptor instead.

func (*SerializeRequest) GetNotebook

func (x *SerializeRequest) GetNotebook() *Notebook

func (*SerializeRequest) GetOptions

func (x *SerializeRequest) GetOptions() *SerializeRequestOptions

func (*SerializeRequest) ProtoMessage

func (*SerializeRequest) ProtoMessage()

func (*SerializeRequest) ProtoReflect

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

func (*SerializeRequest) Reset

func (x *SerializeRequest) Reset()

func (*SerializeRequest) String

func (x *SerializeRequest) String() string

type SerializeRequestOptions

type SerializeRequestOptions struct {
	Outputs *SerializeRequestOutputOptions `protobuf:"bytes,1,opt,name=outputs,proto3" json:"outputs,omitempty"`
	Session *RunmeSession                  `protobuf:"bytes,2,opt,name=session,proto3" json:"session,omitempty"`
	// contains filtered or unexported fields
}

func (*SerializeRequestOptions) Descriptor deprecated

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

Deprecated: Use SerializeRequestOptions.ProtoReflect.Descriptor instead.

func (*SerializeRequestOptions) GetOutputs

func (*SerializeRequestOptions) GetSession

func (x *SerializeRequestOptions) GetSession() *RunmeSession

func (*SerializeRequestOptions) ProtoMessage

func (*SerializeRequestOptions) ProtoMessage()

func (*SerializeRequestOptions) ProtoReflect

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

func (*SerializeRequestOptions) Reset

func (x *SerializeRequestOptions) Reset()

func (*SerializeRequestOptions) String

func (x *SerializeRequestOptions) String() string

type SerializeRequestOutputOptions

type SerializeRequestOutputOptions struct {
	Enabled bool `protobuf:"varint,1,opt,name=enabled,proto3" json:"enabled,omitempty"`
	Summary bool `protobuf:"varint,2,opt,name=summary,proto3" json:"summary,omitempty"`
	// contains filtered or unexported fields
}

func (*SerializeRequestOutputOptions) Descriptor deprecated

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

Deprecated: Use SerializeRequestOutputOptions.ProtoReflect.Descriptor instead.

func (*SerializeRequestOutputOptions) GetEnabled

func (x *SerializeRequestOutputOptions) GetEnabled() bool

func (*SerializeRequestOutputOptions) GetSummary

func (x *SerializeRequestOutputOptions) GetSummary() bool

func (*SerializeRequestOutputOptions) ProtoMessage

func (*SerializeRequestOutputOptions) ProtoMessage()

func (*SerializeRequestOutputOptions) ProtoReflect

func (*SerializeRequestOutputOptions) Reset

func (x *SerializeRequestOutputOptions) Reset()

func (*SerializeRequestOutputOptions) String

type SerializeResponse

type SerializeResponse struct {
	Result []byte `protobuf:"bytes,1,opt,name=result,proto3" json:"result,omitempty"`
	// contains filtered or unexported fields
}

func (*SerializeResponse) Descriptor deprecated

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

Deprecated: Use SerializeResponse.ProtoReflect.Descriptor instead.

func (*SerializeResponse) GetResult

func (x *SerializeResponse) GetResult() []byte

func (*SerializeResponse) ProtoMessage

func (*SerializeResponse) ProtoMessage()

func (*SerializeResponse) ProtoReflect

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

func (*SerializeResponse) Reset

func (x *SerializeResponse) Reset()

func (*SerializeResponse) String

func (x *SerializeResponse) String() string

type TextRange

type TextRange struct {
	Start uint32 `protobuf:"varint,1,opt,name=start,proto3" json:"start,omitempty"`
	End   uint32 `protobuf:"varint,2,opt,name=end,proto3" json:"end,omitempty"`
	// contains filtered or unexported fields
}

func (*TextRange) Descriptor deprecated

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

Deprecated: Use TextRange.ProtoReflect.Descriptor instead.

func (*TextRange) GetEnd

func (x *TextRange) GetEnd() uint32

func (*TextRange) GetStart

func (x *TextRange) GetStart() uint32

func (*TextRange) ProtoMessage

func (*TextRange) ProtoMessage()

func (*TextRange) ProtoReflect

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

func (*TextRange) Reset

func (x *TextRange) Reset()

func (*TextRange) String

func (x *TextRange) String() string

type UnimplementedParserServiceServer

type UnimplementedParserServiceServer struct {
}

UnimplementedParserServiceServer must be embedded to have forward compatible implementations.

func (UnimplementedParserServiceServer) Deserialize

func (UnimplementedParserServiceServer) Serialize

type UnsafeParserServiceServer

type UnsafeParserServiceServer interface {
	// contains filtered or unexported methods
}

UnsafeParserServiceServer may be embedded to opt out of forward compatibility for this service. Use of this interface is not recommended, as added methods to ParserServiceServer will result in compilation errors.

Jump to

Keyboard shortcuts

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