Autogenerated update for f248c19b07...2cdd6874b4
This commit is contained in:
@@ -20,7 +20,7 @@ const (
|
|||||||
_ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20)
|
_ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20)
|
||||||
)
|
)
|
||||||
|
|
||||||
type SnmfDownloadUrl struct {
|
type SnfmDownloadUrl struct {
|
||||||
state protoimpl.MessageState
|
state protoimpl.MessageState
|
||||||
sizeCache protoimpl.SizeCache
|
sizeCache protoimpl.SizeCache
|
||||||
unknownFields protoimpl.UnknownFields
|
unknownFields protoimpl.UnknownFields
|
||||||
@@ -28,8 +28,8 @@ type SnmfDownloadUrl struct {
|
|||||||
Url string `protobuf:"bytes,1,opt,name=Url,proto3" json:"Url,omitempty"`
|
Url string `protobuf:"bytes,1,opt,name=Url,proto3" json:"Url,omitempty"`
|
||||||
}
|
}
|
||||||
|
|
||||||
func (x *SnmfDownloadUrl) Reset() {
|
func (x *SnfmDownloadUrl) Reset() {
|
||||||
*x = SnmfDownloadUrl{}
|
*x = SnfmDownloadUrl{}
|
||||||
if protoimpl.UnsafeEnabled {
|
if protoimpl.UnsafeEnabled {
|
||||||
mi := &file_maps_extended_proto_msgTypes[0]
|
mi := &file_maps_extended_proto_msgTypes[0]
|
||||||
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
||||||
@@ -37,13 +37,13 @@ func (x *SnmfDownloadUrl) Reset() {
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
func (x *SnmfDownloadUrl) String() string {
|
func (x *SnfmDownloadUrl) String() string {
|
||||||
return protoimpl.X.MessageStringOf(x)
|
return protoimpl.X.MessageStringOf(x)
|
||||||
}
|
}
|
||||||
|
|
||||||
func (*SnmfDownloadUrl) ProtoMessage() {}
|
func (*SnfmDownloadUrl) ProtoMessage() {}
|
||||||
|
|
||||||
func (x *SnmfDownloadUrl) ProtoReflect() protoreflect.Message {
|
func (x *SnfmDownloadUrl) ProtoReflect() protoreflect.Message {
|
||||||
mi := &file_maps_extended_proto_msgTypes[0]
|
mi := &file_maps_extended_proto_msgTypes[0]
|
||||||
if protoimpl.UnsafeEnabled && x != nil {
|
if protoimpl.UnsafeEnabled && x != nil {
|
||||||
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
||||||
@@ -55,12 +55,12 @@ func (x *SnmfDownloadUrl) ProtoReflect() protoreflect.Message {
|
|||||||
return mi.MessageOf(x)
|
return mi.MessageOf(x)
|
||||||
}
|
}
|
||||||
|
|
||||||
// Deprecated: Use SnmfDownloadUrl.ProtoReflect.Descriptor instead.
|
// Deprecated: Use SnfmDownloadUrl.ProtoReflect.Descriptor instead.
|
||||||
func (*SnmfDownloadUrl) Descriptor() ([]byte, []int) {
|
func (*SnfmDownloadUrl) Descriptor() ([]byte, []int) {
|
||||||
return file_maps_extended_proto_rawDescGZIP(), []int{0}
|
return file_maps_extended_proto_rawDescGZIP(), []int{0}
|
||||||
}
|
}
|
||||||
|
|
||||||
func (x *SnmfDownloadUrl) GetUrl() string {
|
func (x *SnfmDownloadUrl) GetUrl() string {
|
||||||
if x != nil {
|
if x != nil {
|
||||||
return x.Url
|
return x.Url
|
||||||
}
|
}
|
||||||
@@ -792,7 +792,7 @@ var File_maps_extended_proto protoreflect.FileDescriptor
|
|||||||
var file_maps_extended_proto_rawDesc = []byte{
|
var file_maps_extended_proto_rawDesc = []byte{
|
||||||
0x0a, 0x13, 0x6d, 0x61, 0x70, 0x73, 0x5f, 0x65, 0x78, 0x74, 0x65, 0x6e, 0x64, 0x65, 0x64, 0x2e,
|
0x0a, 0x13, 0x6d, 0x61, 0x70, 0x73, 0x5f, 0x65, 0x78, 0x74, 0x65, 0x6e, 0x64, 0x65, 0x64, 0x2e,
|
||||||
0x70, 0x72, 0x6f, 0x74, 0x6f, 0x12, 0x0d, 0x6d, 0x61, 0x70, 0x73, 0x5f, 0x65, 0x78, 0x74, 0x65,
|
0x70, 0x72, 0x6f, 0x74, 0x6f, 0x12, 0x0d, 0x6d, 0x61, 0x70, 0x73, 0x5f, 0x65, 0x78, 0x74, 0x65,
|
||||||
0x6e, 0x64, 0x65, 0x64, 0x22, 0x23, 0x0a, 0x0f, 0x53, 0x6e, 0x6d, 0x66, 0x44, 0x6f, 0x77, 0x6e,
|
0x6e, 0x64, 0x65, 0x64, 0x22, 0x23, 0x0a, 0x0f, 0x53, 0x6e, 0x66, 0x6d, 0x44, 0x6f, 0x77, 0x6e,
|
||||||
0x6c, 0x6f, 0x61, 0x64, 0x55, 0x72, 0x6c, 0x12, 0x10, 0x0a, 0x03, 0x55, 0x72, 0x6c, 0x18, 0x01,
|
0x6c, 0x6f, 0x61, 0x64, 0x55, 0x72, 0x6c, 0x12, 0x10, 0x0a, 0x03, 0x55, 0x72, 0x6c, 0x18, 0x01,
|
||||||
0x20, 0x01, 0x28, 0x09, 0x52, 0x03, 0x55, 0x72, 0x6c, 0x22, 0x1b, 0x0a, 0x09, 0x4d, 0x61, 0x70,
|
0x20, 0x01, 0x28, 0x09, 0x52, 0x03, 0x55, 0x72, 0x6c, 0x22, 0x1b, 0x0a, 0x09, 0x4d, 0x61, 0x70,
|
||||||
0x49, 0x64, 0x4c, 0x69, 0x73, 0x74, 0x12, 0x0e, 0x0a, 0x02, 0x49, 0x44, 0x18, 0x01, 0x20, 0x03,
|
0x49, 0x64, 0x4c, 0x69, 0x73, 0x74, 0x12, 0x0e, 0x0a, 0x02, 0x49, 0x44, 0x18, 0x01, 0x20, 0x03,
|
||||||
@@ -916,10 +916,10 @@ var file_maps_extended_proto_rawDesc = []byte{
|
|||||||
0x61, 0x70, 0x73, 0x5f, 0x65, 0x78, 0x74, 0x65, 0x6e, 0x64, 0x65, 0x64, 0x2e, 0x4d, 0x61, 0x70,
|
0x61, 0x70, 0x73, 0x5f, 0x65, 0x78, 0x74, 0x65, 0x6e, 0x64, 0x65, 0x64, 0x2e, 0x4d, 0x61, 0x70,
|
||||||
0x49, 0x64, 0x1a, 0x1b, 0x2e, 0x6d, 0x61, 0x70, 0x73, 0x5f, 0x65, 0x78, 0x74, 0x65, 0x6e, 0x64,
|
0x49, 0x64, 0x1a, 0x1b, 0x2e, 0x6d, 0x61, 0x70, 0x73, 0x5f, 0x65, 0x78, 0x74, 0x65, 0x6e, 0x64,
|
||||||
0x65, 0x64, 0x2e, 0x4e, 0x75, 0x6c, 0x6c, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12,
|
0x65, 0x64, 0x2e, 0x4e, 0x75, 0x6c, 0x6c, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12,
|
||||||
0x4a, 0x0a, 0x12, 0x47, 0x65, 0x74, 0x53, 0x6e, 0x6d, 0x66, 0x44, 0x6f, 0x77, 0x6e, 0x6c, 0x6f,
|
0x4a, 0x0a, 0x12, 0x47, 0x65, 0x74, 0x53, 0x6e, 0x66, 0x6d, 0x44, 0x6f, 0x77, 0x6e, 0x6c, 0x6f,
|
||||||
0x61, 0x64, 0x55, 0x72, 0x6c, 0x12, 0x14, 0x2e, 0x6d, 0x61, 0x70, 0x73, 0x5f, 0x65, 0x78, 0x74,
|
0x61, 0x64, 0x55, 0x72, 0x6c, 0x12, 0x14, 0x2e, 0x6d, 0x61, 0x70, 0x73, 0x5f, 0x65, 0x78, 0x74,
|
||||||
0x65, 0x6e, 0x64, 0x65, 0x64, 0x2e, 0x4d, 0x61, 0x70, 0x49, 0x64, 0x1a, 0x1e, 0x2e, 0x6d, 0x61,
|
0x65, 0x6e, 0x64, 0x65, 0x64, 0x2e, 0x4d, 0x61, 0x70, 0x49, 0x64, 0x1a, 0x1e, 0x2e, 0x6d, 0x61,
|
||||||
0x70, 0x73, 0x5f, 0x65, 0x78, 0x74, 0x65, 0x6e, 0x64, 0x65, 0x64, 0x2e, 0x53, 0x6e, 0x6d, 0x66,
|
0x70, 0x73, 0x5f, 0x65, 0x78, 0x74, 0x65, 0x6e, 0x64, 0x65, 0x64, 0x2e, 0x53, 0x6e, 0x66, 0x6d,
|
||||||
0x44, 0x6f, 0x77, 0x6e, 0x6c, 0x6f, 0x61, 0x64, 0x55, 0x72, 0x6c, 0x42, 0x30, 0x5a, 0x2e, 0x67,
|
0x44, 0x6f, 0x77, 0x6e, 0x6c, 0x6f, 0x61, 0x64, 0x55, 0x72, 0x6c, 0x42, 0x30, 0x5a, 0x2e, 0x67,
|
||||||
0x69, 0x74, 0x2e, 0x69, 0x74, 0x7a, 0x61, 0x6e, 0x61, 0x2e, 0x6d, 0x65, 0x2f, 0x73, 0x74, 0x72,
|
0x69, 0x74, 0x2e, 0x69, 0x74, 0x7a, 0x61, 0x6e, 0x61, 0x2e, 0x6d, 0x65, 0x2f, 0x73, 0x74, 0x72,
|
||||||
0x61, 0x66, 0x65, 0x73, 0x6e, 0x65, 0x74, 0x2f, 0x67, 0x6f, 0x2d, 0x67, 0x72, 0x70, 0x63, 0x2f,
|
0x61, 0x66, 0x65, 0x73, 0x6e, 0x65, 0x74, 0x2f, 0x67, 0x6f, 0x2d, 0x67, 0x72, 0x70, 0x63, 0x2f,
|
||||||
@@ -941,7 +941,7 @@ func file_maps_extended_proto_rawDescGZIP() []byte {
|
|||||||
|
|
||||||
var file_maps_extended_proto_msgTypes = make([]protoimpl.MessageInfo, 11)
|
var file_maps_extended_proto_msgTypes = make([]protoimpl.MessageInfo, 11)
|
||||||
var file_maps_extended_proto_goTypes = []interface{}{
|
var file_maps_extended_proto_goTypes = []interface{}{
|
||||||
(*SnmfDownloadUrl)(nil), // 0: maps_extended.SnmfDownloadUrl
|
(*SnfmDownloadUrl)(nil), // 0: maps_extended.SnfmDownloadUrl
|
||||||
(*MapIdList)(nil), // 1: maps_extended.MapIdList
|
(*MapIdList)(nil), // 1: maps_extended.MapIdList
|
||||||
(*MapId)(nil), // 2: maps_extended.MapId
|
(*MapId)(nil), // 2: maps_extended.MapId
|
||||||
(*MapResponse)(nil), // 3: maps_extended.MapResponse
|
(*MapResponse)(nil), // 3: maps_extended.MapResponse
|
||||||
@@ -964,7 +964,7 @@ var file_maps_extended_proto_depIdxs = []int32{
|
|||||||
2, // 7: maps_extended.MapsService.Delete:input_type -> maps_extended.MapId
|
2, // 7: maps_extended.MapsService.Delete:input_type -> maps_extended.MapId
|
||||||
8, // 8: maps_extended.MapsService.List:input_type -> maps_extended.ListRequest
|
8, // 8: maps_extended.MapsService.List:input_type -> maps_extended.ListRequest
|
||||||
2, // 9: maps_extended.MapsService.IncrementLoadCount:input_type -> maps_extended.MapId
|
2, // 9: maps_extended.MapsService.IncrementLoadCount:input_type -> maps_extended.MapId
|
||||||
2, // 10: maps_extended.MapsService.GetSnmfDownloadUrl:input_type -> maps_extended.MapId
|
2, // 10: maps_extended.MapsService.GetSnfmDownloadUrl:input_type -> maps_extended.MapId
|
||||||
3, // 11: maps_extended.MapsService.Get:output_type -> maps_extended.MapResponse
|
3, // 11: maps_extended.MapsService.Get:output_type -> maps_extended.MapResponse
|
||||||
7, // 12: maps_extended.MapsService.GetList:output_type -> maps_extended.MapList
|
7, // 12: maps_extended.MapsService.GetList:output_type -> maps_extended.MapList
|
||||||
10, // 13: maps_extended.MapsService.Update:output_type -> maps_extended.NullResponse
|
10, // 13: maps_extended.MapsService.Update:output_type -> maps_extended.NullResponse
|
||||||
@@ -972,7 +972,7 @@ var file_maps_extended_proto_depIdxs = []int32{
|
|||||||
10, // 15: maps_extended.MapsService.Delete:output_type -> maps_extended.NullResponse
|
10, // 15: maps_extended.MapsService.Delete:output_type -> maps_extended.NullResponse
|
||||||
7, // 16: maps_extended.MapsService.List:output_type -> maps_extended.MapList
|
7, // 16: maps_extended.MapsService.List:output_type -> maps_extended.MapList
|
||||||
10, // 17: maps_extended.MapsService.IncrementLoadCount:output_type -> maps_extended.NullResponse
|
10, // 17: maps_extended.MapsService.IncrementLoadCount:output_type -> maps_extended.NullResponse
|
||||||
0, // 18: maps_extended.MapsService.GetSnmfDownloadUrl:output_type -> maps_extended.SnmfDownloadUrl
|
0, // 18: maps_extended.MapsService.GetSnfmDownloadUrl:output_type -> maps_extended.SnfmDownloadUrl
|
||||||
11, // [11:19] is the sub-list for method output_type
|
11, // [11:19] is the sub-list for method output_type
|
||||||
3, // [3:11] is the sub-list for method input_type
|
3, // [3:11] is the sub-list for method input_type
|
||||||
3, // [3:3] is the sub-list for extension type_name
|
3, // [3:3] is the sub-list for extension type_name
|
||||||
@@ -987,7 +987,7 @@ func file_maps_extended_proto_init() {
|
|||||||
}
|
}
|
||||||
if !protoimpl.UnsafeEnabled {
|
if !protoimpl.UnsafeEnabled {
|
||||||
file_maps_extended_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} {
|
file_maps_extended_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} {
|
||||||
switch v := v.(*SnmfDownloadUrl); i {
|
switch v := v.(*SnfmDownloadUrl); i {
|
||||||
case 0:
|
case 0:
|
||||||
return &v.state
|
return &v.state
|
||||||
case 1:
|
case 1:
|
||||||
|
|||||||
@@ -29,7 +29,7 @@ type MapsServiceClient interface {
|
|||||||
Delete(ctx context.Context, in *MapId, opts ...grpc.CallOption) (*NullResponse, error)
|
Delete(ctx context.Context, in *MapId, opts ...grpc.CallOption) (*NullResponse, error)
|
||||||
List(ctx context.Context, in *ListRequest, opts ...grpc.CallOption) (*MapList, error)
|
List(ctx context.Context, in *ListRequest, opts ...grpc.CallOption) (*MapList, error)
|
||||||
IncrementLoadCount(ctx context.Context, in *MapId, opts ...grpc.CallOption) (*NullResponse, error)
|
IncrementLoadCount(ctx context.Context, in *MapId, opts ...grpc.CallOption) (*NullResponse, error)
|
||||||
GetSnmfDownloadUrl(ctx context.Context, in *MapId, opts ...grpc.CallOption) (*SnmfDownloadUrl, error)
|
GetSnfmDownloadUrl(ctx context.Context, in *MapId, opts ...grpc.CallOption) (*SnfmDownloadUrl, error)
|
||||||
}
|
}
|
||||||
|
|
||||||
type mapsServiceClient struct {
|
type mapsServiceClient struct {
|
||||||
@@ -103,9 +103,9 @@ func (c *mapsServiceClient) IncrementLoadCount(ctx context.Context, in *MapId, o
|
|||||||
return out, nil
|
return out, nil
|
||||||
}
|
}
|
||||||
|
|
||||||
func (c *mapsServiceClient) GetSnmfDownloadUrl(ctx context.Context, in *MapId, opts ...grpc.CallOption) (*SnmfDownloadUrl, error) {
|
func (c *mapsServiceClient) GetSnfmDownloadUrl(ctx context.Context, in *MapId, opts ...grpc.CallOption) (*SnfmDownloadUrl, error) {
|
||||||
out := new(SnmfDownloadUrl)
|
out := new(SnfmDownloadUrl)
|
||||||
err := c.cc.Invoke(ctx, "/maps_extended.MapsService/GetSnmfDownloadUrl", in, out, opts...)
|
err := c.cc.Invoke(ctx, "/maps_extended.MapsService/GetSnfmDownloadUrl", in, out, opts...)
|
||||||
if err != nil {
|
if err != nil {
|
||||||
return nil, err
|
return nil, err
|
||||||
}
|
}
|
||||||
@@ -123,7 +123,7 @@ type MapsServiceServer interface {
|
|||||||
Delete(context.Context, *MapId) (*NullResponse, error)
|
Delete(context.Context, *MapId) (*NullResponse, error)
|
||||||
List(context.Context, *ListRequest) (*MapList, error)
|
List(context.Context, *ListRequest) (*MapList, error)
|
||||||
IncrementLoadCount(context.Context, *MapId) (*NullResponse, error)
|
IncrementLoadCount(context.Context, *MapId) (*NullResponse, error)
|
||||||
GetSnmfDownloadUrl(context.Context, *MapId) (*SnmfDownloadUrl, error)
|
GetSnfmDownloadUrl(context.Context, *MapId) (*SnfmDownloadUrl, error)
|
||||||
mustEmbedUnimplementedMapsServiceServer()
|
mustEmbedUnimplementedMapsServiceServer()
|
||||||
}
|
}
|
||||||
|
|
||||||
@@ -152,8 +152,8 @@ func (UnimplementedMapsServiceServer) List(context.Context, *ListRequest) (*MapL
|
|||||||
func (UnimplementedMapsServiceServer) IncrementLoadCount(context.Context, *MapId) (*NullResponse, error) {
|
func (UnimplementedMapsServiceServer) IncrementLoadCount(context.Context, *MapId) (*NullResponse, error) {
|
||||||
return nil, status.Errorf(codes.Unimplemented, "method IncrementLoadCount not implemented")
|
return nil, status.Errorf(codes.Unimplemented, "method IncrementLoadCount not implemented")
|
||||||
}
|
}
|
||||||
func (UnimplementedMapsServiceServer) GetSnmfDownloadUrl(context.Context, *MapId) (*SnmfDownloadUrl, error) {
|
func (UnimplementedMapsServiceServer) GetSnfmDownloadUrl(context.Context, *MapId) (*SnfmDownloadUrl, error) {
|
||||||
return nil, status.Errorf(codes.Unimplemented, "method GetSnmfDownloadUrl not implemented")
|
return nil, status.Errorf(codes.Unimplemented, "method GetSnfmDownloadUrl not implemented")
|
||||||
}
|
}
|
||||||
func (UnimplementedMapsServiceServer) mustEmbedUnimplementedMapsServiceServer() {}
|
func (UnimplementedMapsServiceServer) mustEmbedUnimplementedMapsServiceServer() {}
|
||||||
|
|
||||||
@@ -294,20 +294,20 @@ func _MapsService_IncrementLoadCount_Handler(srv interface{}, ctx context.Contex
|
|||||||
return interceptor(ctx, in, info, handler)
|
return interceptor(ctx, in, info, handler)
|
||||||
}
|
}
|
||||||
|
|
||||||
func _MapsService_GetSnmfDownloadUrl_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
|
func _MapsService_GetSnfmDownloadUrl_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
|
||||||
in := new(MapId)
|
in := new(MapId)
|
||||||
if err := dec(in); err != nil {
|
if err := dec(in); err != nil {
|
||||||
return nil, err
|
return nil, err
|
||||||
}
|
}
|
||||||
if interceptor == nil {
|
if interceptor == nil {
|
||||||
return srv.(MapsServiceServer).GetSnmfDownloadUrl(ctx, in)
|
return srv.(MapsServiceServer).GetSnfmDownloadUrl(ctx, in)
|
||||||
}
|
}
|
||||||
info := &grpc.UnaryServerInfo{
|
info := &grpc.UnaryServerInfo{
|
||||||
Server: srv,
|
Server: srv,
|
||||||
FullMethod: "/maps_extended.MapsService/GetSnmfDownloadUrl",
|
FullMethod: "/maps_extended.MapsService/GetSnfmDownloadUrl",
|
||||||
}
|
}
|
||||||
handler := func(ctx context.Context, req interface{}) (interface{}, error) {
|
handler := func(ctx context.Context, req interface{}) (interface{}, error) {
|
||||||
return srv.(MapsServiceServer).GetSnmfDownloadUrl(ctx, req.(*MapId))
|
return srv.(MapsServiceServer).GetSnfmDownloadUrl(ctx, req.(*MapId))
|
||||||
}
|
}
|
||||||
return interceptor(ctx, in, info, handler)
|
return interceptor(ctx, in, info, handler)
|
||||||
}
|
}
|
||||||
@@ -348,8 +348,8 @@ var MapsService_ServiceDesc = grpc.ServiceDesc{
|
|||||||
Handler: _MapsService_IncrementLoadCount_Handler,
|
Handler: _MapsService_IncrementLoadCount_Handler,
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
MethodName: "GetSnmfDownloadUrl",
|
MethodName: "GetSnfmDownloadUrl",
|
||||||
Handler: _MapsService_GetSnmfDownloadUrl_Handler,
|
Handler: _MapsService_GetSnfmDownloadUrl_Handler,
|
||||||
},
|
},
|
||||||
},
|
},
|
||||||
Streams: []grpc.StreamDesc{},
|
Streams: []grpc.StreamDesc{},
|
||||||
|
|||||||
Reference in New Issue
Block a user