Commit 934aec6c authored by vicotor's avatar vicotor

change to proto-gen-gogo

parent 8177ac74
...@@ -18,9 +18,12 @@ generate: ...@@ -18,9 +18,12 @@ generate:
@buf generate @buf generate
deps: deps:
@go get -u github.com/gogo/protobuf/protoc-gen-gogo \ @go get github.com/gogo/protobuf/proto
@go install github.com/gogo/protobuf/protoc-gen-gogo
@go install google.golang.org/grpc/cmd/protoc-gen-go-grpc
@go install github.com/grpc-ecosystem/grpc-gateway/protoc-gen-grpc-gateway
@go install github.com/bufbuild/buf/cmd/buf@v1.9.0 @go install github.com/bufbuild/buf/cmd/buf@v1.9.0
clean: clean:
@rm -f $(PROTO_GO_FILES) $(BIN) \ @rm -f $(PROTO_GO_FILES) $(BIN)
@rm -rf gen @rm -rf gen
...@@ -6,7 +6,7 @@ managed: ...@@ -6,7 +6,7 @@ managed:
except: except:
- buf.build/googleapis/googleapis - buf.build/googleapis/googleapis
plugins: plugins:
- name: go - name: gogo
out: gen/proto/go out: gen/proto/go
opt: paths=source_relative opt: paths=source_relative
- name: go-grpc - name: go-grpc
......
This diff is collapsed.
// Code generated by protoc-gen-go. DO NOT EDIT. // Code generated by protoc-gen-gogo. DO NOT EDIT.
// versions:
// protoc-gen-go v1.28.1
// protoc (unknown)
// source: base/v1/options.proto // source: base/v1/options.proto
package basev1 package basev1
import ( import (
protoreflect "google.golang.org/protobuf/reflect/protoreflect" fmt "fmt"
protoimpl "google.golang.org/protobuf/runtime/protoimpl" proto "github.com/gogo/protobuf/proto"
descriptorpb "google.golang.org/protobuf/types/descriptorpb" descriptorpb "google.golang.org/protobuf/types/descriptorpb"
reflect "reflect" math "math"
) )
const ( // Reference imports to suppress errors if they are not otherwise used.
// Verify that this generated code is sufficiently up-to-date. var _ = proto.Marshal
_ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) var _ = fmt.Errorf
// Verify that runtime/protoimpl is sufficiently up-to-date. var _ = math.Inf
_ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20)
) // This is a compile-time assertion to ensure that this generated file
// is compatible with the proto package it is being compiled against.
var file_base_v1_options_proto_extTypes = []protoimpl.ExtensionInfo{ // A compilation error at this line likely means your copy of the
{ // proto package needs to be updated.
ExtendedType: (*descriptorpb.FieldOptions)(nil), const _ = proto.GoGoProtoPackageIsVersion3 // please upgrade the proto package
ExtensionType: (*uint32)(nil),
Field: 50000, var E_BytesSize = &proto.ExtensionDesc{
Name: "base.v1.bytes_size", ExtendedType: (*descriptorpb.FieldOptions)(nil),
Tag: "varint,50000,opt,name=bytes_size", ExtensionType: (*uint32)(nil),
Filename: "base/v1/options.proto", Field: 50000,
}, Name: "base.v1.bytes_size",
} Tag: "varint,50000,opt,name=bytes_size",
Filename: "base/v1/options.proto",
// Extension fields to descriptorpb.FieldOptions.
var (
// optional uint32 bytes_size = 50000;
E_BytesSize = &file_base_v1_options_proto_extTypes[0] // define bytes data size.
)
var File_base_v1_options_proto protoreflect.FileDescriptor
var file_base_v1_options_proto_rawDesc = []byte{
0x0a, 0x15, 0x62, 0x61, 0x73, 0x65, 0x2f, 0x76, 0x31, 0x2f, 0x6f, 0x70, 0x74, 0x69, 0x6f, 0x6e,
0x73, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x12, 0x07, 0x62, 0x61, 0x73, 0x65, 0x2e, 0x76, 0x31,
0x1a, 0x20, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2f, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75,
0x66, 0x2f, 0x64, 0x65, 0x73, 0x63, 0x72, 0x69, 0x70, 0x74, 0x6f, 0x72, 0x2e, 0x70, 0x72, 0x6f,
0x74, 0x6f, 0x3a, 0x3e, 0x0a, 0x0a, 0x62, 0x79, 0x74, 0x65, 0x73, 0x5f, 0x73, 0x69, 0x7a, 0x65,
0x12, 0x1d, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62,
0x75, 0x66, 0x2e, 0x46, 0x69, 0x65, 0x6c, 0x64, 0x4f, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x18,
0xd0, 0x86, 0x03, 0x20, 0x01, 0x28, 0x0d, 0x52, 0x09, 0x62, 0x79, 0x74, 0x65, 0x73, 0x53, 0x69,
0x7a, 0x65, 0x42, 0xa7, 0x01, 0x0a, 0x0b, 0x63, 0x6f, 0x6d, 0x2e, 0x62, 0x61, 0x73, 0x65, 0x2e,
0x76, 0x31, 0x42, 0x0c, 0x4f, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x50, 0x72, 0x6f, 0x74, 0x6f,
0x50, 0x01, 0x5a, 0x4d, 0x67, 0x69, 0x74, 0x68, 0x75, 0x62, 0x2e, 0x63, 0x6f, 0x6d, 0x2f, 0x43,
0x61, 0x64, 0x75, 0x63, 0x65, 0x75, 0x73, 0x4d, 0x65, 0x74, 0x61, 0x76, 0x65, 0x72, 0x73, 0x65,
0x50, 0x72, 0x6f, 0x74, 0x6f, 0x63, 0x6f, 0x6c, 0x2f, 0x6d, 0x65, 0x74, 0x61, 0x70, 0x72, 0x6f,
0x74, 0x6f, 0x63, 0x6f, 0x6c, 0x2f, 0x67, 0x65, 0x6e, 0x2f, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x2f,
0x67, 0x6f, 0x2f, 0x62, 0x61, 0x73, 0x65, 0x2f, 0x76, 0x31, 0x3b, 0x62, 0x61, 0x73, 0x65, 0x76,
0x31, 0xa2, 0x02, 0x03, 0x42, 0x58, 0x58, 0xaa, 0x02, 0x07, 0x42, 0x61, 0x73, 0x65, 0x2e, 0x56,
0x31, 0xca, 0x02, 0x07, 0x42, 0x61, 0x73, 0x65, 0x5c, 0x56, 0x31, 0xe2, 0x02, 0x13, 0x42, 0x61,
0x73, 0x65, 0x5c, 0x56, 0x31, 0x5c, 0x47, 0x50, 0x42, 0x4d, 0x65, 0x74, 0x61, 0x64, 0x61, 0x74,
0x61, 0xea, 0x02, 0x08, 0x42, 0x61, 0x73, 0x65, 0x3a, 0x3a, 0x56, 0x31, 0x62, 0x06, 0x70, 0x72,
0x6f, 0x74, 0x6f, 0x33,
} }
var file_base_v1_options_proto_goTypes = []interface{}{ func init() {
(*descriptorpb.FieldOptions)(nil), // 0: google.protobuf.FieldOptions proto.RegisterExtension(E_BytesSize)
}
var file_base_v1_options_proto_depIdxs = []int32{
0, // 0: base.v1.bytes_size:extendee -> google.protobuf.FieldOptions
1, // [1:1] is the sub-list for method output_type
1, // [1:1] is the sub-list for method input_type
1, // [1:1] is the sub-list for extension type_name
0, // [0:1] is the sub-list for extension extendee
0, // [0:0] is the sub-list for field type_name
} }
func init() { file_base_v1_options_proto_init() } func init() { proto.RegisterFile("base/v1/options.proto", fileDescriptor_35190a910ebf5bf3) }
func file_base_v1_options_proto_init() {
if File_base_v1_options_proto != nil { var fileDescriptor_35190a910ebf5bf3 = []byte{
return // 257 bytes of a gzipped FileDescriptorProto
} 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0xe2, 0x12, 0x4d, 0x4a, 0x2c, 0x4e,
type x struct{} 0xd5, 0x2f, 0x33, 0xd4, 0xcf, 0x2f, 0x28, 0xc9, 0xcc, 0xcf, 0x2b, 0xd6, 0x2b, 0x28, 0xca, 0x2f,
out := protoimpl.TypeBuilder{ 0xc9, 0x17, 0x62, 0x07, 0x09, 0xeb, 0x95, 0x19, 0x4a, 0x29, 0xa4, 0xe7, 0xe7, 0xa7, 0xe7, 0xa4,
File: protoimpl.DescBuilder{ 0xea, 0x83, 0x85, 0x93, 0x4a, 0xd3, 0xf4, 0x53, 0x52, 0x8b, 0x93, 0x8b, 0x32, 0x0b, 0x4a, 0xf2,
GoPackagePath: reflect.TypeOf(x{}).PkgPath(), 0x8b, 0x20, 0x4a, 0xad, 0xec, 0xb8, 0xb8, 0x92, 0x2a, 0x4b, 0x52, 0x8b, 0xe3, 0x8b, 0x33, 0xab,
RawDescriptor: file_base_v1_options_proto_rawDesc, 0x52, 0x85, 0x64, 0xf5, 0x20, 0x1a, 0xf4, 0x60, 0x1a, 0xf4, 0xdc, 0x32, 0x53, 0x73, 0x52, 0xfc,
NumEnums: 0, 0x21, 0xa6, 0x4b, 0x5c, 0x68, 0x63, 0x56, 0x60, 0xd4, 0xe0, 0x0d, 0xe2, 0x04, 0x6b, 0x09, 0xce,
NumMessages: 0, 0xac, 0x4a, 0x75, 0x5a, 0xce, 0xc8, 0xc5, 0x9d, 0x9c, 0x9f, 0xab, 0x07, 0xb5, 0xd1, 0x89, 0x07,
NumExtensions: 1, 0xaa, 0x36, 0x00, 0x64, 0x40, 0x00, 0x63, 0x94, 0x6f, 0x7a, 0x66, 0x49, 0x46, 0x69, 0x92, 0x5e,
NumServices: 0, 0x72, 0x7e, 0xae, 0xbe, 0x73, 0x62, 0x4a, 0x69, 0x72, 0x6a, 0x69, 0xb1, 0x6f, 0x6a, 0x49, 0x62,
}, 0x59, 0x6a, 0x51, 0x71, 0x2a, 0x58, 0x51, 0x72, 0x7e, 0x8e, 0x7e, 0x6e, 0x6a, 0x49, 0x62, 0x01,
GoTypes: file_base_v1_options_proto_goTypes, 0x8c, 0x93, 0x9e, 0x9a, 0x07, 0x71, 0xb0, 0x7e, 0x7a, 0xbe, 0x3e, 0xd4, 0x83, 0xd6, 0x20, 0xba,
DependencyIndexes: file_base_v1_options_proto_depIdxs, 0xcc, 0x70, 0x11, 0x13, 0xb3, 0x53, 0x44, 0xc4, 0x2a, 0x26, 0x76, 0x27, 0x90, 0x75, 0x61, 0x86,
ExtensionInfos: file_base_v1_options_proto_extTypes, 0xa7, 0x20, 0xac, 0x98, 0x30, 0xc3, 0x47, 0x4c, 0xc2, 0x50, 0x56, 0x8c, 0x7b, 0x80, 0x13, 0xc8,
}.Build() 0x86, 0x94, 0xc4, 0x92, 0xc4, 0x57, 0x4c, 0x1c, 0x20, 0x51, 0x2b, 0xab, 0x30, 0xc3, 0x24, 0x36,
File_base_v1_options_proto = out.File 0xb0, 0x99, 0xc6, 0x80, 0x00, 0x00, 0x00, 0xff, 0xff, 0x85, 0x32, 0x5f, 0x14, 0x34, 0x01, 0x00,
file_base_v1_options_proto_rawDesc = nil 0x00,
file_base_v1_options_proto_goTypes = nil
file_base_v1_options_proto_depIdxs = nil
} }
This diff is collapsed.
This diff is collapsed.
// Code generated by protoc-gen-go. DO NOT EDIT.
// versions:
// protoc-gen-go v1.28.1
// protoc (unknown)
// source: base/v1/service.proto
package basev1
import (
protoreflect "google.golang.org/protobuf/reflect/protoreflect"
protoimpl "google.golang.org/protobuf/runtime/protoimpl"
reflect "reflect"
)
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_base_v1_service_proto protoreflect.FileDescriptor
var file_base_v1_service_proto_rawDesc = []byte{
0x0a, 0x15, 0x62, 0x61, 0x73, 0x65, 0x2f, 0x76, 0x31, 0x2f, 0x73, 0x65, 0x72, 0x76, 0x69, 0x63,
0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x12, 0x07, 0x62, 0x61, 0x73, 0x65, 0x2e, 0x76, 0x31,
0x1a, 0x1e, 0x62, 0x61, 0x73, 0x65, 0x2f, 0x76, 0x31, 0x2f, 0x72, 0x65, 0x71, 0x75, 0x65, 0x73,
0x74, 0x5f, 0x72, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f,
0x32, 0x43, 0x0a, 0x0b, 0x42, 0x61, 0x73, 0x65, 0x53, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x12,
0x34, 0x0a, 0x0c, 0x50, 0x61, 0x72, 0x73, 0x65, 0x41, 0x63, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x12,
0x10, 0x2e, 0x62, 0x61, 0x73, 0x65, 0x2e, 0x76, 0x31, 0x2e, 0x52, 0x4c, 0x50, 0x44, 0x61, 0x74,
0x61, 0x1a, 0x10, 0x2e, 0x62, 0x61, 0x73, 0x65, 0x2e, 0x76, 0x31, 0x2e, 0x41, 0x63, 0x63, 0x6f,
0x75, 0x6e, 0x74, 0x22, 0x00, 0x42, 0x96, 0x01, 0x0a, 0x0b, 0x63, 0x6f, 0x6d, 0x2e, 0x62, 0x61,
0x73, 0x65, 0x2e, 0x76, 0x31, 0x42, 0x0c, 0x53, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x50, 0x72,
0x6f, 0x74, 0x6f, 0x50, 0x01, 0x5a, 0x3c, 0x67, 0x69, 0x74, 0x68, 0x75, 0x62, 0x2e, 0x63, 0x6f,
0x6d, 0x2f, 0x63, 0x6d, 0x70, 0x63, 0x68, 0x61, 0x69, 0x6e, 0x2f, 0x6d, 0x65, 0x74, 0x61, 0x70,
0x72, 0x6f, 0x74, 0x6f, 0x63, 0x6f, 0x6c, 0x2f, 0x67, 0x65, 0x6e, 0x2f, 0x70, 0x72, 0x6f, 0x74,
0x6f, 0x2f, 0x67, 0x6f, 0x2f, 0x62, 0x61, 0x73, 0x65, 0x2f, 0x76, 0x31, 0x3b, 0x62, 0x61, 0x73,
0x65, 0x76, 0x31, 0xa2, 0x02, 0x03, 0x42, 0x58, 0x58, 0xaa, 0x02, 0x07, 0x42, 0x61, 0x73, 0x65,
0x2e, 0x56, 0x31, 0xca, 0x02, 0x07, 0x42, 0x61, 0x73, 0x65, 0x5c, 0x56, 0x31, 0xe2, 0x02, 0x13,
0x42, 0x61, 0x73, 0x65, 0x5c, 0x56, 0x31, 0x5c, 0x47, 0x50, 0x42, 0x4d, 0x65, 0x74, 0x61, 0x64,
0x61, 0x74, 0x61, 0xea, 0x02, 0x08, 0x42, 0x61, 0x73, 0x65, 0x3a, 0x3a, 0x56, 0x31, 0x62, 0x06,
0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33,
}
var file_base_v1_service_proto_goTypes = []interface{}{
(*RLPData)(nil), // 0: base.v1.RLPData
(*Account)(nil), // 1: base.v1.Account
}
var file_base_v1_service_proto_depIdxs = []int32{
0, // 0: base.v1.BaseService.ParseAccount:input_type -> base.v1.RLPData
1, // 1: base.v1.BaseService.ParseAccount:output_type -> base.v1.Account
1, // [1:2] is the sub-list for method output_type
0, // [0:1] 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_base_v1_service_proto_init() }
func file_base_v1_service_proto_init() {
if File_base_v1_service_proto != nil {
return
}
file_base_v1_request_response_proto_init()
type x struct{}
out := protoimpl.TypeBuilder{
File: protoimpl.DescBuilder{
GoPackagePath: reflect.TypeOf(x{}).PkgPath(),
RawDescriptor: file_base_v1_service_proto_rawDesc,
NumEnums: 0,
NumMessages: 0,
NumExtensions: 0,
NumServices: 1,
},
GoTypes: file_base_v1_service_proto_goTypes,
DependencyIndexes: file_base_v1_service_proto_depIdxs,
}.Build()
File_base_v1_service_proto = out.File
file_base_v1_service_proto_rawDesc = nil
file_base_v1_service_proto_goTypes = nil
file_base_v1_service_proto_depIdxs = nil
}
// Code generated by protoc-gen-go-grpc. DO NOT EDIT.
// versions:
// - protoc-gen-go-grpc v1.2.0
// - protoc (unknown)
// source: base/v1/service.proto
package basev1
import (
context "context"
grpc "google.golang.org/grpc"
codes "google.golang.org/grpc/codes"
status "google.golang.org/grpc/status"
)
// This is a compile-time assertion to ensure that this generated file
// is compatible with the grpc package it is being compiled against.
// Requires gRPC-Go v1.32.0 or later.
const _ = grpc.SupportPackageIsVersion7
// BaseServiceClient is the client API for BaseService 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 BaseServiceClient interface {
ParseAccount(ctx context.Context, in *RLPData, opts ...grpc.CallOption) (*Account, error)
}
type baseServiceClient struct {
cc grpc.ClientConnInterface
}
func NewBaseServiceClient(cc grpc.ClientConnInterface) BaseServiceClient {
return &baseServiceClient{cc}
}
func (c *baseServiceClient) ParseAccount(ctx context.Context, in *RLPData, opts ...grpc.CallOption) (*Account, error) {
out := new(Account)
err := c.cc.Invoke(ctx, "/base.v1.BaseService/ParseAccount", in, out, opts...)
if err != nil {
return nil, err
}
return out, nil
}
// BaseServiceServer is the server API for BaseService service.
// All implementations must embed UnimplementedBaseServiceServer
// for forward compatibility
type BaseServiceServer interface {
ParseAccount(context.Context, *RLPData) (*Account, error)
mustEmbedUnimplementedBaseServiceServer()
}
// UnimplementedBaseServiceServer must be embedded to have forward compatible implementations.
type UnimplementedBaseServiceServer struct {
}
func (UnimplementedBaseServiceServer) ParseAccount(context.Context, *RLPData) (*Account, error) {
return nil, status.Errorf(codes.Unimplemented, "method ParseAccount not implemented")
}
func (UnimplementedBaseServiceServer) mustEmbedUnimplementedBaseServiceServer() {}
// UnsafeBaseServiceServer may be embedded to opt out of forward compatibility for this service.
// Use of this interface is not recommended, as added methods to BaseServiceServer will
// result in compilation errors.
type UnsafeBaseServiceServer interface {
mustEmbedUnimplementedBaseServiceServer()
}
func RegisterBaseServiceServer(s grpc.ServiceRegistrar, srv BaseServiceServer) {
s.RegisterService(&BaseService_ServiceDesc, srv)
}
func _BaseService_ParseAccount_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
in := new(RLPData)
if err := dec(in); err != nil {
return nil, err
}
if interceptor == nil {
return srv.(BaseServiceServer).ParseAccount(ctx, in)
}
info := &grpc.UnaryServerInfo{
Server: srv,
FullMethod: "/base.v1.BaseService/ParseAccount",
}
handler := func(ctx context.Context, req interface{}) (interface{}, error) {
return srv.(BaseServiceServer).ParseAccount(ctx, req.(*RLPData))
}
return interceptor(ctx, in, info, handler)
}
// BaseService_ServiceDesc is the grpc.ServiceDesc for BaseService service.
// It's only intended for direct use with grpc.RegisterService,
// and not to be introspected or modified (even as a copy)
var BaseService_ServiceDesc = grpc.ServiceDesc{
ServiceName: "base.v1.BaseService",
HandlerType: (*BaseServiceServer)(nil),
Methods: []grpc.MethodDesc{
{
MethodName: "ParseAccount",
Handler: _BaseService_ParseAccount_Handler,
},
},
Streams: []grpc.StreamDesc{},
Metadata: "base/v1/service.proto",
}
This diff is collapsed.
// Code generated by protoc-gen-go. DO NOT EDIT. // Code generated by protoc-gen-gogo. DO NOT EDIT.
// versions:
// protoc-gen-go v1.28.1
// protoc (unknown)
// source: crypter/v1/service.proto // source: crypter/v1/service.proto
package crypterv1 package crypterv1
import ( import (
protoreflect "google.golang.org/protobuf/reflect/protoreflect" fmt "fmt"
protoimpl "google.golang.org/protobuf/runtime/protoimpl" proto "github.com/gogo/protobuf/proto"
reflect "reflect" math "math"
) )
const ( // Reference imports to suppress errors if they are not otherwise used.
// Verify that this generated code is sufficiently up-to-date. var _ = proto.Marshal
_ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) var _ = fmt.Errorf
// Verify that runtime/protoimpl is sufficiently up-to-date. var _ = math.Inf
_ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20)
)
var File_crypter_v1_service_proto protoreflect.FileDescriptor
var file_crypter_v1_service_proto_rawDesc = []byte{ // This is a compile-time assertion to ensure that this generated file
0x0a, 0x18, 0x63, 0x72, 0x79, 0x70, 0x74, 0x65, 0x72, 0x2f, 0x76, 0x31, 0x2f, 0x73, 0x65, 0x72, // is compatible with the proto package it is being compiled against.
0x76, 0x69, 0x63, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x12, 0x0a, 0x63, 0x72, 0x79, 0x70, // A compilation error at this line likely means your copy of the
0x74, 0x65, 0x72, 0x2e, 0x76, 0x31, 0x1a, 0x21, 0x63, 0x72, 0x79, 0x70, 0x74, 0x65, 0x72, 0x2f, // proto package needs to be updated.
0x76, 0x31, 0x2f, 0x72, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x5f, 0x72, 0x65, 0x73, 0x70, 0x6f, const _ = proto.GoGoProtoPackageIsVersion3 // please upgrade the proto package
0x6e, 0x73, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x32, 0xde, 0x02, 0x0a, 0x0e, 0x43, 0x72,
0x79, 0x70, 0x74, 0x65, 0x72, 0x53, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x12, 0x4a, 0x0a, 0x09,
0x42, 0x61, 0x74, 0x63, 0x68, 0x53, 0x69, 0x67, 0x6e, 0x12, 0x1c, 0x2e, 0x63, 0x72, 0x79, 0x70,
0x74, 0x65, 0x72, 0x2e, 0x76, 0x31, 0x2e, 0x42, 0x61, 0x74, 0x63, 0x68, 0x53, 0x69, 0x67, 0x6e,
0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x1d, 0x2e, 0x63, 0x72, 0x79, 0x70, 0x74, 0x65,
0x72, 0x2e, 0x76, 0x31, 0x2e, 0x42, 0x61, 0x74, 0x63, 0x68, 0x53, 0x69, 0x67, 0x6e, 0x52, 0x65,
0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x00, 0x12, 0x50, 0x0a, 0x0b, 0x42, 0x61, 0x74, 0x63,
0x68, 0x56, 0x65, 0x72, 0x69, 0x66, 0x79, 0x12, 0x1e, 0x2e, 0x63, 0x72, 0x79, 0x70, 0x74, 0x65,
0x72, 0x2e, 0x76, 0x31, 0x2e, 0x42, 0x61, 0x74, 0x63, 0x68, 0x56, 0x65, 0x72, 0x69, 0x66, 0x79,
0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x1f, 0x2e, 0x63, 0x72, 0x79, 0x70, 0x74, 0x65,
0x72, 0x2e, 0x76, 0x31, 0x2e, 0x42, 0x61, 0x74, 0x63, 0x68, 0x56, 0x65, 0x72, 0x69, 0x66, 0x79,
0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x00, 0x12, 0x53, 0x0a, 0x0c, 0x42, 0x61,
0x74, 0x63, 0x68, 0x52, 0x65, 0x63, 0x6f, 0x76, 0x65, 0x72, 0x12, 0x1f, 0x2e, 0x63, 0x72, 0x79,
0x70, 0x74, 0x65, 0x72, 0x2e, 0x76, 0x31, 0x2e, 0x42, 0x61, 0x74, 0x63, 0x68, 0x52, 0x65, 0x63,
0x6f, 0x76, 0x65, 0x72, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x20, 0x2e, 0x63, 0x72,
0x79, 0x70, 0x74, 0x65, 0x72, 0x2e, 0x76, 0x31, 0x2e, 0x42, 0x61, 0x74, 0x63, 0x68, 0x52, 0x65,
0x63, 0x6f, 0x76, 0x65, 0x72, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x00, 0x12,
0x59, 0x0a, 0x0e, 0x42, 0x61, 0x74, 0x63, 0x68, 0x52, 0x65, 0x63, 0x6f, 0x76, 0x65, 0x72, 0x54,
0x78, 0x12, 0x21, 0x2e, 0x63, 0x72, 0x79, 0x70, 0x74, 0x65, 0x72, 0x2e, 0x76, 0x31, 0x2e, 0x42,
0x61, 0x74, 0x63, 0x68, 0x52, 0x65, 0x63, 0x6f, 0x76, 0x65, 0x72, 0x54, 0x78, 0x52, 0x65, 0x71,
0x75, 0x65, 0x73, 0x74, 0x1a, 0x22, 0x2e, 0x63, 0x72, 0x79, 0x70, 0x74, 0x65, 0x72, 0x2e, 0x76,
0x31, 0x2e, 0x42, 0x61, 0x74, 0x63, 0x68, 0x52, 0x65, 0x63, 0x6f, 0x76, 0x65, 0x72, 0x54, 0x78,
0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x00, 0x42, 0xbc, 0x01, 0x0a, 0x0e, 0x63,
0x6f, 0x6d, 0x2e, 0x63, 0x72, 0x79, 0x70, 0x74, 0x65, 0x72, 0x2e, 0x76, 0x31, 0x42, 0x0c, 0x53,
0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x50, 0x72, 0x6f, 0x74, 0x6f, 0x50, 0x01, 0x5a, 0x53, 0x67,
0x69, 0x74, 0x68, 0x75, 0x62, 0x2e, 0x63, 0x6f, 0x6d, 0x2f, 0x43, 0x61, 0x64, 0x75, 0x63, 0x65,
0x75, 0x73, 0x4d, 0x65, 0x74, 0x61, 0x76, 0x65, 0x72, 0x73, 0x65, 0x50, 0x72, 0x6f, 0x74, 0x6f,
0x63, 0x6f, 0x6c, 0x2f, 0x6d, 0x65, 0x74, 0x61, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x63, 0x6f, 0x6c,
0x2f, 0x67, 0x65, 0x6e, 0x2f, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x2f, 0x67, 0x6f, 0x2f, 0x63, 0x72,
0x79, 0x70, 0x74, 0x65, 0x72, 0x2f, 0x76, 0x31, 0x3b, 0x63, 0x72, 0x79, 0x70, 0x74, 0x65, 0x72,
0x76, 0x31, 0xa2, 0x02, 0x03, 0x43, 0x58, 0x58, 0xaa, 0x02, 0x0a, 0x43, 0x72, 0x79, 0x70, 0x74,
0x65, 0x72, 0x2e, 0x56, 0x31, 0xca, 0x02, 0x0a, 0x43, 0x72, 0x79, 0x70, 0x74, 0x65, 0x72, 0x5c,
0x56, 0x31, 0xe2, 0x02, 0x16, 0x43, 0x72, 0x79, 0x70, 0x74, 0x65, 0x72, 0x5c, 0x56, 0x31, 0x5c,
0x47, 0x50, 0x42, 0x4d, 0x65, 0x74, 0x61, 0x64, 0x61, 0x74, 0x61, 0xea, 0x02, 0x0b, 0x43, 0x72,
0x79, 0x70, 0x74, 0x65, 0x72, 0x3a, 0x3a, 0x56, 0x31, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f,
0x33,
}
var file_crypter_v1_service_proto_goTypes = []interface{}{ func init() { proto.RegisterFile("crypter/v1/service.proto", fileDescriptor_05ac8b6606ffe814) }
(*BatchSignRequest)(nil), // 0: crypter.v1.BatchSignRequest
(*BatchVerifyRequest)(nil), // 1: crypter.v1.BatchVerifyRequest
(*BatchRecoverRequest)(nil), // 2: crypter.v1.BatchRecoverRequest
(*BatchRecoverTxRequest)(nil), // 3: crypter.v1.BatchRecoverTxRequest
(*BatchSignResponse)(nil), // 4: crypter.v1.BatchSignResponse
(*BatchVerifyResponse)(nil), // 5: crypter.v1.BatchVerifyResponse
(*BatchRecoverResponse)(nil), // 6: crypter.v1.BatchRecoverResponse
(*BatchRecoverTxResponse)(nil), // 7: crypter.v1.BatchRecoverTxResponse
}
var file_crypter_v1_service_proto_depIdxs = []int32{
0, // 0: crypter.v1.CrypterService.BatchSign:input_type -> crypter.v1.BatchSignRequest
1, // 1: crypter.v1.CrypterService.BatchVerify:input_type -> crypter.v1.BatchVerifyRequest
2, // 2: crypter.v1.CrypterService.BatchRecover:input_type -> crypter.v1.BatchRecoverRequest
3, // 3: crypter.v1.CrypterService.BatchRecoverTx:input_type -> crypter.v1.BatchRecoverTxRequest
4, // 4: crypter.v1.CrypterService.BatchSign:output_type -> crypter.v1.BatchSignResponse
5, // 5: crypter.v1.CrypterService.BatchVerify:output_type -> crypter.v1.BatchVerifyResponse
6, // 6: crypter.v1.CrypterService.BatchRecover:output_type -> crypter.v1.BatchRecoverResponse
7, // 7: crypter.v1.CrypterService.BatchRecoverTx:output_type -> crypter.v1.BatchRecoverTxResponse
4, // [4:8] is the sub-list for method output_type
0, // [0:4] 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_crypter_v1_service_proto_init() } var fileDescriptor_05ac8b6606ffe814 = []byte{
func file_crypter_v1_service_proto_init() { // 318 bytes of a gzipped FileDescriptorProto
if File_crypter_v1_service_proto != nil { 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0x7c, 0x91, 0x4f, 0x4a, 0xc3, 0x40,
return 0x14, 0xc6, 0x6d, 0x04, 0xc1, 0x69, 0xe9, 0x62, 0x16, 0x22, 0xc5, 0x7f, 0xed, 0x01, 0x32, 0x8c,
} 0xee, 0xea, 0x2e, 0x5d, 0x08, 0x82, 0x10, 0x9a, 0x12, 0xaa, 0x14, 0x64, 0x3a, 0x7d, 0xa6, 0x01,
file_crypter_v1_request_response_proto_init() 0xdb, 0x89, 0x33, 0x93, 0xa1, 0xbd, 0x8e, 0x4b, 0xcf, 0xe0, 0x09, 0x3c, 0x84, 0x0b, 0x97, 0x9e,
type x struct{} 0x42, 0x9a, 0x99, 0xa4, 0x85, 0x12, 0x77, 0xf9, 0xe6, 0xfb, 0xbd, 0xdf, 0x83, 0x3c, 0x74, 0xca,
out := protoimpl.TypeBuilder{ 0xe5, 0x3a, 0xd3, 0x20, 0x89, 0xa1, 0x44, 0x81, 0x34, 0x29, 0x07, 0x3f, 0x93, 0x42, 0x0b, 0x8c,
File: protoimpl.DescBuilder{ 0x5c, 0xe3, 0x1b, 0xda, 0xe9, 0xee, 0x50, 0x12, 0xde, 0x72, 0x50, 0xfa, 0x59, 0x82, 0xca, 0xc4,
GoPackagePath: reflect.TypeOf(x{}).PkgPath(), 0x52, 0x39, 0xfc, 0xfa, 0xdb, 0x43, 0xed, 0x81, 0xa5, 0x22, 0xeb, 0xc1, 0xf7, 0xe8, 0x38, 0x60,
RawDescriptor: file_crypter_v1_service_proto_rawDesc, 0x9a, 0xcf, 0xa3, 0x34, 0x59, 0xe2, 0x33, 0x7f, 0xeb, 0xf3, 0xab, 0xe7, 0xa1, 0x95, 0x75, 0xce,
NumEnums: 0, 0x6b, 0x5a, 0xbb, 0xa2, 0x77, 0x80, 0x43, 0xd4, 0x2c, 0x9e, 0x63, 0x90, 0xe9, 0xcb, 0x1a, 0x5f,
NumMessages: 0, 0xec, 0xf1, 0xb6, 0x28, 0x7d, 0x97, 0xb5, 0x7d, 0x65, 0x8c, 0x50, 0xab, 0x28, 0x86, 0xc0, 0x85,
NumExtensions: 0, 0x01, 0x89, 0xf7, 0x47, 0x5c, 0x53, 0x3a, 0xaf, 0xea, 0x81, 0x4a, 0xfa, 0x88, 0xda, 0xbb, 0xcd,
NumServices: 1, 0x68, 0x85, 0xbb, 0x75, 0x53, 0xa3, 0x55, 0x29, 0xee, 0xfd, 0x87, 0x94, 0xea, 0xe0, 0xb3, 0x81,
}, 0xda, 0x5c, 0x2c, 0x76, 0xd8, 0xa0, 0xe5, 0xfe, 0x74, 0xb8, 0xb9, 0x40, 0xd8, 0x78, 0x8a, 0x92,
GoTypes: file_crypter_v1_service_proto_goTypes, 0x54, 0xcf, 0xf3, 0xa9, 0xcf, 0xc5, 0x82, 0x0c, 0xd8, 0x2c, 0xe7, 0x90, 0xab, 0x07, 0xd0, 0xcc,
DependencyIndexes: file_crypter_v1_service_proto_depIdxs, 0x80, 0x54, 0x16, 0xe2, 0xe2, 0x95, 0x2c, 0x40, 0xb3, 0xac, 0x0c, 0x09, 0x2c, 0x49, 0x11, 0x48,
}.Build() 0x22, 0xc8, 0xf6, 0xca, 0xb7, 0xee, 0xd3, 0xd0, 0x77, 0xef, 0x70, 0x30, 0x1e, 0x7f, 0x78, 0xc8,
File_crypter_v1_service_proto = out.File 0x1d, 0xd7, 0x8f, 0xe9, 0x57, 0x15, 0x26, 0x31, 0xfd, 0xf1, 0x4e, 0xb6, 0x61, 0x72, 0x17, 0x06,
file_crypter_v1_service_proto_rawDesc = nil 0x9b, 0x85, 0x33, 0xa6, 0xd9, 0xaf, 0xd7, 0x74, 0x45, 0xbf, 0x1f, 0xd3, 0xe9, 0x51, 0xb1, 0xe5,
file_crypter_v1_service_proto_goTypes = nil 0xe6, 0x2f, 0x00, 0x00, 0xff, 0xff, 0x16, 0x15, 0xdd, 0xd5, 0x71, 0x02, 0x00, 0x00,
file_crypter_v1_service_proto_depIdxs = nil
} }
This diff is collapsed.
// Code generated by protoc-gen-go. DO NOT EDIT. // Code generated by protoc-gen-gogo. DO NOT EDIT.
// versions:
// protoc-gen-go v1.28.1
// protoc (unknown)
// source: nebula/v1/request_response.proto // source: nebula/v1/request_response.proto
package nebulav1 package nebulav1
import ( import (
protoreflect "google.golang.org/protobuf/reflect/protoreflect" fmt "fmt"
protoimpl "google.golang.org/protobuf/runtime/protoimpl" proto "github.com/gogo/protobuf/proto"
_ "google.golang.org/protobuf/types/known/fieldmaskpb" _ "google.golang.org/protobuf/types/known/fieldmaskpb"
_ "google.golang.org/protobuf/types/known/timestamppb" _ "google.golang.org/protobuf/types/known/timestamppb"
reflect "reflect" math "math"
) )
const ( // Reference imports to suppress errors if they are not otherwise used.
// Verify that this generated code is sufficiently up-to-date. var _ = proto.Marshal
_ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) var _ = fmt.Errorf
// Verify that runtime/protoimpl is sufficiently up-to-date. var _ = math.Inf
_ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20)
)
var File_nebula_v1_request_response_proto protoreflect.FileDescriptor
var file_nebula_v1_request_response_proto_rawDesc = []byte{ // This is a compile-time assertion to ensure that this generated file
0x0a, 0x20, 0x6e, 0x65, 0x62, 0x75, 0x6c, 0x61, 0x2f, 0x76, 0x31, 0x2f, 0x72, 0x65, 0x71, 0x75, // is compatible with the proto package it is being compiled against.
0x65, 0x73, 0x74, 0x5f, 0x72, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x2e, 0x70, 0x72, 0x6f, // A compilation error at this line likely means your copy of the
0x74, 0x6f, 0x12, 0x09, 0x6e, 0x65, 0x62, 0x75, 0x6c, 0x61, 0x2e, 0x76, 0x31, 0x1a, 0x20, 0x67, // proto package needs to be updated.
0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2f, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2f, 0x66, const _ = proto.GoGoProtoPackageIsVersion3 // please upgrade the proto package
0x69, 0x65, 0x6c, 0x64, 0x5f, 0x6d, 0x61, 0x73, 0x6b, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a,
0x1f, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2f, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66,
0x2f, 0x74, 0x69, 0x6d, 0x65, 0x73, 0x74, 0x61, 0x6d, 0x70, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f,
0x1a, 0x18, 0x6e, 0x65, 0x62, 0x75, 0x6c, 0x61, 0x2f, 0x76, 0x31, 0x2f, 0x72, 0x65, 0x73, 0x6f,
0x75, 0x72, 0x63, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x42, 0xbd, 0x01, 0x0a, 0x0d, 0x63,
0x6f, 0x6d, 0x2e, 0x6e, 0x65, 0x62, 0x75, 0x6c, 0x61, 0x2e, 0x76, 0x31, 0x42, 0x14, 0x52, 0x65,
0x71, 0x75, 0x65, 0x73, 0x74, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x50, 0x72, 0x6f,
0x74, 0x6f, 0x50, 0x01, 0x5a, 0x51, 0x67, 0x69, 0x74, 0x68, 0x75, 0x62, 0x2e, 0x63, 0x6f, 0x6d,
0x2f, 0x43, 0x61, 0x64, 0x75, 0x63, 0x65, 0x75, 0x73, 0x4d, 0x65, 0x74, 0x61, 0x76, 0x65, 0x72,
0x73, 0x65, 0x50, 0x72, 0x6f, 0x74, 0x6f, 0x63, 0x6f, 0x6c, 0x2f, 0x6d, 0x65, 0x74, 0x61, 0x70,
0x72, 0x6f, 0x74, 0x6f, 0x63, 0x6f, 0x6c, 0x2f, 0x67, 0x65, 0x6e, 0x2f, 0x70, 0x72, 0x6f, 0x74,
0x6f, 0x2f, 0x67, 0x6f, 0x2f, 0x6e, 0x65, 0x62, 0x75, 0x6c, 0x61, 0x2f, 0x76, 0x31, 0x3b, 0x6e,
0x65, 0x62, 0x75, 0x6c, 0x61, 0x76, 0x31, 0xa2, 0x02, 0x03, 0x4e, 0x58, 0x58, 0xaa, 0x02, 0x09,
0x4e, 0x65, 0x62, 0x75, 0x6c, 0x61, 0x2e, 0x56, 0x31, 0xca, 0x02, 0x09, 0x4e, 0x65, 0x62, 0x75,
0x6c, 0x61, 0x5c, 0x56, 0x31, 0xe2, 0x02, 0x15, 0x4e, 0x65, 0x62, 0x75, 0x6c, 0x61, 0x5c, 0x56,
0x31, 0x5c, 0x47, 0x50, 0x42, 0x4d, 0x65, 0x74, 0x61, 0x64, 0x61, 0x74, 0x61, 0xea, 0x02, 0x0a,
0x4e, 0x65, 0x62, 0x75, 0x6c, 0x61, 0x3a, 0x3a, 0x56, 0x31, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74,
0x6f, 0x33,
}
var file_nebula_v1_request_response_proto_goTypes = []interface{}{} func init() { proto.RegisterFile("nebula/v1/request_response.proto", fileDescriptor_4c600a7b006f1b4e) }
var file_nebula_v1_request_response_proto_depIdxs = []int32{
0, // [0:0] is the sub-list for method output_type
0, // [0:0] 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_nebula_v1_request_response_proto_init() } var fileDescriptor_4c600a7b006f1b4e = []byte{
func file_nebula_v1_request_response_proto_init() { // 248 bytes of a gzipped FileDescriptorProto
if File_nebula_v1_request_response_proto != nil { 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0x5c, 0x8e, 0xc1, 0x4a, 0xc3, 0x30,
return 0x18, 0xc7, 0x59, 0x05, 0x61, 0x05, 0x2f, 0xa2, 0x20, 0xbb, 0xb8, 0x27, 0x68, 0x08, 0xde, 0xe6,
} 0xad, 0x1e, 0x3c, 0x39, 0xea, 0x0e, 0x65, 0xc8, 0x60, 0x7c, 0x4d, 0xbf, 0xc5, 0x62, 0xd3, 0xaf,
file_nebula_v1_resource_proto_init() 0x26, 0x5f, 0xfa, 0x40, 0x1e, 0x7d, 0x07, 0x5f, 0xc0, 0xc7, 0xf0, 0xe8, 0x53, 0xc8, 0x96, 0xac,
type x struct{} 0xc8, 0x6e, 0xff, 0x24, 0x3f, 0xf2, 0xfb, 0xa5, 0xf3, 0x0e, 0x2b, 0xdf, 0x82, 0x18, 0xa4, 0xb0,
out := protoimpl.TypeBuilder{ 0xf8, 0xee, 0xd1, 0xf1, 0xd6, 0xa2, 0xeb, 0xa9, 0x73, 0x98, 0xf5, 0x96, 0x98, 0x2e, 0xa7, 0x81,
File: protoimpl.DescBuilder{ 0xc8, 0x06, 0x39, 0x9b, 0x6b, 0x22, 0xdd, 0xa2, 0x38, 0x3c, 0x54, 0x7e, 0x27, 0x76, 0x0d, 0xb6,
GoPackagePath: reflect.TypeOf(x{}).PkgPath(), 0xf5, 0xd6, 0x80, 0x7b, 0x0b, 0xf0, 0xec, 0xf6, 0x94, 0xe0, 0xc6, 0xa0, 0x63, 0x30, 0x7d, 0x04,
RawDescriptor: file_nebula_v1_request_response_proto_rawDesc, 0x6e, 0xfe, 0xfb, 0x1c, 0x79, 0xab, 0xa2, 0x27, 0xff, 0x9a, 0xa4, 0x17, 0x8a, 0x4c, 0x36, 0xea,
NumEnums: 0, 0xf2, 0xab, 0x55, 0x28, 0x5a, 0xc5, 0xa0, 0x62, 0xcf, 0x15, 0x93, 0x97, 0x67, 0xdd, 0xf0, 0xab,
NumMessages: 0, 0xaf, 0x32, 0x45, 0x46, 0x3c, 0x40, 0xed, 0x15, 0x7a, 0xf7, 0x84, 0x0c, 0x03, 0xda, 0x08, 0x29,
NumExtensions: 0, 0x6a, 0x85, 0x41, 0x86, 0xfe, 0x78, 0xd0, 0xd8, 0x85, 0x26, 0xa1, 0x49, 0x8c, 0x09, 0xf7, 0x61,
NumServices: 0, 0x0d, 0xf2, 0x23, 0x39, 0x5b, 0xae, 0xd7, 0x9f, 0xc9, 0x74, 0x19, 0xe4, 0xa5, 0xfc, 0x3e, 0xee,
}, 0x4d, 0x29, 0x7f, 0x92, 0xeb, 0x71, 0x6f, 0x1e, 0x8b, 0x7c, 0xef, 0xaa, 0x81, 0xe1, 0x37, 0x49,
GoTypes: file_nebula_v1_request_response_proto_goTypes, 0xc3, 0xfd, 0x62, 0x51, 0xca, 0xea, 0xfc, 0xf0, 0xff, 0xdd, 0x5f, 0x00, 0x00, 0x00, 0xff, 0xff,
DependencyIndexes: file_nebula_v1_request_response_proto_depIdxs, 0xda, 0x3b, 0x18, 0xa5, 0x52, 0x01, 0x00, 0x00,
}.Build()
File_nebula_v1_request_response_proto = out.File
file_nebula_v1_request_response_proto_rawDesc = nil
file_nebula_v1_request_response_proto_goTypes = nil
file_nebula_v1_request_response_proto_depIdxs = nil
} }
// Code generated by protoc-gen-go. DO NOT EDIT. // Code generated by protoc-gen-gogo. DO NOT EDIT.
// versions:
// protoc-gen-go v1.28.1
// protoc (unknown)
// source: nebula/v1/resource.proto // source: nebula/v1/resource.proto
package nebulav1 package nebulav1
import ( import (
fmt "fmt"
v1 "github.com/CaduceusMetaverseProtocol/metaprotocol/gen/proto/go/base/v1" v1 "github.com/CaduceusMetaverseProtocol/metaprotocol/gen/proto/go/base/v1"
protoreflect "google.golang.org/protobuf/reflect/protoreflect" proto "github.com/gogo/protobuf/proto"
protoimpl "google.golang.org/protobuf/runtime/protoimpl" math "math"
reflect "reflect"
sync "sync"
) )
const ( // Reference imports to suppress errors if they are not otherwise used.
// Verify that this generated code is sufficiently up-to-date. var _ = proto.Marshal
_ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) var _ = fmt.Errorf
// Verify that runtime/protoimpl is sufficiently up-to-date. var _ = math.Inf
_ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20)
)
type Tx struct { // This is a compile-time assertion to ensure that this generated file
state protoimpl.MessageState // is compatible with the proto package it is being compiled against.
sizeCache protoimpl.SizeCache // A compilation error at this line likely means your copy of the
unknownFields protoimpl.UnknownFields // proto package needs to be updated.
const _ = proto.GoGoProtoPackageIsVersion3 // please upgrade the proto package
Address *v1.Address `protobuf:"bytes,1,opt,name=address,proto3" json:"address,omitempty"` type Tx struct {
Hash *v1.Hash `protobuf:"bytes,2,opt,name=hash,proto3" json:"hash,omitempty"` Address *v1.Address `protobuf:"bytes,1,opt,name=address,proto3" json:"address,omitempty"`
Hash *v1.Hash `protobuf:"bytes,2,opt,name=hash,proto3" json:"hash,omitempty"`
XXX_NoUnkeyedLiteral struct{} `json:"-"`
XXX_unrecognized []byte `json:"-"`
XXX_sizecache int32 `json:"-"`
} }
func (x *Tx) Reset() { func (m *Tx) Reset() { *m = Tx{} }
*x = Tx{} func (m *Tx) String() string { return proto.CompactTextString(m) }
if protoimpl.UnsafeEnabled { func (*Tx) ProtoMessage() {}
mi := &file_nebula_v1_resource_proto_msgTypes[0] func (*Tx) Descriptor() ([]byte, []int) {
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) return fileDescriptor_77da30a6e0efe5d2, []int{0}
ms.StoreMessageInfo(mi)
}
} }
func (m *Tx) XXX_Unmarshal(b []byte) error {
func (x *Tx) String() string { return xxx_messageInfo_Tx.Unmarshal(m, b)
return protoimpl.X.MessageStringOf(x)
} }
func (m *Tx) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
func (*Tx) ProtoMessage() {} return xxx_messageInfo_Tx.Marshal(b, m, deterministic)
func (x *Tx) ProtoReflect() protoreflect.Message {
mi := &file_nebula_v1_resource_proto_msgTypes[0]
if protoimpl.UnsafeEnabled && x != nil {
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
if ms.LoadMessageInfo() == nil {
ms.StoreMessageInfo(mi)
}
return ms
}
return mi.MessageOf(x)
} }
func (m *Tx) XXX_Merge(src proto.Message) {
// Deprecated: Use Tx.ProtoReflect.Descriptor instead. xxx_messageInfo_Tx.Merge(m, src)
func (*Tx) Descriptor() ([]byte, []int) { }
return file_nebula_v1_resource_proto_rawDescGZIP(), []int{0} func (m *Tx) XXX_Size() int {
return xxx_messageInfo_Tx.Size(m)
} }
func (m *Tx) XXX_DiscardUnknown() {
xxx_messageInfo_Tx.DiscardUnknown(m)
}
var xxx_messageInfo_Tx proto.InternalMessageInfo
func (x *Tx) GetAddress() *v1.Address { func (m *Tx) GetAddress() *v1.Address {
if x != nil { if m != nil {
return x.Address return m.Address
} }
return nil return nil
} }
func (x *Tx) GetHash() *v1.Hash { func (m *Tx) GetHash() *v1.Hash {
if x != nil { if m != nil {
return x.Hash return m.Hash
} }
return nil return nil
} }
var File_nebula_v1_resource_proto protoreflect.FileDescriptor func init() {
proto.RegisterType((*Tx)(nil), "nebula.v1.Tx")
var file_nebula_v1_resource_proto_rawDesc = []byte{
0x0a, 0x18, 0x6e, 0x65, 0x62, 0x75, 0x6c, 0x61, 0x2f, 0x76, 0x31, 0x2f, 0x72, 0x65, 0x73, 0x6f,
0x75, 0x72, 0x63, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x12, 0x09, 0x6e, 0x65, 0x62, 0x75,
0x6c, 0x61, 0x2e, 0x76, 0x31, 0x1a, 0x16, 0x62, 0x61, 0x73, 0x65, 0x2f, 0x76, 0x31, 0x2f, 0x72,
0x65, 0x73, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x22, 0x53, 0x0a,
0x02, 0x54, 0x78, 0x12, 0x2a, 0x0a, 0x07, 0x61, 0x64, 0x64, 0x72, 0x65, 0x73, 0x73, 0x18, 0x01,
0x20, 0x01, 0x28, 0x0b, 0x32, 0x10, 0x2e, 0x62, 0x61, 0x73, 0x65, 0x2e, 0x76, 0x31, 0x2e, 0x41,
0x64, 0x64, 0x72, 0x65, 0x73, 0x73, 0x52, 0x07, 0x61, 0x64, 0x64, 0x72, 0x65, 0x73, 0x73, 0x12,
0x21, 0x0a, 0x04, 0x68, 0x61, 0x73, 0x68, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x0d, 0x2e,
0x62, 0x61, 0x73, 0x65, 0x2e, 0x76, 0x31, 0x2e, 0x48, 0x61, 0x73, 0x68, 0x52, 0x04, 0x68, 0x61,
0x73, 0x68, 0x42, 0xb6, 0x01, 0x0a, 0x0d, 0x63, 0x6f, 0x6d, 0x2e, 0x6e, 0x65, 0x62, 0x75, 0x6c,
0x61, 0x2e, 0x76, 0x31, 0x42, 0x0d, 0x52, 0x65, 0x73, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x50, 0x72,
0x6f, 0x74, 0x6f, 0x50, 0x01, 0x5a, 0x51, 0x67, 0x69, 0x74, 0x68, 0x75, 0x62, 0x2e, 0x63, 0x6f,
0x6d, 0x2f, 0x43, 0x61, 0x64, 0x75, 0x63, 0x65, 0x75, 0x73, 0x4d, 0x65, 0x74, 0x61, 0x76, 0x65,
0x72, 0x73, 0x65, 0x50, 0x72, 0x6f, 0x74, 0x6f, 0x63, 0x6f, 0x6c, 0x2f, 0x6d, 0x65, 0x74, 0x61,
0x70, 0x72, 0x6f, 0x74, 0x6f, 0x63, 0x6f, 0x6c, 0x2f, 0x67, 0x65, 0x6e, 0x2f, 0x70, 0x72, 0x6f,
0x74, 0x6f, 0x2f, 0x67, 0x6f, 0x2f, 0x6e, 0x65, 0x62, 0x75, 0x6c, 0x61, 0x2f, 0x76, 0x31, 0x3b,
0x6e, 0x65, 0x62, 0x75, 0x6c, 0x61, 0x76, 0x31, 0xa2, 0x02, 0x03, 0x4e, 0x58, 0x58, 0xaa, 0x02,
0x09, 0x4e, 0x65, 0x62, 0x75, 0x6c, 0x61, 0x2e, 0x56, 0x31, 0xca, 0x02, 0x09, 0x4e, 0x65, 0x62,
0x75, 0x6c, 0x61, 0x5c, 0x56, 0x31, 0xe2, 0x02, 0x15, 0x4e, 0x65, 0x62, 0x75, 0x6c, 0x61, 0x5c,
0x56, 0x31, 0x5c, 0x47, 0x50, 0x42, 0x4d, 0x65, 0x74, 0x61, 0x64, 0x61, 0x74, 0x61, 0xea, 0x02,
0x0a, 0x4e, 0x65, 0x62, 0x75, 0x6c, 0x61, 0x3a, 0x3a, 0x56, 0x31, 0x62, 0x06, 0x70, 0x72, 0x6f,
0x74, 0x6f, 0x33,
}
var (
file_nebula_v1_resource_proto_rawDescOnce sync.Once
file_nebula_v1_resource_proto_rawDescData = file_nebula_v1_resource_proto_rawDesc
)
func file_nebula_v1_resource_proto_rawDescGZIP() []byte {
file_nebula_v1_resource_proto_rawDescOnce.Do(func() {
file_nebula_v1_resource_proto_rawDescData = protoimpl.X.CompressGZIP(file_nebula_v1_resource_proto_rawDescData)
})
return file_nebula_v1_resource_proto_rawDescData
}
var file_nebula_v1_resource_proto_msgTypes = make([]protoimpl.MessageInfo, 1)
var file_nebula_v1_resource_proto_goTypes = []interface{}{
(*Tx)(nil), // 0: nebula.v1.Tx
(*v1.Address)(nil), // 1: base.v1.Address
(*v1.Hash)(nil), // 2: base.v1.Hash
}
var file_nebula_v1_resource_proto_depIdxs = []int32{
1, // 0: nebula.v1.Tx.address:type_name -> base.v1.Address
2, // 1: nebula.v1.Tx.hash:type_name -> base.v1.Hash
2, // [2:2] is the sub-list for method output_type
2, // [2:2] is the sub-list for method input_type
2, // [2:2] is the sub-list for extension type_name
2, // [2:2] is the sub-list for extension extendee
0, // [0:2] is the sub-list for field type_name
} }
func init() { file_nebula_v1_resource_proto_init() } func init() { proto.RegisterFile("nebula/v1/resource.proto", fileDescriptor_77da30a6e0efe5d2) }
func file_nebula_v1_resource_proto_init() {
if File_nebula_v1_resource_proto != nil { var fileDescriptor_77da30a6e0efe5d2 = []byte{
return // 254 bytes of a gzipped FileDescriptorProto
} 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0xe2, 0x92, 0xc8, 0x4b, 0x4d, 0x2a,
if !protoimpl.UnsafeEnabled { 0xcd, 0x49, 0xd4, 0x2f, 0x33, 0xd4, 0x2f, 0x4a, 0x2d, 0xce, 0x2f, 0x2d, 0x4a, 0x4e, 0xd5, 0x2b,
file_nebula_v1_resource_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { 0x28, 0xca, 0x2f, 0xc9, 0x17, 0xe2, 0x84, 0xc8, 0xe8, 0x95, 0x19, 0x4a, 0x89, 0x25, 0x25, 0x16,
switch v := v.(*Tx); i { 0xa7, 0x62, 0x2a, 0x51, 0x0a, 0xe6, 0x62, 0x0a, 0xa9, 0x10, 0xd2, 0xe2, 0x62, 0x4f, 0x4c, 0x49,
case 0: 0x29, 0x4a, 0x2d, 0x2e, 0x96, 0x60, 0x54, 0x60, 0xd4, 0xe0, 0x36, 0x12, 0xd0, 0x03, 0xa9, 0xd7,
return &v.state 0x2b, 0x33, 0xd4, 0x73, 0x84, 0x88, 0x07, 0xc1, 0x14, 0x08, 0x29, 0x72, 0xb1, 0x64, 0x24, 0x16,
case 1: 0x67, 0x48, 0x30, 0x81, 0x15, 0xf2, 0xc2, 0x15, 0x7a, 0x24, 0x16, 0x67, 0x04, 0x81, 0xa5, 0x9c,
return &v.sizeCache 0xb6, 0x31, 0x72, 0xf1, 0x26, 0xe7, 0xe7, 0xea, 0xc1, 0xad, 0x77, 0xe2, 0x0d, 0x82, 0x5a, 0x1b,
case 2: 0x00, 0xb2, 0x35, 0x80, 0x31, 0x2a, 0x30, 0x3d, 0xb3, 0x24, 0xa3, 0x34, 0x49, 0x2f, 0x39, 0x3f,
return &v.unknownFields 0x57, 0xdf, 0x39, 0x31, 0xa5, 0x34, 0x39, 0xb5, 0xb4, 0xd8, 0x37, 0xb5, 0x24, 0xb1, 0x2c, 0xb5,
default: 0xa8, 0x18, 0xa2, 0x28, 0x39, 0x3f, 0x47, 0x3f, 0x37, 0xb5, 0x24, 0xb1, 0x00, 0xc6, 0x49, 0x4f,
return nil 0xcd, 0xd3, 0x07, 0x73, 0xf4, 0xd3, 0xf3, 0xf5, 0xe1, 0x7e, 0xb6, 0x86, 0xb0, 0xca, 0x0c, 0x17,
} 0x31, 0x31, 0xfb, 0x45, 0x44, 0xac, 0x62, 0xe2, 0xf4, 0x83, 0xd8, 0x1a, 0x66, 0x78, 0x0a, 0xc6,
} 0x8e, 0x09, 0x33, 0x7c, 0xc4, 0x24, 0x0a, 0x67, 0xc7, 0xb8, 0x07, 0x38, 0x81, 0xec, 0x4a, 0x49,
} 0x2c, 0x49, 0x7c, 0xc5, 0xc4, 0x05, 0x11, 0xb7, 0xb2, 0x0a, 0x33, 0x4c, 0x62, 0x03, 0x9b, 0x6f,
type x struct{} 0x0c, 0x08, 0x00, 0x00, 0xff, 0xff, 0x45, 0x30, 0x76, 0xe7, 0x53, 0x01, 0x00, 0x00,
out := protoimpl.TypeBuilder{
File: protoimpl.DescBuilder{
GoPackagePath: reflect.TypeOf(x{}).PkgPath(),
RawDescriptor: file_nebula_v1_resource_proto_rawDesc,
NumEnums: 0,
NumMessages: 1,
NumExtensions: 0,
NumServices: 0,
},
GoTypes: file_nebula_v1_resource_proto_goTypes,
DependencyIndexes: file_nebula_v1_resource_proto_depIdxs,
MessageInfos: file_nebula_v1_resource_proto_msgTypes,
}.Build()
File_nebula_v1_resource_proto = out.File
file_nebula_v1_resource_proto_rawDesc = nil
file_nebula_v1_resource_proto_goTypes = nil
file_nebula_v1_resource_proto_depIdxs = nil
} }
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
// Code generated by protoc-gen-go. DO NOT EDIT. // Code generated by protoc-gen-gogo. DO NOT EDIT.
// versions:
// protoc-gen-go v1.28.1
// protoc (unknown)
// source: p2p/v1/service.proto // source: p2p/v1/service.proto
package p2pv1 package p2pv1
import ( import (
protoreflect "google.golang.org/protobuf/reflect/protoreflect" fmt "fmt"
protoimpl "google.golang.org/protobuf/runtime/protoimpl" proto "github.com/gogo/protobuf/proto"
reflect "reflect" math "math"
) )
const ( // Reference imports to suppress errors if they are not otherwise used.
// Verify that this generated code is sufficiently up-to-date. var _ = proto.Marshal
_ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) var _ = fmt.Errorf
// Verify that runtime/protoimpl is sufficiently up-to-date. var _ = math.Inf
_ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20)
)
var File_p2p_v1_service_proto protoreflect.FileDescriptor
var file_p2p_v1_service_proto_rawDesc = []byte{ // This is a compile-time assertion to ensure that this generated file
0x0a, 0x14, 0x70, 0x32, 0x70, 0x2f, 0x76, 0x31, 0x2f, 0x73, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, // is compatible with the proto package it is being compiled against.
0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x12, 0x06, 0x70, 0x32, 0x70, 0x2e, 0x76, 0x31, 0x1a, 0x1d, // A compilation error at this line likely means your copy of the
0x70, 0x32, 0x70, 0x2f, 0x76, 0x31, 0x2f, 0x72, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x5f, 0x72, // proto package needs to be updated.
0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x32, 0xe0, 0x01, const _ = proto.GoGoProtoPackageIsVersion3 // please upgrade the proto package
0x0a, 0x0a, 0x50, 0x32, 0x50, 0x53, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x12, 0x45, 0x0a, 0x0c,
0x42, 0x72, 0x6f, 0x61, 0x64, 0x63, 0x61, 0x73, 0x74, 0x4d, 0x73, 0x67, 0x12, 0x18, 0x2e, 0x70,
0x32, 0x70, 0x2e, 0x76, 0x31, 0x2e, 0x42, 0x72, 0x6f, 0x61, 0x64, 0x43, 0x61, 0x73, 0x74, 0x52,
0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x19, 0x2e, 0x70, 0x32, 0x70, 0x2e, 0x76, 0x31, 0x2e,
0x42, 0x72, 0x6f, 0x61, 0x64, 0x43, 0x61, 0x73, 0x74, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73,
0x65, 0x22, 0x00, 0x12, 0x3e, 0x0a, 0x07, 0x53, 0x65, 0x6e, 0x64, 0x4d, 0x73, 0x67, 0x12, 0x17,
0x2e, 0x70, 0x32, 0x70, 0x2e, 0x76, 0x31, 0x2e, 0x53, 0x65, 0x6e, 0x64, 0x44, 0x61, 0x74, 0x61,
0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x18, 0x2e, 0x70, 0x32, 0x70, 0x2e, 0x76, 0x31,
0x2e, 0x53, 0x65, 0x6e, 0x64, 0x44, 0x61, 0x74, 0x61, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73,
0x65, 0x22, 0x00, 0x12, 0x4b, 0x0a, 0x0c, 0x53, 0x75, 0x62, 0x73, 0x63, 0x72, 0x69, 0x62, 0x65,
0x4d, 0x73, 0x67, 0x12, 0x1b, 0x2e, 0x70, 0x32, 0x70, 0x2e, 0x76, 0x31, 0x2e, 0x53, 0x75, 0x62,
0x73, 0x63, 0x72, 0x69, 0x62, 0x65, 0x4d, 0x73, 0x67, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74,
0x1a, 0x1c, 0x2e, 0x70, 0x32, 0x70, 0x2e, 0x76, 0x31, 0x2e, 0x53, 0x75, 0x62, 0x73, 0x63, 0x72,
0x69, 0x62, 0x65, 0x4d, 0x73, 0x67, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x00,
0x42, 0xa0, 0x01, 0x0a, 0x0a, 0x63, 0x6f, 0x6d, 0x2e, 0x70, 0x32, 0x70, 0x2e, 0x76, 0x31, 0x42,
0x0c, 0x53, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x50, 0x72, 0x6f, 0x74, 0x6f, 0x50, 0x01, 0x5a,
0x4b, 0x67, 0x69, 0x74, 0x68, 0x75, 0x62, 0x2e, 0x63, 0x6f, 0x6d, 0x2f, 0x43, 0x61, 0x64, 0x75,
0x63, 0x65, 0x75, 0x73, 0x4d, 0x65, 0x74, 0x61, 0x76, 0x65, 0x72, 0x73, 0x65, 0x50, 0x72, 0x6f,
0x74, 0x6f, 0x63, 0x6f, 0x6c, 0x2f, 0x6d, 0x65, 0x74, 0x61, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x63,
0x6f, 0x6c, 0x2f, 0x67, 0x65, 0x6e, 0x2f, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x2f, 0x67, 0x6f, 0x2f,
0x70, 0x32, 0x70, 0x2f, 0x76, 0x31, 0x3b, 0x70, 0x32, 0x70, 0x76, 0x31, 0xa2, 0x02, 0x03, 0x50,
0x58, 0x58, 0xaa, 0x02, 0x06, 0x50, 0x32, 0x70, 0x2e, 0x56, 0x31, 0xca, 0x02, 0x06, 0x50, 0x32,
0x70, 0x5c, 0x56, 0x31, 0xe2, 0x02, 0x12, 0x50, 0x32, 0x70, 0x5c, 0x56, 0x31, 0x5c, 0x47, 0x50,
0x42, 0x4d, 0x65, 0x74, 0x61, 0x64, 0x61, 0x74, 0x61, 0xea, 0x02, 0x07, 0x50, 0x32, 0x70, 0x3a,
0x3a, 0x56, 0x31, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33,
}
var file_p2p_v1_service_proto_goTypes = []interface{}{ func init() { proto.RegisterFile("p2p/v1/service.proto", fileDescriptor_44cb8ccd8d1336f3) }
(*BroadCastRequest)(nil), // 0: p2p.v1.BroadCastRequest
(*SendDataRequest)(nil), // 1: p2p.v1.SendDataRequest
(*SubscribeMsgRequest)(nil), // 2: p2p.v1.SubscribeMsgRequest
(*BroadCastResponse)(nil), // 3: p2p.v1.BroadCastResponse
(*SendDataResponse)(nil), // 4: p2p.v1.SendDataResponse
(*SubscribeMsgResponse)(nil), // 5: p2p.v1.SubscribeMsgResponse
}
var file_p2p_v1_service_proto_depIdxs = []int32{
0, // 0: p2p.v1.P2PService.BroadcastMsg:input_type -> p2p.v1.BroadCastRequest
1, // 1: p2p.v1.P2PService.SendMsg:input_type -> p2p.v1.SendDataRequest
2, // 2: p2p.v1.P2PService.SubscribeMsg:input_type -> p2p.v1.SubscribeMsgRequest
3, // 3: p2p.v1.P2PService.BroadcastMsg:output_type -> p2p.v1.BroadCastResponse
4, // 4: p2p.v1.P2PService.SendMsg:output_type -> p2p.v1.SendDataResponse
5, // 5: p2p.v1.P2PService.SubscribeMsg:output_type -> p2p.v1.SubscribeMsgResponse
3, // [3:6] is the sub-list for method output_type
0, // [0:3] 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_p2p_v1_service_proto_init() } var fileDescriptor_44cb8ccd8d1336f3 = []byte{
func file_p2p_v1_service_proto_init() { // 300 bytes of a gzipped FileDescriptorProto
if File_p2p_v1_service_proto != nil { 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0x6c, 0x90, 0xc1, 0x4a, 0xec, 0x30,
return 0x14, 0x86, 0xef, 0xf4, 0xc2, 0x0c, 0x84, 0xae, 0x8a, 0xe0, 0x38, 0xea, 0xc6, 0x07, 0x48, 0x48,
} 0xdc, 0x8d, 0xe0, 0xa2, 0xa3, 0xb8, 0x18, 0x06, 0x82, 0x85, 0x32, 0xc8, 0x80, 0xa4, 0xe9, 0xa1,
file_p2p_v1_request_response_proto_init() 0x16, 0x6c, 0x13, 0x93, 0xb4, 0xcf, 0x23, 0x2e, 0x7d, 0x14, 0x9f, 0x42, 0x5c, 0xfa, 0x14, 0xd2,
type x struct{} 0xa6, 0x1d, 0x04, 0x67, 0x97, 0xf3, 0xff, 0xdf, 0xf9, 0xe0, 0x04, 0x1d, 0x69, 0xa6, 0x49, 0x4b,
out := protoimpl.TypeBuilder{ 0x89, 0x05, 0xd3, 0x96, 0x12, 0xb0, 0x36, 0xca, 0xa9, 0x68, 0xaa, 0x99, 0xc6, 0x2d, 0x5d, 0x9c,
File: protoimpl.DescBuilder{ 0x0f, 0xad, 0x81, 0x97, 0x06, 0xac, 0x7b, 0x34, 0x60, 0xb5, 0xaa, 0xed, 0x80, 0xb1, 0xcf, 0x09,
GoPackagePath: reflect.TypeOf(x{}).PkgPath(), 0x42, 0x9c, 0xf1, 0xc4, 0xef, 0x46, 0xb7, 0x28, 0x8c, 0x8d, 0x12, 0xb9, 0x14, 0xd6, 0x6d, 0x6c,
RawDescriptor: file_p2p_v1_service_proto_rawDesc, 0x11, 0xcd, 0xb1, 0xd7, 0xe0, 0x3e, 0x5d, 0x09, 0xeb, 0xee, 0xbd, 0x67, 0x71, 0x72, 0xa0, 0xf1,
NumEnums: 0, 0xe6, 0x8b, 0x7f, 0xd1, 0x35, 0x9a, 0x25, 0x50, 0xe7, 0x9d, 0xe1, 0x78, 0xe4, 0xba, 0xe0, 0x46,
NumMessages: 0, 0x38, 0x31, 0x0a, 0xe6, 0x7f, 0x8b, 0xfd, 0xfe, 0x1a, 0x85, 0x49, 0x93, 0x59, 0x69, 0xca, 0x0c,
NumExtensions: 0, 0x3a, 0xc9, 0xe9, 0x9e, 0xfd, 0x95, 0x8e, 0xa2, 0xb3, 0xc3, 0xe5, 0x28, 0x8b, 0x5f, 0x27, 0x08,
NumServices: 1, 0x49, 0x55, 0x0d, 0x54, 0x1c, 0x0e, 0xb7, 0xf2, 0xee, 0x7e, 0x3e, 0x79, 0x58, 0x17, 0xa5, 0x7b,
}, 0x6a, 0x32, 0x2c, 0x55, 0x45, 0x56, 0x22, 0x6f, 0x24, 0x34, 0x76, 0x03, 0x4e, 0xb4, 0x60, 0xac,
GoTypes: file_p2p_v1_service_proto_goTypes, 0x87, 0xa4, 0x7a, 0x26, 0x15, 0x38, 0xa1, 0xc7, 0xa1, 0x80, 0x9a, 0xf4, 0x03, 0x29, 0x14, 0xf1,
DependencyIndexes: file_p2p_v1_service_proto_depIdxs, 0xff, 0x7b, 0xa5, 0x99, 0x6e, 0xe9, 0x5b, 0xf0, 0x9f, 0x6f, 0xb7, 0xef, 0xc1, 0x94, 0x33, 0x8d,
}.Build() 0x53, 0xfa, 0xd1, 0x3f, 0x76, 0x29, 0xfd, 0x0a, 0x22, 0xff, 0xd8, 0xdd, 0xf1, 0xb8, 0x93, 0xe7,
File_p2p_v1_service_proto = out.File 0xc2, 0x89, 0xef, 0x60, 0xc6, 0x99, 0x5e, 0x2e, 0x53, 0x9a, 0x4d, 0x7b, 0xdb, 0xe5, 0x4f, 0x00,
file_p2p_v1_service_proto_rawDesc = nil 0x00, 0x00, 0xff, 0xff, 0xbb, 0x8b, 0x44, 0x22, 0xcb, 0x01, 0x00, 0x00,
file_p2p_v1_service_proto_goTypes = nil
file_p2p_v1_service_proto_depIdxs = nil
} }
This diff is collapsed.
// Code generated by protoc-gen-go. DO NOT EDIT. // Code generated by protoc-gen-gogo. DO NOT EDIT.
// versions:
// protoc-gen-go v1.28.1
// protoc (unknown)
// source: ring/v1/request_response.proto // source: ring/v1/request_response.proto
package ringv1 package ringv1
import ( import (
protoreflect "google.golang.org/protobuf/reflect/protoreflect" fmt "fmt"
protoimpl "google.golang.org/protobuf/runtime/protoimpl" proto "github.com/gogo/protobuf/proto"
reflect "reflect" math "math"
) )
const ( // Reference imports to suppress errors if they are not otherwise used.
// Verify that this generated code is sufficiently up-to-date. var _ = proto.Marshal
_ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) var _ = fmt.Errorf
// Verify that runtime/protoimpl is sufficiently up-to-date. var _ = math.Inf
_ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20)
)
var File_ring_v1_request_response_proto protoreflect.FileDescriptor
var file_ring_v1_request_response_proto_rawDesc = []byte{ // This is a compile-time assertion to ensure that this generated file
0x0a, 0x1e, 0x72, 0x69, 0x6e, 0x67, 0x2f, 0x76, 0x31, 0x2f, 0x72, 0x65, 0x71, 0x75, 0x65, 0x73, // is compatible with the proto package it is being compiled against.
0x74, 0x5f, 0x72, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, // A compilation error at this line likely means your copy of the
0x12, 0x07, 0x72, 0x69, 0x6e, 0x67, 0x2e, 0x76, 0x31, 0x42, 0xaf, 0x01, 0x0a, 0x0b, 0x63, 0x6f, // proto package needs to be updated.
0x6d, 0x2e, 0x72, 0x69, 0x6e, 0x67, 0x2e, 0x76, 0x31, 0x42, 0x14, 0x52, 0x65, 0x71, 0x75, 0x65, const _ = proto.GoGoProtoPackageIsVersion3 // please upgrade the proto package
0x73, 0x74, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x50, 0x72, 0x6f, 0x74, 0x6f, 0x50,
0x01, 0x5a, 0x4d, 0x67, 0x69, 0x74, 0x68, 0x75, 0x62, 0x2e, 0x63, 0x6f, 0x6d, 0x2f, 0x43, 0x61,
0x64, 0x75, 0x63, 0x65, 0x75, 0x73, 0x4d, 0x65, 0x74, 0x61, 0x76, 0x65, 0x72, 0x73, 0x65, 0x50,
0x72, 0x6f, 0x74, 0x6f, 0x63, 0x6f, 0x6c, 0x2f, 0x6d, 0x65, 0x74, 0x61, 0x70, 0x72, 0x6f, 0x74,
0x6f, 0x63, 0x6f, 0x6c, 0x2f, 0x67, 0x65, 0x6e, 0x2f, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x2f, 0x67,
0x6f, 0x2f, 0x72, 0x69, 0x6e, 0x67, 0x2f, 0x76, 0x31, 0x3b, 0x72, 0x69, 0x6e, 0x67, 0x76, 0x31,
0xa2, 0x02, 0x03, 0x52, 0x58, 0x58, 0xaa, 0x02, 0x07, 0x52, 0x69, 0x6e, 0x67, 0x2e, 0x56, 0x31,
0xca, 0x02, 0x07, 0x52, 0x69, 0x6e, 0x67, 0x5c, 0x56, 0x31, 0xe2, 0x02, 0x13, 0x52, 0x69, 0x6e,
0x67, 0x5c, 0x56, 0x31, 0x5c, 0x47, 0x50, 0x42, 0x4d, 0x65, 0x74, 0x61, 0x64, 0x61, 0x74, 0x61,
0xea, 0x02, 0x08, 0x52, 0x69, 0x6e, 0x67, 0x3a, 0x3a, 0x56, 0x31, 0x62, 0x06, 0x70, 0x72, 0x6f,
0x74, 0x6f, 0x33,
}
var file_ring_v1_request_response_proto_goTypes = []interface{}{} func init() { proto.RegisterFile("ring/v1/request_response.proto", fileDescriptor_a0728241cb087019) }
var file_ring_v1_request_response_proto_depIdxs = []int32{
0, // [0:0] is the sub-list for method output_type
0, // [0:0] 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_ring_v1_request_response_proto_init() } var fileDescriptor_a0728241cb087019 = []byte{
func file_ring_v1_request_response_proto_init() { // 193 bytes of a gzipped FileDescriptorProto
if File_ring_v1_request_response_proto != nil { 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0xe2, 0x92, 0x2b, 0xca, 0xcc, 0x4b,
return 0xd7, 0x2f, 0x33, 0xd4, 0x2f, 0x4a, 0x2d, 0x2c, 0x4d, 0x2d, 0x2e, 0x89, 0x2f, 0x4a, 0x2d, 0x2e,
} 0xc8, 0xcf, 0x2b, 0x4e, 0xd5, 0x2b, 0x28, 0xca, 0x2f, 0xc9, 0x17, 0x62, 0x07, 0xc9, 0xeb, 0x95,
type x struct{} 0x19, 0x3a, 0xad, 0x67, 0xe4, 0xe2, 0x4e, 0xce, 0xcf, 0xd5, 0x83, 0xf1, 0x45, 0x82, 0x20, 0x1a,
out := protoimpl.TypeBuilder{ 0x82, 0xa0, 0xea, 0x03, 0x40, 0xca, 0x03, 0x18, 0xa3, 0x7c, 0xd3, 0x33, 0x4b, 0x32, 0x4a, 0x93,
File: protoimpl.DescBuilder{ 0xf4, 0x92, 0xf3, 0x73, 0xf5, 0x9d, 0x13, 0x53, 0x4a, 0x93, 0x53, 0x4b, 0x8b, 0x7d, 0x53, 0x4b,
GoPackagePath: reflect.TypeOf(x{}).PkgPath(), 0x12, 0xcb, 0x52, 0x8b, 0xa0, 0x8a, 0x92, 0xf3, 0x73, 0xf4, 0x73, 0x53, 0x4b, 0x12, 0x0b, 0x60,
RawDescriptor: file_ring_v1_request_response_proto_rawDesc, 0x9c, 0xf4, 0xd4, 0x3c, 0x7d, 0x30, 0x47, 0x3f, 0x3d, 0x5f, 0x1f, 0xea, 0x1e, 0x6b, 0x10, 0x5d,
NumEnums: 0, 0x66, 0xb8, 0x88, 0x89, 0x39, 0x28, 0x22, 0x62, 0x15, 0x13, 0x7b, 0x10, 0xc8, 0xda, 0x30, 0xc3,
NumMessages: 0, 0x53, 0x10, 0x56, 0x4c, 0x98, 0xe1, 0x23, 0x26, 0x61, 0x28, 0x2b, 0xc6, 0x3d, 0xc0, 0x09, 0x64,
NumExtensions: 0, 0x43, 0x4a, 0x62, 0x49, 0xe2, 0x2b, 0x26, 0x0e, 0x90, 0xa8, 0x95, 0x55, 0x98, 0x61, 0x12, 0x1b,
NumServices: 0, 0xd8, 0x4c, 0x63, 0x40, 0x00, 0x00, 0x00, 0xff, 0xff, 0x75, 0x92, 0xbb, 0x3d, 0xe3, 0x00, 0x00,
}, 0x00,
GoTypes: file_ring_v1_request_response_proto_goTypes,
DependencyIndexes: file_ring_v1_request_response_proto_depIdxs,
}.Build()
File_ring_v1_request_response_proto = out.File
file_ring_v1_request_response_proto_rawDesc = nil
file_ring_v1_request_response_proto_goTypes = nil
file_ring_v1_request_response_proto_depIdxs = nil
} }
// Code generated by protoc-gen-go. DO NOT EDIT. // Code generated by protoc-gen-gogo. DO NOT EDIT.
// versions:
// protoc-gen-go v1.28.1
// protoc (unknown)
// source: ring/v1/resource.proto // source: ring/v1/resource.proto
package ringv1 package ringv1
import ( import (
protoreflect "google.golang.org/protobuf/reflect/protoreflect" fmt "fmt"
protoimpl "google.golang.org/protobuf/runtime/protoimpl" proto "github.com/gogo/protobuf/proto"
reflect "reflect" math "math"
) )
const ( // Reference imports to suppress errors if they are not otherwise used.
// Verify that this generated code is sufficiently up-to-date. var _ = proto.Marshal
_ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) var _ = fmt.Errorf
// Verify that runtime/protoimpl is sufficiently up-to-date. var _ = math.Inf
_ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20)
)
var File_ring_v1_resource_proto protoreflect.FileDescriptor
var file_ring_v1_resource_proto_rawDesc = []byte{ // This is a compile-time assertion to ensure that this generated file
0x0a, 0x16, 0x72, 0x69, 0x6e, 0x67, 0x2f, 0x76, 0x31, 0x2f, 0x72, 0x65, 0x73, 0x6f, 0x75, 0x72, // is compatible with the proto package it is being compiled against.
0x63, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x12, 0x07, 0x72, 0x69, 0x6e, 0x67, 0x2e, 0x76, // A compilation error at this line likely means your copy of the
0x31, 0x42, 0xa8, 0x01, 0x0a, 0x0b, 0x63, 0x6f, 0x6d, 0x2e, 0x72, 0x69, 0x6e, 0x67, 0x2e, 0x76, // proto package needs to be updated.
0x31, 0x42, 0x0d, 0x52, 0x65, 0x73, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x50, 0x72, 0x6f, 0x74, 0x6f, const _ = proto.GoGoProtoPackageIsVersion3 // please upgrade the proto package
0x50, 0x01, 0x5a, 0x4d, 0x67, 0x69, 0x74, 0x68, 0x75, 0x62, 0x2e, 0x63, 0x6f, 0x6d, 0x2f, 0x43,
0x61, 0x64, 0x75, 0x63, 0x65, 0x75, 0x73, 0x4d, 0x65, 0x74, 0x61, 0x76, 0x65, 0x72, 0x73, 0x65,
0x50, 0x72, 0x6f, 0x74, 0x6f, 0x63, 0x6f, 0x6c, 0x2f, 0x6d, 0x65, 0x74, 0x61, 0x70, 0x72, 0x6f,
0x74, 0x6f, 0x63, 0x6f, 0x6c, 0x2f, 0x67, 0x65, 0x6e, 0x2f, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x2f,
0x67, 0x6f, 0x2f, 0x72, 0x69, 0x6e, 0x67, 0x2f, 0x76, 0x31, 0x3b, 0x72, 0x69, 0x6e, 0x67, 0x76,
0x31, 0xa2, 0x02, 0x03, 0x52, 0x58, 0x58, 0xaa, 0x02, 0x07, 0x52, 0x69, 0x6e, 0x67, 0x2e, 0x56,
0x31, 0xca, 0x02, 0x07, 0x52, 0x69, 0x6e, 0x67, 0x5c, 0x56, 0x31, 0xe2, 0x02, 0x13, 0x52, 0x69,
0x6e, 0x67, 0x5c, 0x56, 0x31, 0x5c, 0x47, 0x50, 0x42, 0x4d, 0x65, 0x74, 0x61, 0x64, 0x61, 0x74,
0x61, 0xea, 0x02, 0x08, 0x52, 0x69, 0x6e, 0x67, 0x3a, 0x3a, 0x56, 0x31, 0x62, 0x06, 0x70, 0x72,
0x6f, 0x74, 0x6f, 0x33,
}
var file_ring_v1_resource_proto_goTypes = []interface{}{} func init() { proto.RegisterFile("ring/v1/resource.proto", fileDescriptor_679f4f17385494fd) }
var file_ring_v1_resource_proto_depIdxs = []int32{
0, // [0:0] is the sub-list for method output_type
0, // [0:0] 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_ring_v1_resource_proto_init() } var fileDescriptor_679f4f17385494fd = []byte{
func file_ring_v1_resource_proto_init() { // 183 bytes of a gzipped FileDescriptorProto
if File_ring_v1_resource_proto != nil { 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0xe2, 0x12, 0x2b, 0xca, 0xcc, 0x4b,
return 0xd7, 0x2f, 0x33, 0xd4, 0x2f, 0x4a, 0x2d, 0xce, 0x2f, 0x2d, 0x4a, 0x4e, 0xd5, 0x2b, 0x28, 0xca,
} 0x2f, 0xc9, 0x17, 0x62, 0x07, 0x89, 0xeb, 0x95, 0x19, 0x3a, 0xad, 0x60, 0xe4, 0xe2, 0x4e, 0xce,
type x struct{} 0xcf, 0xd5, 0x83, 0xf1, 0x79, 0x83, 0xa0, 0x0a, 0x03, 0x40, 0xea, 0x02, 0x18, 0xa3, 0x7c, 0xd3,
out := protoimpl.TypeBuilder{ 0x33, 0x4b, 0x32, 0x4a, 0x93, 0xf4, 0x92, 0xf3, 0x73, 0xf5, 0x9d, 0x13, 0x53, 0x4a, 0x93, 0x53,
File: protoimpl.DescBuilder{ 0x4b, 0x8b, 0x7d, 0x53, 0x4b, 0x12, 0xcb, 0x52, 0x8b, 0x8a, 0x21, 0x8a, 0x92, 0xf3, 0x73, 0xf4,
GoPackagePath: reflect.TypeOf(x{}).PkgPath(), 0x73, 0x53, 0x4b, 0x12, 0x0b, 0x60, 0x9c, 0xf4, 0xd4, 0x3c, 0x7d, 0x30, 0x47, 0x3f, 0x3d, 0x5f,
RawDescriptor: file_ring_v1_resource_proto_rawDesc, 0x1f, 0xea, 0x00, 0x6b, 0x10, 0x5d, 0x66, 0xb8, 0x88, 0x89, 0x39, 0x28, 0x22, 0x62, 0x15, 0x13,
NumEnums: 0, 0x7b, 0x10, 0xc8, 0xbe, 0x30, 0xc3, 0x53, 0x10, 0x56, 0x4c, 0x98, 0xe1, 0x23, 0x26, 0x61, 0x28,
NumMessages: 0, 0x2b, 0xc6, 0x3d, 0xc0, 0x09, 0x64, 0x43, 0x4a, 0x62, 0x49, 0xe2, 0x2b, 0x26, 0x0e, 0x90, 0xa8,
NumExtensions: 0, 0x95, 0x55, 0x98, 0x61, 0x12, 0x1b, 0xd8, 0x4c, 0x63, 0x40, 0x00, 0x00, 0x00, 0xff, 0xff, 0x7e,
NumServices: 0, 0xd5, 0x6c, 0x90, 0xd4, 0x00, 0x00, 0x00,
},
GoTypes: file_ring_v1_resource_proto_goTypes,
DependencyIndexes: file_ring_v1_resource_proto_depIdxs,
}.Build()
File_ring_v1_resource_proto = out.File
file_ring_v1_resource_proto_rawDesc = nil
file_ring_v1_resource_proto_goTypes = nil
file_ring_v1_resource_proto_depIdxs = nil
} }
This diff is collapsed.
// Code generated by protoc-gen-go. DO NOT EDIT. // Code generated by protoc-gen-gogo. DO NOT EDIT.
// versions:
// protoc-gen-go v1.28.1
// protoc (unknown)
// source: sentry/v1/resource.proto // source: sentry/v1/resource.proto
package sentryv1 package sentryv1
import ( import (
protoreflect "google.golang.org/protobuf/reflect/protoreflect" fmt "fmt"
protoimpl "google.golang.org/protobuf/runtime/protoimpl" proto "github.com/gogo/protobuf/proto"
reflect "reflect" math "math"
) )
const ( // Reference imports to suppress errors if they are not otherwise used.
// Verify that this generated code is sufficiently up-to-date. var _ = proto.Marshal
_ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) var _ = fmt.Errorf
// Verify that runtime/protoimpl is sufficiently up-to-date. var _ = math.Inf
_ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20)
)
var File_sentry_v1_resource_proto protoreflect.FileDescriptor
var file_sentry_v1_resource_proto_rawDesc = []byte{ // This is a compile-time assertion to ensure that this generated file
0x0a, 0x18, 0x73, 0x65, 0x6e, 0x74, 0x72, 0x79, 0x2f, 0x76, 0x31, 0x2f, 0x72, 0x65, 0x73, 0x6f, // is compatible with the proto package it is being compiled against.
0x75, 0x72, 0x63, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x12, 0x09, 0x73, 0x65, 0x6e, 0x74, // A compilation error at this line likely means your copy of the
0x72, 0x79, 0x2e, 0x76, 0x31, 0x42, 0xb6, 0x01, 0x0a, 0x0d, 0x63, 0x6f, 0x6d, 0x2e, 0x73, 0x65, // proto package needs to be updated.
0x6e, 0x74, 0x72, 0x79, 0x2e, 0x76, 0x31, 0x42, 0x0d, 0x52, 0x65, 0x73, 0x6f, 0x75, 0x72, 0x63, const _ = proto.GoGoProtoPackageIsVersion3 // please upgrade the proto package
0x65, 0x50, 0x72, 0x6f, 0x74, 0x6f, 0x50, 0x01, 0x5a, 0x51, 0x67, 0x69, 0x74, 0x68, 0x75, 0x62,
0x2e, 0x63, 0x6f, 0x6d, 0x2f, 0x43, 0x61, 0x64, 0x75, 0x63, 0x65, 0x75, 0x73, 0x4d, 0x65, 0x74,
0x61, 0x76, 0x65, 0x72, 0x73, 0x65, 0x50, 0x72, 0x6f, 0x74, 0x6f, 0x63, 0x6f, 0x6c, 0x2f, 0x6d,
0x65, 0x74, 0x61, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x63, 0x6f, 0x6c, 0x2f, 0x67, 0x65, 0x6e, 0x2f,
0x70, 0x72, 0x6f, 0x74, 0x6f, 0x2f, 0x67, 0x6f, 0x2f, 0x73, 0x65, 0x6e, 0x74, 0x72, 0x79, 0x2f,
0x76, 0x31, 0x3b, 0x73, 0x65, 0x6e, 0x74, 0x72, 0x79, 0x76, 0x31, 0xa2, 0x02, 0x03, 0x53, 0x58,
0x58, 0xaa, 0x02, 0x09, 0x53, 0x65, 0x6e, 0x74, 0x72, 0x79, 0x2e, 0x56, 0x31, 0xca, 0x02, 0x09,
0x53, 0x65, 0x6e, 0x74, 0x72, 0x79, 0x5c, 0x56, 0x31, 0xe2, 0x02, 0x15, 0x53, 0x65, 0x6e, 0x74,
0x72, 0x79, 0x5c, 0x56, 0x31, 0x5c, 0x47, 0x50, 0x42, 0x4d, 0x65, 0x74, 0x61, 0x64, 0x61, 0x74,
0x61, 0xea, 0x02, 0x0a, 0x53, 0x65, 0x6e, 0x74, 0x72, 0x79, 0x3a, 0x3a, 0x56, 0x31, 0x62, 0x06,
0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33,
}
var file_sentry_v1_resource_proto_goTypes = []interface{}{} func init() { proto.RegisterFile("sentry/v1/resource.proto", fileDescriptor_9d29b21b77d30ba1) }
var file_sentry_v1_resource_proto_depIdxs = []int32{
0, // [0:0] is the sub-list for method output_type
0, // [0:0] 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_sentry_v1_resource_proto_init() } var fileDescriptor_9d29b21b77d30ba1 = []byte{
func file_sentry_v1_resource_proto_init() { // 185 bytes of a gzipped FileDescriptorProto
if File_sentry_v1_resource_proto != nil { 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0xe2, 0x92, 0x28, 0x4e, 0xcd, 0x2b,
return 0x29, 0xaa, 0xd4, 0x2f, 0x33, 0xd4, 0x2f, 0x4a, 0x2d, 0xce, 0x2f, 0x2d, 0x4a, 0x4e, 0xd5, 0x2b,
} 0x28, 0xca, 0x2f, 0xc9, 0x17, 0xe2, 0x84, 0xc8, 0xe8, 0x95, 0x19, 0x3a, 0x6d, 0x63, 0xe4, 0xe2,
type x struct{} 0x4d, 0xce, 0xcf, 0xd5, 0x43, 0x88, 0xf0, 0x06, 0x41, 0x15, 0x07, 0x80, 0xd4, 0x06, 0x30, 0x46,
out := protoimpl.TypeBuilder{ 0x05, 0xa6, 0x67, 0x96, 0x64, 0x94, 0x26, 0xe9, 0x25, 0xe7, 0xe7, 0xea, 0x3b, 0x27, 0xa6, 0x94,
File: protoimpl.DescBuilder{ 0x26, 0xa7, 0x96, 0x16, 0xfb, 0xa6, 0x96, 0x24, 0x96, 0xa5, 0x16, 0x15, 0x43, 0x14, 0x25, 0xe7,
GoPackagePath: reflect.TypeOf(x{}).PkgPath(), 0xe7, 0xe8, 0xe7, 0xa6, 0x96, 0x24, 0x16, 0xc0, 0x38, 0xe9, 0xa9, 0x79, 0xfa, 0x60, 0x8e, 0x7e,
RawDescriptor: file_sentry_v1_resource_proto_rawDesc, 0x7a, 0xbe, 0x3e, 0xdc, 0x19, 0xd6, 0x10, 0x56, 0x99, 0xe1, 0x22, 0x26, 0xe6, 0xe0, 0x88, 0x88,
NumEnums: 0, 0x55, 0x4c, 0x9c, 0xc1, 0x10, 0x5b, 0xc3, 0x0c, 0x4f, 0xc1, 0xd8, 0x31, 0x61, 0x86, 0x8f, 0x98,
NumMessages: 0, 0x44, 0xe1, 0xec, 0x18, 0xf7, 0x00, 0x27, 0x90, 0x5d, 0x29, 0x89, 0x25, 0x89, 0xaf, 0x98, 0xb8,
NumExtensions: 0, 0x20, 0xe2, 0x56, 0x56, 0x61, 0x86, 0x49, 0x6c, 0x60, 0xf3, 0x8d, 0x01, 0x01, 0x00, 0x00, 0xff,
NumServices: 0, 0xff, 0x54, 0x9b, 0x5f, 0xcd, 0xe6, 0x00, 0x00, 0x00,
},
GoTypes: file_sentry_v1_resource_proto_goTypes,
DependencyIndexes: file_sentry_v1_resource_proto_depIdxs,
}.Build()
File_sentry_v1_resource_proto = out.File
file_sentry_v1_resource_proto_rawDesc = nil
file_sentry_v1_resource_proto_goTypes = nil
file_sentry_v1_resource_proto_depIdxs = nil
} }
This diff is collapsed.
...@@ -28,7 +28,7 @@ type SentryServiceClient interface { ...@@ -28,7 +28,7 @@ type SentryServiceClient interface {
CommitBatchTx(ctx context.Context, in *CommitBatchTxRequest, opts ...grpc.CallOption) (*CommitBatchTxResponse, error) CommitBatchTx(ctx context.Context, in *CommitBatchTxRequest, opts ...grpc.CallOption) (*CommitBatchTxResponse, error)
// GetTxReceipt from tx-sort-network with txhash // GetTxReceipt from tx-sort-network with txhash
GetBatchTxResult(ctx context.Context, in *GetReceiptRequest, opts ...grpc.CallOption) (*GetReceiptResponse, error) GetBatchTxResult(ctx context.Context, in *GetReceiptRequest, opts ...grpc.CallOption) (*GetReceiptResponse, error)
// for val //for val
// GetNewBlock used for nebula get new virtual block info from contract with lastblock. // GetNewBlock used for nebula get new virtual block info from contract with lastblock.
GetNewBlock(ctx context.Context, in *GetNewBlockRequest, opts ...grpc.CallOption) (*GetNewBlockResponse, error) GetNewBlock(ctx context.Context, in *GetNewBlockRequest, opts ...grpc.CallOption) (*GetNewBlockResponse, error)
// CommitBlock used for nebula commit new block and state info to contract. // CommitBlock used for nebula commit new block and state info to contract.
...@@ -109,7 +109,7 @@ type SentryServiceServer interface { ...@@ -109,7 +109,7 @@ type SentryServiceServer interface {
CommitBatchTx(context.Context, *CommitBatchTxRequest) (*CommitBatchTxResponse, error) CommitBatchTx(context.Context, *CommitBatchTxRequest) (*CommitBatchTxResponse, error)
// GetTxReceipt from tx-sort-network with txhash // GetTxReceipt from tx-sort-network with txhash
GetBatchTxResult(context.Context, *GetReceiptRequest) (*GetReceiptResponse, error) GetBatchTxResult(context.Context, *GetReceiptRequest) (*GetReceiptResponse, error)
// for val //for val
// GetNewBlock used for nebula get new virtual block info from contract with lastblock. // GetNewBlock used for nebula get new virtual block info from contract with lastblock.
GetNewBlock(context.Context, *GetNewBlockRequest) (*GetNewBlockResponse, error) GetNewBlock(context.Context, *GetNewBlockRequest) (*GetNewBlockResponse, error)
// CommitBlock used for nebula commit new block and state info to contract. // CommitBlock used for nebula commit new block and state info to contract.
......
This diff is collapsed.
This diff is collapsed.
...@@ -8,9 +8,15 @@ require ( ...@@ -8,9 +8,15 @@ require (
) )
require ( require (
github.com/ghodss/yaml v1.0.0 // indirect
github.com/gogo/protobuf v1.3.2 // indirect
github.com/golang/glog v0.0.0-20160126235308-23def4e6c14b // indirect
github.com/golang/protobuf v1.5.2 // indirect github.com/golang/protobuf v1.5.2 // indirect
github.com/grpc-ecosystem/grpc-gateway v1.16.0 // indirect
golang.org/x/net v0.0.0-20201021035429-f5854403a974 // indirect golang.org/x/net v0.0.0-20201021035429-f5854403a974 // indirect
golang.org/x/sys v0.0.0-20210119212857-b64e53b001e4 // indirect golang.org/x/sys v0.0.0-20210119212857-b64e53b001e4 // indirect
golang.org/x/text v0.3.3 // indirect golang.org/x/text v0.3.3 // indirect
google.golang.org/genproto v0.0.0-20200526211855-cb27e3aa2013 // indirect google.golang.org/genproto v0.0.0-20200526211855-cb27e3aa2013 // indirect
google.golang.org/grpc/cmd/protoc-gen-go-grpc v1.2.0 // indirect
gopkg.in/yaml.v2 v2.2.3 // indirect
) )
This diff is collapsed.
...@@ -5,13 +5,13 @@ import ( ...@@ -5,13 +5,13 @@ import (
"fmt" "fmt"
"net" "net"
metabase "github.com/cmpchain/metaprotocol/gen/proto/go/base/v1" metabase "github.com/CaduceusMetaverseProtocol/metaprotocol/gen/proto/go/base/v1"
metacrypter "github.com/cmpchain/metaprotocol/gen/proto/go/crypter/v1" metacrypter "github.com/CaduceusMetaverseProtocol/metaprotocol/gen/proto/go/crypter/v1"
metanebula "github.com/cmpchain/metaprotocol/gen/proto/go/nebula/v1" metanebula "github.com/CaduceusMetaverseProtocol/metaprotocol/gen/proto/go/nebula/v1"
metap2p "github.com/cmpchain/metaprotocol/gen/proto/go/p2p/v1" metap2p "github.com/CaduceusMetaverseProtocol/metaprotocol/gen/proto/go/p2p/v1"
metaring "github.com/cmpchain/metaprotocol/gen/proto/go/ring/v1" metaring "github.com/CaduceusMetaverseProtocol/metaprotocol/gen/proto/go/ring/v1"
metasentry "github.com/cmpchain/metaprotocol/gen/proto/go/sentry/v1" metasentry "github.com/CaduceusMetaverseProtocol/metaprotocol/gen/proto/go/sentry/v1"
txchecker "github.com/cmpchain/metaprotocol/gen/proto/go/txchecker/v1" txchecker "github.com/CaduceusMetaverseProtocol/metaprotocol/gen/proto/go/txchecker/v1"
"google.golang.org/grpc" "google.golang.org/grpc"
"google.golang.org/grpc/codes" "google.golang.org/grpc/codes"
"google.golang.org/grpc/status" "google.golang.org/grpc/status"
...@@ -35,10 +35,6 @@ type TxCheckServer struct { ...@@ -35,10 +35,6 @@ type TxCheckServer struct {
txchecker.UnimplementedTxCheckerServiceServer txchecker.UnimplementedTxCheckerServiceServer
} }
// hello server
type BaseType struct {
metabase.UnimplementedBaseServiceServer
}
type RingServer struct { type RingServer struct {
metaring.UnimplementedRingServiceServer metaring.UnimplementedRingServiceServer
......
...@@ -2,6 +2,7 @@ syntax = "proto3"; ...@@ -2,6 +2,7 @@ syntax = "proto3";
package nebula.v1; package nebula.v1;
import "base/v1/resource.proto"; import "base/v1/resource.proto";
message Tx { message Tx {
base.v1.Address address = 1; base.v1.Address address = 1;
base.v1.Hash hash = 2; base.v1.Hash hash = 2;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment