finviv1

package
v1.8.17 Latest Latest
Warning

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

Go to latest
Published: Aug 20, 2024 License: Apache-2.0 Imports: 11 Imported by: 0

Documentation

Index

Constants

View Source
const (
	GenericFinviService_PopAccount_FullMethodName = "/api.v1alpha1.exile.station.finvi.v1.GenericFinviService/PopAccount"
)

Variables

View Source
var File_api_v1alpha1_exile_station_finvi_v1_service_proto protoreflect.FileDescriptor
View Source
var GenericFinviService_ServiceDesc = grpc.ServiceDesc{
	ServiceName: "api.v1alpha1.exile.station.finvi.v1.GenericFinviService",
	HandlerType: (*GenericFinviServiceServer)(nil),
	Methods: []grpc.MethodDesc{
		{
			MethodName: "PopAccount",
			Handler:    _GenericFinviService_PopAccount_Handler,
		},
	},
	Streams:  []grpc.StreamDesc{},
	Metadata: "api/v1alpha1/exile/station/finvi/v1/service.proto",
}

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

Functions

func RegisterGenericFinviServiceServer

func RegisterGenericFinviServiceServer(s grpc.ServiceRegistrar, srv GenericFinviServiceServer)

Types

type GenericFinviServiceClient

type GenericFinviServiceClient interface {
	// Displays a given record from a pool to the specified user.
	PopAccount(ctx context.Context, in *PopAccountReq, opts ...grpc.CallOption) (*PopAccountRes, error)
}

GenericFinviServiceClient is the client API for GenericFinviService 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 GenericFinviServiceServer

type GenericFinviServiceServer interface {
	// Displays a given record from a pool to the specified user.
	PopAccount(context.Context, *PopAccountReq) (*PopAccountRes, error)
	// contains filtered or unexported methods
}

GenericFinviServiceServer is the server API for GenericFinviService service. All implementations must embed UnimplementedGenericFinviServiceServer for forward compatibility.

type PopAccountReq

type PopAccountReq struct {
	RecordId string `protobuf:"bytes,10,opt,name=record_id,json=recordId,proto3" json:"record_id,omitempty"`
	UserId   string `protobuf:"bytes,11,opt,name=user_id,json=userId,proto3" json:"user_id,omitempty"`
	// optional
	AlternateId string `protobuf:"bytes,12,opt,name=alternate_id,json=alternateId,proto3" json:"alternate_id,omitempty"`
	// (call_sid, call_type) is primary key
	CallSid  int64  `protobuf:"varint,13,opt,name=call_sid,json=callSid,proto3" json:"call_sid,omitempty"`
	CallType string `protobuf:"bytes,14,opt,name=call_type,json=callType,proto3" json:"call_type,omitempty"`
	// contains filtered or unexported fields
}

func (*PopAccountReq) Descriptor deprecated

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

Deprecated: Use PopAccountReq.ProtoReflect.Descriptor instead.

func (*PopAccountReq) GetAlternateId

func (x *PopAccountReq) GetAlternateId() string

func (*PopAccountReq) GetCallSid

func (x *PopAccountReq) GetCallSid() int64

func (*PopAccountReq) GetCallType

func (x *PopAccountReq) GetCallType() string

func (*PopAccountReq) GetRecordId

func (x *PopAccountReq) GetRecordId() string

func (*PopAccountReq) GetUserId

func (x *PopAccountReq) GetUserId() string

func (*PopAccountReq) ProtoMessage

func (*PopAccountReq) ProtoMessage()

func (*PopAccountReq) ProtoReflect

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

func (*PopAccountReq) Reset

func (x *PopAccountReq) Reset()

func (*PopAccountReq) String

func (x *PopAccountReq) String() string

type PopAccountRes

type PopAccountRes struct {
	JobId int64 `protobuf:"varint,1,opt,name=job_id,json=jobId,proto3" json:"job_id,omitempty"`
	// if true only job_id and async will be populated.
	// all other data on the response will be sent as jsonl to the async handler
	Async bool `protobuf:"varint,2,opt,name=async,proto3" json:"async,omitempty"` // TBD
	// contains filtered or unexported fields
}

func (*PopAccountRes) Descriptor deprecated

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

Deprecated: Use PopAccountRes.ProtoReflect.Descriptor instead.

func (*PopAccountRes) GetAsync

func (x *PopAccountRes) GetAsync() bool

func (*PopAccountRes) GetJobId

func (x *PopAccountRes) GetJobId() int64

func (*PopAccountRes) ProtoMessage

func (*PopAccountRes) ProtoMessage()

func (*PopAccountRes) ProtoReflect

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

func (*PopAccountRes) Reset

func (x *PopAccountRes) Reset()

func (*PopAccountRes) String

func (x *PopAccountRes) String() string

type UnimplementedGenericFinviServiceServer

type UnimplementedGenericFinviServiceServer struct{}

UnimplementedGenericFinviServiceServer must be embedded to have forward compatible implementations.

NOTE: this should be embedded by value instead of pointer to avoid a nil pointer dereference when methods are called.

func (UnimplementedGenericFinviServiceServer) PopAccount

type UnsafeGenericFinviServiceServer

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

UnsafeGenericFinviServiceServer may be embedded to opt out of forward compatibility for this service. Use of this interface is not recommended, as added methods to GenericFinviServiceServer 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