Files
stream.api/internal/api/proto/app/v1/catalog.pb.go
claude 863a0ea2f6 feat: add notification events handling and MQTT integration
- Implemented notification event publishing with a new NotificationEventPublisher interface.
- Created a noopNotificationEventPublisher for testing purposes.
- Added functionality to publish notification created events via MQTT.
- Introduced a new stream event publisher for handling job logs and updates.
- Added database migration for popup_ads table.
- Created tests for notification events and popup ads functionality.
- Established MQTT connection and publishing helpers for event messages.
2026-03-29 15:47:09 +00:00

2028 lines
66 KiB
Go

// Code generated by protoc-gen-go. DO NOT EDIT.
// versions:
// protoc-gen-go v1.36.11
// protoc (unknown)
// source: app/v1/catalog.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 ListDomainsRequest struct {
state protoimpl.MessageState `protogen:"open.v1"`
unknownFields protoimpl.UnknownFields
sizeCache protoimpl.SizeCache
}
func (x *ListDomainsRequest) Reset() {
*x = ListDomainsRequest{}
mi := &file_app_v1_catalog_proto_msgTypes[0]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
func (x *ListDomainsRequest) String() string {
return protoimpl.X.MessageStringOf(x)
}
func (*ListDomainsRequest) ProtoMessage() {}
func (x *ListDomainsRequest) ProtoReflect() protoreflect.Message {
mi := &file_app_v1_catalog_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 ListDomainsRequest.ProtoReflect.Descriptor instead.
func (*ListDomainsRequest) Descriptor() ([]byte, []int) {
return file_app_v1_catalog_proto_rawDescGZIP(), []int{0}
}
type ListDomainsResponse struct {
state protoimpl.MessageState `protogen:"open.v1"`
Domains []*Domain `protobuf:"bytes,1,rep,name=domains,proto3" json:"domains,omitempty"`
unknownFields protoimpl.UnknownFields
sizeCache protoimpl.SizeCache
}
func (x *ListDomainsResponse) Reset() {
*x = ListDomainsResponse{}
mi := &file_app_v1_catalog_proto_msgTypes[1]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
func (x *ListDomainsResponse) String() string {
return protoimpl.X.MessageStringOf(x)
}
func (*ListDomainsResponse) ProtoMessage() {}
func (x *ListDomainsResponse) ProtoReflect() protoreflect.Message {
mi := &file_app_v1_catalog_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 ListDomainsResponse.ProtoReflect.Descriptor instead.
func (*ListDomainsResponse) Descriptor() ([]byte, []int) {
return file_app_v1_catalog_proto_rawDescGZIP(), []int{1}
}
func (x *ListDomainsResponse) GetDomains() []*Domain {
if x != nil {
return x.Domains
}
return nil
}
type CreateDomainRequest struct {
state protoimpl.MessageState `protogen:"open.v1"`
Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
unknownFields protoimpl.UnknownFields
sizeCache protoimpl.SizeCache
}
func (x *CreateDomainRequest) Reset() {
*x = CreateDomainRequest{}
mi := &file_app_v1_catalog_proto_msgTypes[2]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
func (x *CreateDomainRequest) String() string {
return protoimpl.X.MessageStringOf(x)
}
func (*CreateDomainRequest) ProtoMessage() {}
func (x *CreateDomainRequest) ProtoReflect() protoreflect.Message {
mi := &file_app_v1_catalog_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 CreateDomainRequest.ProtoReflect.Descriptor instead.
func (*CreateDomainRequest) Descriptor() ([]byte, []int) {
return file_app_v1_catalog_proto_rawDescGZIP(), []int{2}
}
func (x *CreateDomainRequest) GetName() string {
if x != nil {
return x.Name
}
return ""
}
type CreateDomainResponse struct {
state protoimpl.MessageState `protogen:"open.v1"`
Domain *Domain `protobuf:"bytes,1,opt,name=domain,proto3" json:"domain,omitempty"`
unknownFields protoimpl.UnknownFields
sizeCache protoimpl.SizeCache
}
func (x *CreateDomainResponse) Reset() {
*x = CreateDomainResponse{}
mi := &file_app_v1_catalog_proto_msgTypes[3]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
func (x *CreateDomainResponse) String() string {
return protoimpl.X.MessageStringOf(x)
}
func (*CreateDomainResponse) ProtoMessage() {}
func (x *CreateDomainResponse) ProtoReflect() protoreflect.Message {
mi := &file_app_v1_catalog_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 CreateDomainResponse.ProtoReflect.Descriptor instead.
func (*CreateDomainResponse) Descriptor() ([]byte, []int) {
return file_app_v1_catalog_proto_rawDescGZIP(), []int{3}
}
func (x *CreateDomainResponse) GetDomain() *Domain {
if x != nil {
return x.Domain
}
return nil
}
type DeleteDomainRequest 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 *DeleteDomainRequest) Reset() {
*x = DeleteDomainRequest{}
mi := &file_app_v1_catalog_proto_msgTypes[4]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
func (x *DeleteDomainRequest) String() string {
return protoimpl.X.MessageStringOf(x)
}
func (*DeleteDomainRequest) ProtoMessage() {}
func (x *DeleteDomainRequest) ProtoReflect() protoreflect.Message {
mi := &file_app_v1_catalog_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 DeleteDomainRequest.ProtoReflect.Descriptor instead.
func (*DeleteDomainRequest) Descriptor() ([]byte, []int) {
return file_app_v1_catalog_proto_rawDescGZIP(), []int{4}
}
func (x *DeleteDomainRequest) GetId() string {
if x != nil {
return x.Id
}
return ""
}
type ListAdTemplatesRequest struct {
state protoimpl.MessageState `protogen:"open.v1"`
unknownFields protoimpl.UnknownFields
sizeCache protoimpl.SizeCache
}
func (x *ListAdTemplatesRequest) Reset() {
*x = ListAdTemplatesRequest{}
mi := &file_app_v1_catalog_proto_msgTypes[5]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
func (x *ListAdTemplatesRequest) String() string {
return protoimpl.X.MessageStringOf(x)
}
func (*ListAdTemplatesRequest) ProtoMessage() {}
func (x *ListAdTemplatesRequest) ProtoReflect() protoreflect.Message {
mi := &file_app_v1_catalog_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 ListAdTemplatesRequest.ProtoReflect.Descriptor instead.
func (*ListAdTemplatesRequest) Descriptor() ([]byte, []int) {
return file_app_v1_catalog_proto_rawDescGZIP(), []int{5}
}
type ListAdTemplatesResponse struct {
state protoimpl.MessageState `protogen:"open.v1"`
Templates []*AdTemplate `protobuf:"bytes,1,rep,name=templates,proto3" json:"templates,omitempty"`
unknownFields protoimpl.UnknownFields
sizeCache protoimpl.SizeCache
}
func (x *ListAdTemplatesResponse) Reset() {
*x = ListAdTemplatesResponse{}
mi := &file_app_v1_catalog_proto_msgTypes[6]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
func (x *ListAdTemplatesResponse) String() string {
return protoimpl.X.MessageStringOf(x)
}
func (*ListAdTemplatesResponse) ProtoMessage() {}
func (x *ListAdTemplatesResponse) ProtoReflect() protoreflect.Message {
mi := &file_app_v1_catalog_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 ListAdTemplatesResponse.ProtoReflect.Descriptor instead.
func (*ListAdTemplatesResponse) Descriptor() ([]byte, []int) {
return file_app_v1_catalog_proto_rawDescGZIP(), []int{6}
}
func (x *ListAdTemplatesResponse) GetTemplates() []*AdTemplate {
if x != nil {
return x.Templates
}
return nil
}
type CreateAdTemplateRequest 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"`
VastTagUrl string `protobuf:"bytes,3,opt,name=vast_tag_url,json=vastTagUrl,proto3" json:"vast_tag_url,omitempty"`
AdFormat *string `protobuf:"bytes,4,opt,name=ad_format,json=adFormat,proto3,oneof" json:"ad_format,omitempty"`
Duration *int32 `protobuf:"varint,5,opt,name=duration,proto3,oneof" json:"duration,omitempty"`
IsActive *bool `protobuf:"varint,6,opt,name=is_active,json=isActive,proto3,oneof" json:"is_active,omitempty"`
IsDefault *bool `protobuf:"varint,7,opt,name=is_default,json=isDefault,proto3,oneof" json:"is_default,omitempty"`
unknownFields protoimpl.UnknownFields
sizeCache protoimpl.SizeCache
}
func (x *CreateAdTemplateRequest) Reset() {
*x = CreateAdTemplateRequest{}
mi := &file_app_v1_catalog_proto_msgTypes[7]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
func (x *CreateAdTemplateRequest) String() string {
return protoimpl.X.MessageStringOf(x)
}
func (*CreateAdTemplateRequest) ProtoMessage() {}
func (x *CreateAdTemplateRequest) ProtoReflect() protoreflect.Message {
mi := &file_app_v1_catalog_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 CreateAdTemplateRequest.ProtoReflect.Descriptor instead.
func (*CreateAdTemplateRequest) Descriptor() ([]byte, []int) {
return file_app_v1_catalog_proto_rawDescGZIP(), []int{7}
}
func (x *CreateAdTemplateRequest) GetName() string {
if x != nil {
return x.Name
}
return ""
}
func (x *CreateAdTemplateRequest) GetDescription() string {
if x != nil && x.Description != nil {
return *x.Description
}
return ""
}
func (x *CreateAdTemplateRequest) GetVastTagUrl() string {
if x != nil {
return x.VastTagUrl
}
return ""
}
func (x *CreateAdTemplateRequest) GetAdFormat() string {
if x != nil && x.AdFormat != nil {
return *x.AdFormat
}
return ""
}
func (x *CreateAdTemplateRequest) GetDuration() int32 {
if x != nil && x.Duration != nil {
return *x.Duration
}
return 0
}
func (x *CreateAdTemplateRequest) GetIsActive() bool {
if x != nil && x.IsActive != nil {
return *x.IsActive
}
return false
}
func (x *CreateAdTemplateRequest) GetIsDefault() bool {
if x != nil && x.IsDefault != nil {
return *x.IsDefault
}
return false
}
type CreateAdTemplateResponse struct {
state protoimpl.MessageState `protogen:"open.v1"`
Template *AdTemplate `protobuf:"bytes,1,opt,name=template,proto3" json:"template,omitempty"`
unknownFields protoimpl.UnknownFields
sizeCache protoimpl.SizeCache
}
func (x *CreateAdTemplateResponse) Reset() {
*x = CreateAdTemplateResponse{}
mi := &file_app_v1_catalog_proto_msgTypes[8]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
func (x *CreateAdTemplateResponse) String() string {
return protoimpl.X.MessageStringOf(x)
}
func (*CreateAdTemplateResponse) ProtoMessage() {}
func (x *CreateAdTemplateResponse) ProtoReflect() protoreflect.Message {
mi := &file_app_v1_catalog_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 CreateAdTemplateResponse.ProtoReflect.Descriptor instead.
func (*CreateAdTemplateResponse) Descriptor() ([]byte, []int) {
return file_app_v1_catalog_proto_rawDescGZIP(), []int{8}
}
func (x *CreateAdTemplateResponse) GetTemplate() *AdTemplate {
if x != nil {
return x.Template
}
return nil
}
type UpdateAdTemplateRequest 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"`
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 *int32 `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 *UpdateAdTemplateRequest) Reset() {
*x = UpdateAdTemplateRequest{}
mi := &file_app_v1_catalog_proto_msgTypes[9]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
func (x *UpdateAdTemplateRequest) String() string {
return protoimpl.X.MessageStringOf(x)
}
func (*UpdateAdTemplateRequest) ProtoMessage() {}
func (x *UpdateAdTemplateRequest) ProtoReflect() protoreflect.Message {
mi := &file_app_v1_catalog_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 UpdateAdTemplateRequest.ProtoReflect.Descriptor instead.
func (*UpdateAdTemplateRequest) Descriptor() ([]byte, []int) {
return file_app_v1_catalog_proto_rawDescGZIP(), []int{9}
}
func (x *UpdateAdTemplateRequest) GetId() string {
if x != nil {
return x.Id
}
return ""
}
func (x *UpdateAdTemplateRequest) GetName() string {
if x != nil {
return x.Name
}
return ""
}
func (x *UpdateAdTemplateRequest) GetDescription() string {
if x != nil && x.Description != nil {
return *x.Description
}
return ""
}
func (x *UpdateAdTemplateRequest) GetVastTagUrl() string {
if x != nil {
return x.VastTagUrl
}
return ""
}
func (x *UpdateAdTemplateRequest) GetAdFormat() string {
if x != nil && x.AdFormat != nil {
return *x.AdFormat
}
return ""
}
func (x *UpdateAdTemplateRequest) GetDuration() int32 {
if x != nil && x.Duration != nil {
return *x.Duration
}
return 0
}
func (x *UpdateAdTemplateRequest) GetIsActive() bool {
if x != nil && x.IsActive != nil {
return *x.IsActive
}
return false
}
func (x *UpdateAdTemplateRequest) GetIsDefault() bool {
if x != nil && x.IsDefault != nil {
return *x.IsDefault
}
return false
}
type UpdateAdTemplateResponse struct {
state protoimpl.MessageState `protogen:"open.v1"`
Template *AdTemplate `protobuf:"bytes,1,opt,name=template,proto3" json:"template,omitempty"`
unknownFields protoimpl.UnknownFields
sizeCache protoimpl.SizeCache
}
func (x *UpdateAdTemplateResponse) Reset() {
*x = UpdateAdTemplateResponse{}
mi := &file_app_v1_catalog_proto_msgTypes[10]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
func (x *UpdateAdTemplateResponse) String() string {
return protoimpl.X.MessageStringOf(x)
}
func (*UpdateAdTemplateResponse) ProtoMessage() {}
func (x *UpdateAdTemplateResponse) ProtoReflect() protoreflect.Message {
mi := &file_app_v1_catalog_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 UpdateAdTemplateResponse.ProtoReflect.Descriptor instead.
func (*UpdateAdTemplateResponse) Descriptor() ([]byte, []int) {
return file_app_v1_catalog_proto_rawDescGZIP(), []int{10}
}
func (x *UpdateAdTemplateResponse) GetTemplate() *AdTemplate {
if x != nil {
return x.Template
}
return nil
}
type DeleteAdTemplateRequest 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 *DeleteAdTemplateRequest) Reset() {
*x = DeleteAdTemplateRequest{}
mi := &file_app_v1_catalog_proto_msgTypes[11]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
func (x *DeleteAdTemplateRequest) String() string {
return protoimpl.X.MessageStringOf(x)
}
func (*DeleteAdTemplateRequest) ProtoMessage() {}
func (x *DeleteAdTemplateRequest) ProtoReflect() protoreflect.Message {
mi := &file_app_v1_catalog_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 DeleteAdTemplateRequest.ProtoReflect.Descriptor instead.
func (*DeleteAdTemplateRequest) Descriptor() ([]byte, []int) {
return file_app_v1_catalog_proto_rawDescGZIP(), []int{11}
}
func (x *DeleteAdTemplateRequest) GetId() string {
if x != nil {
return x.Id
}
return ""
}
type ListPopupAdsRequest 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"`
unknownFields protoimpl.UnknownFields
sizeCache protoimpl.SizeCache
}
func (x *ListPopupAdsRequest) Reset() {
*x = ListPopupAdsRequest{}
mi := &file_app_v1_catalog_proto_msgTypes[12]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
func (x *ListPopupAdsRequest) String() string {
return protoimpl.X.MessageStringOf(x)
}
func (*ListPopupAdsRequest) ProtoMessage() {}
func (x *ListPopupAdsRequest) ProtoReflect() protoreflect.Message {
mi := &file_app_v1_catalog_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 ListPopupAdsRequest.ProtoReflect.Descriptor instead.
func (*ListPopupAdsRequest) Descriptor() ([]byte, []int) {
return file_app_v1_catalog_proto_rawDescGZIP(), []int{12}
}
func (x *ListPopupAdsRequest) GetPage() int32 {
if x != nil {
return x.Page
}
return 0
}
func (x *ListPopupAdsRequest) GetLimit() int32 {
if x != nil {
return x.Limit
}
return 0
}
type ListPopupAdsResponse struct {
state protoimpl.MessageState `protogen:"open.v1"`
Items []*PopupAd `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 *ListPopupAdsResponse) Reset() {
*x = ListPopupAdsResponse{}
mi := &file_app_v1_catalog_proto_msgTypes[13]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
func (x *ListPopupAdsResponse) String() string {
return protoimpl.X.MessageStringOf(x)
}
func (*ListPopupAdsResponse) ProtoMessage() {}
func (x *ListPopupAdsResponse) ProtoReflect() protoreflect.Message {
mi := &file_app_v1_catalog_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 ListPopupAdsResponse.ProtoReflect.Descriptor instead.
func (*ListPopupAdsResponse) Descriptor() ([]byte, []int) {
return file_app_v1_catalog_proto_rawDescGZIP(), []int{13}
}
func (x *ListPopupAdsResponse) GetItems() []*PopupAd {
if x != nil {
return x.Items
}
return nil
}
func (x *ListPopupAdsResponse) GetTotal() int64 {
if x != nil {
return x.Total
}
return 0
}
func (x *ListPopupAdsResponse) GetPage() int32 {
if x != nil {
return x.Page
}
return 0
}
func (x *ListPopupAdsResponse) GetLimit() int32 {
if x != nil {
return x.Limit
}
return 0
}
type CreatePopupAdRequest struct {
state protoimpl.MessageState `protogen:"open.v1"`
Type string `protobuf:"bytes,1,opt,name=type,proto3" json:"type,omitempty"`
Label string `protobuf:"bytes,2,opt,name=label,proto3" json:"label,omitempty"`
Value string `protobuf:"bytes,3,opt,name=value,proto3" json:"value,omitempty"`
IsActive *bool `protobuf:"varint,4,opt,name=is_active,json=isActive,proto3,oneof" json:"is_active,omitempty"`
MaxTriggersPerSession *int32 `protobuf:"varint,5,opt,name=max_triggers_per_session,json=maxTriggersPerSession,proto3,oneof" json:"max_triggers_per_session,omitempty"`
unknownFields protoimpl.UnknownFields
sizeCache protoimpl.SizeCache
}
func (x *CreatePopupAdRequest) Reset() {
*x = CreatePopupAdRequest{}
mi := &file_app_v1_catalog_proto_msgTypes[14]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
func (x *CreatePopupAdRequest) String() string {
return protoimpl.X.MessageStringOf(x)
}
func (*CreatePopupAdRequest) ProtoMessage() {}
func (x *CreatePopupAdRequest) ProtoReflect() protoreflect.Message {
mi := &file_app_v1_catalog_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 CreatePopupAdRequest.ProtoReflect.Descriptor instead.
func (*CreatePopupAdRequest) Descriptor() ([]byte, []int) {
return file_app_v1_catalog_proto_rawDescGZIP(), []int{14}
}
func (x *CreatePopupAdRequest) GetType() string {
if x != nil {
return x.Type
}
return ""
}
func (x *CreatePopupAdRequest) GetLabel() string {
if x != nil {
return x.Label
}
return ""
}
func (x *CreatePopupAdRequest) GetValue() string {
if x != nil {
return x.Value
}
return ""
}
func (x *CreatePopupAdRequest) GetIsActive() bool {
if x != nil && x.IsActive != nil {
return *x.IsActive
}
return false
}
func (x *CreatePopupAdRequest) GetMaxTriggersPerSession() int32 {
if x != nil && x.MaxTriggersPerSession != nil {
return *x.MaxTriggersPerSession
}
return 0
}
type CreatePopupAdResponse struct {
state protoimpl.MessageState `protogen:"open.v1"`
Item *PopupAd `protobuf:"bytes,1,opt,name=item,proto3" json:"item,omitempty"`
unknownFields protoimpl.UnknownFields
sizeCache protoimpl.SizeCache
}
func (x *CreatePopupAdResponse) Reset() {
*x = CreatePopupAdResponse{}
mi := &file_app_v1_catalog_proto_msgTypes[15]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
func (x *CreatePopupAdResponse) String() string {
return protoimpl.X.MessageStringOf(x)
}
func (*CreatePopupAdResponse) ProtoMessage() {}
func (x *CreatePopupAdResponse) ProtoReflect() protoreflect.Message {
mi := &file_app_v1_catalog_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 CreatePopupAdResponse.ProtoReflect.Descriptor instead.
func (*CreatePopupAdResponse) Descriptor() ([]byte, []int) {
return file_app_v1_catalog_proto_rawDescGZIP(), []int{15}
}
func (x *CreatePopupAdResponse) GetItem() *PopupAd {
if x != nil {
return x.Item
}
return nil
}
type UpdatePopupAdRequest struct {
state protoimpl.MessageState `protogen:"open.v1"`
Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"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 *UpdatePopupAdRequest) Reset() {
*x = UpdatePopupAdRequest{}
mi := &file_app_v1_catalog_proto_msgTypes[16]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
func (x *UpdatePopupAdRequest) String() string {
return protoimpl.X.MessageStringOf(x)
}
func (*UpdatePopupAdRequest) ProtoMessage() {}
func (x *UpdatePopupAdRequest) ProtoReflect() protoreflect.Message {
mi := &file_app_v1_catalog_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 UpdatePopupAdRequest.ProtoReflect.Descriptor instead.
func (*UpdatePopupAdRequest) Descriptor() ([]byte, []int) {
return file_app_v1_catalog_proto_rawDescGZIP(), []int{16}
}
func (x *UpdatePopupAdRequest) GetId() string {
if x != nil {
return x.Id
}
return ""
}
func (x *UpdatePopupAdRequest) GetType() string {
if x != nil {
return x.Type
}
return ""
}
func (x *UpdatePopupAdRequest) GetLabel() string {
if x != nil {
return x.Label
}
return ""
}
func (x *UpdatePopupAdRequest) GetValue() string {
if x != nil {
return x.Value
}
return ""
}
func (x *UpdatePopupAdRequest) GetIsActive() bool {
if x != nil && x.IsActive != nil {
return *x.IsActive
}
return false
}
func (x *UpdatePopupAdRequest) GetMaxTriggersPerSession() int32 {
if x != nil && x.MaxTriggersPerSession != nil {
return *x.MaxTriggersPerSession
}
return 0
}
type UpdatePopupAdResponse struct {
state protoimpl.MessageState `protogen:"open.v1"`
Item *PopupAd `protobuf:"bytes,1,opt,name=item,proto3" json:"item,omitempty"`
unknownFields protoimpl.UnknownFields
sizeCache protoimpl.SizeCache
}
func (x *UpdatePopupAdResponse) Reset() {
*x = UpdatePopupAdResponse{}
mi := &file_app_v1_catalog_proto_msgTypes[17]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
func (x *UpdatePopupAdResponse) String() string {
return protoimpl.X.MessageStringOf(x)
}
func (*UpdatePopupAdResponse) ProtoMessage() {}
func (x *UpdatePopupAdResponse) ProtoReflect() protoreflect.Message {
mi := &file_app_v1_catalog_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 UpdatePopupAdResponse.ProtoReflect.Descriptor instead.
func (*UpdatePopupAdResponse) Descriptor() ([]byte, []int) {
return file_app_v1_catalog_proto_rawDescGZIP(), []int{17}
}
func (x *UpdatePopupAdResponse) GetItem() *PopupAd {
if x != nil {
return x.Item
}
return nil
}
type DeletePopupAdRequest 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 *DeletePopupAdRequest) Reset() {
*x = DeletePopupAdRequest{}
mi := &file_app_v1_catalog_proto_msgTypes[18]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
func (x *DeletePopupAdRequest) String() string {
return protoimpl.X.MessageStringOf(x)
}
func (*DeletePopupAdRequest) ProtoMessage() {}
func (x *DeletePopupAdRequest) ProtoReflect() protoreflect.Message {
mi := &file_app_v1_catalog_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 DeletePopupAdRequest.ProtoReflect.Descriptor instead.
func (*DeletePopupAdRequest) Descriptor() ([]byte, []int) {
return file_app_v1_catalog_proto_rawDescGZIP(), []int{18}
}
func (x *DeletePopupAdRequest) GetId() string {
if x != nil {
return x.Id
}
return ""
}
type GetActivePopupAdRequest struct {
state protoimpl.MessageState `protogen:"open.v1"`
unknownFields protoimpl.UnknownFields
sizeCache protoimpl.SizeCache
}
func (x *GetActivePopupAdRequest) Reset() {
*x = GetActivePopupAdRequest{}
mi := &file_app_v1_catalog_proto_msgTypes[19]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
func (x *GetActivePopupAdRequest) String() string {
return protoimpl.X.MessageStringOf(x)
}
func (*GetActivePopupAdRequest) ProtoMessage() {}
func (x *GetActivePopupAdRequest) ProtoReflect() protoreflect.Message {
mi := &file_app_v1_catalog_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 GetActivePopupAdRequest.ProtoReflect.Descriptor instead.
func (*GetActivePopupAdRequest) Descriptor() ([]byte, []int) {
return file_app_v1_catalog_proto_rawDescGZIP(), []int{19}
}
type GetActivePopupAdResponse struct {
state protoimpl.MessageState `protogen:"open.v1"`
Item *PopupAd `protobuf:"bytes,1,opt,name=item,proto3,oneof" json:"item,omitempty"`
unknownFields protoimpl.UnknownFields
sizeCache protoimpl.SizeCache
}
func (x *GetActivePopupAdResponse) Reset() {
*x = GetActivePopupAdResponse{}
mi := &file_app_v1_catalog_proto_msgTypes[20]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
func (x *GetActivePopupAdResponse) String() string {
return protoimpl.X.MessageStringOf(x)
}
func (*GetActivePopupAdResponse) ProtoMessage() {}
func (x *GetActivePopupAdResponse) ProtoReflect() protoreflect.Message {
mi := &file_app_v1_catalog_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 GetActivePopupAdResponse.ProtoReflect.Descriptor instead.
func (*GetActivePopupAdResponse) Descriptor() ([]byte, []int) {
return file_app_v1_catalog_proto_rawDescGZIP(), []int{20}
}
func (x *GetActivePopupAdResponse) GetItem() *PopupAd {
if x != nil {
return x.Item
}
return nil
}
type ListPlayerConfigsRequest struct {
state protoimpl.MessageState `protogen:"open.v1"`
unknownFields protoimpl.UnknownFields
sizeCache protoimpl.SizeCache
}
func (x *ListPlayerConfigsRequest) Reset() {
*x = ListPlayerConfigsRequest{}
mi := &file_app_v1_catalog_proto_msgTypes[21]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
func (x *ListPlayerConfigsRequest) String() string {
return protoimpl.X.MessageStringOf(x)
}
func (*ListPlayerConfigsRequest) ProtoMessage() {}
func (x *ListPlayerConfigsRequest) ProtoReflect() protoreflect.Message {
mi := &file_app_v1_catalog_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 ListPlayerConfigsRequest.ProtoReflect.Descriptor instead.
func (*ListPlayerConfigsRequest) Descriptor() ([]byte, []int) {
return file_app_v1_catalog_proto_rawDescGZIP(), []int{21}
}
type ListPlayerConfigsResponse struct {
state protoimpl.MessageState `protogen:"open.v1"`
Configs []*PlayerConfig `protobuf:"bytes,1,rep,name=configs,proto3" json:"configs,omitempty"`
unknownFields protoimpl.UnknownFields
sizeCache protoimpl.SizeCache
}
func (x *ListPlayerConfigsResponse) Reset() {
*x = ListPlayerConfigsResponse{}
mi := &file_app_v1_catalog_proto_msgTypes[22]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
func (x *ListPlayerConfigsResponse) String() string {
return protoimpl.X.MessageStringOf(x)
}
func (*ListPlayerConfigsResponse) ProtoMessage() {}
func (x *ListPlayerConfigsResponse) ProtoReflect() protoreflect.Message {
mi := &file_app_v1_catalog_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 ListPlayerConfigsResponse.ProtoReflect.Descriptor instead.
func (*ListPlayerConfigsResponse) Descriptor() ([]byte, []int) {
return file_app_v1_catalog_proto_rawDescGZIP(), []int{22}
}
func (x *ListPlayerConfigsResponse) GetConfigs() []*PlayerConfig {
if x != nil {
return x.Configs
}
return nil
}
type CreatePlayerConfigRequest 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"`
Autoplay bool `protobuf:"varint,3,opt,name=autoplay,proto3" json:"autoplay,omitempty"`
Loop bool `protobuf:"varint,4,opt,name=loop,proto3" json:"loop,omitempty"`
Muted bool `protobuf:"varint,5,opt,name=muted,proto3" json:"muted,omitempty"`
ShowControls bool `protobuf:"varint,6,opt,name=show_controls,json=showControls,proto3" json:"show_controls,omitempty"`
Pip bool `protobuf:"varint,7,opt,name=pip,proto3" json:"pip,omitempty"`
Airplay bool `protobuf:"varint,8,opt,name=airplay,proto3" json:"airplay,omitempty"`
Chromecast bool `protobuf:"varint,9,opt,name=chromecast,proto3" json:"chromecast,omitempty"`
IsActive *bool `protobuf:"varint,10,opt,name=is_active,json=isActive,proto3,oneof" json:"is_active,omitempty"`
IsDefault *bool `protobuf:"varint,11,opt,name=is_default,json=isDefault,proto3,oneof" json:"is_default,omitempty"`
EncrytionM3U8 *bool `protobuf:"varint,12,opt,name=encrytion_m3u8,json=encrytionM3u8,proto3,oneof" json:"encrytion_m3u8,omitempty"`
LogoUrl *string `protobuf:"bytes,13,opt,name=logo_url,json=logoUrl,proto3,oneof" json:"logo_url,omitempty"`
unknownFields protoimpl.UnknownFields
sizeCache protoimpl.SizeCache
}
func (x *CreatePlayerConfigRequest) Reset() {
*x = CreatePlayerConfigRequest{}
mi := &file_app_v1_catalog_proto_msgTypes[23]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
func (x *CreatePlayerConfigRequest) String() string {
return protoimpl.X.MessageStringOf(x)
}
func (*CreatePlayerConfigRequest) ProtoMessage() {}
func (x *CreatePlayerConfigRequest) ProtoReflect() protoreflect.Message {
mi := &file_app_v1_catalog_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 CreatePlayerConfigRequest.ProtoReflect.Descriptor instead.
func (*CreatePlayerConfigRequest) Descriptor() ([]byte, []int) {
return file_app_v1_catalog_proto_rawDescGZIP(), []int{23}
}
func (x *CreatePlayerConfigRequest) GetName() string {
if x != nil {
return x.Name
}
return ""
}
func (x *CreatePlayerConfigRequest) GetDescription() string {
if x != nil && x.Description != nil {
return *x.Description
}
return ""
}
func (x *CreatePlayerConfigRequest) GetAutoplay() bool {
if x != nil {
return x.Autoplay
}
return false
}
func (x *CreatePlayerConfigRequest) GetLoop() bool {
if x != nil {
return x.Loop
}
return false
}
func (x *CreatePlayerConfigRequest) GetMuted() bool {
if x != nil {
return x.Muted
}
return false
}
func (x *CreatePlayerConfigRequest) GetShowControls() bool {
if x != nil {
return x.ShowControls
}
return false
}
func (x *CreatePlayerConfigRequest) GetPip() bool {
if x != nil {
return x.Pip
}
return false
}
func (x *CreatePlayerConfigRequest) GetAirplay() bool {
if x != nil {
return x.Airplay
}
return false
}
func (x *CreatePlayerConfigRequest) GetChromecast() bool {
if x != nil {
return x.Chromecast
}
return false
}
func (x *CreatePlayerConfigRequest) GetIsActive() bool {
if x != nil && x.IsActive != nil {
return *x.IsActive
}
return false
}
func (x *CreatePlayerConfigRequest) GetIsDefault() bool {
if x != nil && x.IsDefault != nil {
return *x.IsDefault
}
return false
}
func (x *CreatePlayerConfigRequest) GetEncrytionM3U8() bool {
if x != nil && x.EncrytionM3U8 != nil {
return *x.EncrytionM3U8
}
return false
}
func (x *CreatePlayerConfigRequest) GetLogoUrl() string {
if x != nil && x.LogoUrl != nil {
return *x.LogoUrl
}
return ""
}
type CreatePlayerConfigResponse struct {
state protoimpl.MessageState `protogen:"open.v1"`
Config *PlayerConfig `protobuf:"bytes,1,opt,name=config,proto3" json:"config,omitempty"`
unknownFields protoimpl.UnknownFields
sizeCache protoimpl.SizeCache
}
func (x *CreatePlayerConfigResponse) Reset() {
*x = CreatePlayerConfigResponse{}
mi := &file_app_v1_catalog_proto_msgTypes[24]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
func (x *CreatePlayerConfigResponse) String() string {
return protoimpl.X.MessageStringOf(x)
}
func (*CreatePlayerConfigResponse) ProtoMessage() {}
func (x *CreatePlayerConfigResponse) ProtoReflect() protoreflect.Message {
mi := &file_app_v1_catalog_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 CreatePlayerConfigResponse.ProtoReflect.Descriptor instead.
func (*CreatePlayerConfigResponse) Descriptor() ([]byte, []int) {
return file_app_v1_catalog_proto_rawDescGZIP(), []int{24}
}
func (x *CreatePlayerConfigResponse) GetConfig() *PlayerConfig {
if x != nil {
return x.Config
}
return nil
}
type UpdatePlayerConfigRequest 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"`
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 *UpdatePlayerConfigRequest) Reset() {
*x = UpdatePlayerConfigRequest{}
mi := &file_app_v1_catalog_proto_msgTypes[25]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
func (x *UpdatePlayerConfigRequest) String() string {
return protoimpl.X.MessageStringOf(x)
}
func (*UpdatePlayerConfigRequest) ProtoMessage() {}
func (x *UpdatePlayerConfigRequest) ProtoReflect() protoreflect.Message {
mi := &file_app_v1_catalog_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 UpdatePlayerConfigRequest.ProtoReflect.Descriptor instead.
func (*UpdatePlayerConfigRequest) Descriptor() ([]byte, []int) {
return file_app_v1_catalog_proto_rawDescGZIP(), []int{25}
}
func (x *UpdatePlayerConfigRequest) GetId() string {
if x != nil {
return x.Id
}
return ""
}
func (x *UpdatePlayerConfigRequest) GetName() string {
if x != nil {
return x.Name
}
return ""
}
func (x *UpdatePlayerConfigRequest) GetDescription() string {
if x != nil && x.Description != nil {
return *x.Description
}
return ""
}
func (x *UpdatePlayerConfigRequest) GetAutoplay() bool {
if x != nil {
return x.Autoplay
}
return false
}
func (x *UpdatePlayerConfigRequest) GetLoop() bool {
if x != nil {
return x.Loop
}
return false
}
func (x *UpdatePlayerConfigRequest) GetMuted() bool {
if x != nil {
return x.Muted
}
return false
}
func (x *UpdatePlayerConfigRequest) GetShowControls() bool {
if x != nil {
return x.ShowControls
}
return false
}
func (x *UpdatePlayerConfigRequest) GetPip() bool {
if x != nil {
return x.Pip
}
return false
}
func (x *UpdatePlayerConfigRequest) GetAirplay() bool {
if x != nil {
return x.Airplay
}
return false
}
func (x *UpdatePlayerConfigRequest) GetChromecast() bool {
if x != nil {
return x.Chromecast
}
return false
}
func (x *UpdatePlayerConfigRequest) GetIsActive() bool {
if x != nil && x.IsActive != nil {
return *x.IsActive
}
return false
}
func (x *UpdatePlayerConfigRequest) GetIsDefault() bool {
if x != nil && x.IsDefault != nil {
return *x.IsDefault
}
return false
}
func (x *UpdatePlayerConfigRequest) GetEncrytionM3U8() bool {
if x != nil && x.EncrytionM3U8 != nil {
return *x.EncrytionM3U8
}
return false
}
func (x *UpdatePlayerConfigRequest) GetLogoUrl() string {
if x != nil && x.LogoUrl != nil {
return *x.LogoUrl
}
return ""
}
type UpdatePlayerConfigResponse struct {
state protoimpl.MessageState `protogen:"open.v1"`
Config *PlayerConfig `protobuf:"bytes,1,opt,name=config,proto3" json:"config,omitempty"`
unknownFields protoimpl.UnknownFields
sizeCache protoimpl.SizeCache
}
func (x *UpdatePlayerConfigResponse) Reset() {
*x = UpdatePlayerConfigResponse{}
mi := &file_app_v1_catalog_proto_msgTypes[26]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
func (x *UpdatePlayerConfigResponse) String() string {
return protoimpl.X.MessageStringOf(x)
}
func (*UpdatePlayerConfigResponse) ProtoMessage() {}
func (x *UpdatePlayerConfigResponse) ProtoReflect() protoreflect.Message {
mi := &file_app_v1_catalog_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 UpdatePlayerConfigResponse.ProtoReflect.Descriptor instead.
func (*UpdatePlayerConfigResponse) Descriptor() ([]byte, []int) {
return file_app_v1_catalog_proto_rawDescGZIP(), []int{26}
}
func (x *UpdatePlayerConfigResponse) GetConfig() *PlayerConfig {
if x != nil {
return x.Config
}
return nil
}
type DeletePlayerConfigRequest 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 *DeletePlayerConfigRequest) Reset() {
*x = DeletePlayerConfigRequest{}
mi := &file_app_v1_catalog_proto_msgTypes[27]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
func (x *DeletePlayerConfigRequest) String() string {
return protoimpl.X.MessageStringOf(x)
}
func (*DeletePlayerConfigRequest) ProtoMessage() {}
func (x *DeletePlayerConfigRequest) ProtoReflect() protoreflect.Message {
mi := &file_app_v1_catalog_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 DeletePlayerConfigRequest.ProtoReflect.Descriptor instead.
func (*DeletePlayerConfigRequest) Descriptor() ([]byte, []int) {
return file_app_v1_catalog_proto_rawDescGZIP(), []int{27}
}
func (x *DeletePlayerConfigRequest) GetId() string {
if x != nil {
return x.Id
}
return ""
}
type ListPlansRequest struct {
state protoimpl.MessageState `protogen:"open.v1"`
unknownFields protoimpl.UnknownFields
sizeCache protoimpl.SizeCache
}
func (x *ListPlansRequest) Reset() {
*x = ListPlansRequest{}
mi := &file_app_v1_catalog_proto_msgTypes[28]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
func (x *ListPlansRequest) String() string {
return protoimpl.X.MessageStringOf(x)
}
func (*ListPlansRequest) ProtoMessage() {}
func (x *ListPlansRequest) ProtoReflect() protoreflect.Message {
mi := &file_app_v1_catalog_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 ListPlansRequest.ProtoReflect.Descriptor instead.
func (*ListPlansRequest) Descriptor() ([]byte, []int) {
return file_app_v1_catalog_proto_rawDescGZIP(), []int{28}
}
type ListPlansResponse struct {
state protoimpl.MessageState `protogen:"open.v1"`
Plans []*Plan `protobuf:"bytes,1,rep,name=plans,proto3" json:"plans,omitempty"`
unknownFields protoimpl.UnknownFields
sizeCache protoimpl.SizeCache
}
func (x *ListPlansResponse) Reset() {
*x = ListPlansResponse{}
mi := &file_app_v1_catalog_proto_msgTypes[29]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
func (x *ListPlansResponse) String() string {
return protoimpl.X.MessageStringOf(x)
}
func (*ListPlansResponse) ProtoMessage() {}
func (x *ListPlansResponse) ProtoReflect() protoreflect.Message {
mi := &file_app_v1_catalog_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 ListPlansResponse.ProtoReflect.Descriptor instead.
func (*ListPlansResponse) Descriptor() ([]byte, []int) {
return file_app_v1_catalog_proto_rawDescGZIP(), []int{29}
}
func (x *ListPlansResponse) GetPlans() []*Plan {
if x != nil {
return x.Plans
}
return nil
}
var File_app_v1_catalog_proto protoreflect.FileDescriptor
const file_app_v1_catalog_proto_rawDesc = "" +
"\n" +
"\x14app/v1/catalog.proto\x12\rstream.app.v1\x1a\x13app/v1/common.proto\"\x14\n" +
"\x12ListDomainsRequest\"F\n" +
"\x13ListDomainsResponse\x12/\n" +
"\adomains\x18\x01 \x03(\v2\x15.stream.app.v1.DomainR\adomains\")\n" +
"\x13CreateDomainRequest\x12\x12\n" +
"\x04name\x18\x01 \x01(\tR\x04name\"E\n" +
"\x14CreateDomainResponse\x12-\n" +
"\x06domain\x18\x01 \x01(\v2\x15.stream.app.v1.DomainR\x06domain\"%\n" +
"\x13DeleteDomainRequest\x12\x0e\n" +
"\x02id\x18\x01 \x01(\tR\x02id\"\x18\n" +
"\x16ListAdTemplatesRequest\"R\n" +
"\x17ListAdTemplatesResponse\x127\n" +
"\ttemplates\x18\x01 \x03(\v2\x19.stream.app.v1.AdTemplateR\ttemplates\"\xc7\x02\n" +
"\x17CreateAdTemplateRequest\x12\x12\n" +
"\x04name\x18\x01 \x01(\tR\x04name\x12%\n" +
"\vdescription\x18\x02 \x01(\tH\x00R\vdescription\x88\x01\x01\x12 \n" +
"\fvast_tag_url\x18\x03 \x01(\tR\n" +
"vastTagUrl\x12 \n" +
"\tad_format\x18\x04 \x01(\tH\x01R\badFormat\x88\x01\x01\x12\x1f\n" +
"\bduration\x18\x05 \x01(\x05H\x02R\bduration\x88\x01\x01\x12 \n" +
"\tis_active\x18\x06 \x01(\bH\x03R\bisActive\x88\x01\x01\x12\"\n" +
"\n" +
"is_default\x18\a \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\"Q\n" +
"\x18CreateAdTemplateResponse\x125\n" +
"\btemplate\x18\x01 \x01(\v2\x19.stream.app.v1.AdTemplateR\btemplate\"\xd7\x02\n" +
"\x17UpdateAdTemplateRequest\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 \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(\x05H\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\"Q\n" +
"\x18UpdateAdTemplateResponse\x125\n" +
"\btemplate\x18\x01 \x01(\v2\x19.stream.app.v1.AdTemplateR\btemplate\")\n" +
"\x17DeleteAdTemplateRequest\x12\x0e\n" +
"\x02id\x18\x01 \x01(\tR\x02id\"?\n" +
"\x13ListPopupAdsRequest\x12\x12\n" +
"\x04page\x18\x01 \x01(\x05R\x04page\x12\x14\n" +
"\x05limit\x18\x02 \x01(\x05R\x05limit\"\x84\x01\n" +
"\x14ListPopupAdsResponse\x12,\n" +
"\x05items\x18\x01 \x03(\v2\x16.stream.app.v1.PopupAdR\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\"\xe1\x01\n" +
"\x14CreatePopupAdRequest\x12\x12\n" +
"\x04type\x18\x01 \x01(\tR\x04type\x12\x14\n" +
"\x05label\x18\x02 \x01(\tR\x05label\x12\x14\n" +
"\x05value\x18\x03 \x01(\tR\x05value\x12 \n" +
"\tis_active\x18\x04 \x01(\bH\x00R\bisActive\x88\x01\x01\x12<\n" +
"\x18max_triggers_per_session\x18\x05 \x01(\x05H\x01R\x15maxTriggersPerSession\x88\x01\x01B\f\n" +
"\n" +
"_is_activeB\x1b\n" +
"\x19_max_triggers_per_session\"C\n" +
"\x15CreatePopupAdResponse\x12*\n" +
"\x04item\x18\x01 \x01(\v2\x16.stream.app.v1.PopupAdR\x04item\"\xf1\x01\n" +
"\x14UpdatePopupAdRequest\x12\x0e\n" +
"\x02id\x18\x01 \x01(\tR\x02id\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\"C\n" +
"\x15UpdatePopupAdResponse\x12*\n" +
"\x04item\x18\x01 \x01(\v2\x16.stream.app.v1.PopupAdR\x04item\"&\n" +
"\x14DeletePopupAdRequest\x12\x0e\n" +
"\x02id\x18\x01 \x01(\tR\x02id\"\x19\n" +
"\x17GetActivePopupAdRequest\"T\n" +
"\x18GetActivePopupAdResponse\x12/\n" +
"\x04item\x18\x01 \x01(\v2\x16.stream.app.v1.PopupAdH\x00R\x04item\x88\x01\x01B\a\n" +
"\x05_item\"\x1a\n" +
"\x18ListPlayerConfigsRequest\"R\n" +
"\x19ListPlayerConfigsResponse\x125\n" +
"\aconfigs\x18\x01 \x03(\v2\x1b.stream.app.v1.PlayerConfigR\aconfigs\"\xec\x03\n" +
"\x19CreatePlayerConfigRequest\x12\x12\n" +
"\x04name\x18\x01 \x01(\tR\x04name\x12%\n" +
"\vdescription\x18\x02 \x01(\tH\x00R\vdescription\x88\x01\x01\x12\x1a\n" +
"\bautoplay\x18\x03 \x01(\bR\bautoplay\x12\x12\n" +
"\x04loop\x18\x04 \x01(\bR\x04loop\x12\x14\n" +
"\x05muted\x18\x05 \x01(\bR\x05muted\x12#\n" +
"\rshow_controls\x18\x06 \x01(\bR\fshowControls\x12\x10\n" +
"\x03pip\x18\a \x01(\bR\x03pip\x12\x18\n" +
"\aairplay\x18\b \x01(\bR\aairplay\x12\x1e\n" +
"\n" +
"chromecast\x18\t \x01(\bR\n" +
"chromecast\x12 \n" +
"\tis_active\x18\n" +
" \x01(\bH\x01R\bisActive\x88\x01\x01\x12\"\n" +
"\n" +
"is_default\x18\v \x01(\bH\x02R\tisDefault\x88\x01\x01\x12*\n" +
"\x0eencrytion_m3u8\x18\f \x01(\bH\x03R\rencrytionM3u8\x88\x01\x01\x12\x1e\n" +
"\blogo_url\x18\r \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\"Q\n" +
"\x1aCreatePlayerConfigResponse\x123\n" +
"\x06config\x18\x01 \x01(\v2\x1b.stream.app.v1.PlayerConfigR\x06config\"\xfc\x03\n" +
"\x19UpdatePlayerConfigRequest\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" +
"\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\"Q\n" +
"\x1aUpdatePlayerConfigResponse\x123\n" +
"\x06config\x18\x01 \x01(\v2\x1b.stream.app.v1.PlayerConfigR\x06config\"+\n" +
"\x19DeletePlayerConfigRequest\x12\x0e\n" +
"\x02id\x18\x01 \x01(\tR\x02id\"\x12\n" +
"\x10ListPlansRequest\">\n" +
"\x11ListPlansResponse\x12)\n" +
"\x05plans\x18\x01 \x03(\v2\x13.stream.app.v1.PlanR\x05plans2\x8c\x02\n" +
"\aDomains\x12T\n" +
"\vListDomains\x12!.stream.app.v1.ListDomainsRequest\x1a\".stream.app.v1.ListDomainsResponse\x12W\n" +
"\fCreateDomain\x12\".stream.app.v1.CreateDomainRequest\x1a#.stream.app.v1.CreateDomainResponse\x12R\n" +
"\fDeleteDomain\x12\".stream.app.v1.DeleteDomainRequest\x1a\x1e.stream.app.v1.MessageResponse2\x95\x03\n" +
"\vAdTemplates\x12`\n" +
"\x0fListAdTemplates\x12%.stream.app.v1.ListAdTemplatesRequest\x1a&.stream.app.v1.ListAdTemplatesResponse\x12c\n" +
"\x10CreateAdTemplate\x12&.stream.app.v1.CreateAdTemplateRequest\x1a'.stream.app.v1.CreateAdTemplateResponse\x12c\n" +
"\x10UpdateAdTemplate\x12&.stream.app.v1.UpdateAdTemplateRequest\x1a'.stream.app.v1.UpdateAdTemplateResponse\x12Z\n" +
"\x10DeleteAdTemplate\x12&.stream.app.v1.DeleteAdTemplateRequest\x1a\x1e.stream.app.v1.MessageResponse2\xd6\x03\n" +
"\bPopupAds\x12W\n" +
"\fListPopupAds\x12\".stream.app.v1.ListPopupAdsRequest\x1a#.stream.app.v1.ListPopupAdsResponse\x12Z\n" +
"\rCreatePopupAd\x12#.stream.app.v1.CreatePopupAdRequest\x1a$.stream.app.v1.CreatePopupAdResponse\x12Z\n" +
"\rUpdatePopupAd\x12#.stream.app.v1.UpdatePopupAdRequest\x1a$.stream.app.v1.UpdatePopupAdResponse\x12T\n" +
"\rDeletePopupAd\x12#.stream.app.v1.DeletePopupAdRequest\x1a\x1e.stream.app.v1.MessageResponse\x12c\n" +
"\x10GetActivePopupAd\x12&.stream.app.v1.GetActivePopupAdRequest\x1a'.stream.app.v1.GetActivePopupAdResponse2\xad\x03\n" +
"\rPlayerConfigs\x12f\n" +
"\x11ListPlayerConfigs\x12'.stream.app.v1.ListPlayerConfigsRequest\x1a(.stream.app.v1.ListPlayerConfigsResponse\x12i\n" +
"\x12CreatePlayerConfig\x12(.stream.app.v1.CreatePlayerConfigRequest\x1a).stream.app.v1.CreatePlayerConfigResponse\x12i\n" +
"\x12UpdatePlayerConfig\x12(.stream.app.v1.UpdatePlayerConfigRequest\x1a).stream.app.v1.UpdatePlayerConfigResponse\x12^\n" +
"\x12DeletePlayerConfig\x12(.stream.app.v1.DeletePlayerConfigRequest\x1a\x1e.stream.app.v1.MessageResponse2W\n" +
"\x05Plans\x12N\n" +
"\tListPlans\x12\x1f.stream.app.v1.ListPlansRequest\x1a .stream.app.v1.ListPlansResponseB,Z*stream.api/internal/gen/proto/app/v1;appv1b\x06proto3"
var (
file_app_v1_catalog_proto_rawDescOnce sync.Once
file_app_v1_catalog_proto_rawDescData []byte
)
func file_app_v1_catalog_proto_rawDescGZIP() []byte {
file_app_v1_catalog_proto_rawDescOnce.Do(func() {
file_app_v1_catalog_proto_rawDescData = protoimpl.X.CompressGZIP(unsafe.Slice(unsafe.StringData(file_app_v1_catalog_proto_rawDesc), len(file_app_v1_catalog_proto_rawDesc)))
})
return file_app_v1_catalog_proto_rawDescData
}
var file_app_v1_catalog_proto_msgTypes = make([]protoimpl.MessageInfo, 30)
var file_app_v1_catalog_proto_goTypes = []any{
(*ListDomainsRequest)(nil), // 0: stream.app.v1.ListDomainsRequest
(*ListDomainsResponse)(nil), // 1: stream.app.v1.ListDomainsResponse
(*CreateDomainRequest)(nil), // 2: stream.app.v1.CreateDomainRequest
(*CreateDomainResponse)(nil), // 3: stream.app.v1.CreateDomainResponse
(*DeleteDomainRequest)(nil), // 4: stream.app.v1.DeleteDomainRequest
(*ListAdTemplatesRequest)(nil), // 5: stream.app.v1.ListAdTemplatesRequest
(*ListAdTemplatesResponse)(nil), // 6: stream.app.v1.ListAdTemplatesResponse
(*CreateAdTemplateRequest)(nil), // 7: stream.app.v1.CreateAdTemplateRequest
(*CreateAdTemplateResponse)(nil), // 8: stream.app.v1.CreateAdTemplateResponse
(*UpdateAdTemplateRequest)(nil), // 9: stream.app.v1.UpdateAdTemplateRequest
(*UpdateAdTemplateResponse)(nil), // 10: stream.app.v1.UpdateAdTemplateResponse
(*DeleteAdTemplateRequest)(nil), // 11: stream.app.v1.DeleteAdTemplateRequest
(*ListPopupAdsRequest)(nil), // 12: stream.app.v1.ListPopupAdsRequest
(*ListPopupAdsResponse)(nil), // 13: stream.app.v1.ListPopupAdsResponse
(*CreatePopupAdRequest)(nil), // 14: stream.app.v1.CreatePopupAdRequest
(*CreatePopupAdResponse)(nil), // 15: stream.app.v1.CreatePopupAdResponse
(*UpdatePopupAdRequest)(nil), // 16: stream.app.v1.UpdatePopupAdRequest
(*UpdatePopupAdResponse)(nil), // 17: stream.app.v1.UpdatePopupAdResponse
(*DeletePopupAdRequest)(nil), // 18: stream.app.v1.DeletePopupAdRequest
(*GetActivePopupAdRequest)(nil), // 19: stream.app.v1.GetActivePopupAdRequest
(*GetActivePopupAdResponse)(nil), // 20: stream.app.v1.GetActivePopupAdResponse
(*ListPlayerConfigsRequest)(nil), // 21: stream.app.v1.ListPlayerConfigsRequest
(*ListPlayerConfigsResponse)(nil), // 22: stream.app.v1.ListPlayerConfigsResponse
(*CreatePlayerConfigRequest)(nil), // 23: stream.app.v1.CreatePlayerConfigRequest
(*CreatePlayerConfigResponse)(nil), // 24: stream.app.v1.CreatePlayerConfigResponse
(*UpdatePlayerConfigRequest)(nil), // 25: stream.app.v1.UpdatePlayerConfigRequest
(*UpdatePlayerConfigResponse)(nil), // 26: stream.app.v1.UpdatePlayerConfigResponse
(*DeletePlayerConfigRequest)(nil), // 27: stream.app.v1.DeletePlayerConfigRequest
(*ListPlansRequest)(nil), // 28: stream.app.v1.ListPlansRequest
(*ListPlansResponse)(nil), // 29: stream.app.v1.ListPlansResponse
(*Domain)(nil), // 30: stream.app.v1.Domain
(*AdTemplate)(nil), // 31: stream.app.v1.AdTemplate
(*PopupAd)(nil), // 32: stream.app.v1.PopupAd
(*PlayerConfig)(nil), // 33: stream.app.v1.PlayerConfig
(*Plan)(nil), // 34: stream.app.v1.Plan
(*MessageResponse)(nil), // 35: stream.app.v1.MessageResponse
}
var file_app_v1_catalog_proto_depIdxs = []int32{
30, // 0: stream.app.v1.ListDomainsResponse.domains:type_name -> stream.app.v1.Domain
30, // 1: stream.app.v1.CreateDomainResponse.domain:type_name -> stream.app.v1.Domain
31, // 2: stream.app.v1.ListAdTemplatesResponse.templates:type_name -> stream.app.v1.AdTemplate
31, // 3: stream.app.v1.CreateAdTemplateResponse.template:type_name -> stream.app.v1.AdTemplate
31, // 4: stream.app.v1.UpdateAdTemplateResponse.template:type_name -> stream.app.v1.AdTemplate
32, // 5: stream.app.v1.ListPopupAdsResponse.items:type_name -> stream.app.v1.PopupAd
32, // 6: stream.app.v1.CreatePopupAdResponse.item:type_name -> stream.app.v1.PopupAd
32, // 7: stream.app.v1.UpdatePopupAdResponse.item:type_name -> stream.app.v1.PopupAd
32, // 8: stream.app.v1.GetActivePopupAdResponse.item:type_name -> stream.app.v1.PopupAd
33, // 9: stream.app.v1.ListPlayerConfigsResponse.configs:type_name -> stream.app.v1.PlayerConfig
33, // 10: stream.app.v1.CreatePlayerConfigResponse.config:type_name -> stream.app.v1.PlayerConfig
33, // 11: stream.app.v1.UpdatePlayerConfigResponse.config:type_name -> stream.app.v1.PlayerConfig
34, // 12: stream.app.v1.ListPlansResponse.plans:type_name -> stream.app.v1.Plan
0, // 13: stream.app.v1.Domains.ListDomains:input_type -> stream.app.v1.ListDomainsRequest
2, // 14: stream.app.v1.Domains.CreateDomain:input_type -> stream.app.v1.CreateDomainRequest
4, // 15: stream.app.v1.Domains.DeleteDomain:input_type -> stream.app.v1.DeleteDomainRequest
5, // 16: stream.app.v1.AdTemplates.ListAdTemplates:input_type -> stream.app.v1.ListAdTemplatesRequest
7, // 17: stream.app.v1.AdTemplates.CreateAdTemplate:input_type -> stream.app.v1.CreateAdTemplateRequest
9, // 18: stream.app.v1.AdTemplates.UpdateAdTemplate:input_type -> stream.app.v1.UpdateAdTemplateRequest
11, // 19: stream.app.v1.AdTemplates.DeleteAdTemplate:input_type -> stream.app.v1.DeleteAdTemplateRequest
12, // 20: stream.app.v1.PopupAds.ListPopupAds:input_type -> stream.app.v1.ListPopupAdsRequest
14, // 21: stream.app.v1.PopupAds.CreatePopupAd:input_type -> stream.app.v1.CreatePopupAdRequest
16, // 22: stream.app.v1.PopupAds.UpdatePopupAd:input_type -> stream.app.v1.UpdatePopupAdRequest
18, // 23: stream.app.v1.PopupAds.DeletePopupAd:input_type -> stream.app.v1.DeletePopupAdRequest
19, // 24: stream.app.v1.PopupAds.GetActivePopupAd:input_type -> stream.app.v1.GetActivePopupAdRequest
21, // 25: stream.app.v1.PlayerConfigs.ListPlayerConfigs:input_type -> stream.app.v1.ListPlayerConfigsRequest
23, // 26: stream.app.v1.PlayerConfigs.CreatePlayerConfig:input_type -> stream.app.v1.CreatePlayerConfigRequest
25, // 27: stream.app.v1.PlayerConfigs.UpdatePlayerConfig:input_type -> stream.app.v1.UpdatePlayerConfigRequest
27, // 28: stream.app.v1.PlayerConfigs.DeletePlayerConfig:input_type -> stream.app.v1.DeletePlayerConfigRequest
28, // 29: stream.app.v1.Plans.ListPlans:input_type -> stream.app.v1.ListPlansRequest
1, // 30: stream.app.v1.Domains.ListDomains:output_type -> stream.app.v1.ListDomainsResponse
3, // 31: stream.app.v1.Domains.CreateDomain:output_type -> stream.app.v1.CreateDomainResponse
35, // 32: stream.app.v1.Domains.DeleteDomain:output_type -> stream.app.v1.MessageResponse
6, // 33: stream.app.v1.AdTemplates.ListAdTemplates:output_type -> stream.app.v1.ListAdTemplatesResponse
8, // 34: stream.app.v1.AdTemplates.CreateAdTemplate:output_type -> stream.app.v1.CreateAdTemplateResponse
10, // 35: stream.app.v1.AdTemplates.UpdateAdTemplate:output_type -> stream.app.v1.UpdateAdTemplateResponse
35, // 36: stream.app.v1.AdTemplates.DeleteAdTemplate:output_type -> stream.app.v1.MessageResponse
13, // 37: stream.app.v1.PopupAds.ListPopupAds:output_type -> stream.app.v1.ListPopupAdsResponse
15, // 38: stream.app.v1.PopupAds.CreatePopupAd:output_type -> stream.app.v1.CreatePopupAdResponse
17, // 39: stream.app.v1.PopupAds.UpdatePopupAd:output_type -> stream.app.v1.UpdatePopupAdResponse
35, // 40: stream.app.v1.PopupAds.DeletePopupAd:output_type -> stream.app.v1.MessageResponse
20, // 41: stream.app.v1.PopupAds.GetActivePopupAd:output_type -> stream.app.v1.GetActivePopupAdResponse
22, // 42: stream.app.v1.PlayerConfigs.ListPlayerConfigs:output_type -> stream.app.v1.ListPlayerConfigsResponse
24, // 43: stream.app.v1.PlayerConfigs.CreatePlayerConfig:output_type -> stream.app.v1.CreatePlayerConfigResponse
26, // 44: stream.app.v1.PlayerConfigs.UpdatePlayerConfig:output_type -> stream.app.v1.UpdatePlayerConfigResponse
35, // 45: stream.app.v1.PlayerConfigs.DeletePlayerConfig:output_type -> stream.app.v1.MessageResponse
29, // 46: stream.app.v1.Plans.ListPlans:output_type -> stream.app.v1.ListPlansResponse
30, // [30:47] is the sub-list for method output_type
13, // [13:30] is the sub-list for method input_type
13, // [13:13] is the sub-list for extension type_name
13, // [13:13] is the sub-list for extension extendee
0, // [0:13] is the sub-list for field type_name
}
func init() { file_app_v1_catalog_proto_init() }
func file_app_v1_catalog_proto_init() {
if File_app_v1_catalog_proto != nil {
return
}
file_app_v1_common_proto_init()
file_app_v1_catalog_proto_msgTypes[7].OneofWrappers = []any{}
file_app_v1_catalog_proto_msgTypes[9].OneofWrappers = []any{}
file_app_v1_catalog_proto_msgTypes[14].OneofWrappers = []any{}
file_app_v1_catalog_proto_msgTypes[16].OneofWrappers = []any{}
file_app_v1_catalog_proto_msgTypes[20].OneofWrappers = []any{}
file_app_v1_catalog_proto_msgTypes[23].OneofWrappers = []any{}
file_app_v1_catalog_proto_msgTypes[25].OneofWrappers = []any{}
type x struct{}
out := protoimpl.TypeBuilder{
File: protoimpl.DescBuilder{
GoPackagePath: reflect.TypeOf(x{}).PkgPath(),
RawDescriptor: unsafe.Slice(unsafe.StringData(file_app_v1_catalog_proto_rawDesc), len(file_app_v1_catalog_proto_rawDesc)),
NumEnums: 0,
NumMessages: 30,
NumExtensions: 0,
NumServices: 5,
},
GoTypes: file_app_v1_catalog_proto_goTypes,
DependencyIndexes: file_app_v1_catalog_proto_depIdxs,
MessageInfos: file_app_v1_catalog_proto_msgTypes,
}.Build()
File_app_v1_catalog_proto = out.File
file_app_v1_catalog_proto_goTypes = nil
file_app_v1_catalog_proto_depIdxs = nil
}