-
Notifications
You must be signed in to change notification settings - Fork 9
/
Copy pathglobal_state.pb.go
91 lines (84 loc) · 5.16 KB
/
global_state.pb.go
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
// Code generated by protoc-gen-go. DO NOT EDIT.
// versions:
// protoc-gen-go v1.36.6
// protoc (unknown)
// source: spacemesh/v1/global_state.proto
package spacemeshv1
import (
_ "google.golang.org/genproto/googleapis/api/annotations"
_ "google.golang.org/genproto/googleapis/api/visibility"
protoreflect "google.golang.org/protobuf/reflect/protoreflect"
protoimpl "google.golang.org/protobuf/runtime/protoimpl"
reflect "reflect"
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)
)
var File_spacemesh_v1_global_state_proto protoreflect.FileDescriptor
const file_spacemesh_v1_global_state_proto_rawDesc = "" +
"\n" +
"\x1fspacemesh/v1/global_state.proto\x12\fspacemesh.v1\x1a\x1cgoogle/api/annotations.proto\x1a%spacemesh/v1/global_state_types.proto\x1a\x1bgoogle/api/visibility.proto2\xfa\x04\n" +
"\x12GlobalStateService\x12\x8a\x01\n" +
"\x0fGlobalStateHash\x12$.spacemesh.v1.GlobalStateHashRequest\x1a%.spacemesh.v1.GlobalStateHashResponse\"*\x82\xd3\xe4\x93\x02$:\x01*\"\x1f/v1/globalstate/globalstatehash\x12j\n" +
"\aAccount\x12\x1c.spacemesh.v1.AccountRequest\x1a\x1d.spacemesh.v1.AccountResponse\"\"\x82\xd3\xe4\x93\x02\x1c:\x01*\"\x17/v1/globalstate/account\x12\x8e\x01\n" +
"\x10AccountDataQuery\x12%.spacemesh.v1.AccountDataQueryRequest\x1a&.spacemesh.v1.AccountDataQueryResponse\"+\x82\xd3\xe4\x93\x02%:\x01*\" /v1/globalstate/accountdataquery\x12f\n" +
"\x11AccountDataStream\x12&.spacemesh.v1.AccountDataStreamRequest\x1a'.spacemesh.v1.AccountDataStreamResponse0\x01\x12f\n" +
"\x11GlobalStateStream\x12&.spacemesh.v1.GlobalStateStreamRequest\x1a'.spacemesh.v1.GlobalStateStreamResponse0\x01\x1a\n" +
"\xfa\xd2\xe4\x93\x02\x04\x12\x02V1B\xb5\x01\n" +
"\x10com.spacemesh.v1B\x10GlobalStateProtoP\x01Z>github.com/spacemeshos/api/release/go/spacemesh/v1;spacemeshv1\xa2\x02\x03SXX\xaa\x02\fSpacemesh.V1\xca\x02\fSpacemesh\\V1\xe2\x02\x18Spacemesh\\V1\\GPBMetadata\xea\x02\rSpacemesh::V1b\x06proto3"
var file_spacemesh_v1_global_state_proto_goTypes = []any{
(*GlobalStateHashRequest)(nil), // 0: spacemesh.v1.GlobalStateHashRequest
(*AccountRequest)(nil), // 1: spacemesh.v1.AccountRequest
(*AccountDataQueryRequest)(nil), // 2: spacemesh.v1.AccountDataQueryRequest
(*AccountDataStreamRequest)(nil), // 3: spacemesh.v1.AccountDataStreamRequest
(*GlobalStateStreamRequest)(nil), // 4: spacemesh.v1.GlobalStateStreamRequest
(*GlobalStateHashResponse)(nil), // 5: spacemesh.v1.GlobalStateHashResponse
(*AccountResponse)(nil), // 6: spacemesh.v1.AccountResponse
(*AccountDataQueryResponse)(nil), // 7: spacemesh.v1.AccountDataQueryResponse
(*AccountDataStreamResponse)(nil), // 8: spacemesh.v1.AccountDataStreamResponse
(*GlobalStateStreamResponse)(nil), // 9: spacemesh.v1.GlobalStateStreamResponse
}
var file_spacemesh_v1_global_state_proto_depIdxs = []int32{
0, // 0: spacemesh.v1.GlobalStateService.GlobalStateHash:input_type -> spacemesh.v1.GlobalStateHashRequest
1, // 1: spacemesh.v1.GlobalStateService.Account:input_type -> spacemesh.v1.AccountRequest
2, // 2: spacemesh.v1.GlobalStateService.AccountDataQuery:input_type -> spacemesh.v1.AccountDataQueryRequest
3, // 3: spacemesh.v1.GlobalStateService.AccountDataStream:input_type -> spacemesh.v1.AccountDataStreamRequest
4, // 4: spacemesh.v1.GlobalStateService.GlobalStateStream:input_type -> spacemesh.v1.GlobalStateStreamRequest
5, // 5: spacemesh.v1.GlobalStateService.GlobalStateHash:output_type -> spacemesh.v1.GlobalStateHashResponse
6, // 6: spacemesh.v1.GlobalStateService.Account:output_type -> spacemesh.v1.AccountResponse
7, // 7: spacemesh.v1.GlobalStateService.AccountDataQuery:output_type -> spacemesh.v1.AccountDataQueryResponse
8, // 8: spacemesh.v1.GlobalStateService.AccountDataStream:output_type -> spacemesh.v1.AccountDataStreamResponse
9, // 9: spacemesh.v1.GlobalStateService.GlobalStateStream:output_type -> spacemesh.v1.GlobalStateStreamResponse
5, // [5:10] is the sub-list for method output_type
0, // [0:5] is the sub-list for method input_type
0, // [0:0] is the sub-list for extension type_name
0, // [0:0] is the sub-list for extension extendee
0, // [0:0] is the sub-list for field type_name
}
func init() { file_spacemesh_v1_global_state_proto_init() }
func file_spacemesh_v1_global_state_proto_init() {
if File_spacemesh_v1_global_state_proto != nil {
return
}
file_spacemesh_v1_global_state_types_proto_init()
type x struct{}
out := protoimpl.TypeBuilder{
File: protoimpl.DescBuilder{
GoPackagePath: reflect.TypeOf(x{}).PkgPath(),
RawDescriptor: unsafe.Slice(unsafe.StringData(file_spacemesh_v1_global_state_proto_rawDesc), len(file_spacemesh_v1_global_state_proto_rawDesc)),
NumEnums: 0,
NumMessages: 0,
NumExtensions: 0,
NumServices: 1,
},
GoTypes: file_spacemesh_v1_global_state_proto_goTypes,
DependencyIndexes: file_spacemesh_v1_global_state_proto_depIdxs,
}.Build()
File_spacemesh_v1_global_state_proto = out.File
file_spacemesh_v1_global_state_proto_goTypes = nil
file_spacemesh_v1_global_state_proto_depIdxs = nil
}