Documentation ¶
Index ¶
- Constants
- Variables
- func RegisterVmdsServiceServer(s grpc.ServiceRegistrar, srv VmdsServiceServer)
- type DownloadSpecifiedMessagesRequest
- func (*DownloadSpecifiedMessagesRequest) Descriptor() ([]byte, []int)deprecated
- func (x *DownloadSpecifiedMessagesRequest) GetMessages() []*DownloadSpecifiedMessagesRequest_MessageRequest
- func (*DownloadSpecifiedMessagesRequest) ProtoMessage()
- func (x *DownloadSpecifiedMessagesRequest) ProtoReflect() protoreflect.Message
- func (x *DownloadSpecifiedMessagesRequest) Reset()
- func (x *DownloadSpecifiedMessagesRequest) String() string
- type DownloadSpecifiedMessagesRequest_MessageRequest
- func (*DownloadSpecifiedMessagesRequest_MessageRequest) Descriptor() ([]byte, []int)deprecated
- func (x *DownloadSpecifiedMessagesRequest_MessageRequest) GetCallerSid() string
- func (x *DownloadSpecifiedMessagesRequest_MessageRequest) GetCallerType() commons.CallType_Enum
- func (x *DownloadSpecifiedMessagesRequest_MessageRequest) GetMailBox() string
- func (*DownloadSpecifiedMessagesRequest_MessageRequest) ProtoMessage()
- func (x *DownloadSpecifiedMessagesRequest_MessageRequest) ProtoReflect() protoreflect.Message
- func (x *DownloadSpecifiedMessagesRequest_MessageRequest) Reset()
- func (x *DownloadSpecifiedMessagesRequest_MessageRequest) String() string
- type DownloadSpecifiedMessagesResponse
- func (*DownloadSpecifiedMessagesResponse) Descriptor() ([]byte, []int)deprecated
- func (x *DownloadSpecifiedMessagesResponse) GetUrl() string
- func (*DownloadSpecifiedMessagesResponse) ProtoMessage()
- func (x *DownloadSpecifiedMessagesResponse) ProtoReflect() protoreflect.Message
- func (x *DownloadSpecifiedMessagesResponse) Reset()
- func (x *DownloadSpecifiedMessagesResponse) String() string
- type UnimplementedVmdsServiceServer
- type UnsafeVmdsServiceServer
- type VmdsServiceClient
- type VmdsServiceServer
Constants ¶
const (
VmdsService_DownloadSpecifiedMessages_FullMethodName = "/api.v1alpha1.vmds.VmdsService/DownloadSpecifiedMessages"
)
Variables ¶
var File_api_v1alpha1_vmds_service_proto protoreflect.FileDescriptor
var VmdsService_ServiceDesc = grpc.ServiceDesc{ ServiceName: "api.v1alpha1.vmds.VmdsService", HandlerType: (*VmdsServiceServer)(nil), Methods: []grpc.MethodDesc{ { MethodName: "DownloadSpecifiedMessages", Handler: _VmdsService_DownloadSpecifiedMessages_Handler, }, }, Streams: []grpc.StreamDesc{}, Metadata: "api/v1alpha1/vmds/service.proto", }
VmdsService_ServiceDesc is the grpc.ServiceDesc for VmdsService service. It's only intended for direct use with grpc.RegisterService, and not to be introspected or modified (even as a copy)
Functions ¶
func RegisterVmdsServiceServer ¶
func RegisterVmdsServiceServer(s grpc.ServiceRegistrar, srv VmdsServiceServer)
Types ¶
type DownloadSpecifiedMessagesRequest ¶
type DownloadSpecifiedMessagesRequest struct { Messages []*DownloadSpecifiedMessagesRequest_MessageRequest `protobuf:"bytes,1,rep,name=messages,proto3" json:"messages,omitempty"` // contains filtered or unexported fields }
func (*DownloadSpecifiedMessagesRequest) Descriptor
deprecated
func (*DownloadSpecifiedMessagesRequest) Descriptor() ([]byte, []int)
Deprecated: Use DownloadSpecifiedMessagesRequest.ProtoReflect.Descriptor instead.
func (*DownloadSpecifiedMessagesRequest) GetMessages ¶
func (x *DownloadSpecifiedMessagesRequest) GetMessages() []*DownloadSpecifiedMessagesRequest_MessageRequest
func (*DownloadSpecifiedMessagesRequest) ProtoMessage ¶
func (*DownloadSpecifiedMessagesRequest) ProtoMessage()
func (*DownloadSpecifiedMessagesRequest) ProtoReflect ¶
func (x *DownloadSpecifiedMessagesRequest) ProtoReflect() protoreflect.Message
func (*DownloadSpecifiedMessagesRequest) Reset ¶
func (x *DownloadSpecifiedMessagesRequest) Reset()
func (*DownloadSpecifiedMessagesRequest) String ¶
func (x *DownloadSpecifiedMessagesRequest) String() string
type DownloadSpecifiedMessagesRequest_MessageRequest ¶
type DownloadSpecifiedMessagesRequest_MessageRequest struct { MailBox string `protobuf:"bytes,1,opt,name=mail_box,json=mailBox,proto3" json:"mail_box,omitempty"` CallerSid string `protobuf:"bytes,2,opt,name=caller_sid,json=callerSid,proto3" json:"caller_sid,omitempty"` CallerType commons.CallType_Enum `protobuf:"varint,3,opt,name=caller_type,json=callerType,proto3,enum=api.commons.CallType_Enum" json:"caller_type,omitempty"` // contains filtered or unexported fields }
func (*DownloadSpecifiedMessagesRequest_MessageRequest) Descriptor
deprecated
func (*DownloadSpecifiedMessagesRequest_MessageRequest) Descriptor() ([]byte, []int)
Deprecated: Use DownloadSpecifiedMessagesRequest_MessageRequest.ProtoReflect.Descriptor instead.
func (*DownloadSpecifiedMessagesRequest_MessageRequest) GetCallerSid ¶
func (x *DownloadSpecifiedMessagesRequest_MessageRequest) GetCallerSid() string
func (*DownloadSpecifiedMessagesRequest_MessageRequest) GetCallerType ¶
func (x *DownloadSpecifiedMessagesRequest_MessageRequest) GetCallerType() commons.CallType_Enum
func (*DownloadSpecifiedMessagesRequest_MessageRequest) GetMailBox ¶
func (x *DownloadSpecifiedMessagesRequest_MessageRequest) GetMailBox() string
func (*DownloadSpecifiedMessagesRequest_MessageRequest) ProtoMessage ¶
func (*DownloadSpecifiedMessagesRequest_MessageRequest) ProtoMessage()
func (*DownloadSpecifiedMessagesRequest_MessageRequest) ProtoReflect ¶
func (x *DownloadSpecifiedMessagesRequest_MessageRequest) ProtoReflect() protoreflect.Message
func (*DownloadSpecifiedMessagesRequest_MessageRequest) Reset ¶
func (x *DownloadSpecifiedMessagesRequest_MessageRequest) Reset()
func (*DownloadSpecifiedMessagesRequest_MessageRequest) String ¶
func (x *DownloadSpecifiedMessagesRequest_MessageRequest) String() string
type DownloadSpecifiedMessagesResponse ¶
type DownloadSpecifiedMessagesResponse struct { Url string `protobuf:"bytes,1,opt,name=url,proto3" json:"url,omitempty"` // contains filtered or unexported fields }
func (*DownloadSpecifiedMessagesResponse) Descriptor
deprecated
func (*DownloadSpecifiedMessagesResponse) Descriptor() ([]byte, []int)
Deprecated: Use DownloadSpecifiedMessagesResponse.ProtoReflect.Descriptor instead.
func (*DownloadSpecifiedMessagesResponse) GetUrl ¶
func (x *DownloadSpecifiedMessagesResponse) GetUrl() string
func (*DownloadSpecifiedMessagesResponse) ProtoMessage ¶
func (*DownloadSpecifiedMessagesResponse) ProtoMessage()
func (*DownloadSpecifiedMessagesResponse) ProtoReflect ¶
func (x *DownloadSpecifiedMessagesResponse) ProtoReflect() protoreflect.Message
func (*DownloadSpecifiedMessagesResponse) Reset ¶
func (x *DownloadSpecifiedMessagesResponse) Reset()
func (*DownloadSpecifiedMessagesResponse) String ¶
func (x *DownloadSpecifiedMessagesResponse) String() string
type UnimplementedVmdsServiceServer ¶
type UnimplementedVmdsServiceServer struct{}
UnimplementedVmdsServiceServer 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 (UnimplementedVmdsServiceServer) DownloadSpecifiedMessages ¶
func (UnimplementedVmdsServiceServer) DownloadSpecifiedMessages(context.Context, *DownloadSpecifiedMessagesRequest) (*DownloadSpecifiedMessagesResponse, error)
type UnsafeVmdsServiceServer ¶
type UnsafeVmdsServiceServer interface {
// contains filtered or unexported methods
}
UnsafeVmdsServiceServer may be embedded to opt out of forward compatibility for this service. Use of this interface is not recommended, as added methods to VmdsServiceServer will result in compilation errors.
type VmdsServiceClient ¶
type VmdsServiceClient interface {
DownloadSpecifiedMessages(ctx context.Context, in *DownloadSpecifiedMessagesRequest, opts ...grpc.CallOption) (*DownloadSpecifiedMessagesResponse, error)
}
VmdsServiceClient is the client API for VmdsService 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.
func NewVmdsServiceClient ¶
func NewVmdsServiceClient(cc grpc.ClientConnInterface) VmdsServiceClient
type VmdsServiceServer ¶
type VmdsServiceServer interface { DownloadSpecifiedMessages(context.Context, *DownloadSpecifiedMessagesRequest) (*DownloadSpecifiedMessagesResponse, error) // contains filtered or unexported methods }
VmdsServiceServer is the server API for VmdsService service. All implementations must embed UnimplementedVmdsServiceServer for forward compatibility.