代码拉取完成,页面将自动刷新
// Code generated by protoc-gen-go. DO NOT EDIT.
// source: as/external/api/serviceProfile.proto
package api
import (
context "context"
fmt "fmt"
proto "github.com/golang/protobuf/proto"
_ "google.golang.org/genproto/googleapis/api/annotations"
grpc "google.golang.org/grpc"
codes "google.golang.org/grpc/codes"
status "google.golang.org/grpc/status"
emptypb "google.golang.org/protobuf/types/known/emptypb"
timestamppb "google.golang.org/protobuf/types/known/timestamppb"
math "math"
)
// Reference imports to suppress errors if they are not otherwise used.
var _ = proto.Marshal
var _ = fmt.Errorf
var _ = math.Inf
// This is a compile-time assertion to ensure that this generated file
// is compatible with the proto package it is being compiled against.
// A compilation error at this line likely means your copy of the
// proto package needs to be updated.
const _ = proto.ProtoPackageIsVersion3 // please upgrade the proto package
type CreateServiceProfileRequest struct {
// Service-profile object to create.
ServiceProfile *ServiceProfile `protobuf:"bytes,1,opt,name=service_profile,json=serviceProfile,proto3" json:"service_profile,omitempty"`
XXX_NoUnkeyedLiteral struct{} `json:"-"`
XXX_unrecognized []byte `json:"-"`
XXX_sizecache int32 `json:"-"`
}
func (m *CreateServiceProfileRequest) Reset() { *m = CreateServiceProfileRequest{} }
func (m *CreateServiceProfileRequest) String() string { return proto.CompactTextString(m) }
func (*CreateServiceProfileRequest) ProtoMessage() {}
func (*CreateServiceProfileRequest) Descriptor() ([]byte, []int) {
return fileDescriptor_4f18fca066634371, []int{0}
}
func (m *CreateServiceProfileRequest) XXX_Unmarshal(b []byte) error {
return xxx_messageInfo_CreateServiceProfileRequest.Unmarshal(m, b)
}
func (m *CreateServiceProfileRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
return xxx_messageInfo_CreateServiceProfileRequest.Marshal(b, m, deterministic)
}
func (m *CreateServiceProfileRequest) XXX_Merge(src proto.Message) {
xxx_messageInfo_CreateServiceProfileRequest.Merge(m, src)
}
func (m *CreateServiceProfileRequest) XXX_Size() int {
return xxx_messageInfo_CreateServiceProfileRequest.Size(m)
}
func (m *CreateServiceProfileRequest) XXX_DiscardUnknown() {
xxx_messageInfo_CreateServiceProfileRequest.DiscardUnknown(m)
}
var xxx_messageInfo_CreateServiceProfileRequest proto.InternalMessageInfo
func (m *CreateServiceProfileRequest) GetServiceProfile() *ServiceProfile {
if m != nil {
return m.ServiceProfile
}
return nil
}
type CreateServiceProfileResponse struct {
// Service-profile ID (UUID string).
Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"`
XXX_NoUnkeyedLiteral struct{} `json:"-"`
XXX_unrecognized []byte `json:"-"`
XXX_sizecache int32 `json:"-"`
}
func (m *CreateServiceProfileResponse) Reset() { *m = CreateServiceProfileResponse{} }
func (m *CreateServiceProfileResponse) String() string { return proto.CompactTextString(m) }
func (*CreateServiceProfileResponse) ProtoMessage() {}
func (*CreateServiceProfileResponse) Descriptor() ([]byte, []int) {
return fileDescriptor_4f18fca066634371, []int{1}
}
func (m *CreateServiceProfileResponse) XXX_Unmarshal(b []byte) error {
return xxx_messageInfo_CreateServiceProfileResponse.Unmarshal(m, b)
}
func (m *CreateServiceProfileResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
return xxx_messageInfo_CreateServiceProfileResponse.Marshal(b, m, deterministic)
}
func (m *CreateServiceProfileResponse) XXX_Merge(src proto.Message) {
xxx_messageInfo_CreateServiceProfileResponse.Merge(m, src)
}
func (m *CreateServiceProfileResponse) XXX_Size() int {
return xxx_messageInfo_CreateServiceProfileResponse.Size(m)
}
func (m *CreateServiceProfileResponse) XXX_DiscardUnknown() {
xxx_messageInfo_CreateServiceProfileResponse.DiscardUnknown(m)
}
var xxx_messageInfo_CreateServiceProfileResponse proto.InternalMessageInfo
func (m *CreateServiceProfileResponse) GetId() string {
if m != nil {
return m.Id
}
return ""
}
type GetServiceProfileRequest struct {
// Service-profile ID (UUID string).
Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"`
XXX_NoUnkeyedLiteral struct{} `json:"-"`
XXX_unrecognized []byte `json:"-"`
XXX_sizecache int32 `json:"-"`
}
func (m *GetServiceProfileRequest) Reset() { *m = GetServiceProfileRequest{} }
func (m *GetServiceProfileRequest) String() string { return proto.CompactTextString(m) }
func (*GetServiceProfileRequest) ProtoMessage() {}
func (*GetServiceProfileRequest) Descriptor() ([]byte, []int) {
return fileDescriptor_4f18fca066634371, []int{2}
}
func (m *GetServiceProfileRequest) XXX_Unmarshal(b []byte) error {
return xxx_messageInfo_GetServiceProfileRequest.Unmarshal(m, b)
}
func (m *GetServiceProfileRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
return xxx_messageInfo_GetServiceProfileRequest.Marshal(b, m, deterministic)
}
func (m *GetServiceProfileRequest) XXX_Merge(src proto.Message) {
xxx_messageInfo_GetServiceProfileRequest.Merge(m, src)
}
func (m *GetServiceProfileRequest) XXX_Size() int {
return xxx_messageInfo_GetServiceProfileRequest.Size(m)
}
func (m *GetServiceProfileRequest) XXX_DiscardUnknown() {
xxx_messageInfo_GetServiceProfileRequest.DiscardUnknown(m)
}
var xxx_messageInfo_GetServiceProfileRequest proto.InternalMessageInfo
func (m *GetServiceProfileRequest) GetId() string {
if m != nil {
return m.Id
}
return ""
}
type GetServiceProfileResponse struct {
// Service-profile object.
ServiceProfile *ServiceProfile `protobuf:"bytes,1,opt,name=service_profile,json=serviceProfile,proto3" json:"service_profile,omitempty"`
// Created at timestamp.
CreatedAt *timestamppb.Timestamp `protobuf:"bytes,2,opt,name=created_at,json=createdAt,proto3" json:"created_at,omitempty"`
// Last update timestamp.
UpdatedAt *timestamppb.Timestamp `protobuf:"bytes,3,opt,name=updated_at,json=updatedAt,proto3" json:"updated_at,omitempty"`
XXX_NoUnkeyedLiteral struct{} `json:"-"`
XXX_unrecognized []byte `json:"-"`
XXX_sizecache int32 `json:"-"`
}
func (m *GetServiceProfileResponse) Reset() { *m = GetServiceProfileResponse{} }
func (m *GetServiceProfileResponse) String() string { return proto.CompactTextString(m) }
func (*GetServiceProfileResponse) ProtoMessage() {}
func (*GetServiceProfileResponse) Descriptor() ([]byte, []int) {
return fileDescriptor_4f18fca066634371, []int{3}
}
func (m *GetServiceProfileResponse) XXX_Unmarshal(b []byte) error {
return xxx_messageInfo_GetServiceProfileResponse.Unmarshal(m, b)
}
func (m *GetServiceProfileResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
return xxx_messageInfo_GetServiceProfileResponse.Marshal(b, m, deterministic)
}
func (m *GetServiceProfileResponse) XXX_Merge(src proto.Message) {
xxx_messageInfo_GetServiceProfileResponse.Merge(m, src)
}
func (m *GetServiceProfileResponse) XXX_Size() int {
return xxx_messageInfo_GetServiceProfileResponse.Size(m)
}
func (m *GetServiceProfileResponse) XXX_DiscardUnknown() {
xxx_messageInfo_GetServiceProfileResponse.DiscardUnknown(m)
}
var xxx_messageInfo_GetServiceProfileResponse proto.InternalMessageInfo
func (m *GetServiceProfileResponse) GetServiceProfile() *ServiceProfile {
if m != nil {
return m.ServiceProfile
}
return nil
}
func (m *GetServiceProfileResponse) GetCreatedAt() *timestamppb.Timestamp {
if m != nil {
return m.CreatedAt
}
return nil
}
func (m *GetServiceProfileResponse) GetUpdatedAt() *timestamppb.Timestamp {
if m != nil {
return m.UpdatedAt
}
return nil
}
type UpdateServiceProfileRequest struct {
// Service-profile object to update.
ServiceProfile *ServiceProfile `protobuf:"bytes,1,opt,name=service_profile,json=serviceProfile,proto3" json:"service_profile,omitempty"`
XXX_NoUnkeyedLiteral struct{} `json:"-"`
XXX_unrecognized []byte `json:"-"`
XXX_sizecache int32 `json:"-"`
}
func (m *UpdateServiceProfileRequest) Reset() { *m = UpdateServiceProfileRequest{} }
func (m *UpdateServiceProfileRequest) String() string { return proto.CompactTextString(m) }
func (*UpdateServiceProfileRequest) ProtoMessage() {}
func (*UpdateServiceProfileRequest) Descriptor() ([]byte, []int) {
return fileDescriptor_4f18fca066634371, []int{4}
}
func (m *UpdateServiceProfileRequest) XXX_Unmarshal(b []byte) error {
return xxx_messageInfo_UpdateServiceProfileRequest.Unmarshal(m, b)
}
func (m *UpdateServiceProfileRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
return xxx_messageInfo_UpdateServiceProfileRequest.Marshal(b, m, deterministic)
}
func (m *UpdateServiceProfileRequest) XXX_Merge(src proto.Message) {
xxx_messageInfo_UpdateServiceProfileRequest.Merge(m, src)
}
func (m *UpdateServiceProfileRequest) XXX_Size() int {
return xxx_messageInfo_UpdateServiceProfileRequest.Size(m)
}
func (m *UpdateServiceProfileRequest) XXX_DiscardUnknown() {
xxx_messageInfo_UpdateServiceProfileRequest.DiscardUnknown(m)
}
var xxx_messageInfo_UpdateServiceProfileRequest proto.InternalMessageInfo
func (m *UpdateServiceProfileRequest) GetServiceProfile() *ServiceProfile {
if m != nil {
return m.ServiceProfile
}
return nil
}
type DeleteServiceProfileRequest struct {
// Service-profile ID (UUID string).
Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"`
XXX_NoUnkeyedLiteral struct{} `json:"-"`
XXX_unrecognized []byte `json:"-"`
XXX_sizecache int32 `json:"-"`
}
func (m *DeleteServiceProfileRequest) Reset() { *m = DeleteServiceProfileRequest{} }
func (m *DeleteServiceProfileRequest) String() string { return proto.CompactTextString(m) }
func (*DeleteServiceProfileRequest) ProtoMessage() {}
func (*DeleteServiceProfileRequest) Descriptor() ([]byte, []int) {
return fileDescriptor_4f18fca066634371, []int{5}
}
func (m *DeleteServiceProfileRequest) XXX_Unmarshal(b []byte) error {
return xxx_messageInfo_DeleteServiceProfileRequest.Unmarshal(m, b)
}
func (m *DeleteServiceProfileRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
return xxx_messageInfo_DeleteServiceProfileRequest.Marshal(b, m, deterministic)
}
func (m *DeleteServiceProfileRequest) XXX_Merge(src proto.Message) {
xxx_messageInfo_DeleteServiceProfileRequest.Merge(m, src)
}
func (m *DeleteServiceProfileRequest) XXX_Size() int {
return xxx_messageInfo_DeleteServiceProfileRequest.Size(m)
}
func (m *DeleteServiceProfileRequest) XXX_DiscardUnknown() {
xxx_messageInfo_DeleteServiceProfileRequest.DiscardUnknown(m)
}
var xxx_messageInfo_DeleteServiceProfileRequest proto.InternalMessageInfo
func (m *DeleteServiceProfileRequest) GetId() string {
if m != nil {
return m.Id
}
return ""
}
type ListServiceProfileRequest struct {
// Max number of items to return.
Limit int64 `protobuf:"varint,1,opt,name=limit,proto3" json:"limit,omitempty"`
// Offset in the result-set (for pagination).
Offset int64 `protobuf:"varint,2,opt,name=offset,proto3" json:"offset,omitempty"`
// Organization id to filter on.
OrganizationId int64 `protobuf:"varint,3,opt,name=organization_id,json=organizationID,proto3" json:"organization_id,omitempty"`
XXX_NoUnkeyedLiteral struct{} `json:"-"`
XXX_unrecognized []byte `json:"-"`
XXX_sizecache int32 `json:"-"`
}
func (m *ListServiceProfileRequest) Reset() { *m = ListServiceProfileRequest{} }
func (m *ListServiceProfileRequest) String() string { return proto.CompactTextString(m) }
func (*ListServiceProfileRequest) ProtoMessage() {}
func (*ListServiceProfileRequest) Descriptor() ([]byte, []int) {
return fileDescriptor_4f18fca066634371, []int{6}
}
func (m *ListServiceProfileRequest) XXX_Unmarshal(b []byte) error {
return xxx_messageInfo_ListServiceProfileRequest.Unmarshal(m, b)
}
func (m *ListServiceProfileRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
return xxx_messageInfo_ListServiceProfileRequest.Marshal(b, m, deterministic)
}
func (m *ListServiceProfileRequest) XXX_Merge(src proto.Message) {
xxx_messageInfo_ListServiceProfileRequest.Merge(m, src)
}
func (m *ListServiceProfileRequest) XXX_Size() int {
return xxx_messageInfo_ListServiceProfileRequest.Size(m)
}
func (m *ListServiceProfileRequest) XXX_DiscardUnknown() {
xxx_messageInfo_ListServiceProfileRequest.DiscardUnknown(m)
}
var xxx_messageInfo_ListServiceProfileRequest proto.InternalMessageInfo
func (m *ListServiceProfileRequest) GetLimit() int64 {
if m != nil {
return m.Limit
}
return 0
}
func (m *ListServiceProfileRequest) GetOffset() int64 {
if m != nil {
return m.Offset
}
return 0
}
func (m *ListServiceProfileRequest) GetOrganizationId() int64 {
if m != nil {
return m.OrganizationId
}
return 0
}
type ServiceProfileListItem struct {
// Service-profile ID (UUID string).
Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"`
// Service-profile name.
Name string `protobuf:"bytes,2,opt,name=name,proto3" json:"name,omitempty"`
// Organization ID of the service-profile.
OrganizationId int64 `protobuf:"varint,3,opt,name=organization_id,json=organizationID,proto3" json:"organization_id,omitempty"`
// Network-server ID of the service-profile.
NetworkServerId int64 `protobuf:"varint,4,opt,name=network_server_id,json=networkServerID,proto3" json:"network_server_id,omitempty"`
// Created at timestamp.
CreatedAt *timestamppb.Timestamp `protobuf:"bytes,5,opt,name=created_at,json=createdAt,proto3" json:"created_at,omitempty"`
// Last update timestamp.
UpdatedAt *timestamppb.Timestamp `protobuf:"bytes,6,opt,name=updated_at,json=updatedAt,proto3" json:"updated_at,omitempty"`
// Network-server name of the service-profile.
NetworkServerName string `protobuf:"bytes,7,opt,name=network_server_name,json=networkServerName,proto3" json:"network_server_name,omitempty"`
XXX_NoUnkeyedLiteral struct{} `json:"-"`
XXX_unrecognized []byte `json:"-"`
XXX_sizecache int32 `json:"-"`
}
func (m *ServiceProfileListItem) Reset() { *m = ServiceProfileListItem{} }
func (m *ServiceProfileListItem) String() string { return proto.CompactTextString(m) }
func (*ServiceProfileListItem) ProtoMessage() {}
func (*ServiceProfileListItem) Descriptor() ([]byte, []int) {
return fileDescriptor_4f18fca066634371, []int{7}
}
func (m *ServiceProfileListItem) XXX_Unmarshal(b []byte) error {
return xxx_messageInfo_ServiceProfileListItem.Unmarshal(m, b)
}
func (m *ServiceProfileListItem) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
return xxx_messageInfo_ServiceProfileListItem.Marshal(b, m, deterministic)
}
func (m *ServiceProfileListItem) XXX_Merge(src proto.Message) {
xxx_messageInfo_ServiceProfileListItem.Merge(m, src)
}
func (m *ServiceProfileListItem) XXX_Size() int {
return xxx_messageInfo_ServiceProfileListItem.Size(m)
}
func (m *ServiceProfileListItem) XXX_DiscardUnknown() {
xxx_messageInfo_ServiceProfileListItem.DiscardUnknown(m)
}
var xxx_messageInfo_ServiceProfileListItem proto.InternalMessageInfo
func (m *ServiceProfileListItem) GetId() string {
if m != nil {
return m.Id
}
return ""
}
func (m *ServiceProfileListItem) GetName() string {
if m != nil {
return m.Name
}
return ""
}
func (m *ServiceProfileListItem) GetOrganizationId() int64 {
if m != nil {
return m.OrganizationId
}
return 0
}
func (m *ServiceProfileListItem) GetNetworkServerId() int64 {
if m != nil {
return m.NetworkServerId
}
return 0
}
func (m *ServiceProfileListItem) GetCreatedAt() *timestamppb.Timestamp {
if m != nil {
return m.CreatedAt
}
return nil
}
func (m *ServiceProfileListItem) GetUpdatedAt() *timestamppb.Timestamp {
if m != nil {
return m.UpdatedAt
}
return nil
}
func (m *ServiceProfileListItem) GetNetworkServerName() string {
if m != nil {
return m.NetworkServerName
}
return ""
}
type ListServiceProfileResponse struct {
// Total number of service-profiles.
TotalCount int64 `protobuf:"varint,1,opt,name=total_count,json=totalCount,proto3" json:"total_count,omitempty"`
Result []*ServiceProfileListItem `protobuf:"bytes,2,rep,name=result,proto3" json:"result,omitempty"`
XXX_NoUnkeyedLiteral struct{} `json:"-"`
XXX_unrecognized []byte `json:"-"`
XXX_sizecache int32 `json:"-"`
}
func (m *ListServiceProfileResponse) Reset() { *m = ListServiceProfileResponse{} }
func (m *ListServiceProfileResponse) String() string { return proto.CompactTextString(m) }
func (*ListServiceProfileResponse) ProtoMessage() {}
func (*ListServiceProfileResponse) Descriptor() ([]byte, []int) {
return fileDescriptor_4f18fca066634371, []int{8}
}
func (m *ListServiceProfileResponse) XXX_Unmarshal(b []byte) error {
return xxx_messageInfo_ListServiceProfileResponse.Unmarshal(m, b)
}
func (m *ListServiceProfileResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
return xxx_messageInfo_ListServiceProfileResponse.Marshal(b, m, deterministic)
}
func (m *ListServiceProfileResponse) XXX_Merge(src proto.Message) {
xxx_messageInfo_ListServiceProfileResponse.Merge(m, src)
}
func (m *ListServiceProfileResponse) XXX_Size() int {
return xxx_messageInfo_ListServiceProfileResponse.Size(m)
}
func (m *ListServiceProfileResponse) XXX_DiscardUnknown() {
xxx_messageInfo_ListServiceProfileResponse.DiscardUnknown(m)
}
var xxx_messageInfo_ListServiceProfileResponse proto.InternalMessageInfo
func (m *ListServiceProfileResponse) GetTotalCount() int64 {
if m != nil {
return m.TotalCount
}
return 0
}
func (m *ListServiceProfileResponse) GetResult() []*ServiceProfileListItem {
if m != nil {
return m.Result
}
return nil
}
func init() {
proto.RegisterType((*CreateServiceProfileRequest)(nil), "api.CreateServiceProfileRequest")
proto.RegisterType((*CreateServiceProfileResponse)(nil), "api.CreateServiceProfileResponse")
proto.RegisterType((*GetServiceProfileRequest)(nil), "api.GetServiceProfileRequest")
proto.RegisterType((*GetServiceProfileResponse)(nil), "api.GetServiceProfileResponse")
proto.RegisterType((*UpdateServiceProfileRequest)(nil), "api.UpdateServiceProfileRequest")
proto.RegisterType((*DeleteServiceProfileRequest)(nil), "api.DeleteServiceProfileRequest")
proto.RegisterType((*ListServiceProfileRequest)(nil), "api.ListServiceProfileRequest")
proto.RegisterType((*ServiceProfileListItem)(nil), "api.ServiceProfileListItem")
proto.RegisterType((*ListServiceProfileResponse)(nil), "api.ListServiceProfileResponse")
}
func init() {
proto.RegisterFile("as/external/api/serviceProfile.proto", fileDescriptor_4f18fca066634371)
}
var fileDescriptor_4f18fca066634371 = []byte{
// 676 bytes of a gzipped FileDescriptorProto
0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0xb4, 0x55, 0xcd, 0x6e, 0xd3, 0x40,
0x10, 0x56, 0xe2, 0xd4, 0xa8, 0x53, 0xa9, 0x55, 0xb7, 0xb4, 0xb4, 0x4e, 0x7f, 0x2d, 0x24, 0xaa,
0x48, 0xb5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x4b, 0xec, 0x4d, 0x2b, 0x31, 0x84, 0x4e, 0xae,
0x35, 0x29, 0xda, 0xd5, 0xb8, 0x04, 0xac, 0xad, 0xc6, 0x7b, 0xdd, 0xcf, 0x0d, 0x45, 0x76, 0x87,
0xd4, 0xeb, 0xf6, 0xe8, 0x1c, 0x76, 0x18, 0x77, 0xfc, 0x0b, 0x26, 0xd2, 0x4c, 0x52, 0xff, 0x52,
0x85, 0xa3, 0x99, 0x53, 0xfe, 0xac, 0x72, 0xfb, 0xfc, 0x70, 0xc4, 0x24, 0xa2, 0xe3, 0xf3, 0xd8,
0x0d, 0x42, 0xc1, 0x87, 0x5c, 0xfa, 0x81, 0xfb, 0xc3, 0x67, 0x2f, 0x8f, 0x3c, 0xe2, 0x6e, 0xe5,
0x1f, 0x37, 0x34, 0x55, 0xdd, 0x07, 0xdf, 0x03, 0x00, 0x00, 0xff, 0xff, 0x9b, 0x56, 0xee, 0xc7,
0x84, 0x07, 0x00, 0x00,
}
// Reference imports to suppress errors if they are not otherwise used.
var _ context.Context
var _ grpc.ClientConnInterface
// This is a compile-time assertion to ensure that this generated file
// is compatible with the grpc package it is being compiled against.
const _ = grpc.SupportPackageIsVersion6
// ServiceProfileServiceClient is the client API for ServiceProfileService service.
//
// For semantics around ctx use and closing/ending streaming RPCs, please refer to https://godoc.org/google.golang.org/grpc#ClientConn.NewStream.
type ServiceProfileServiceClient interface {
// Create creates the given service-profile.
Create(ctx context.Context, in *CreateServiceProfileRequest, opts ...grpc.CallOption) (*CreateServiceProfileResponse, error)
// Get returns the service-profile matching the given id.
Get(ctx context.Context, in *GetServiceProfileRequest, opts ...grpc.CallOption) (*GetServiceProfileResponse, error)
// Update updates the given serviceprofile.
Update(ctx context.Context, in *UpdateServiceProfileRequest, opts ...grpc.CallOption) (*emptypb.Empty, error)
// Delete deletes the service-profile matching the given id.
Delete(ctx context.Context, in *DeleteServiceProfileRequest, opts ...grpc.CallOption) (*emptypb.Empty, error)
// List lists the available service-profiles.
List(ctx context.Context, in *ListServiceProfileRequest, opts ...grpc.CallOption) (*ListServiceProfileResponse, error)
}
type serviceProfileServiceClient struct {
cc grpc.ClientConnInterface
}
func NewServiceProfileServiceClient(cc grpc.ClientConnInterface) ServiceProfileServiceClient {
return &serviceProfileServiceClient{cc}
}
func (c *serviceProfileServiceClient) Create(ctx context.Context, in *CreateServiceProfileRequest, opts ...grpc.CallOption) (*CreateServiceProfileResponse, error) {
out := new(CreateServiceProfileResponse)
err := c.cc.Invoke(ctx, "/api.ServiceProfileService/Create", in, out, opts...)
if err != nil {
return nil, err
}
return out, nil
}
func (c *serviceProfileServiceClient) Get(ctx context.Context, in *GetServiceProfileRequest, opts ...grpc.CallOption) (*GetServiceProfileResponse, error) {
out := new(GetServiceProfileResponse)
err := c.cc.Invoke(ctx, "/api.ServiceProfileService/Get", in, out, opts...)
if err != nil {
return nil, err
}
return out, nil
}
func (c *serviceProfileServiceClient) Update(ctx context.Context, in *UpdateServiceProfileRequest, opts ...grpc.CallOption) (*emptypb.Empty, error) {
out := new(emptypb.Empty)
err := c.cc.Invoke(ctx, "/api.ServiceProfileService/Update", in, out, opts...)
if err != nil {
return nil, err
}
return out, nil
}
func (c *serviceProfileServiceClient) Delete(ctx context.Context, in *DeleteServiceProfileRequest, opts ...grpc.CallOption) (*emptypb.Empty, error) {
out := new(emptypb.Empty)
err := c.cc.Invoke(ctx, "/api.ServiceProfileService/Delete", in, out, opts...)
if err != nil {
return nil, err
}
return out, nil
}
func (c *serviceProfileServiceClient) List(ctx context.Context, in *ListServiceProfileRequest, opts ...grpc.CallOption) (*ListServiceProfileResponse, error) {
out := new(ListServiceProfileResponse)
err := c.cc.Invoke(ctx, "/api.ServiceProfileService/List", in, out, opts...)
if err != nil {
return nil, err
}
return out, nil
}
// ServiceProfileServiceServer is the server API for ServiceProfileService service.
type ServiceProfileServiceServer interface {
// Create creates the given service-profile.
Create(context.Context, *CreateServiceProfileRequest) (*CreateServiceProfileResponse, error)
// Get returns the service-profile matching the given id.
Get(context.Context, *GetServiceProfileRequest) (*GetServiceProfileResponse, error)
// Update updates the given serviceprofile.
Update(context.Context, *UpdateServiceProfileRequest) (*emptypb.Empty, error)
// Delete deletes the service-profile matching the given id.
Delete(context.Context, *DeleteServiceProfileRequest) (*emptypb.Empty, error)
// List lists the available service-profiles.
List(context.Context, *ListServiceProfileRequest) (*ListServiceProfileResponse, error)
}
// UnimplementedServiceProfileServiceServer can be embedded to have forward compatible implementations.
type UnimplementedServiceProfileServiceServer struct {
}
func (*UnimplementedServiceProfileServiceServer) Create(ctx context.Context, req *CreateServiceProfileRequest) (*CreateServiceProfileResponse, error) {
return nil, status.Errorf(codes.Unimplemented, "method Create not implemented")
}
func (*UnimplementedServiceProfileServiceServer) Get(ctx context.Context, req *GetServiceProfileRequest) (*GetServiceProfileResponse, error) {
return nil, status.Errorf(codes.Unimplemented, "method Get not implemented")
}
func (*UnimplementedServiceProfileServiceServer) Update(ctx context.Context, req *UpdateServiceProfileRequest) (*emptypb.Empty, error) {
return nil, status.Errorf(codes.Unimplemented, "method Update not implemented")
}
func (*UnimplementedServiceProfileServiceServer) Delete(ctx context.Context, req *DeleteServiceProfileRequest) (*emptypb.Empty, error) {
return nil, status.Errorf(codes.Unimplemented, "method Delete not implemented")
}
func (*UnimplementedServiceProfileServiceServer) List(ctx context.Context, req *ListServiceProfileRequest) (*ListServiceProfileResponse, error) {
return nil, status.Errorf(codes.Unimplemented, "method List not implemented")
}
func RegisterServiceProfileServiceServer(s *grpc.Server, srv ServiceProfileServiceServer) {
s.RegisterService(&_ServiceProfileService_serviceDesc, srv)
}
func _ServiceProfileService_Create_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
in := new(CreateServiceProfileRequest)
if err := dec(in); err != nil {
return nil, err
}
if interceptor == nil {
return srv.(ServiceProfileServiceServer).Create(ctx, in)
}
info := &grpc.UnaryServerInfo{
Server: srv,
FullMethod: "/api.ServiceProfileService/Create",
}
handler := func(ctx context.Context, req interface{}) (interface{}, error) {
return srv.(ServiceProfileServiceServer).Create(ctx, req.(*CreateServiceProfileRequest))
}
return interceptor(ctx, in, info, handler)
}
func _ServiceProfileService_Get_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
in := new(GetServiceProfileRequest)
if err := dec(in); err != nil {
return nil, err
}
if interceptor == nil {
return srv.(ServiceProfileServiceServer).Get(ctx, in)
}
info := &grpc.UnaryServerInfo{
Server: srv,
FullMethod: "/api.ServiceProfileService/Get",
}
handler := func(ctx context.Context, req interface{}) (interface{}, error) {
return srv.(ServiceProfileServiceServer).Get(ctx, req.(*GetServiceProfileRequest))
}
return interceptor(ctx, in, info, handler)
}
func _ServiceProfileService_Update_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
in := new(UpdateServiceProfileRequest)
if err := dec(in); err != nil {
return nil, err
}
if interceptor == nil {
return srv.(ServiceProfileServiceServer).Update(ctx, in)
}
info := &grpc.UnaryServerInfo{
Server: srv,
FullMethod: "/api.ServiceProfileService/Update",
}
handler := func(ctx context.Context, req interface{}) (interface{}, error) {
return srv.(ServiceProfileServiceServer).Update(ctx, req.(*UpdateServiceProfileRequest))
}
return interceptor(ctx, in, info, handler)
}
func _ServiceProfileService_Delete_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
in := new(DeleteServiceProfileRequest)
if err := dec(in); err != nil {
return nil, err
}
if interceptor == nil {
return srv.(ServiceProfileServiceServer).Delete(ctx, in)
}
info := &grpc.UnaryServerInfo{
Server: srv,
FullMethod: "/api.ServiceProfileService/Delete",
}
handler := func(ctx context.Context, req interface{}) (interface{}, error) {
return srv.(ServiceProfileServiceServer).Delete(ctx, req.(*DeleteServiceProfileRequest))
}
return interceptor(ctx, in, info, handler)
}
func _ServiceProfileService_List_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
in := new(ListServiceProfileRequest)
if err := dec(in); err != nil {
return nil, err
}
if interceptor == nil {
return srv.(ServiceProfileServiceServer).List(ctx, in)
}
info := &grpc.UnaryServerInfo{
Server: srv,
FullMethod: "/api.ServiceProfileService/List",
}
handler := func(ctx context.Context, req interface{}) (interface{}, error) {
return srv.(ServiceProfileServiceServer).List(ctx, req.(*ListServiceProfileRequest))
}
return interceptor(ctx, in, info, handler)
}
var _ServiceProfileService_serviceDesc = grpc.ServiceDesc{
ServiceName: "api.ServiceProfileService",
HandlerType: (*ServiceProfileServiceServer)(nil),
Methods: []grpc.MethodDesc{
{
MethodName: "Create",
Handler: _ServiceProfileService_Create_Handler,
},
{
MethodName: "Get",
Handler: _ServiceProfileService_Get_Handler,
},
{
MethodName: "Update",
Handler: _ServiceProfileService_Update_Handler,
},
{
MethodName: "Delete",
Handler: _ServiceProfileService_Delete_Handler,
},
{
MethodName: "List",
Handler: _ServiceProfileService_List_Handler,
},
},
Streams: []grpc.StreamDesc{},
Metadata: "as/external/api/serviceProfile.proto",
}
此处可能存在不合适展示的内容,页面不予展示。您可通过相关编辑功能自查并修改。
如您确认内容无涉及 不当用语 / 纯广告导流 / 暴力 / 低俗色情 / 侵权 / 盗版 / 虚假 / 无价值内容或违法国家有关法律法规的内容,可点击提交进行申诉,我们将尽快为您处理。