nockchain-grpc/nockchain/nockapp.pb.go

710 lines
20 KiB
Go

// nockchain/private/v1/nockapp.proto
// Code generated by protoc-gen-go. DO NOT EDIT.
// versions:
// protoc-gen-go v1.36.9
// protoc v3.20.3
// source: nockapp.proto
package nockchain
import (
protoreflect "google.golang.org/protobuf/reflect/protoreflect"
protoimpl "google.golang.org/protobuf/runtime/protoimpl"
reflect "reflect"
sync "sync"
unsafe "unsafe"
)
const (
// Verify that this generated code is sufficiently up-to-date.
_ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion)
// Verify that runtime/protoimpl is sufficiently up-to-date.
_ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20)
)
type AppErrorCode int32
const (
AppErrorCode_ERROR_CODE_UNSPECIFIED AppErrorCode = 0
AppErrorCode_ERROR_CODE_INVALID_REQUEST AppErrorCode = 1
AppErrorCode_ERROR_CODE_PEEK_FAILED AppErrorCode = 2
AppErrorCode_ERROR_CODE_PEEK_RETURNED_NO_DATA AppErrorCode = 3
AppErrorCode_ERROR_CODE_POKE_FAILED AppErrorCode = 4
AppErrorCode_ERROR_CODE_NACKAPP_ERROR AppErrorCode = 5
AppErrorCode_ERROR_CODE_TIMEOUT AppErrorCode = 6
AppErrorCode_ERROR_CODE_INTERNAL_ERROR AppErrorCode = 7
AppErrorCode_ERROR_CODE_NOT_FOUND AppErrorCode = 8
AppErrorCode_ERROR_CODE_PERMISSION_DENIED AppErrorCode = 9
AppErrorCode_ERROR_CODE_INVALID_WIRE AppErrorCode = 10
AppErrorCode_ERROR_CODE_KERNEL_ERROR AppErrorCode = 11
)
// Enum value maps for AppErrorCode.
var (
AppErrorCode_name = map[int32]string{
0: "ERROR_CODE_UNSPECIFIED",
1: "ERROR_CODE_INVALID_REQUEST",
2: "ERROR_CODE_PEEK_FAILED",
3: "ERROR_CODE_PEEK_RETURNED_NO_DATA",
4: "ERROR_CODE_POKE_FAILED",
5: "ERROR_CODE_NACKAPP_ERROR",
6: "ERROR_CODE_TIMEOUT",
7: "ERROR_CODE_INTERNAL_ERROR",
8: "ERROR_CODE_NOT_FOUND",
9: "ERROR_CODE_PERMISSION_DENIED",
10: "ERROR_CODE_INVALID_WIRE",
11: "ERROR_CODE_KERNEL_ERROR",
}
AppErrorCode_value = map[string]int32{
"ERROR_CODE_UNSPECIFIED": 0,
"ERROR_CODE_INVALID_REQUEST": 1,
"ERROR_CODE_PEEK_FAILED": 2,
"ERROR_CODE_PEEK_RETURNED_NO_DATA": 3,
"ERROR_CODE_POKE_FAILED": 4,
"ERROR_CODE_NACKAPP_ERROR": 5,
"ERROR_CODE_TIMEOUT": 6,
"ERROR_CODE_INTERNAL_ERROR": 7,
"ERROR_CODE_NOT_FOUND": 8,
"ERROR_CODE_PERMISSION_DENIED": 9,
"ERROR_CODE_INVALID_WIRE": 10,
"ERROR_CODE_KERNEL_ERROR": 11,
}
)
func (x AppErrorCode) Enum() *AppErrorCode {
p := new(AppErrorCode)
*p = x
return p
}
func (x AppErrorCode) String() string {
return protoimpl.X.EnumStringOf(x.Descriptor(), protoreflect.EnumNumber(x))
}
func (AppErrorCode) Descriptor() protoreflect.EnumDescriptor {
return file_nockapp_proto_enumTypes[0].Descriptor()
}
func (AppErrorCode) Type() protoreflect.EnumType {
return &file_nockapp_proto_enumTypes[0]
}
func (x AppErrorCode) Number() protoreflect.EnumNumber {
return protoreflect.EnumNumber(x)
}
// Deprecated: Use AppErrorCode.Descriptor instead.
func (AppErrorCode) EnumDescriptor() ([]byte, []int) {
return file_nockapp_proto_rawDescGZIP(), []int{0}
}
type PeekRequest struct {
state protoimpl.MessageState `protogen:"open.v1"`
Pid int32 `protobuf:"varint,1,opt,name=pid,proto3" json:"pid,omitempty"` // process ID for tracking
Path []byte `protobuf:"bytes,2,opt,name=path,proto3" json:"path,omitempty"` // JAM-encoded nock peek path
unknownFields protoimpl.UnknownFields
sizeCache protoimpl.SizeCache
}
func (x *PeekRequest) Reset() {
*x = PeekRequest{}
mi := &file_nockapp_proto_msgTypes[0]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
func (x *PeekRequest) String() string {
return protoimpl.X.MessageStringOf(x)
}
func (*PeekRequest) ProtoMessage() {}
func (x *PeekRequest) ProtoReflect() protoreflect.Message {
mi := &file_nockapp_proto_msgTypes[0]
if x != nil {
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
if ms.LoadMessageInfo() == nil {
ms.StoreMessageInfo(mi)
}
return ms
}
return mi.MessageOf(x)
}
// Deprecated: Use PeekRequest.ProtoReflect.Descriptor instead.
func (*PeekRequest) Descriptor() ([]byte, []int) {
return file_nockapp_proto_rawDescGZIP(), []int{0}
}
func (x *PeekRequest) GetPid() int32 {
if x != nil {
return x.Pid
}
return 0
}
func (x *PeekRequest) GetPath() []byte {
if x != nil {
return x.Path
}
return nil
}
type PeekResponse struct {
state protoimpl.MessageState `protogen:"open.v1"`
// Types that are valid to be assigned to Result:
//
// *PeekResponse_Data
// *PeekResponse_Error
Result isPeekResponse_Result `protobuf_oneof:"result"`
unknownFields protoimpl.UnknownFields
sizeCache protoimpl.SizeCache
}
func (x *PeekResponse) Reset() {
*x = PeekResponse{}
mi := &file_nockapp_proto_msgTypes[1]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
func (x *PeekResponse) String() string {
return protoimpl.X.MessageStringOf(x)
}
func (*PeekResponse) ProtoMessage() {}
func (x *PeekResponse) ProtoReflect() protoreflect.Message {
mi := &file_nockapp_proto_msgTypes[1]
if x != nil {
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
if ms.LoadMessageInfo() == nil {
ms.StoreMessageInfo(mi)
}
return ms
}
return mi.MessageOf(x)
}
// Deprecated: Use PeekResponse.ProtoReflect.Descriptor instead.
func (*PeekResponse) Descriptor() ([]byte, []int) {
return file_nockapp_proto_rawDescGZIP(), []int{1}
}
func (x *PeekResponse) GetResult() isPeekResponse_Result {
if x != nil {
return x.Result
}
return nil
}
func (x *PeekResponse) GetData() []byte {
if x != nil {
if x, ok := x.Result.(*PeekResponse_Data); ok {
return x.Data
}
}
return nil
}
func (x *PeekResponse) GetError() *AppErrorStatus {
if x != nil {
if x, ok := x.Result.(*PeekResponse_Error); ok {
return x.Error
}
}
return nil
}
type isPeekResponse_Result interface {
isPeekResponse_Result()
}
type PeekResponse_Data struct {
Data []byte `protobuf:"bytes,1,opt,name=data,proto3,oneof"` // JAM-encoded nock data (success case)
}
type PeekResponse_Error struct {
Error *AppErrorStatus `protobuf:"bytes,2,opt,name=error,proto3,oneof"`
}
func (*PeekResponse_Data) isPeekResponse_Result() {}
func (*PeekResponse_Error) isPeekResponse_Result() {}
type PokeRequest struct {
state protoimpl.MessageState `protogen:"open.v1"`
Pid int32 `protobuf:"varint,1,opt,name=pid,proto3" json:"pid,omitempty"` // process ID for tracking
Wire *Wire `protobuf:"bytes,2,opt,name=wire,proto3" json:"wire,omitempty"` // wire routing information
Payload []byte `protobuf:"bytes,3,opt,name=payload,proto3" json:"payload,omitempty"` // JAM-encoded nock data
unknownFields protoimpl.UnknownFields
sizeCache protoimpl.SizeCache
}
func (x *PokeRequest) Reset() {
*x = PokeRequest{}
mi := &file_nockapp_proto_msgTypes[2]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
func (x *PokeRequest) String() string {
return protoimpl.X.MessageStringOf(x)
}
func (*PokeRequest) ProtoMessage() {}
func (x *PokeRequest) ProtoReflect() protoreflect.Message {
mi := &file_nockapp_proto_msgTypes[2]
if x != nil {
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
if ms.LoadMessageInfo() == nil {
ms.StoreMessageInfo(mi)
}
return ms
}
return mi.MessageOf(x)
}
// Deprecated: Use PokeRequest.ProtoReflect.Descriptor instead.
func (*PokeRequest) Descriptor() ([]byte, []int) {
return file_nockapp_proto_rawDescGZIP(), []int{2}
}
func (x *PokeRequest) GetPid() int32 {
if x != nil {
return x.Pid
}
return 0
}
func (x *PokeRequest) GetWire() *Wire {
if x != nil {
return x.Wire
}
return nil
}
func (x *PokeRequest) GetPayload() []byte {
if x != nil {
return x.Payload
}
return nil
}
type PokeResponse struct {
state protoimpl.MessageState `protogen:"open.v1"`
// Types that are valid to be assigned to Result:
//
// *PokeResponse_Acknowledged
// *PokeResponse_Error
Result isPokeResponse_Result `protobuf_oneof:"result"`
unknownFields protoimpl.UnknownFields
sizeCache protoimpl.SizeCache
}
func (x *PokeResponse) Reset() {
*x = PokeResponse{}
mi := &file_nockapp_proto_msgTypes[3]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
func (x *PokeResponse) String() string {
return protoimpl.X.MessageStringOf(x)
}
func (*PokeResponse) ProtoMessage() {}
func (x *PokeResponse) ProtoReflect() protoreflect.Message {
mi := &file_nockapp_proto_msgTypes[3]
if x != nil {
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
if ms.LoadMessageInfo() == nil {
ms.StoreMessageInfo(mi)
}
return ms
}
return mi.MessageOf(x)
}
// Deprecated: Use PokeResponse.ProtoReflect.Descriptor instead.
func (*PokeResponse) Descriptor() ([]byte, []int) {
return file_nockapp_proto_rawDescGZIP(), []int{3}
}
func (x *PokeResponse) GetResult() isPokeResponse_Result {
if x != nil {
return x.Result
}
return nil
}
func (x *PokeResponse) GetAcknowledged() bool {
if x != nil {
if x, ok := x.Result.(*PokeResponse_Acknowledged); ok {
return x.Acknowledged
}
}
return false
}
func (x *PokeResponse) GetError() *AppErrorStatus {
if x != nil {
if x, ok := x.Result.(*PokeResponse_Error); ok {
return x.Error
}
}
return nil
}
type isPokeResponse_Result interface {
isPokeResponse_Result()
}
type PokeResponse_Acknowledged struct {
Acknowledged bool `protobuf:"varint,1,opt,name=acknowledged,proto3,oneof"` // true if successful
}
type PokeResponse_Error struct {
Error *AppErrorStatus `protobuf:"bytes,2,opt,name=error,proto3,oneof"`
}
func (*PokeResponse_Acknowledged) isPokeResponse_Result() {}
func (*PokeResponse_Error) isPokeResponse_Result() {}
type AppErrorStatus struct {
state protoimpl.MessageState `protogen:"open.v1"`
Code AppErrorCode `protobuf:"varint,1,opt,name=code,proto3,enum=nockchain.private.v1.AppErrorCode" json:"code,omitempty"`
Message string `protobuf:"bytes,2,opt,name=message,proto3" json:"message,omitempty"`
Details *string `protobuf:"bytes,3,opt,name=details,proto3,oneof" json:"details,omitempty"` // additional error context
unknownFields protoimpl.UnknownFields
sizeCache protoimpl.SizeCache
}
func (x *AppErrorStatus) Reset() {
*x = AppErrorStatus{}
mi := &file_nockapp_proto_msgTypes[4]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
func (x *AppErrorStatus) String() string {
return protoimpl.X.MessageStringOf(x)
}
func (*AppErrorStatus) ProtoMessage() {}
func (x *AppErrorStatus) ProtoReflect() protoreflect.Message {
mi := &file_nockapp_proto_msgTypes[4]
if x != nil {
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
if ms.LoadMessageInfo() == nil {
ms.StoreMessageInfo(mi)
}
return ms
}
return mi.MessageOf(x)
}
// Deprecated: Use AppErrorStatus.ProtoReflect.Descriptor instead.
func (*AppErrorStatus) Descriptor() ([]byte, []int) {
return file_nockapp_proto_rawDescGZIP(), []int{4}
}
func (x *AppErrorStatus) GetCode() AppErrorCode {
if x != nil {
return x.Code
}
return AppErrorCode_ERROR_CODE_UNSPECIFIED
}
func (x *AppErrorStatus) GetMessage() string {
if x != nil {
return x.Message
}
return ""
}
func (x *AppErrorStatus) GetDetails() string {
if x != nil && x.Details != nil {
return *x.Details
}
return ""
}
type Wire struct {
state protoimpl.MessageState `protogen:"open.v1"`
Source string `protobuf:"bytes,1,opt,name=source,proto3" json:"source,omitempty"` // e.g., "http", "file", "wallet", "grpc"
Version uint64 `protobuf:"varint,2,opt,name=version,proto3" json:"version,omitempty"` // wire format version
Tags []*WireTag `protobuf:"bytes,3,rep,name=tags,proto3" json:"tags,omitempty"` // operation-specific tags
unknownFields protoimpl.UnknownFields
sizeCache protoimpl.SizeCache
}
func (x *Wire) Reset() {
*x = Wire{}
mi := &file_nockapp_proto_msgTypes[5]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
func (x *Wire) String() string {
return protoimpl.X.MessageStringOf(x)
}
func (*Wire) ProtoMessage() {}
func (x *Wire) ProtoReflect() protoreflect.Message {
mi := &file_nockapp_proto_msgTypes[5]
if x != nil {
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
if ms.LoadMessageInfo() == nil {
ms.StoreMessageInfo(mi)
}
return ms
}
return mi.MessageOf(x)
}
// Deprecated: Use Wire.ProtoReflect.Descriptor instead.
func (*Wire) Descriptor() ([]byte, []int) {
return file_nockapp_proto_rawDescGZIP(), []int{5}
}
func (x *Wire) GetSource() string {
if x != nil {
return x.Source
}
return ""
}
func (x *Wire) GetVersion() uint64 {
if x != nil {
return x.Version
}
return 0
}
func (x *Wire) GetTags() []*WireTag {
if x != nil {
return x.Tags
}
return nil
}
type WireTag struct {
state protoimpl.MessageState `protogen:"open.v1"`
// Types that are valid to be assigned to Value:
//
// *WireTag_Text
// *WireTag_Number
Value isWireTag_Value `protobuf_oneof:"value"`
unknownFields protoimpl.UnknownFields
sizeCache protoimpl.SizeCache
}
func (x *WireTag) Reset() {
*x = WireTag{}
mi := &file_nockapp_proto_msgTypes[6]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
func (x *WireTag) String() string {
return protoimpl.X.MessageStringOf(x)
}
func (*WireTag) ProtoMessage() {}
func (x *WireTag) ProtoReflect() protoreflect.Message {
mi := &file_nockapp_proto_msgTypes[6]
if x != nil {
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
if ms.LoadMessageInfo() == nil {
ms.StoreMessageInfo(mi)
}
return ms
}
return mi.MessageOf(x)
}
// Deprecated: Use WireTag.ProtoReflect.Descriptor instead.
func (*WireTag) Descriptor() ([]byte, []int) {
return file_nockapp_proto_rawDescGZIP(), []int{6}
}
func (x *WireTag) GetValue() isWireTag_Value {
if x != nil {
return x.Value
}
return nil
}
func (x *WireTag) GetText() string {
if x != nil {
if x, ok := x.Value.(*WireTag_Text); ok {
return x.Text
}
}
return ""
}
func (x *WireTag) GetNumber() uint64 {
if x != nil {
if x, ok := x.Value.(*WireTag_Number); ok {
return x.Number
}
}
return 0
}
type isWireTag_Value interface {
isWireTag_Value()
}
type WireTag_Text struct {
Text string `protobuf:"bytes,1,opt,name=text,proto3,oneof"`
}
type WireTag_Number struct {
Number uint64 `protobuf:"varint,2,opt,name=number,proto3,oneof"`
}
func (*WireTag_Text) isWireTag_Value() {}
func (*WireTag_Number) isWireTag_Value() {}
var File_nockapp_proto protoreflect.FileDescriptor
const file_nockapp_proto_rawDesc = "" +
"\n" +
"\rnockapp.proto\x12\x14nockchain.private.v1\"3\n" +
"\vPeekRequest\x12\x10\n" +
"\x03pid\x18\x01 \x01(\x05R\x03pid\x12\x12\n" +
"\x04path\x18\x02 \x01(\fR\x04path\"l\n" +
"\fPeekResponse\x12\x14\n" +
"\x04data\x18\x01 \x01(\fH\x00R\x04data\x12<\n" +
"\x05error\x18\x02 \x01(\v2$.nockchain.private.v1.AppErrorStatusH\x00R\x05errorB\b\n" +
"\x06result\"i\n" +
"\vPokeRequest\x12\x10\n" +
"\x03pid\x18\x01 \x01(\x05R\x03pid\x12.\n" +
"\x04wire\x18\x02 \x01(\v2\x1a.nockchain.private.v1.WireR\x04wire\x12\x18\n" +
"\apayload\x18\x03 \x01(\fR\apayload\"|\n" +
"\fPokeResponse\x12$\n" +
"\facknowledged\x18\x01 \x01(\bH\x00R\facknowledged\x12<\n" +
"\x05error\x18\x02 \x01(\v2$.nockchain.private.v1.AppErrorStatusH\x00R\x05errorB\b\n" +
"\x06result\"\x8d\x01\n" +
"\x0eAppErrorStatus\x126\n" +
"\x04code\x18\x01 \x01(\x0e2\".nockchain.private.v1.AppErrorCodeR\x04code\x12\x18\n" +
"\amessage\x18\x02 \x01(\tR\amessage\x12\x1d\n" +
"\adetails\x18\x03 \x01(\tH\x00R\adetails\x88\x01\x01B\n" +
"\n" +
"\b_details\"k\n" +
"\x04Wire\x12\x16\n" +
"\x06source\x18\x01 \x01(\tR\x06source\x12\x18\n" +
"\aversion\x18\x02 \x01(\x04R\aversion\x121\n" +
"\x04tags\x18\x03 \x03(\v2\x1d.nockchain.private.v1.WireTagR\x04tags\"B\n" +
"\aWireTag\x12\x14\n" +
"\x04text\x18\x01 \x01(\tH\x00R\x04text\x12\x18\n" +
"\x06number\x18\x02 \x01(\x04H\x00R\x06numberB\a\n" +
"\x05value*\xf3\x02\n" +
"\fAppErrorCode\x12\x1a\n" +
"\x16ERROR_CODE_UNSPECIFIED\x10\x00\x12\x1e\n" +
"\x1aERROR_CODE_INVALID_REQUEST\x10\x01\x12\x1a\n" +
"\x16ERROR_CODE_PEEK_FAILED\x10\x02\x12$\n" +
" ERROR_CODE_PEEK_RETURNED_NO_DATA\x10\x03\x12\x1a\n" +
"\x16ERROR_CODE_POKE_FAILED\x10\x04\x12\x1c\n" +
"\x18ERROR_CODE_NACKAPP_ERROR\x10\x05\x12\x16\n" +
"\x12ERROR_CODE_TIMEOUT\x10\x06\x12\x1d\n" +
"\x19ERROR_CODE_INTERNAL_ERROR\x10\a\x12\x18\n" +
"\x14ERROR_CODE_NOT_FOUND\x10\b\x12 \n" +
"\x1cERROR_CODE_PERMISSION_DENIED\x10\t\x12\x1b\n" +
"\x17ERROR_CODE_INVALID_WIRE\x10\n" +
"\x12\x1b\n" +
"\x17ERROR_CODE_KERNEL_ERROR\x10\v2\xae\x01\n" +
"\x0eNockAppService\x12M\n" +
"\x04Peek\x12!.nockchain.private.v1.PeekRequest\x1a\".nockchain.private.v1.PeekResponse\x12M\n" +
"\x04Poke\x12!.nockchain.private.v1.PokeRequest\x1a\".nockchain.private.v1.PokeResponseB\x0eZ\f./;nockchainb\x06proto3"
var (
file_nockapp_proto_rawDescOnce sync.Once
file_nockapp_proto_rawDescData []byte
)
func file_nockapp_proto_rawDescGZIP() []byte {
file_nockapp_proto_rawDescOnce.Do(func() {
file_nockapp_proto_rawDescData = protoimpl.X.CompressGZIP(unsafe.Slice(unsafe.StringData(file_nockapp_proto_rawDesc), len(file_nockapp_proto_rawDesc)))
})
return file_nockapp_proto_rawDescData
}
var file_nockapp_proto_enumTypes = make([]protoimpl.EnumInfo, 1)
var file_nockapp_proto_msgTypes = make([]protoimpl.MessageInfo, 7)
var file_nockapp_proto_goTypes = []any{
(AppErrorCode)(0), // 0: nockchain.private.v1.AppErrorCode
(*PeekRequest)(nil), // 1: nockchain.private.v1.PeekRequest
(*PeekResponse)(nil), // 2: nockchain.private.v1.PeekResponse
(*PokeRequest)(nil), // 3: nockchain.private.v1.PokeRequest
(*PokeResponse)(nil), // 4: nockchain.private.v1.PokeResponse
(*AppErrorStatus)(nil), // 5: nockchain.private.v1.AppErrorStatus
(*Wire)(nil), // 6: nockchain.private.v1.Wire
(*WireTag)(nil), // 7: nockchain.private.v1.WireTag
}
var file_nockapp_proto_depIdxs = []int32{
5, // 0: nockchain.private.v1.PeekResponse.error:type_name -> nockchain.private.v1.AppErrorStatus
6, // 1: nockchain.private.v1.PokeRequest.wire:type_name -> nockchain.private.v1.Wire
5, // 2: nockchain.private.v1.PokeResponse.error:type_name -> nockchain.private.v1.AppErrorStatus
0, // 3: nockchain.private.v1.AppErrorStatus.code:type_name -> nockchain.private.v1.AppErrorCode
7, // 4: nockchain.private.v1.Wire.tags:type_name -> nockchain.private.v1.WireTag
1, // 5: nockchain.private.v1.NockAppService.Peek:input_type -> nockchain.private.v1.PeekRequest
3, // 6: nockchain.private.v1.NockAppService.Poke:input_type -> nockchain.private.v1.PokeRequest
2, // 7: nockchain.private.v1.NockAppService.Peek:output_type -> nockchain.private.v1.PeekResponse
4, // 8: nockchain.private.v1.NockAppService.Poke:output_type -> nockchain.private.v1.PokeResponse
7, // [7:9] is the sub-list for method output_type
5, // [5:7] is the sub-list for method input_type
5, // [5:5] is the sub-list for extension type_name
5, // [5:5] is the sub-list for extension extendee
0, // [0:5] is the sub-list for field type_name
}
func init() { file_nockapp_proto_init() }
func file_nockapp_proto_init() {
if File_nockapp_proto != nil {
return
}
file_nockapp_proto_msgTypes[1].OneofWrappers = []any{
(*PeekResponse_Data)(nil),
(*PeekResponse_Error)(nil),
}
file_nockapp_proto_msgTypes[3].OneofWrappers = []any{
(*PokeResponse_Acknowledged)(nil),
(*PokeResponse_Error)(nil),
}
file_nockapp_proto_msgTypes[4].OneofWrappers = []any{}
file_nockapp_proto_msgTypes[6].OneofWrappers = []any{
(*WireTag_Text)(nil),
(*WireTag_Number)(nil),
}
type x struct{}
out := protoimpl.TypeBuilder{
File: protoimpl.DescBuilder{
GoPackagePath: reflect.TypeOf(x{}).PkgPath(),
RawDescriptor: unsafe.Slice(unsafe.StringData(file_nockapp_proto_rawDesc), len(file_nockapp_proto_rawDesc)),
NumEnums: 1,
NumMessages: 7,
NumExtensions: 0,
NumServices: 1,
},
GoTypes: file_nockapp_proto_goTypes,
DependencyIndexes: file_nockapp_proto_depIdxs,
EnumInfos: file_nockapp_proto_enumTypes,
MessageInfos: file_nockapp_proto_msgTypes,
}.Build()
File_nockapp_proto = out.File
file_nockapp_proto_goTypes = nil
file_nockapp_proto_depIdxs = nil
}