Documentation ¶
Index ¶
- Variables
- func RegisterAPIServiceServer(s *grpc.Server, srv APIServiceServer)
- type APIServiceClient
- type APIServiceServer
- type APIService_ArchiveRetrievalLogsClient
- type APIService_ArchiveRetrievalLogsServer
- type ArchiveLsItem
- func (*ArchiveLsItem) Descriptor() ([]byte, []int)deprecated
- func (x *ArchiveLsItem) GetCid() string
- func (x *ArchiveLsItem) GetInfo() []*ArchiveLsItemMetadata
- func (*ArchiveLsItem) ProtoMessage()
- func (x *ArchiveLsItem) ProtoReflect() protoreflect.Message
- func (x *ArchiveLsItem) Reset()
- func (x *ArchiveLsItem) String() string
- type ArchiveLsItemMetadata
- func (*ArchiveLsItemMetadata) Descriptor() ([]byte, []int)deprecated
- func (x *ArchiveLsItemMetadata) GetDealId() uint64
- func (*ArchiveLsItemMetadata) ProtoMessage()
- func (x *ArchiveLsItemMetadata) ProtoReflect() protoreflect.Message
- func (x *ArchiveLsItemMetadata) Reset()
- func (x *ArchiveLsItemMetadata) String() string
- type ArchiveRetrievalLogsRequest
- func (*ArchiveRetrievalLogsRequest) Descriptor() ([]byte, []int)deprecated
- func (x *ArchiveRetrievalLogsRequest) GetId() string
- func (*ArchiveRetrievalLogsRequest) ProtoMessage()
- func (x *ArchiveRetrievalLogsRequest) ProtoReflect() protoreflect.Message
- func (x *ArchiveRetrievalLogsRequest) Reset()
- func (x *ArchiveRetrievalLogsRequest) String() string
- type ArchiveRetrievalLogsResponse
- func (*ArchiveRetrievalLogsResponse) Descriptor() ([]byte, []int)deprecated
- func (x *ArchiveRetrievalLogsResponse) GetMsg() string
- func (*ArchiveRetrievalLogsResponse) ProtoMessage()
- func (x *ArchiveRetrievalLogsResponse) ProtoReflect() protoreflect.Message
- func (x *ArchiveRetrievalLogsResponse) Reset()
- func (x *ArchiveRetrievalLogsResponse) String() string
- type ArchiveRetrievalLsItem
- func (*ArchiveRetrievalLsItem) Descriptor() ([]byte, []int)deprecated
- func (x *ArchiveRetrievalLsItem) GetCid() string
- func (x *ArchiveRetrievalLsItem) GetCreatedAt() int64
- func (x *ArchiveRetrievalLsItem) GetFailureCause() string
- func (x *ArchiveRetrievalLsItem) GetId() string
- func (x *ArchiveRetrievalLsItem) GetNewBucket() *ArchiveRetrievalLsItemNewBucket
- func (m *ArchiveRetrievalLsItem) GetRetrievalType() isArchiveRetrievalLsItem_RetrievalType
- func (x *ArchiveRetrievalLsItem) GetStatus() ArchiveRetrievalStatus
- func (*ArchiveRetrievalLsItem) ProtoMessage()
- func (x *ArchiveRetrievalLsItem) ProtoReflect() protoreflect.Message
- func (x *ArchiveRetrievalLsItem) Reset()
- func (x *ArchiveRetrievalLsItem) String() string
- type ArchiveRetrievalLsItemNewBucket
- func (*ArchiveRetrievalLsItemNewBucket) Descriptor() ([]byte, []int)deprecated
- func (x *ArchiveRetrievalLsItemNewBucket) GetName() string
- func (x *ArchiveRetrievalLsItemNewBucket) GetPrivate() bool
- func (*ArchiveRetrievalLsItemNewBucket) ProtoMessage()
- func (x *ArchiveRetrievalLsItemNewBucket) ProtoReflect() protoreflect.Message
- func (x *ArchiveRetrievalLsItemNewBucket) Reset()
- func (x *ArchiveRetrievalLsItemNewBucket) String() string
- type ArchiveRetrievalLsItem_NewBucket
- type ArchiveRetrievalLsRequest
- type ArchiveRetrievalLsResponse
- func (*ArchiveRetrievalLsResponse) Descriptor() ([]byte, []int)deprecated
- func (x *ArchiveRetrievalLsResponse) GetRetrievals() []*ArchiveRetrievalLsItem
- func (*ArchiveRetrievalLsResponse) ProtoMessage()
- func (x *ArchiveRetrievalLsResponse) ProtoReflect() protoreflect.Message
- func (x *ArchiveRetrievalLsResponse) Reset()
- func (x *ArchiveRetrievalLsResponse) String() string
- type ArchiveRetrievalStatus
- func (ArchiveRetrievalStatus) Descriptor() protoreflect.EnumDescriptor
- func (x ArchiveRetrievalStatus) Enum() *ArchiveRetrievalStatus
- func (ArchiveRetrievalStatus) EnumDescriptor() ([]byte, []int)deprecated
- func (x ArchiveRetrievalStatus) Number() protoreflect.EnumNumber
- func (x ArchiveRetrievalStatus) String() string
- func (ArchiveRetrievalStatus) Type() protoreflect.EnumType
- type ArchivesImportRequest
- func (*ArchivesImportRequest) Descriptor() ([]byte, []int)deprecated
- func (x *ArchivesImportRequest) GetCid() string
- func (x *ArchivesImportRequest) GetDealIds() []uint64
- func (*ArchivesImportRequest) ProtoMessage()
- func (x *ArchivesImportRequest) ProtoReflect() protoreflect.Message
- func (x *ArchivesImportRequest) Reset()
- func (x *ArchivesImportRequest) String() string
- type ArchivesImportResponse
- type ArchivesLsRequest
- type ArchivesLsResponse
- func (*ArchivesLsResponse) Descriptor() ([]byte, []int)deprecated
- func (x *ArchivesLsResponse) GetArchives() []*ArchiveLsItem
- func (*ArchivesLsResponse) ProtoMessage()
- func (x *ArchivesLsResponse) ProtoReflect() protoreflect.Message
- func (x *ArchivesLsResponse) Reset()
- func (x *ArchivesLsResponse) String() string
- type DeleteInboxMessageRequest
- func (*DeleteInboxMessageRequest) Descriptor() ([]byte, []int)deprecated
- func (x *DeleteInboxMessageRequest) GetId() string
- func (*DeleteInboxMessageRequest) ProtoMessage()
- func (x *DeleteInboxMessageRequest) ProtoReflect() protoreflect.Message
- func (x *DeleteInboxMessageRequest) Reset()
- func (x *DeleteInboxMessageRequest) String() string
- type DeleteInboxMessageResponse
- type DeleteSentboxMessageRequest
- func (*DeleteSentboxMessageRequest) Descriptor() ([]byte, []int)deprecated
- func (x *DeleteSentboxMessageRequest) GetId() string
- func (*DeleteSentboxMessageRequest) ProtoMessage()
- func (x *DeleteSentboxMessageRequest) ProtoReflect() protoreflect.Message
- func (x *DeleteSentboxMessageRequest) Reset()
- func (x *DeleteSentboxMessageRequest) String() string
- type DeleteSentboxMessageResponse
- func (*DeleteSentboxMessageResponse) Descriptor() ([]byte, []int)deprecated
- func (*DeleteSentboxMessageResponse) ProtoMessage()
- func (x *DeleteSentboxMessageResponse) ProtoReflect() protoreflect.Message
- func (x *DeleteSentboxMessageResponse) Reset()
- func (x *DeleteSentboxMessageResponse) String() string
- type GetThreadRequest
- type GetThreadResponse
- func (*GetThreadResponse) Descriptor() ([]byte, []int)deprecated
- func (x *GetThreadResponse) GetId() []byte
- func (x *GetThreadResponse) GetIsDb() bool
- func (x *GetThreadResponse) GetName() string
- func (*GetThreadResponse) ProtoMessage()
- func (x *GetThreadResponse) ProtoReflect() protoreflect.Message
- func (x *GetThreadResponse) Reset()
- func (x *GetThreadResponse) String() string
- type GetUsageRequest
- type GetUsageResponse
- func (*GetUsageResponse) Descriptor() ([]byte, []int)deprecated
- func (x *GetUsageResponse) GetCustomer() *pb.GetCustomerResponse
- func (x *GetUsageResponse) GetUsage() *pb.GetCustomerUsageResponse
- func (*GetUsageResponse) ProtoMessage()
- func (x *GetUsageResponse) ProtoReflect() protoreflect.Message
- func (x *GetUsageResponse) Reset()
- func (x *GetUsageResponse) String() string
- type ListInboxMessagesRequest
- func (*ListInboxMessagesRequest) Descriptor() ([]byte, []int)deprecated
- func (x *ListInboxMessagesRequest) GetAscending() bool
- func (x *ListInboxMessagesRequest) GetLimit() int64
- func (x *ListInboxMessagesRequest) GetSeek() string
- func (x *ListInboxMessagesRequest) GetStatus() ListInboxMessagesRequest_Status
- func (*ListInboxMessagesRequest) ProtoMessage()
- func (x *ListInboxMessagesRequest) ProtoReflect() protoreflect.Message
- func (x *ListInboxMessagesRequest) Reset()
- func (x *ListInboxMessagesRequest) String() string
- type ListInboxMessagesRequest_Status
- func (ListInboxMessagesRequest_Status) Descriptor() protoreflect.EnumDescriptor
- func (x ListInboxMessagesRequest_Status) Enum() *ListInboxMessagesRequest_Status
- func (ListInboxMessagesRequest_Status) EnumDescriptor() ([]byte, []int)deprecated
- func (x ListInboxMessagesRequest_Status) Number() protoreflect.EnumNumber
- func (x ListInboxMessagesRequest_Status) String() string
- func (ListInboxMessagesRequest_Status) Type() protoreflect.EnumType
- type ListInboxMessagesResponse
- func (*ListInboxMessagesResponse) Descriptor() ([]byte, []int)deprecated
- func (x *ListInboxMessagesResponse) GetMessages() []*Message
- func (*ListInboxMessagesResponse) ProtoMessage()
- func (x *ListInboxMessagesResponse) ProtoReflect() protoreflect.Message
- func (x *ListInboxMessagesResponse) Reset()
- func (x *ListInboxMessagesResponse) String() string
- type ListSentboxMessagesRequest
- func (*ListSentboxMessagesRequest) Descriptor() ([]byte, []int)deprecated
- func (x *ListSentboxMessagesRequest) GetAscending() bool
- func (x *ListSentboxMessagesRequest) GetLimit() int64
- func (x *ListSentboxMessagesRequest) GetSeek() string
- func (*ListSentboxMessagesRequest) ProtoMessage()
- func (x *ListSentboxMessagesRequest) ProtoReflect() protoreflect.Message
- func (x *ListSentboxMessagesRequest) Reset()
- func (x *ListSentboxMessagesRequest) String() string
- type ListSentboxMessagesResponse
- func (*ListSentboxMessagesResponse) Descriptor() ([]byte, []int)deprecated
- func (x *ListSentboxMessagesResponse) GetMessages() []*Message
- func (*ListSentboxMessagesResponse) ProtoMessage()
- func (x *ListSentboxMessagesResponse) ProtoReflect() protoreflect.Message
- func (x *ListSentboxMessagesResponse) Reset()
- func (x *ListSentboxMessagesResponse) String() string
- type ListThreadsRequest
- type ListThreadsResponse
- func (*ListThreadsResponse) Descriptor() ([]byte, []int)deprecated
- func (x *ListThreadsResponse) GetList() []*GetThreadResponse
- func (*ListThreadsResponse) ProtoMessage()
- func (x *ListThreadsResponse) ProtoReflect() protoreflect.Message
- func (x *ListThreadsResponse) Reset()
- func (x *ListThreadsResponse) String() string
- type Message
- func (*Message) Descriptor() ([]byte, []int)deprecated
- func (x *Message) GetBody() []byte
- func (x *Message) GetCreatedAt() int64
- func (x *Message) GetFrom() string
- func (x *Message) GetId() string
- func (x *Message) GetReadAt() int64
- func (x *Message) GetSignature() []byte
- func (x *Message) GetTo() string
- func (*Message) ProtoMessage()
- func (x *Message) ProtoReflect() protoreflect.Message
- func (x *Message) Reset()
- func (x *Message) String() string
- type ReadInboxMessageRequest
- func (*ReadInboxMessageRequest) Descriptor() ([]byte, []int)deprecated
- func (x *ReadInboxMessageRequest) GetId() string
- func (*ReadInboxMessageRequest) ProtoMessage()
- func (x *ReadInboxMessageRequest) ProtoReflect() protoreflect.Message
- func (x *ReadInboxMessageRequest) Reset()
- func (x *ReadInboxMessageRequest) String() string
- type ReadInboxMessageResponse
- func (*ReadInboxMessageResponse) Descriptor() ([]byte, []int)deprecated
- func (x *ReadInboxMessageResponse) GetReadAt() int64
- func (*ReadInboxMessageResponse) ProtoMessage()
- func (x *ReadInboxMessageResponse) ProtoReflect() protoreflect.Message
- func (x *ReadInboxMessageResponse) Reset()
- func (x *ReadInboxMessageResponse) String() string
- type SendMessageRequest
- func (*SendMessageRequest) Descriptor() ([]byte, []int)deprecated
- func (x *SendMessageRequest) GetFromBody() []byte
- func (x *SendMessageRequest) GetFromSignature() []byte
- func (x *SendMessageRequest) GetTo() string
- func (x *SendMessageRequest) GetToBody() []byte
- func (x *SendMessageRequest) GetToSignature() []byte
- func (*SendMessageRequest) ProtoMessage()
- func (x *SendMessageRequest) ProtoReflect() protoreflect.Message
- func (x *SendMessageRequest) Reset()
- func (x *SendMessageRequest) String() string
- type SendMessageResponse
- func (*SendMessageResponse) Descriptor() ([]byte, []int)deprecated
- func (x *SendMessageResponse) GetCreatedAt() int64
- func (x *SendMessageResponse) GetId() string
- func (*SendMessageResponse) ProtoMessage()
- func (x *SendMessageResponse) ProtoReflect() protoreflect.Message
- func (x *SendMessageResponse) Reset()
- func (x *SendMessageResponse) String() string
- type SetupMailboxRequest
- type SetupMailboxResponse
- func (*SetupMailboxResponse) Descriptor() ([]byte, []int)deprecated
- func (x *SetupMailboxResponse) GetMailboxId() []byte
- func (*SetupMailboxResponse) ProtoMessage()
- func (x *SetupMailboxResponse) ProtoReflect() protoreflect.Message
- func (x *SetupMailboxResponse) Reset()
- func (x *SetupMailboxResponse) String() string
- type UnimplementedAPIServiceServer
- func (*UnimplementedAPIServiceServer) ArchiveRetrievalLogs(*ArchiveRetrievalLogsRequest, APIService_ArchiveRetrievalLogsServer) error
- func (*UnimplementedAPIServiceServer) ArchiveRetrievalLs(context.Context, *ArchiveRetrievalLsRequest) (*ArchiveRetrievalLsResponse, error)
- func (*UnimplementedAPIServiceServer) ArchivesImport(context.Context, *ArchivesImportRequest) (*ArchivesImportResponse, error)
- func (*UnimplementedAPIServiceServer) ArchivesLs(context.Context, *ArchivesLsRequest) (*ArchivesLsResponse, error)
- func (*UnimplementedAPIServiceServer) DeleteInboxMessage(context.Context, *DeleteInboxMessageRequest) (*DeleteInboxMessageResponse, error)
- func (*UnimplementedAPIServiceServer) DeleteSentboxMessage(context.Context, *DeleteSentboxMessageRequest) (*DeleteSentboxMessageResponse, error)
- func (*UnimplementedAPIServiceServer) GetThread(context.Context, *GetThreadRequest) (*GetThreadResponse, error)
- func (*UnimplementedAPIServiceServer) GetUsage(context.Context, *GetUsageRequest) (*GetUsageResponse, error)
- func (*UnimplementedAPIServiceServer) ListInboxMessages(context.Context, *ListInboxMessagesRequest) (*ListInboxMessagesResponse, error)
- func (*UnimplementedAPIServiceServer) ListSentboxMessages(context.Context, *ListSentboxMessagesRequest) (*ListSentboxMessagesResponse, error)
- func (*UnimplementedAPIServiceServer) ListThreads(context.Context, *ListThreadsRequest) (*ListThreadsResponse, error)
- func (*UnimplementedAPIServiceServer) ReadInboxMessage(context.Context, *ReadInboxMessageRequest) (*ReadInboxMessageResponse, error)
- func (*UnimplementedAPIServiceServer) SendMessage(context.Context, *SendMessageRequest) (*SendMessageResponse, error)
- func (*UnimplementedAPIServiceServer) SetupMailbox(context.Context, *SetupMailboxRequest) (*SetupMailboxResponse, error)
Constants ¶
This section is empty.
Variables ¶
var ( ArchiveRetrievalStatus_name = map[int32]string{ 0: "ARCHIVE_RETRIEVAL_STATUS_UNSPECIFIED", 1: "ARCHIVE_RETRIEVAL_STATUS_QUEUED", 2: "ARCHIVE_RETRIEVAL_STATUS_EXECUTING", 3: "ARCHIVE_RETRIEVAL_STATUS_MOVETOBUCKET", 4: "ARCHIVE_RETRIEVAL_STATUS_FAILED", 5: "ARCHIVE_RETRIEVAL_STATUS_CANCELED", 6: "ARCHIVE_RETRIEVAL_STATUS_SUCCESS", } ArchiveRetrievalStatus_value = map[string]int32{ "ARCHIVE_RETRIEVAL_STATUS_UNSPECIFIED": 0, "ARCHIVE_RETRIEVAL_STATUS_QUEUED": 1, "ARCHIVE_RETRIEVAL_STATUS_EXECUTING": 2, "ARCHIVE_RETRIEVAL_STATUS_MOVETOBUCKET": 3, "ARCHIVE_RETRIEVAL_STATUS_FAILED": 4, "ARCHIVE_RETRIEVAL_STATUS_CANCELED": 5, "ARCHIVE_RETRIEVAL_STATUS_SUCCESS": 6, } )
Enum value maps for ArchiveRetrievalStatus.
var ( ListInboxMessagesRequest_Status_name = map[int32]string{ 0: "STATUS_UNSPECIFIED", 1: "STATUS_ALL", 2: "STATUS_READ", 3: "STATUS_UNREAD", } ListInboxMessagesRequest_Status_value = map[string]int32{ "STATUS_UNSPECIFIED": 0, "STATUS_ALL": 1, "STATUS_READ": 2, "STATUS_UNREAD": 3, } )
Enum value maps for ListInboxMessagesRequest_Status.
var File_api_usersd_pb_usersd_proto protoreflect.FileDescriptor
Functions ¶
func RegisterAPIServiceServer ¶
func RegisterAPIServiceServer(s *grpc.Server, srv APIServiceServer)
Types ¶
type APIServiceClient ¶
type APIServiceClient interface { GetThread(ctx context.Context, in *GetThreadRequest, opts ...grpc.CallOption) (*GetThreadResponse, error) ListThreads(ctx context.Context, in *ListThreadsRequest, opts ...grpc.CallOption) (*ListThreadsResponse, error) SetupMailbox(ctx context.Context, in *SetupMailboxRequest, opts ...grpc.CallOption) (*SetupMailboxResponse, error) SendMessage(ctx context.Context, in *SendMessageRequest, opts ...grpc.CallOption) (*SendMessageResponse, error) ListInboxMessages(ctx context.Context, in *ListInboxMessagesRequest, opts ...grpc.CallOption) (*ListInboxMessagesResponse, error) ListSentboxMessages(ctx context.Context, in *ListSentboxMessagesRequest, opts ...grpc.CallOption) (*ListSentboxMessagesResponse, error) ReadInboxMessage(ctx context.Context, in *ReadInboxMessageRequest, opts ...grpc.CallOption) (*ReadInboxMessageResponse, error) DeleteInboxMessage(ctx context.Context, in *DeleteInboxMessageRequest, opts ...grpc.CallOption) (*DeleteInboxMessageResponse, error) DeleteSentboxMessage(ctx context.Context, in *DeleteSentboxMessageRequest, opts ...grpc.CallOption) (*DeleteSentboxMessageResponse, error) GetUsage(ctx context.Context, in *GetUsageRequest, opts ...grpc.CallOption) (*GetUsageResponse, error) // Archives Import ArchivesLs(ctx context.Context, in *ArchivesLsRequest, opts ...grpc.CallOption) (*ArchivesLsResponse, error) ArchivesImport(ctx context.Context, in *ArchivesImportRequest, opts ...grpc.CallOption) (*ArchivesImportResponse, error) // Archive Retrieval ArchiveRetrievalLs(ctx context.Context, in *ArchiveRetrievalLsRequest, opts ...grpc.CallOption) (*ArchiveRetrievalLsResponse, error) ArchiveRetrievalLogs(ctx context.Context, in *ArchiveRetrievalLogsRequest, opts ...grpc.CallOption) (APIService_ArchiveRetrievalLogsClient, error) }
APIServiceClient is the client API for APIService service.
For semantics around ctx use and closing/ending streaming RPCs, please refer to https://godoc.org/google.golang.org/grpc#ClientConn.NewStream.
func NewAPIServiceClient ¶
func NewAPIServiceClient(cc grpc.ClientConnInterface) APIServiceClient
type APIServiceServer ¶
type APIServiceServer interface { GetThread(context.Context, *GetThreadRequest) (*GetThreadResponse, error) ListThreads(context.Context, *ListThreadsRequest) (*ListThreadsResponse, error) SetupMailbox(context.Context, *SetupMailboxRequest) (*SetupMailboxResponse, error) SendMessage(context.Context, *SendMessageRequest) (*SendMessageResponse, error) ListInboxMessages(context.Context, *ListInboxMessagesRequest) (*ListInboxMessagesResponse, error) ListSentboxMessages(context.Context, *ListSentboxMessagesRequest) (*ListSentboxMessagesResponse, error) ReadInboxMessage(context.Context, *ReadInboxMessageRequest) (*ReadInboxMessageResponse, error) DeleteInboxMessage(context.Context, *DeleteInboxMessageRequest) (*DeleteInboxMessageResponse, error) DeleteSentboxMessage(context.Context, *DeleteSentboxMessageRequest) (*DeleteSentboxMessageResponse, error) GetUsage(context.Context, *GetUsageRequest) (*GetUsageResponse, error) // Archives Import ArchivesLs(context.Context, *ArchivesLsRequest) (*ArchivesLsResponse, error) ArchivesImport(context.Context, *ArchivesImportRequest) (*ArchivesImportResponse, error) // Archive Retrieval ArchiveRetrievalLs(context.Context, *ArchiveRetrievalLsRequest) (*ArchiveRetrievalLsResponse, error) ArchiveRetrievalLogs(*ArchiveRetrievalLogsRequest, APIService_ArchiveRetrievalLogsServer) error }
APIServiceServer is the server API for APIService service.
type APIService_ArchiveRetrievalLogsClient ¶ added in v2.6.0
type APIService_ArchiveRetrievalLogsClient interface { Recv() (*ArchiveRetrievalLogsResponse, error) grpc.ClientStream }
type APIService_ArchiveRetrievalLogsServer ¶ added in v2.6.0
type APIService_ArchiveRetrievalLogsServer interface { Send(*ArchiveRetrievalLogsResponse) error grpc.ServerStream }
type ArchiveLsItem ¶ added in v2.6.0
type ArchiveLsItem struct { Cid string `protobuf:"bytes,1,opt,name=cid,proto3" json:"cid,omitempty"` Info []*ArchiveLsItemMetadata `protobuf:"bytes,2,rep,name=info,proto3" json:"info,omitempty"` // contains filtered or unexported fields }
func (*ArchiveLsItem) Descriptor
deprecated
added in
v2.6.0
func (*ArchiveLsItem) Descriptor() ([]byte, []int)
Deprecated: Use ArchiveLsItem.ProtoReflect.Descriptor instead.
func (*ArchiveLsItem) GetCid ¶ added in v2.6.0
func (x *ArchiveLsItem) GetCid() string
func (*ArchiveLsItem) GetInfo ¶ added in v2.6.0
func (x *ArchiveLsItem) GetInfo() []*ArchiveLsItemMetadata
func (*ArchiveLsItem) ProtoMessage ¶ added in v2.6.0
func (*ArchiveLsItem) ProtoMessage()
func (*ArchiveLsItem) ProtoReflect ¶ added in v2.6.0
func (x *ArchiveLsItem) ProtoReflect() protoreflect.Message
func (*ArchiveLsItem) Reset ¶ added in v2.6.0
func (x *ArchiveLsItem) Reset()
func (*ArchiveLsItem) String ¶ added in v2.6.0
func (x *ArchiveLsItem) String() string
type ArchiveLsItemMetadata ¶ added in v2.6.0
type ArchiveLsItemMetadata struct { DealId uint64 `protobuf:"varint,1,opt,name=deal_id,json=dealId,proto3" json:"deal_id,omitempty"` // contains filtered or unexported fields }
func (*ArchiveLsItemMetadata) Descriptor
deprecated
added in
v2.6.0
func (*ArchiveLsItemMetadata) Descriptor() ([]byte, []int)
Deprecated: Use ArchiveLsItemMetadata.ProtoReflect.Descriptor instead.
func (*ArchiveLsItemMetadata) GetDealId ¶ added in v2.6.0
func (x *ArchiveLsItemMetadata) GetDealId() uint64
func (*ArchiveLsItemMetadata) ProtoMessage ¶ added in v2.6.0
func (*ArchiveLsItemMetadata) ProtoMessage()
func (*ArchiveLsItemMetadata) ProtoReflect ¶ added in v2.6.0
func (x *ArchiveLsItemMetadata) ProtoReflect() protoreflect.Message
func (*ArchiveLsItemMetadata) Reset ¶ added in v2.6.0
func (x *ArchiveLsItemMetadata) Reset()
func (*ArchiveLsItemMetadata) String ¶ added in v2.6.0
func (x *ArchiveLsItemMetadata) String() string
type ArchiveRetrievalLogsRequest ¶ added in v2.6.0
type ArchiveRetrievalLogsRequest struct { Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"` // contains filtered or unexported fields }
func (*ArchiveRetrievalLogsRequest) Descriptor
deprecated
added in
v2.6.0
func (*ArchiveRetrievalLogsRequest) Descriptor() ([]byte, []int)
Deprecated: Use ArchiveRetrievalLogsRequest.ProtoReflect.Descriptor instead.
func (*ArchiveRetrievalLogsRequest) GetId ¶ added in v2.6.0
func (x *ArchiveRetrievalLogsRequest) GetId() string
func (*ArchiveRetrievalLogsRequest) ProtoMessage ¶ added in v2.6.0
func (*ArchiveRetrievalLogsRequest) ProtoMessage()
func (*ArchiveRetrievalLogsRequest) ProtoReflect ¶ added in v2.6.0
func (x *ArchiveRetrievalLogsRequest) ProtoReflect() protoreflect.Message
func (*ArchiveRetrievalLogsRequest) Reset ¶ added in v2.6.0
func (x *ArchiveRetrievalLogsRequest) Reset()
func (*ArchiveRetrievalLogsRequest) String ¶ added in v2.6.0
func (x *ArchiveRetrievalLogsRequest) String() string
type ArchiveRetrievalLogsResponse ¶ added in v2.6.0
type ArchiveRetrievalLogsResponse struct { Msg string `protobuf:"bytes,1,opt,name=msg,proto3" json:"msg,omitempty"` // contains filtered or unexported fields }
func (*ArchiveRetrievalLogsResponse) Descriptor
deprecated
added in
v2.6.0
func (*ArchiveRetrievalLogsResponse) Descriptor() ([]byte, []int)
Deprecated: Use ArchiveRetrievalLogsResponse.ProtoReflect.Descriptor instead.
func (*ArchiveRetrievalLogsResponse) GetMsg ¶ added in v2.6.0
func (x *ArchiveRetrievalLogsResponse) GetMsg() string
func (*ArchiveRetrievalLogsResponse) ProtoMessage ¶ added in v2.6.0
func (*ArchiveRetrievalLogsResponse) ProtoMessage()
func (*ArchiveRetrievalLogsResponse) ProtoReflect ¶ added in v2.6.0
func (x *ArchiveRetrievalLogsResponse) ProtoReflect() protoreflect.Message
func (*ArchiveRetrievalLogsResponse) Reset ¶ added in v2.6.0
func (x *ArchiveRetrievalLogsResponse) Reset()
func (*ArchiveRetrievalLogsResponse) String ¶ added in v2.6.0
func (x *ArchiveRetrievalLogsResponse) String() string
type ArchiveRetrievalLsItem ¶ added in v2.6.0
type ArchiveRetrievalLsItem struct { Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"` Cid string `protobuf:"bytes,2,opt,name=cid,proto3" json:"cid,omitempty"` Status ArchiveRetrievalStatus `protobuf:"varint,3,opt,name=status,proto3,enum=api.usersd.pb.ArchiveRetrievalStatus" json:"status,omitempty"` FailureCause string `protobuf:"bytes,4,opt,name=failure_cause,json=failureCause,proto3" json:"failure_cause,omitempty"` CreatedAt int64 `protobuf:"varint,5,opt,name=created_at,json=createdAt,proto3" json:"created_at,omitempty"` // Types that are assignable to RetrievalType: // *ArchiveRetrievalLsItem_NewBucket RetrievalType isArchiveRetrievalLsItem_RetrievalType `protobuf_oneof:"retrieval_type"` // contains filtered or unexported fields }
func (*ArchiveRetrievalLsItem) Descriptor
deprecated
added in
v2.6.0
func (*ArchiveRetrievalLsItem) Descriptor() ([]byte, []int)
Deprecated: Use ArchiveRetrievalLsItem.ProtoReflect.Descriptor instead.
func (*ArchiveRetrievalLsItem) GetCid ¶ added in v2.6.0
func (x *ArchiveRetrievalLsItem) GetCid() string
func (*ArchiveRetrievalLsItem) GetCreatedAt ¶ added in v2.6.0
func (x *ArchiveRetrievalLsItem) GetCreatedAt() int64
func (*ArchiveRetrievalLsItem) GetFailureCause ¶ added in v2.6.0
func (x *ArchiveRetrievalLsItem) GetFailureCause() string
func (*ArchiveRetrievalLsItem) GetId ¶ added in v2.6.0
func (x *ArchiveRetrievalLsItem) GetId() string
func (*ArchiveRetrievalLsItem) GetNewBucket ¶ added in v2.6.0
func (x *ArchiveRetrievalLsItem) GetNewBucket() *ArchiveRetrievalLsItemNewBucket
func (*ArchiveRetrievalLsItem) GetRetrievalType ¶ added in v2.6.0
func (m *ArchiveRetrievalLsItem) GetRetrievalType() isArchiveRetrievalLsItem_RetrievalType
func (*ArchiveRetrievalLsItem) GetStatus ¶ added in v2.6.0
func (x *ArchiveRetrievalLsItem) GetStatus() ArchiveRetrievalStatus
func (*ArchiveRetrievalLsItem) ProtoMessage ¶ added in v2.6.0
func (*ArchiveRetrievalLsItem) ProtoMessage()
func (*ArchiveRetrievalLsItem) ProtoReflect ¶ added in v2.6.0
func (x *ArchiveRetrievalLsItem) ProtoReflect() protoreflect.Message
func (*ArchiveRetrievalLsItem) Reset ¶ added in v2.6.0
func (x *ArchiveRetrievalLsItem) Reset()
func (*ArchiveRetrievalLsItem) String ¶ added in v2.6.0
func (x *ArchiveRetrievalLsItem) String() string
type ArchiveRetrievalLsItemNewBucket ¶ added in v2.6.0
type ArchiveRetrievalLsItemNewBucket struct { Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` Private bool `protobuf:"varint,2,opt,name=private,proto3" json:"private,omitempty"` // contains filtered or unexported fields }
func (*ArchiveRetrievalLsItemNewBucket) Descriptor
deprecated
added in
v2.6.0
func (*ArchiveRetrievalLsItemNewBucket) Descriptor() ([]byte, []int)
Deprecated: Use ArchiveRetrievalLsItemNewBucket.ProtoReflect.Descriptor instead.
func (*ArchiveRetrievalLsItemNewBucket) GetName ¶ added in v2.6.0
func (x *ArchiveRetrievalLsItemNewBucket) GetName() string
func (*ArchiveRetrievalLsItemNewBucket) GetPrivate ¶ added in v2.6.0
func (x *ArchiveRetrievalLsItemNewBucket) GetPrivate() bool
func (*ArchiveRetrievalLsItemNewBucket) ProtoMessage ¶ added in v2.6.0
func (*ArchiveRetrievalLsItemNewBucket) ProtoMessage()
func (*ArchiveRetrievalLsItemNewBucket) ProtoReflect ¶ added in v2.6.0
func (x *ArchiveRetrievalLsItemNewBucket) ProtoReflect() protoreflect.Message
func (*ArchiveRetrievalLsItemNewBucket) Reset ¶ added in v2.6.0
func (x *ArchiveRetrievalLsItemNewBucket) Reset()
func (*ArchiveRetrievalLsItemNewBucket) String ¶ added in v2.6.0
func (x *ArchiveRetrievalLsItemNewBucket) String() string
type ArchiveRetrievalLsItem_NewBucket ¶ added in v2.6.0
type ArchiveRetrievalLsItem_NewBucket struct {
NewBucket *ArchiveRetrievalLsItemNewBucket `protobuf:"bytes,6,opt,name=new_bucket,json=newBucket,proto3,oneof"`
}
type ArchiveRetrievalLsRequest ¶ added in v2.6.0
type ArchiveRetrievalLsRequest struct {
// contains filtered or unexported fields
}
func (*ArchiveRetrievalLsRequest) Descriptor
deprecated
added in
v2.6.0
func (*ArchiveRetrievalLsRequest) Descriptor() ([]byte, []int)
Deprecated: Use ArchiveRetrievalLsRequest.ProtoReflect.Descriptor instead.
func (*ArchiveRetrievalLsRequest) ProtoMessage ¶ added in v2.6.0
func (*ArchiveRetrievalLsRequest) ProtoMessage()
func (*ArchiveRetrievalLsRequest) ProtoReflect ¶ added in v2.6.0
func (x *ArchiveRetrievalLsRequest) ProtoReflect() protoreflect.Message
func (*ArchiveRetrievalLsRequest) Reset ¶ added in v2.6.0
func (x *ArchiveRetrievalLsRequest) Reset()
func (*ArchiveRetrievalLsRequest) String ¶ added in v2.6.0
func (x *ArchiveRetrievalLsRequest) String() string
type ArchiveRetrievalLsResponse ¶ added in v2.6.0
type ArchiveRetrievalLsResponse struct { Retrievals []*ArchiveRetrievalLsItem `protobuf:"bytes,1,rep,name=retrievals,proto3" json:"retrievals,omitempty"` // contains filtered or unexported fields }
func (*ArchiveRetrievalLsResponse) Descriptor
deprecated
added in
v2.6.0
func (*ArchiveRetrievalLsResponse) Descriptor() ([]byte, []int)
Deprecated: Use ArchiveRetrievalLsResponse.ProtoReflect.Descriptor instead.
func (*ArchiveRetrievalLsResponse) GetRetrievals ¶ added in v2.6.0
func (x *ArchiveRetrievalLsResponse) GetRetrievals() []*ArchiveRetrievalLsItem
func (*ArchiveRetrievalLsResponse) ProtoMessage ¶ added in v2.6.0
func (*ArchiveRetrievalLsResponse) ProtoMessage()
func (*ArchiveRetrievalLsResponse) ProtoReflect ¶ added in v2.6.0
func (x *ArchiveRetrievalLsResponse) ProtoReflect() protoreflect.Message
func (*ArchiveRetrievalLsResponse) Reset ¶ added in v2.6.0
func (x *ArchiveRetrievalLsResponse) Reset()
func (*ArchiveRetrievalLsResponse) String ¶ added in v2.6.0
func (x *ArchiveRetrievalLsResponse) String() string
type ArchiveRetrievalStatus ¶ added in v2.6.0
type ArchiveRetrievalStatus int32
const ( ArchiveRetrievalStatus_ARCHIVE_RETRIEVAL_STATUS_UNSPECIFIED ArchiveRetrievalStatus = 0 ArchiveRetrievalStatus_ARCHIVE_RETRIEVAL_STATUS_QUEUED ArchiveRetrievalStatus = 1 ArchiveRetrievalStatus_ARCHIVE_RETRIEVAL_STATUS_EXECUTING ArchiveRetrievalStatus = 2 ArchiveRetrievalStatus_ARCHIVE_RETRIEVAL_STATUS_MOVETOBUCKET ArchiveRetrievalStatus = 3 ArchiveRetrievalStatus_ARCHIVE_RETRIEVAL_STATUS_FAILED ArchiveRetrievalStatus = 4 ArchiveRetrievalStatus_ARCHIVE_RETRIEVAL_STATUS_CANCELED ArchiveRetrievalStatus = 5 ArchiveRetrievalStatus_ARCHIVE_RETRIEVAL_STATUS_SUCCESS ArchiveRetrievalStatus = 6 )
func (ArchiveRetrievalStatus) Descriptor ¶ added in v2.6.0
func (ArchiveRetrievalStatus) Descriptor() protoreflect.EnumDescriptor
func (ArchiveRetrievalStatus) Enum ¶ added in v2.6.0
func (x ArchiveRetrievalStatus) Enum() *ArchiveRetrievalStatus
func (ArchiveRetrievalStatus) EnumDescriptor
deprecated
added in
v2.6.0
func (ArchiveRetrievalStatus) EnumDescriptor() ([]byte, []int)
Deprecated: Use ArchiveRetrievalStatus.Descriptor instead.
func (ArchiveRetrievalStatus) Number ¶ added in v2.6.0
func (x ArchiveRetrievalStatus) Number() protoreflect.EnumNumber
func (ArchiveRetrievalStatus) String ¶ added in v2.6.0
func (x ArchiveRetrievalStatus) String() string
func (ArchiveRetrievalStatus) Type ¶ added in v2.6.0
func (ArchiveRetrievalStatus) Type() protoreflect.EnumType
type ArchivesImportRequest ¶ added in v2.6.0
type ArchivesImportRequest struct { Cid string `protobuf:"bytes,1,opt,name=cid,proto3" json:"cid,omitempty"` DealIds []uint64 `protobuf:"varint,2,rep,packed,name=deal_ids,json=dealIds,proto3" json:"deal_ids,omitempty"` // contains filtered or unexported fields }
func (*ArchivesImportRequest) Descriptor
deprecated
added in
v2.6.0
func (*ArchivesImportRequest) Descriptor() ([]byte, []int)
Deprecated: Use ArchivesImportRequest.ProtoReflect.Descriptor instead.
func (*ArchivesImportRequest) GetCid ¶ added in v2.6.0
func (x *ArchivesImportRequest) GetCid() string
func (*ArchivesImportRequest) GetDealIds ¶ added in v2.6.0
func (x *ArchivesImportRequest) GetDealIds() []uint64
func (*ArchivesImportRequest) ProtoMessage ¶ added in v2.6.0
func (*ArchivesImportRequest) ProtoMessage()
func (*ArchivesImportRequest) ProtoReflect ¶ added in v2.6.0
func (x *ArchivesImportRequest) ProtoReflect() protoreflect.Message
func (*ArchivesImportRequest) Reset ¶ added in v2.6.0
func (x *ArchivesImportRequest) Reset()
func (*ArchivesImportRequest) String ¶ added in v2.6.0
func (x *ArchivesImportRequest) String() string
type ArchivesImportResponse ¶ added in v2.6.0
type ArchivesImportResponse struct {
// contains filtered or unexported fields
}
func (*ArchivesImportResponse) Descriptor
deprecated
added in
v2.6.0
func (*ArchivesImportResponse) Descriptor() ([]byte, []int)
Deprecated: Use ArchivesImportResponse.ProtoReflect.Descriptor instead.
func (*ArchivesImportResponse) ProtoMessage ¶ added in v2.6.0
func (*ArchivesImportResponse) ProtoMessage()
func (*ArchivesImportResponse) ProtoReflect ¶ added in v2.6.0
func (x *ArchivesImportResponse) ProtoReflect() protoreflect.Message
func (*ArchivesImportResponse) Reset ¶ added in v2.6.0
func (x *ArchivesImportResponse) Reset()
func (*ArchivesImportResponse) String ¶ added in v2.6.0
func (x *ArchivesImportResponse) String() string
type ArchivesLsRequest ¶ added in v2.6.0
type ArchivesLsRequest struct {
// contains filtered or unexported fields
}
func (*ArchivesLsRequest) Descriptor
deprecated
added in
v2.6.0
func (*ArchivesLsRequest) Descriptor() ([]byte, []int)
Deprecated: Use ArchivesLsRequest.ProtoReflect.Descriptor instead.
func (*ArchivesLsRequest) ProtoMessage ¶ added in v2.6.0
func (*ArchivesLsRequest) ProtoMessage()
func (*ArchivesLsRequest) ProtoReflect ¶ added in v2.6.0
func (x *ArchivesLsRequest) ProtoReflect() protoreflect.Message
func (*ArchivesLsRequest) Reset ¶ added in v2.6.0
func (x *ArchivesLsRequest) Reset()
func (*ArchivesLsRequest) String ¶ added in v2.6.0
func (x *ArchivesLsRequest) String() string
type ArchivesLsResponse ¶ added in v2.6.0
type ArchivesLsResponse struct { Archives []*ArchiveLsItem `protobuf:"bytes,1,rep,name=archives,proto3" json:"archives,omitempty"` // contains filtered or unexported fields }
func (*ArchivesLsResponse) Descriptor
deprecated
added in
v2.6.0
func (*ArchivesLsResponse) Descriptor() ([]byte, []int)
Deprecated: Use ArchivesLsResponse.ProtoReflect.Descriptor instead.
func (*ArchivesLsResponse) GetArchives ¶ added in v2.6.0
func (x *ArchivesLsResponse) GetArchives() []*ArchiveLsItem
func (*ArchivesLsResponse) ProtoMessage ¶ added in v2.6.0
func (*ArchivesLsResponse) ProtoMessage()
func (*ArchivesLsResponse) ProtoReflect ¶ added in v2.6.0
func (x *ArchivesLsResponse) ProtoReflect() protoreflect.Message
func (*ArchivesLsResponse) Reset ¶ added in v2.6.0
func (x *ArchivesLsResponse) Reset()
func (*ArchivesLsResponse) String ¶ added in v2.6.0
func (x *ArchivesLsResponse) String() string
type DeleteInboxMessageRequest ¶
type DeleteInboxMessageRequest struct { Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"` // contains filtered or unexported fields }
func (*DeleteInboxMessageRequest) Descriptor
deprecated
func (*DeleteInboxMessageRequest) Descriptor() ([]byte, []int)
Deprecated: Use DeleteInboxMessageRequest.ProtoReflect.Descriptor instead.
func (*DeleteInboxMessageRequest) GetId ¶
func (x *DeleteInboxMessageRequest) GetId() string
func (*DeleteInboxMessageRequest) ProtoMessage ¶
func (*DeleteInboxMessageRequest) ProtoMessage()
func (*DeleteInboxMessageRequest) ProtoReflect ¶ added in v2.2.0
func (x *DeleteInboxMessageRequest) ProtoReflect() protoreflect.Message
func (*DeleteInboxMessageRequest) Reset ¶
func (x *DeleteInboxMessageRequest) Reset()
func (*DeleteInboxMessageRequest) String ¶
func (x *DeleteInboxMessageRequest) String() string
type DeleteInboxMessageResponse ¶
type DeleteInboxMessageResponse struct {
// contains filtered or unexported fields
}
func (*DeleteInboxMessageResponse) Descriptor
deprecated
func (*DeleteInboxMessageResponse) Descriptor() ([]byte, []int)
Deprecated: Use DeleteInboxMessageResponse.ProtoReflect.Descriptor instead.
func (*DeleteInboxMessageResponse) ProtoMessage ¶
func (*DeleteInboxMessageResponse) ProtoMessage()
func (*DeleteInboxMessageResponse) ProtoReflect ¶ added in v2.2.0
func (x *DeleteInboxMessageResponse) ProtoReflect() protoreflect.Message
func (*DeleteInboxMessageResponse) Reset ¶
func (x *DeleteInboxMessageResponse) Reset()
func (*DeleteInboxMessageResponse) String ¶
func (x *DeleteInboxMessageResponse) String() string
type DeleteSentboxMessageRequest ¶
type DeleteSentboxMessageRequest struct { Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"` // contains filtered or unexported fields }
func (*DeleteSentboxMessageRequest) Descriptor
deprecated
func (*DeleteSentboxMessageRequest) Descriptor() ([]byte, []int)
Deprecated: Use DeleteSentboxMessageRequest.ProtoReflect.Descriptor instead.
func (*DeleteSentboxMessageRequest) GetId ¶
func (x *DeleteSentboxMessageRequest) GetId() string
func (*DeleteSentboxMessageRequest) ProtoMessage ¶
func (*DeleteSentboxMessageRequest) ProtoMessage()
func (*DeleteSentboxMessageRequest) ProtoReflect ¶ added in v2.2.0
func (x *DeleteSentboxMessageRequest) ProtoReflect() protoreflect.Message
func (*DeleteSentboxMessageRequest) Reset ¶
func (x *DeleteSentboxMessageRequest) Reset()
func (*DeleteSentboxMessageRequest) String ¶
func (x *DeleteSentboxMessageRequest) String() string
type DeleteSentboxMessageResponse ¶
type DeleteSentboxMessageResponse struct {
// contains filtered or unexported fields
}
func (*DeleteSentboxMessageResponse) Descriptor
deprecated
func (*DeleteSentboxMessageResponse) Descriptor() ([]byte, []int)
Deprecated: Use DeleteSentboxMessageResponse.ProtoReflect.Descriptor instead.
func (*DeleteSentboxMessageResponse) ProtoMessage ¶
func (*DeleteSentboxMessageResponse) ProtoMessage()
func (*DeleteSentboxMessageResponse) ProtoReflect ¶ added in v2.2.0
func (x *DeleteSentboxMessageResponse) ProtoReflect() protoreflect.Message
func (*DeleteSentboxMessageResponse) Reset ¶
func (x *DeleteSentboxMessageResponse) Reset()
func (*DeleteSentboxMessageResponse) String ¶
func (x *DeleteSentboxMessageResponse) String() string
type GetThreadRequest ¶
type GetThreadRequest struct { Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` // contains filtered or unexported fields }
func (*GetThreadRequest) Descriptor
deprecated
func (*GetThreadRequest) Descriptor() ([]byte, []int)
Deprecated: Use GetThreadRequest.ProtoReflect.Descriptor instead.
func (*GetThreadRequest) GetName ¶
func (x *GetThreadRequest) GetName() string
func (*GetThreadRequest) ProtoMessage ¶
func (*GetThreadRequest) ProtoMessage()
func (*GetThreadRequest) ProtoReflect ¶ added in v2.2.0
func (x *GetThreadRequest) ProtoReflect() protoreflect.Message
func (*GetThreadRequest) Reset ¶
func (x *GetThreadRequest) Reset()
func (*GetThreadRequest) String ¶
func (x *GetThreadRequest) String() string
type GetThreadResponse ¶
type GetThreadResponse struct { Id []byte `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"` Name string `protobuf:"bytes,2,opt,name=name,proto3" json:"name,omitempty"` IsDb bool `protobuf:"varint,3,opt,name=is_db,json=isDb,proto3" json:"is_db,omitempty"` // contains filtered or unexported fields }
func (*GetThreadResponse) Descriptor
deprecated
func (*GetThreadResponse) Descriptor() ([]byte, []int)
Deprecated: Use GetThreadResponse.ProtoReflect.Descriptor instead.
func (*GetThreadResponse) GetId ¶
func (x *GetThreadResponse) GetId() []byte
func (*GetThreadResponse) GetIsDb ¶
func (x *GetThreadResponse) GetIsDb() bool
func (*GetThreadResponse) GetName ¶
func (x *GetThreadResponse) GetName() string
func (*GetThreadResponse) ProtoMessage ¶
func (*GetThreadResponse) ProtoMessage()
func (*GetThreadResponse) ProtoReflect ¶ added in v2.2.0
func (x *GetThreadResponse) ProtoReflect() protoreflect.Message
func (*GetThreadResponse) Reset ¶
func (x *GetThreadResponse) Reset()
func (*GetThreadResponse) String ¶
func (x *GetThreadResponse) String() string
type GetUsageRequest ¶
type GetUsageRequest struct { Key string `protobuf:"bytes,1,opt,name=key,proto3" json:"key,omitempty"` // contains filtered or unexported fields }
func (*GetUsageRequest) Descriptor
deprecated
func (*GetUsageRequest) Descriptor() ([]byte, []int)
Deprecated: Use GetUsageRequest.ProtoReflect.Descriptor instead.
func (*GetUsageRequest) GetKey ¶
func (x *GetUsageRequest) GetKey() string
func (*GetUsageRequest) ProtoMessage ¶
func (*GetUsageRequest) ProtoMessage()
func (*GetUsageRequest) ProtoReflect ¶ added in v2.2.0
func (x *GetUsageRequest) ProtoReflect() protoreflect.Message
func (*GetUsageRequest) Reset ¶
func (x *GetUsageRequest) Reset()
func (*GetUsageRequest) String ¶
func (x *GetUsageRequest) String() string
type GetUsageResponse ¶
type GetUsageResponse struct { Customer *pb.GetCustomerResponse `protobuf:"bytes,1,opt,name=customer,proto3" json:"customer,omitempty"` Usage *pb.GetCustomerUsageResponse `protobuf:"bytes,2,opt,name=usage,proto3" json:"usage,omitempty"` // contains filtered or unexported fields }
func (*GetUsageResponse) Descriptor
deprecated
func (*GetUsageResponse) Descriptor() ([]byte, []int)
Deprecated: Use GetUsageResponse.ProtoReflect.Descriptor instead.
func (*GetUsageResponse) GetCustomer ¶ added in v2.1.5
func (x *GetUsageResponse) GetCustomer() *pb.GetCustomerResponse
func (*GetUsageResponse) GetUsage ¶
func (x *GetUsageResponse) GetUsage() *pb.GetCustomerUsageResponse
func (*GetUsageResponse) ProtoMessage ¶
func (*GetUsageResponse) ProtoMessage()
func (*GetUsageResponse) ProtoReflect ¶ added in v2.2.0
func (x *GetUsageResponse) ProtoReflect() protoreflect.Message
func (*GetUsageResponse) Reset ¶
func (x *GetUsageResponse) Reset()
func (*GetUsageResponse) String ¶
func (x *GetUsageResponse) String() string
type ListInboxMessagesRequest ¶
type ListInboxMessagesRequest struct { Seek string `protobuf:"bytes,1,opt,name=seek,proto3" json:"seek,omitempty"` Limit int64 `protobuf:"varint,2,opt,name=limit,proto3" json:"limit,omitempty"` Ascending bool `protobuf:"varint,3,opt,name=ascending,proto3" json:"ascending,omitempty"` Status ListInboxMessagesRequest_Status `protobuf:"varint,4,opt,name=status,proto3,enum=api.usersd.pb.ListInboxMessagesRequest_Status" json:"status,omitempty"` // contains filtered or unexported fields }
func (*ListInboxMessagesRequest) Descriptor
deprecated
func (*ListInboxMessagesRequest) Descriptor() ([]byte, []int)
Deprecated: Use ListInboxMessagesRequest.ProtoReflect.Descriptor instead.
func (*ListInboxMessagesRequest) GetAscending ¶
func (x *ListInboxMessagesRequest) GetAscending() bool
func (*ListInboxMessagesRequest) GetLimit ¶
func (x *ListInboxMessagesRequest) GetLimit() int64
func (*ListInboxMessagesRequest) GetSeek ¶
func (x *ListInboxMessagesRequest) GetSeek() string
func (*ListInboxMessagesRequest) GetStatus ¶
func (x *ListInboxMessagesRequest) GetStatus() ListInboxMessagesRequest_Status
func (*ListInboxMessagesRequest) ProtoMessage ¶
func (*ListInboxMessagesRequest) ProtoMessage()
func (*ListInboxMessagesRequest) ProtoReflect ¶ added in v2.2.0
func (x *ListInboxMessagesRequest) ProtoReflect() protoreflect.Message
func (*ListInboxMessagesRequest) Reset ¶
func (x *ListInboxMessagesRequest) Reset()
func (*ListInboxMessagesRequest) String ¶
func (x *ListInboxMessagesRequest) String() string
type ListInboxMessagesRequest_Status ¶
type ListInboxMessagesRequest_Status int32
const ( ListInboxMessagesRequest_STATUS_UNSPECIFIED ListInboxMessagesRequest_Status = 0 ListInboxMessagesRequest_STATUS_ALL ListInboxMessagesRequest_Status = 1 ListInboxMessagesRequest_STATUS_READ ListInboxMessagesRequest_Status = 2 ListInboxMessagesRequest_STATUS_UNREAD ListInboxMessagesRequest_Status = 3 )
func (ListInboxMessagesRequest_Status) Descriptor ¶ added in v2.2.0
func (ListInboxMessagesRequest_Status) Descriptor() protoreflect.EnumDescriptor
func (ListInboxMessagesRequest_Status) Enum ¶ added in v2.2.0
func (x ListInboxMessagesRequest_Status) Enum() *ListInboxMessagesRequest_Status
func (ListInboxMessagesRequest_Status) EnumDescriptor
deprecated
func (ListInboxMessagesRequest_Status) EnumDescriptor() ([]byte, []int)
Deprecated: Use ListInboxMessagesRequest_Status.Descriptor instead.
func (ListInboxMessagesRequest_Status) Number ¶ added in v2.2.0
func (x ListInboxMessagesRequest_Status) Number() protoreflect.EnumNumber
func (ListInboxMessagesRequest_Status) String ¶
func (x ListInboxMessagesRequest_Status) String() string
func (ListInboxMessagesRequest_Status) Type ¶ added in v2.2.0
func (ListInboxMessagesRequest_Status) Type() protoreflect.EnumType
type ListInboxMessagesResponse ¶
type ListInboxMessagesResponse struct { Messages []*Message `protobuf:"bytes,1,rep,name=messages,proto3" json:"messages,omitempty"` // contains filtered or unexported fields }
func (*ListInboxMessagesResponse) Descriptor
deprecated
func (*ListInboxMessagesResponse) Descriptor() ([]byte, []int)
Deprecated: Use ListInboxMessagesResponse.ProtoReflect.Descriptor instead.
func (*ListInboxMessagesResponse) GetMessages ¶
func (x *ListInboxMessagesResponse) GetMessages() []*Message
func (*ListInboxMessagesResponse) ProtoMessage ¶
func (*ListInboxMessagesResponse) ProtoMessage()
func (*ListInboxMessagesResponse) ProtoReflect ¶ added in v2.2.0
func (x *ListInboxMessagesResponse) ProtoReflect() protoreflect.Message
func (*ListInboxMessagesResponse) Reset ¶
func (x *ListInboxMessagesResponse) Reset()
func (*ListInboxMessagesResponse) String ¶
func (x *ListInboxMessagesResponse) String() string
type ListSentboxMessagesRequest ¶
type ListSentboxMessagesRequest struct { Seek string `protobuf:"bytes,1,opt,name=seek,proto3" json:"seek,omitempty"` Limit int64 `protobuf:"varint,2,opt,name=limit,proto3" json:"limit,omitempty"` Ascending bool `protobuf:"varint,3,opt,name=ascending,proto3" json:"ascending,omitempty"` // contains filtered or unexported fields }
func (*ListSentboxMessagesRequest) Descriptor
deprecated
func (*ListSentboxMessagesRequest) Descriptor() ([]byte, []int)
Deprecated: Use ListSentboxMessagesRequest.ProtoReflect.Descriptor instead.
func (*ListSentboxMessagesRequest) GetAscending ¶
func (x *ListSentboxMessagesRequest) GetAscending() bool
func (*ListSentboxMessagesRequest) GetLimit ¶
func (x *ListSentboxMessagesRequest) GetLimit() int64
func (*ListSentboxMessagesRequest) GetSeek ¶
func (x *ListSentboxMessagesRequest) GetSeek() string
func (*ListSentboxMessagesRequest) ProtoMessage ¶
func (*ListSentboxMessagesRequest) ProtoMessage()
func (*ListSentboxMessagesRequest) ProtoReflect ¶ added in v2.2.0
func (x *ListSentboxMessagesRequest) ProtoReflect() protoreflect.Message
func (*ListSentboxMessagesRequest) Reset ¶
func (x *ListSentboxMessagesRequest) Reset()
func (*ListSentboxMessagesRequest) String ¶
func (x *ListSentboxMessagesRequest) String() string
type ListSentboxMessagesResponse ¶
type ListSentboxMessagesResponse struct { Messages []*Message `protobuf:"bytes,1,rep,name=messages,proto3" json:"messages,omitempty"` // contains filtered or unexported fields }
func (*ListSentboxMessagesResponse) Descriptor
deprecated
func (*ListSentboxMessagesResponse) Descriptor() ([]byte, []int)
Deprecated: Use ListSentboxMessagesResponse.ProtoReflect.Descriptor instead.
func (*ListSentboxMessagesResponse) GetMessages ¶
func (x *ListSentboxMessagesResponse) GetMessages() []*Message
func (*ListSentboxMessagesResponse) ProtoMessage ¶
func (*ListSentboxMessagesResponse) ProtoMessage()
func (*ListSentboxMessagesResponse) ProtoReflect ¶ added in v2.2.0
func (x *ListSentboxMessagesResponse) ProtoReflect() protoreflect.Message
func (*ListSentboxMessagesResponse) Reset ¶
func (x *ListSentboxMessagesResponse) Reset()
func (*ListSentboxMessagesResponse) String ¶
func (x *ListSentboxMessagesResponse) String() string
type ListThreadsRequest ¶
type ListThreadsRequest struct {
// contains filtered or unexported fields
}
func (*ListThreadsRequest) Descriptor
deprecated
func (*ListThreadsRequest) Descriptor() ([]byte, []int)
Deprecated: Use ListThreadsRequest.ProtoReflect.Descriptor instead.
func (*ListThreadsRequest) ProtoMessage ¶
func (*ListThreadsRequest) ProtoMessage()
func (*ListThreadsRequest) ProtoReflect ¶ added in v2.2.0
func (x *ListThreadsRequest) ProtoReflect() protoreflect.Message
func (*ListThreadsRequest) Reset ¶
func (x *ListThreadsRequest) Reset()
func (*ListThreadsRequest) String ¶
func (x *ListThreadsRequest) String() string
type ListThreadsResponse ¶
type ListThreadsResponse struct { List []*GetThreadResponse `protobuf:"bytes,1,rep,name=list,proto3" json:"list,omitempty"` // contains filtered or unexported fields }
func (*ListThreadsResponse) Descriptor
deprecated
func (*ListThreadsResponse) Descriptor() ([]byte, []int)
Deprecated: Use ListThreadsResponse.ProtoReflect.Descriptor instead.
func (*ListThreadsResponse) GetList ¶
func (x *ListThreadsResponse) GetList() []*GetThreadResponse
func (*ListThreadsResponse) ProtoMessage ¶
func (*ListThreadsResponse) ProtoMessage()
func (*ListThreadsResponse) ProtoReflect ¶ added in v2.2.0
func (x *ListThreadsResponse) ProtoReflect() protoreflect.Message
func (*ListThreadsResponse) Reset ¶
func (x *ListThreadsResponse) Reset()
func (*ListThreadsResponse) String ¶
func (x *ListThreadsResponse) String() string
type Message ¶
type Message struct { Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"` From string `protobuf:"bytes,2,opt,name=from,proto3" json:"from,omitempty"` To string `protobuf:"bytes,3,opt,name=to,proto3" json:"to,omitempty"` Body []byte `protobuf:"bytes,4,opt,name=body,proto3" json:"body,omitempty"` Signature []byte `protobuf:"bytes,5,opt,name=signature,proto3" json:"signature,omitempty"` CreatedAt int64 `protobuf:"varint,6,opt,name=created_at,json=createdAt,proto3" json:"created_at,omitempty"` ReadAt int64 `protobuf:"varint,7,opt,name=read_at,json=readAt,proto3" json:"read_at,omitempty"` // contains filtered or unexported fields }
func (*Message) Descriptor
deprecated
func (*Message) GetCreatedAt ¶
func (*Message) GetSignature ¶
func (*Message) ProtoMessage ¶
func (*Message) ProtoMessage()
func (*Message) ProtoReflect ¶ added in v2.2.0
func (x *Message) ProtoReflect() protoreflect.Message
type ReadInboxMessageRequest ¶
type ReadInboxMessageRequest struct { Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"` // contains filtered or unexported fields }
func (*ReadInboxMessageRequest) Descriptor
deprecated
func (*ReadInboxMessageRequest) Descriptor() ([]byte, []int)
Deprecated: Use ReadInboxMessageRequest.ProtoReflect.Descriptor instead.
func (*ReadInboxMessageRequest) GetId ¶
func (x *ReadInboxMessageRequest) GetId() string
func (*ReadInboxMessageRequest) ProtoMessage ¶
func (*ReadInboxMessageRequest) ProtoMessage()
func (*ReadInboxMessageRequest) ProtoReflect ¶ added in v2.2.0
func (x *ReadInboxMessageRequest) ProtoReflect() protoreflect.Message
func (*ReadInboxMessageRequest) Reset ¶
func (x *ReadInboxMessageRequest) Reset()
func (*ReadInboxMessageRequest) String ¶
func (x *ReadInboxMessageRequest) String() string
type ReadInboxMessageResponse ¶
type ReadInboxMessageResponse struct { ReadAt int64 `protobuf:"varint,1,opt,name=read_at,json=readAt,proto3" json:"read_at,omitempty"` // contains filtered or unexported fields }
func (*ReadInboxMessageResponse) Descriptor
deprecated
func (*ReadInboxMessageResponse) Descriptor() ([]byte, []int)
Deprecated: Use ReadInboxMessageResponse.ProtoReflect.Descriptor instead.
func (*ReadInboxMessageResponse) GetReadAt ¶
func (x *ReadInboxMessageResponse) GetReadAt() int64
func (*ReadInboxMessageResponse) ProtoMessage ¶
func (*ReadInboxMessageResponse) ProtoMessage()
func (*ReadInboxMessageResponse) ProtoReflect ¶ added in v2.2.0
func (x *ReadInboxMessageResponse) ProtoReflect() protoreflect.Message
func (*ReadInboxMessageResponse) Reset ¶
func (x *ReadInboxMessageResponse) Reset()
func (*ReadInboxMessageResponse) String ¶
func (x *ReadInboxMessageResponse) String() string
type SendMessageRequest ¶
type SendMessageRequest struct { To string `protobuf:"bytes,1,opt,name=to,proto3" json:"to,omitempty"` ToBody []byte `protobuf:"bytes,2,opt,name=to_body,json=toBody,proto3" json:"to_body,omitempty"` ToSignature []byte `protobuf:"bytes,3,opt,name=to_signature,json=toSignature,proto3" json:"to_signature,omitempty"` FromBody []byte `protobuf:"bytes,4,opt,name=from_body,json=fromBody,proto3" json:"from_body,omitempty"` FromSignature []byte `protobuf:"bytes,5,opt,name=from_signature,json=fromSignature,proto3" json:"from_signature,omitempty"` // contains filtered or unexported fields }
func (*SendMessageRequest) Descriptor
deprecated
func (*SendMessageRequest) Descriptor() ([]byte, []int)
Deprecated: Use SendMessageRequest.ProtoReflect.Descriptor instead.
func (*SendMessageRequest) GetFromBody ¶
func (x *SendMessageRequest) GetFromBody() []byte
func (*SendMessageRequest) GetFromSignature ¶
func (x *SendMessageRequest) GetFromSignature() []byte
func (*SendMessageRequest) GetTo ¶
func (x *SendMessageRequest) GetTo() string
func (*SendMessageRequest) GetToBody ¶
func (x *SendMessageRequest) GetToBody() []byte
func (*SendMessageRequest) GetToSignature ¶
func (x *SendMessageRequest) GetToSignature() []byte
func (*SendMessageRequest) ProtoMessage ¶
func (*SendMessageRequest) ProtoMessage()
func (*SendMessageRequest) ProtoReflect ¶ added in v2.2.0
func (x *SendMessageRequest) ProtoReflect() protoreflect.Message
func (*SendMessageRequest) Reset ¶
func (x *SendMessageRequest) Reset()
func (*SendMessageRequest) String ¶
func (x *SendMessageRequest) String() string
type SendMessageResponse ¶
type SendMessageResponse struct { Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"` CreatedAt int64 `protobuf:"varint,2,opt,name=created_at,json=createdAt,proto3" json:"created_at,omitempty"` // contains filtered or unexported fields }
func (*SendMessageResponse) Descriptor
deprecated
func (*SendMessageResponse) Descriptor() ([]byte, []int)
Deprecated: Use SendMessageResponse.ProtoReflect.Descriptor instead.
func (*SendMessageResponse) GetCreatedAt ¶
func (x *SendMessageResponse) GetCreatedAt() int64
func (*SendMessageResponse) GetId ¶
func (x *SendMessageResponse) GetId() string
func (*SendMessageResponse) ProtoMessage ¶
func (*SendMessageResponse) ProtoMessage()
func (*SendMessageResponse) ProtoReflect ¶ added in v2.2.0
func (x *SendMessageResponse) ProtoReflect() protoreflect.Message
func (*SendMessageResponse) Reset ¶
func (x *SendMessageResponse) Reset()
func (*SendMessageResponse) String ¶
func (x *SendMessageResponse) String() string
type SetupMailboxRequest ¶
type SetupMailboxRequest struct {
// contains filtered or unexported fields
}
func (*SetupMailboxRequest) Descriptor
deprecated
func (*SetupMailboxRequest) Descriptor() ([]byte, []int)
Deprecated: Use SetupMailboxRequest.ProtoReflect.Descriptor instead.
func (*SetupMailboxRequest) ProtoMessage ¶
func (*SetupMailboxRequest) ProtoMessage()
func (*SetupMailboxRequest) ProtoReflect ¶ added in v2.2.0
func (x *SetupMailboxRequest) ProtoReflect() protoreflect.Message
func (*SetupMailboxRequest) Reset ¶
func (x *SetupMailboxRequest) Reset()
func (*SetupMailboxRequest) String ¶
func (x *SetupMailboxRequest) String() string
type SetupMailboxResponse ¶
type SetupMailboxResponse struct { MailboxId []byte `protobuf:"bytes,1,opt,name=mailbox_id,json=mailboxId,proto3" json:"mailbox_id,omitempty"` // contains filtered or unexported fields }
func (*SetupMailboxResponse) Descriptor
deprecated
func (*SetupMailboxResponse) Descriptor() ([]byte, []int)
Deprecated: Use SetupMailboxResponse.ProtoReflect.Descriptor instead.
func (*SetupMailboxResponse) GetMailboxId ¶
func (x *SetupMailboxResponse) GetMailboxId() []byte
func (*SetupMailboxResponse) ProtoMessage ¶
func (*SetupMailboxResponse) ProtoMessage()
func (*SetupMailboxResponse) ProtoReflect ¶ added in v2.2.0
func (x *SetupMailboxResponse) ProtoReflect() protoreflect.Message
func (*SetupMailboxResponse) Reset ¶
func (x *SetupMailboxResponse) Reset()
func (*SetupMailboxResponse) String ¶
func (x *SetupMailboxResponse) String() string
type UnimplementedAPIServiceServer ¶
type UnimplementedAPIServiceServer struct { }
UnimplementedAPIServiceServer can be embedded to have forward compatible implementations.
func (*UnimplementedAPIServiceServer) ArchiveRetrievalLogs ¶ added in v2.6.0
func (*UnimplementedAPIServiceServer) ArchiveRetrievalLogs(*ArchiveRetrievalLogsRequest, APIService_ArchiveRetrievalLogsServer) error
func (*UnimplementedAPIServiceServer) ArchiveRetrievalLs ¶ added in v2.6.0
func (*UnimplementedAPIServiceServer) ArchiveRetrievalLs(context.Context, *ArchiveRetrievalLsRequest) (*ArchiveRetrievalLsResponse, error)
func (*UnimplementedAPIServiceServer) ArchivesImport ¶ added in v2.6.0
func (*UnimplementedAPIServiceServer) ArchivesImport(context.Context, *ArchivesImportRequest) (*ArchivesImportResponse, error)
func (*UnimplementedAPIServiceServer) ArchivesLs ¶ added in v2.6.0
func (*UnimplementedAPIServiceServer) ArchivesLs(context.Context, *ArchivesLsRequest) (*ArchivesLsResponse, error)
func (*UnimplementedAPIServiceServer) DeleteInboxMessage ¶
func (*UnimplementedAPIServiceServer) DeleteInboxMessage(context.Context, *DeleteInboxMessageRequest) (*DeleteInboxMessageResponse, error)
func (*UnimplementedAPIServiceServer) DeleteSentboxMessage ¶
func (*UnimplementedAPIServiceServer) DeleteSentboxMessage(context.Context, *DeleteSentboxMessageRequest) (*DeleteSentboxMessageResponse, error)
func (*UnimplementedAPIServiceServer) GetThread ¶
func (*UnimplementedAPIServiceServer) GetThread(context.Context, *GetThreadRequest) (*GetThreadResponse, error)
func (*UnimplementedAPIServiceServer) GetUsage ¶
func (*UnimplementedAPIServiceServer) GetUsage(context.Context, *GetUsageRequest) (*GetUsageResponse, error)
func (*UnimplementedAPIServiceServer) ListInboxMessages ¶
func (*UnimplementedAPIServiceServer) ListInboxMessages(context.Context, *ListInboxMessagesRequest) (*ListInboxMessagesResponse, error)
func (*UnimplementedAPIServiceServer) ListSentboxMessages ¶
func (*UnimplementedAPIServiceServer) ListSentboxMessages(context.Context, *ListSentboxMessagesRequest) (*ListSentboxMessagesResponse, error)
func (*UnimplementedAPIServiceServer) ListThreads ¶
func (*UnimplementedAPIServiceServer) ListThreads(context.Context, *ListThreadsRequest) (*ListThreadsResponse, error)
func (*UnimplementedAPIServiceServer) ReadInboxMessage ¶
func (*UnimplementedAPIServiceServer) ReadInboxMessage(context.Context, *ReadInboxMessageRequest) (*ReadInboxMessageResponse, error)
func (*UnimplementedAPIServiceServer) SendMessage ¶
func (*UnimplementedAPIServiceServer) SendMessage(context.Context, *SendMessageRequest) (*SendMessageResponse, error)
func (*UnimplementedAPIServiceServer) SetupMailbox ¶
func (*UnimplementedAPIServiceServer) SetupMailbox(context.Context, *SetupMailboxRequest) (*SetupMailboxResponse, error)