Documentation ¶
Index ¶
- Variables
- func RegisterSchedulerServer(s grpc.ServiceRegistrar, srv SchedulerServer)
- type ApproveVideoReq
- func (*ApproveVideoReq) Descriptor() ([]byte, []int)deprecated
- func (x *ApproveVideoReq) GetVideoID() string
- func (*ApproveVideoReq) ProtoMessage()
- func (x *ApproveVideoReq) ProtoReflect() protoreflect.Message
- func (x *ApproveVideoReq) Reset()
- func (x *ApproveVideoReq) String() string
- func (m *ApproveVideoReq) Validate() error
- func (m *ApproveVideoReq) ValidateAll() error
- type ApproveVideoReqMultiError
- type ApproveVideoReqValidationError
- func (e ApproveVideoReqValidationError) Cause() error
- func (e ApproveVideoReqValidationError) Error() string
- func (e ApproveVideoReqValidationError) ErrorName() string
- func (e ApproveVideoReqValidationError) Field() string
- func (e ApproveVideoReqValidationError) Key() bool
- func (e ApproveVideoReqValidationError) Reason() string
- type ArchivalEvent
- func (*ArchivalEvent) Descriptor() ([]byte, []int)deprecated
- func (x *ArchivalEvent) GetMessage() string
- func (x *ArchivalEvent) GetParentUrl() string
- func (x *ArchivalEvent) GetTimestamp() string
- func (x *ArchivalEvent) GetVideoUrl() string
- func (*ArchivalEvent) ProtoMessage()
- func (x *ArchivalEvent) ProtoReflect() protoreflect.Message
- func (x *ArchivalEvent) Reset()
- func (x *ArchivalEvent) String() string
- func (m *ArchivalEvent) Validate() error
- func (m *ArchivalEvent) ValidateAll() error
- type ArchivalEventMultiError
- type ArchivalEventValidationError
- func (e ArchivalEventValidationError) Cause() error
- func (e ArchivalEventValidationError) Error() string
- func (e ArchivalEventValidationError) ErrorName() string
- func (e ArchivalEventValidationError) Field() string
- func (e ArchivalEventValidationError) Key() bool
- func (e ArchivalEventValidationError) Reason() string
- type ContentArchivalEntry
- func (*ContentArchivalEntry) Descriptor() ([]byte, []int)deprecated
- func (x *ContentArchivalEntry) GetArchivedVideos() uint64
- func (x *ContentArchivalEntry) GetBackoffFactor() uint32
- func (x *ContentArchivalEntry) GetCurrentTotalVideos() uint64
- func (x *ContentArchivalEntry) GetDownloadID() uint64
- func (x *ContentArchivalEntry) GetLastSynced() string
- func (x *ContentArchivalEntry) GetUndownloadableVideos() uint64
- func (x *ContentArchivalEntry) GetUrl() string
- func (x *ContentArchivalEntry) GetUserID() int64
- func (*ContentArchivalEntry) ProtoMessage()
- func (x *ContentArchivalEntry) ProtoReflect() protoreflect.Message
- func (x *ContentArchivalEntry) Reset()
- func (x *ContentArchivalEntry) String() string
- func (m *ContentArchivalEntry) Validate() error
- func (m *ContentArchivalEntry) ValidateAll() error
- type ContentArchivalEntryMultiError
- type ContentArchivalEntryValidationError
- func (e ContentArchivalEntryValidationError) Cause() error
- func (e ContentArchivalEntryValidationError) Error() string
- func (e ContentArchivalEntryValidationError) ErrorName() string
- func (e ContentArchivalEntryValidationError) Field() string
- func (e ContentArchivalEntryValidationError) Key() bool
- func (e ContentArchivalEntryValidationError) Reason() string
- type DeletionRequest
- func (*DeletionRequest) Descriptor() ([]byte, []int)deprecated
- func (x *DeletionRequest) GetDownloadID() uint64
- func (x *DeletionRequest) GetUserID() uint64
- func (*DeletionRequest) ProtoMessage()
- func (x *DeletionRequest) ProtoReflect() protoreflect.Message
- func (x *DeletionRequest) Reset()
- func (x *DeletionRequest) String() string
- func (m *DeletionRequest) Validate() error
- func (m *DeletionRequest) ValidateAll() error
- type DeletionRequestMultiError
- type DeletionRequestValidationError
- func (e DeletionRequestValidationError) Cause() error
- func (e DeletionRequestValidationError) Error() string
- func (e DeletionRequestValidationError) ErrorName() string
- func (e DeletionRequestValidationError) Field() string
- func (e DeletionRequestValidationError) Key() bool
- func (e DeletionRequestValidationError) Reason() string
- type DownloadsInProgressRequest
- func (*DownloadsInProgressRequest) Descriptor() ([]byte, []int)deprecated
- func (*DownloadsInProgressRequest) ProtoMessage()
- func (x *DownloadsInProgressRequest) ProtoReflect() protoreflect.Message
- func (x *DownloadsInProgressRequest) Reset()
- func (x *DownloadsInProgressRequest) String() string
- func (m *DownloadsInProgressRequest) Validate() error
- func (m *DownloadsInProgressRequest) ValidateAll() error
- type DownloadsInProgressRequestMultiError
- type DownloadsInProgressRequestValidationError
- func (e DownloadsInProgressRequestValidationError) Cause() error
- func (e DownloadsInProgressRequestValidationError) Error() string
- func (e DownloadsInProgressRequestValidationError) ErrorName() string
- func (e DownloadsInProgressRequestValidationError) Field() string
- func (e DownloadsInProgressRequestValidationError) Key() bool
- func (e DownloadsInProgressRequestValidationError) Reason() string
- type DownloadsInProgressResponse
- func (*DownloadsInProgressResponse) Descriptor() ([]byte, []int)deprecated
- func (x *DownloadsInProgressResponse) GetVideos() []*Video
- func (*DownloadsInProgressResponse) ProtoMessage()
- func (x *DownloadsInProgressResponse) ProtoReflect() protoreflect.Message
- func (x *DownloadsInProgressResponse) Reset()
- func (x *DownloadsInProgressResponse) String() string
- func (m *DownloadsInProgressResponse) Validate() error
- func (m *DownloadsInProgressResponse) ValidateAll() error
- type DownloadsInProgressResponseMultiError
- type DownloadsInProgressResponseValidationError
- func (e DownloadsInProgressResponseValidationError) Cause() error
- func (e DownloadsInProgressResponseValidationError) Error() string
- func (e DownloadsInProgressResponseValidationError) ErrorName() string
- func (e DownloadsInProgressResponseValidationError) Field() string
- func (e DownloadsInProgressResponseValidationError) Key() bool
- func (e DownloadsInProgressResponseValidationError) Reason() string
- type Empty
- type EmptyMultiError
- type EmptyValidationError
- type InferenceEntry
- func (*InferenceEntry) Descriptor() ([]byte, []int)deprecated
- func (x *InferenceEntry) GetCategory() string
- func (x *InferenceEntry) GetTag() string
- func (*InferenceEntry) ProtoMessage()
- func (x *InferenceEntry) ProtoReflect() protoreflect.Message
- func (x *InferenceEntry) Reset()
- func (x *InferenceEntry) String() string
- func (m *InferenceEntry) Validate() error
- func (m *InferenceEntry) ValidateAll() error
- type InferenceEntryMultiError
- type InferenceEntryValidationError
- func (e InferenceEntryValidationError) Cause() error
- func (e InferenceEntryValidationError) Error() string
- func (e InferenceEntryValidationError) ErrorName() string
- func (e InferenceEntryValidationError) Field() string
- func (e InferenceEntryValidationError) Key() bool
- func (e InferenceEntryValidationError) Reason() string
- type InferenceList
- func (*InferenceList) Descriptor() ([]byte, []int)deprecated
- func (x *InferenceList) GetEntries() []*InferenceEntry
- func (*InferenceList) ProtoMessage()
- func (x *InferenceList) ProtoReflect() protoreflect.Message
- func (x *InferenceList) Reset()
- func (x *InferenceList) String() string
- func (m *InferenceList) Validate() error
- func (m *InferenceList) ValidateAll() error
- type InferenceListMultiError
- type InferenceListValidationError
- func (e InferenceListValidationError) Cause() error
- func (e InferenceListValidationError) Error() string
- func (e InferenceListValidationError) ErrorName() string
- func (e InferenceListValidationError) Field() string
- func (e InferenceListValidationError) Key() bool
- func (e InferenceListValidationError) Reason() string
- type ListArchivalEntriesRequest
- func (*ListArchivalEntriesRequest) Descriptor() ([]byte, []int)deprecated
- func (x *ListArchivalEntriesRequest) GetUserID() int64
- func (*ListArchivalEntriesRequest) ProtoMessage()
- func (x *ListArchivalEntriesRequest) ProtoReflect() protoreflect.Message
- func (x *ListArchivalEntriesRequest) Reset()
- func (x *ListArchivalEntriesRequest) String() string
- func (m *ListArchivalEntriesRequest) Validate() error
- func (m *ListArchivalEntriesRequest) ValidateAll() error
- type ListArchivalEntriesRequestMultiError
- type ListArchivalEntriesRequestValidationError
- func (e ListArchivalEntriesRequestValidationError) Cause() error
- func (e ListArchivalEntriesRequestValidationError) Error() string
- func (e ListArchivalEntriesRequestValidationError) ErrorName() string
- func (e ListArchivalEntriesRequestValidationError) Field() string
- func (e ListArchivalEntriesRequestValidationError) Key() bool
- func (e ListArchivalEntriesRequestValidationError) Reason() string
- type ListArchivalEntriesResponse
- func (*ListArchivalEntriesResponse) Descriptor() ([]byte, []int)deprecated
- func (x *ListArchivalEntriesResponse) GetEntries() []*ContentArchivalEntry
- func (*ListArchivalEntriesResponse) ProtoMessage()
- func (x *ListArchivalEntriesResponse) ProtoReflect() protoreflect.Message
- func (x *ListArchivalEntriesResponse) Reset()
- func (x *ListArchivalEntriesResponse) String() string
- func (m *ListArchivalEntriesResponse) Validate() error
- func (m *ListArchivalEntriesResponse) ValidateAll() error
- type ListArchivalEntriesResponseMultiError
- type ListArchivalEntriesResponseValidationError
- func (e ListArchivalEntriesResponseValidationError) Cause() error
- func (e ListArchivalEntriesResponseValidationError) Error() string
- func (e ListArchivalEntriesResponseValidationError) ErrorName() string
- func (e ListArchivalEntriesResponseValidationError) Field() string
- func (e ListArchivalEntriesResponseValidationError) Key() bool
- func (e ListArchivalEntriesResponseValidationError) Reason() string
- type ListArchivalEventsRequest
- func (*ListArchivalEventsRequest) Descriptor() ([]byte, []int)deprecated
- func (x *ListArchivalEventsRequest) GetDownloadID() int64
- func (x *ListArchivalEventsRequest) GetShowAll() bool
- func (*ListArchivalEventsRequest) ProtoMessage()
- func (x *ListArchivalEventsRequest) ProtoReflect() protoreflect.Message
- func (x *ListArchivalEventsRequest) Reset()
- func (x *ListArchivalEventsRequest) String() string
- func (m *ListArchivalEventsRequest) Validate() error
- func (m *ListArchivalEventsRequest) ValidateAll() error
- type ListArchivalEventsRequestMultiError
- type ListArchivalEventsRequestValidationError
- func (e ListArchivalEventsRequestValidationError) Cause() error
- func (e ListArchivalEventsRequestValidationError) Error() string
- func (e ListArchivalEventsRequestValidationError) ErrorName() string
- func (e ListArchivalEventsRequestValidationError) Field() string
- func (e ListArchivalEventsRequestValidationError) Key() bool
- func (e ListArchivalEventsRequestValidationError) Reason() string
- type ListArchivalEventsResponse
- func (*ListArchivalEventsResponse) Descriptor() ([]byte, []int)deprecated
- func (x *ListArchivalEventsResponse) GetEvents() []*ArchivalEvent
- func (*ListArchivalEventsResponse) ProtoMessage()
- func (x *ListArchivalEventsResponse) ProtoReflect() protoreflect.Message
- func (x *ListArchivalEventsResponse) Reset()
- func (x *ListArchivalEventsResponse) String() string
- func (m *ListArchivalEventsResponse) Validate() error
- func (m *ListArchivalEventsResponse) ValidateAll() error
- type ListArchivalEventsResponseMultiError
- type ListArchivalEventsResponseValidationError
- func (e ListArchivalEventsResponseValidationError) Cause() error
- func (e ListArchivalEventsResponseValidationError) Error() string
- func (e ListArchivalEventsResponseValidationError) ErrorName() string
- func (e ListArchivalEventsResponseValidationError) Field() string
- func (e ListArchivalEventsResponseValidationError) Key() bool
- func (e ListArchivalEventsResponseValidationError) Reason() string
- type RetryRequest
- func (*RetryRequest) Descriptor() ([]byte, []int)deprecated
- func (x *RetryRequest) GetDownloadID() uint64
- func (x *RetryRequest) GetUserID() uint64
- func (*RetryRequest) ProtoMessage()
- func (x *RetryRequest) ProtoReflect() protoreflect.Message
- func (x *RetryRequest) Reset()
- func (x *RetryRequest) String() string
- func (m *RetryRequest) Validate() error
- func (m *RetryRequest) ValidateAll() error
- type RetryRequestMultiError
- type RetryRequestValidationError
- func (e RetryRequestValidationError) Cause() error
- func (e RetryRequestValidationError) Error() string
- func (e RetryRequestValidationError) ErrorName() string
- func (e RetryRequestValidationError) Field() string
- func (e RetryRequestValidationError) Key() bool
- func (e RetryRequestValidationError) Reason() string
- type SchedulerClient
- type SchedulerServer
- type URLRequest
- func (*URLRequest) Descriptor() ([]byte, []int)deprecated
- func (x *URLRequest) GetUrl() string
- func (x *URLRequest) GetUserID() int64
- func (*URLRequest) ProtoMessage()
- func (x *URLRequest) ProtoReflect() protoreflect.Message
- func (x *URLRequest) Reset()
- func (x *URLRequest) String() string
- func (m *URLRequest) Validate() error
- func (m *URLRequest) ValidateAll() error
- type URLRequestMultiError
- type URLRequestValidationError
- type UnapprovedList
- func (*UnapprovedList) Descriptor() ([]byte, []int)deprecated
- func (x *UnapprovedList) GetUnapprovedVideos() []*UnapprovedVideo
- func (*UnapprovedList) ProtoMessage()
- func (x *UnapprovedList) ProtoReflect() protoreflect.Message
- func (x *UnapprovedList) Reset()
- func (x *UnapprovedList) String() string
- func (m *UnapprovedList) Validate() error
- func (m *UnapprovedList) ValidateAll() error
- type UnapprovedListMultiError
- type UnapprovedListValidationError
- func (e UnapprovedListValidationError) Cause() error
- func (e UnapprovedListValidationError) Error() string
- func (e UnapprovedListValidationError) ErrorName() string
- func (e UnapprovedListValidationError) Field() string
- func (e UnapprovedListValidationError) Key() bool
- func (e UnapprovedListValidationError) Reason() string
- type UnapprovedVideo
- func (*UnapprovedVideo) Descriptor() ([]byte, []int)deprecated
- func (x *UnapprovedVideo) GetCategory() string
- func (x *UnapprovedVideo) GetUrl() string
- func (x *UnapprovedVideo) GetVideoID() string
- func (*UnapprovedVideo) ProtoMessage()
- func (x *UnapprovedVideo) ProtoReflect() protoreflect.Message
- func (x *UnapprovedVideo) Reset()
- func (x *UnapprovedVideo) String() string
- func (m *UnapprovedVideo) Validate() error
- func (m *UnapprovedVideo) ValidateAll() error
- type UnapprovedVideoMultiError
- type UnapprovedVideoValidationError
- func (e UnapprovedVideoValidationError) Cause() error
- func (e UnapprovedVideoValidationError) Error() string
- func (e UnapprovedVideoValidationError) ErrorName() string
- func (e UnapprovedVideoValidationError) Field() string
- func (e UnapprovedVideoValidationError) Key() bool
- func (e UnapprovedVideoValidationError) Reason() string
- type UnimplementedSchedulerServer
- func (UnimplementedSchedulerServer) AddInferenceCategory(context.Context, *InferenceEntry) (*Empty, error)
- func (UnimplementedSchedulerServer) ApproveVideo(context.Context, *ApproveVideoReq) (*Empty, error)
- func (UnimplementedSchedulerServer) DeleteArchivalRequest(context.Context, *DeletionRequest) (*Empty, error)
- func (UnimplementedSchedulerServer) DlURL(context.Context, *URLRequest) (*Empty, error)
- func (UnimplementedSchedulerServer) GetDownloadsInProgress(context.Context, *DownloadsInProgressRequest) (*DownloadsInProgressResponse, error)
- func (UnimplementedSchedulerServer) GetInferenceCategories(context.Context, *Empty) (*InferenceList, error)
- func (UnimplementedSchedulerServer) GetUnapprovedVideoList(context.Context, *Empty) (*UnapprovedList, error)
- func (UnimplementedSchedulerServer) ListArchivalEntries(context.Context, *ListArchivalEntriesRequest) (*ListArchivalEntriesResponse, error)
- func (UnimplementedSchedulerServer) ListArchivalEvents(context.Context, *ListArchivalEventsRequest) (*ListArchivalEventsResponse, error)
- func (UnimplementedSchedulerServer) RetryArchivalRequestDownloadss(context.Context, *RetryRequest) (*Empty, error)
- func (UnimplementedSchedulerServer) UnapproveVideo(context.Context, *ApproveVideoReq) (*Empty, error)
- type UnsafeSchedulerServer
- type Video
- func (*Video) Descriptor() ([]byte, []int)deprecated
- func (x *Video) GetDlStatus() VideoDownloadStatus
- func (x *Video) GetVideoID() string
- func (x *Video) GetWebsite() string
- func (*Video) ProtoMessage()
- func (x *Video) ProtoReflect() protoreflect.Message
- func (x *Video) Reset()
- func (x *Video) String() string
- func (m *Video) Validate() error
- func (m *Video) ValidateAll() error
- type VideoDownloadStatus
- func (VideoDownloadStatus) Descriptor() protoreflect.EnumDescriptor
- func (x VideoDownloadStatus) Enum() *VideoDownloadStatus
- func (VideoDownloadStatus) EnumDescriptor() ([]byte, []int)deprecated
- func (x VideoDownloadStatus) Number() protoreflect.EnumNumber
- func (x VideoDownloadStatus) String() string
- func (VideoDownloadStatus) Type() protoreflect.EnumType
- type VideoMultiError
- type VideoValidationError
Constants ¶
This section is empty.
Variables ¶
var ( VideoDownloadStatus_name = map[int32]string{ 0: "Queued", 1: "Downloading", } VideoDownloadStatus_value = map[string]int32{ "Queued": 0, "Downloading": 1, } )
Enum value maps for VideoDownloadStatus.
var File_scheduler_proto protoreflect.FileDescriptor
var Scheduler_ServiceDesc = grpc.ServiceDesc{ ServiceName: "proto.Scheduler", HandlerType: (*SchedulerServer)(nil), Methods: []grpc.MethodDesc{ { MethodName: "dlURL", Handler: _Scheduler_DlURL_Handler, }, { MethodName: "listArchivalEntries", Handler: _Scheduler_ListArchivalEntries_Handler, }, { MethodName: "listArchivalEvents", Handler: _Scheduler_ListArchivalEvents_Handler, }, { MethodName: "deleteArchivalRequest", Handler: _Scheduler_DeleteArchivalRequest_Handler, }, { MethodName: "retryArchivalRequestDownloadss", Handler: _Scheduler_RetryArchivalRequestDownloadss_Handler, }, { MethodName: "getDownloadsInProgress", Handler: _Scheduler_GetDownloadsInProgress_Handler, }, { MethodName: "GetUnapprovedVideoList", Handler: _Scheduler_GetUnapprovedVideoList_Handler, }, { MethodName: "ApproveVideo", Handler: _Scheduler_ApproveVideo_Handler, }, { MethodName: "UnapproveVideo", Handler: _Scheduler_UnapproveVideo_Handler, }, { MethodName: "GetInferenceCategories", Handler: _Scheduler_GetInferenceCategories_Handler, }, { MethodName: "AddInferenceCategory", Handler: _Scheduler_AddInferenceCategory_Handler, }, }, Streams: []grpc.StreamDesc{}, Metadata: "scheduler.proto", }
Scheduler_ServiceDesc is the grpc.ServiceDesc for Scheduler service. It's only intended for direct use with grpc.RegisterService, and not to be introspected or modified (even as a copy)
Functions ¶
func RegisterSchedulerServer ¶
func RegisterSchedulerServer(s grpc.ServiceRegistrar, srv SchedulerServer)
Types ¶
type ApproveVideoReq ¶
type ApproveVideoReq struct { VideoID string `protobuf:"bytes,1,opt,name=VideoID,proto3" json:"VideoID,omitempty"` // contains filtered or unexported fields }
func (*ApproveVideoReq) Descriptor
deprecated
func (*ApproveVideoReq) Descriptor() ([]byte, []int)
Deprecated: Use ApproveVideoReq.ProtoReflect.Descriptor instead.
func (*ApproveVideoReq) GetVideoID ¶
func (x *ApproveVideoReq) GetVideoID() string
func (*ApproveVideoReq) ProtoMessage ¶
func (*ApproveVideoReq) ProtoMessage()
func (*ApproveVideoReq) ProtoReflect ¶
func (x *ApproveVideoReq) ProtoReflect() protoreflect.Message
func (*ApproveVideoReq) Reset ¶
func (x *ApproveVideoReq) Reset()
func (*ApproveVideoReq) String ¶
func (x *ApproveVideoReq) String() string
func (*ApproveVideoReq) Validate ¶
func (m *ApproveVideoReq) Validate() error
Validate checks the field values on ApproveVideoReq with the rules defined in the proto definition for this message. If any rules are violated, the first error encountered is returned, or nil if there are no violations.
func (*ApproveVideoReq) ValidateAll ¶
func (m *ApproveVideoReq) ValidateAll() error
ValidateAll checks the field values on ApproveVideoReq with the rules defined in the proto definition for this message. If any rules are violated, the result is a list of violation errors wrapped in ApproveVideoReqMultiError, or nil if none found.
type ApproveVideoReqMultiError ¶
type ApproveVideoReqMultiError []error
ApproveVideoReqMultiError is an error wrapping multiple validation errors returned by ApproveVideoReq.ValidateAll() if the designated constraints aren't met.
func (ApproveVideoReqMultiError) AllErrors ¶
func (m ApproveVideoReqMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (ApproveVideoReqMultiError) Error ¶
func (m ApproveVideoReqMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type ApproveVideoReqValidationError ¶
type ApproveVideoReqValidationError struct {
// contains filtered or unexported fields
}
ApproveVideoReqValidationError is the validation error returned by ApproveVideoReq.Validate if the designated constraints aren't met.
func (ApproveVideoReqValidationError) Cause ¶
func (e ApproveVideoReqValidationError) Cause() error
Cause function returns cause value.
func (ApproveVideoReqValidationError) Error ¶
func (e ApproveVideoReqValidationError) Error() string
Error satisfies the builtin error interface
func (ApproveVideoReqValidationError) ErrorName ¶
func (e ApproveVideoReqValidationError) ErrorName() string
ErrorName returns error name.
func (ApproveVideoReqValidationError) Field ¶
func (e ApproveVideoReqValidationError) Field() string
Field function returns field value.
func (ApproveVideoReqValidationError) Key ¶
func (e ApproveVideoReqValidationError) Key() bool
Key function returns key value.
func (ApproveVideoReqValidationError) Reason ¶
func (e ApproveVideoReqValidationError) Reason() string
Reason function returns reason value.
type ArchivalEvent ¶
type ArchivalEvent struct { VideoUrl string `protobuf:"bytes,1,opt,name=video_url,json=videoUrl,proto3" json:"video_url,omitempty"` ParentUrl string `protobuf:"bytes,2,opt,name=parent_url,json=parentUrl,proto3" json:"parent_url,omitempty"` Message string `protobuf:"bytes,3,opt,name=message,proto3" json:"message,omitempty"` Timestamp string `protobuf:"bytes,4,opt,name=timestamp,proto3" json:"timestamp,omitempty"` // contains filtered or unexported fields }
func (*ArchivalEvent) Descriptor
deprecated
func (*ArchivalEvent) Descriptor() ([]byte, []int)
Deprecated: Use ArchivalEvent.ProtoReflect.Descriptor instead.
func (*ArchivalEvent) GetMessage ¶
func (x *ArchivalEvent) GetMessage() string
func (*ArchivalEvent) GetParentUrl ¶
func (x *ArchivalEvent) GetParentUrl() string
func (*ArchivalEvent) GetTimestamp ¶
func (x *ArchivalEvent) GetTimestamp() string
func (*ArchivalEvent) GetVideoUrl ¶
func (x *ArchivalEvent) GetVideoUrl() string
func (*ArchivalEvent) ProtoMessage ¶
func (*ArchivalEvent) ProtoMessage()
func (*ArchivalEvent) ProtoReflect ¶
func (x *ArchivalEvent) ProtoReflect() protoreflect.Message
func (*ArchivalEvent) Reset ¶
func (x *ArchivalEvent) Reset()
func (*ArchivalEvent) String ¶
func (x *ArchivalEvent) String() string
func (*ArchivalEvent) Validate ¶
func (m *ArchivalEvent) Validate() error
Validate checks the field values on ArchivalEvent with the rules defined in the proto definition for this message. If any rules are violated, the first error encountered is returned, or nil if there are no violations.
func (*ArchivalEvent) ValidateAll ¶
func (m *ArchivalEvent) ValidateAll() error
ValidateAll checks the field values on ArchivalEvent with the rules defined in the proto definition for this message. If any rules are violated, the result is a list of violation errors wrapped in ArchivalEventMultiError, or nil if none found.
type ArchivalEventMultiError ¶
type ArchivalEventMultiError []error
ArchivalEventMultiError is an error wrapping multiple validation errors returned by ArchivalEvent.ValidateAll() if the designated constraints aren't met.
func (ArchivalEventMultiError) AllErrors ¶
func (m ArchivalEventMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (ArchivalEventMultiError) Error ¶
func (m ArchivalEventMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type ArchivalEventValidationError ¶
type ArchivalEventValidationError struct {
// contains filtered or unexported fields
}
ArchivalEventValidationError is the validation error returned by ArchivalEvent.Validate if the designated constraints aren't met.
func (ArchivalEventValidationError) Cause ¶
func (e ArchivalEventValidationError) Cause() error
Cause function returns cause value.
func (ArchivalEventValidationError) Error ¶
func (e ArchivalEventValidationError) Error() string
Error satisfies the builtin error interface
func (ArchivalEventValidationError) ErrorName ¶
func (e ArchivalEventValidationError) ErrorName() string
ErrorName returns error name.
func (ArchivalEventValidationError) Field ¶
func (e ArchivalEventValidationError) Field() string
Field function returns field value.
func (ArchivalEventValidationError) Key ¶
func (e ArchivalEventValidationError) Key() bool
Key function returns key value.
func (ArchivalEventValidationError) Reason ¶
func (e ArchivalEventValidationError) Reason() string
Reason function returns reason value.
type ContentArchivalEntry ¶
type ContentArchivalEntry struct { UserID int64 `protobuf:"varint,1,opt,name=UserID,proto3" json:"UserID,omitempty"` Url string `protobuf:"bytes,2,opt,name=Url,proto3" json:"Url,omitempty"` ArchivedVideos uint64 `protobuf:"varint,3,opt,name=ArchivedVideos,proto3" json:"ArchivedVideos,omitempty"` CurrentTotalVideos uint64 `protobuf:"varint,4,opt,name=CurrentTotalVideos,proto3" json:"CurrentTotalVideos,omitempty"` LastSynced string `protobuf:"bytes,5,opt,name=LastSynced,proto3" json:"LastSynced,omitempty"` BackoffFactor uint32 `protobuf:"varint,6,opt,name=BackoffFactor,proto3" json:"BackoffFactor,omitempty"` DownloadID uint64 `protobuf:"varint,7,opt,name=downloadID,proto3" json:"downloadID,omitempty"` UndownloadableVideos uint64 `protobuf:"varint,8,opt,name=UndownloadableVideos,proto3" json:"UndownloadableVideos,omitempty"` // contains filtered or unexported fields }
func (*ContentArchivalEntry) Descriptor
deprecated
func (*ContentArchivalEntry) Descriptor() ([]byte, []int)
Deprecated: Use ContentArchivalEntry.ProtoReflect.Descriptor instead.
func (*ContentArchivalEntry) GetArchivedVideos ¶
func (x *ContentArchivalEntry) GetArchivedVideos() uint64
func (*ContentArchivalEntry) GetBackoffFactor ¶
func (x *ContentArchivalEntry) GetBackoffFactor() uint32
func (*ContentArchivalEntry) GetCurrentTotalVideos ¶
func (x *ContentArchivalEntry) GetCurrentTotalVideos() uint64
func (*ContentArchivalEntry) GetDownloadID ¶
func (x *ContentArchivalEntry) GetDownloadID() uint64
func (*ContentArchivalEntry) GetLastSynced ¶
func (x *ContentArchivalEntry) GetLastSynced() string
func (*ContentArchivalEntry) GetUndownloadableVideos ¶
func (x *ContentArchivalEntry) GetUndownloadableVideos() uint64
func (*ContentArchivalEntry) GetUrl ¶
func (x *ContentArchivalEntry) GetUrl() string
func (*ContentArchivalEntry) GetUserID ¶
func (x *ContentArchivalEntry) GetUserID() int64
func (*ContentArchivalEntry) ProtoMessage ¶
func (*ContentArchivalEntry) ProtoMessage()
func (*ContentArchivalEntry) ProtoReflect ¶
func (x *ContentArchivalEntry) ProtoReflect() protoreflect.Message
func (*ContentArchivalEntry) Reset ¶
func (x *ContentArchivalEntry) Reset()
func (*ContentArchivalEntry) String ¶
func (x *ContentArchivalEntry) String() string
func (*ContentArchivalEntry) Validate ¶
func (m *ContentArchivalEntry) Validate() error
Validate checks the field values on ContentArchivalEntry with the rules defined in the proto definition for this message. If any rules are violated, the first error encountered is returned, or nil if there are no violations.
func (*ContentArchivalEntry) ValidateAll ¶
func (m *ContentArchivalEntry) ValidateAll() error
ValidateAll checks the field values on ContentArchivalEntry with the rules defined in the proto definition for this message. If any rules are violated, the result is a list of violation errors wrapped in ContentArchivalEntryMultiError, or nil if none found.
type ContentArchivalEntryMultiError ¶
type ContentArchivalEntryMultiError []error
ContentArchivalEntryMultiError is an error wrapping multiple validation errors returned by ContentArchivalEntry.ValidateAll() if the designated constraints aren't met.
func (ContentArchivalEntryMultiError) AllErrors ¶
func (m ContentArchivalEntryMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (ContentArchivalEntryMultiError) Error ¶
func (m ContentArchivalEntryMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type ContentArchivalEntryValidationError ¶
type ContentArchivalEntryValidationError struct {
// contains filtered or unexported fields
}
ContentArchivalEntryValidationError is the validation error returned by ContentArchivalEntry.Validate if the designated constraints aren't met.
func (ContentArchivalEntryValidationError) Cause ¶
func (e ContentArchivalEntryValidationError) Cause() error
Cause function returns cause value.
func (ContentArchivalEntryValidationError) Error ¶
func (e ContentArchivalEntryValidationError) Error() string
Error satisfies the builtin error interface
func (ContentArchivalEntryValidationError) ErrorName ¶
func (e ContentArchivalEntryValidationError) ErrorName() string
ErrorName returns error name.
func (ContentArchivalEntryValidationError) Field ¶
func (e ContentArchivalEntryValidationError) Field() string
Field function returns field value.
func (ContentArchivalEntryValidationError) Key ¶
func (e ContentArchivalEntryValidationError) Key() bool
Key function returns key value.
func (ContentArchivalEntryValidationError) Reason ¶
func (e ContentArchivalEntryValidationError) Reason() string
Reason function returns reason value.
type DeletionRequest ¶
type DeletionRequest struct { DownloadID uint64 `protobuf:"varint,1,opt,name=downloadID,proto3" json:"downloadID,omitempty"` UserID uint64 `protobuf:"varint,2,opt,name=userID,proto3" json:"userID,omitempty"` // contains filtered or unexported fields }
func (*DeletionRequest) Descriptor
deprecated
func (*DeletionRequest) Descriptor() ([]byte, []int)
Deprecated: Use DeletionRequest.ProtoReflect.Descriptor instead.
func (*DeletionRequest) GetDownloadID ¶
func (x *DeletionRequest) GetDownloadID() uint64
func (*DeletionRequest) GetUserID ¶
func (x *DeletionRequest) GetUserID() uint64
func (*DeletionRequest) ProtoMessage ¶
func (*DeletionRequest) ProtoMessage()
func (*DeletionRequest) ProtoReflect ¶
func (x *DeletionRequest) ProtoReflect() protoreflect.Message
func (*DeletionRequest) Reset ¶
func (x *DeletionRequest) Reset()
func (*DeletionRequest) String ¶
func (x *DeletionRequest) String() string
func (*DeletionRequest) Validate ¶
func (m *DeletionRequest) Validate() error
Validate checks the field values on DeletionRequest with the rules defined in the proto definition for this message. If any rules are violated, the first error encountered is returned, or nil if there are no violations.
func (*DeletionRequest) ValidateAll ¶
func (m *DeletionRequest) ValidateAll() error
ValidateAll checks the field values on DeletionRequest with the rules defined in the proto definition for this message. If any rules are violated, the result is a list of violation errors wrapped in DeletionRequestMultiError, or nil if none found.
type DeletionRequestMultiError ¶
type DeletionRequestMultiError []error
DeletionRequestMultiError is an error wrapping multiple validation errors returned by DeletionRequest.ValidateAll() if the designated constraints aren't met.
func (DeletionRequestMultiError) AllErrors ¶
func (m DeletionRequestMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (DeletionRequestMultiError) Error ¶
func (m DeletionRequestMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type DeletionRequestValidationError ¶
type DeletionRequestValidationError struct {
// contains filtered or unexported fields
}
DeletionRequestValidationError is the validation error returned by DeletionRequest.Validate if the designated constraints aren't met.
func (DeletionRequestValidationError) Cause ¶
func (e DeletionRequestValidationError) Cause() error
Cause function returns cause value.
func (DeletionRequestValidationError) Error ¶
func (e DeletionRequestValidationError) Error() string
Error satisfies the builtin error interface
func (DeletionRequestValidationError) ErrorName ¶
func (e DeletionRequestValidationError) ErrorName() string
ErrorName returns error name.
func (DeletionRequestValidationError) Field ¶
func (e DeletionRequestValidationError) Field() string
Field function returns field value.
func (DeletionRequestValidationError) Key ¶
func (e DeletionRequestValidationError) Key() bool
Key function returns key value.
func (DeletionRequestValidationError) Reason ¶
func (e DeletionRequestValidationError) Reason() string
Reason function returns reason value.
type DownloadsInProgressRequest ¶
type DownloadsInProgressRequest struct {
// contains filtered or unexported fields
}
func (*DownloadsInProgressRequest) Descriptor
deprecated
func (*DownloadsInProgressRequest) Descriptor() ([]byte, []int)
Deprecated: Use DownloadsInProgressRequest.ProtoReflect.Descriptor instead.
func (*DownloadsInProgressRequest) ProtoMessage ¶
func (*DownloadsInProgressRequest) ProtoMessage()
func (*DownloadsInProgressRequest) ProtoReflect ¶
func (x *DownloadsInProgressRequest) ProtoReflect() protoreflect.Message
func (*DownloadsInProgressRequest) Reset ¶
func (x *DownloadsInProgressRequest) Reset()
func (*DownloadsInProgressRequest) String ¶
func (x *DownloadsInProgressRequest) String() string
func (*DownloadsInProgressRequest) Validate ¶
func (m *DownloadsInProgressRequest) Validate() error
Validate checks the field values on DownloadsInProgressRequest with the rules defined in the proto definition for this message. If any rules are violated, the first error encountered is returned, or nil if there are no violations.
func (*DownloadsInProgressRequest) ValidateAll ¶
func (m *DownloadsInProgressRequest) ValidateAll() error
ValidateAll checks the field values on DownloadsInProgressRequest with the rules defined in the proto definition for this message. If any rules are violated, the result is a list of violation errors wrapped in DownloadsInProgressRequestMultiError, or nil if none found.
type DownloadsInProgressRequestMultiError ¶
type DownloadsInProgressRequestMultiError []error
DownloadsInProgressRequestMultiError is an error wrapping multiple validation errors returned by DownloadsInProgressRequest.ValidateAll() if the designated constraints aren't met.
func (DownloadsInProgressRequestMultiError) AllErrors ¶
func (m DownloadsInProgressRequestMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (DownloadsInProgressRequestMultiError) Error ¶
func (m DownloadsInProgressRequestMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type DownloadsInProgressRequestValidationError ¶
type DownloadsInProgressRequestValidationError struct {
// contains filtered or unexported fields
}
DownloadsInProgressRequestValidationError is the validation error returned by DownloadsInProgressRequest.Validate if the designated constraints aren't met.
func (DownloadsInProgressRequestValidationError) Cause ¶
func (e DownloadsInProgressRequestValidationError) Cause() error
Cause function returns cause value.
func (DownloadsInProgressRequestValidationError) Error ¶
func (e DownloadsInProgressRequestValidationError) Error() string
Error satisfies the builtin error interface
func (DownloadsInProgressRequestValidationError) ErrorName ¶
func (e DownloadsInProgressRequestValidationError) ErrorName() string
ErrorName returns error name.
func (DownloadsInProgressRequestValidationError) Field ¶
func (e DownloadsInProgressRequestValidationError) Field() string
Field function returns field value.
func (DownloadsInProgressRequestValidationError) Key ¶
func (e DownloadsInProgressRequestValidationError) Key() bool
Key function returns key value.
func (DownloadsInProgressRequestValidationError) Reason ¶
func (e DownloadsInProgressRequestValidationError) Reason() string
Reason function returns reason value.
type DownloadsInProgressResponse ¶
type DownloadsInProgressResponse struct { Videos []*Video `protobuf:"bytes,1,rep,name=videos,proto3" json:"videos,omitempty"` // contains filtered or unexported fields }
func (*DownloadsInProgressResponse) Descriptor
deprecated
func (*DownloadsInProgressResponse) Descriptor() ([]byte, []int)
Deprecated: Use DownloadsInProgressResponse.ProtoReflect.Descriptor instead.
func (*DownloadsInProgressResponse) GetVideos ¶
func (x *DownloadsInProgressResponse) GetVideos() []*Video
func (*DownloadsInProgressResponse) ProtoMessage ¶
func (*DownloadsInProgressResponse) ProtoMessage()
func (*DownloadsInProgressResponse) ProtoReflect ¶
func (x *DownloadsInProgressResponse) ProtoReflect() protoreflect.Message
func (*DownloadsInProgressResponse) Reset ¶
func (x *DownloadsInProgressResponse) Reset()
func (*DownloadsInProgressResponse) String ¶
func (x *DownloadsInProgressResponse) String() string
func (*DownloadsInProgressResponse) Validate ¶
func (m *DownloadsInProgressResponse) Validate() error
Validate checks the field values on DownloadsInProgressResponse with the rules defined in the proto definition for this message. If any rules are violated, the first error encountered is returned, or nil if there are no violations.
func (*DownloadsInProgressResponse) ValidateAll ¶
func (m *DownloadsInProgressResponse) ValidateAll() error
ValidateAll checks the field values on DownloadsInProgressResponse with the rules defined in the proto definition for this message. If any rules are violated, the result is a list of violation errors wrapped in DownloadsInProgressResponseMultiError, or nil if none found.
type DownloadsInProgressResponseMultiError ¶
type DownloadsInProgressResponseMultiError []error
DownloadsInProgressResponseMultiError is an error wrapping multiple validation errors returned by DownloadsInProgressResponse.ValidateAll() if the designated constraints aren't met.
func (DownloadsInProgressResponseMultiError) AllErrors ¶
func (m DownloadsInProgressResponseMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (DownloadsInProgressResponseMultiError) Error ¶
func (m DownloadsInProgressResponseMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type DownloadsInProgressResponseValidationError ¶
type DownloadsInProgressResponseValidationError struct {
// contains filtered or unexported fields
}
DownloadsInProgressResponseValidationError is the validation error returned by DownloadsInProgressResponse.Validate if the designated constraints aren't met.
func (DownloadsInProgressResponseValidationError) Cause ¶
func (e DownloadsInProgressResponseValidationError) Cause() error
Cause function returns cause value.
func (DownloadsInProgressResponseValidationError) Error ¶
func (e DownloadsInProgressResponseValidationError) Error() string
Error satisfies the builtin error interface
func (DownloadsInProgressResponseValidationError) ErrorName ¶
func (e DownloadsInProgressResponseValidationError) ErrorName() string
ErrorName returns error name.
func (DownloadsInProgressResponseValidationError) Field ¶
func (e DownloadsInProgressResponseValidationError) Field() string
Field function returns field value.
func (DownloadsInProgressResponseValidationError) Key ¶
func (e DownloadsInProgressResponseValidationError) Key() bool
Key function returns key value.
func (DownloadsInProgressResponseValidationError) Reason ¶
func (e DownloadsInProgressResponseValidationError) Reason() string
Reason function returns reason value.
type Empty ¶
type Empty struct {
// contains filtered or unexported fields
}
func (*Empty) Descriptor
deprecated
func (*Empty) ProtoMessage ¶
func (*Empty) ProtoMessage()
func (*Empty) ProtoReflect ¶
func (x *Empty) ProtoReflect() protoreflect.Message
func (*Empty) Validate ¶
Validate checks the field values on Empty with the rules defined in the proto definition for this message. If any rules are violated, the first error encountered is returned, or nil if there are no violations.
func (*Empty) ValidateAll ¶
ValidateAll checks the field values on Empty with the rules defined in the proto definition for this message. If any rules are violated, the result is a list of violation errors wrapped in EmptyMultiError, or nil if none found.
type EmptyMultiError ¶
type EmptyMultiError []error
EmptyMultiError is an error wrapping multiple validation errors returned by Empty.ValidateAll() if the designated constraints aren't met.
func (EmptyMultiError) AllErrors ¶
func (m EmptyMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (EmptyMultiError) Error ¶
func (m EmptyMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type EmptyValidationError ¶
type EmptyValidationError struct {
// contains filtered or unexported fields
}
EmptyValidationError is the validation error returned by Empty.Validate if the designated constraints aren't met.
func (EmptyValidationError) Cause ¶
func (e EmptyValidationError) Cause() error
Cause function returns cause value.
func (EmptyValidationError) Error ¶
func (e EmptyValidationError) Error() string
Error satisfies the builtin error interface
func (EmptyValidationError) ErrorName ¶
func (e EmptyValidationError) ErrorName() string
ErrorName returns error name.
func (EmptyValidationError) Field ¶
func (e EmptyValidationError) Field() string
Field function returns field value.
func (EmptyValidationError) Key ¶
func (e EmptyValidationError) Key() bool
Key function returns key value.
func (EmptyValidationError) Reason ¶
func (e EmptyValidationError) Reason() string
Reason function returns reason value.
type InferenceEntry ¶
type InferenceEntry struct { Tag string `protobuf:"bytes,1,opt,name=Tag,proto3" json:"Tag,omitempty"` Category string `protobuf:"bytes,2,opt,name=Category,proto3" json:"Category,omitempty"` // contains filtered or unexported fields }
func (*InferenceEntry) Descriptor
deprecated
func (*InferenceEntry) Descriptor() ([]byte, []int)
Deprecated: Use InferenceEntry.ProtoReflect.Descriptor instead.
func (*InferenceEntry) GetCategory ¶
func (x *InferenceEntry) GetCategory() string
func (*InferenceEntry) GetTag ¶
func (x *InferenceEntry) GetTag() string
func (*InferenceEntry) ProtoMessage ¶
func (*InferenceEntry) ProtoMessage()
func (*InferenceEntry) ProtoReflect ¶
func (x *InferenceEntry) ProtoReflect() protoreflect.Message
func (*InferenceEntry) Reset ¶
func (x *InferenceEntry) Reset()
func (*InferenceEntry) String ¶
func (x *InferenceEntry) String() string
func (*InferenceEntry) Validate ¶
func (m *InferenceEntry) Validate() error
Validate checks the field values on InferenceEntry with the rules defined in the proto definition for this message. If any rules are violated, the first error encountered is returned, or nil if there are no violations.
func (*InferenceEntry) ValidateAll ¶
func (m *InferenceEntry) ValidateAll() error
ValidateAll checks the field values on InferenceEntry with the rules defined in the proto definition for this message. If any rules are violated, the result is a list of violation errors wrapped in InferenceEntryMultiError, or nil if none found.
type InferenceEntryMultiError ¶
type InferenceEntryMultiError []error
InferenceEntryMultiError is an error wrapping multiple validation errors returned by InferenceEntry.ValidateAll() if the designated constraints aren't met.
func (InferenceEntryMultiError) AllErrors ¶
func (m InferenceEntryMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (InferenceEntryMultiError) Error ¶
func (m InferenceEntryMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type InferenceEntryValidationError ¶
type InferenceEntryValidationError struct {
// contains filtered or unexported fields
}
InferenceEntryValidationError is the validation error returned by InferenceEntry.Validate if the designated constraints aren't met.
func (InferenceEntryValidationError) Cause ¶
func (e InferenceEntryValidationError) Cause() error
Cause function returns cause value.
func (InferenceEntryValidationError) Error ¶
func (e InferenceEntryValidationError) Error() string
Error satisfies the builtin error interface
func (InferenceEntryValidationError) ErrorName ¶
func (e InferenceEntryValidationError) ErrorName() string
ErrorName returns error name.
func (InferenceEntryValidationError) Field ¶
func (e InferenceEntryValidationError) Field() string
Field function returns field value.
func (InferenceEntryValidationError) Key ¶
func (e InferenceEntryValidationError) Key() bool
Key function returns key value.
func (InferenceEntryValidationError) Reason ¶
func (e InferenceEntryValidationError) Reason() string
Reason function returns reason value.
type InferenceList ¶
type InferenceList struct { Entries []*InferenceEntry `protobuf:"bytes,1,rep,name=Entries,proto3" json:"Entries,omitempty"` // contains filtered or unexported fields }
func (*InferenceList) Descriptor
deprecated
func (*InferenceList) Descriptor() ([]byte, []int)
Deprecated: Use InferenceList.ProtoReflect.Descriptor instead.
func (*InferenceList) GetEntries ¶
func (x *InferenceList) GetEntries() []*InferenceEntry
func (*InferenceList) ProtoMessage ¶
func (*InferenceList) ProtoMessage()
func (*InferenceList) ProtoReflect ¶
func (x *InferenceList) ProtoReflect() protoreflect.Message
func (*InferenceList) Reset ¶
func (x *InferenceList) Reset()
func (*InferenceList) String ¶
func (x *InferenceList) String() string
func (*InferenceList) Validate ¶
func (m *InferenceList) Validate() error
Validate checks the field values on InferenceList with the rules defined in the proto definition for this message. If any rules are violated, the first error encountered is returned, or nil if there are no violations.
func (*InferenceList) ValidateAll ¶
func (m *InferenceList) ValidateAll() error
ValidateAll checks the field values on InferenceList with the rules defined in the proto definition for this message. If any rules are violated, the result is a list of violation errors wrapped in InferenceListMultiError, or nil if none found.
type InferenceListMultiError ¶
type InferenceListMultiError []error
InferenceListMultiError is an error wrapping multiple validation errors returned by InferenceList.ValidateAll() if the designated constraints aren't met.
func (InferenceListMultiError) AllErrors ¶
func (m InferenceListMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (InferenceListMultiError) Error ¶
func (m InferenceListMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type InferenceListValidationError ¶
type InferenceListValidationError struct {
// contains filtered or unexported fields
}
InferenceListValidationError is the validation error returned by InferenceList.Validate if the designated constraints aren't met.
func (InferenceListValidationError) Cause ¶
func (e InferenceListValidationError) Cause() error
Cause function returns cause value.
func (InferenceListValidationError) Error ¶
func (e InferenceListValidationError) Error() string
Error satisfies the builtin error interface
func (InferenceListValidationError) ErrorName ¶
func (e InferenceListValidationError) ErrorName() string
ErrorName returns error name.
func (InferenceListValidationError) Field ¶
func (e InferenceListValidationError) Field() string
Field function returns field value.
func (InferenceListValidationError) Key ¶
func (e InferenceListValidationError) Key() bool
Key function returns key value.
func (InferenceListValidationError) Reason ¶
func (e InferenceListValidationError) Reason() string
Reason function returns reason value.
type ListArchivalEntriesRequest ¶
type ListArchivalEntriesRequest struct { UserID int64 `protobuf:"varint,1,opt,name=UserID,proto3" json:"UserID,omitempty"` // Need to standardize type on userID // contains filtered or unexported fields }
func (*ListArchivalEntriesRequest) Descriptor
deprecated
func (*ListArchivalEntriesRequest) Descriptor() ([]byte, []int)
Deprecated: Use ListArchivalEntriesRequest.ProtoReflect.Descriptor instead.
func (*ListArchivalEntriesRequest) GetUserID ¶
func (x *ListArchivalEntriesRequest) GetUserID() int64
func (*ListArchivalEntriesRequest) ProtoMessage ¶
func (*ListArchivalEntriesRequest) ProtoMessage()
func (*ListArchivalEntriesRequest) ProtoReflect ¶
func (x *ListArchivalEntriesRequest) ProtoReflect() protoreflect.Message
func (*ListArchivalEntriesRequest) Reset ¶
func (x *ListArchivalEntriesRequest) Reset()
func (*ListArchivalEntriesRequest) String ¶
func (x *ListArchivalEntriesRequest) String() string
func (*ListArchivalEntriesRequest) Validate ¶
func (m *ListArchivalEntriesRequest) Validate() error
Validate checks the field values on ListArchivalEntriesRequest with the rules defined in the proto definition for this message. If any rules are violated, the first error encountered is returned, or nil if there are no violations.
func (*ListArchivalEntriesRequest) ValidateAll ¶
func (m *ListArchivalEntriesRequest) ValidateAll() error
ValidateAll checks the field values on ListArchivalEntriesRequest with the rules defined in the proto definition for this message. If any rules are violated, the result is a list of violation errors wrapped in ListArchivalEntriesRequestMultiError, or nil if none found.
type ListArchivalEntriesRequestMultiError ¶
type ListArchivalEntriesRequestMultiError []error
ListArchivalEntriesRequestMultiError is an error wrapping multiple validation errors returned by ListArchivalEntriesRequest.ValidateAll() if the designated constraints aren't met.
func (ListArchivalEntriesRequestMultiError) AllErrors ¶
func (m ListArchivalEntriesRequestMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (ListArchivalEntriesRequestMultiError) Error ¶
func (m ListArchivalEntriesRequestMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type ListArchivalEntriesRequestValidationError ¶
type ListArchivalEntriesRequestValidationError struct {
// contains filtered or unexported fields
}
ListArchivalEntriesRequestValidationError is the validation error returned by ListArchivalEntriesRequest.Validate if the designated constraints aren't met.
func (ListArchivalEntriesRequestValidationError) Cause ¶
func (e ListArchivalEntriesRequestValidationError) Cause() error
Cause function returns cause value.
func (ListArchivalEntriesRequestValidationError) Error ¶
func (e ListArchivalEntriesRequestValidationError) Error() string
Error satisfies the builtin error interface
func (ListArchivalEntriesRequestValidationError) ErrorName ¶
func (e ListArchivalEntriesRequestValidationError) ErrorName() string
ErrorName returns error name.
func (ListArchivalEntriesRequestValidationError) Field ¶
func (e ListArchivalEntriesRequestValidationError) Field() string
Field function returns field value.
func (ListArchivalEntriesRequestValidationError) Key ¶
func (e ListArchivalEntriesRequestValidationError) Key() bool
Key function returns key value.
func (ListArchivalEntriesRequestValidationError) Reason ¶
func (e ListArchivalEntriesRequestValidationError) Reason() string
Reason function returns reason value.
type ListArchivalEntriesResponse ¶
type ListArchivalEntriesResponse struct { Entries []*ContentArchivalEntry `protobuf:"bytes,1,rep,name=entries,proto3" json:"entries,omitempty"` // contains filtered or unexported fields }
func (*ListArchivalEntriesResponse) Descriptor
deprecated
func (*ListArchivalEntriesResponse) Descriptor() ([]byte, []int)
Deprecated: Use ListArchivalEntriesResponse.ProtoReflect.Descriptor instead.
func (*ListArchivalEntriesResponse) GetEntries ¶
func (x *ListArchivalEntriesResponse) GetEntries() []*ContentArchivalEntry
func (*ListArchivalEntriesResponse) ProtoMessage ¶
func (*ListArchivalEntriesResponse) ProtoMessage()
func (*ListArchivalEntriesResponse) ProtoReflect ¶
func (x *ListArchivalEntriesResponse) ProtoReflect() protoreflect.Message
func (*ListArchivalEntriesResponse) Reset ¶
func (x *ListArchivalEntriesResponse) Reset()
func (*ListArchivalEntriesResponse) String ¶
func (x *ListArchivalEntriesResponse) String() string
func (*ListArchivalEntriesResponse) Validate ¶
func (m *ListArchivalEntriesResponse) Validate() error
Validate checks the field values on ListArchivalEntriesResponse with the rules defined in the proto definition for this message. If any rules are violated, the first error encountered is returned, or nil if there are no violations.
func (*ListArchivalEntriesResponse) ValidateAll ¶
func (m *ListArchivalEntriesResponse) ValidateAll() error
ValidateAll checks the field values on ListArchivalEntriesResponse with the rules defined in the proto definition for this message. If any rules are violated, the result is a list of violation errors wrapped in ListArchivalEntriesResponseMultiError, or nil if none found.
type ListArchivalEntriesResponseMultiError ¶
type ListArchivalEntriesResponseMultiError []error
ListArchivalEntriesResponseMultiError is an error wrapping multiple validation errors returned by ListArchivalEntriesResponse.ValidateAll() if the designated constraints aren't met.
func (ListArchivalEntriesResponseMultiError) AllErrors ¶
func (m ListArchivalEntriesResponseMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (ListArchivalEntriesResponseMultiError) Error ¶
func (m ListArchivalEntriesResponseMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type ListArchivalEntriesResponseValidationError ¶
type ListArchivalEntriesResponseValidationError struct {
// contains filtered or unexported fields
}
ListArchivalEntriesResponseValidationError is the validation error returned by ListArchivalEntriesResponse.Validate if the designated constraints aren't met.
func (ListArchivalEntriesResponseValidationError) Cause ¶
func (e ListArchivalEntriesResponseValidationError) Cause() error
Cause function returns cause value.
func (ListArchivalEntriesResponseValidationError) Error ¶
func (e ListArchivalEntriesResponseValidationError) Error() string
Error satisfies the builtin error interface
func (ListArchivalEntriesResponseValidationError) ErrorName ¶
func (e ListArchivalEntriesResponseValidationError) ErrorName() string
ErrorName returns error name.
func (ListArchivalEntriesResponseValidationError) Field ¶
func (e ListArchivalEntriesResponseValidationError) Field() string
Field function returns field value.
func (ListArchivalEntriesResponseValidationError) Key ¶
func (e ListArchivalEntriesResponseValidationError) Key() bool
Key function returns key value.
func (ListArchivalEntriesResponseValidationError) Reason ¶
func (e ListArchivalEntriesResponseValidationError) Reason() string
Reason function returns reason value.
type ListArchivalEventsRequest ¶
type ListArchivalEventsRequest struct { DownloadID int64 `protobuf:"varint,1,opt,name=DownloadID,proto3" json:"DownloadID,omitempty"` ShowAll bool `protobuf:"varint,2,opt,name=ShowAll,proto3" json:"ShowAll,omitempty"` // contains filtered or unexported fields }
func (*ListArchivalEventsRequest) Descriptor
deprecated
func (*ListArchivalEventsRequest) Descriptor() ([]byte, []int)
Deprecated: Use ListArchivalEventsRequest.ProtoReflect.Descriptor instead.
func (*ListArchivalEventsRequest) GetDownloadID ¶
func (x *ListArchivalEventsRequest) GetDownloadID() int64
func (*ListArchivalEventsRequest) GetShowAll ¶
func (x *ListArchivalEventsRequest) GetShowAll() bool
func (*ListArchivalEventsRequest) ProtoMessage ¶
func (*ListArchivalEventsRequest) ProtoMessage()
func (*ListArchivalEventsRequest) ProtoReflect ¶
func (x *ListArchivalEventsRequest) ProtoReflect() protoreflect.Message
func (*ListArchivalEventsRequest) Reset ¶
func (x *ListArchivalEventsRequest) Reset()
func (*ListArchivalEventsRequest) String ¶
func (x *ListArchivalEventsRequest) String() string
func (*ListArchivalEventsRequest) Validate ¶
func (m *ListArchivalEventsRequest) Validate() error
Validate checks the field values on ListArchivalEventsRequest with the rules defined in the proto definition for this message. If any rules are violated, the first error encountered is returned, or nil if there are no violations.
func (*ListArchivalEventsRequest) ValidateAll ¶
func (m *ListArchivalEventsRequest) ValidateAll() error
ValidateAll checks the field values on ListArchivalEventsRequest with the rules defined in the proto definition for this message. If any rules are violated, the result is a list of violation errors wrapped in ListArchivalEventsRequestMultiError, or nil if none found.
type ListArchivalEventsRequestMultiError ¶
type ListArchivalEventsRequestMultiError []error
ListArchivalEventsRequestMultiError is an error wrapping multiple validation errors returned by ListArchivalEventsRequest.ValidateAll() if the designated constraints aren't met.
func (ListArchivalEventsRequestMultiError) AllErrors ¶
func (m ListArchivalEventsRequestMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (ListArchivalEventsRequestMultiError) Error ¶
func (m ListArchivalEventsRequestMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type ListArchivalEventsRequestValidationError ¶
type ListArchivalEventsRequestValidationError struct {
// contains filtered or unexported fields
}
ListArchivalEventsRequestValidationError is the validation error returned by ListArchivalEventsRequest.Validate if the designated constraints aren't met.
func (ListArchivalEventsRequestValidationError) Cause ¶
func (e ListArchivalEventsRequestValidationError) Cause() error
Cause function returns cause value.
func (ListArchivalEventsRequestValidationError) Error ¶
func (e ListArchivalEventsRequestValidationError) Error() string
Error satisfies the builtin error interface
func (ListArchivalEventsRequestValidationError) ErrorName ¶
func (e ListArchivalEventsRequestValidationError) ErrorName() string
ErrorName returns error name.
func (ListArchivalEventsRequestValidationError) Field ¶
func (e ListArchivalEventsRequestValidationError) Field() string
Field function returns field value.
func (ListArchivalEventsRequestValidationError) Key ¶
func (e ListArchivalEventsRequestValidationError) Key() bool
Key function returns key value.
func (ListArchivalEventsRequestValidationError) Reason ¶
func (e ListArchivalEventsRequestValidationError) Reason() string
Reason function returns reason value.
type ListArchivalEventsResponse ¶
type ListArchivalEventsResponse struct { Events []*ArchivalEvent `protobuf:"bytes,1,rep,name=events,proto3" json:"events,omitempty"` // contains filtered or unexported fields }
func (*ListArchivalEventsResponse) Descriptor
deprecated
func (*ListArchivalEventsResponse) Descriptor() ([]byte, []int)
Deprecated: Use ListArchivalEventsResponse.ProtoReflect.Descriptor instead.
func (*ListArchivalEventsResponse) GetEvents ¶
func (x *ListArchivalEventsResponse) GetEvents() []*ArchivalEvent
func (*ListArchivalEventsResponse) ProtoMessage ¶
func (*ListArchivalEventsResponse) ProtoMessage()
func (*ListArchivalEventsResponse) ProtoReflect ¶
func (x *ListArchivalEventsResponse) ProtoReflect() protoreflect.Message
func (*ListArchivalEventsResponse) Reset ¶
func (x *ListArchivalEventsResponse) Reset()
func (*ListArchivalEventsResponse) String ¶
func (x *ListArchivalEventsResponse) String() string
func (*ListArchivalEventsResponse) Validate ¶
func (m *ListArchivalEventsResponse) Validate() error
Validate checks the field values on ListArchivalEventsResponse with the rules defined in the proto definition for this message. If any rules are violated, the first error encountered is returned, or nil if there are no violations.
func (*ListArchivalEventsResponse) ValidateAll ¶
func (m *ListArchivalEventsResponse) ValidateAll() error
ValidateAll checks the field values on ListArchivalEventsResponse with the rules defined in the proto definition for this message. If any rules are violated, the result is a list of violation errors wrapped in ListArchivalEventsResponseMultiError, or nil if none found.
type ListArchivalEventsResponseMultiError ¶
type ListArchivalEventsResponseMultiError []error
ListArchivalEventsResponseMultiError is an error wrapping multiple validation errors returned by ListArchivalEventsResponse.ValidateAll() if the designated constraints aren't met.
func (ListArchivalEventsResponseMultiError) AllErrors ¶
func (m ListArchivalEventsResponseMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (ListArchivalEventsResponseMultiError) Error ¶
func (m ListArchivalEventsResponseMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type ListArchivalEventsResponseValidationError ¶
type ListArchivalEventsResponseValidationError struct {
// contains filtered or unexported fields
}
ListArchivalEventsResponseValidationError is the validation error returned by ListArchivalEventsResponse.Validate if the designated constraints aren't met.
func (ListArchivalEventsResponseValidationError) Cause ¶
func (e ListArchivalEventsResponseValidationError) Cause() error
Cause function returns cause value.
func (ListArchivalEventsResponseValidationError) Error ¶
func (e ListArchivalEventsResponseValidationError) Error() string
Error satisfies the builtin error interface
func (ListArchivalEventsResponseValidationError) ErrorName ¶
func (e ListArchivalEventsResponseValidationError) ErrorName() string
ErrorName returns error name.
func (ListArchivalEventsResponseValidationError) Field ¶
func (e ListArchivalEventsResponseValidationError) Field() string
Field function returns field value.
func (ListArchivalEventsResponseValidationError) Key ¶
func (e ListArchivalEventsResponseValidationError) Key() bool
Key function returns key value.
func (ListArchivalEventsResponseValidationError) Reason ¶
func (e ListArchivalEventsResponseValidationError) Reason() string
Reason function returns reason value.
type RetryRequest ¶
type RetryRequest struct { DownloadID uint64 `protobuf:"varint,1,opt,name=downloadID,proto3" json:"downloadID,omitempty"` UserID uint64 `protobuf:"varint,2,opt,name=userID,proto3" json:"userID,omitempty"` // contains filtered or unexported fields }
func (*RetryRequest) Descriptor
deprecated
func (*RetryRequest) Descriptor() ([]byte, []int)
Deprecated: Use RetryRequest.ProtoReflect.Descriptor instead.
func (*RetryRequest) GetDownloadID ¶
func (x *RetryRequest) GetDownloadID() uint64
func (*RetryRequest) GetUserID ¶
func (x *RetryRequest) GetUserID() uint64
func (*RetryRequest) ProtoMessage ¶
func (*RetryRequest) ProtoMessage()
func (*RetryRequest) ProtoReflect ¶
func (x *RetryRequest) ProtoReflect() protoreflect.Message
func (*RetryRequest) Reset ¶
func (x *RetryRequest) Reset()
func (*RetryRequest) String ¶
func (x *RetryRequest) String() string
func (*RetryRequest) Validate ¶
func (m *RetryRequest) Validate() error
Validate checks the field values on RetryRequest with the rules defined in the proto definition for this message. If any rules are violated, the first error encountered is returned, or nil if there are no violations.
func (*RetryRequest) ValidateAll ¶
func (m *RetryRequest) ValidateAll() error
ValidateAll checks the field values on RetryRequest with the rules defined in the proto definition for this message. If any rules are violated, the result is a list of violation errors wrapped in RetryRequestMultiError, or nil if none found.
type RetryRequestMultiError ¶
type RetryRequestMultiError []error
RetryRequestMultiError is an error wrapping multiple validation errors returned by RetryRequest.ValidateAll() if the designated constraints aren't met.
func (RetryRequestMultiError) AllErrors ¶
func (m RetryRequestMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (RetryRequestMultiError) Error ¶
func (m RetryRequestMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type RetryRequestValidationError ¶
type RetryRequestValidationError struct {
// contains filtered or unexported fields
}
RetryRequestValidationError is the validation error returned by RetryRequest.Validate if the designated constraints aren't met.
func (RetryRequestValidationError) Cause ¶
func (e RetryRequestValidationError) Cause() error
Cause function returns cause value.
func (RetryRequestValidationError) Error ¶
func (e RetryRequestValidationError) Error() string
Error satisfies the builtin error interface
func (RetryRequestValidationError) ErrorName ¶
func (e RetryRequestValidationError) ErrorName() string
ErrorName returns error name.
func (RetryRequestValidationError) Field ¶
func (e RetryRequestValidationError) Field() string
Field function returns field value.
func (RetryRequestValidationError) Key ¶
func (e RetryRequestValidationError) Key() bool
Key function returns key value.
func (RetryRequestValidationError) Reason ¶
func (e RetryRequestValidationError) Reason() string
Reason function returns reason value.
type SchedulerClient ¶
type SchedulerClient interface { DlURL(ctx context.Context, in *URLRequest, opts ...grpc.CallOption) (*Empty, error) ListArchivalEntries(ctx context.Context, in *ListArchivalEntriesRequest, opts ...grpc.CallOption) (*ListArchivalEntriesResponse, error) ListArchivalEvents(ctx context.Context, in *ListArchivalEventsRequest, opts ...grpc.CallOption) (*ListArchivalEventsResponse, error) DeleteArchivalRequest(ctx context.Context, in *DeletionRequest, opts ...grpc.CallOption) (*Empty, error) RetryArchivalRequestDownloadss(ctx context.Context, in *RetryRequest, opts ...grpc.CallOption) (*Empty, error) GetDownloadsInProgress(ctx context.Context, in *DownloadsInProgressRequest, opts ...grpc.CallOption) (*DownloadsInProgressResponse, error) GetUnapprovedVideoList(ctx context.Context, in *Empty, opts ...grpc.CallOption) (*UnapprovedList, error) ApproveVideo(ctx context.Context, in *ApproveVideoReq, opts ...grpc.CallOption) (*Empty, error) UnapproveVideo(ctx context.Context, in *ApproveVideoReq, opts ...grpc.CallOption) (*Empty, error) GetInferenceCategories(ctx context.Context, in *Empty, opts ...grpc.CallOption) (*InferenceList, error) AddInferenceCategory(ctx context.Context, in *InferenceEntry, opts ...grpc.CallOption) (*Empty, error) }
SchedulerClient is the client API for Scheduler 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 NewSchedulerClient ¶
func NewSchedulerClient(cc grpc.ClientConnInterface) SchedulerClient
type SchedulerServer ¶
type SchedulerServer interface { DlURL(context.Context, *URLRequest) (*Empty, error) ListArchivalEntries(context.Context, *ListArchivalEntriesRequest) (*ListArchivalEntriesResponse, error) ListArchivalEvents(context.Context, *ListArchivalEventsRequest) (*ListArchivalEventsResponse, error) DeleteArchivalRequest(context.Context, *DeletionRequest) (*Empty, error) RetryArchivalRequestDownloadss(context.Context, *RetryRequest) (*Empty, error) GetDownloadsInProgress(context.Context, *DownloadsInProgressRequest) (*DownloadsInProgressResponse, error) GetUnapprovedVideoList(context.Context, *Empty) (*UnapprovedList, error) ApproveVideo(context.Context, *ApproveVideoReq) (*Empty, error) UnapproveVideo(context.Context, *ApproveVideoReq) (*Empty, error) GetInferenceCategories(context.Context, *Empty) (*InferenceList, error) AddInferenceCategory(context.Context, *InferenceEntry) (*Empty, error) // contains filtered or unexported methods }
SchedulerServer is the server API for Scheduler service. All implementations must embed UnimplementedSchedulerServer for forward compatibility
type URLRequest ¶
type URLRequest struct { Url string `protobuf:"bytes,1,opt,name=url,proto3" json:"url,omitempty"` UserID int64 `protobuf:"varint,2,opt,name=userID,proto3" json:"userID,omitempty"` // contains filtered or unexported fields }
func (*URLRequest) Descriptor
deprecated
func (*URLRequest) Descriptor() ([]byte, []int)
Deprecated: Use URLRequest.ProtoReflect.Descriptor instead.
func (*URLRequest) GetUrl ¶
func (x *URLRequest) GetUrl() string
func (*URLRequest) GetUserID ¶
func (x *URLRequest) GetUserID() int64
func (*URLRequest) ProtoMessage ¶
func (*URLRequest) ProtoMessage()
func (*URLRequest) ProtoReflect ¶
func (x *URLRequest) ProtoReflect() protoreflect.Message
func (*URLRequest) Reset ¶
func (x *URLRequest) Reset()
func (*URLRequest) String ¶
func (x *URLRequest) String() string
func (*URLRequest) Validate ¶
func (m *URLRequest) Validate() error
Validate checks the field values on URLRequest with the rules defined in the proto definition for this message. If any rules are violated, the first error encountered is returned, or nil if there are no violations.
func (*URLRequest) ValidateAll ¶
func (m *URLRequest) ValidateAll() error
ValidateAll checks the field values on URLRequest with the rules defined in the proto definition for this message. If any rules are violated, the result is a list of violation errors wrapped in URLRequestMultiError, or nil if none found.
type URLRequestMultiError ¶
type URLRequestMultiError []error
URLRequestMultiError is an error wrapping multiple validation errors returned by URLRequest.ValidateAll() if the designated constraints aren't met.
func (URLRequestMultiError) AllErrors ¶
func (m URLRequestMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (URLRequestMultiError) Error ¶
func (m URLRequestMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type URLRequestValidationError ¶
type URLRequestValidationError struct {
// contains filtered or unexported fields
}
URLRequestValidationError is the validation error returned by URLRequest.Validate if the designated constraints aren't met.
func (URLRequestValidationError) Cause ¶
func (e URLRequestValidationError) Cause() error
Cause function returns cause value.
func (URLRequestValidationError) Error ¶
func (e URLRequestValidationError) Error() string
Error satisfies the builtin error interface
func (URLRequestValidationError) ErrorName ¶
func (e URLRequestValidationError) ErrorName() string
ErrorName returns error name.
func (URLRequestValidationError) Field ¶
func (e URLRequestValidationError) Field() string
Field function returns field value.
func (URLRequestValidationError) Key ¶
func (e URLRequestValidationError) Key() bool
Key function returns key value.
func (URLRequestValidationError) Reason ¶
func (e URLRequestValidationError) Reason() string
Reason function returns reason value.
type UnapprovedList ¶
type UnapprovedList struct { UnapprovedVideos []*UnapprovedVideo `protobuf:"bytes,1,rep,name=UnapprovedVideos,proto3" json:"UnapprovedVideos,omitempty"` // contains filtered or unexported fields }
func (*UnapprovedList) Descriptor
deprecated
func (*UnapprovedList) Descriptor() ([]byte, []int)
Deprecated: Use UnapprovedList.ProtoReflect.Descriptor instead.
func (*UnapprovedList) GetUnapprovedVideos ¶
func (x *UnapprovedList) GetUnapprovedVideos() []*UnapprovedVideo
func (*UnapprovedList) ProtoMessage ¶
func (*UnapprovedList) ProtoMessage()
func (*UnapprovedList) ProtoReflect ¶
func (x *UnapprovedList) ProtoReflect() protoreflect.Message
func (*UnapprovedList) Reset ¶
func (x *UnapprovedList) Reset()
func (*UnapprovedList) String ¶
func (x *UnapprovedList) String() string
func (*UnapprovedList) Validate ¶
func (m *UnapprovedList) Validate() error
Validate checks the field values on UnapprovedList with the rules defined in the proto definition for this message. If any rules are violated, the first error encountered is returned, or nil if there are no violations.
func (*UnapprovedList) ValidateAll ¶
func (m *UnapprovedList) ValidateAll() error
ValidateAll checks the field values on UnapprovedList with the rules defined in the proto definition for this message. If any rules are violated, the result is a list of violation errors wrapped in UnapprovedListMultiError, or nil if none found.
type UnapprovedListMultiError ¶
type UnapprovedListMultiError []error
UnapprovedListMultiError is an error wrapping multiple validation errors returned by UnapprovedList.ValidateAll() if the designated constraints aren't met.
func (UnapprovedListMultiError) AllErrors ¶
func (m UnapprovedListMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (UnapprovedListMultiError) Error ¶
func (m UnapprovedListMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type UnapprovedListValidationError ¶
type UnapprovedListValidationError struct {
// contains filtered or unexported fields
}
UnapprovedListValidationError is the validation error returned by UnapprovedList.Validate if the designated constraints aren't met.
func (UnapprovedListValidationError) Cause ¶
func (e UnapprovedListValidationError) Cause() error
Cause function returns cause value.
func (UnapprovedListValidationError) Error ¶
func (e UnapprovedListValidationError) Error() string
Error satisfies the builtin error interface
func (UnapprovedListValidationError) ErrorName ¶
func (e UnapprovedListValidationError) ErrorName() string
ErrorName returns error name.
func (UnapprovedListValidationError) Field ¶
func (e UnapprovedListValidationError) Field() string
Field function returns field value.
func (UnapprovedListValidationError) Key ¶
func (e UnapprovedListValidationError) Key() bool
Key function returns key value.
func (UnapprovedListValidationError) Reason ¶
func (e UnapprovedListValidationError) Reason() string
Reason function returns reason value.
type UnapprovedVideo ¶
type UnapprovedVideo struct { VideoID string `protobuf:"bytes,1,opt,name=VideoID,proto3" json:"VideoID,omitempty"` Url string `protobuf:"bytes,2,opt,name=url,proto3" json:"url,omitempty"` Category string `protobuf:"bytes,3,opt,name=category,proto3" json:"category,omitempty"` // contains filtered or unexported fields }
func (*UnapprovedVideo) Descriptor
deprecated
func (*UnapprovedVideo) Descriptor() ([]byte, []int)
Deprecated: Use UnapprovedVideo.ProtoReflect.Descriptor instead.
func (*UnapprovedVideo) GetCategory ¶
func (x *UnapprovedVideo) GetCategory() string
func (*UnapprovedVideo) GetUrl ¶
func (x *UnapprovedVideo) GetUrl() string
func (*UnapprovedVideo) GetVideoID ¶
func (x *UnapprovedVideo) GetVideoID() string
func (*UnapprovedVideo) ProtoMessage ¶
func (*UnapprovedVideo) ProtoMessage()
func (*UnapprovedVideo) ProtoReflect ¶
func (x *UnapprovedVideo) ProtoReflect() protoreflect.Message
func (*UnapprovedVideo) Reset ¶
func (x *UnapprovedVideo) Reset()
func (*UnapprovedVideo) String ¶
func (x *UnapprovedVideo) String() string
func (*UnapprovedVideo) Validate ¶
func (m *UnapprovedVideo) Validate() error
Validate checks the field values on UnapprovedVideo with the rules defined in the proto definition for this message. If any rules are violated, the first error encountered is returned, or nil if there are no violations.
func (*UnapprovedVideo) ValidateAll ¶
func (m *UnapprovedVideo) ValidateAll() error
ValidateAll checks the field values on UnapprovedVideo with the rules defined in the proto definition for this message. If any rules are violated, the result is a list of violation errors wrapped in UnapprovedVideoMultiError, or nil if none found.
type UnapprovedVideoMultiError ¶
type UnapprovedVideoMultiError []error
UnapprovedVideoMultiError is an error wrapping multiple validation errors returned by UnapprovedVideo.ValidateAll() if the designated constraints aren't met.
func (UnapprovedVideoMultiError) AllErrors ¶
func (m UnapprovedVideoMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (UnapprovedVideoMultiError) Error ¶
func (m UnapprovedVideoMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type UnapprovedVideoValidationError ¶
type UnapprovedVideoValidationError struct {
// contains filtered or unexported fields
}
UnapprovedVideoValidationError is the validation error returned by UnapprovedVideo.Validate if the designated constraints aren't met.
func (UnapprovedVideoValidationError) Cause ¶
func (e UnapprovedVideoValidationError) Cause() error
Cause function returns cause value.
func (UnapprovedVideoValidationError) Error ¶
func (e UnapprovedVideoValidationError) Error() string
Error satisfies the builtin error interface
func (UnapprovedVideoValidationError) ErrorName ¶
func (e UnapprovedVideoValidationError) ErrorName() string
ErrorName returns error name.
func (UnapprovedVideoValidationError) Field ¶
func (e UnapprovedVideoValidationError) Field() string
Field function returns field value.
func (UnapprovedVideoValidationError) Key ¶
func (e UnapprovedVideoValidationError) Key() bool
Key function returns key value.
func (UnapprovedVideoValidationError) Reason ¶
func (e UnapprovedVideoValidationError) Reason() string
Reason function returns reason value.
type UnimplementedSchedulerServer ¶
type UnimplementedSchedulerServer struct { }
UnimplementedSchedulerServer must be embedded to have forward compatible implementations.
func (UnimplementedSchedulerServer) AddInferenceCategory ¶
func (UnimplementedSchedulerServer) AddInferenceCategory(context.Context, *InferenceEntry) (*Empty, error)
func (UnimplementedSchedulerServer) ApproveVideo ¶
func (UnimplementedSchedulerServer) ApproveVideo(context.Context, *ApproveVideoReq) (*Empty, error)
func (UnimplementedSchedulerServer) DeleteArchivalRequest ¶
func (UnimplementedSchedulerServer) DeleteArchivalRequest(context.Context, *DeletionRequest) (*Empty, error)
func (UnimplementedSchedulerServer) DlURL ¶
func (UnimplementedSchedulerServer) DlURL(context.Context, *URLRequest) (*Empty, error)
func (UnimplementedSchedulerServer) GetDownloadsInProgress ¶
func (UnimplementedSchedulerServer) GetDownloadsInProgress(context.Context, *DownloadsInProgressRequest) (*DownloadsInProgressResponse, error)
func (UnimplementedSchedulerServer) GetInferenceCategories ¶
func (UnimplementedSchedulerServer) GetInferenceCategories(context.Context, *Empty) (*InferenceList, error)
func (UnimplementedSchedulerServer) GetUnapprovedVideoList ¶
func (UnimplementedSchedulerServer) GetUnapprovedVideoList(context.Context, *Empty) (*UnapprovedList, error)
func (UnimplementedSchedulerServer) ListArchivalEntries ¶
func (UnimplementedSchedulerServer) ListArchivalEntries(context.Context, *ListArchivalEntriesRequest) (*ListArchivalEntriesResponse, error)
func (UnimplementedSchedulerServer) ListArchivalEvents ¶
func (UnimplementedSchedulerServer) ListArchivalEvents(context.Context, *ListArchivalEventsRequest) (*ListArchivalEventsResponse, error)
func (UnimplementedSchedulerServer) RetryArchivalRequestDownloadss ¶
func (UnimplementedSchedulerServer) RetryArchivalRequestDownloadss(context.Context, *RetryRequest) (*Empty, error)
func (UnimplementedSchedulerServer) UnapproveVideo ¶
func (UnimplementedSchedulerServer) UnapproveVideo(context.Context, *ApproveVideoReq) (*Empty, error)
type UnsafeSchedulerServer ¶
type UnsafeSchedulerServer interface {
// contains filtered or unexported methods
}
UnsafeSchedulerServer may be embedded to opt out of forward compatibility for this service. Use of this interface is not recommended, as added methods to SchedulerServer will result in compilation errors.
type Video ¶
type Video struct { VideoID string `protobuf:"bytes,1,opt,name=VideoID,proto3" json:"VideoID,omitempty"` Website string `protobuf:"bytes,2,opt,name=website,proto3" json:"website,omitempty"` DlStatus VideoDownloadStatus `protobuf:"varint,3,opt,name=dlStatus,proto3,enum=proto.VideoDownloadStatus" json:"dlStatus,omitempty"` // contains filtered or unexported fields }
func (*Video) Descriptor
deprecated
func (*Video) GetDlStatus ¶
func (x *Video) GetDlStatus() VideoDownloadStatus
func (*Video) GetVideoID ¶
func (*Video) GetWebsite ¶
func (*Video) ProtoMessage ¶
func (*Video) ProtoMessage()
func (*Video) ProtoReflect ¶
func (x *Video) ProtoReflect() protoreflect.Message
func (*Video) Validate ¶
Validate checks the field values on Video with the rules defined in the proto definition for this message. If any rules are violated, the first error encountered is returned, or nil if there are no violations.
func (*Video) ValidateAll ¶
ValidateAll checks the field values on Video with the rules defined in the proto definition for this message. If any rules are violated, the result is a list of violation errors wrapped in VideoMultiError, or nil if none found.
type VideoDownloadStatus ¶
type VideoDownloadStatus int32
const ( Video_Queued VideoDownloadStatus = 0 Video_Downloading VideoDownloadStatus = 1 )
func (VideoDownloadStatus) Descriptor ¶
func (VideoDownloadStatus) Descriptor() protoreflect.EnumDescriptor
func (VideoDownloadStatus) Enum ¶
func (x VideoDownloadStatus) Enum() *VideoDownloadStatus
func (VideoDownloadStatus) EnumDescriptor
deprecated
func (VideoDownloadStatus) EnumDescriptor() ([]byte, []int)
Deprecated: Use VideoDownloadStatus.Descriptor instead.
func (VideoDownloadStatus) Number ¶
func (x VideoDownloadStatus) Number() protoreflect.EnumNumber
func (VideoDownloadStatus) String ¶
func (x VideoDownloadStatus) String() string
func (VideoDownloadStatus) Type ¶
func (VideoDownloadStatus) Type() protoreflect.EnumType
type VideoMultiError ¶
type VideoMultiError []error
VideoMultiError is an error wrapping multiple validation errors returned by Video.ValidateAll() if the designated constraints aren't met.
func (VideoMultiError) AllErrors ¶
func (m VideoMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (VideoMultiError) Error ¶
func (m VideoMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type VideoValidationError ¶
type VideoValidationError struct {
// contains filtered or unexported fields
}
VideoValidationError is the validation error returned by Video.Validate if the designated constraints aren't met.
func (VideoValidationError) Cause ¶
func (e VideoValidationError) Cause() error
Cause function returns cause value.
func (VideoValidationError) Error ¶
func (e VideoValidationError) Error() string
Error satisfies the builtin error interface
func (VideoValidationError) ErrorName ¶
func (e VideoValidationError) ErrorName() string
ErrorName returns error name.
func (VideoValidationError) Field ¶
func (e VideoValidationError) Field() string
Field function returns field value.
func (VideoValidationError) Key ¶
func (e VideoValidationError) Key() bool
Key function returns key value.
func (VideoValidationError) Reason ¶
func (e VideoValidationError) Reason() string
Reason function returns reason value.