gen

package
v0.0.0-...-2119b44 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Apr 17, 2024 License: MPL-2.0 Imports: 14 Imported by: 2

Documentation

Index

Constants

View Source
const (
	TestAgentService_BindSim_FullMethodName       = "/ukama.subscriber.test_agent.v1.TestAgentService/BindSim"
	TestAgentService_GetSim_FullMethodName        = "/ukama.subscriber.test_agent.v1.TestAgentService/GetSim"
	TestAgentService_ActivateSim_FullMethodName   = "/ukama.subscriber.test_agent.v1.TestAgentService/ActivateSim"
	TestAgentService_DeactivateSim_FullMethodName = "/ukama.subscriber.test_agent.v1.TestAgentService/DeactivateSim"
	TestAgentService_TerminateSim_FullMethodName  = "/ukama.subscriber.test_agent.v1.TestAgentService/TerminateSim"
)

Variables

View Source
var File_test_agent_proto protoreflect.FileDescriptor
View Source
var TestAgentService_ServiceDesc = grpc.ServiceDesc{
	ServiceName: "ukama.subscriber.test_agent.v1.TestAgentService",
	HandlerType: (*TestAgentServiceServer)(nil),
	Methods: []grpc.MethodDesc{
		{
			MethodName: "BindSim",
			Handler:    _TestAgentService_BindSim_Handler,
		},
		{
			MethodName: "GetSim",
			Handler:    _TestAgentService_GetSim_Handler,
		},
		{
			MethodName: "ActivateSim",
			Handler:    _TestAgentService_ActivateSim_Handler,
		},
		{
			MethodName: "DeactivateSim",
			Handler:    _TestAgentService_DeactivateSim_Handler,
		},
		{
			MethodName: "TerminateSim",
			Handler:    _TestAgentService_TerminateSim_Handler,
		},
	},
	Streams:  []grpc.StreamDesc{},
	Metadata: "test_agent.proto",
}

TestAgentService_ServiceDesc is the grpc.ServiceDesc for TestAgentService service. It's only intended for direct use with grpc.RegisterService, and not to be introspected or modified (even as a copy)

Functions

func RegisterTestAgentServiceServer

func RegisterTestAgentServiceServer(s grpc.ServiceRegistrar, srv TestAgentServiceServer)

Types

type ActivateSimRequest

type ActivateSimRequest struct {
	Iccid string `protobuf:"bytes,1,opt,name=iccid,proto3" json:"iccid,omitempty"`
	// contains filtered or unexported fields
}

func (*ActivateSimRequest) Descriptor deprecated

func (*ActivateSimRequest) Descriptor() ([]byte, []int)

Deprecated: Use ActivateSimRequest.ProtoReflect.Descriptor instead.

func (*ActivateSimRequest) GetIccid

func (x *ActivateSimRequest) GetIccid() string

func (*ActivateSimRequest) ProtoMessage

func (*ActivateSimRequest) ProtoMessage()

func (*ActivateSimRequest) ProtoReflect

func (x *ActivateSimRequest) ProtoReflect() protoreflect.Message

func (*ActivateSimRequest) Reset

func (x *ActivateSimRequest) Reset()

func (*ActivateSimRequest) String

func (x *ActivateSimRequest) String() string

func (*ActivateSimRequest) Validate

func (this *ActivateSimRequest) Validate() error

type ActivateSimResponse

type ActivateSimResponse struct {
	// contains filtered or unexported fields
}

func (*ActivateSimResponse) Descriptor deprecated

func (*ActivateSimResponse) Descriptor() ([]byte, []int)

Deprecated: Use ActivateSimResponse.ProtoReflect.Descriptor instead.

func (*ActivateSimResponse) ProtoMessage

func (*ActivateSimResponse) ProtoMessage()

func (*ActivateSimResponse) ProtoReflect

func (x *ActivateSimResponse) ProtoReflect() protoreflect.Message

func (*ActivateSimResponse) Reset

func (x *ActivateSimResponse) Reset()

func (*ActivateSimResponse) String

func (x *ActivateSimResponse) String() string

func (*ActivateSimResponse) Validate

func (this *ActivateSimResponse) Validate() error

type BindSimRequest

type BindSimRequest struct {
	Iccid string `protobuf:"bytes,1,opt,name=iccid,proto3" json:"iccid,omitempty"`
	// contains filtered or unexported fields
}

func (*BindSimRequest) Descriptor deprecated

func (*BindSimRequest) Descriptor() ([]byte, []int)

Deprecated: Use BindSimRequest.ProtoReflect.Descriptor instead.

func (*BindSimRequest) GetIccid

func (x *BindSimRequest) GetIccid() string

func (*BindSimRequest) ProtoMessage

func (*BindSimRequest) ProtoMessage()

func (*BindSimRequest) ProtoReflect

func (x *BindSimRequest) ProtoReflect() protoreflect.Message

func (*BindSimRequest) Reset

func (x *BindSimRequest) Reset()

func (*BindSimRequest) String

func (x *BindSimRequest) String() string

func (*BindSimRequest) Validate

func (this *BindSimRequest) Validate() error

type BindSimResponse

type BindSimResponse struct {
	// contains filtered or unexported fields
}

func (*BindSimResponse) Descriptor deprecated

func (*BindSimResponse) Descriptor() ([]byte, []int)

Deprecated: Use BindSimResponse.ProtoReflect.Descriptor instead.

func (*BindSimResponse) ProtoMessage

func (*BindSimResponse) ProtoMessage()

func (*BindSimResponse) ProtoReflect

func (x *BindSimResponse) ProtoReflect() protoreflect.Message

func (*BindSimResponse) Reset

func (x *BindSimResponse) Reset()

func (*BindSimResponse) String

func (x *BindSimResponse) String() string

func (*BindSimResponse) Validate

func (this *BindSimResponse) Validate() error

type DeactivateSimRequest

type DeactivateSimRequest struct {
	Iccid string `protobuf:"bytes,1,opt,name=iccid,proto3" json:"iccid,omitempty"`
	// contains filtered or unexported fields
}

func (*DeactivateSimRequest) Descriptor deprecated

func (*DeactivateSimRequest) Descriptor() ([]byte, []int)

Deprecated: Use DeactivateSimRequest.ProtoReflect.Descriptor instead.

func (*DeactivateSimRequest) GetIccid

func (x *DeactivateSimRequest) GetIccid() string

func (*DeactivateSimRequest) ProtoMessage

func (*DeactivateSimRequest) ProtoMessage()

func (*DeactivateSimRequest) ProtoReflect

func (x *DeactivateSimRequest) ProtoReflect() protoreflect.Message

func (*DeactivateSimRequest) Reset

func (x *DeactivateSimRequest) Reset()

func (*DeactivateSimRequest) String

func (x *DeactivateSimRequest) String() string

func (*DeactivateSimRequest) Validate

func (this *DeactivateSimRequest) Validate() error

type DeactivateSimResponse

type DeactivateSimResponse struct {
	// contains filtered or unexported fields
}

func (*DeactivateSimResponse) Descriptor deprecated

func (*DeactivateSimResponse) Descriptor() ([]byte, []int)

Deprecated: Use DeactivateSimResponse.ProtoReflect.Descriptor instead.

func (*DeactivateSimResponse) ProtoMessage

func (*DeactivateSimResponse) ProtoMessage()

func (*DeactivateSimResponse) ProtoReflect

func (x *DeactivateSimResponse) ProtoReflect() protoreflect.Message

func (*DeactivateSimResponse) Reset

func (x *DeactivateSimResponse) Reset()

func (*DeactivateSimResponse) String

func (x *DeactivateSimResponse) String() string

func (*DeactivateSimResponse) Validate

func (this *DeactivateSimResponse) Validate() error

type GetSimRequest

type GetSimRequest struct {
	Iccid string `protobuf:"bytes,1,opt,name=iccid,proto3" json:"iccid,omitempty"`
	// contains filtered or unexported fields
}

func (*GetSimRequest) Descriptor deprecated

func (*GetSimRequest) Descriptor() ([]byte, []int)

Deprecated: Use GetSimRequest.ProtoReflect.Descriptor instead.

func (*GetSimRequest) GetIccid

func (x *GetSimRequest) GetIccid() string

func (*GetSimRequest) ProtoMessage

func (*GetSimRequest) ProtoMessage()

func (*GetSimRequest) ProtoReflect

func (x *GetSimRequest) ProtoReflect() protoreflect.Message

func (*GetSimRequest) Reset

func (x *GetSimRequest) Reset()

func (*GetSimRequest) String

func (x *GetSimRequest) String() string

func (*GetSimRequest) Validate

func (this *GetSimRequest) Validate() error

type GetSimResponse

type GetSimResponse struct {
	SimInfo *SimInfo `protobuf:"bytes,1,opt,name=simInfo,json=sim,proto3" json:"simInfo,omitempty"`
	// contains filtered or unexported fields
}

func (*GetSimResponse) Descriptor deprecated

func (*GetSimResponse) Descriptor() ([]byte, []int)

Deprecated: Use GetSimResponse.ProtoReflect.Descriptor instead.

func (*GetSimResponse) GetSimInfo

func (x *GetSimResponse) GetSimInfo() *SimInfo

func (*GetSimResponse) ProtoMessage

func (*GetSimResponse) ProtoMessage()

func (*GetSimResponse) ProtoReflect

func (x *GetSimResponse) ProtoReflect() protoreflect.Message

func (*GetSimResponse) Reset

func (x *GetSimResponse) Reset()

func (*GetSimResponse) String

func (x *GetSimResponse) String() string

func (*GetSimResponse) Validate

func (this *GetSimResponse) Validate() error

type SimInfo

type SimInfo struct {
	Iccid  string `protobuf:"bytes,1,opt,name=Iccid,json=iccid,proto3" json:"Iccid,omitempty"`
	Imsi   string `protobuf:"bytes,2,opt,name=Imsi,json=imsi,proto3" json:"Imsi,omitempty"`
	Status string `protobuf:"bytes,3,opt,name=Status,json=status,proto3" json:"Status,omitempty"`
	// contains filtered or unexported fields
}

func (*SimInfo) Descriptor deprecated

func (*SimInfo) Descriptor() ([]byte, []int)

Deprecated: Use SimInfo.ProtoReflect.Descriptor instead.

func (*SimInfo) GetIccid

func (x *SimInfo) GetIccid() string

func (*SimInfo) GetImsi

func (x *SimInfo) GetImsi() string

func (*SimInfo) GetStatus

func (x *SimInfo) GetStatus() string

func (*SimInfo) ProtoMessage

func (*SimInfo) ProtoMessage()

func (*SimInfo) ProtoReflect

func (x *SimInfo) ProtoReflect() protoreflect.Message

func (*SimInfo) Reset

func (x *SimInfo) Reset()

func (*SimInfo) String

func (x *SimInfo) String() string

func (*SimInfo) Validate

func (this *SimInfo) Validate() error

type TerminateSimRequest

type TerminateSimRequest struct {
	Iccid string `protobuf:"bytes,1,opt,name=iccid,proto3" json:"iccid,omitempty"`
	// contains filtered or unexported fields
}

func (*TerminateSimRequest) Descriptor deprecated

func (*TerminateSimRequest) Descriptor() ([]byte, []int)

Deprecated: Use TerminateSimRequest.ProtoReflect.Descriptor instead.

func (*TerminateSimRequest) GetIccid

func (x *TerminateSimRequest) GetIccid() string

func (*TerminateSimRequest) ProtoMessage

func (*TerminateSimRequest) ProtoMessage()

func (*TerminateSimRequest) ProtoReflect

func (x *TerminateSimRequest) ProtoReflect() protoreflect.Message

func (*TerminateSimRequest) Reset

func (x *TerminateSimRequest) Reset()

func (*TerminateSimRequest) String

func (x *TerminateSimRequest) String() string

func (*TerminateSimRequest) Validate

func (this *TerminateSimRequest) Validate() error

type TerminateSimResponse

type TerminateSimResponse struct {
	// contains filtered or unexported fields
}

func (*TerminateSimResponse) Descriptor deprecated

func (*TerminateSimResponse) Descriptor() ([]byte, []int)

Deprecated: Use TerminateSimResponse.ProtoReflect.Descriptor instead.

func (*TerminateSimResponse) ProtoMessage

func (*TerminateSimResponse) ProtoMessage()

func (*TerminateSimResponse) ProtoReflect

func (x *TerminateSimResponse) ProtoReflect() protoreflect.Message

func (*TerminateSimResponse) Reset

func (x *TerminateSimResponse) Reset()

func (*TerminateSimResponse) String

func (x *TerminateSimResponse) String() string

func (*TerminateSimResponse) Validate

func (this *TerminateSimResponse) Validate() error

type TestAgentServiceClient

type TestAgentServiceClient interface {
	BindSim(ctx context.Context, in *BindSimRequest, opts ...grpc.CallOption) (*BindSimResponse, error)
	GetSim(ctx context.Context, in *GetSimRequest, opts ...grpc.CallOption) (*GetSimResponse, error)
	ActivateSim(ctx context.Context, in *ActivateSimRequest, opts ...grpc.CallOption) (*ActivateSimResponse, error)
	DeactivateSim(ctx context.Context, in *DeactivateSimRequest, opts ...grpc.CallOption) (*DeactivateSimResponse, error)
	TerminateSim(ctx context.Context, in *TerminateSimRequest, opts ...grpc.CallOption) (*TerminateSimResponse, error)
}

TestAgentServiceClient is the client API for TestAgentService 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 TestAgentServiceServer

type TestAgentServiceServer interface {
	BindSim(context.Context, *BindSimRequest) (*BindSimResponse, error)
	GetSim(context.Context, *GetSimRequest) (*GetSimResponse, error)
	ActivateSim(context.Context, *ActivateSimRequest) (*ActivateSimResponse, error)
	DeactivateSim(context.Context, *DeactivateSimRequest) (*DeactivateSimResponse, error)
	TerminateSim(context.Context, *TerminateSimRequest) (*TerminateSimResponse, error)
	// contains filtered or unexported methods
}

TestAgentServiceServer is the server API for TestAgentService service. All implementations must embed UnimplementedTestAgentServiceServer for forward compatibility

type UnimplementedTestAgentServiceServer

type UnimplementedTestAgentServiceServer struct {
}

UnimplementedTestAgentServiceServer must be embedded to have forward compatible implementations.

func (UnimplementedTestAgentServiceServer) ActivateSim

func (UnimplementedTestAgentServiceServer) BindSim

func (UnimplementedTestAgentServiceServer) DeactivateSim

func (UnimplementedTestAgentServiceServer) GetSim

func (UnimplementedTestAgentServiceServer) TerminateSim

type UnsafeTestAgentServiceServer

type UnsafeTestAgentServiceServer interface {
	// contains filtered or unexported methods
}

UnsafeTestAgentServiceServer may be embedded to opt out of forward compatibility for this service. Use of this interface is not recommended, as added methods to TestAgentServiceServer will result in compilation errors.

Directories

Path Synopsis

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL