Files
stream.api/internal/api/proto/app/v1/admin.pb.go
2026-04-02 11:01:30 +00:00

6239 lines
205 KiB
Go

// Code generated by protoc-gen-go. DO NOT EDIT.
// versions:
// protoc-gen-go v1.36.11
// protoc (unknown)
// source: app/v1/admin.proto
package appv1
import (
protoreflect "google.golang.org/protobuf/reflect/protoreflect"
protoimpl "google.golang.org/protobuf/runtime/protoimpl"
reflect "reflect"
sync "sync"
unsafe "unsafe"
)
const (
// Verify that this generated code is sufficiently up-to-date.
_ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion)
// Verify that runtime/protoimpl is sufficiently up-to-date.
_ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20)
)
type GetAdminDashboardRequest struct {
state protoimpl.MessageState `protogen:"open.v1"`
unknownFields protoimpl.UnknownFields
sizeCache protoimpl.SizeCache
}
func (x *GetAdminDashboardRequest) Reset() {
*x = GetAdminDashboardRequest{}
mi := &file_app_v1_admin_proto_msgTypes[0]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
func (x *GetAdminDashboardRequest) String() string {
return protoimpl.X.MessageStringOf(x)
}
func (*GetAdminDashboardRequest) ProtoMessage() {}
func (x *GetAdminDashboardRequest) ProtoReflect() protoreflect.Message {
mi := &file_app_v1_admin_proto_msgTypes[0]
if x != nil {
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
if ms.LoadMessageInfo() == nil {
ms.StoreMessageInfo(mi)
}
return ms
}
return mi.MessageOf(x)
}
// Deprecated: Use GetAdminDashboardRequest.ProtoReflect.Descriptor instead.
func (*GetAdminDashboardRequest) Descriptor() ([]byte, []int) {
return file_app_v1_admin_proto_rawDescGZIP(), []int{0}
}
type GetAdminDashboardResponse struct {
state protoimpl.MessageState `protogen:"open.v1"`
Dashboard *AdminDashboard `protobuf:"bytes,1,opt,name=dashboard,proto3" json:"dashboard,omitempty"`
unknownFields protoimpl.UnknownFields
sizeCache protoimpl.SizeCache
}
func (x *GetAdminDashboardResponse) Reset() {
*x = GetAdminDashboardResponse{}
mi := &file_app_v1_admin_proto_msgTypes[1]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
func (x *GetAdminDashboardResponse) String() string {
return protoimpl.X.MessageStringOf(x)
}
func (*GetAdminDashboardResponse) ProtoMessage() {}
func (x *GetAdminDashboardResponse) ProtoReflect() protoreflect.Message {
mi := &file_app_v1_admin_proto_msgTypes[1]
if x != nil {
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
if ms.LoadMessageInfo() == nil {
ms.StoreMessageInfo(mi)
}
return ms
}
return mi.MessageOf(x)
}
// Deprecated: Use GetAdminDashboardResponse.ProtoReflect.Descriptor instead.
func (*GetAdminDashboardResponse) Descriptor() ([]byte, []int) {
return file_app_v1_admin_proto_rawDescGZIP(), []int{1}
}
func (x *GetAdminDashboardResponse) GetDashboard() *AdminDashboard {
if x != nil {
return x.Dashboard
}
return nil
}
type ListAdminUsersRequest struct {
state protoimpl.MessageState `protogen:"open.v1"`
Page int32 `protobuf:"varint,1,opt,name=page,proto3" json:"page,omitempty"`
Limit int32 `protobuf:"varint,2,opt,name=limit,proto3" json:"limit,omitempty"`
Search *string `protobuf:"bytes,3,opt,name=search,proto3,oneof" json:"search,omitempty"`
Role *string `protobuf:"bytes,4,opt,name=role,proto3,oneof" json:"role,omitempty"`
unknownFields protoimpl.UnknownFields
sizeCache protoimpl.SizeCache
}
func (x *ListAdminUsersRequest) Reset() {
*x = ListAdminUsersRequest{}
mi := &file_app_v1_admin_proto_msgTypes[2]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
func (x *ListAdminUsersRequest) String() string {
return protoimpl.X.MessageStringOf(x)
}
func (*ListAdminUsersRequest) ProtoMessage() {}
func (x *ListAdminUsersRequest) ProtoReflect() protoreflect.Message {
mi := &file_app_v1_admin_proto_msgTypes[2]
if x != nil {
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
if ms.LoadMessageInfo() == nil {
ms.StoreMessageInfo(mi)
}
return ms
}
return mi.MessageOf(x)
}
// Deprecated: Use ListAdminUsersRequest.ProtoReflect.Descriptor instead.
func (*ListAdminUsersRequest) Descriptor() ([]byte, []int) {
return file_app_v1_admin_proto_rawDescGZIP(), []int{2}
}
func (x *ListAdminUsersRequest) GetPage() int32 {
if x != nil {
return x.Page
}
return 0
}
func (x *ListAdminUsersRequest) GetLimit() int32 {
if x != nil {
return x.Limit
}
return 0
}
func (x *ListAdminUsersRequest) GetSearch() string {
if x != nil && x.Search != nil {
return *x.Search
}
return ""
}
func (x *ListAdminUsersRequest) GetRole() string {
if x != nil && x.Role != nil {
return *x.Role
}
return ""
}
type ListAdminUsersResponse struct {
state protoimpl.MessageState `protogen:"open.v1"`
Users []*AdminUser `protobuf:"bytes,1,rep,name=users,proto3" json:"users,omitempty"`
Total int64 `protobuf:"varint,2,opt,name=total,proto3" json:"total,omitempty"`
Page int32 `protobuf:"varint,3,opt,name=page,proto3" json:"page,omitempty"`
Limit int32 `protobuf:"varint,4,opt,name=limit,proto3" json:"limit,omitempty"`
unknownFields protoimpl.UnknownFields
sizeCache protoimpl.SizeCache
}
func (x *ListAdminUsersResponse) Reset() {
*x = ListAdminUsersResponse{}
mi := &file_app_v1_admin_proto_msgTypes[3]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
func (x *ListAdminUsersResponse) String() string {
return protoimpl.X.MessageStringOf(x)
}
func (*ListAdminUsersResponse) ProtoMessage() {}
func (x *ListAdminUsersResponse) ProtoReflect() protoreflect.Message {
mi := &file_app_v1_admin_proto_msgTypes[3]
if x != nil {
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
if ms.LoadMessageInfo() == nil {
ms.StoreMessageInfo(mi)
}
return ms
}
return mi.MessageOf(x)
}
// Deprecated: Use ListAdminUsersResponse.ProtoReflect.Descriptor instead.
func (*ListAdminUsersResponse) Descriptor() ([]byte, []int) {
return file_app_v1_admin_proto_rawDescGZIP(), []int{3}
}
func (x *ListAdminUsersResponse) GetUsers() []*AdminUser {
if x != nil {
return x.Users
}
return nil
}
func (x *ListAdminUsersResponse) GetTotal() int64 {
if x != nil {
return x.Total
}
return 0
}
func (x *ListAdminUsersResponse) GetPage() int32 {
if x != nil {
return x.Page
}
return 0
}
func (x *ListAdminUsersResponse) GetLimit() int32 {
if x != nil {
return x.Limit
}
return 0
}
type GetAdminUserRequest struct {
state protoimpl.MessageState `protogen:"open.v1"`
Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"`
unknownFields protoimpl.UnknownFields
sizeCache protoimpl.SizeCache
}
func (x *GetAdminUserRequest) Reset() {
*x = GetAdminUserRequest{}
mi := &file_app_v1_admin_proto_msgTypes[4]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
func (x *GetAdminUserRequest) String() string {
return protoimpl.X.MessageStringOf(x)
}
func (*GetAdminUserRequest) ProtoMessage() {}
func (x *GetAdminUserRequest) ProtoReflect() protoreflect.Message {
mi := &file_app_v1_admin_proto_msgTypes[4]
if x != nil {
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
if ms.LoadMessageInfo() == nil {
ms.StoreMessageInfo(mi)
}
return ms
}
return mi.MessageOf(x)
}
// Deprecated: Use GetAdminUserRequest.ProtoReflect.Descriptor instead.
func (*GetAdminUserRequest) Descriptor() ([]byte, []int) {
return file_app_v1_admin_proto_rawDescGZIP(), []int{4}
}
func (x *GetAdminUserRequest) GetId() string {
if x != nil {
return x.Id
}
return ""
}
type GetAdminUserResponse struct {
state protoimpl.MessageState `protogen:"open.v1"`
User *AdminUserDetail `protobuf:"bytes,1,opt,name=user,proto3" json:"user,omitempty"`
unknownFields protoimpl.UnknownFields
sizeCache protoimpl.SizeCache
}
func (x *GetAdminUserResponse) Reset() {
*x = GetAdminUserResponse{}
mi := &file_app_v1_admin_proto_msgTypes[5]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
func (x *GetAdminUserResponse) String() string {
return protoimpl.X.MessageStringOf(x)
}
func (*GetAdminUserResponse) ProtoMessage() {}
func (x *GetAdminUserResponse) ProtoReflect() protoreflect.Message {
mi := &file_app_v1_admin_proto_msgTypes[5]
if x != nil {
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
if ms.LoadMessageInfo() == nil {
ms.StoreMessageInfo(mi)
}
return ms
}
return mi.MessageOf(x)
}
// Deprecated: Use GetAdminUserResponse.ProtoReflect.Descriptor instead.
func (*GetAdminUserResponse) Descriptor() ([]byte, []int) {
return file_app_v1_admin_proto_rawDescGZIP(), []int{5}
}
func (x *GetAdminUserResponse) GetUser() *AdminUserDetail {
if x != nil {
return x.User
}
return nil
}
type CreateAdminUserRequest struct {
state protoimpl.MessageState `protogen:"open.v1"`
Email string `protobuf:"bytes,1,opt,name=email,proto3" json:"email,omitempty"`
Username *string `protobuf:"bytes,2,opt,name=username,proto3,oneof" json:"username,omitempty"`
Password string `protobuf:"bytes,3,opt,name=password,proto3" json:"password,omitempty"`
Role *string `protobuf:"bytes,4,opt,name=role,proto3,oneof" json:"role,omitempty"`
PlanId *string `protobuf:"bytes,5,opt,name=plan_id,json=planId,proto3,oneof" json:"plan_id,omitempty"`
unknownFields protoimpl.UnknownFields
sizeCache protoimpl.SizeCache
}
func (x *CreateAdminUserRequest) Reset() {
*x = CreateAdminUserRequest{}
mi := &file_app_v1_admin_proto_msgTypes[6]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
func (x *CreateAdminUserRequest) String() string {
return protoimpl.X.MessageStringOf(x)
}
func (*CreateAdminUserRequest) ProtoMessage() {}
func (x *CreateAdminUserRequest) ProtoReflect() protoreflect.Message {
mi := &file_app_v1_admin_proto_msgTypes[6]
if x != nil {
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
if ms.LoadMessageInfo() == nil {
ms.StoreMessageInfo(mi)
}
return ms
}
return mi.MessageOf(x)
}
// Deprecated: Use CreateAdminUserRequest.ProtoReflect.Descriptor instead.
func (*CreateAdminUserRequest) Descriptor() ([]byte, []int) {
return file_app_v1_admin_proto_rawDescGZIP(), []int{6}
}
func (x *CreateAdminUserRequest) GetEmail() string {
if x != nil {
return x.Email
}
return ""
}
func (x *CreateAdminUserRequest) GetUsername() string {
if x != nil && x.Username != nil {
return *x.Username
}
return ""
}
func (x *CreateAdminUserRequest) GetPassword() string {
if x != nil {
return x.Password
}
return ""
}
func (x *CreateAdminUserRequest) GetRole() string {
if x != nil && x.Role != nil {
return *x.Role
}
return ""
}
func (x *CreateAdminUserRequest) GetPlanId() string {
if x != nil && x.PlanId != nil {
return *x.PlanId
}
return ""
}
type CreateAdminUserResponse struct {
state protoimpl.MessageState `protogen:"open.v1"`
User *AdminUser `protobuf:"bytes,1,opt,name=user,proto3" json:"user,omitempty"`
unknownFields protoimpl.UnknownFields
sizeCache protoimpl.SizeCache
}
func (x *CreateAdminUserResponse) Reset() {
*x = CreateAdminUserResponse{}
mi := &file_app_v1_admin_proto_msgTypes[7]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
func (x *CreateAdminUserResponse) String() string {
return protoimpl.X.MessageStringOf(x)
}
func (*CreateAdminUserResponse) ProtoMessage() {}
func (x *CreateAdminUserResponse) ProtoReflect() protoreflect.Message {
mi := &file_app_v1_admin_proto_msgTypes[7]
if x != nil {
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
if ms.LoadMessageInfo() == nil {
ms.StoreMessageInfo(mi)
}
return ms
}
return mi.MessageOf(x)
}
// Deprecated: Use CreateAdminUserResponse.ProtoReflect.Descriptor instead.
func (*CreateAdminUserResponse) Descriptor() ([]byte, []int) {
return file_app_v1_admin_proto_rawDescGZIP(), []int{7}
}
func (x *CreateAdminUserResponse) GetUser() *AdminUser {
if x != nil {
return x.User
}
return nil
}
type UpdateAdminUserRequest struct {
state protoimpl.MessageState `protogen:"open.v1"`
Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"`
Email *string `protobuf:"bytes,2,opt,name=email,proto3,oneof" json:"email,omitempty"`
Username *string `protobuf:"bytes,3,opt,name=username,proto3,oneof" json:"username,omitempty"`
Password *string `protobuf:"bytes,4,opt,name=password,proto3,oneof" json:"password,omitempty"`
Role *string `protobuf:"bytes,5,opt,name=role,proto3,oneof" json:"role,omitempty"`
PlanId *string `protobuf:"bytes,6,opt,name=plan_id,json=planId,proto3,oneof" json:"plan_id,omitempty"`
unknownFields protoimpl.UnknownFields
sizeCache protoimpl.SizeCache
}
func (x *UpdateAdminUserRequest) Reset() {
*x = UpdateAdminUserRequest{}
mi := &file_app_v1_admin_proto_msgTypes[8]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
func (x *UpdateAdminUserRequest) String() string {
return protoimpl.X.MessageStringOf(x)
}
func (*UpdateAdminUserRequest) ProtoMessage() {}
func (x *UpdateAdminUserRequest) ProtoReflect() protoreflect.Message {
mi := &file_app_v1_admin_proto_msgTypes[8]
if x != nil {
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
if ms.LoadMessageInfo() == nil {
ms.StoreMessageInfo(mi)
}
return ms
}
return mi.MessageOf(x)
}
// Deprecated: Use UpdateAdminUserRequest.ProtoReflect.Descriptor instead.
func (*UpdateAdminUserRequest) Descriptor() ([]byte, []int) {
return file_app_v1_admin_proto_rawDescGZIP(), []int{8}
}
func (x *UpdateAdminUserRequest) GetId() string {
if x != nil {
return x.Id
}
return ""
}
func (x *UpdateAdminUserRequest) GetEmail() string {
if x != nil && x.Email != nil {
return *x.Email
}
return ""
}
func (x *UpdateAdminUserRequest) GetUsername() string {
if x != nil && x.Username != nil {
return *x.Username
}
return ""
}
func (x *UpdateAdminUserRequest) GetPassword() string {
if x != nil && x.Password != nil {
return *x.Password
}
return ""
}
func (x *UpdateAdminUserRequest) GetRole() string {
if x != nil && x.Role != nil {
return *x.Role
}
return ""
}
func (x *UpdateAdminUserRequest) GetPlanId() string {
if x != nil && x.PlanId != nil {
return *x.PlanId
}
return ""
}
type UpdateAdminUserResponse struct {
state protoimpl.MessageState `protogen:"open.v1"`
User *AdminUser `protobuf:"bytes,1,opt,name=user,proto3" json:"user,omitempty"`
unknownFields protoimpl.UnknownFields
sizeCache protoimpl.SizeCache
}
func (x *UpdateAdminUserResponse) Reset() {
*x = UpdateAdminUserResponse{}
mi := &file_app_v1_admin_proto_msgTypes[9]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
func (x *UpdateAdminUserResponse) String() string {
return protoimpl.X.MessageStringOf(x)
}
func (*UpdateAdminUserResponse) ProtoMessage() {}
func (x *UpdateAdminUserResponse) ProtoReflect() protoreflect.Message {
mi := &file_app_v1_admin_proto_msgTypes[9]
if x != nil {
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
if ms.LoadMessageInfo() == nil {
ms.StoreMessageInfo(mi)
}
return ms
}
return mi.MessageOf(x)
}
// Deprecated: Use UpdateAdminUserResponse.ProtoReflect.Descriptor instead.
func (*UpdateAdminUserResponse) Descriptor() ([]byte, []int) {
return file_app_v1_admin_proto_rawDescGZIP(), []int{9}
}
func (x *UpdateAdminUserResponse) GetUser() *AdminUser {
if x != nil {
return x.User
}
return nil
}
type UpdateAdminUserReferralSettingsRequest struct {
state protoimpl.MessageState `protogen:"open.v1"`
Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"`
RefUsername *string `protobuf:"bytes,2,opt,name=ref_username,json=refUsername,proto3,oneof" json:"ref_username,omitempty"`
ClearReferrer *bool `protobuf:"varint,3,opt,name=clear_referrer,json=clearReferrer,proto3,oneof" json:"clear_referrer,omitempty"`
ReferralEligible *bool `protobuf:"varint,4,opt,name=referral_eligible,json=referralEligible,proto3,oneof" json:"referral_eligible,omitempty"`
ReferralRewardBps *int32 `protobuf:"varint,5,opt,name=referral_reward_bps,json=referralRewardBps,proto3,oneof" json:"referral_reward_bps,omitempty"`
ClearReferralRewardBps *bool `protobuf:"varint,6,opt,name=clear_referral_reward_bps,json=clearReferralRewardBps,proto3,oneof" json:"clear_referral_reward_bps,omitempty"`
unknownFields protoimpl.UnknownFields
sizeCache protoimpl.SizeCache
}
func (x *UpdateAdminUserReferralSettingsRequest) Reset() {
*x = UpdateAdminUserReferralSettingsRequest{}
mi := &file_app_v1_admin_proto_msgTypes[10]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
func (x *UpdateAdminUserReferralSettingsRequest) String() string {
return protoimpl.X.MessageStringOf(x)
}
func (*UpdateAdminUserReferralSettingsRequest) ProtoMessage() {}
func (x *UpdateAdminUserReferralSettingsRequest) ProtoReflect() protoreflect.Message {
mi := &file_app_v1_admin_proto_msgTypes[10]
if x != nil {
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
if ms.LoadMessageInfo() == nil {
ms.StoreMessageInfo(mi)
}
return ms
}
return mi.MessageOf(x)
}
// Deprecated: Use UpdateAdminUserReferralSettingsRequest.ProtoReflect.Descriptor instead.
func (*UpdateAdminUserReferralSettingsRequest) Descriptor() ([]byte, []int) {
return file_app_v1_admin_proto_rawDescGZIP(), []int{10}
}
func (x *UpdateAdminUserReferralSettingsRequest) GetId() string {
if x != nil {
return x.Id
}
return ""
}
func (x *UpdateAdminUserReferralSettingsRequest) GetRefUsername() string {
if x != nil && x.RefUsername != nil {
return *x.RefUsername
}
return ""
}
func (x *UpdateAdminUserReferralSettingsRequest) GetClearReferrer() bool {
if x != nil && x.ClearReferrer != nil {
return *x.ClearReferrer
}
return false
}
func (x *UpdateAdminUserReferralSettingsRequest) GetReferralEligible() bool {
if x != nil && x.ReferralEligible != nil {
return *x.ReferralEligible
}
return false
}
func (x *UpdateAdminUserReferralSettingsRequest) GetReferralRewardBps() int32 {
if x != nil && x.ReferralRewardBps != nil {
return *x.ReferralRewardBps
}
return 0
}
func (x *UpdateAdminUserReferralSettingsRequest) GetClearReferralRewardBps() bool {
if x != nil && x.ClearReferralRewardBps != nil {
return *x.ClearReferralRewardBps
}
return false
}
type UpdateAdminUserReferralSettingsResponse struct {
state protoimpl.MessageState `protogen:"open.v1"`
User *AdminUserDetail `protobuf:"bytes,1,opt,name=user,proto3" json:"user,omitempty"`
unknownFields protoimpl.UnknownFields
sizeCache protoimpl.SizeCache
}
func (x *UpdateAdminUserReferralSettingsResponse) Reset() {
*x = UpdateAdminUserReferralSettingsResponse{}
mi := &file_app_v1_admin_proto_msgTypes[11]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
func (x *UpdateAdminUserReferralSettingsResponse) String() string {
return protoimpl.X.MessageStringOf(x)
}
func (*UpdateAdminUserReferralSettingsResponse) ProtoMessage() {}
func (x *UpdateAdminUserReferralSettingsResponse) ProtoReflect() protoreflect.Message {
mi := &file_app_v1_admin_proto_msgTypes[11]
if x != nil {
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
if ms.LoadMessageInfo() == nil {
ms.StoreMessageInfo(mi)
}
return ms
}
return mi.MessageOf(x)
}
// Deprecated: Use UpdateAdminUserReferralSettingsResponse.ProtoReflect.Descriptor instead.
func (*UpdateAdminUserReferralSettingsResponse) Descriptor() ([]byte, []int) {
return file_app_v1_admin_proto_rawDescGZIP(), []int{11}
}
func (x *UpdateAdminUserReferralSettingsResponse) GetUser() *AdminUserDetail {
if x != nil {
return x.User
}
return nil
}
type UpdateAdminUserRoleRequest struct {
state protoimpl.MessageState `protogen:"open.v1"`
Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"`
Role string `protobuf:"bytes,2,opt,name=role,proto3" json:"role,omitempty"`
unknownFields protoimpl.UnknownFields
sizeCache protoimpl.SizeCache
}
func (x *UpdateAdminUserRoleRequest) Reset() {
*x = UpdateAdminUserRoleRequest{}
mi := &file_app_v1_admin_proto_msgTypes[12]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
func (x *UpdateAdminUserRoleRequest) String() string {
return protoimpl.X.MessageStringOf(x)
}
func (*UpdateAdminUserRoleRequest) ProtoMessage() {}
func (x *UpdateAdminUserRoleRequest) ProtoReflect() protoreflect.Message {
mi := &file_app_v1_admin_proto_msgTypes[12]
if x != nil {
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
if ms.LoadMessageInfo() == nil {
ms.StoreMessageInfo(mi)
}
return ms
}
return mi.MessageOf(x)
}
// Deprecated: Use UpdateAdminUserRoleRequest.ProtoReflect.Descriptor instead.
func (*UpdateAdminUserRoleRequest) Descriptor() ([]byte, []int) {
return file_app_v1_admin_proto_rawDescGZIP(), []int{12}
}
func (x *UpdateAdminUserRoleRequest) GetId() string {
if x != nil {
return x.Id
}
return ""
}
func (x *UpdateAdminUserRoleRequest) GetRole() string {
if x != nil {
return x.Role
}
return ""
}
type UpdateAdminUserRoleResponse struct {
state protoimpl.MessageState `protogen:"open.v1"`
Message string `protobuf:"bytes,1,opt,name=message,proto3" json:"message,omitempty"`
Role string `protobuf:"bytes,2,opt,name=role,proto3" json:"role,omitempty"`
unknownFields protoimpl.UnknownFields
sizeCache protoimpl.SizeCache
}
func (x *UpdateAdminUserRoleResponse) Reset() {
*x = UpdateAdminUserRoleResponse{}
mi := &file_app_v1_admin_proto_msgTypes[13]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
func (x *UpdateAdminUserRoleResponse) String() string {
return protoimpl.X.MessageStringOf(x)
}
func (*UpdateAdminUserRoleResponse) ProtoMessage() {}
func (x *UpdateAdminUserRoleResponse) ProtoReflect() protoreflect.Message {
mi := &file_app_v1_admin_proto_msgTypes[13]
if x != nil {
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
if ms.LoadMessageInfo() == nil {
ms.StoreMessageInfo(mi)
}
return ms
}
return mi.MessageOf(x)
}
// Deprecated: Use UpdateAdminUserRoleResponse.ProtoReflect.Descriptor instead.
func (*UpdateAdminUserRoleResponse) Descriptor() ([]byte, []int) {
return file_app_v1_admin_proto_rawDescGZIP(), []int{13}
}
func (x *UpdateAdminUserRoleResponse) GetMessage() string {
if x != nil {
return x.Message
}
return ""
}
func (x *UpdateAdminUserRoleResponse) GetRole() string {
if x != nil {
return x.Role
}
return ""
}
type DeleteAdminUserRequest struct {
state protoimpl.MessageState `protogen:"open.v1"`
Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"`
unknownFields protoimpl.UnknownFields
sizeCache protoimpl.SizeCache
}
func (x *DeleteAdminUserRequest) Reset() {
*x = DeleteAdminUserRequest{}
mi := &file_app_v1_admin_proto_msgTypes[14]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
func (x *DeleteAdminUserRequest) String() string {
return protoimpl.X.MessageStringOf(x)
}
func (*DeleteAdminUserRequest) ProtoMessage() {}
func (x *DeleteAdminUserRequest) ProtoReflect() protoreflect.Message {
mi := &file_app_v1_admin_proto_msgTypes[14]
if x != nil {
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
if ms.LoadMessageInfo() == nil {
ms.StoreMessageInfo(mi)
}
return ms
}
return mi.MessageOf(x)
}
// Deprecated: Use DeleteAdminUserRequest.ProtoReflect.Descriptor instead.
func (*DeleteAdminUserRequest) Descriptor() ([]byte, []int) {
return file_app_v1_admin_proto_rawDescGZIP(), []int{14}
}
func (x *DeleteAdminUserRequest) GetId() string {
if x != nil {
return x.Id
}
return ""
}
type ListAdminVideosRequest struct {
state protoimpl.MessageState `protogen:"open.v1"`
Page int32 `protobuf:"varint,1,opt,name=page,proto3" json:"page,omitempty"`
Limit int32 `protobuf:"varint,2,opt,name=limit,proto3" json:"limit,omitempty"`
Search *string `protobuf:"bytes,3,opt,name=search,proto3,oneof" json:"search,omitempty"`
UserId *string `protobuf:"bytes,4,opt,name=user_id,json=userId,proto3,oneof" json:"user_id,omitempty"`
Status *string `protobuf:"bytes,5,opt,name=status,proto3,oneof" json:"status,omitempty"`
unknownFields protoimpl.UnknownFields
sizeCache protoimpl.SizeCache
}
func (x *ListAdminVideosRequest) Reset() {
*x = ListAdminVideosRequest{}
mi := &file_app_v1_admin_proto_msgTypes[15]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
func (x *ListAdminVideosRequest) String() string {
return protoimpl.X.MessageStringOf(x)
}
func (*ListAdminVideosRequest) ProtoMessage() {}
func (x *ListAdminVideosRequest) ProtoReflect() protoreflect.Message {
mi := &file_app_v1_admin_proto_msgTypes[15]
if x != nil {
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
if ms.LoadMessageInfo() == nil {
ms.StoreMessageInfo(mi)
}
return ms
}
return mi.MessageOf(x)
}
// Deprecated: Use ListAdminVideosRequest.ProtoReflect.Descriptor instead.
func (*ListAdminVideosRequest) Descriptor() ([]byte, []int) {
return file_app_v1_admin_proto_rawDescGZIP(), []int{15}
}
func (x *ListAdminVideosRequest) GetPage() int32 {
if x != nil {
return x.Page
}
return 0
}
func (x *ListAdminVideosRequest) GetLimit() int32 {
if x != nil {
return x.Limit
}
return 0
}
func (x *ListAdminVideosRequest) GetSearch() string {
if x != nil && x.Search != nil {
return *x.Search
}
return ""
}
func (x *ListAdminVideosRequest) GetUserId() string {
if x != nil && x.UserId != nil {
return *x.UserId
}
return ""
}
func (x *ListAdminVideosRequest) GetStatus() string {
if x != nil && x.Status != nil {
return *x.Status
}
return ""
}
type ListAdminVideosResponse struct {
state protoimpl.MessageState `protogen:"open.v1"`
Videos []*AdminVideo `protobuf:"bytes,1,rep,name=videos,proto3" json:"videos,omitempty"`
Total int64 `protobuf:"varint,2,opt,name=total,proto3" json:"total,omitempty"`
Page int32 `protobuf:"varint,3,opt,name=page,proto3" json:"page,omitempty"`
Limit int32 `protobuf:"varint,4,opt,name=limit,proto3" json:"limit,omitempty"`
unknownFields protoimpl.UnknownFields
sizeCache protoimpl.SizeCache
}
func (x *ListAdminVideosResponse) Reset() {
*x = ListAdminVideosResponse{}
mi := &file_app_v1_admin_proto_msgTypes[16]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
func (x *ListAdminVideosResponse) String() string {
return protoimpl.X.MessageStringOf(x)
}
func (*ListAdminVideosResponse) ProtoMessage() {}
func (x *ListAdminVideosResponse) ProtoReflect() protoreflect.Message {
mi := &file_app_v1_admin_proto_msgTypes[16]
if x != nil {
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
if ms.LoadMessageInfo() == nil {
ms.StoreMessageInfo(mi)
}
return ms
}
return mi.MessageOf(x)
}
// Deprecated: Use ListAdminVideosResponse.ProtoReflect.Descriptor instead.
func (*ListAdminVideosResponse) Descriptor() ([]byte, []int) {
return file_app_v1_admin_proto_rawDescGZIP(), []int{16}
}
func (x *ListAdminVideosResponse) GetVideos() []*AdminVideo {
if x != nil {
return x.Videos
}
return nil
}
func (x *ListAdminVideosResponse) GetTotal() int64 {
if x != nil {
return x.Total
}
return 0
}
func (x *ListAdminVideosResponse) GetPage() int32 {
if x != nil {
return x.Page
}
return 0
}
func (x *ListAdminVideosResponse) GetLimit() int32 {
if x != nil {
return x.Limit
}
return 0
}
type GetAdminVideoRequest struct {
state protoimpl.MessageState `protogen:"open.v1"`
Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"`
unknownFields protoimpl.UnknownFields
sizeCache protoimpl.SizeCache
}
func (x *GetAdminVideoRequest) Reset() {
*x = GetAdminVideoRequest{}
mi := &file_app_v1_admin_proto_msgTypes[17]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
func (x *GetAdminVideoRequest) String() string {
return protoimpl.X.MessageStringOf(x)
}
func (*GetAdminVideoRequest) ProtoMessage() {}
func (x *GetAdminVideoRequest) ProtoReflect() protoreflect.Message {
mi := &file_app_v1_admin_proto_msgTypes[17]
if x != nil {
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
if ms.LoadMessageInfo() == nil {
ms.StoreMessageInfo(mi)
}
return ms
}
return mi.MessageOf(x)
}
// Deprecated: Use GetAdminVideoRequest.ProtoReflect.Descriptor instead.
func (*GetAdminVideoRequest) Descriptor() ([]byte, []int) {
return file_app_v1_admin_proto_rawDescGZIP(), []int{17}
}
func (x *GetAdminVideoRequest) GetId() string {
if x != nil {
return x.Id
}
return ""
}
type GetAdminVideoResponse struct {
state protoimpl.MessageState `protogen:"open.v1"`
Video *AdminVideo `protobuf:"bytes,1,opt,name=video,proto3" json:"video,omitempty"`
unknownFields protoimpl.UnknownFields
sizeCache protoimpl.SizeCache
}
func (x *GetAdminVideoResponse) Reset() {
*x = GetAdminVideoResponse{}
mi := &file_app_v1_admin_proto_msgTypes[18]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
func (x *GetAdminVideoResponse) String() string {
return protoimpl.X.MessageStringOf(x)
}
func (*GetAdminVideoResponse) ProtoMessage() {}
func (x *GetAdminVideoResponse) ProtoReflect() protoreflect.Message {
mi := &file_app_v1_admin_proto_msgTypes[18]
if x != nil {
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
if ms.LoadMessageInfo() == nil {
ms.StoreMessageInfo(mi)
}
return ms
}
return mi.MessageOf(x)
}
// Deprecated: Use GetAdminVideoResponse.ProtoReflect.Descriptor instead.
func (*GetAdminVideoResponse) Descriptor() ([]byte, []int) {
return file_app_v1_admin_proto_rawDescGZIP(), []int{18}
}
func (x *GetAdminVideoResponse) GetVideo() *AdminVideo {
if x != nil {
return x.Video
}
return nil
}
type CreateAdminVideoRequest struct {
state protoimpl.MessageState `protogen:"open.v1"`
UserId string `protobuf:"bytes,1,opt,name=user_id,json=userId,proto3" json:"user_id,omitempty"`
Title string `protobuf:"bytes,2,opt,name=title,proto3" json:"title,omitempty"`
Description *string `protobuf:"bytes,3,opt,name=description,proto3,oneof" json:"description,omitempty"`
Url string `protobuf:"bytes,4,opt,name=url,proto3" json:"url,omitempty"`
Size int64 `protobuf:"varint,5,opt,name=size,proto3" json:"size,omitempty"`
Duration int32 `protobuf:"varint,6,opt,name=duration,proto3" json:"duration,omitempty"`
Format *string `protobuf:"bytes,7,opt,name=format,proto3,oneof" json:"format,omitempty"`
Status *string `protobuf:"bytes,8,opt,name=status,proto3,oneof" json:"status,omitempty"`
AdTemplateId *string `protobuf:"bytes,9,opt,name=ad_template_id,json=adTemplateId,proto3,oneof" json:"ad_template_id,omitempty"`
unknownFields protoimpl.UnknownFields
sizeCache protoimpl.SizeCache
}
func (x *CreateAdminVideoRequest) Reset() {
*x = CreateAdminVideoRequest{}
mi := &file_app_v1_admin_proto_msgTypes[19]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
func (x *CreateAdminVideoRequest) String() string {
return protoimpl.X.MessageStringOf(x)
}
func (*CreateAdminVideoRequest) ProtoMessage() {}
func (x *CreateAdminVideoRequest) ProtoReflect() protoreflect.Message {
mi := &file_app_v1_admin_proto_msgTypes[19]
if x != nil {
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
if ms.LoadMessageInfo() == nil {
ms.StoreMessageInfo(mi)
}
return ms
}
return mi.MessageOf(x)
}
// Deprecated: Use CreateAdminVideoRequest.ProtoReflect.Descriptor instead.
func (*CreateAdminVideoRequest) Descriptor() ([]byte, []int) {
return file_app_v1_admin_proto_rawDescGZIP(), []int{19}
}
func (x *CreateAdminVideoRequest) GetUserId() string {
if x != nil {
return x.UserId
}
return ""
}
func (x *CreateAdminVideoRequest) GetTitle() string {
if x != nil {
return x.Title
}
return ""
}
func (x *CreateAdminVideoRequest) GetDescription() string {
if x != nil && x.Description != nil {
return *x.Description
}
return ""
}
func (x *CreateAdminVideoRequest) GetUrl() string {
if x != nil {
return x.Url
}
return ""
}
func (x *CreateAdminVideoRequest) GetSize() int64 {
if x != nil {
return x.Size
}
return 0
}
func (x *CreateAdminVideoRequest) GetDuration() int32 {
if x != nil {
return x.Duration
}
return 0
}
func (x *CreateAdminVideoRequest) GetFormat() string {
if x != nil && x.Format != nil {
return *x.Format
}
return ""
}
func (x *CreateAdminVideoRequest) GetStatus() string {
if x != nil && x.Status != nil {
return *x.Status
}
return ""
}
func (x *CreateAdminVideoRequest) GetAdTemplateId() string {
if x != nil && x.AdTemplateId != nil {
return *x.AdTemplateId
}
return ""
}
type CreateAdminVideoResponse struct {
state protoimpl.MessageState `protogen:"open.v1"`
Video *AdminVideo `protobuf:"bytes,1,opt,name=video,proto3" json:"video,omitempty"`
unknownFields protoimpl.UnknownFields
sizeCache protoimpl.SizeCache
}
func (x *CreateAdminVideoResponse) Reset() {
*x = CreateAdminVideoResponse{}
mi := &file_app_v1_admin_proto_msgTypes[20]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
func (x *CreateAdminVideoResponse) String() string {
return protoimpl.X.MessageStringOf(x)
}
func (*CreateAdminVideoResponse) ProtoMessage() {}
func (x *CreateAdminVideoResponse) ProtoReflect() protoreflect.Message {
mi := &file_app_v1_admin_proto_msgTypes[20]
if x != nil {
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
if ms.LoadMessageInfo() == nil {
ms.StoreMessageInfo(mi)
}
return ms
}
return mi.MessageOf(x)
}
// Deprecated: Use CreateAdminVideoResponse.ProtoReflect.Descriptor instead.
func (*CreateAdminVideoResponse) Descriptor() ([]byte, []int) {
return file_app_v1_admin_proto_rawDescGZIP(), []int{20}
}
func (x *CreateAdminVideoResponse) GetVideo() *AdminVideo {
if x != nil {
return x.Video
}
return nil
}
type UpdateAdminVideoRequest struct {
state protoimpl.MessageState `protogen:"open.v1"`
Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"`
UserId string `protobuf:"bytes,2,opt,name=user_id,json=userId,proto3" json:"user_id,omitempty"`
Title string `protobuf:"bytes,3,opt,name=title,proto3" json:"title,omitempty"`
Description *string `protobuf:"bytes,4,opt,name=description,proto3,oneof" json:"description,omitempty"`
Url string `protobuf:"bytes,5,opt,name=url,proto3" json:"url,omitempty"`
Size int64 `protobuf:"varint,6,opt,name=size,proto3" json:"size,omitempty"`
Duration int32 `protobuf:"varint,7,opt,name=duration,proto3" json:"duration,omitempty"`
Format *string `protobuf:"bytes,8,opt,name=format,proto3,oneof" json:"format,omitempty"`
Status *string `protobuf:"bytes,9,opt,name=status,proto3,oneof" json:"status,omitempty"`
AdTemplateId *string `protobuf:"bytes,10,opt,name=ad_template_id,json=adTemplateId,proto3,oneof" json:"ad_template_id,omitempty"`
unknownFields protoimpl.UnknownFields
sizeCache protoimpl.SizeCache
}
func (x *UpdateAdminVideoRequest) Reset() {
*x = UpdateAdminVideoRequest{}
mi := &file_app_v1_admin_proto_msgTypes[21]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
func (x *UpdateAdminVideoRequest) String() string {
return protoimpl.X.MessageStringOf(x)
}
func (*UpdateAdminVideoRequest) ProtoMessage() {}
func (x *UpdateAdminVideoRequest) ProtoReflect() protoreflect.Message {
mi := &file_app_v1_admin_proto_msgTypes[21]
if x != nil {
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
if ms.LoadMessageInfo() == nil {
ms.StoreMessageInfo(mi)
}
return ms
}
return mi.MessageOf(x)
}
// Deprecated: Use UpdateAdminVideoRequest.ProtoReflect.Descriptor instead.
func (*UpdateAdminVideoRequest) Descriptor() ([]byte, []int) {
return file_app_v1_admin_proto_rawDescGZIP(), []int{21}
}
func (x *UpdateAdminVideoRequest) GetId() string {
if x != nil {
return x.Id
}
return ""
}
func (x *UpdateAdminVideoRequest) GetUserId() string {
if x != nil {
return x.UserId
}
return ""
}
func (x *UpdateAdminVideoRequest) GetTitle() string {
if x != nil {
return x.Title
}
return ""
}
func (x *UpdateAdminVideoRequest) GetDescription() string {
if x != nil && x.Description != nil {
return *x.Description
}
return ""
}
func (x *UpdateAdminVideoRequest) GetUrl() string {
if x != nil {
return x.Url
}
return ""
}
func (x *UpdateAdminVideoRequest) GetSize() int64 {
if x != nil {
return x.Size
}
return 0
}
func (x *UpdateAdminVideoRequest) GetDuration() int32 {
if x != nil {
return x.Duration
}
return 0
}
func (x *UpdateAdminVideoRequest) GetFormat() string {
if x != nil && x.Format != nil {
return *x.Format
}
return ""
}
func (x *UpdateAdminVideoRequest) GetStatus() string {
if x != nil && x.Status != nil {
return *x.Status
}
return ""
}
func (x *UpdateAdminVideoRequest) GetAdTemplateId() string {
if x != nil && x.AdTemplateId != nil {
return *x.AdTemplateId
}
return ""
}
type UpdateAdminVideoResponse struct {
state protoimpl.MessageState `protogen:"open.v1"`
Video *AdminVideo `protobuf:"bytes,1,opt,name=video,proto3" json:"video,omitempty"`
unknownFields protoimpl.UnknownFields
sizeCache protoimpl.SizeCache
}
func (x *UpdateAdminVideoResponse) Reset() {
*x = UpdateAdminVideoResponse{}
mi := &file_app_v1_admin_proto_msgTypes[22]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
func (x *UpdateAdminVideoResponse) String() string {
return protoimpl.X.MessageStringOf(x)
}
func (*UpdateAdminVideoResponse) ProtoMessage() {}
func (x *UpdateAdminVideoResponse) ProtoReflect() protoreflect.Message {
mi := &file_app_v1_admin_proto_msgTypes[22]
if x != nil {
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
if ms.LoadMessageInfo() == nil {
ms.StoreMessageInfo(mi)
}
return ms
}
return mi.MessageOf(x)
}
// Deprecated: Use UpdateAdminVideoResponse.ProtoReflect.Descriptor instead.
func (*UpdateAdminVideoResponse) Descriptor() ([]byte, []int) {
return file_app_v1_admin_proto_rawDescGZIP(), []int{22}
}
func (x *UpdateAdminVideoResponse) GetVideo() *AdminVideo {
if x != nil {
return x.Video
}
return nil
}
type DeleteAdminVideoRequest struct {
state protoimpl.MessageState `protogen:"open.v1"`
Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"`
unknownFields protoimpl.UnknownFields
sizeCache protoimpl.SizeCache
}
func (x *DeleteAdminVideoRequest) Reset() {
*x = DeleteAdminVideoRequest{}
mi := &file_app_v1_admin_proto_msgTypes[23]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
func (x *DeleteAdminVideoRequest) String() string {
return protoimpl.X.MessageStringOf(x)
}
func (*DeleteAdminVideoRequest) ProtoMessage() {}
func (x *DeleteAdminVideoRequest) ProtoReflect() protoreflect.Message {
mi := &file_app_v1_admin_proto_msgTypes[23]
if x != nil {
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
if ms.LoadMessageInfo() == nil {
ms.StoreMessageInfo(mi)
}
return ms
}
return mi.MessageOf(x)
}
// Deprecated: Use DeleteAdminVideoRequest.ProtoReflect.Descriptor instead.
func (*DeleteAdminVideoRequest) Descriptor() ([]byte, []int) {
return file_app_v1_admin_proto_rawDescGZIP(), []int{23}
}
func (x *DeleteAdminVideoRequest) GetId() string {
if x != nil {
return x.Id
}
return ""
}
type ListAdminPaymentsRequest struct {
state protoimpl.MessageState `protogen:"open.v1"`
Page int32 `protobuf:"varint,1,opt,name=page,proto3" json:"page,omitempty"`
Limit int32 `protobuf:"varint,2,opt,name=limit,proto3" json:"limit,omitempty"`
UserId *string `protobuf:"bytes,3,opt,name=user_id,json=userId,proto3,oneof" json:"user_id,omitempty"`
Status *string `protobuf:"bytes,4,opt,name=status,proto3,oneof" json:"status,omitempty"`
unknownFields protoimpl.UnknownFields
sizeCache protoimpl.SizeCache
}
func (x *ListAdminPaymentsRequest) Reset() {
*x = ListAdminPaymentsRequest{}
mi := &file_app_v1_admin_proto_msgTypes[24]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
func (x *ListAdminPaymentsRequest) String() string {
return protoimpl.X.MessageStringOf(x)
}
func (*ListAdminPaymentsRequest) ProtoMessage() {}
func (x *ListAdminPaymentsRequest) ProtoReflect() protoreflect.Message {
mi := &file_app_v1_admin_proto_msgTypes[24]
if x != nil {
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
if ms.LoadMessageInfo() == nil {
ms.StoreMessageInfo(mi)
}
return ms
}
return mi.MessageOf(x)
}
// Deprecated: Use ListAdminPaymentsRequest.ProtoReflect.Descriptor instead.
func (*ListAdminPaymentsRequest) Descriptor() ([]byte, []int) {
return file_app_v1_admin_proto_rawDescGZIP(), []int{24}
}
func (x *ListAdminPaymentsRequest) GetPage() int32 {
if x != nil {
return x.Page
}
return 0
}
func (x *ListAdminPaymentsRequest) GetLimit() int32 {
if x != nil {
return x.Limit
}
return 0
}
func (x *ListAdminPaymentsRequest) GetUserId() string {
if x != nil && x.UserId != nil {
return *x.UserId
}
return ""
}
func (x *ListAdminPaymentsRequest) GetStatus() string {
if x != nil && x.Status != nil {
return *x.Status
}
return ""
}
type ListAdminPaymentsResponse struct {
state protoimpl.MessageState `protogen:"open.v1"`
Payments []*AdminPayment `protobuf:"bytes,1,rep,name=payments,proto3" json:"payments,omitempty"`
Total int64 `protobuf:"varint,2,opt,name=total,proto3" json:"total,omitempty"`
Page int32 `protobuf:"varint,3,opt,name=page,proto3" json:"page,omitempty"`
Limit int32 `protobuf:"varint,4,opt,name=limit,proto3" json:"limit,omitempty"`
unknownFields protoimpl.UnknownFields
sizeCache protoimpl.SizeCache
}
func (x *ListAdminPaymentsResponse) Reset() {
*x = ListAdminPaymentsResponse{}
mi := &file_app_v1_admin_proto_msgTypes[25]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
func (x *ListAdminPaymentsResponse) String() string {
return protoimpl.X.MessageStringOf(x)
}
func (*ListAdminPaymentsResponse) ProtoMessage() {}
func (x *ListAdminPaymentsResponse) ProtoReflect() protoreflect.Message {
mi := &file_app_v1_admin_proto_msgTypes[25]
if x != nil {
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
if ms.LoadMessageInfo() == nil {
ms.StoreMessageInfo(mi)
}
return ms
}
return mi.MessageOf(x)
}
// Deprecated: Use ListAdminPaymentsResponse.ProtoReflect.Descriptor instead.
func (*ListAdminPaymentsResponse) Descriptor() ([]byte, []int) {
return file_app_v1_admin_proto_rawDescGZIP(), []int{25}
}
func (x *ListAdminPaymentsResponse) GetPayments() []*AdminPayment {
if x != nil {
return x.Payments
}
return nil
}
func (x *ListAdminPaymentsResponse) GetTotal() int64 {
if x != nil {
return x.Total
}
return 0
}
func (x *ListAdminPaymentsResponse) GetPage() int32 {
if x != nil {
return x.Page
}
return 0
}
func (x *ListAdminPaymentsResponse) GetLimit() int32 {
if x != nil {
return x.Limit
}
return 0
}
type GetAdminPaymentRequest struct {
state protoimpl.MessageState `protogen:"open.v1"`
Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"`
unknownFields protoimpl.UnknownFields
sizeCache protoimpl.SizeCache
}
func (x *GetAdminPaymentRequest) Reset() {
*x = GetAdminPaymentRequest{}
mi := &file_app_v1_admin_proto_msgTypes[26]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
func (x *GetAdminPaymentRequest) String() string {
return protoimpl.X.MessageStringOf(x)
}
func (*GetAdminPaymentRequest) ProtoMessage() {}
func (x *GetAdminPaymentRequest) ProtoReflect() protoreflect.Message {
mi := &file_app_v1_admin_proto_msgTypes[26]
if x != nil {
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
if ms.LoadMessageInfo() == nil {
ms.StoreMessageInfo(mi)
}
return ms
}
return mi.MessageOf(x)
}
// Deprecated: Use GetAdminPaymentRequest.ProtoReflect.Descriptor instead.
func (*GetAdminPaymentRequest) Descriptor() ([]byte, []int) {
return file_app_v1_admin_proto_rawDescGZIP(), []int{26}
}
func (x *GetAdminPaymentRequest) GetId() string {
if x != nil {
return x.Id
}
return ""
}
type GetAdminPaymentResponse struct {
state protoimpl.MessageState `protogen:"open.v1"`
Payment *AdminPayment `protobuf:"bytes,1,opt,name=payment,proto3" json:"payment,omitempty"`
unknownFields protoimpl.UnknownFields
sizeCache protoimpl.SizeCache
}
func (x *GetAdminPaymentResponse) Reset() {
*x = GetAdminPaymentResponse{}
mi := &file_app_v1_admin_proto_msgTypes[27]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
func (x *GetAdminPaymentResponse) String() string {
return protoimpl.X.MessageStringOf(x)
}
func (*GetAdminPaymentResponse) ProtoMessage() {}
func (x *GetAdminPaymentResponse) ProtoReflect() protoreflect.Message {
mi := &file_app_v1_admin_proto_msgTypes[27]
if x != nil {
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
if ms.LoadMessageInfo() == nil {
ms.StoreMessageInfo(mi)
}
return ms
}
return mi.MessageOf(x)
}
// Deprecated: Use GetAdminPaymentResponse.ProtoReflect.Descriptor instead.
func (*GetAdminPaymentResponse) Descriptor() ([]byte, []int) {
return file_app_v1_admin_proto_rawDescGZIP(), []int{27}
}
func (x *GetAdminPaymentResponse) GetPayment() *AdminPayment {
if x != nil {
return x.Payment
}
return nil
}
type CreateAdminPaymentRequest struct {
state protoimpl.MessageState `protogen:"open.v1"`
UserId string `protobuf:"bytes,1,opt,name=user_id,json=userId,proto3" json:"user_id,omitempty"`
PlanId string `protobuf:"bytes,2,opt,name=plan_id,json=planId,proto3" json:"plan_id,omitempty"`
TermMonths int32 `protobuf:"varint,3,opt,name=term_months,json=termMonths,proto3" json:"term_months,omitempty"`
PaymentMethod string `protobuf:"bytes,4,opt,name=payment_method,json=paymentMethod,proto3" json:"payment_method,omitempty"`
TopupAmount *float64 `protobuf:"fixed64,5,opt,name=topup_amount,json=topupAmount,proto3,oneof" json:"topup_amount,omitempty"`
unknownFields protoimpl.UnknownFields
sizeCache protoimpl.SizeCache
}
func (x *CreateAdminPaymentRequest) Reset() {
*x = CreateAdminPaymentRequest{}
mi := &file_app_v1_admin_proto_msgTypes[28]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
func (x *CreateAdminPaymentRequest) String() string {
return protoimpl.X.MessageStringOf(x)
}
func (*CreateAdminPaymentRequest) ProtoMessage() {}
func (x *CreateAdminPaymentRequest) ProtoReflect() protoreflect.Message {
mi := &file_app_v1_admin_proto_msgTypes[28]
if x != nil {
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
if ms.LoadMessageInfo() == nil {
ms.StoreMessageInfo(mi)
}
return ms
}
return mi.MessageOf(x)
}
// Deprecated: Use CreateAdminPaymentRequest.ProtoReflect.Descriptor instead.
func (*CreateAdminPaymentRequest) Descriptor() ([]byte, []int) {
return file_app_v1_admin_proto_rawDescGZIP(), []int{28}
}
func (x *CreateAdminPaymentRequest) GetUserId() string {
if x != nil {
return x.UserId
}
return ""
}
func (x *CreateAdminPaymentRequest) GetPlanId() string {
if x != nil {
return x.PlanId
}
return ""
}
func (x *CreateAdminPaymentRequest) GetTermMonths() int32 {
if x != nil {
return x.TermMonths
}
return 0
}
func (x *CreateAdminPaymentRequest) GetPaymentMethod() string {
if x != nil {
return x.PaymentMethod
}
return ""
}
func (x *CreateAdminPaymentRequest) GetTopupAmount() float64 {
if x != nil && x.TopupAmount != nil {
return *x.TopupAmount
}
return 0
}
type CreateAdminPaymentResponse struct {
state protoimpl.MessageState `protogen:"open.v1"`
Payment *AdminPayment `protobuf:"bytes,1,opt,name=payment,proto3" json:"payment,omitempty"`
Subscription *PlanSubscription `protobuf:"bytes,2,opt,name=subscription,proto3" json:"subscription,omitempty"`
WalletBalance float64 `protobuf:"fixed64,3,opt,name=wallet_balance,json=walletBalance,proto3" json:"wallet_balance,omitempty"`
InvoiceId string `protobuf:"bytes,4,opt,name=invoice_id,json=invoiceId,proto3" json:"invoice_id,omitempty"`
unknownFields protoimpl.UnknownFields
sizeCache protoimpl.SizeCache
}
func (x *CreateAdminPaymentResponse) Reset() {
*x = CreateAdminPaymentResponse{}
mi := &file_app_v1_admin_proto_msgTypes[29]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
func (x *CreateAdminPaymentResponse) String() string {
return protoimpl.X.MessageStringOf(x)
}
func (*CreateAdminPaymentResponse) ProtoMessage() {}
func (x *CreateAdminPaymentResponse) ProtoReflect() protoreflect.Message {
mi := &file_app_v1_admin_proto_msgTypes[29]
if x != nil {
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
if ms.LoadMessageInfo() == nil {
ms.StoreMessageInfo(mi)
}
return ms
}
return mi.MessageOf(x)
}
// Deprecated: Use CreateAdminPaymentResponse.ProtoReflect.Descriptor instead.
func (*CreateAdminPaymentResponse) Descriptor() ([]byte, []int) {
return file_app_v1_admin_proto_rawDescGZIP(), []int{29}
}
func (x *CreateAdminPaymentResponse) GetPayment() *AdminPayment {
if x != nil {
return x.Payment
}
return nil
}
func (x *CreateAdminPaymentResponse) GetSubscription() *PlanSubscription {
if x != nil {
return x.Subscription
}
return nil
}
func (x *CreateAdminPaymentResponse) GetWalletBalance() float64 {
if x != nil {
return x.WalletBalance
}
return 0
}
func (x *CreateAdminPaymentResponse) GetInvoiceId() string {
if x != nil {
return x.InvoiceId
}
return ""
}
type UpdateAdminPaymentRequest struct {
state protoimpl.MessageState `protogen:"open.v1"`
Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"`
Status string `protobuf:"bytes,2,opt,name=status,proto3" json:"status,omitempty"`
unknownFields protoimpl.UnknownFields
sizeCache protoimpl.SizeCache
}
func (x *UpdateAdminPaymentRequest) Reset() {
*x = UpdateAdminPaymentRequest{}
mi := &file_app_v1_admin_proto_msgTypes[30]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
func (x *UpdateAdminPaymentRequest) String() string {
return protoimpl.X.MessageStringOf(x)
}
func (*UpdateAdminPaymentRequest) ProtoMessage() {}
func (x *UpdateAdminPaymentRequest) ProtoReflect() protoreflect.Message {
mi := &file_app_v1_admin_proto_msgTypes[30]
if x != nil {
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
if ms.LoadMessageInfo() == nil {
ms.StoreMessageInfo(mi)
}
return ms
}
return mi.MessageOf(x)
}
// Deprecated: Use UpdateAdminPaymentRequest.ProtoReflect.Descriptor instead.
func (*UpdateAdminPaymentRequest) Descriptor() ([]byte, []int) {
return file_app_v1_admin_proto_rawDescGZIP(), []int{30}
}
func (x *UpdateAdminPaymentRequest) GetId() string {
if x != nil {
return x.Id
}
return ""
}
func (x *UpdateAdminPaymentRequest) GetStatus() string {
if x != nil {
return x.Status
}
return ""
}
type UpdateAdminPaymentResponse struct {
state protoimpl.MessageState `protogen:"open.v1"`
Payment *AdminPayment `protobuf:"bytes,1,opt,name=payment,proto3" json:"payment,omitempty"`
unknownFields protoimpl.UnknownFields
sizeCache protoimpl.SizeCache
}
func (x *UpdateAdminPaymentResponse) Reset() {
*x = UpdateAdminPaymentResponse{}
mi := &file_app_v1_admin_proto_msgTypes[31]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
func (x *UpdateAdminPaymentResponse) String() string {
return protoimpl.X.MessageStringOf(x)
}
func (*UpdateAdminPaymentResponse) ProtoMessage() {}
func (x *UpdateAdminPaymentResponse) ProtoReflect() protoreflect.Message {
mi := &file_app_v1_admin_proto_msgTypes[31]
if x != nil {
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
if ms.LoadMessageInfo() == nil {
ms.StoreMessageInfo(mi)
}
return ms
}
return mi.MessageOf(x)
}
// Deprecated: Use UpdateAdminPaymentResponse.ProtoReflect.Descriptor instead.
func (*UpdateAdminPaymentResponse) Descriptor() ([]byte, []int) {
return file_app_v1_admin_proto_rawDescGZIP(), []int{31}
}
func (x *UpdateAdminPaymentResponse) GetPayment() *AdminPayment {
if x != nil {
return x.Payment
}
return nil
}
type ListAdminPlansRequest struct {
state protoimpl.MessageState `protogen:"open.v1"`
unknownFields protoimpl.UnknownFields
sizeCache protoimpl.SizeCache
}
func (x *ListAdminPlansRequest) Reset() {
*x = ListAdminPlansRequest{}
mi := &file_app_v1_admin_proto_msgTypes[32]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
func (x *ListAdminPlansRequest) String() string {
return protoimpl.X.MessageStringOf(x)
}
func (*ListAdminPlansRequest) ProtoMessage() {}
func (x *ListAdminPlansRequest) ProtoReflect() protoreflect.Message {
mi := &file_app_v1_admin_proto_msgTypes[32]
if x != nil {
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
if ms.LoadMessageInfo() == nil {
ms.StoreMessageInfo(mi)
}
return ms
}
return mi.MessageOf(x)
}
// Deprecated: Use ListAdminPlansRequest.ProtoReflect.Descriptor instead.
func (*ListAdminPlansRequest) Descriptor() ([]byte, []int) {
return file_app_v1_admin_proto_rawDescGZIP(), []int{32}
}
type ListAdminPlansResponse struct {
state protoimpl.MessageState `protogen:"open.v1"`
Plans []*AdminPlan `protobuf:"bytes,1,rep,name=plans,proto3" json:"plans,omitempty"`
unknownFields protoimpl.UnknownFields
sizeCache protoimpl.SizeCache
}
func (x *ListAdminPlansResponse) Reset() {
*x = ListAdminPlansResponse{}
mi := &file_app_v1_admin_proto_msgTypes[33]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
func (x *ListAdminPlansResponse) String() string {
return protoimpl.X.MessageStringOf(x)
}
func (*ListAdminPlansResponse) ProtoMessage() {}
func (x *ListAdminPlansResponse) ProtoReflect() protoreflect.Message {
mi := &file_app_v1_admin_proto_msgTypes[33]
if x != nil {
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
if ms.LoadMessageInfo() == nil {
ms.StoreMessageInfo(mi)
}
return ms
}
return mi.MessageOf(x)
}
// Deprecated: Use ListAdminPlansResponse.ProtoReflect.Descriptor instead.
func (*ListAdminPlansResponse) Descriptor() ([]byte, []int) {
return file_app_v1_admin_proto_rawDescGZIP(), []int{33}
}
func (x *ListAdminPlansResponse) GetPlans() []*AdminPlan {
if x != nil {
return x.Plans
}
return nil
}
type CreateAdminPlanRequest struct {
state protoimpl.MessageState `protogen:"open.v1"`
Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
Description *string `protobuf:"bytes,2,opt,name=description,proto3,oneof" json:"description,omitempty"`
Features []string `protobuf:"bytes,3,rep,name=features,proto3" json:"features,omitempty"`
Price float64 `protobuf:"fixed64,4,opt,name=price,proto3" json:"price,omitempty"`
Cycle string `protobuf:"bytes,5,opt,name=cycle,proto3" json:"cycle,omitempty"`
StorageLimit int64 `protobuf:"varint,6,opt,name=storage_limit,json=storageLimit,proto3" json:"storage_limit,omitempty"`
UploadLimit int32 `protobuf:"varint,7,opt,name=upload_limit,json=uploadLimit,proto3" json:"upload_limit,omitempty"`
IsActive *bool `protobuf:"varint,8,opt,name=is_active,json=isActive,proto3,oneof" json:"is_active,omitempty"`
unknownFields protoimpl.UnknownFields
sizeCache protoimpl.SizeCache
}
func (x *CreateAdminPlanRequest) Reset() {
*x = CreateAdminPlanRequest{}
mi := &file_app_v1_admin_proto_msgTypes[34]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
func (x *CreateAdminPlanRequest) String() string {
return protoimpl.X.MessageStringOf(x)
}
func (*CreateAdminPlanRequest) ProtoMessage() {}
func (x *CreateAdminPlanRequest) ProtoReflect() protoreflect.Message {
mi := &file_app_v1_admin_proto_msgTypes[34]
if x != nil {
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
if ms.LoadMessageInfo() == nil {
ms.StoreMessageInfo(mi)
}
return ms
}
return mi.MessageOf(x)
}
// Deprecated: Use CreateAdminPlanRequest.ProtoReflect.Descriptor instead.
func (*CreateAdminPlanRequest) Descriptor() ([]byte, []int) {
return file_app_v1_admin_proto_rawDescGZIP(), []int{34}
}
func (x *CreateAdminPlanRequest) GetName() string {
if x != nil {
return x.Name
}
return ""
}
func (x *CreateAdminPlanRequest) GetDescription() string {
if x != nil && x.Description != nil {
return *x.Description
}
return ""
}
func (x *CreateAdminPlanRequest) GetFeatures() []string {
if x != nil {
return x.Features
}
return nil
}
func (x *CreateAdminPlanRequest) GetPrice() float64 {
if x != nil {
return x.Price
}
return 0
}
func (x *CreateAdminPlanRequest) GetCycle() string {
if x != nil {
return x.Cycle
}
return ""
}
func (x *CreateAdminPlanRequest) GetStorageLimit() int64 {
if x != nil {
return x.StorageLimit
}
return 0
}
func (x *CreateAdminPlanRequest) GetUploadLimit() int32 {
if x != nil {
return x.UploadLimit
}
return 0
}
func (x *CreateAdminPlanRequest) GetIsActive() bool {
if x != nil && x.IsActive != nil {
return *x.IsActive
}
return false
}
type CreateAdminPlanResponse struct {
state protoimpl.MessageState `protogen:"open.v1"`
Plan *AdminPlan `protobuf:"bytes,1,opt,name=plan,proto3" json:"plan,omitempty"`
unknownFields protoimpl.UnknownFields
sizeCache protoimpl.SizeCache
}
func (x *CreateAdminPlanResponse) Reset() {
*x = CreateAdminPlanResponse{}
mi := &file_app_v1_admin_proto_msgTypes[35]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
func (x *CreateAdminPlanResponse) String() string {
return protoimpl.X.MessageStringOf(x)
}
func (*CreateAdminPlanResponse) ProtoMessage() {}
func (x *CreateAdminPlanResponse) ProtoReflect() protoreflect.Message {
mi := &file_app_v1_admin_proto_msgTypes[35]
if x != nil {
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
if ms.LoadMessageInfo() == nil {
ms.StoreMessageInfo(mi)
}
return ms
}
return mi.MessageOf(x)
}
// Deprecated: Use CreateAdminPlanResponse.ProtoReflect.Descriptor instead.
func (*CreateAdminPlanResponse) Descriptor() ([]byte, []int) {
return file_app_v1_admin_proto_rawDescGZIP(), []int{35}
}
func (x *CreateAdminPlanResponse) GetPlan() *AdminPlan {
if x != nil {
return x.Plan
}
return nil
}
type UpdateAdminPlanRequest struct {
state protoimpl.MessageState `protogen:"open.v1"`
Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"`
Name string `protobuf:"bytes,2,opt,name=name,proto3" json:"name,omitempty"`
Description *string `protobuf:"bytes,3,opt,name=description,proto3,oneof" json:"description,omitempty"`
Features []string `protobuf:"bytes,4,rep,name=features,proto3" json:"features,omitempty"`
Price float64 `protobuf:"fixed64,5,opt,name=price,proto3" json:"price,omitempty"`
Cycle string `protobuf:"bytes,6,opt,name=cycle,proto3" json:"cycle,omitempty"`
StorageLimit int64 `protobuf:"varint,7,opt,name=storage_limit,json=storageLimit,proto3" json:"storage_limit,omitempty"`
UploadLimit int32 `protobuf:"varint,8,opt,name=upload_limit,json=uploadLimit,proto3" json:"upload_limit,omitempty"`
IsActive *bool `protobuf:"varint,9,opt,name=is_active,json=isActive,proto3,oneof" json:"is_active,omitempty"`
unknownFields protoimpl.UnknownFields
sizeCache protoimpl.SizeCache
}
func (x *UpdateAdminPlanRequest) Reset() {
*x = UpdateAdminPlanRequest{}
mi := &file_app_v1_admin_proto_msgTypes[36]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
func (x *UpdateAdminPlanRequest) String() string {
return protoimpl.X.MessageStringOf(x)
}
func (*UpdateAdminPlanRequest) ProtoMessage() {}
func (x *UpdateAdminPlanRequest) ProtoReflect() protoreflect.Message {
mi := &file_app_v1_admin_proto_msgTypes[36]
if x != nil {
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
if ms.LoadMessageInfo() == nil {
ms.StoreMessageInfo(mi)
}
return ms
}
return mi.MessageOf(x)
}
// Deprecated: Use UpdateAdminPlanRequest.ProtoReflect.Descriptor instead.
func (*UpdateAdminPlanRequest) Descriptor() ([]byte, []int) {
return file_app_v1_admin_proto_rawDescGZIP(), []int{36}
}
func (x *UpdateAdminPlanRequest) GetId() string {
if x != nil {
return x.Id
}
return ""
}
func (x *UpdateAdminPlanRequest) GetName() string {
if x != nil {
return x.Name
}
return ""
}
func (x *UpdateAdminPlanRequest) GetDescription() string {
if x != nil && x.Description != nil {
return *x.Description
}
return ""
}
func (x *UpdateAdminPlanRequest) GetFeatures() []string {
if x != nil {
return x.Features
}
return nil
}
func (x *UpdateAdminPlanRequest) GetPrice() float64 {
if x != nil {
return x.Price
}
return 0
}
func (x *UpdateAdminPlanRequest) GetCycle() string {
if x != nil {
return x.Cycle
}
return ""
}
func (x *UpdateAdminPlanRequest) GetStorageLimit() int64 {
if x != nil {
return x.StorageLimit
}
return 0
}
func (x *UpdateAdminPlanRequest) GetUploadLimit() int32 {
if x != nil {
return x.UploadLimit
}
return 0
}
func (x *UpdateAdminPlanRequest) GetIsActive() bool {
if x != nil && x.IsActive != nil {
return *x.IsActive
}
return false
}
type UpdateAdminPlanResponse struct {
state protoimpl.MessageState `protogen:"open.v1"`
Plan *AdminPlan `protobuf:"bytes,1,opt,name=plan,proto3" json:"plan,omitempty"`
unknownFields protoimpl.UnknownFields
sizeCache protoimpl.SizeCache
}
func (x *UpdateAdminPlanResponse) Reset() {
*x = UpdateAdminPlanResponse{}
mi := &file_app_v1_admin_proto_msgTypes[37]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
func (x *UpdateAdminPlanResponse) String() string {
return protoimpl.X.MessageStringOf(x)
}
func (*UpdateAdminPlanResponse) ProtoMessage() {}
func (x *UpdateAdminPlanResponse) ProtoReflect() protoreflect.Message {
mi := &file_app_v1_admin_proto_msgTypes[37]
if x != nil {
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
if ms.LoadMessageInfo() == nil {
ms.StoreMessageInfo(mi)
}
return ms
}
return mi.MessageOf(x)
}
// Deprecated: Use UpdateAdminPlanResponse.ProtoReflect.Descriptor instead.
func (*UpdateAdminPlanResponse) Descriptor() ([]byte, []int) {
return file_app_v1_admin_proto_rawDescGZIP(), []int{37}
}
func (x *UpdateAdminPlanResponse) GetPlan() *AdminPlan {
if x != nil {
return x.Plan
}
return nil
}
type DeleteAdminPlanRequest struct {
state protoimpl.MessageState `protogen:"open.v1"`
Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"`
unknownFields protoimpl.UnknownFields
sizeCache protoimpl.SizeCache
}
func (x *DeleteAdminPlanRequest) Reset() {
*x = DeleteAdminPlanRequest{}
mi := &file_app_v1_admin_proto_msgTypes[38]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
func (x *DeleteAdminPlanRequest) String() string {
return protoimpl.X.MessageStringOf(x)
}
func (*DeleteAdminPlanRequest) ProtoMessage() {}
func (x *DeleteAdminPlanRequest) ProtoReflect() protoreflect.Message {
mi := &file_app_v1_admin_proto_msgTypes[38]
if x != nil {
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
if ms.LoadMessageInfo() == nil {
ms.StoreMessageInfo(mi)
}
return ms
}
return mi.MessageOf(x)
}
// Deprecated: Use DeleteAdminPlanRequest.ProtoReflect.Descriptor instead.
func (*DeleteAdminPlanRequest) Descriptor() ([]byte, []int) {
return file_app_v1_admin_proto_rawDescGZIP(), []int{38}
}
func (x *DeleteAdminPlanRequest) GetId() string {
if x != nil {
return x.Id
}
return ""
}
type DeleteAdminPlanResponse struct {
state protoimpl.MessageState `protogen:"open.v1"`
Message string `protobuf:"bytes,1,opt,name=message,proto3" json:"message,omitempty"`
Mode string `protobuf:"bytes,2,opt,name=mode,proto3" json:"mode,omitempty"`
unknownFields protoimpl.UnknownFields
sizeCache protoimpl.SizeCache
}
func (x *DeleteAdminPlanResponse) Reset() {
*x = DeleteAdminPlanResponse{}
mi := &file_app_v1_admin_proto_msgTypes[39]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
func (x *DeleteAdminPlanResponse) String() string {
return protoimpl.X.MessageStringOf(x)
}
func (*DeleteAdminPlanResponse) ProtoMessage() {}
func (x *DeleteAdminPlanResponse) ProtoReflect() protoreflect.Message {
mi := &file_app_v1_admin_proto_msgTypes[39]
if x != nil {
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
if ms.LoadMessageInfo() == nil {
ms.StoreMessageInfo(mi)
}
return ms
}
return mi.MessageOf(x)
}
// Deprecated: Use DeleteAdminPlanResponse.ProtoReflect.Descriptor instead.
func (*DeleteAdminPlanResponse) Descriptor() ([]byte, []int) {
return file_app_v1_admin_proto_rawDescGZIP(), []int{39}
}
func (x *DeleteAdminPlanResponse) GetMessage() string {
if x != nil {
return x.Message
}
return ""
}
func (x *DeleteAdminPlanResponse) GetMode() string {
if x != nil {
return x.Mode
}
return ""
}
type ListAdminAdTemplatesRequest struct {
state protoimpl.MessageState `protogen:"open.v1"`
Page int32 `protobuf:"varint,1,opt,name=page,proto3" json:"page,omitempty"`
Limit int32 `protobuf:"varint,2,opt,name=limit,proto3" json:"limit,omitempty"`
UserId *string `protobuf:"bytes,3,opt,name=user_id,json=userId,proto3,oneof" json:"user_id,omitempty"`
Search *string `protobuf:"bytes,4,opt,name=search,proto3,oneof" json:"search,omitempty"`
unknownFields protoimpl.UnknownFields
sizeCache protoimpl.SizeCache
}
func (x *ListAdminAdTemplatesRequest) Reset() {
*x = ListAdminAdTemplatesRequest{}
mi := &file_app_v1_admin_proto_msgTypes[40]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
func (x *ListAdminAdTemplatesRequest) String() string {
return protoimpl.X.MessageStringOf(x)
}
func (*ListAdminAdTemplatesRequest) ProtoMessage() {}
func (x *ListAdminAdTemplatesRequest) ProtoReflect() protoreflect.Message {
mi := &file_app_v1_admin_proto_msgTypes[40]
if x != nil {
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
if ms.LoadMessageInfo() == nil {
ms.StoreMessageInfo(mi)
}
return ms
}
return mi.MessageOf(x)
}
// Deprecated: Use ListAdminAdTemplatesRequest.ProtoReflect.Descriptor instead.
func (*ListAdminAdTemplatesRequest) Descriptor() ([]byte, []int) {
return file_app_v1_admin_proto_rawDescGZIP(), []int{40}
}
func (x *ListAdminAdTemplatesRequest) GetPage() int32 {
if x != nil {
return x.Page
}
return 0
}
func (x *ListAdminAdTemplatesRequest) GetLimit() int32 {
if x != nil {
return x.Limit
}
return 0
}
func (x *ListAdminAdTemplatesRequest) GetUserId() string {
if x != nil && x.UserId != nil {
return *x.UserId
}
return ""
}
func (x *ListAdminAdTemplatesRequest) GetSearch() string {
if x != nil && x.Search != nil {
return *x.Search
}
return ""
}
type ListAdminAdTemplatesResponse struct {
state protoimpl.MessageState `protogen:"open.v1"`
Templates []*AdminAdTemplate `protobuf:"bytes,1,rep,name=templates,proto3" json:"templates,omitempty"`
Total int64 `protobuf:"varint,2,opt,name=total,proto3" json:"total,omitempty"`
Page int32 `protobuf:"varint,3,opt,name=page,proto3" json:"page,omitempty"`
Limit int32 `protobuf:"varint,4,opt,name=limit,proto3" json:"limit,omitempty"`
unknownFields protoimpl.UnknownFields
sizeCache protoimpl.SizeCache
}
func (x *ListAdminAdTemplatesResponse) Reset() {
*x = ListAdminAdTemplatesResponse{}
mi := &file_app_v1_admin_proto_msgTypes[41]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
func (x *ListAdminAdTemplatesResponse) String() string {
return protoimpl.X.MessageStringOf(x)
}
func (*ListAdminAdTemplatesResponse) ProtoMessage() {}
func (x *ListAdminAdTemplatesResponse) ProtoReflect() protoreflect.Message {
mi := &file_app_v1_admin_proto_msgTypes[41]
if x != nil {
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
if ms.LoadMessageInfo() == nil {
ms.StoreMessageInfo(mi)
}
return ms
}
return mi.MessageOf(x)
}
// Deprecated: Use ListAdminAdTemplatesResponse.ProtoReflect.Descriptor instead.
func (*ListAdminAdTemplatesResponse) Descriptor() ([]byte, []int) {
return file_app_v1_admin_proto_rawDescGZIP(), []int{41}
}
func (x *ListAdminAdTemplatesResponse) GetTemplates() []*AdminAdTemplate {
if x != nil {
return x.Templates
}
return nil
}
func (x *ListAdminAdTemplatesResponse) GetTotal() int64 {
if x != nil {
return x.Total
}
return 0
}
func (x *ListAdminAdTemplatesResponse) GetPage() int32 {
if x != nil {
return x.Page
}
return 0
}
func (x *ListAdminAdTemplatesResponse) GetLimit() int32 {
if x != nil {
return x.Limit
}
return 0
}
type GetAdminAdTemplateRequest struct {
state protoimpl.MessageState `protogen:"open.v1"`
Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"`
unknownFields protoimpl.UnknownFields
sizeCache protoimpl.SizeCache
}
func (x *GetAdminAdTemplateRequest) Reset() {
*x = GetAdminAdTemplateRequest{}
mi := &file_app_v1_admin_proto_msgTypes[42]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
func (x *GetAdminAdTemplateRequest) String() string {
return protoimpl.X.MessageStringOf(x)
}
func (*GetAdminAdTemplateRequest) ProtoMessage() {}
func (x *GetAdminAdTemplateRequest) ProtoReflect() protoreflect.Message {
mi := &file_app_v1_admin_proto_msgTypes[42]
if x != nil {
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
if ms.LoadMessageInfo() == nil {
ms.StoreMessageInfo(mi)
}
return ms
}
return mi.MessageOf(x)
}
// Deprecated: Use GetAdminAdTemplateRequest.ProtoReflect.Descriptor instead.
func (*GetAdminAdTemplateRequest) Descriptor() ([]byte, []int) {
return file_app_v1_admin_proto_rawDescGZIP(), []int{42}
}
func (x *GetAdminAdTemplateRequest) GetId() string {
if x != nil {
return x.Id
}
return ""
}
type GetAdminAdTemplateResponse struct {
state protoimpl.MessageState `protogen:"open.v1"`
Template *AdminAdTemplate `protobuf:"bytes,1,opt,name=template,proto3" json:"template,omitempty"`
unknownFields protoimpl.UnknownFields
sizeCache protoimpl.SizeCache
}
func (x *GetAdminAdTemplateResponse) Reset() {
*x = GetAdminAdTemplateResponse{}
mi := &file_app_v1_admin_proto_msgTypes[43]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
func (x *GetAdminAdTemplateResponse) String() string {
return protoimpl.X.MessageStringOf(x)
}
func (*GetAdminAdTemplateResponse) ProtoMessage() {}
func (x *GetAdminAdTemplateResponse) ProtoReflect() protoreflect.Message {
mi := &file_app_v1_admin_proto_msgTypes[43]
if x != nil {
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
if ms.LoadMessageInfo() == nil {
ms.StoreMessageInfo(mi)
}
return ms
}
return mi.MessageOf(x)
}
// Deprecated: Use GetAdminAdTemplateResponse.ProtoReflect.Descriptor instead.
func (*GetAdminAdTemplateResponse) Descriptor() ([]byte, []int) {
return file_app_v1_admin_proto_rawDescGZIP(), []int{43}
}
func (x *GetAdminAdTemplateResponse) GetTemplate() *AdminAdTemplate {
if x != nil {
return x.Template
}
return nil
}
type CreateAdminAdTemplateRequest struct {
state protoimpl.MessageState `protogen:"open.v1"`
UserId string `protobuf:"bytes,1,opt,name=user_id,json=userId,proto3" json:"user_id,omitempty"`
Name string `protobuf:"bytes,2,opt,name=name,proto3" json:"name,omitempty"`
Description *string `protobuf:"bytes,3,opt,name=description,proto3,oneof" json:"description,omitempty"`
VastTagUrl string `protobuf:"bytes,4,opt,name=vast_tag_url,json=vastTagUrl,proto3" json:"vast_tag_url,omitempty"`
AdFormat *string `protobuf:"bytes,5,opt,name=ad_format,json=adFormat,proto3,oneof" json:"ad_format,omitempty"`
Duration *int64 `protobuf:"varint,6,opt,name=duration,proto3,oneof" json:"duration,omitempty"`
IsActive *bool `protobuf:"varint,7,opt,name=is_active,json=isActive,proto3,oneof" json:"is_active,omitempty"`
IsDefault *bool `protobuf:"varint,8,opt,name=is_default,json=isDefault,proto3,oneof" json:"is_default,omitempty"`
unknownFields protoimpl.UnknownFields
sizeCache protoimpl.SizeCache
}
func (x *CreateAdminAdTemplateRequest) Reset() {
*x = CreateAdminAdTemplateRequest{}
mi := &file_app_v1_admin_proto_msgTypes[44]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
func (x *CreateAdminAdTemplateRequest) String() string {
return protoimpl.X.MessageStringOf(x)
}
func (*CreateAdminAdTemplateRequest) ProtoMessage() {}
func (x *CreateAdminAdTemplateRequest) ProtoReflect() protoreflect.Message {
mi := &file_app_v1_admin_proto_msgTypes[44]
if x != nil {
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
if ms.LoadMessageInfo() == nil {
ms.StoreMessageInfo(mi)
}
return ms
}
return mi.MessageOf(x)
}
// Deprecated: Use CreateAdminAdTemplateRequest.ProtoReflect.Descriptor instead.
func (*CreateAdminAdTemplateRequest) Descriptor() ([]byte, []int) {
return file_app_v1_admin_proto_rawDescGZIP(), []int{44}
}
func (x *CreateAdminAdTemplateRequest) GetUserId() string {
if x != nil {
return x.UserId
}
return ""
}
func (x *CreateAdminAdTemplateRequest) GetName() string {
if x != nil {
return x.Name
}
return ""
}
func (x *CreateAdminAdTemplateRequest) GetDescription() string {
if x != nil && x.Description != nil {
return *x.Description
}
return ""
}
func (x *CreateAdminAdTemplateRequest) GetVastTagUrl() string {
if x != nil {
return x.VastTagUrl
}
return ""
}
func (x *CreateAdminAdTemplateRequest) GetAdFormat() string {
if x != nil && x.AdFormat != nil {
return *x.AdFormat
}
return ""
}
func (x *CreateAdminAdTemplateRequest) GetDuration() int64 {
if x != nil && x.Duration != nil {
return *x.Duration
}
return 0
}
func (x *CreateAdminAdTemplateRequest) GetIsActive() bool {
if x != nil && x.IsActive != nil {
return *x.IsActive
}
return false
}
func (x *CreateAdminAdTemplateRequest) GetIsDefault() bool {
if x != nil && x.IsDefault != nil {
return *x.IsDefault
}
return false
}
type CreateAdminAdTemplateResponse struct {
state protoimpl.MessageState `protogen:"open.v1"`
Template *AdminAdTemplate `protobuf:"bytes,1,opt,name=template,proto3" json:"template,omitempty"`
unknownFields protoimpl.UnknownFields
sizeCache protoimpl.SizeCache
}
func (x *CreateAdminAdTemplateResponse) Reset() {
*x = CreateAdminAdTemplateResponse{}
mi := &file_app_v1_admin_proto_msgTypes[45]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
func (x *CreateAdminAdTemplateResponse) String() string {
return protoimpl.X.MessageStringOf(x)
}
func (*CreateAdminAdTemplateResponse) ProtoMessage() {}
func (x *CreateAdminAdTemplateResponse) ProtoReflect() protoreflect.Message {
mi := &file_app_v1_admin_proto_msgTypes[45]
if x != nil {
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
if ms.LoadMessageInfo() == nil {
ms.StoreMessageInfo(mi)
}
return ms
}
return mi.MessageOf(x)
}
// Deprecated: Use CreateAdminAdTemplateResponse.ProtoReflect.Descriptor instead.
func (*CreateAdminAdTemplateResponse) Descriptor() ([]byte, []int) {
return file_app_v1_admin_proto_rawDescGZIP(), []int{45}
}
func (x *CreateAdminAdTemplateResponse) GetTemplate() *AdminAdTemplate {
if x != nil {
return x.Template
}
return nil
}
type UpdateAdminAdTemplateRequest struct {
state protoimpl.MessageState `protogen:"open.v1"`
Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"`
UserId string `protobuf:"bytes,2,opt,name=user_id,json=userId,proto3" json:"user_id,omitempty"`
Name string `protobuf:"bytes,3,opt,name=name,proto3" json:"name,omitempty"`
Description *string `protobuf:"bytes,4,opt,name=description,proto3,oneof" json:"description,omitempty"`
VastTagUrl string `protobuf:"bytes,5,opt,name=vast_tag_url,json=vastTagUrl,proto3" json:"vast_tag_url,omitempty"`
AdFormat *string `protobuf:"bytes,6,opt,name=ad_format,json=adFormat,proto3,oneof" json:"ad_format,omitempty"`
Duration *int64 `protobuf:"varint,7,opt,name=duration,proto3,oneof" json:"duration,omitempty"`
IsActive *bool `protobuf:"varint,8,opt,name=is_active,json=isActive,proto3,oneof" json:"is_active,omitempty"`
IsDefault *bool `protobuf:"varint,9,opt,name=is_default,json=isDefault,proto3,oneof" json:"is_default,omitempty"`
unknownFields protoimpl.UnknownFields
sizeCache protoimpl.SizeCache
}
func (x *UpdateAdminAdTemplateRequest) Reset() {
*x = UpdateAdminAdTemplateRequest{}
mi := &file_app_v1_admin_proto_msgTypes[46]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
func (x *UpdateAdminAdTemplateRequest) String() string {
return protoimpl.X.MessageStringOf(x)
}
func (*UpdateAdminAdTemplateRequest) ProtoMessage() {}
func (x *UpdateAdminAdTemplateRequest) ProtoReflect() protoreflect.Message {
mi := &file_app_v1_admin_proto_msgTypes[46]
if x != nil {
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
if ms.LoadMessageInfo() == nil {
ms.StoreMessageInfo(mi)
}
return ms
}
return mi.MessageOf(x)
}
// Deprecated: Use UpdateAdminAdTemplateRequest.ProtoReflect.Descriptor instead.
func (*UpdateAdminAdTemplateRequest) Descriptor() ([]byte, []int) {
return file_app_v1_admin_proto_rawDescGZIP(), []int{46}
}
func (x *UpdateAdminAdTemplateRequest) GetId() string {
if x != nil {
return x.Id
}
return ""
}
func (x *UpdateAdminAdTemplateRequest) GetUserId() string {
if x != nil {
return x.UserId
}
return ""
}
func (x *UpdateAdminAdTemplateRequest) GetName() string {
if x != nil {
return x.Name
}
return ""
}
func (x *UpdateAdminAdTemplateRequest) GetDescription() string {
if x != nil && x.Description != nil {
return *x.Description
}
return ""
}
func (x *UpdateAdminAdTemplateRequest) GetVastTagUrl() string {
if x != nil {
return x.VastTagUrl
}
return ""
}
func (x *UpdateAdminAdTemplateRequest) GetAdFormat() string {
if x != nil && x.AdFormat != nil {
return *x.AdFormat
}
return ""
}
func (x *UpdateAdminAdTemplateRequest) GetDuration() int64 {
if x != nil && x.Duration != nil {
return *x.Duration
}
return 0
}
func (x *UpdateAdminAdTemplateRequest) GetIsActive() bool {
if x != nil && x.IsActive != nil {
return *x.IsActive
}
return false
}
func (x *UpdateAdminAdTemplateRequest) GetIsDefault() bool {
if x != nil && x.IsDefault != nil {
return *x.IsDefault
}
return false
}
type UpdateAdminAdTemplateResponse struct {
state protoimpl.MessageState `protogen:"open.v1"`
Template *AdminAdTemplate `protobuf:"bytes,1,opt,name=template,proto3" json:"template,omitempty"`
unknownFields protoimpl.UnknownFields
sizeCache protoimpl.SizeCache
}
func (x *UpdateAdminAdTemplateResponse) Reset() {
*x = UpdateAdminAdTemplateResponse{}
mi := &file_app_v1_admin_proto_msgTypes[47]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
func (x *UpdateAdminAdTemplateResponse) String() string {
return protoimpl.X.MessageStringOf(x)
}
func (*UpdateAdminAdTemplateResponse) ProtoMessage() {}
func (x *UpdateAdminAdTemplateResponse) ProtoReflect() protoreflect.Message {
mi := &file_app_v1_admin_proto_msgTypes[47]
if x != nil {
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
if ms.LoadMessageInfo() == nil {
ms.StoreMessageInfo(mi)
}
return ms
}
return mi.MessageOf(x)
}
// Deprecated: Use UpdateAdminAdTemplateResponse.ProtoReflect.Descriptor instead.
func (*UpdateAdminAdTemplateResponse) Descriptor() ([]byte, []int) {
return file_app_v1_admin_proto_rawDescGZIP(), []int{47}
}
func (x *UpdateAdminAdTemplateResponse) GetTemplate() *AdminAdTemplate {
if x != nil {
return x.Template
}
return nil
}
type DeleteAdminAdTemplateRequest struct {
state protoimpl.MessageState `protogen:"open.v1"`
Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"`
unknownFields protoimpl.UnknownFields
sizeCache protoimpl.SizeCache
}
func (x *DeleteAdminAdTemplateRequest) Reset() {
*x = DeleteAdminAdTemplateRequest{}
mi := &file_app_v1_admin_proto_msgTypes[48]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
func (x *DeleteAdminAdTemplateRequest) String() string {
return protoimpl.X.MessageStringOf(x)
}
func (*DeleteAdminAdTemplateRequest) ProtoMessage() {}
func (x *DeleteAdminAdTemplateRequest) ProtoReflect() protoreflect.Message {
mi := &file_app_v1_admin_proto_msgTypes[48]
if x != nil {
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
if ms.LoadMessageInfo() == nil {
ms.StoreMessageInfo(mi)
}
return ms
}
return mi.MessageOf(x)
}
// Deprecated: Use DeleteAdminAdTemplateRequest.ProtoReflect.Descriptor instead.
func (*DeleteAdminAdTemplateRequest) Descriptor() ([]byte, []int) {
return file_app_v1_admin_proto_rawDescGZIP(), []int{48}
}
func (x *DeleteAdminAdTemplateRequest) GetId() string {
if x != nil {
return x.Id
}
return ""
}
type ListAdminPopupAdsRequest struct {
state protoimpl.MessageState `protogen:"open.v1"`
Page int32 `protobuf:"varint,1,opt,name=page,proto3" json:"page,omitempty"`
Limit int32 `protobuf:"varint,2,opt,name=limit,proto3" json:"limit,omitempty"`
UserId *string `protobuf:"bytes,3,opt,name=user_id,json=userId,proto3,oneof" json:"user_id,omitempty"`
Search *string `protobuf:"bytes,4,opt,name=search,proto3,oneof" json:"search,omitempty"`
unknownFields protoimpl.UnknownFields
sizeCache protoimpl.SizeCache
}
func (x *ListAdminPopupAdsRequest) Reset() {
*x = ListAdminPopupAdsRequest{}
mi := &file_app_v1_admin_proto_msgTypes[49]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
func (x *ListAdminPopupAdsRequest) String() string {
return protoimpl.X.MessageStringOf(x)
}
func (*ListAdminPopupAdsRequest) ProtoMessage() {}
func (x *ListAdminPopupAdsRequest) ProtoReflect() protoreflect.Message {
mi := &file_app_v1_admin_proto_msgTypes[49]
if x != nil {
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
if ms.LoadMessageInfo() == nil {
ms.StoreMessageInfo(mi)
}
return ms
}
return mi.MessageOf(x)
}
// Deprecated: Use ListAdminPopupAdsRequest.ProtoReflect.Descriptor instead.
func (*ListAdminPopupAdsRequest) Descriptor() ([]byte, []int) {
return file_app_v1_admin_proto_rawDescGZIP(), []int{49}
}
func (x *ListAdminPopupAdsRequest) GetPage() int32 {
if x != nil {
return x.Page
}
return 0
}
func (x *ListAdminPopupAdsRequest) GetLimit() int32 {
if x != nil {
return x.Limit
}
return 0
}
func (x *ListAdminPopupAdsRequest) GetUserId() string {
if x != nil && x.UserId != nil {
return *x.UserId
}
return ""
}
func (x *ListAdminPopupAdsRequest) GetSearch() string {
if x != nil && x.Search != nil {
return *x.Search
}
return ""
}
type ListAdminPopupAdsResponse struct {
state protoimpl.MessageState `protogen:"open.v1"`
Items []*AdminPopupAd `protobuf:"bytes,1,rep,name=items,proto3" json:"items,omitempty"`
Total int64 `protobuf:"varint,2,opt,name=total,proto3" json:"total,omitempty"`
Page int32 `protobuf:"varint,3,opt,name=page,proto3" json:"page,omitempty"`
Limit int32 `protobuf:"varint,4,opt,name=limit,proto3" json:"limit,omitempty"`
unknownFields protoimpl.UnknownFields
sizeCache protoimpl.SizeCache
}
func (x *ListAdminPopupAdsResponse) Reset() {
*x = ListAdminPopupAdsResponse{}
mi := &file_app_v1_admin_proto_msgTypes[50]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
func (x *ListAdminPopupAdsResponse) String() string {
return protoimpl.X.MessageStringOf(x)
}
func (*ListAdminPopupAdsResponse) ProtoMessage() {}
func (x *ListAdminPopupAdsResponse) ProtoReflect() protoreflect.Message {
mi := &file_app_v1_admin_proto_msgTypes[50]
if x != nil {
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
if ms.LoadMessageInfo() == nil {
ms.StoreMessageInfo(mi)
}
return ms
}
return mi.MessageOf(x)
}
// Deprecated: Use ListAdminPopupAdsResponse.ProtoReflect.Descriptor instead.
func (*ListAdminPopupAdsResponse) Descriptor() ([]byte, []int) {
return file_app_v1_admin_proto_rawDescGZIP(), []int{50}
}
func (x *ListAdminPopupAdsResponse) GetItems() []*AdminPopupAd {
if x != nil {
return x.Items
}
return nil
}
func (x *ListAdminPopupAdsResponse) GetTotal() int64 {
if x != nil {
return x.Total
}
return 0
}
func (x *ListAdminPopupAdsResponse) GetPage() int32 {
if x != nil {
return x.Page
}
return 0
}
func (x *ListAdminPopupAdsResponse) GetLimit() int32 {
if x != nil {
return x.Limit
}
return 0
}
type GetAdminPopupAdRequest struct {
state protoimpl.MessageState `protogen:"open.v1"`
Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"`
unknownFields protoimpl.UnknownFields
sizeCache protoimpl.SizeCache
}
func (x *GetAdminPopupAdRequest) Reset() {
*x = GetAdminPopupAdRequest{}
mi := &file_app_v1_admin_proto_msgTypes[51]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
func (x *GetAdminPopupAdRequest) String() string {
return protoimpl.X.MessageStringOf(x)
}
func (*GetAdminPopupAdRequest) ProtoMessage() {}
func (x *GetAdminPopupAdRequest) ProtoReflect() protoreflect.Message {
mi := &file_app_v1_admin_proto_msgTypes[51]
if x != nil {
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
if ms.LoadMessageInfo() == nil {
ms.StoreMessageInfo(mi)
}
return ms
}
return mi.MessageOf(x)
}
// Deprecated: Use GetAdminPopupAdRequest.ProtoReflect.Descriptor instead.
func (*GetAdminPopupAdRequest) Descriptor() ([]byte, []int) {
return file_app_v1_admin_proto_rawDescGZIP(), []int{51}
}
func (x *GetAdminPopupAdRequest) GetId() string {
if x != nil {
return x.Id
}
return ""
}
type GetAdminPopupAdResponse struct {
state protoimpl.MessageState `protogen:"open.v1"`
Item *AdminPopupAd `protobuf:"bytes,1,opt,name=item,proto3" json:"item,omitempty"`
unknownFields protoimpl.UnknownFields
sizeCache protoimpl.SizeCache
}
func (x *GetAdminPopupAdResponse) Reset() {
*x = GetAdminPopupAdResponse{}
mi := &file_app_v1_admin_proto_msgTypes[52]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
func (x *GetAdminPopupAdResponse) String() string {
return protoimpl.X.MessageStringOf(x)
}
func (*GetAdminPopupAdResponse) ProtoMessage() {}
func (x *GetAdminPopupAdResponse) ProtoReflect() protoreflect.Message {
mi := &file_app_v1_admin_proto_msgTypes[52]
if x != nil {
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
if ms.LoadMessageInfo() == nil {
ms.StoreMessageInfo(mi)
}
return ms
}
return mi.MessageOf(x)
}
// Deprecated: Use GetAdminPopupAdResponse.ProtoReflect.Descriptor instead.
func (*GetAdminPopupAdResponse) Descriptor() ([]byte, []int) {
return file_app_v1_admin_proto_rawDescGZIP(), []int{52}
}
func (x *GetAdminPopupAdResponse) GetItem() *AdminPopupAd {
if x != nil {
return x.Item
}
return nil
}
type CreateAdminPopupAdRequest struct {
state protoimpl.MessageState `protogen:"open.v1"`
UserId string `protobuf:"bytes,1,opt,name=user_id,json=userId,proto3" json:"user_id,omitempty"`
Type string `protobuf:"bytes,2,opt,name=type,proto3" json:"type,omitempty"`
Label string `protobuf:"bytes,3,opt,name=label,proto3" json:"label,omitempty"`
Value string `protobuf:"bytes,4,opt,name=value,proto3" json:"value,omitempty"`
IsActive *bool `protobuf:"varint,5,opt,name=is_active,json=isActive,proto3,oneof" json:"is_active,omitempty"`
MaxTriggersPerSession *int32 `protobuf:"varint,6,opt,name=max_triggers_per_session,json=maxTriggersPerSession,proto3,oneof" json:"max_triggers_per_session,omitempty"`
unknownFields protoimpl.UnknownFields
sizeCache protoimpl.SizeCache
}
func (x *CreateAdminPopupAdRequest) Reset() {
*x = CreateAdminPopupAdRequest{}
mi := &file_app_v1_admin_proto_msgTypes[53]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
func (x *CreateAdminPopupAdRequest) String() string {
return protoimpl.X.MessageStringOf(x)
}
func (*CreateAdminPopupAdRequest) ProtoMessage() {}
func (x *CreateAdminPopupAdRequest) ProtoReflect() protoreflect.Message {
mi := &file_app_v1_admin_proto_msgTypes[53]
if x != nil {
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
if ms.LoadMessageInfo() == nil {
ms.StoreMessageInfo(mi)
}
return ms
}
return mi.MessageOf(x)
}
// Deprecated: Use CreateAdminPopupAdRequest.ProtoReflect.Descriptor instead.
func (*CreateAdminPopupAdRequest) Descriptor() ([]byte, []int) {
return file_app_v1_admin_proto_rawDescGZIP(), []int{53}
}
func (x *CreateAdminPopupAdRequest) GetUserId() string {
if x != nil {
return x.UserId
}
return ""
}
func (x *CreateAdminPopupAdRequest) GetType() string {
if x != nil {
return x.Type
}
return ""
}
func (x *CreateAdminPopupAdRequest) GetLabel() string {
if x != nil {
return x.Label
}
return ""
}
func (x *CreateAdminPopupAdRequest) GetValue() string {
if x != nil {
return x.Value
}
return ""
}
func (x *CreateAdminPopupAdRequest) GetIsActive() bool {
if x != nil && x.IsActive != nil {
return *x.IsActive
}
return false
}
func (x *CreateAdminPopupAdRequest) GetMaxTriggersPerSession() int32 {
if x != nil && x.MaxTriggersPerSession != nil {
return *x.MaxTriggersPerSession
}
return 0
}
type CreateAdminPopupAdResponse struct {
state protoimpl.MessageState `protogen:"open.v1"`
Item *AdminPopupAd `protobuf:"bytes,1,opt,name=item,proto3" json:"item,omitempty"`
unknownFields protoimpl.UnknownFields
sizeCache protoimpl.SizeCache
}
func (x *CreateAdminPopupAdResponse) Reset() {
*x = CreateAdminPopupAdResponse{}
mi := &file_app_v1_admin_proto_msgTypes[54]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
func (x *CreateAdminPopupAdResponse) String() string {
return protoimpl.X.MessageStringOf(x)
}
func (*CreateAdminPopupAdResponse) ProtoMessage() {}
func (x *CreateAdminPopupAdResponse) ProtoReflect() protoreflect.Message {
mi := &file_app_v1_admin_proto_msgTypes[54]
if x != nil {
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
if ms.LoadMessageInfo() == nil {
ms.StoreMessageInfo(mi)
}
return ms
}
return mi.MessageOf(x)
}
// Deprecated: Use CreateAdminPopupAdResponse.ProtoReflect.Descriptor instead.
func (*CreateAdminPopupAdResponse) Descriptor() ([]byte, []int) {
return file_app_v1_admin_proto_rawDescGZIP(), []int{54}
}
func (x *CreateAdminPopupAdResponse) GetItem() *AdminPopupAd {
if x != nil {
return x.Item
}
return nil
}
type UpdateAdminPopupAdRequest struct {
state protoimpl.MessageState `protogen:"open.v1"`
Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"`
UserId string `protobuf:"bytes,2,opt,name=user_id,json=userId,proto3" json:"user_id,omitempty"`
Type string `protobuf:"bytes,3,opt,name=type,proto3" json:"type,omitempty"`
Label string `protobuf:"bytes,4,opt,name=label,proto3" json:"label,omitempty"`
Value string `protobuf:"bytes,5,opt,name=value,proto3" json:"value,omitempty"`
IsActive *bool `protobuf:"varint,6,opt,name=is_active,json=isActive,proto3,oneof" json:"is_active,omitempty"`
MaxTriggersPerSession *int32 `protobuf:"varint,7,opt,name=max_triggers_per_session,json=maxTriggersPerSession,proto3,oneof" json:"max_triggers_per_session,omitempty"`
unknownFields protoimpl.UnknownFields
sizeCache protoimpl.SizeCache
}
func (x *UpdateAdminPopupAdRequest) Reset() {
*x = UpdateAdminPopupAdRequest{}
mi := &file_app_v1_admin_proto_msgTypes[55]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
func (x *UpdateAdminPopupAdRequest) String() string {
return protoimpl.X.MessageStringOf(x)
}
func (*UpdateAdminPopupAdRequest) ProtoMessage() {}
func (x *UpdateAdminPopupAdRequest) ProtoReflect() protoreflect.Message {
mi := &file_app_v1_admin_proto_msgTypes[55]
if x != nil {
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
if ms.LoadMessageInfo() == nil {
ms.StoreMessageInfo(mi)
}
return ms
}
return mi.MessageOf(x)
}
// Deprecated: Use UpdateAdminPopupAdRequest.ProtoReflect.Descriptor instead.
func (*UpdateAdminPopupAdRequest) Descriptor() ([]byte, []int) {
return file_app_v1_admin_proto_rawDescGZIP(), []int{55}
}
func (x *UpdateAdminPopupAdRequest) GetId() string {
if x != nil {
return x.Id
}
return ""
}
func (x *UpdateAdminPopupAdRequest) GetUserId() string {
if x != nil {
return x.UserId
}
return ""
}
func (x *UpdateAdminPopupAdRequest) GetType() string {
if x != nil {
return x.Type
}
return ""
}
func (x *UpdateAdminPopupAdRequest) GetLabel() string {
if x != nil {
return x.Label
}
return ""
}
func (x *UpdateAdminPopupAdRequest) GetValue() string {
if x != nil {
return x.Value
}
return ""
}
func (x *UpdateAdminPopupAdRequest) GetIsActive() bool {
if x != nil && x.IsActive != nil {
return *x.IsActive
}
return false
}
func (x *UpdateAdminPopupAdRequest) GetMaxTriggersPerSession() int32 {
if x != nil && x.MaxTriggersPerSession != nil {
return *x.MaxTriggersPerSession
}
return 0
}
type UpdateAdminPopupAdResponse struct {
state protoimpl.MessageState `protogen:"open.v1"`
Item *AdminPopupAd `protobuf:"bytes,1,opt,name=item,proto3" json:"item,omitempty"`
unknownFields protoimpl.UnknownFields
sizeCache protoimpl.SizeCache
}
func (x *UpdateAdminPopupAdResponse) Reset() {
*x = UpdateAdminPopupAdResponse{}
mi := &file_app_v1_admin_proto_msgTypes[56]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
func (x *UpdateAdminPopupAdResponse) String() string {
return protoimpl.X.MessageStringOf(x)
}
func (*UpdateAdminPopupAdResponse) ProtoMessage() {}
func (x *UpdateAdminPopupAdResponse) ProtoReflect() protoreflect.Message {
mi := &file_app_v1_admin_proto_msgTypes[56]
if x != nil {
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
if ms.LoadMessageInfo() == nil {
ms.StoreMessageInfo(mi)
}
return ms
}
return mi.MessageOf(x)
}
// Deprecated: Use UpdateAdminPopupAdResponse.ProtoReflect.Descriptor instead.
func (*UpdateAdminPopupAdResponse) Descriptor() ([]byte, []int) {
return file_app_v1_admin_proto_rawDescGZIP(), []int{56}
}
func (x *UpdateAdminPopupAdResponse) GetItem() *AdminPopupAd {
if x != nil {
return x.Item
}
return nil
}
type DeleteAdminPopupAdRequest struct {
state protoimpl.MessageState `protogen:"open.v1"`
Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"`
unknownFields protoimpl.UnknownFields
sizeCache protoimpl.SizeCache
}
func (x *DeleteAdminPopupAdRequest) Reset() {
*x = DeleteAdminPopupAdRequest{}
mi := &file_app_v1_admin_proto_msgTypes[57]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
func (x *DeleteAdminPopupAdRequest) String() string {
return protoimpl.X.MessageStringOf(x)
}
func (*DeleteAdminPopupAdRequest) ProtoMessage() {}
func (x *DeleteAdminPopupAdRequest) ProtoReflect() protoreflect.Message {
mi := &file_app_v1_admin_proto_msgTypes[57]
if x != nil {
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
if ms.LoadMessageInfo() == nil {
ms.StoreMessageInfo(mi)
}
return ms
}
return mi.MessageOf(x)
}
// Deprecated: Use DeleteAdminPopupAdRequest.ProtoReflect.Descriptor instead.
func (*DeleteAdminPopupAdRequest) Descriptor() ([]byte, []int) {
return file_app_v1_admin_proto_rawDescGZIP(), []int{57}
}
func (x *DeleteAdminPopupAdRequest) GetId() string {
if x != nil {
return x.Id
}
return ""
}
type ListAdminPlayerConfigsRequest struct {
state protoimpl.MessageState `protogen:"open.v1"`
Page int32 `protobuf:"varint,1,opt,name=page,proto3" json:"page,omitempty"`
Limit int32 `protobuf:"varint,2,opt,name=limit,proto3" json:"limit,omitempty"`
UserId *string `protobuf:"bytes,3,opt,name=user_id,json=userId,proto3,oneof" json:"user_id,omitempty"`
Search *string `protobuf:"bytes,4,opt,name=search,proto3,oneof" json:"search,omitempty"`
unknownFields protoimpl.UnknownFields
sizeCache protoimpl.SizeCache
}
func (x *ListAdminPlayerConfigsRequest) Reset() {
*x = ListAdminPlayerConfigsRequest{}
mi := &file_app_v1_admin_proto_msgTypes[58]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
func (x *ListAdminPlayerConfigsRequest) String() string {
return protoimpl.X.MessageStringOf(x)
}
func (*ListAdminPlayerConfigsRequest) ProtoMessage() {}
func (x *ListAdminPlayerConfigsRequest) ProtoReflect() protoreflect.Message {
mi := &file_app_v1_admin_proto_msgTypes[58]
if x != nil {
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
if ms.LoadMessageInfo() == nil {
ms.StoreMessageInfo(mi)
}
return ms
}
return mi.MessageOf(x)
}
// Deprecated: Use ListAdminPlayerConfigsRequest.ProtoReflect.Descriptor instead.
func (*ListAdminPlayerConfigsRequest) Descriptor() ([]byte, []int) {
return file_app_v1_admin_proto_rawDescGZIP(), []int{58}
}
func (x *ListAdminPlayerConfigsRequest) GetPage() int32 {
if x != nil {
return x.Page
}
return 0
}
func (x *ListAdminPlayerConfigsRequest) GetLimit() int32 {
if x != nil {
return x.Limit
}
return 0
}
func (x *ListAdminPlayerConfigsRequest) GetUserId() string {
if x != nil && x.UserId != nil {
return *x.UserId
}
return ""
}
func (x *ListAdminPlayerConfigsRequest) GetSearch() string {
if x != nil && x.Search != nil {
return *x.Search
}
return ""
}
type ListAdminPlayerConfigsResponse struct {
state protoimpl.MessageState `protogen:"open.v1"`
Configs []*AdminPlayerConfig `protobuf:"bytes,1,rep,name=configs,proto3" json:"configs,omitempty"`
Total int64 `protobuf:"varint,2,opt,name=total,proto3" json:"total,omitempty"`
Page int32 `protobuf:"varint,3,opt,name=page,proto3" json:"page,omitempty"`
Limit int32 `protobuf:"varint,4,opt,name=limit,proto3" json:"limit,omitempty"`
unknownFields protoimpl.UnknownFields
sizeCache protoimpl.SizeCache
}
func (x *ListAdminPlayerConfigsResponse) Reset() {
*x = ListAdminPlayerConfigsResponse{}
mi := &file_app_v1_admin_proto_msgTypes[59]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
func (x *ListAdminPlayerConfigsResponse) String() string {
return protoimpl.X.MessageStringOf(x)
}
func (*ListAdminPlayerConfigsResponse) ProtoMessage() {}
func (x *ListAdminPlayerConfigsResponse) ProtoReflect() protoreflect.Message {
mi := &file_app_v1_admin_proto_msgTypes[59]
if x != nil {
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
if ms.LoadMessageInfo() == nil {
ms.StoreMessageInfo(mi)
}
return ms
}
return mi.MessageOf(x)
}
// Deprecated: Use ListAdminPlayerConfigsResponse.ProtoReflect.Descriptor instead.
func (*ListAdminPlayerConfigsResponse) Descriptor() ([]byte, []int) {
return file_app_v1_admin_proto_rawDescGZIP(), []int{59}
}
func (x *ListAdminPlayerConfigsResponse) GetConfigs() []*AdminPlayerConfig {
if x != nil {
return x.Configs
}
return nil
}
func (x *ListAdminPlayerConfigsResponse) GetTotal() int64 {
if x != nil {
return x.Total
}
return 0
}
func (x *ListAdminPlayerConfigsResponse) GetPage() int32 {
if x != nil {
return x.Page
}
return 0
}
func (x *ListAdminPlayerConfigsResponse) GetLimit() int32 {
if x != nil {
return x.Limit
}
return 0
}
type GetAdminPlayerConfigRequest struct {
state protoimpl.MessageState `protogen:"open.v1"`
Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"`
unknownFields protoimpl.UnknownFields
sizeCache protoimpl.SizeCache
}
func (x *GetAdminPlayerConfigRequest) Reset() {
*x = GetAdminPlayerConfigRequest{}
mi := &file_app_v1_admin_proto_msgTypes[60]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
func (x *GetAdminPlayerConfigRequest) String() string {
return protoimpl.X.MessageStringOf(x)
}
func (*GetAdminPlayerConfigRequest) ProtoMessage() {}
func (x *GetAdminPlayerConfigRequest) ProtoReflect() protoreflect.Message {
mi := &file_app_v1_admin_proto_msgTypes[60]
if x != nil {
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
if ms.LoadMessageInfo() == nil {
ms.StoreMessageInfo(mi)
}
return ms
}
return mi.MessageOf(x)
}
// Deprecated: Use GetAdminPlayerConfigRequest.ProtoReflect.Descriptor instead.
func (*GetAdminPlayerConfigRequest) Descriptor() ([]byte, []int) {
return file_app_v1_admin_proto_rawDescGZIP(), []int{60}
}
func (x *GetAdminPlayerConfigRequest) GetId() string {
if x != nil {
return x.Id
}
return ""
}
type GetAdminPlayerConfigResponse struct {
state protoimpl.MessageState `protogen:"open.v1"`
Config *AdminPlayerConfig `protobuf:"bytes,1,opt,name=config,proto3" json:"config,omitempty"`
unknownFields protoimpl.UnknownFields
sizeCache protoimpl.SizeCache
}
func (x *GetAdminPlayerConfigResponse) Reset() {
*x = GetAdminPlayerConfigResponse{}
mi := &file_app_v1_admin_proto_msgTypes[61]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
func (x *GetAdminPlayerConfigResponse) String() string {
return protoimpl.X.MessageStringOf(x)
}
func (*GetAdminPlayerConfigResponse) ProtoMessage() {}
func (x *GetAdminPlayerConfigResponse) ProtoReflect() protoreflect.Message {
mi := &file_app_v1_admin_proto_msgTypes[61]
if x != nil {
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
if ms.LoadMessageInfo() == nil {
ms.StoreMessageInfo(mi)
}
return ms
}
return mi.MessageOf(x)
}
// Deprecated: Use GetAdminPlayerConfigResponse.ProtoReflect.Descriptor instead.
func (*GetAdminPlayerConfigResponse) Descriptor() ([]byte, []int) {
return file_app_v1_admin_proto_rawDescGZIP(), []int{61}
}
func (x *GetAdminPlayerConfigResponse) GetConfig() *AdminPlayerConfig {
if x != nil {
return x.Config
}
return nil
}
type CreateAdminPlayerConfigRequest struct {
state protoimpl.MessageState `protogen:"open.v1"`
UserId string `protobuf:"bytes,1,opt,name=user_id,json=userId,proto3" json:"user_id,omitempty"`
Name string `protobuf:"bytes,2,opt,name=name,proto3" json:"name,omitempty"`
Description *string `protobuf:"bytes,3,opt,name=description,proto3,oneof" json:"description,omitempty"`
Autoplay bool `protobuf:"varint,4,opt,name=autoplay,proto3" json:"autoplay,omitempty"`
Loop bool `protobuf:"varint,5,opt,name=loop,proto3" json:"loop,omitempty"`
Muted bool `protobuf:"varint,6,opt,name=muted,proto3" json:"muted,omitempty"`
ShowControls bool `protobuf:"varint,7,opt,name=show_controls,json=showControls,proto3" json:"show_controls,omitempty"`
Pip bool `protobuf:"varint,8,opt,name=pip,proto3" json:"pip,omitempty"`
Airplay bool `protobuf:"varint,9,opt,name=airplay,proto3" json:"airplay,omitempty"`
Chromecast bool `protobuf:"varint,10,opt,name=chromecast,proto3" json:"chromecast,omitempty"`
IsActive *bool `protobuf:"varint,11,opt,name=is_active,json=isActive,proto3,oneof" json:"is_active,omitempty"`
IsDefault *bool `protobuf:"varint,12,opt,name=is_default,json=isDefault,proto3,oneof" json:"is_default,omitempty"`
EncrytionM3U8 *bool `protobuf:"varint,13,opt,name=encrytion_m3u8,json=encrytionM3u8,proto3,oneof" json:"encrytion_m3u8,omitempty"`
LogoUrl *string `protobuf:"bytes,14,opt,name=logo_url,json=logoUrl,proto3,oneof" json:"logo_url,omitempty"`
unknownFields protoimpl.UnknownFields
sizeCache protoimpl.SizeCache
}
func (x *CreateAdminPlayerConfigRequest) Reset() {
*x = CreateAdminPlayerConfigRequest{}
mi := &file_app_v1_admin_proto_msgTypes[62]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
func (x *CreateAdminPlayerConfigRequest) String() string {
return protoimpl.X.MessageStringOf(x)
}
func (*CreateAdminPlayerConfigRequest) ProtoMessage() {}
func (x *CreateAdminPlayerConfigRequest) ProtoReflect() protoreflect.Message {
mi := &file_app_v1_admin_proto_msgTypes[62]
if x != nil {
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
if ms.LoadMessageInfo() == nil {
ms.StoreMessageInfo(mi)
}
return ms
}
return mi.MessageOf(x)
}
// Deprecated: Use CreateAdminPlayerConfigRequest.ProtoReflect.Descriptor instead.
func (*CreateAdminPlayerConfigRequest) Descriptor() ([]byte, []int) {
return file_app_v1_admin_proto_rawDescGZIP(), []int{62}
}
func (x *CreateAdminPlayerConfigRequest) GetUserId() string {
if x != nil {
return x.UserId
}
return ""
}
func (x *CreateAdminPlayerConfigRequest) GetName() string {
if x != nil {
return x.Name
}
return ""
}
func (x *CreateAdminPlayerConfigRequest) GetDescription() string {
if x != nil && x.Description != nil {
return *x.Description
}
return ""
}
func (x *CreateAdminPlayerConfigRequest) GetAutoplay() bool {
if x != nil {
return x.Autoplay
}
return false
}
func (x *CreateAdminPlayerConfigRequest) GetLoop() bool {
if x != nil {
return x.Loop
}
return false
}
func (x *CreateAdminPlayerConfigRequest) GetMuted() bool {
if x != nil {
return x.Muted
}
return false
}
func (x *CreateAdminPlayerConfigRequest) GetShowControls() bool {
if x != nil {
return x.ShowControls
}
return false
}
func (x *CreateAdminPlayerConfigRequest) GetPip() bool {
if x != nil {
return x.Pip
}
return false
}
func (x *CreateAdminPlayerConfigRequest) GetAirplay() bool {
if x != nil {
return x.Airplay
}
return false
}
func (x *CreateAdminPlayerConfigRequest) GetChromecast() bool {
if x != nil {
return x.Chromecast
}
return false
}
func (x *CreateAdminPlayerConfigRequest) GetIsActive() bool {
if x != nil && x.IsActive != nil {
return *x.IsActive
}
return false
}
func (x *CreateAdminPlayerConfigRequest) GetIsDefault() bool {
if x != nil && x.IsDefault != nil {
return *x.IsDefault
}
return false
}
func (x *CreateAdminPlayerConfigRequest) GetEncrytionM3U8() bool {
if x != nil && x.EncrytionM3U8 != nil {
return *x.EncrytionM3U8
}
return false
}
func (x *CreateAdminPlayerConfigRequest) GetLogoUrl() string {
if x != nil && x.LogoUrl != nil {
return *x.LogoUrl
}
return ""
}
type CreateAdminPlayerConfigResponse struct {
state protoimpl.MessageState `protogen:"open.v1"`
Config *AdminPlayerConfig `protobuf:"bytes,1,opt,name=config,proto3" json:"config,omitempty"`
unknownFields protoimpl.UnknownFields
sizeCache protoimpl.SizeCache
}
func (x *CreateAdminPlayerConfigResponse) Reset() {
*x = CreateAdminPlayerConfigResponse{}
mi := &file_app_v1_admin_proto_msgTypes[63]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
func (x *CreateAdminPlayerConfigResponse) String() string {
return protoimpl.X.MessageStringOf(x)
}
func (*CreateAdminPlayerConfigResponse) ProtoMessage() {}
func (x *CreateAdminPlayerConfigResponse) ProtoReflect() protoreflect.Message {
mi := &file_app_v1_admin_proto_msgTypes[63]
if x != nil {
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
if ms.LoadMessageInfo() == nil {
ms.StoreMessageInfo(mi)
}
return ms
}
return mi.MessageOf(x)
}
// Deprecated: Use CreateAdminPlayerConfigResponse.ProtoReflect.Descriptor instead.
func (*CreateAdminPlayerConfigResponse) Descriptor() ([]byte, []int) {
return file_app_v1_admin_proto_rawDescGZIP(), []int{63}
}
func (x *CreateAdminPlayerConfigResponse) GetConfig() *AdminPlayerConfig {
if x != nil {
return x.Config
}
return nil
}
type UpdateAdminPlayerConfigRequest struct {
state protoimpl.MessageState `protogen:"open.v1"`
Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"`
UserId string `protobuf:"bytes,2,opt,name=user_id,json=userId,proto3" json:"user_id,omitempty"`
Name string `protobuf:"bytes,3,opt,name=name,proto3" json:"name,omitempty"`
Description *string `protobuf:"bytes,4,opt,name=description,proto3,oneof" json:"description,omitempty"`
Autoplay bool `protobuf:"varint,5,opt,name=autoplay,proto3" json:"autoplay,omitempty"`
Loop bool `protobuf:"varint,6,opt,name=loop,proto3" json:"loop,omitempty"`
Muted bool `protobuf:"varint,7,opt,name=muted,proto3" json:"muted,omitempty"`
ShowControls bool `protobuf:"varint,8,opt,name=show_controls,json=showControls,proto3" json:"show_controls,omitempty"`
Pip bool `protobuf:"varint,9,opt,name=pip,proto3" json:"pip,omitempty"`
Airplay bool `protobuf:"varint,10,opt,name=airplay,proto3" json:"airplay,omitempty"`
Chromecast bool `protobuf:"varint,11,opt,name=chromecast,proto3" json:"chromecast,omitempty"`
IsActive *bool `protobuf:"varint,12,opt,name=is_active,json=isActive,proto3,oneof" json:"is_active,omitempty"`
IsDefault *bool `protobuf:"varint,13,opt,name=is_default,json=isDefault,proto3,oneof" json:"is_default,omitempty"`
EncrytionM3U8 *bool `protobuf:"varint,14,opt,name=encrytion_m3u8,json=encrytionM3u8,proto3,oneof" json:"encrytion_m3u8,omitempty"`
LogoUrl *string `protobuf:"bytes,15,opt,name=logo_url,json=logoUrl,proto3,oneof" json:"logo_url,omitempty"`
unknownFields protoimpl.UnknownFields
sizeCache protoimpl.SizeCache
}
func (x *UpdateAdminPlayerConfigRequest) Reset() {
*x = UpdateAdminPlayerConfigRequest{}
mi := &file_app_v1_admin_proto_msgTypes[64]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
func (x *UpdateAdminPlayerConfigRequest) String() string {
return protoimpl.X.MessageStringOf(x)
}
func (*UpdateAdminPlayerConfigRequest) ProtoMessage() {}
func (x *UpdateAdminPlayerConfigRequest) ProtoReflect() protoreflect.Message {
mi := &file_app_v1_admin_proto_msgTypes[64]
if x != nil {
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
if ms.LoadMessageInfo() == nil {
ms.StoreMessageInfo(mi)
}
return ms
}
return mi.MessageOf(x)
}
// Deprecated: Use UpdateAdminPlayerConfigRequest.ProtoReflect.Descriptor instead.
func (*UpdateAdminPlayerConfigRequest) Descriptor() ([]byte, []int) {
return file_app_v1_admin_proto_rawDescGZIP(), []int{64}
}
func (x *UpdateAdminPlayerConfigRequest) GetId() string {
if x != nil {
return x.Id
}
return ""
}
func (x *UpdateAdminPlayerConfigRequest) GetUserId() string {
if x != nil {
return x.UserId
}
return ""
}
func (x *UpdateAdminPlayerConfigRequest) GetName() string {
if x != nil {
return x.Name
}
return ""
}
func (x *UpdateAdminPlayerConfigRequest) GetDescription() string {
if x != nil && x.Description != nil {
return *x.Description
}
return ""
}
func (x *UpdateAdminPlayerConfigRequest) GetAutoplay() bool {
if x != nil {
return x.Autoplay
}
return false
}
func (x *UpdateAdminPlayerConfigRequest) GetLoop() bool {
if x != nil {
return x.Loop
}
return false
}
func (x *UpdateAdminPlayerConfigRequest) GetMuted() bool {
if x != nil {
return x.Muted
}
return false
}
func (x *UpdateAdminPlayerConfigRequest) GetShowControls() bool {
if x != nil {
return x.ShowControls
}
return false
}
func (x *UpdateAdminPlayerConfigRequest) GetPip() bool {
if x != nil {
return x.Pip
}
return false
}
func (x *UpdateAdminPlayerConfigRequest) GetAirplay() bool {
if x != nil {
return x.Airplay
}
return false
}
func (x *UpdateAdminPlayerConfigRequest) GetChromecast() bool {
if x != nil {
return x.Chromecast
}
return false
}
func (x *UpdateAdminPlayerConfigRequest) GetIsActive() bool {
if x != nil && x.IsActive != nil {
return *x.IsActive
}
return false
}
func (x *UpdateAdminPlayerConfigRequest) GetIsDefault() bool {
if x != nil && x.IsDefault != nil {
return *x.IsDefault
}
return false
}
func (x *UpdateAdminPlayerConfigRequest) GetEncrytionM3U8() bool {
if x != nil && x.EncrytionM3U8 != nil {
return *x.EncrytionM3U8
}
return false
}
func (x *UpdateAdminPlayerConfigRequest) GetLogoUrl() string {
if x != nil && x.LogoUrl != nil {
return *x.LogoUrl
}
return ""
}
type UpdateAdminPlayerConfigResponse struct {
state protoimpl.MessageState `protogen:"open.v1"`
Config *AdminPlayerConfig `protobuf:"bytes,1,opt,name=config,proto3" json:"config,omitempty"`
unknownFields protoimpl.UnknownFields
sizeCache protoimpl.SizeCache
}
func (x *UpdateAdminPlayerConfigResponse) Reset() {
*x = UpdateAdminPlayerConfigResponse{}
mi := &file_app_v1_admin_proto_msgTypes[65]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
func (x *UpdateAdminPlayerConfigResponse) String() string {
return protoimpl.X.MessageStringOf(x)
}
func (*UpdateAdminPlayerConfigResponse) ProtoMessage() {}
func (x *UpdateAdminPlayerConfigResponse) ProtoReflect() protoreflect.Message {
mi := &file_app_v1_admin_proto_msgTypes[65]
if x != nil {
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
if ms.LoadMessageInfo() == nil {
ms.StoreMessageInfo(mi)
}
return ms
}
return mi.MessageOf(x)
}
// Deprecated: Use UpdateAdminPlayerConfigResponse.ProtoReflect.Descriptor instead.
func (*UpdateAdminPlayerConfigResponse) Descriptor() ([]byte, []int) {
return file_app_v1_admin_proto_rawDescGZIP(), []int{65}
}
func (x *UpdateAdminPlayerConfigResponse) GetConfig() *AdminPlayerConfig {
if x != nil {
return x.Config
}
return nil
}
type DeleteAdminPlayerConfigRequest struct {
state protoimpl.MessageState `protogen:"open.v1"`
Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"`
unknownFields protoimpl.UnknownFields
sizeCache protoimpl.SizeCache
}
func (x *DeleteAdminPlayerConfigRequest) Reset() {
*x = DeleteAdminPlayerConfigRequest{}
mi := &file_app_v1_admin_proto_msgTypes[66]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
func (x *DeleteAdminPlayerConfigRequest) String() string {
return protoimpl.X.MessageStringOf(x)
}
func (*DeleteAdminPlayerConfigRequest) ProtoMessage() {}
func (x *DeleteAdminPlayerConfigRequest) ProtoReflect() protoreflect.Message {
mi := &file_app_v1_admin_proto_msgTypes[66]
if x != nil {
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
if ms.LoadMessageInfo() == nil {
ms.StoreMessageInfo(mi)
}
return ms
}
return mi.MessageOf(x)
}
// Deprecated: Use DeleteAdminPlayerConfigRequest.ProtoReflect.Descriptor instead.
func (*DeleteAdminPlayerConfigRequest) Descriptor() ([]byte, []int) {
return file_app_v1_admin_proto_rawDescGZIP(), []int{66}
}
func (x *DeleteAdminPlayerConfigRequest) GetId() string {
if x != nil {
return x.Id
}
return ""
}
type ListAdminJobsRequest struct {
state protoimpl.MessageState `protogen:"open.v1"`
Cursor *string `protobuf:"bytes,4,opt,name=cursor,proto3,oneof" json:"cursor,omitempty"`
PageSize int32 `protobuf:"varint,5,opt,name=page_size,json=pageSize,proto3" json:"page_size,omitempty"`
// Deprecated: use cursor for keyset pagination.
Offset int32 `protobuf:"varint,1,opt,name=offset,proto3" json:"offset,omitempty"`
// Deprecated: use page_size for keyset pagination.
Limit int32 `protobuf:"varint,2,opt,name=limit,proto3" json:"limit,omitempty"`
AgentId *string `protobuf:"bytes,3,opt,name=agent_id,json=agentId,proto3,oneof" json:"agent_id,omitempty"`
unknownFields protoimpl.UnknownFields
sizeCache protoimpl.SizeCache
}
func (x *ListAdminJobsRequest) Reset() {
*x = ListAdminJobsRequest{}
mi := &file_app_v1_admin_proto_msgTypes[67]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
func (x *ListAdminJobsRequest) String() string {
return protoimpl.X.MessageStringOf(x)
}
func (*ListAdminJobsRequest) ProtoMessage() {}
func (x *ListAdminJobsRequest) ProtoReflect() protoreflect.Message {
mi := &file_app_v1_admin_proto_msgTypes[67]
if x != nil {
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
if ms.LoadMessageInfo() == nil {
ms.StoreMessageInfo(mi)
}
return ms
}
return mi.MessageOf(x)
}
// Deprecated: Use ListAdminJobsRequest.ProtoReflect.Descriptor instead.
func (*ListAdminJobsRequest) Descriptor() ([]byte, []int) {
return file_app_v1_admin_proto_rawDescGZIP(), []int{67}
}
func (x *ListAdminJobsRequest) GetCursor() string {
if x != nil && x.Cursor != nil {
return *x.Cursor
}
return ""
}
func (x *ListAdminJobsRequest) GetPageSize() int32 {
if x != nil {
return x.PageSize
}
return 0
}
func (x *ListAdminJobsRequest) GetOffset() int32 {
if x != nil {
return x.Offset
}
return 0
}
func (x *ListAdminJobsRequest) GetLimit() int32 {
if x != nil {
return x.Limit
}
return 0
}
func (x *ListAdminJobsRequest) GetAgentId() string {
if x != nil && x.AgentId != nil {
return *x.AgentId
}
return ""
}
type ListAdminJobsResponse struct {
state protoimpl.MessageState `protogen:"open.v1"`
Jobs []*AdminJob `protobuf:"bytes,1,rep,name=jobs,proto3" json:"jobs,omitempty"`
Total int64 `protobuf:"varint,2,opt,name=total,proto3" json:"total,omitempty"`
Offset int32 `protobuf:"varint,3,opt,name=offset,proto3" json:"offset,omitempty"`
Limit int32 `protobuf:"varint,4,opt,name=limit,proto3" json:"limit,omitempty"`
HasMore bool `protobuf:"varint,5,opt,name=has_more,json=hasMore,proto3" json:"has_more,omitempty"`
NextCursor *string `protobuf:"bytes,6,opt,name=next_cursor,json=nextCursor,proto3,oneof" json:"next_cursor,omitempty"`
PageSize int32 `protobuf:"varint,7,opt,name=page_size,json=pageSize,proto3" json:"page_size,omitempty"`
unknownFields protoimpl.UnknownFields
sizeCache protoimpl.SizeCache
}
func (x *ListAdminJobsResponse) Reset() {
*x = ListAdminJobsResponse{}
mi := &file_app_v1_admin_proto_msgTypes[68]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
func (x *ListAdminJobsResponse) String() string {
return protoimpl.X.MessageStringOf(x)
}
func (*ListAdminJobsResponse) ProtoMessage() {}
func (x *ListAdminJobsResponse) ProtoReflect() protoreflect.Message {
mi := &file_app_v1_admin_proto_msgTypes[68]
if x != nil {
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
if ms.LoadMessageInfo() == nil {
ms.StoreMessageInfo(mi)
}
return ms
}
return mi.MessageOf(x)
}
// Deprecated: Use ListAdminJobsResponse.ProtoReflect.Descriptor instead.
func (*ListAdminJobsResponse) Descriptor() ([]byte, []int) {
return file_app_v1_admin_proto_rawDescGZIP(), []int{68}
}
func (x *ListAdminJobsResponse) GetJobs() []*AdminJob {
if x != nil {
return x.Jobs
}
return nil
}
func (x *ListAdminJobsResponse) GetTotal() int64 {
if x != nil {
return x.Total
}
return 0
}
func (x *ListAdminJobsResponse) GetOffset() int32 {
if x != nil {
return x.Offset
}
return 0
}
func (x *ListAdminJobsResponse) GetLimit() int32 {
if x != nil {
return x.Limit
}
return 0
}
func (x *ListAdminJobsResponse) GetHasMore() bool {
if x != nil {
return x.HasMore
}
return false
}
func (x *ListAdminJobsResponse) GetNextCursor() string {
if x != nil && x.NextCursor != nil {
return *x.NextCursor
}
return ""
}
func (x *ListAdminJobsResponse) GetPageSize() int32 {
if x != nil {
return x.PageSize
}
return 0
}
type GetAdminJobRequest struct {
state protoimpl.MessageState `protogen:"open.v1"`
Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"`
unknownFields protoimpl.UnknownFields
sizeCache protoimpl.SizeCache
}
func (x *GetAdminJobRequest) Reset() {
*x = GetAdminJobRequest{}
mi := &file_app_v1_admin_proto_msgTypes[69]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
func (x *GetAdminJobRequest) String() string {
return protoimpl.X.MessageStringOf(x)
}
func (*GetAdminJobRequest) ProtoMessage() {}
func (x *GetAdminJobRequest) ProtoReflect() protoreflect.Message {
mi := &file_app_v1_admin_proto_msgTypes[69]
if x != nil {
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
if ms.LoadMessageInfo() == nil {
ms.StoreMessageInfo(mi)
}
return ms
}
return mi.MessageOf(x)
}
// Deprecated: Use GetAdminJobRequest.ProtoReflect.Descriptor instead.
func (*GetAdminJobRequest) Descriptor() ([]byte, []int) {
return file_app_v1_admin_proto_rawDescGZIP(), []int{69}
}
func (x *GetAdminJobRequest) GetId() string {
if x != nil {
return x.Id
}
return ""
}
type GetAdminJobResponse struct {
state protoimpl.MessageState `protogen:"open.v1"`
Job *AdminJob `protobuf:"bytes,1,opt,name=job,proto3" json:"job,omitempty"`
unknownFields protoimpl.UnknownFields
sizeCache protoimpl.SizeCache
}
func (x *GetAdminJobResponse) Reset() {
*x = GetAdminJobResponse{}
mi := &file_app_v1_admin_proto_msgTypes[70]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
func (x *GetAdminJobResponse) String() string {
return protoimpl.X.MessageStringOf(x)
}
func (*GetAdminJobResponse) ProtoMessage() {}
func (x *GetAdminJobResponse) ProtoReflect() protoreflect.Message {
mi := &file_app_v1_admin_proto_msgTypes[70]
if x != nil {
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
if ms.LoadMessageInfo() == nil {
ms.StoreMessageInfo(mi)
}
return ms
}
return mi.MessageOf(x)
}
// Deprecated: Use GetAdminJobResponse.ProtoReflect.Descriptor instead.
func (*GetAdminJobResponse) Descriptor() ([]byte, []int) {
return file_app_v1_admin_proto_rawDescGZIP(), []int{70}
}
func (x *GetAdminJobResponse) GetJob() *AdminJob {
if x != nil {
return x.Job
}
return nil
}
type GetAdminJobLogsRequest struct {
state protoimpl.MessageState `protogen:"open.v1"`
Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"`
unknownFields protoimpl.UnknownFields
sizeCache protoimpl.SizeCache
}
func (x *GetAdminJobLogsRequest) Reset() {
*x = GetAdminJobLogsRequest{}
mi := &file_app_v1_admin_proto_msgTypes[71]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
func (x *GetAdminJobLogsRequest) String() string {
return protoimpl.X.MessageStringOf(x)
}
func (*GetAdminJobLogsRequest) ProtoMessage() {}
func (x *GetAdminJobLogsRequest) ProtoReflect() protoreflect.Message {
mi := &file_app_v1_admin_proto_msgTypes[71]
if x != nil {
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
if ms.LoadMessageInfo() == nil {
ms.StoreMessageInfo(mi)
}
return ms
}
return mi.MessageOf(x)
}
// Deprecated: Use GetAdminJobLogsRequest.ProtoReflect.Descriptor instead.
func (*GetAdminJobLogsRequest) Descriptor() ([]byte, []int) {
return file_app_v1_admin_proto_rawDescGZIP(), []int{71}
}
func (x *GetAdminJobLogsRequest) GetId() string {
if x != nil {
return x.Id
}
return ""
}
type GetAdminJobLogsResponse struct {
state protoimpl.MessageState `protogen:"open.v1"`
Logs string `protobuf:"bytes,1,opt,name=logs,proto3" json:"logs,omitempty"`
unknownFields protoimpl.UnknownFields
sizeCache protoimpl.SizeCache
}
func (x *GetAdminJobLogsResponse) Reset() {
*x = GetAdminJobLogsResponse{}
mi := &file_app_v1_admin_proto_msgTypes[72]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
func (x *GetAdminJobLogsResponse) String() string {
return protoimpl.X.MessageStringOf(x)
}
func (*GetAdminJobLogsResponse) ProtoMessage() {}
func (x *GetAdminJobLogsResponse) ProtoReflect() protoreflect.Message {
mi := &file_app_v1_admin_proto_msgTypes[72]
if x != nil {
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
if ms.LoadMessageInfo() == nil {
ms.StoreMessageInfo(mi)
}
return ms
}
return mi.MessageOf(x)
}
// Deprecated: Use GetAdminJobLogsResponse.ProtoReflect.Descriptor instead.
func (*GetAdminJobLogsResponse) Descriptor() ([]byte, []int) {
return file_app_v1_admin_proto_rawDescGZIP(), []int{72}
}
func (x *GetAdminJobLogsResponse) GetLogs() string {
if x != nil {
return x.Logs
}
return ""
}
type CreateAdminJobRequest struct {
state protoimpl.MessageState `protogen:"open.v1"`
Command string `protobuf:"bytes,1,opt,name=command,proto3" json:"command,omitempty"`
Image *string `protobuf:"bytes,2,opt,name=image,proto3,oneof" json:"image,omitempty"`
Env map[string]string `protobuf:"bytes,3,rep,name=env,proto3" json:"env,omitempty" protobuf_key:"bytes,1,opt,name=key" protobuf_val:"bytes,2,opt,name=value"`
Priority int32 `protobuf:"varint,4,opt,name=priority,proto3" json:"priority,omitempty"`
UserId *string `protobuf:"bytes,5,opt,name=user_id,json=userId,proto3,oneof" json:"user_id,omitempty"`
Name *string `protobuf:"bytes,6,opt,name=name,proto3,oneof" json:"name,omitempty"`
TimeLimit int64 `protobuf:"varint,7,opt,name=time_limit,json=timeLimit,proto3" json:"time_limit,omitempty"`
VideoId *string `protobuf:"bytes,8,opt,name=video_id,json=videoId,proto3,oneof" json:"video_id,omitempty"`
unknownFields protoimpl.UnknownFields
sizeCache protoimpl.SizeCache
}
func (x *CreateAdminJobRequest) Reset() {
*x = CreateAdminJobRequest{}
mi := &file_app_v1_admin_proto_msgTypes[73]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
func (x *CreateAdminJobRequest) String() string {
return protoimpl.X.MessageStringOf(x)
}
func (*CreateAdminJobRequest) ProtoMessage() {}
func (x *CreateAdminJobRequest) ProtoReflect() protoreflect.Message {
mi := &file_app_v1_admin_proto_msgTypes[73]
if x != nil {
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
if ms.LoadMessageInfo() == nil {
ms.StoreMessageInfo(mi)
}
return ms
}
return mi.MessageOf(x)
}
// Deprecated: Use CreateAdminJobRequest.ProtoReflect.Descriptor instead.
func (*CreateAdminJobRequest) Descriptor() ([]byte, []int) {
return file_app_v1_admin_proto_rawDescGZIP(), []int{73}
}
func (x *CreateAdminJobRequest) GetCommand() string {
if x != nil {
return x.Command
}
return ""
}
func (x *CreateAdminJobRequest) GetImage() string {
if x != nil && x.Image != nil {
return *x.Image
}
return ""
}
func (x *CreateAdminJobRequest) GetEnv() map[string]string {
if x != nil {
return x.Env
}
return nil
}
func (x *CreateAdminJobRequest) GetPriority() int32 {
if x != nil {
return x.Priority
}
return 0
}
func (x *CreateAdminJobRequest) GetUserId() string {
if x != nil && x.UserId != nil {
return *x.UserId
}
return ""
}
func (x *CreateAdminJobRequest) GetName() string {
if x != nil && x.Name != nil {
return *x.Name
}
return ""
}
func (x *CreateAdminJobRequest) GetTimeLimit() int64 {
if x != nil {
return x.TimeLimit
}
return 0
}
func (x *CreateAdminJobRequest) GetVideoId() string {
if x != nil && x.VideoId != nil {
return *x.VideoId
}
return ""
}
type CreateAdminJobResponse struct {
state protoimpl.MessageState `protogen:"open.v1"`
Job *AdminJob `protobuf:"bytes,1,opt,name=job,proto3" json:"job,omitempty"`
unknownFields protoimpl.UnknownFields
sizeCache protoimpl.SizeCache
}
func (x *CreateAdminJobResponse) Reset() {
*x = CreateAdminJobResponse{}
mi := &file_app_v1_admin_proto_msgTypes[74]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
func (x *CreateAdminJobResponse) String() string {
return protoimpl.X.MessageStringOf(x)
}
func (*CreateAdminJobResponse) ProtoMessage() {}
func (x *CreateAdminJobResponse) ProtoReflect() protoreflect.Message {
mi := &file_app_v1_admin_proto_msgTypes[74]
if x != nil {
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
if ms.LoadMessageInfo() == nil {
ms.StoreMessageInfo(mi)
}
return ms
}
return mi.MessageOf(x)
}
// Deprecated: Use CreateAdminJobResponse.ProtoReflect.Descriptor instead.
func (*CreateAdminJobResponse) Descriptor() ([]byte, []int) {
return file_app_v1_admin_proto_rawDescGZIP(), []int{74}
}
func (x *CreateAdminJobResponse) GetJob() *AdminJob {
if x != nil {
return x.Job
}
return nil
}
type CancelAdminJobRequest struct {
state protoimpl.MessageState `protogen:"open.v1"`
Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"`
unknownFields protoimpl.UnknownFields
sizeCache protoimpl.SizeCache
}
func (x *CancelAdminJobRequest) Reset() {
*x = CancelAdminJobRequest{}
mi := &file_app_v1_admin_proto_msgTypes[75]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
func (x *CancelAdminJobRequest) String() string {
return protoimpl.X.MessageStringOf(x)
}
func (*CancelAdminJobRequest) ProtoMessage() {}
func (x *CancelAdminJobRequest) ProtoReflect() protoreflect.Message {
mi := &file_app_v1_admin_proto_msgTypes[75]
if x != nil {
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
if ms.LoadMessageInfo() == nil {
ms.StoreMessageInfo(mi)
}
return ms
}
return mi.MessageOf(x)
}
// Deprecated: Use CancelAdminJobRequest.ProtoReflect.Descriptor instead.
func (*CancelAdminJobRequest) Descriptor() ([]byte, []int) {
return file_app_v1_admin_proto_rawDescGZIP(), []int{75}
}
func (x *CancelAdminJobRequest) GetId() string {
if x != nil {
return x.Id
}
return ""
}
type CancelAdminJobResponse struct {
state protoimpl.MessageState `protogen:"open.v1"`
Status string `protobuf:"bytes,1,opt,name=status,proto3" json:"status,omitempty"`
JobId string `protobuf:"bytes,2,opt,name=job_id,json=jobId,proto3" json:"job_id,omitempty"`
unknownFields protoimpl.UnknownFields
sizeCache protoimpl.SizeCache
}
func (x *CancelAdminJobResponse) Reset() {
*x = CancelAdminJobResponse{}
mi := &file_app_v1_admin_proto_msgTypes[76]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
func (x *CancelAdminJobResponse) String() string {
return protoimpl.X.MessageStringOf(x)
}
func (*CancelAdminJobResponse) ProtoMessage() {}
func (x *CancelAdminJobResponse) ProtoReflect() protoreflect.Message {
mi := &file_app_v1_admin_proto_msgTypes[76]
if x != nil {
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
if ms.LoadMessageInfo() == nil {
ms.StoreMessageInfo(mi)
}
return ms
}
return mi.MessageOf(x)
}
// Deprecated: Use CancelAdminJobResponse.ProtoReflect.Descriptor instead.
func (*CancelAdminJobResponse) Descriptor() ([]byte, []int) {
return file_app_v1_admin_proto_rawDescGZIP(), []int{76}
}
func (x *CancelAdminJobResponse) GetStatus() string {
if x != nil {
return x.Status
}
return ""
}
func (x *CancelAdminJobResponse) GetJobId() string {
if x != nil {
return x.JobId
}
return ""
}
type RetryAdminJobRequest struct {
state protoimpl.MessageState `protogen:"open.v1"`
Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"`
unknownFields protoimpl.UnknownFields
sizeCache protoimpl.SizeCache
}
func (x *RetryAdminJobRequest) Reset() {
*x = RetryAdminJobRequest{}
mi := &file_app_v1_admin_proto_msgTypes[77]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
func (x *RetryAdminJobRequest) String() string {
return protoimpl.X.MessageStringOf(x)
}
func (*RetryAdminJobRequest) ProtoMessage() {}
func (x *RetryAdminJobRequest) ProtoReflect() protoreflect.Message {
mi := &file_app_v1_admin_proto_msgTypes[77]
if x != nil {
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
if ms.LoadMessageInfo() == nil {
ms.StoreMessageInfo(mi)
}
return ms
}
return mi.MessageOf(x)
}
// Deprecated: Use RetryAdminJobRequest.ProtoReflect.Descriptor instead.
func (*RetryAdminJobRequest) Descriptor() ([]byte, []int) {
return file_app_v1_admin_proto_rawDescGZIP(), []int{77}
}
func (x *RetryAdminJobRequest) GetId() string {
if x != nil {
return x.Id
}
return ""
}
type RetryAdminJobResponse struct {
state protoimpl.MessageState `protogen:"open.v1"`
Job *AdminJob `protobuf:"bytes,1,opt,name=job,proto3" json:"job,omitempty"`
unknownFields protoimpl.UnknownFields
sizeCache protoimpl.SizeCache
}
func (x *RetryAdminJobResponse) Reset() {
*x = RetryAdminJobResponse{}
mi := &file_app_v1_admin_proto_msgTypes[78]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
func (x *RetryAdminJobResponse) String() string {
return protoimpl.X.MessageStringOf(x)
}
func (*RetryAdminJobResponse) ProtoMessage() {}
func (x *RetryAdminJobResponse) ProtoReflect() protoreflect.Message {
mi := &file_app_v1_admin_proto_msgTypes[78]
if x != nil {
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
if ms.LoadMessageInfo() == nil {
ms.StoreMessageInfo(mi)
}
return ms
}
return mi.MessageOf(x)
}
// Deprecated: Use RetryAdminJobResponse.ProtoReflect.Descriptor instead.
func (*RetryAdminJobResponse) Descriptor() ([]byte, []int) {
return file_app_v1_admin_proto_rawDescGZIP(), []int{78}
}
func (x *RetryAdminJobResponse) GetJob() *AdminJob {
if x != nil {
return x.Job
}
return nil
}
type ListAdminDlqJobsRequest struct {
state protoimpl.MessageState `protogen:"open.v1"`
Offset int32 `protobuf:"varint,1,opt,name=offset,proto3" json:"offset,omitempty"`
Limit int32 `protobuf:"varint,2,opt,name=limit,proto3" json:"limit,omitempty"`
unknownFields protoimpl.UnknownFields
sizeCache protoimpl.SizeCache
}
func (x *ListAdminDlqJobsRequest) Reset() {
*x = ListAdminDlqJobsRequest{}
mi := &file_app_v1_admin_proto_msgTypes[79]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
func (x *ListAdminDlqJobsRequest) String() string {
return protoimpl.X.MessageStringOf(x)
}
func (*ListAdminDlqJobsRequest) ProtoMessage() {}
func (x *ListAdminDlqJobsRequest) ProtoReflect() protoreflect.Message {
mi := &file_app_v1_admin_proto_msgTypes[79]
if x != nil {
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
if ms.LoadMessageInfo() == nil {
ms.StoreMessageInfo(mi)
}
return ms
}
return mi.MessageOf(x)
}
// Deprecated: Use ListAdminDlqJobsRequest.ProtoReflect.Descriptor instead.
func (*ListAdminDlqJobsRequest) Descriptor() ([]byte, []int) {
return file_app_v1_admin_proto_rawDescGZIP(), []int{79}
}
func (x *ListAdminDlqJobsRequest) GetOffset() int32 {
if x != nil {
return x.Offset
}
return 0
}
func (x *ListAdminDlqJobsRequest) GetLimit() int32 {
if x != nil {
return x.Limit
}
return 0
}
type ListAdminDlqJobsResponse struct {
state protoimpl.MessageState `protogen:"open.v1"`
Items []*AdminDlqEntry `protobuf:"bytes,1,rep,name=items,proto3" json:"items,omitempty"`
Total int64 `protobuf:"varint,2,opt,name=total,proto3" json:"total,omitempty"`
Offset int32 `protobuf:"varint,3,opt,name=offset,proto3" json:"offset,omitempty"`
Limit int32 `protobuf:"varint,4,opt,name=limit,proto3" json:"limit,omitempty"`
unknownFields protoimpl.UnknownFields
sizeCache protoimpl.SizeCache
}
func (x *ListAdminDlqJobsResponse) Reset() {
*x = ListAdminDlqJobsResponse{}
mi := &file_app_v1_admin_proto_msgTypes[80]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
func (x *ListAdminDlqJobsResponse) String() string {
return protoimpl.X.MessageStringOf(x)
}
func (*ListAdminDlqJobsResponse) ProtoMessage() {}
func (x *ListAdminDlqJobsResponse) ProtoReflect() protoreflect.Message {
mi := &file_app_v1_admin_proto_msgTypes[80]
if x != nil {
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
if ms.LoadMessageInfo() == nil {
ms.StoreMessageInfo(mi)
}
return ms
}
return mi.MessageOf(x)
}
// Deprecated: Use ListAdminDlqJobsResponse.ProtoReflect.Descriptor instead.
func (*ListAdminDlqJobsResponse) Descriptor() ([]byte, []int) {
return file_app_v1_admin_proto_rawDescGZIP(), []int{80}
}
func (x *ListAdminDlqJobsResponse) GetItems() []*AdminDlqEntry {
if x != nil {
return x.Items
}
return nil
}
func (x *ListAdminDlqJobsResponse) GetTotal() int64 {
if x != nil {
return x.Total
}
return 0
}
func (x *ListAdminDlqJobsResponse) GetOffset() int32 {
if x != nil {
return x.Offset
}
return 0
}
func (x *ListAdminDlqJobsResponse) GetLimit() int32 {
if x != nil {
return x.Limit
}
return 0
}
type GetAdminDlqJobRequest struct {
state protoimpl.MessageState `protogen:"open.v1"`
Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"`
unknownFields protoimpl.UnknownFields
sizeCache protoimpl.SizeCache
}
func (x *GetAdminDlqJobRequest) Reset() {
*x = GetAdminDlqJobRequest{}
mi := &file_app_v1_admin_proto_msgTypes[81]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
func (x *GetAdminDlqJobRequest) String() string {
return protoimpl.X.MessageStringOf(x)
}
func (*GetAdminDlqJobRequest) ProtoMessage() {}
func (x *GetAdminDlqJobRequest) ProtoReflect() protoreflect.Message {
mi := &file_app_v1_admin_proto_msgTypes[81]
if x != nil {
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
if ms.LoadMessageInfo() == nil {
ms.StoreMessageInfo(mi)
}
return ms
}
return mi.MessageOf(x)
}
// Deprecated: Use GetAdminDlqJobRequest.ProtoReflect.Descriptor instead.
func (*GetAdminDlqJobRequest) Descriptor() ([]byte, []int) {
return file_app_v1_admin_proto_rawDescGZIP(), []int{81}
}
func (x *GetAdminDlqJobRequest) GetId() string {
if x != nil {
return x.Id
}
return ""
}
type GetAdminDlqJobResponse struct {
state protoimpl.MessageState `protogen:"open.v1"`
Item *AdminDlqEntry `protobuf:"bytes,1,opt,name=item,proto3" json:"item,omitempty"`
unknownFields protoimpl.UnknownFields
sizeCache protoimpl.SizeCache
}
func (x *GetAdminDlqJobResponse) Reset() {
*x = GetAdminDlqJobResponse{}
mi := &file_app_v1_admin_proto_msgTypes[82]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
func (x *GetAdminDlqJobResponse) String() string {
return protoimpl.X.MessageStringOf(x)
}
func (*GetAdminDlqJobResponse) ProtoMessage() {}
func (x *GetAdminDlqJobResponse) ProtoReflect() protoreflect.Message {
mi := &file_app_v1_admin_proto_msgTypes[82]
if x != nil {
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
if ms.LoadMessageInfo() == nil {
ms.StoreMessageInfo(mi)
}
return ms
}
return mi.MessageOf(x)
}
// Deprecated: Use GetAdminDlqJobResponse.ProtoReflect.Descriptor instead.
func (*GetAdminDlqJobResponse) Descriptor() ([]byte, []int) {
return file_app_v1_admin_proto_rawDescGZIP(), []int{82}
}
func (x *GetAdminDlqJobResponse) GetItem() *AdminDlqEntry {
if x != nil {
return x.Item
}
return nil
}
type RetryAdminDlqJobRequest struct {
state protoimpl.MessageState `protogen:"open.v1"`
Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"`
unknownFields protoimpl.UnknownFields
sizeCache protoimpl.SizeCache
}
func (x *RetryAdminDlqJobRequest) Reset() {
*x = RetryAdminDlqJobRequest{}
mi := &file_app_v1_admin_proto_msgTypes[83]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
func (x *RetryAdminDlqJobRequest) String() string {
return protoimpl.X.MessageStringOf(x)
}
func (*RetryAdminDlqJobRequest) ProtoMessage() {}
func (x *RetryAdminDlqJobRequest) ProtoReflect() protoreflect.Message {
mi := &file_app_v1_admin_proto_msgTypes[83]
if x != nil {
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
if ms.LoadMessageInfo() == nil {
ms.StoreMessageInfo(mi)
}
return ms
}
return mi.MessageOf(x)
}
// Deprecated: Use RetryAdminDlqJobRequest.ProtoReflect.Descriptor instead.
func (*RetryAdminDlqJobRequest) Descriptor() ([]byte, []int) {
return file_app_v1_admin_proto_rawDescGZIP(), []int{83}
}
func (x *RetryAdminDlqJobRequest) GetId() string {
if x != nil {
return x.Id
}
return ""
}
type RetryAdminDlqJobResponse struct {
state protoimpl.MessageState `protogen:"open.v1"`
Job *AdminJob `protobuf:"bytes,1,opt,name=job,proto3" json:"job,omitempty"`
unknownFields protoimpl.UnknownFields
sizeCache protoimpl.SizeCache
}
func (x *RetryAdminDlqJobResponse) Reset() {
*x = RetryAdminDlqJobResponse{}
mi := &file_app_v1_admin_proto_msgTypes[84]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
func (x *RetryAdminDlqJobResponse) String() string {
return protoimpl.X.MessageStringOf(x)
}
func (*RetryAdminDlqJobResponse) ProtoMessage() {}
func (x *RetryAdminDlqJobResponse) ProtoReflect() protoreflect.Message {
mi := &file_app_v1_admin_proto_msgTypes[84]
if x != nil {
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
if ms.LoadMessageInfo() == nil {
ms.StoreMessageInfo(mi)
}
return ms
}
return mi.MessageOf(x)
}
// Deprecated: Use RetryAdminDlqJobResponse.ProtoReflect.Descriptor instead.
func (*RetryAdminDlqJobResponse) Descriptor() ([]byte, []int) {
return file_app_v1_admin_proto_rawDescGZIP(), []int{84}
}
func (x *RetryAdminDlqJobResponse) GetJob() *AdminJob {
if x != nil {
return x.Job
}
return nil
}
type RemoveAdminDlqJobRequest struct {
state protoimpl.MessageState `protogen:"open.v1"`
Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"`
unknownFields protoimpl.UnknownFields
sizeCache protoimpl.SizeCache
}
func (x *RemoveAdminDlqJobRequest) Reset() {
*x = RemoveAdminDlqJobRequest{}
mi := &file_app_v1_admin_proto_msgTypes[85]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
func (x *RemoveAdminDlqJobRequest) String() string {
return protoimpl.X.MessageStringOf(x)
}
func (*RemoveAdminDlqJobRequest) ProtoMessage() {}
func (x *RemoveAdminDlqJobRequest) ProtoReflect() protoreflect.Message {
mi := &file_app_v1_admin_proto_msgTypes[85]
if x != nil {
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
if ms.LoadMessageInfo() == nil {
ms.StoreMessageInfo(mi)
}
return ms
}
return mi.MessageOf(x)
}
// Deprecated: Use RemoveAdminDlqJobRequest.ProtoReflect.Descriptor instead.
func (*RemoveAdminDlqJobRequest) Descriptor() ([]byte, []int) {
return file_app_v1_admin_proto_rawDescGZIP(), []int{85}
}
func (x *RemoveAdminDlqJobRequest) GetId() string {
if x != nil {
return x.Id
}
return ""
}
type RemoveAdminDlqJobResponse struct {
state protoimpl.MessageState `protogen:"open.v1"`
Status string `protobuf:"bytes,1,opt,name=status,proto3" json:"status,omitempty"`
JobId string `protobuf:"bytes,2,opt,name=job_id,json=jobId,proto3" json:"job_id,omitempty"`
unknownFields protoimpl.UnknownFields
sizeCache protoimpl.SizeCache
}
func (x *RemoveAdminDlqJobResponse) Reset() {
*x = RemoveAdminDlqJobResponse{}
mi := &file_app_v1_admin_proto_msgTypes[86]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
func (x *RemoveAdminDlqJobResponse) String() string {
return protoimpl.X.MessageStringOf(x)
}
func (*RemoveAdminDlqJobResponse) ProtoMessage() {}
func (x *RemoveAdminDlqJobResponse) ProtoReflect() protoreflect.Message {
mi := &file_app_v1_admin_proto_msgTypes[86]
if x != nil {
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
if ms.LoadMessageInfo() == nil {
ms.StoreMessageInfo(mi)
}
return ms
}
return mi.MessageOf(x)
}
// Deprecated: Use RemoveAdminDlqJobResponse.ProtoReflect.Descriptor instead.
func (*RemoveAdminDlqJobResponse) Descriptor() ([]byte, []int) {
return file_app_v1_admin_proto_rawDescGZIP(), []int{86}
}
func (x *RemoveAdminDlqJobResponse) GetStatus() string {
if x != nil {
return x.Status
}
return ""
}
func (x *RemoveAdminDlqJobResponse) GetJobId() string {
if x != nil {
return x.JobId
}
return ""
}
type ListAdminAgentsRequest struct {
state protoimpl.MessageState `protogen:"open.v1"`
unknownFields protoimpl.UnknownFields
sizeCache protoimpl.SizeCache
}
func (x *ListAdminAgentsRequest) Reset() {
*x = ListAdminAgentsRequest{}
mi := &file_app_v1_admin_proto_msgTypes[87]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
func (x *ListAdminAgentsRequest) String() string {
return protoimpl.X.MessageStringOf(x)
}
func (*ListAdminAgentsRequest) ProtoMessage() {}
func (x *ListAdminAgentsRequest) ProtoReflect() protoreflect.Message {
mi := &file_app_v1_admin_proto_msgTypes[87]
if x != nil {
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
if ms.LoadMessageInfo() == nil {
ms.StoreMessageInfo(mi)
}
return ms
}
return mi.MessageOf(x)
}
// Deprecated: Use ListAdminAgentsRequest.ProtoReflect.Descriptor instead.
func (*ListAdminAgentsRequest) Descriptor() ([]byte, []int) {
return file_app_v1_admin_proto_rawDescGZIP(), []int{87}
}
type ListAdminAgentsResponse struct {
state protoimpl.MessageState `protogen:"open.v1"`
Agents []*AdminAgent `protobuf:"bytes,1,rep,name=agents,proto3" json:"agents,omitempty"`
unknownFields protoimpl.UnknownFields
sizeCache protoimpl.SizeCache
}
func (x *ListAdminAgentsResponse) Reset() {
*x = ListAdminAgentsResponse{}
mi := &file_app_v1_admin_proto_msgTypes[88]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
func (x *ListAdminAgentsResponse) String() string {
return protoimpl.X.MessageStringOf(x)
}
func (*ListAdminAgentsResponse) ProtoMessage() {}
func (x *ListAdminAgentsResponse) ProtoReflect() protoreflect.Message {
mi := &file_app_v1_admin_proto_msgTypes[88]
if x != nil {
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
if ms.LoadMessageInfo() == nil {
ms.StoreMessageInfo(mi)
}
return ms
}
return mi.MessageOf(x)
}
// Deprecated: Use ListAdminAgentsResponse.ProtoReflect.Descriptor instead.
func (*ListAdminAgentsResponse) Descriptor() ([]byte, []int) {
return file_app_v1_admin_proto_rawDescGZIP(), []int{88}
}
func (x *ListAdminAgentsResponse) GetAgents() []*AdminAgent {
if x != nil {
return x.Agents
}
return nil
}
type RestartAdminAgentRequest struct {
state protoimpl.MessageState `protogen:"open.v1"`
Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"`
unknownFields protoimpl.UnknownFields
sizeCache protoimpl.SizeCache
}
func (x *RestartAdminAgentRequest) Reset() {
*x = RestartAdminAgentRequest{}
mi := &file_app_v1_admin_proto_msgTypes[89]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
func (x *RestartAdminAgentRequest) String() string {
return protoimpl.X.MessageStringOf(x)
}
func (*RestartAdminAgentRequest) ProtoMessage() {}
func (x *RestartAdminAgentRequest) ProtoReflect() protoreflect.Message {
mi := &file_app_v1_admin_proto_msgTypes[89]
if x != nil {
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
if ms.LoadMessageInfo() == nil {
ms.StoreMessageInfo(mi)
}
return ms
}
return mi.MessageOf(x)
}
// Deprecated: Use RestartAdminAgentRequest.ProtoReflect.Descriptor instead.
func (*RestartAdminAgentRequest) Descriptor() ([]byte, []int) {
return file_app_v1_admin_proto_rawDescGZIP(), []int{89}
}
func (x *RestartAdminAgentRequest) GetId() string {
if x != nil {
return x.Id
}
return ""
}
type UpdateAdminAgentRequest struct {
state protoimpl.MessageState `protogen:"open.v1"`
Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"`
unknownFields protoimpl.UnknownFields
sizeCache protoimpl.SizeCache
}
func (x *UpdateAdminAgentRequest) Reset() {
*x = UpdateAdminAgentRequest{}
mi := &file_app_v1_admin_proto_msgTypes[90]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
func (x *UpdateAdminAgentRequest) String() string {
return protoimpl.X.MessageStringOf(x)
}
func (*UpdateAdminAgentRequest) ProtoMessage() {}
func (x *UpdateAdminAgentRequest) ProtoReflect() protoreflect.Message {
mi := &file_app_v1_admin_proto_msgTypes[90]
if x != nil {
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
if ms.LoadMessageInfo() == nil {
ms.StoreMessageInfo(mi)
}
return ms
}
return mi.MessageOf(x)
}
// Deprecated: Use UpdateAdminAgentRequest.ProtoReflect.Descriptor instead.
func (*UpdateAdminAgentRequest) Descriptor() ([]byte, []int) {
return file_app_v1_admin_proto_rawDescGZIP(), []int{90}
}
func (x *UpdateAdminAgentRequest) GetId() string {
if x != nil {
return x.Id
}
return ""
}
type AdminAgentCommandResponse struct {
state protoimpl.MessageState `protogen:"open.v1"`
Status string `protobuf:"bytes,1,opt,name=status,proto3" json:"status,omitempty"`
unknownFields protoimpl.UnknownFields
sizeCache protoimpl.SizeCache
}
func (x *AdminAgentCommandResponse) Reset() {
*x = AdminAgentCommandResponse{}
mi := &file_app_v1_admin_proto_msgTypes[91]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
func (x *AdminAgentCommandResponse) String() string {
return protoimpl.X.MessageStringOf(x)
}
func (*AdminAgentCommandResponse) ProtoMessage() {}
func (x *AdminAgentCommandResponse) ProtoReflect() protoreflect.Message {
mi := &file_app_v1_admin_proto_msgTypes[91]
if x != nil {
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
if ms.LoadMessageInfo() == nil {
ms.StoreMessageInfo(mi)
}
return ms
}
return mi.MessageOf(x)
}
// Deprecated: Use AdminAgentCommandResponse.ProtoReflect.Descriptor instead.
func (*AdminAgentCommandResponse) Descriptor() ([]byte, []int) {
return file_app_v1_admin_proto_rawDescGZIP(), []int{91}
}
func (x *AdminAgentCommandResponse) GetStatus() string {
if x != nil {
return x.Status
}
return ""
}
var File_app_v1_admin_proto protoreflect.FileDescriptor
const file_app_v1_admin_proto_rawDesc = "" +
"\n" +
"\x12app/v1/admin.proto\x12\rstream.app.v1\x1a\x13app/v1/common.proto\"\x1a\n" +
"\x18GetAdminDashboardRequest\"X\n" +
"\x19GetAdminDashboardResponse\x12;\n" +
"\tdashboard\x18\x01 \x01(\v2\x1d.stream.app.v1.AdminDashboardR\tdashboard\"\x8b\x01\n" +
"\x15ListAdminUsersRequest\x12\x12\n" +
"\x04page\x18\x01 \x01(\x05R\x04page\x12\x14\n" +
"\x05limit\x18\x02 \x01(\x05R\x05limit\x12\x1b\n" +
"\x06search\x18\x03 \x01(\tH\x00R\x06search\x88\x01\x01\x12\x17\n" +
"\x04role\x18\x04 \x01(\tH\x01R\x04role\x88\x01\x01B\t\n" +
"\a_searchB\a\n" +
"\x05_role\"\x88\x01\n" +
"\x16ListAdminUsersResponse\x12.\n" +
"\x05users\x18\x01 \x03(\v2\x18.stream.app.v1.AdminUserR\x05users\x12\x14\n" +
"\x05total\x18\x02 \x01(\x03R\x05total\x12\x12\n" +
"\x04page\x18\x03 \x01(\x05R\x04page\x12\x14\n" +
"\x05limit\x18\x04 \x01(\x05R\x05limit\"%\n" +
"\x13GetAdminUserRequest\x12\x0e\n" +
"\x02id\x18\x01 \x01(\tR\x02id\"J\n" +
"\x14GetAdminUserResponse\x122\n" +
"\x04user\x18\x01 \x01(\v2\x1e.stream.app.v1.AdminUserDetailR\x04user\"\xc4\x01\n" +
"\x16CreateAdminUserRequest\x12\x14\n" +
"\x05email\x18\x01 \x01(\tR\x05email\x12\x1f\n" +
"\busername\x18\x02 \x01(\tH\x00R\busername\x88\x01\x01\x12\x1a\n" +
"\bpassword\x18\x03 \x01(\tR\bpassword\x12\x17\n" +
"\x04role\x18\x04 \x01(\tH\x01R\x04role\x88\x01\x01\x12\x1c\n" +
"\aplan_id\x18\x05 \x01(\tH\x02R\x06planId\x88\x01\x01B\v\n" +
"\t_usernameB\a\n" +
"\x05_roleB\n" +
"\n" +
"\b_plan_id\"G\n" +
"\x17CreateAdminUserResponse\x12,\n" +
"\x04user\x18\x01 \x01(\v2\x18.stream.app.v1.AdminUserR\x04user\"\xf5\x01\n" +
"\x16UpdateAdminUserRequest\x12\x0e\n" +
"\x02id\x18\x01 \x01(\tR\x02id\x12\x19\n" +
"\x05email\x18\x02 \x01(\tH\x00R\x05email\x88\x01\x01\x12\x1f\n" +
"\busername\x18\x03 \x01(\tH\x01R\busername\x88\x01\x01\x12\x1f\n" +
"\bpassword\x18\x04 \x01(\tH\x02R\bpassword\x88\x01\x01\x12\x17\n" +
"\x04role\x18\x05 \x01(\tH\x03R\x04role\x88\x01\x01\x12\x1c\n" +
"\aplan_id\x18\x06 \x01(\tH\x04R\x06planId\x88\x01\x01B\b\n" +
"\x06_emailB\v\n" +
"\t_usernameB\v\n" +
"\t_passwordB\a\n" +
"\x05_roleB\n" +
"\n" +
"\b_plan_id\"G\n" +
"\x17UpdateAdminUserResponse\x12,\n" +
"\x04user\x18\x01 \x01(\v2\x18.stream.app.v1.AdminUserR\x04user\"\xa3\x03\n" +
"&UpdateAdminUserReferralSettingsRequest\x12\x0e\n" +
"\x02id\x18\x01 \x01(\tR\x02id\x12&\n" +
"\fref_username\x18\x02 \x01(\tH\x00R\vrefUsername\x88\x01\x01\x12*\n" +
"\x0eclear_referrer\x18\x03 \x01(\bH\x01R\rclearReferrer\x88\x01\x01\x120\n" +
"\x11referral_eligible\x18\x04 \x01(\bH\x02R\x10referralEligible\x88\x01\x01\x123\n" +
"\x13referral_reward_bps\x18\x05 \x01(\x05H\x03R\x11referralRewardBps\x88\x01\x01\x12>\n" +
"\x19clear_referral_reward_bps\x18\x06 \x01(\bH\x04R\x16clearReferralRewardBps\x88\x01\x01B\x0f\n" +
"\r_ref_usernameB\x11\n" +
"\x0f_clear_referrerB\x14\n" +
"\x12_referral_eligibleB\x16\n" +
"\x14_referral_reward_bpsB\x1c\n" +
"\x1a_clear_referral_reward_bps\"]\n" +
"'UpdateAdminUserReferralSettingsResponse\x122\n" +
"\x04user\x18\x01 \x01(\v2\x1e.stream.app.v1.AdminUserDetailR\x04user\"@\n" +
"\x1aUpdateAdminUserRoleRequest\x12\x0e\n" +
"\x02id\x18\x01 \x01(\tR\x02id\x12\x12\n" +
"\x04role\x18\x02 \x01(\tR\x04role\"K\n" +
"\x1bUpdateAdminUserRoleResponse\x12\x18\n" +
"\amessage\x18\x01 \x01(\tR\amessage\x12\x12\n" +
"\x04role\x18\x02 \x01(\tR\x04role\"(\n" +
"\x16DeleteAdminUserRequest\x12\x0e\n" +
"\x02id\x18\x01 \x01(\tR\x02id\"\xbc\x01\n" +
"\x16ListAdminVideosRequest\x12\x12\n" +
"\x04page\x18\x01 \x01(\x05R\x04page\x12\x14\n" +
"\x05limit\x18\x02 \x01(\x05R\x05limit\x12\x1b\n" +
"\x06search\x18\x03 \x01(\tH\x00R\x06search\x88\x01\x01\x12\x1c\n" +
"\auser_id\x18\x04 \x01(\tH\x01R\x06userId\x88\x01\x01\x12\x1b\n" +
"\x06status\x18\x05 \x01(\tH\x02R\x06status\x88\x01\x01B\t\n" +
"\a_searchB\n" +
"\n" +
"\b_user_idB\t\n" +
"\a_status\"\x8c\x01\n" +
"\x17ListAdminVideosResponse\x121\n" +
"\x06videos\x18\x01 \x03(\v2\x19.stream.app.v1.AdminVideoR\x06videos\x12\x14\n" +
"\x05total\x18\x02 \x01(\x03R\x05total\x12\x12\n" +
"\x04page\x18\x03 \x01(\x05R\x04page\x12\x14\n" +
"\x05limit\x18\x04 \x01(\x05R\x05limit\"&\n" +
"\x14GetAdminVideoRequest\x12\x0e\n" +
"\x02id\x18\x01 \x01(\tR\x02id\"H\n" +
"\x15GetAdminVideoResponse\x12/\n" +
"\x05video\x18\x01 \x01(\v2\x19.stream.app.v1.AdminVideoR\x05video\"\xcf\x02\n" +
"\x17CreateAdminVideoRequest\x12\x17\n" +
"\auser_id\x18\x01 \x01(\tR\x06userId\x12\x14\n" +
"\x05title\x18\x02 \x01(\tR\x05title\x12%\n" +
"\vdescription\x18\x03 \x01(\tH\x00R\vdescription\x88\x01\x01\x12\x10\n" +
"\x03url\x18\x04 \x01(\tR\x03url\x12\x12\n" +
"\x04size\x18\x05 \x01(\x03R\x04size\x12\x1a\n" +
"\bduration\x18\x06 \x01(\x05R\bduration\x12\x1b\n" +
"\x06format\x18\a \x01(\tH\x01R\x06format\x88\x01\x01\x12\x1b\n" +
"\x06status\x18\b \x01(\tH\x02R\x06status\x88\x01\x01\x12)\n" +
"\x0ead_template_id\x18\t \x01(\tH\x03R\fadTemplateId\x88\x01\x01B\x0e\n" +
"\f_descriptionB\t\n" +
"\a_formatB\t\n" +
"\a_statusB\x11\n" +
"\x0f_ad_template_id\"K\n" +
"\x18CreateAdminVideoResponse\x12/\n" +
"\x05video\x18\x01 \x01(\v2\x19.stream.app.v1.AdminVideoR\x05video\"\xdf\x02\n" +
"\x17UpdateAdminVideoRequest\x12\x0e\n" +
"\x02id\x18\x01 \x01(\tR\x02id\x12\x17\n" +
"\auser_id\x18\x02 \x01(\tR\x06userId\x12\x14\n" +
"\x05title\x18\x03 \x01(\tR\x05title\x12%\n" +
"\vdescription\x18\x04 \x01(\tH\x00R\vdescription\x88\x01\x01\x12\x10\n" +
"\x03url\x18\x05 \x01(\tR\x03url\x12\x12\n" +
"\x04size\x18\x06 \x01(\x03R\x04size\x12\x1a\n" +
"\bduration\x18\a \x01(\x05R\bduration\x12\x1b\n" +
"\x06format\x18\b \x01(\tH\x01R\x06format\x88\x01\x01\x12\x1b\n" +
"\x06status\x18\t \x01(\tH\x02R\x06status\x88\x01\x01\x12)\n" +
"\x0ead_template_id\x18\n" +
" \x01(\tH\x03R\fadTemplateId\x88\x01\x01B\x0e\n" +
"\f_descriptionB\t\n" +
"\a_formatB\t\n" +
"\a_statusB\x11\n" +
"\x0f_ad_template_id\"K\n" +
"\x18UpdateAdminVideoResponse\x12/\n" +
"\x05video\x18\x01 \x01(\v2\x19.stream.app.v1.AdminVideoR\x05video\")\n" +
"\x17DeleteAdminVideoRequest\x12\x0e\n" +
"\x02id\x18\x01 \x01(\tR\x02id\"\x96\x01\n" +
"\x18ListAdminPaymentsRequest\x12\x12\n" +
"\x04page\x18\x01 \x01(\x05R\x04page\x12\x14\n" +
"\x05limit\x18\x02 \x01(\x05R\x05limit\x12\x1c\n" +
"\auser_id\x18\x03 \x01(\tH\x00R\x06userId\x88\x01\x01\x12\x1b\n" +
"\x06status\x18\x04 \x01(\tH\x01R\x06status\x88\x01\x01B\n" +
"\n" +
"\b_user_idB\t\n" +
"\a_status\"\x94\x01\n" +
"\x19ListAdminPaymentsResponse\x127\n" +
"\bpayments\x18\x01 \x03(\v2\x1b.stream.app.v1.AdminPaymentR\bpayments\x12\x14\n" +
"\x05total\x18\x02 \x01(\x03R\x05total\x12\x12\n" +
"\x04page\x18\x03 \x01(\x05R\x04page\x12\x14\n" +
"\x05limit\x18\x04 \x01(\x05R\x05limit\"(\n" +
"\x16GetAdminPaymentRequest\x12\x0e\n" +
"\x02id\x18\x01 \x01(\tR\x02id\"P\n" +
"\x17GetAdminPaymentResponse\x125\n" +
"\apayment\x18\x01 \x01(\v2\x1b.stream.app.v1.AdminPaymentR\apayment\"\xce\x01\n" +
"\x19CreateAdminPaymentRequest\x12\x17\n" +
"\auser_id\x18\x01 \x01(\tR\x06userId\x12\x17\n" +
"\aplan_id\x18\x02 \x01(\tR\x06planId\x12\x1f\n" +
"\vterm_months\x18\x03 \x01(\x05R\n" +
"termMonths\x12%\n" +
"\x0epayment_method\x18\x04 \x01(\tR\rpaymentMethod\x12&\n" +
"\ftopup_amount\x18\x05 \x01(\x01H\x00R\vtopupAmount\x88\x01\x01B\x0f\n" +
"\r_topup_amount\"\xde\x01\n" +
"\x1aCreateAdminPaymentResponse\x125\n" +
"\apayment\x18\x01 \x01(\v2\x1b.stream.app.v1.AdminPaymentR\apayment\x12C\n" +
"\fsubscription\x18\x02 \x01(\v2\x1f.stream.app.v1.PlanSubscriptionR\fsubscription\x12%\n" +
"\x0ewallet_balance\x18\x03 \x01(\x01R\rwalletBalance\x12\x1d\n" +
"\n" +
"invoice_id\x18\x04 \x01(\tR\tinvoiceId\"C\n" +
"\x19UpdateAdminPaymentRequest\x12\x0e\n" +
"\x02id\x18\x01 \x01(\tR\x02id\x12\x16\n" +
"\x06status\x18\x02 \x01(\tR\x06status\"S\n" +
"\x1aUpdateAdminPaymentResponse\x125\n" +
"\apayment\x18\x01 \x01(\v2\x1b.stream.app.v1.AdminPaymentR\apayment\"\x17\n" +
"\x15ListAdminPlansRequest\"H\n" +
"\x16ListAdminPlansResponse\x12.\n" +
"\x05plans\x18\x01 \x03(\v2\x18.stream.app.v1.AdminPlanR\x05plans\"\xa3\x02\n" +
"\x16CreateAdminPlanRequest\x12\x12\n" +
"\x04name\x18\x01 \x01(\tR\x04name\x12%\n" +
"\vdescription\x18\x02 \x01(\tH\x00R\vdescription\x88\x01\x01\x12\x1a\n" +
"\bfeatures\x18\x03 \x03(\tR\bfeatures\x12\x14\n" +
"\x05price\x18\x04 \x01(\x01R\x05price\x12\x14\n" +
"\x05cycle\x18\x05 \x01(\tR\x05cycle\x12#\n" +
"\rstorage_limit\x18\x06 \x01(\x03R\fstorageLimit\x12!\n" +
"\fupload_limit\x18\a \x01(\x05R\vuploadLimit\x12 \n" +
"\tis_active\x18\b \x01(\bH\x01R\bisActive\x88\x01\x01B\x0e\n" +
"\f_descriptionB\f\n" +
"\n" +
"_is_active\"G\n" +
"\x17CreateAdminPlanResponse\x12,\n" +
"\x04plan\x18\x01 \x01(\v2\x18.stream.app.v1.AdminPlanR\x04plan\"\xb3\x02\n" +
"\x16UpdateAdminPlanRequest\x12\x0e\n" +
"\x02id\x18\x01 \x01(\tR\x02id\x12\x12\n" +
"\x04name\x18\x02 \x01(\tR\x04name\x12%\n" +
"\vdescription\x18\x03 \x01(\tH\x00R\vdescription\x88\x01\x01\x12\x1a\n" +
"\bfeatures\x18\x04 \x03(\tR\bfeatures\x12\x14\n" +
"\x05price\x18\x05 \x01(\x01R\x05price\x12\x14\n" +
"\x05cycle\x18\x06 \x01(\tR\x05cycle\x12#\n" +
"\rstorage_limit\x18\a \x01(\x03R\fstorageLimit\x12!\n" +
"\fupload_limit\x18\b \x01(\x05R\vuploadLimit\x12 \n" +
"\tis_active\x18\t \x01(\bH\x01R\bisActive\x88\x01\x01B\x0e\n" +
"\f_descriptionB\f\n" +
"\n" +
"_is_active\"G\n" +
"\x17UpdateAdminPlanResponse\x12,\n" +
"\x04plan\x18\x01 \x01(\v2\x18.stream.app.v1.AdminPlanR\x04plan\"(\n" +
"\x16DeleteAdminPlanRequest\x12\x0e\n" +
"\x02id\x18\x01 \x01(\tR\x02id\"G\n" +
"\x17DeleteAdminPlanResponse\x12\x18\n" +
"\amessage\x18\x01 \x01(\tR\amessage\x12\x12\n" +
"\x04mode\x18\x02 \x01(\tR\x04mode\"\x99\x01\n" +
"\x1bListAdminAdTemplatesRequest\x12\x12\n" +
"\x04page\x18\x01 \x01(\x05R\x04page\x12\x14\n" +
"\x05limit\x18\x02 \x01(\x05R\x05limit\x12\x1c\n" +
"\auser_id\x18\x03 \x01(\tH\x00R\x06userId\x88\x01\x01\x12\x1b\n" +
"\x06search\x18\x04 \x01(\tH\x01R\x06search\x88\x01\x01B\n" +
"\n" +
"\b_user_idB\t\n" +
"\a_search\"\x9c\x01\n" +
"\x1cListAdminAdTemplatesResponse\x12<\n" +
"\ttemplates\x18\x01 \x03(\v2\x1e.stream.app.v1.AdminAdTemplateR\ttemplates\x12\x14\n" +
"\x05total\x18\x02 \x01(\x03R\x05total\x12\x12\n" +
"\x04page\x18\x03 \x01(\x05R\x04page\x12\x14\n" +
"\x05limit\x18\x04 \x01(\x05R\x05limit\"+\n" +
"\x19GetAdminAdTemplateRequest\x12\x0e\n" +
"\x02id\x18\x01 \x01(\tR\x02id\"X\n" +
"\x1aGetAdminAdTemplateResponse\x12:\n" +
"\btemplate\x18\x01 \x01(\v2\x1e.stream.app.v1.AdminAdTemplateR\btemplate\"\xe5\x02\n" +
"\x1cCreateAdminAdTemplateRequest\x12\x17\n" +
"\auser_id\x18\x01 \x01(\tR\x06userId\x12\x12\n" +
"\x04name\x18\x02 \x01(\tR\x04name\x12%\n" +
"\vdescription\x18\x03 \x01(\tH\x00R\vdescription\x88\x01\x01\x12 \n" +
"\fvast_tag_url\x18\x04 \x01(\tR\n" +
"vastTagUrl\x12 \n" +
"\tad_format\x18\x05 \x01(\tH\x01R\badFormat\x88\x01\x01\x12\x1f\n" +
"\bduration\x18\x06 \x01(\x03H\x02R\bduration\x88\x01\x01\x12 \n" +
"\tis_active\x18\a \x01(\bH\x03R\bisActive\x88\x01\x01\x12\"\n" +
"\n" +
"is_default\x18\b \x01(\bH\x04R\tisDefault\x88\x01\x01B\x0e\n" +
"\f_descriptionB\f\n" +
"\n" +
"_ad_formatB\v\n" +
"\t_durationB\f\n" +
"\n" +
"_is_activeB\r\n" +
"\v_is_default\"[\n" +
"\x1dCreateAdminAdTemplateResponse\x12:\n" +
"\btemplate\x18\x01 \x01(\v2\x1e.stream.app.v1.AdminAdTemplateR\btemplate\"\xf5\x02\n" +
"\x1cUpdateAdminAdTemplateRequest\x12\x0e\n" +
"\x02id\x18\x01 \x01(\tR\x02id\x12\x17\n" +
"\auser_id\x18\x02 \x01(\tR\x06userId\x12\x12\n" +
"\x04name\x18\x03 \x01(\tR\x04name\x12%\n" +
"\vdescription\x18\x04 \x01(\tH\x00R\vdescription\x88\x01\x01\x12 \n" +
"\fvast_tag_url\x18\x05 \x01(\tR\n" +
"vastTagUrl\x12 \n" +
"\tad_format\x18\x06 \x01(\tH\x01R\badFormat\x88\x01\x01\x12\x1f\n" +
"\bduration\x18\a \x01(\x03H\x02R\bduration\x88\x01\x01\x12 \n" +
"\tis_active\x18\b \x01(\bH\x03R\bisActive\x88\x01\x01\x12\"\n" +
"\n" +
"is_default\x18\t \x01(\bH\x04R\tisDefault\x88\x01\x01B\x0e\n" +
"\f_descriptionB\f\n" +
"\n" +
"_ad_formatB\v\n" +
"\t_durationB\f\n" +
"\n" +
"_is_activeB\r\n" +
"\v_is_default\"[\n" +
"\x1dUpdateAdminAdTemplateResponse\x12:\n" +
"\btemplate\x18\x01 \x01(\v2\x1e.stream.app.v1.AdminAdTemplateR\btemplate\".\n" +
"\x1cDeleteAdminAdTemplateRequest\x12\x0e\n" +
"\x02id\x18\x01 \x01(\tR\x02id\"\x96\x01\n" +
"\x18ListAdminPopupAdsRequest\x12\x12\n" +
"\x04page\x18\x01 \x01(\x05R\x04page\x12\x14\n" +
"\x05limit\x18\x02 \x01(\x05R\x05limit\x12\x1c\n" +
"\auser_id\x18\x03 \x01(\tH\x00R\x06userId\x88\x01\x01\x12\x1b\n" +
"\x06search\x18\x04 \x01(\tH\x01R\x06search\x88\x01\x01B\n" +
"\n" +
"\b_user_idB\t\n" +
"\a_search\"\x8e\x01\n" +
"\x19ListAdminPopupAdsResponse\x121\n" +
"\x05items\x18\x01 \x03(\v2\x1b.stream.app.v1.AdminPopupAdR\x05items\x12\x14\n" +
"\x05total\x18\x02 \x01(\x03R\x05total\x12\x12\n" +
"\x04page\x18\x03 \x01(\x05R\x04page\x12\x14\n" +
"\x05limit\x18\x04 \x01(\x05R\x05limit\"(\n" +
"\x16GetAdminPopupAdRequest\x12\x0e\n" +
"\x02id\x18\x01 \x01(\tR\x02id\"J\n" +
"\x17GetAdminPopupAdResponse\x12/\n" +
"\x04item\x18\x01 \x01(\v2\x1b.stream.app.v1.AdminPopupAdR\x04item\"\xff\x01\n" +
"\x19CreateAdminPopupAdRequest\x12\x17\n" +
"\auser_id\x18\x01 \x01(\tR\x06userId\x12\x12\n" +
"\x04type\x18\x02 \x01(\tR\x04type\x12\x14\n" +
"\x05label\x18\x03 \x01(\tR\x05label\x12\x14\n" +
"\x05value\x18\x04 \x01(\tR\x05value\x12 \n" +
"\tis_active\x18\x05 \x01(\bH\x00R\bisActive\x88\x01\x01\x12<\n" +
"\x18max_triggers_per_session\x18\x06 \x01(\x05H\x01R\x15maxTriggersPerSession\x88\x01\x01B\f\n" +
"\n" +
"_is_activeB\x1b\n" +
"\x19_max_triggers_per_session\"M\n" +
"\x1aCreateAdminPopupAdResponse\x12/\n" +
"\x04item\x18\x01 \x01(\v2\x1b.stream.app.v1.AdminPopupAdR\x04item\"\x8f\x02\n" +
"\x19UpdateAdminPopupAdRequest\x12\x0e\n" +
"\x02id\x18\x01 \x01(\tR\x02id\x12\x17\n" +
"\auser_id\x18\x02 \x01(\tR\x06userId\x12\x12\n" +
"\x04type\x18\x03 \x01(\tR\x04type\x12\x14\n" +
"\x05label\x18\x04 \x01(\tR\x05label\x12\x14\n" +
"\x05value\x18\x05 \x01(\tR\x05value\x12 \n" +
"\tis_active\x18\x06 \x01(\bH\x00R\bisActive\x88\x01\x01\x12<\n" +
"\x18max_triggers_per_session\x18\a \x01(\x05H\x01R\x15maxTriggersPerSession\x88\x01\x01B\f\n" +
"\n" +
"_is_activeB\x1b\n" +
"\x19_max_triggers_per_session\"M\n" +
"\x1aUpdateAdminPopupAdResponse\x12/\n" +
"\x04item\x18\x01 \x01(\v2\x1b.stream.app.v1.AdminPopupAdR\x04item\"+\n" +
"\x19DeleteAdminPopupAdRequest\x12\x0e\n" +
"\x02id\x18\x01 \x01(\tR\x02id\"\x9b\x01\n" +
"\x1dListAdminPlayerConfigsRequest\x12\x12\n" +
"\x04page\x18\x01 \x01(\x05R\x04page\x12\x14\n" +
"\x05limit\x18\x02 \x01(\x05R\x05limit\x12\x1c\n" +
"\auser_id\x18\x03 \x01(\tH\x00R\x06userId\x88\x01\x01\x12\x1b\n" +
"\x06search\x18\x04 \x01(\tH\x01R\x06search\x88\x01\x01B\n" +
"\n" +
"\b_user_idB\t\n" +
"\a_search\"\x9c\x01\n" +
"\x1eListAdminPlayerConfigsResponse\x12:\n" +
"\aconfigs\x18\x01 \x03(\v2 .stream.app.v1.AdminPlayerConfigR\aconfigs\x12\x14\n" +
"\x05total\x18\x02 \x01(\x03R\x05total\x12\x12\n" +
"\x04page\x18\x03 \x01(\x05R\x04page\x12\x14\n" +
"\x05limit\x18\x04 \x01(\x05R\x05limit\"-\n" +
"\x1bGetAdminPlayerConfigRequest\x12\x0e\n" +
"\x02id\x18\x01 \x01(\tR\x02id\"X\n" +
"\x1cGetAdminPlayerConfigResponse\x128\n" +
"\x06config\x18\x01 \x01(\v2 .stream.app.v1.AdminPlayerConfigR\x06config\"\x8a\x04\n" +
"\x1eCreateAdminPlayerConfigRequest\x12\x17\n" +
"\auser_id\x18\x01 \x01(\tR\x06userId\x12\x12\n" +
"\x04name\x18\x02 \x01(\tR\x04name\x12%\n" +
"\vdescription\x18\x03 \x01(\tH\x00R\vdescription\x88\x01\x01\x12\x1a\n" +
"\bautoplay\x18\x04 \x01(\bR\bautoplay\x12\x12\n" +
"\x04loop\x18\x05 \x01(\bR\x04loop\x12\x14\n" +
"\x05muted\x18\x06 \x01(\bR\x05muted\x12#\n" +
"\rshow_controls\x18\a \x01(\bR\fshowControls\x12\x10\n" +
"\x03pip\x18\b \x01(\bR\x03pip\x12\x18\n" +
"\aairplay\x18\t \x01(\bR\aairplay\x12\x1e\n" +
"\n" +
"chromecast\x18\n" +
" \x01(\bR\n" +
"chromecast\x12 \n" +
"\tis_active\x18\v \x01(\bH\x01R\bisActive\x88\x01\x01\x12\"\n" +
"\n" +
"is_default\x18\f \x01(\bH\x02R\tisDefault\x88\x01\x01\x12*\n" +
"\x0eencrytion_m3u8\x18\r \x01(\bH\x03R\rencrytionM3u8\x88\x01\x01\x12\x1e\n" +
"\blogo_url\x18\x0e \x01(\tH\x04R\alogoUrl\x88\x01\x01B\x0e\n" +
"\f_descriptionB\f\n" +
"\n" +
"_is_activeB\r\n" +
"\v_is_defaultB\x11\n" +
"\x0f_encrytion_m3u8B\v\n" +
"\t_logo_url\"[\n" +
"\x1fCreateAdminPlayerConfigResponse\x128\n" +
"\x06config\x18\x01 \x01(\v2 .stream.app.v1.AdminPlayerConfigR\x06config\"\x9a\x04\n" +
"\x1eUpdateAdminPlayerConfigRequest\x12\x0e\n" +
"\x02id\x18\x01 \x01(\tR\x02id\x12\x17\n" +
"\auser_id\x18\x02 \x01(\tR\x06userId\x12\x12\n" +
"\x04name\x18\x03 \x01(\tR\x04name\x12%\n" +
"\vdescription\x18\x04 \x01(\tH\x00R\vdescription\x88\x01\x01\x12\x1a\n" +
"\bautoplay\x18\x05 \x01(\bR\bautoplay\x12\x12\n" +
"\x04loop\x18\x06 \x01(\bR\x04loop\x12\x14\n" +
"\x05muted\x18\a \x01(\bR\x05muted\x12#\n" +
"\rshow_controls\x18\b \x01(\bR\fshowControls\x12\x10\n" +
"\x03pip\x18\t \x01(\bR\x03pip\x12\x18\n" +
"\aairplay\x18\n" +
" \x01(\bR\aairplay\x12\x1e\n" +
"\n" +
"chromecast\x18\v \x01(\bR\n" +
"chromecast\x12 \n" +
"\tis_active\x18\f \x01(\bH\x01R\bisActive\x88\x01\x01\x12\"\n" +
"\n" +
"is_default\x18\r \x01(\bH\x02R\tisDefault\x88\x01\x01\x12*\n" +
"\x0eencrytion_m3u8\x18\x0e \x01(\bH\x03R\rencrytionM3u8\x88\x01\x01\x12\x1e\n" +
"\blogo_url\x18\x0f \x01(\tH\x04R\alogoUrl\x88\x01\x01B\x0e\n" +
"\f_descriptionB\f\n" +
"\n" +
"_is_activeB\r\n" +
"\v_is_defaultB\x11\n" +
"\x0f_encrytion_m3u8B\v\n" +
"\t_logo_url\"[\n" +
"\x1fUpdateAdminPlayerConfigResponse\x128\n" +
"\x06config\x18\x01 \x01(\v2 .stream.app.v1.AdminPlayerConfigR\x06config\"0\n" +
"\x1eDeleteAdminPlayerConfigRequest\x12\x0e\n" +
"\x02id\x18\x01 \x01(\tR\x02id\"\xb6\x01\n" +
"\x14ListAdminJobsRequest\x12\x1b\n" +
"\x06cursor\x18\x04 \x01(\tH\x00R\x06cursor\x88\x01\x01\x12\x1b\n" +
"\tpage_size\x18\x05 \x01(\x05R\bpageSize\x12\x16\n" +
"\x06offset\x18\x01 \x01(\x05R\x06offset\x12\x14\n" +
"\x05limit\x18\x02 \x01(\x05R\x05limit\x12\x1e\n" +
"\bagent_id\x18\x03 \x01(\tH\x01R\aagentId\x88\x01\x01B\t\n" +
"\a_cursorB\v\n" +
"\t_agent_id\"\xf6\x01\n" +
"\x15ListAdminJobsResponse\x12+\n" +
"\x04jobs\x18\x01 \x03(\v2\x17.stream.app.v1.AdminJobR\x04jobs\x12\x14\n" +
"\x05total\x18\x02 \x01(\x03R\x05total\x12\x16\n" +
"\x06offset\x18\x03 \x01(\x05R\x06offset\x12\x14\n" +
"\x05limit\x18\x04 \x01(\x05R\x05limit\x12\x19\n" +
"\bhas_more\x18\x05 \x01(\bR\ahasMore\x12$\n" +
"\vnext_cursor\x18\x06 \x01(\tH\x00R\n" +
"nextCursor\x88\x01\x01\x12\x1b\n" +
"\tpage_size\x18\a \x01(\x05R\bpageSizeB\x0e\n" +
"\f_next_cursor\"$\n" +
"\x12GetAdminJobRequest\x12\x0e\n" +
"\x02id\x18\x01 \x01(\tR\x02id\"@\n" +
"\x13GetAdminJobResponse\x12)\n" +
"\x03job\x18\x01 \x01(\v2\x17.stream.app.v1.AdminJobR\x03job\"(\n" +
"\x16GetAdminJobLogsRequest\x12\x0e\n" +
"\x02id\x18\x01 \x01(\tR\x02id\"-\n" +
"\x17GetAdminJobLogsResponse\x12\x12\n" +
"\x04logs\x18\x01 \x01(\tR\x04logs\"\x83\x03\n" +
"\x15CreateAdminJobRequest\x12\x18\n" +
"\acommand\x18\x01 \x01(\tR\acommand\x12\x19\n" +
"\x05image\x18\x02 \x01(\tH\x00R\x05image\x88\x01\x01\x12?\n" +
"\x03env\x18\x03 \x03(\v2-.stream.app.v1.CreateAdminJobRequest.EnvEntryR\x03env\x12\x1a\n" +
"\bpriority\x18\x04 \x01(\x05R\bpriority\x12\x1c\n" +
"\auser_id\x18\x05 \x01(\tH\x01R\x06userId\x88\x01\x01\x12\x17\n" +
"\x04name\x18\x06 \x01(\tH\x02R\x04name\x88\x01\x01\x12\x1d\n" +
"\n" +
"time_limit\x18\a \x01(\x03R\ttimeLimit\x12\x1e\n" +
"\bvideo_id\x18\b \x01(\tH\x03R\avideoId\x88\x01\x01\x1a6\n" +
"\bEnvEntry\x12\x10\n" +
"\x03key\x18\x01 \x01(\tR\x03key\x12\x14\n" +
"\x05value\x18\x02 \x01(\tR\x05value:\x028\x01B\b\n" +
"\x06_imageB\n" +
"\n" +
"\b_user_idB\a\n" +
"\x05_nameB\v\n" +
"\t_video_id\"C\n" +
"\x16CreateAdminJobResponse\x12)\n" +
"\x03job\x18\x01 \x01(\v2\x17.stream.app.v1.AdminJobR\x03job\"'\n" +
"\x15CancelAdminJobRequest\x12\x0e\n" +
"\x02id\x18\x01 \x01(\tR\x02id\"G\n" +
"\x16CancelAdminJobResponse\x12\x16\n" +
"\x06status\x18\x01 \x01(\tR\x06status\x12\x15\n" +
"\x06job_id\x18\x02 \x01(\tR\x05jobId\"&\n" +
"\x14RetryAdminJobRequest\x12\x0e\n" +
"\x02id\x18\x01 \x01(\tR\x02id\"B\n" +
"\x15RetryAdminJobResponse\x12)\n" +
"\x03job\x18\x01 \x01(\v2\x17.stream.app.v1.AdminJobR\x03job\"G\n" +
"\x17ListAdminDlqJobsRequest\x12\x16\n" +
"\x06offset\x18\x01 \x01(\x05R\x06offset\x12\x14\n" +
"\x05limit\x18\x02 \x01(\x05R\x05limit\"\x92\x01\n" +
"\x18ListAdminDlqJobsResponse\x122\n" +
"\x05items\x18\x01 \x03(\v2\x1c.stream.app.v1.AdminDlqEntryR\x05items\x12\x14\n" +
"\x05total\x18\x02 \x01(\x03R\x05total\x12\x16\n" +
"\x06offset\x18\x03 \x01(\x05R\x06offset\x12\x14\n" +
"\x05limit\x18\x04 \x01(\x05R\x05limit\"'\n" +
"\x15GetAdminDlqJobRequest\x12\x0e\n" +
"\x02id\x18\x01 \x01(\tR\x02id\"J\n" +
"\x16GetAdminDlqJobResponse\x120\n" +
"\x04item\x18\x01 \x01(\v2\x1c.stream.app.v1.AdminDlqEntryR\x04item\")\n" +
"\x17RetryAdminDlqJobRequest\x12\x0e\n" +
"\x02id\x18\x01 \x01(\tR\x02id\"E\n" +
"\x18RetryAdminDlqJobResponse\x12)\n" +
"\x03job\x18\x01 \x01(\v2\x17.stream.app.v1.AdminJobR\x03job\"*\n" +
"\x18RemoveAdminDlqJobRequest\x12\x0e\n" +
"\x02id\x18\x01 \x01(\tR\x02id\"J\n" +
"\x19RemoveAdminDlqJobResponse\x12\x16\n" +
"\x06status\x18\x01 \x01(\tR\x06status\x12\x15\n" +
"\x06job_id\x18\x02 \x01(\tR\x05jobId\"\x18\n" +
"\x16ListAdminAgentsRequest\"L\n" +
"\x17ListAdminAgentsResponse\x121\n" +
"\x06agents\x18\x01 \x03(\v2\x19.stream.app.v1.AdminAgentR\x06agents\"*\n" +
"\x18RestartAdminAgentRequest\x12\x0e\n" +
"\x02id\x18\x01 \x01(\tR\x02id\")\n" +
"\x17UpdateAdminAgentRequest\x12\x0e\n" +
"\x02id\x18\x01 \x01(\tR\x02id\"3\n" +
"\x19AdminAgentCommandResponse\x12\x16\n" +
"\x06status\x18\x01 \x01(\tR\x06status2\xae'\n" +
"\x05Admin\x12f\n" +
"\x11GetAdminDashboard\x12'.stream.app.v1.GetAdminDashboardRequest\x1a(.stream.app.v1.GetAdminDashboardResponse\x12]\n" +
"\x0eListAdminUsers\x12$.stream.app.v1.ListAdminUsersRequest\x1a%.stream.app.v1.ListAdminUsersResponse\x12W\n" +
"\fGetAdminUser\x12\".stream.app.v1.GetAdminUserRequest\x1a#.stream.app.v1.GetAdminUserResponse\x12`\n" +
"\x0fCreateAdminUser\x12%.stream.app.v1.CreateAdminUserRequest\x1a&.stream.app.v1.CreateAdminUserResponse\x12`\n" +
"\x0fUpdateAdminUser\x12%.stream.app.v1.UpdateAdminUserRequest\x1a&.stream.app.v1.UpdateAdminUserResponse\x12\x90\x01\n" +
"\x1fUpdateAdminUserReferralSettings\x125.stream.app.v1.UpdateAdminUserReferralSettingsRequest\x1a6.stream.app.v1.UpdateAdminUserReferralSettingsResponse\x12l\n" +
"\x13UpdateAdminUserRole\x12).stream.app.v1.UpdateAdminUserRoleRequest\x1a*.stream.app.v1.UpdateAdminUserRoleResponse\x12X\n" +
"\x0fDeleteAdminUser\x12%.stream.app.v1.DeleteAdminUserRequest\x1a\x1e.stream.app.v1.MessageResponse\x12`\n" +
"\x0fListAdminVideos\x12%.stream.app.v1.ListAdminVideosRequest\x1a&.stream.app.v1.ListAdminVideosResponse\x12Z\n" +
"\rGetAdminVideo\x12#.stream.app.v1.GetAdminVideoRequest\x1a$.stream.app.v1.GetAdminVideoResponse\x12c\n" +
"\x10CreateAdminVideo\x12&.stream.app.v1.CreateAdminVideoRequest\x1a'.stream.app.v1.CreateAdminVideoResponse\x12c\n" +
"\x10UpdateAdminVideo\x12&.stream.app.v1.UpdateAdminVideoRequest\x1a'.stream.app.v1.UpdateAdminVideoResponse\x12Z\n" +
"\x10DeleteAdminVideo\x12&.stream.app.v1.DeleteAdminVideoRequest\x1a\x1e.stream.app.v1.MessageResponse\x12f\n" +
"\x11ListAdminPayments\x12'.stream.app.v1.ListAdminPaymentsRequest\x1a(.stream.app.v1.ListAdminPaymentsResponse\x12`\n" +
"\x0fGetAdminPayment\x12%.stream.app.v1.GetAdminPaymentRequest\x1a&.stream.app.v1.GetAdminPaymentResponse\x12i\n" +
"\x12CreateAdminPayment\x12(.stream.app.v1.CreateAdminPaymentRequest\x1a).stream.app.v1.CreateAdminPaymentResponse\x12i\n" +
"\x12UpdateAdminPayment\x12(.stream.app.v1.UpdateAdminPaymentRequest\x1a).stream.app.v1.UpdateAdminPaymentResponse\x12]\n" +
"\x0eListAdminPlans\x12$.stream.app.v1.ListAdminPlansRequest\x1a%.stream.app.v1.ListAdminPlansResponse\x12`\n" +
"\x0fCreateAdminPlan\x12%.stream.app.v1.CreateAdminPlanRequest\x1a&.stream.app.v1.CreateAdminPlanResponse\x12`\n" +
"\x0fUpdateAdminPlan\x12%.stream.app.v1.UpdateAdminPlanRequest\x1a&.stream.app.v1.UpdateAdminPlanResponse\x12`\n" +
"\x0fDeleteAdminPlan\x12%.stream.app.v1.DeleteAdminPlanRequest\x1a&.stream.app.v1.DeleteAdminPlanResponse\x12o\n" +
"\x14ListAdminAdTemplates\x12*.stream.app.v1.ListAdminAdTemplatesRequest\x1a+.stream.app.v1.ListAdminAdTemplatesResponse\x12i\n" +
"\x12GetAdminAdTemplate\x12(.stream.app.v1.GetAdminAdTemplateRequest\x1a).stream.app.v1.GetAdminAdTemplateResponse\x12r\n" +
"\x15CreateAdminAdTemplate\x12+.stream.app.v1.CreateAdminAdTemplateRequest\x1a,.stream.app.v1.CreateAdminAdTemplateResponse\x12r\n" +
"\x15UpdateAdminAdTemplate\x12+.stream.app.v1.UpdateAdminAdTemplateRequest\x1a,.stream.app.v1.UpdateAdminAdTemplateResponse\x12d\n" +
"\x15DeleteAdminAdTemplate\x12+.stream.app.v1.DeleteAdminAdTemplateRequest\x1a\x1e.stream.app.v1.MessageResponse\x12f\n" +
"\x11ListAdminPopupAds\x12'.stream.app.v1.ListAdminPopupAdsRequest\x1a(.stream.app.v1.ListAdminPopupAdsResponse\x12`\n" +
"\x0fGetAdminPopupAd\x12%.stream.app.v1.GetAdminPopupAdRequest\x1a&.stream.app.v1.GetAdminPopupAdResponse\x12i\n" +
"\x12CreateAdminPopupAd\x12(.stream.app.v1.CreateAdminPopupAdRequest\x1a).stream.app.v1.CreateAdminPopupAdResponse\x12i\n" +
"\x12UpdateAdminPopupAd\x12(.stream.app.v1.UpdateAdminPopupAdRequest\x1a).stream.app.v1.UpdateAdminPopupAdResponse\x12^\n" +
"\x12DeleteAdminPopupAd\x12(.stream.app.v1.DeleteAdminPopupAdRequest\x1a\x1e.stream.app.v1.MessageResponse\x12u\n" +
"\x16ListAdminPlayerConfigs\x12,.stream.app.v1.ListAdminPlayerConfigsRequest\x1a-.stream.app.v1.ListAdminPlayerConfigsResponse\x12o\n" +
"\x14GetAdminPlayerConfig\x12*.stream.app.v1.GetAdminPlayerConfigRequest\x1a+.stream.app.v1.GetAdminPlayerConfigResponse\x12x\n" +
"\x17CreateAdminPlayerConfig\x12-.stream.app.v1.CreateAdminPlayerConfigRequest\x1a..stream.app.v1.CreateAdminPlayerConfigResponse\x12x\n" +
"\x17UpdateAdminPlayerConfig\x12-.stream.app.v1.UpdateAdminPlayerConfigRequest\x1a..stream.app.v1.UpdateAdminPlayerConfigResponse\x12h\n" +
"\x17DeleteAdminPlayerConfig\x12-.stream.app.v1.DeleteAdminPlayerConfigRequest\x1a\x1e.stream.app.v1.MessageResponse\x12Z\n" +
"\rListAdminJobs\x12#.stream.app.v1.ListAdminJobsRequest\x1a$.stream.app.v1.ListAdminJobsResponse\x12T\n" +
"\vGetAdminJob\x12!.stream.app.v1.GetAdminJobRequest\x1a\".stream.app.v1.GetAdminJobResponse\x12`\n" +
"\x0fGetAdminJobLogs\x12%.stream.app.v1.GetAdminJobLogsRequest\x1a&.stream.app.v1.GetAdminJobLogsResponse\x12]\n" +
"\x0eCreateAdminJob\x12$.stream.app.v1.CreateAdminJobRequest\x1a%.stream.app.v1.CreateAdminJobResponse\x12]\n" +
"\x0eCancelAdminJob\x12$.stream.app.v1.CancelAdminJobRequest\x1a%.stream.app.v1.CancelAdminJobResponse\x12Z\n" +
"\rRetryAdminJob\x12#.stream.app.v1.RetryAdminJobRequest\x1a$.stream.app.v1.RetryAdminJobResponse\x12c\n" +
"\x10ListAdminDlqJobs\x12&.stream.app.v1.ListAdminDlqJobsRequest\x1a'.stream.app.v1.ListAdminDlqJobsResponse\x12]\n" +
"\x0eGetAdminDlqJob\x12$.stream.app.v1.GetAdminDlqJobRequest\x1a%.stream.app.v1.GetAdminDlqJobResponse\x12c\n" +
"\x10RetryAdminDlqJob\x12&.stream.app.v1.RetryAdminDlqJobRequest\x1a'.stream.app.v1.RetryAdminDlqJobResponse\x12f\n" +
"\x11RemoveAdminDlqJob\x12'.stream.app.v1.RemoveAdminDlqJobRequest\x1a(.stream.app.v1.RemoveAdminDlqJobResponse\x12`\n" +
"\x0fListAdminAgents\x12%.stream.app.v1.ListAdminAgentsRequest\x1a&.stream.app.v1.ListAdminAgentsResponse\x12f\n" +
"\x11RestartAdminAgent\x12'.stream.app.v1.RestartAdminAgentRequest\x1a(.stream.app.v1.AdminAgentCommandResponse\x12d\n" +
"\x10UpdateAdminAgent\x12&.stream.app.v1.UpdateAdminAgentRequest\x1a(.stream.app.v1.AdminAgentCommandResponseB,Z*stream.api/internal/gen/proto/app/v1;appv1b\x06proto3"
var (
file_app_v1_admin_proto_rawDescOnce sync.Once
file_app_v1_admin_proto_rawDescData []byte
)
func file_app_v1_admin_proto_rawDescGZIP() []byte {
file_app_v1_admin_proto_rawDescOnce.Do(func() {
file_app_v1_admin_proto_rawDescData = protoimpl.X.CompressGZIP(unsafe.Slice(unsafe.StringData(file_app_v1_admin_proto_rawDesc), len(file_app_v1_admin_proto_rawDesc)))
})
return file_app_v1_admin_proto_rawDescData
}
var file_app_v1_admin_proto_msgTypes = make([]protoimpl.MessageInfo, 93)
var file_app_v1_admin_proto_goTypes = []any{
(*GetAdminDashboardRequest)(nil), // 0: stream.app.v1.GetAdminDashboardRequest
(*GetAdminDashboardResponse)(nil), // 1: stream.app.v1.GetAdminDashboardResponse
(*ListAdminUsersRequest)(nil), // 2: stream.app.v1.ListAdminUsersRequest
(*ListAdminUsersResponse)(nil), // 3: stream.app.v1.ListAdminUsersResponse
(*GetAdminUserRequest)(nil), // 4: stream.app.v1.GetAdminUserRequest
(*GetAdminUserResponse)(nil), // 5: stream.app.v1.GetAdminUserResponse
(*CreateAdminUserRequest)(nil), // 6: stream.app.v1.CreateAdminUserRequest
(*CreateAdminUserResponse)(nil), // 7: stream.app.v1.CreateAdminUserResponse
(*UpdateAdminUserRequest)(nil), // 8: stream.app.v1.UpdateAdminUserRequest
(*UpdateAdminUserResponse)(nil), // 9: stream.app.v1.UpdateAdminUserResponse
(*UpdateAdminUserReferralSettingsRequest)(nil), // 10: stream.app.v1.UpdateAdminUserReferralSettingsRequest
(*UpdateAdminUserReferralSettingsResponse)(nil), // 11: stream.app.v1.UpdateAdminUserReferralSettingsResponse
(*UpdateAdminUserRoleRequest)(nil), // 12: stream.app.v1.UpdateAdminUserRoleRequest
(*UpdateAdminUserRoleResponse)(nil), // 13: stream.app.v1.UpdateAdminUserRoleResponse
(*DeleteAdminUserRequest)(nil), // 14: stream.app.v1.DeleteAdminUserRequest
(*ListAdminVideosRequest)(nil), // 15: stream.app.v1.ListAdminVideosRequest
(*ListAdminVideosResponse)(nil), // 16: stream.app.v1.ListAdminVideosResponse
(*GetAdminVideoRequest)(nil), // 17: stream.app.v1.GetAdminVideoRequest
(*GetAdminVideoResponse)(nil), // 18: stream.app.v1.GetAdminVideoResponse
(*CreateAdminVideoRequest)(nil), // 19: stream.app.v1.CreateAdminVideoRequest
(*CreateAdminVideoResponse)(nil), // 20: stream.app.v1.CreateAdminVideoResponse
(*UpdateAdminVideoRequest)(nil), // 21: stream.app.v1.UpdateAdminVideoRequest
(*UpdateAdminVideoResponse)(nil), // 22: stream.app.v1.UpdateAdminVideoResponse
(*DeleteAdminVideoRequest)(nil), // 23: stream.app.v1.DeleteAdminVideoRequest
(*ListAdminPaymentsRequest)(nil), // 24: stream.app.v1.ListAdminPaymentsRequest
(*ListAdminPaymentsResponse)(nil), // 25: stream.app.v1.ListAdminPaymentsResponse
(*GetAdminPaymentRequest)(nil), // 26: stream.app.v1.GetAdminPaymentRequest
(*GetAdminPaymentResponse)(nil), // 27: stream.app.v1.GetAdminPaymentResponse
(*CreateAdminPaymentRequest)(nil), // 28: stream.app.v1.CreateAdminPaymentRequest
(*CreateAdminPaymentResponse)(nil), // 29: stream.app.v1.CreateAdminPaymentResponse
(*UpdateAdminPaymentRequest)(nil), // 30: stream.app.v1.UpdateAdminPaymentRequest
(*UpdateAdminPaymentResponse)(nil), // 31: stream.app.v1.UpdateAdminPaymentResponse
(*ListAdminPlansRequest)(nil), // 32: stream.app.v1.ListAdminPlansRequest
(*ListAdminPlansResponse)(nil), // 33: stream.app.v1.ListAdminPlansResponse
(*CreateAdminPlanRequest)(nil), // 34: stream.app.v1.CreateAdminPlanRequest
(*CreateAdminPlanResponse)(nil), // 35: stream.app.v1.CreateAdminPlanResponse
(*UpdateAdminPlanRequest)(nil), // 36: stream.app.v1.UpdateAdminPlanRequest
(*UpdateAdminPlanResponse)(nil), // 37: stream.app.v1.UpdateAdminPlanResponse
(*DeleteAdminPlanRequest)(nil), // 38: stream.app.v1.DeleteAdminPlanRequest
(*DeleteAdminPlanResponse)(nil), // 39: stream.app.v1.DeleteAdminPlanResponse
(*ListAdminAdTemplatesRequest)(nil), // 40: stream.app.v1.ListAdminAdTemplatesRequest
(*ListAdminAdTemplatesResponse)(nil), // 41: stream.app.v1.ListAdminAdTemplatesResponse
(*GetAdminAdTemplateRequest)(nil), // 42: stream.app.v1.GetAdminAdTemplateRequest
(*GetAdminAdTemplateResponse)(nil), // 43: stream.app.v1.GetAdminAdTemplateResponse
(*CreateAdminAdTemplateRequest)(nil), // 44: stream.app.v1.CreateAdminAdTemplateRequest
(*CreateAdminAdTemplateResponse)(nil), // 45: stream.app.v1.CreateAdminAdTemplateResponse
(*UpdateAdminAdTemplateRequest)(nil), // 46: stream.app.v1.UpdateAdminAdTemplateRequest
(*UpdateAdminAdTemplateResponse)(nil), // 47: stream.app.v1.UpdateAdminAdTemplateResponse
(*DeleteAdminAdTemplateRequest)(nil), // 48: stream.app.v1.DeleteAdminAdTemplateRequest
(*ListAdminPopupAdsRequest)(nil), // 49: stream.app.v1.ListAdminPopupAdsRequest
(*ListAdminPopupAdsResponse)(nil), // 50: stream.app.v1.ListAdminPopupAdsResponse
(*GetAdminPopupAdRequest)(nil), // 51: stream.app.v1.GetAdminPopupAdRequest
(*GetAdminPopupAdResponse)(nil), // 52: stream.app.v1.GetAdminPopupAdResponse
(*CreateAdminPopupAdRequest)(nil), // 53: stream.app.v1.CreateAdminPopupAdRequest
(*CreateAdminPopupAdResponse)(nil), // 54: stream.app.v1.CreateAdminPopupAdResponse
(*UpdateAdminPopupAdRequest)(nil), // 55: stream.app.v1.UpdateAdminPopupAdRequest
(*UpdateAdminPopupAdResponse)(nil), // 56: stream.app.v1.UpdateAdminPopupAdResponse
(*DeleteAdminPopupAdRequest)(nil), // 57: stream.app.v1.DeleteAdminPopupAdRequest
(*ListAdminPlayerConfigsRequest)(nil), // 58: stream.app.v1.ListAdminPlayerConfigsRequest
(*ListAdminPlayerConfigsResponse)(nil), // 59: stream.app.v1.ListAdminPlayerConfigsResponse
(*GetAdminPlayerConfigRequest)(nil), // 60: stream.app.v1.GetAdminPlayerConfigRequest
(*GetAdminPlayerConfigResponse)(nil), // 61: stream.app.v1.GetAdminPlayerConfigResponse
(*CreateAdminPlayerConfigRequest)(nil), // 62: stream.app.v1.CreateAdminPlayerConfigRequest
(*CreateAdminPlayerConfigResponse)(nil), // 63: stream.app.v1.CreateAdminPlayerConfigResponse
(*UpdateAdminPlayerConfigRequest)(nil), // 64: stream.app.v1.UpdateAdminPlayerConfigRequest
(*UpdateAdminPlayerConfigResponse)(nil), // 65: stream.app.v1.UpdateAdminPlayerConfigResponse
(*DeleteAdminPlayerConfigRequest)(nil), // 66: stream.app.v1.DeleteAdminPlayerConfigRequest
(*ListAdminJobsRequest)(nil), // 67: stream.app.v1.ListAdminJobsRequest
(*ListAdminJobsResponse)(nil), // 68: stream.app.v1.ListAdminJobsResponse
(*GetAdminJobRequest)(nil), // 69: stream.app.v1.GetAdminJobRequest
(*GetAdminJobResponse)(nil), // 70: stream.app.v1.GetAdminJobResponse
(*GetAdminJobLogsRequest)(nil), // 71: stream.app.v1.GetAdminJobLogsRequest
(*GetAdminJobLogsResponse)(nil), // 72: stream.app.v1.GetAdminJobLogsResponse
(*CreateAdminJobRequest)(nil), // 73: stream.app.v1.CreateAdminJobRequest
(*CreateAdminJobResponse)(nil), // 74: stream.app.v1.CreateAdminJobResponse
(*CancelAdminJobRequest)(nil), // 75: stream.app.v1.CancelAdminJobRequest
(*CancelAdminJobResponse)(nil), // 76: stream.app.v1.CancelAdminJobResponse
(*RetryAdminJobRequest)(nil), // 77: stream.app.v1.RetryAdminJobRequest
(*RetryAdminJobResponse)(nil), // 78: stream.app.v1.RetryAdminJobResponse
(*ListAdminDlqJobsRequest)(nil), // 79: stream.app.v1.ListAdminDlqJobsRequest
(*ListAdminDlqJobsResponse)(nil), // 80: stream.app.v1.ListAdminDlqJobsResponse
(*GetAdminDlqJobRequest)(nil), // 81: stream.app.v1.GetAdminDlqJobRequest
(*GetAdminDlqJobResponse)(nil), // 82: stream.app.v1.GetAdminDlqJobResponse
(*RetryAdminDlqJobRequest)(nil), // 83: stream.app.v1.RetryAdminDlqJobRequest
(*RetryAdminDlqJobResponse)(nil), // 84: stream.app.v1.RetryAdminDlqJobResponse
(*RemoveAdminDlqJobRequest)(nil), // 85: stream.app.v1.RemoveAdminDlqJobRequest
(*RemoveAdminDlqJobResponse)(nil), // 86: stream.app.v1.RemoveAdminDlqJobResponse
(*ListAdminAgentsRequest)(nil), // 87: stream.app.v1.ListAdminAgentsRequest
(*ListAdminAgentsResponse)(nil), // 88: stream.app.v1.ListAdminAgentsResponse
(*RestartAdminAgentRequest)(nil), // 89: stream.app.v1.RestartAdminAgentRequest
(*UpdateAdminAgentRequest)(nil), // 90: stream.app.v1.UpdateAdminAgentRequest
(*AdminAgentCommandResponse)(nil), // 91: stream.app.v1.AdminAgentCommandResponse
nil, // 92: stream.app.v1.CreateAdminJobRequest.EnvEntry
(*AdminDashboard)(nil), // 93: stream.app.v1.AdminDashboard
(*AdminUser)(nil), // 94: stream.app.v1.AdminUser
(*AdminUserDetail)(nil), // 95: stream.app.v1.AdminUserDetail
(*AdminVideo)(nil), // 96: stream.app.v1.AdminVideo
(*AdminPayment)(nil), // 97: stream.app.v1.AdminPayment
(*PlanSubscription)(nil), // 98: stream.app.v1.PlanSubscription
(*AdminPlan)(nil), // 99: stream.app.v1.AdminPlan
(*AdminAdTemplate)(nil), // 100: stream.app.v1.AdminAdTemplate
(*AdminPopupAd)(nil), // 101: stream.app.v1.AdminPopupAd
(*AdminPlayerConfig)(nil), // 102: stream.app.v1.AdminPlayerConfig
(*AdminJob)(nil), // 103: stream.app.v1.AdminJob
(*AdminDlqEntry)(nil), // 104: stream.app.v1.AdminDlqEntry
(*AdminAgent)(nil), // 105: stream.app.v1.AdminAgent
(*MessageResponse)(nil), // 106: stream.app.v1.MessageResponse
}
var file_app_v1_admin_proto_depIdxs = []int32{
93, // 0: stream.app.v1.GetAdminDashboardResponse.dashboard:type_name -> stream.app.v1.AdminDashboard
94, // 1: stream.app.v1.ListAdminUsersResponse.users:type_name -> stream.app.v1.AdminUser
95, // 2: stream.app.v1.GetAdminUserResponse.user:type_name -> stream.app.v1.AdminUserDetail
94, // 3: stream.app.v1.CreateAdminUserResponse.user:type_name -> stream.app.v1.AdminUser
94, // 4: stream.app.v1.UpdateAdminUserResponse.user:type_name -> stream.app.v1.AdminUser
95, // 5: stream.app.v1.UpdateAdminUserReferralSettingsResponse.user:type_name -> stream.app.v1.AdminUserDetail
96, // 6: stream.app.v1.ListAdminVideosResponse.videos:type_name -> stream.app.v1.AdminVideo
96, // 7: stream.app.v1.GetAdminVideoResponse.video:type_name -> stream.app.v1.AdminVideo
96, // 8: stream.app.v1.CreateAdminVideoResponse.video:type_name -> stream.app.v1.AdminVideo
96, // 9: stream.app.v1.UpdateAdminVideoResponse.video:type_name -> stream.app.v1.AdminVideo
97, // 10: stream.app.v1.ListAdminPaymentsResponse.payments:type_name -> stream.app.v1.AdminPayment
97, // 11: stream.app.v1.GetAdminPaymentResponse.payment:type_name -> stream.app.v1.AdminPayment
97, // 12: stream.app.v1.CreateAdminPaymentResponse.payment:type_name -> stream.app.v1.AdminPayment
98, // 13: stream.app.v1.CreateAdminPaymentResponse.subscription:type_name -> stream.app.v1.PlanSubscription
97, // 14: stream.app.v1.UpdateAdminPaymentResponse.payment:type_name -> stream.app.v1.AdminPayment
99, // 15: stream.app.v1.ListAdminPlansResponse.plans:type_name -> stream.app.v1.AdminPlan
99, // 16: stream.app.v1.CreateAdminPlanResponse.plan:type_name -> stream.app.v1.AdminPlan
99, // 17: stream.app.v1.UpdateAdminPlanResponse.plan:type_name -> stream.app.v1.AdminPlan
100, // 18: stream.app.v1.ListAdminAdTemplatesResponse.templates:type_name -> stream.app.v1.AdminAdTemplate
100, // 19: stream.app.v1.GetAdminAdTemplateResponse.template:type_name -> stream.app.v1.AdminAdTemplate
100, // 20: stream.app.v1.CreateAdminAdTemplateResponse.template:type_name -> stream.app.v1.AdminAdTemplate
100, // 21: stream.app.v1.UpdateAdminAdTemplateResponse.template:type_name -> stream.app.v1.AdminAdTemplate
101, // 22: stream.app.v1.ListAdminPopupAdsResponse.items:type_name -> stream.app.v1.AdminPopupAd
101, // 23: stream.app.v1.GetAdminPopupAdResponse.item:type_name -> stream.app.v1.AdminPopupAd
101, // 24: stream.app.v1.CreateAdminPopupAdResponse.item:type_name -> stream.app.v1.AdminPopupAd
101, // 25: stream.app.v1.UpdateAdminPopupAdResponse.item:type_name -> stream.app.v1.AdminPopupAd
102, // 26: stream.app.v1.ListAdminPlayerConfigsResponse.configs:type_name -> stream.app.v1.AdminPlayerConfig
102, // 27: stream.app.v1.GetAdminPlayerConfigResponse.config:type_name -> stream.app.v1.AdminPlayerConfig
102, // 28: stream.app.v1.CreateAdminPlayerConfigResponse.config:type_name -> stream.app.v1.AdminPlayerConfig
102, // 29: stream.app.v1.UpdateAdminPlayerConfigResponse.config:type_name -> stream.app.v1.AdminPlayerConfig
103, // 30: stream.app.v1.ListAdminJobsResponse.jobs:type_name -> stream.app.v1.AdminJob
103, // 31: stream.app.v1.GetAdminJobResponse.job:type_name -> stream.app.v1.AdminJob
92, // 32: stream.app.v1.CreateAdminJobRequest.env:type_name -> stream.app.v1.CreateAdminJobRequest.EnvEntry
103, // 33: stream.app.v1.CreateAdminJobResponse.job:type_name -> stream.app.v1.AdminJob
103, // 34: stream.app.v1.RetryAdminJobResponse.job:type_name -> stream.app.v1.AdminJob
104, // 35: stream.app.v1.ListAdminDlqJobsResponse.items:type_name -> stream.app.v1.AdminDlqEntry
104, // 36: stream.app.v1.GetAdminDlqJobResponse.item:type_name -> stream.app.v1.AdminDlqEntry
103, // 37: stream.app.v1.RetryAdminDlqJobResponse.job:type_name -> stream.app.v1.AdminJob
105, // 38: stream.app.v1.ListAdminAgentsResponse.agents:type_name -> stream.app.v1.AdminAgent
0, // 39: stream.app.v1.Admin.GetAdminDashboard:input_type -> stream.app.v1.GetAdminDashboardRequest
2, // 40: stream.app.v1.Admin.ListAdminUsers:input_type -> stream.app.v1.ListAdminUsersRequest
4, // 41: stream.app.v1.Admin.GetAdminUser:input_type -> stream.app.v1.GetAdminUserRequest
6, // 42: stream.app.v1.Admin.CreateAdminUser:input_type -> stream.app.v1.CreateAdminUserRequest
8, // 43: stream.app.v1.Admin.UpdateAdminUser:input_type -> stream.app.v1.UpdateAdminUserRequest
10, // 44: stream.app.v1.Admin.UpdateAdminUserReferralSettings:input_type -> stream.app.v1.UpdateAdminUserReferralSettingsRequest
12, // 45: stream.app.v1.Admin.UpdateAdminUserRole:input_type -> stream.app.v1.UpdateAdminUserRoleRequest
14, // 46: stream.app.v1.Admin.DeleteAdminUser:input_type -> stream.app.v1.DeleteAdminUserRequest
15, // 47: stream.app.v1.Admin.ListAdminVideos:input_type -> stream.app.v1.ListAdminVideosRequest
17, // 48: stream.app.v1.Admin.GetAdminVideo:input_type -> stream.app.v1.GetAdminVideoRequest
19, // 49: stream.app.v1.Admin.CreateAdminVideo:input_type -> stream.app.v1.CreateAdminVideoRequest
21, // 50: stream.app.v1.Admin.UpdateAdminVideo:input_type -> stream.app.v1.UpdateAdminVideoRequest
23, // 51: stream.app.v1.Admin.DeleteAdminVideo:input_type -> stream.app.v1.DeleteAdminVideoRequest
24, // 52: stream.app.v1.Admin.ListAdminPayments:input_type -> stream.app.v1.ListAdminPaymentsRequest
26, // 53: stream.app.v1.Admin.GetAdminPayment:input_type -> stream.app.v1.GetAdminPaymentRequest
28, // 54: stream.app.v1.Admin.CreateAdminPayment:input_type -> stream.app.v1.CreateAdminPaymentRequest
30, // 55: stream.app.v1.Admin.UpdateAdminPayment:input_type -> stream.app.v1.UpdateAdminPaymentRequest
32, // 56: stream.app.v1.Admin.ListAdminPlans:input_type -> stream.app.v1.ListAdminPlansRequest
34, // 57: stream.app.v1.Admin.CreateAdminPlan:input_type -> stream.app.v1.CreateAdminPlanRequest
36, // 58: stream.app.v1.Admin.UpdateAdminPlan:input_type -> stream.app.v1.UpdateAdminPlanRequest
38, // 59: stream.app.v1.Admin.DeleteAdminPlan:input_type -> stream.app.v1.DeleteAdminPlanRequest
40, // 60: stream.app.v1.Admin.ListAdminAdTemplates:input_type -> stream.app.v1.ListAdminAdTemplatesRequest
42, // 61: stream.app.v1.Admin.GetAdminAdTemplate:input_type -> stream.app.v1.GetAdminAdTemplateRequest
44, // 62: stream.app.v1.Admin.CreateAdminAdTemplate:input_type -> stream.app.v1.CreateAdminAdTemplateRequest
46, // 63: stream.app.v1.Admin.UpdateAdminAdTemplate:input_type -> stream.app.v1.UpdateAdminAdTemplateRequest
48, // 64: stream.app.v1.Admin.DeleteAdminAdTemplate:input_type -> stream.app.v1.DeleteAdminAdTemplateRequest
49, // 65: stream.app.v1.Admin.ListAdminPopupAds:input_type -> stream.app.v1.ListAdminPopupAdsRequest
51, // 66: stream.app.v1.Admin.GetAdminPopupAd:input_type -> stream.app.v1.GetAdminPopupAdRequest
53, // 67: stream.app.v1.Admin.CreateAdminPopupAd:input_type -> stream.app.v1.CreateAdminPopupAdRequest
55, // 68: stream.app.v1.Admin.UpdateAdminPopupAd:input_type -> stream.app.v1.UpdateAdminPopupAdRequest
57, // 69: stream.app.v1.Admin.DeleteAdminPopupAd:input_type -> stream.app.v1.DeleteAdminPopupAdRequest
58, // 70: stream.app.v1.Admin.ListAdminPlayerConfigs:input_type -> stream.app.v1.ListAdminPlayerConfigsRequest
60, // 71: stream.app.v1.Admin.GetAdminPlayerConfig:input_type -> stream.app.v1.GetAdminPlayerConfigRequest
62, // 72: stream.app.v1.Admin.CreateAdminPlayerConfig:input_type -> stream.app.v1.CreateAdminPlayerConfigRequest
64, // 73: stream.app.v1.Admin.UpdateAdminPlayerConfig:input_type -> stream.app.v1.UpdateAdminPlayerConfigRequest
66, // 74: stream.app.v1.Admin.DeleteAdminPlayerConfig:input_type -> stream.app.v1.DeleteAdminPlayerConfigRequest
67, // 75: stream.app.v1.Admin.ListAdminJobs:input_type -> stream.app.v1.ListAdminJobsRequest
69, // 76: stream.app.v1.Admin.GetAdminJob:input_type -> stream.app.v1.GetAdminJobRequest
71, // 77: stream.app.v1.Admin.GetAdminJobLogs:input_type -> stream.app.v1.GetAdminJobLogsRequest
73, // 78: stream.app.v1.Admin.CreateAdminJob:input_type -> stream.app.v1.CreateAdminJobRequest
75, // 79: stream.app.v1.Admin.CancelAdminJob:input_type -> stream.app.v1.CancelAdminJobRequest
77, // 80: stream.app.v1.Admin.RetryAdminJob:input_type -> stream.app.v1.RetryAdminJobRequest
79, // 81: stream.app.v1.Admin.ListAdminDlqJobs:input_type -> stream.app.v1.ListAdminDlqJobsRequest
81, // 82: stream.app.v1.Admin.GetAdminDlqJob:input_type -> stream.app.v1.GetAdminDlqJobRequest
83, // 83: stream.app.v1.Admin.RetryAdminDlqJob:input_type -> stream.app.v1.RetryAdminDlqJobRequest
85, // 84: stream.app.v1.Admin.RemoveAdminDlqJob:input_type -> stream.app.v1.RemoveAdminDlqJobRequest
87, // 85: stream.app.v1.Admin.ListAdminAgents:input_type -> stream.app.v1.ListAdminAgentsRequest
89, // 86: stream.app.v1.Admin.RestartAdminAgent:input_type -> stream.app.v1.RestartAdminAgentRequest
90, // 87: stream.app.v1.Admin.UpdateAdminAgent:input_type -> stream.app.v1.UpdateAdminAgentRequest
1, // 88: stream.app.v1.Admin.GetAdminDashboard:output_type -> stream.app.v1.GetAdminDashboardResponse
3, // 89: stream.app.v1.Admin.ListAdminUsers:output_type -> stream.app.v1.ListAdminUsersResponse
5, // 90: stream.app.v1.Admin.GetAdminUser:output_type -> stream.app.v1.GetAdminUserResponse
7, // 91: stream.app.v1.Admin.CreateAdminUser:output_type -> stream.app.v1.CreateAdminUserResponse
9, // 92: stream.app.v1.Admin.UpdateAdminUser:output_type -> stream.app.v1.UpdateAdminUserResponse
11, // 93: stream.app.v1.Admin.UpdateAdminUserReferralSettings:output_type -> stream.app.v1.UpdateAdminUserReferralSettingsResponse
13, // 94: stream.app.v1.Admin.UpdateAdminUserRole:output_type -> stream.app.v1.UpdateAdminUserRoleResponse
106, // 95: stream.app.v1.Admin.DeleteAdminUser:output_type -> stream.app.v1.MessageResponse
16, // 96: stream.app.v1.Admin.ListAdminVideos:output_type -> stream.app.v1.ListAdminVideosResponse
18, // 97: stream.app.v1.Admin.GetAdminVideo:output_type -> stream.app.v1.GetAdminVideoResponse
20, // 98: stream.app.v1.Admin.CreateAdminVideo:output_type -> stream.app.v1.CreateAdminVideoResponse
22, // 99: stream.app.v1.Admin.UpdateAdminVideo:output_type -> stream.app.v1.UpdateAdminVideoResponse
106, // 100: stream.app.v1.Admin.DeleteAdminVideo:output_type -> stream.app.v1.MessageResponse
25, // 101: stream.app.v1.Admin.ListAdminPayments:output_type -> stream.app.v1.ListAdminPaymentsResponse
27, // 102: stream.app.v1.Admin.GetAdminPayment:output_type -> stream.app.v1.GetAdminPaymentResponse
29, // 103: stream.app.v1.Admin.CreateAdminPayment:output_type -> stream.app.v1.CreateAdminPaymentResponse
31, // 104: stream.app.v1.Admin.UpdateAdminPayment:output_type -> stream.app.v1.UpdateAdminPaymentResponse
33, // 105: stream.app.v1.Admin.ListAdminPlans:output_type -> stream.app.v1.ListAdminPlansResponse
35, // 106: stream.app.v1.Admin.CreateAdminPlan:output_type -> stream.app.v1.CreateAdminPlanResponse
37, // 107: stream.app.v1.Admin.UpdateAdminPlan:output_type -> stream.app.v1.UpdateAdminPlanResponse
39, // 108: stream.app.v1.Admin.DeleteAdminPlan:output_type -> stream.app.v1.DeleteAdminPlanResponse
41, // 109: stream.app.v1.Admin.ListAdminAdTemplates:output_type -> stream.app.v1.ListAdminAdTemplatesResponse
43, // 110: stream.app.v1.Admin.GetAdminAdTemplate:output_type -> stream.app.v1.GetAdminAdTemplateResponse
45, // 111: stream.app.v1.Admin.CreateAdminAdTemplate:output_type -> stream.app.v1.CreateAdminAdTemplateResponse
47, // 112: stream.app.v1.Admin.UpdateAdminAdTemplate:output_type -> stream.app.v1.UpdateAdminAdTemplateResponse
106, // 113: stream.app.v1.Admin.DeleteAdminAdTemplate:output_type -> stream.app.v1.MessageResponse
50, // 114: stream.app.v1.Admin.ListAdminPopupAds:output_type -> stream.app.v1.ListAdminPopupAdsResponse
52, // 115: stream.app.v1.Admin.GetAdminPopupAd:output_type -> stream.app.v1.GetAdminPopupAdResponse
54, // 116: stream.app.v1.Admin.CreateAdminPopupAd:output_type -> stream.app.v1.CreateAdminPopupAdResponse
56, // 117: stream.app.v1.Admin.UpdateAdminPopupAd:output_type -> stream.app.v1.UpdateAdminPopupAdResponse
106, // 118: stream.app.v1.Admin.DeleteAdminPopupAd:output_type -> stream.app.v1.MessageResponse
59, // 119: stream.app.v1.Admin.ListAdminPlayerConfigs:output_type -> stream.app.v1.ListAdminPlayerConfigsResponse
61, // 120: stream.app.v1.Admin.GetAdminPlayerConfig:output_type -> stream.app.v1.GetAdminPlayerConfigResponse
63, // 121: stream.app.v1.Admin.CreateAdminPlayerConfig:output_type -> stream.app.v1.CreateAdminPlayerConfigResponse
65, // 122: stream.app.v1.Admin.UpdateAdminPlayerConfig:output_type -> stream.app.v1.UpdateAdminPlayerConfigResponse
106, // 123: stream.app.v1.Admin.DeleteAdminPlayerConfig:output_type -> stream.app.v1.MessageResponse
68, // 124: stream.app.v1.Admin.ListAdminJobs:output_type -> stream.app.v1.ListAdminJobsResponse
70, // 125: stream.app.v1.Admin.GetAdminJob:output_type -> stream.app.v1.GetAdminJobResponse
72, // 126: stream.app.v1.Admin.GetAdminJobLogs:output_type -> stream.app.v1.GetAdminJobLogsResponse
74, // 127: stream.app.v1.Admin.CreateAdminJob:output_type -> stream.app.v1.CreateAdminJobResponse
76, // 128: stream.app.v1.Admin.CancelAdminJob:output_type -> stream.app.v1.CancelAdminJobResponse
78, // 129: stream.app.v1.Admin.RetryAdminJob:output_type -> stream.app.v1.RetryAdminJobResponse
80, // 130: stream.app.v1.Admin.ListAdminDlqJobs:output_type -> stream.app.v1.ListAdminDlqJobsResponse
82, // 131: stream.app.v1.Admin.GetAdminDlqJob:output_type -> stream.app.v1.GetAdminDlqJobResponse
84, // 132: stream.app.v1.Admin.RetryAdminDlqJob:output_type -> stream.app.v1.RetryAdminDlqJobResponse
86, // 133: stream.app.v1.Admin.RemoveAdminDlqJob:output_type -> stream.app.v1.RemoveAdminDlqJobResponse
88, // 134: stream.app.v1.Admin.ListAdminAgents:output_type -> stream.app.v1.ListAdminAgentsResponse
91, // 135: stream.app.v1.Admin.RestartAdminAgent:output_type -> stream.app.v1.AdminAgentCommandResponse
91, // 136: stream.app.v1.Admin.UpdateAdminAgent:output_type -> stream.app.v1.AdminAgentCommandResponse
88, // [88:137] is the sub-list for method output_type
39, // [39:88] is the sub-list for method input_type
39, // [39:39] is the sub-list for extension type_name
39, // [39:39] is the sub-list for extension extendee
0, // [0:39] is the sub-list for field type_name
}
func init() { file_app_v1_admin_proto_init() }
func file_app_v1_admin_proto_init() {
if File_app_v1_admin_proto != nil {
return
}
file_app_v1_common_proto_init()
file_app_v1_admin_proto_msgTypes[2].OneofWrappers = []any{}
file_app_v1_admin_proto_msgTypes[6].OneofWrappers = []any{}
file_app_v1_admin_proto_msgTypes[8].OneofWrappers = []any{}
file_app_v1_admin_proto_msgTypes[10].OneofWrappers = []any{}
file_app_v1_admin_proto_msgTypes[15].OneofWrappers = []any{}
file_app_v1_admin_proto_msgTypes[19].OneofWrappers = []any{}
file_app_v1_admin_proto_msgTypes[21].OneofWrappers = []any{}
file_app_v1_admin_proto_msgTypes[24].OneofWrappers = []any{}
file_app_v1_admin_proto_msgTypes[28].OneofWrappers = []any{}
file_app_v1_admin_proto_msgTypes[34].OneofWrappers = []any{}
file_app_v1_admin_proto_msgTypes[36].OneofWrappers = []any{}
file_app_v1_admin_proto_msgTypes[40].OneofWrappers = []any{}
file_app_v1_admin_proto_msgTypes[44].OneofWrappers = []any{}
file_app_v1_admin_proto_msgTypes[46].OneofWrappers = []any{}
file_app_v1_admin_proto_msgTypes[49].OneofWrappers = []any{}
file_app_v1_admin_proto_msgTypes[53].OneofWrappers = []any{}
file_app_v1_admin_proto_msgTypes[55].OneofWrappers = []any{}
file_app_v1_admin_proto_msgTypes[58].OneofWrappers = []any{}
file_app_v1_admin_proto_msgTypes[62].OneofWrappers = []any{}
file_app_v1_admin_proto_msgTypes[64].OneofWrappers = []any{}
file_app_v1_admin_proto_msgTypes[67].OneofWrappers = []any{}
file_app_v1_admin_proto_msgTypes[68].OneofWrappers = []any{}
file_app_v1_admin_proto_msgTypes[73].OneofWrappers = []any{}
type x struct{}
out := protoimpl.TypeBuilder{
File: protoimpl.DescBuilder{
GoPackagePath: reflect.TypeOf(x{}).PkgPath(),
RawDescriptor: unsafe.Slice(unsafe.StringData(file_app_v1_admin_proto_rawDesc), len(file_app_v1_admin_proto_rawDesc)),
NumEnums: 0,
NumMessages: 93,
NumExtensions: 0,
NumServices: 1,
},
GoTypes: file_app_v1_admin_proto_goTypes,
DependencyIndexes: file_app_v1_admin_proto_depIdxs,
MessageInfos: file_app_v1_admin_proto_msgTypes,
}.Build()
File_app_v1_admin_proto = out.File
file_app_v1_admin_proto_goTypes = nil
file_app_v1_admin_proto_depIdxs = nil
}