1247 lines
40 KiB
Go
1247 lines
40 KiB
Go
// Code generated by protoc-gen-go. DO NOT EDIT.
|
|
// versions:
|
|
// protoc-gen-go v1.36.10
|
|
// protoc v6.33.1
|
|
// source: publisher.proto
|
|
|
|
package gen
|
|
|
|
import (
|
|
protoreflect "google.golang.org/protobuf/reflect/protoreflect"
|
|
protoimpl "google.golang.org/protobuf/runtime/protoimpl"
|
|
timestamppb "google.golang.org/protobuf/types/known/timestamppb"
|
|
wrapperspb "google.golang.org/protobuf/types/known/wrapperspb"
|
|
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 PublisherType int32
|
|
|
|
const (
|
|
PublisherType_PUBLISHER_TYPE_UNSPECIFIED PublisherType = 0
|
|
PublisherType_PUB_INDIVIDUAL PublisherType = 1
|
|
PublisherType_PUB_ORGANIZATIONAL PublisherType = 2
|
|
)
|
|
|
|
// Enum value maps for PublisherType.
|
|
var (
|
|
PublisherType_name = map[int32]string{
|
|
0: "PUBLISHER_TYPE_UNSPECIFIED",
|
|
1: "PUB_INDIVIDUAL",
|
|
2: "PUB_ORGANIZATIONAL",
|
|
}
|
|
PublisherType_value = map[string]int32{
|
|
"PUBLISHER_TYPE_UNSPECIFIED": 0,
|
|
"PUB_INDIVIDUAL": 1,
|
|
"PUB_ORGANIZATIONAL": 2,
|
|
}
|
|
)
|
|
|
|
func (x PublisherType) Enum() *PublisherType {
|
|
p := new(PublisherType)
|
|
*p = x
|
|
return p
|
|
}
|
|
|
|
func (x PublisherType) String() string {
|
|
return protoimpl.X.EnumStringOf(x.Descriptor(), protoreflect.EnumNumber(x))
|
|
}
|
|
|
|
func (PublisherType) Descriptor() protoreflect.EnumDescriptor {
|
|
return file_publisher_proto_enumTypes[0].Descriptor()
|
|
}
|
|
|
|
func (PublisherType) Type() protoreflect.EnumType {
|
|
return &file_publisher_proto_enumTypes[0]
|
|
}
|
|
|
|
func (x PublisherType) Number() protoreflect.EnumNumber {
|
|
return protoreflect.EnumNumber(x)
|
|
}
|
|
|
|
// Deprecated: Use PublisherType.Descriptor instead.
|
|
func (PublisherType) EnumDescriptor() ([]byte, []int) {
|
|
return file_publisher_proto_rawDescGZIP(), []int{0}
|
|
}
|
|
|
|
type PublisherMemberRole int32
|
|
|
|
const (
|
|
PublisherMemberRole_PUBLISHER_MEMBER_ROLE_UNSPECIFIED PublisherMemberRole = 0
|
|
PublisherMemberRole_OWNER PublisherMemberRole = 100
|
|
PublisherMemberRole_MANAGER PublisherMemberRole = 75
|
|
PublisherMemberRole_EDITOR PublisherMemberRole = 50
|
|
PublisherMemberRole_VIEWER PublisherMemberRole = 25
|
|
)
|
|
|
|
// Enum value maps for PublisherMemberRole.
|
|
var (
|
|
PublisherMemberRole_name = map[int32]string{
|
|
0: "PUBLISHER_MEMBER_ROLE_UNSPECIFIED",
|
|
100: "OWNER",
|
|
75: "MANAGER",
|
|
50: "EDITOR",
|
|
25: "VIEWER",
|
|
}
|
|
PublisherMemberRole_value = map[string]int32{
|
|
"PUBLISHER_MEMBER_ROLE_UNSPECIFIED": 0,
|
|
"OWNER": 100,
|
|
"MANAGER": 75,
|
|
"EDITOR": 50,
|
|
"VIEWER": 25,
|
|
}
|
|
)
|
|
|
|
func (x PublisherMemberRole) Enum() *PublisherMemberRole {
|
|
p := new(PublisherMemberRole)
|
|
*p = x
|
|
return p
|
|
}
|
|
|
|
func (x PublisherMemberRole) String() string {
|
|
return protoimpl.X.EnumStringOf(x.Descriptor(), protoreflect.EnumNumber(x))
|
|
}
|
|
|
|
func (PublisherMemberRole) Descriptor() protoreflect.EnumDescriptor {
|
|
return file_publisher_proto_enumTypes[1].Descriptor()
|
|
}
|
|
|
|
func (PublisherMemberRole) Type() protoreflect.EnumType {
|
|
return &file_publisher_proto_enumTypes[1]
|
|
}
|
|
|
|
func (x PublisherMemberRole) Number() protoreflect.EnumNumber {
|
|
return protoreflect.EnumNumber(x)
|
|
}
|
|
|
|
// Deprecated: Use PublisherMemberRole.Descriptor instead.
|
|
func (PublisherMemberRole) EnumDescriptor() ([]byte, []int) {
|
|
return file_publisher_proto_rawDescGZIP(), []int{1}
|
|
}
|
|
|
|
type PublisherFeature struct {
|
|
state protoimpl.MessageState `protogen:"open.v1"`
|
|
Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"`
|
|
Flag string `protobuf:"bytes,2,opt,name=flag,proto3" json:"flag,omitempty"`
|
|
ExpiredAt *timestamppb.Timestamp `protobuf:"bytes,3,opt,name=expired_at,json=expiredAt,proto3" json:"expired_at,omitempty"`
|
|
PublisherId string `protobuf:"bytes,4,opt,name=publisher_id,json=publisherId,proto3" json:"publisher_id,omitempty"`
|
|
CreatedAt *timestamppb.Timestamp `protobuf:"bytes,5,opt,name=created_at,json=createdAt,proto3" json:"created_at,omitempty"`
|
|
UpdatedAt *timestamppb.Timestamp `protobuf:"bytes,6,opt,name=updated_at,json=updatedAt,proto3" json:"updated_at,omitempty"`
|
|
unknownFields protoimpl.UnknownFields
|
|
sizeCache protoimpl.SizeCache
|
|
}
|
|
|
|
func (x *PublisherFeature) Reset() {
|
|
*x = PublisherFeature{}
|
|
mi := &file_publisher_proto_msgTypes[0]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
|
|
func (x *PublisherFeature) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*PublisherFeature) ProtoMessage() {}
|
|
|
|
func (x *PublisherFeature) ProtoReflect() protoreflect.Message {
|
|
mi := &file_publisher_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 PublisherFeature.ProtoReflect.Descriptor instead.
|
|
func (*PublisherFeature) Descriptor() ([]byte, []int) {
|
|
return file_publisher_proto_rawDescGZIP(), []int{0}
|
|
}
|
|
|
|
func (x *PublisherFeature) GetId() string {
|
|
if x != nil {
|
|
return x.Id
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (x *PublisherFeature) GetFlag() string {
|
|
if x != nil {
|
|
return x.Flag
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (x *PublisherFeature) GetExpiredAt() *timestamppb.Timestamp {
|
|
if x != nil {
|
|
return x.ExpiredAt
|
|
}
|
|
return nil
|
|
}
|
|
|
|
func (x *PublisherFeature) GetPublisherId() string {
|
|
if x != nil {
|
|
return x.PublisherId
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (x *PublisherFeature) GetCreatedAt() *timestamppb.Timestamp {
|
|
if x != nil {
|
|
return x.CreatedAt
|
|
}
|
|
return nil
|
|
}
|
|
|
|
func (x *PublisherFeature) GetUpdatedAt() *timestamppb.Timestamp {
|
|
if x != nil {
|
|
return x.UpdatedAt
|
|
}
|
|
return nil
|
|
}
|
|
|
|
type PublisherMember struct {
|
|
state protoimpl.MessageState `protogen:"open.v1"`
|
|
PublisherId string `protobuf:"bytes,1,opt,name=publisher_id,json=publisherId,proto3" json:"publisher_id,omitempty"`
|
|
AccountId string `protobuf:"bytes,2,opt,name=account_id,json=accountId,proto3" json:"account_id,omitempty"`
|
|
Role PublisherMemberRole `protobuf:"varint,3,opt,name=role,proto3,enum=proto.PublisherMemberRole" json:"role,omitempty"`
|
|
JoinedAt *timestamppb.Timestamp `protobuf:"bytes,4,opt,name=joined_at,json=joinedAt,proto3" json:"joined_at,omitempty"`
|
|
CreatedAt *timestamppb.Timestamp `protobuf:"bytes,5,opt,name=created_at,json=createdAt,proto3" json:"created_at,omitempty"`
|
|
UpdatedAt *timestamppb.Timestamp `protobuf:"bytes,6,opt,name=updated_at,json=updatedAt,proto3" json:"updated_at,omitempty"`
|
|
unknownFields protoimpl.UnknownFields
|
|
sizeCache protoimpl.SizeCache
|
|
}
|
|
|
|
func (x *PublisherMember) Reset() {
|
|
*x = PublisherMember{}
|
|
mi := &file_publisher_proto_msgTypes[1]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
|
|
func (x *PublisherMember) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*PublisherMember) ProtoMessage() {}
|
|
|
|
func (x *PublisherMember) ProtoReflect() protoreflect.Message {
|
|
mi := &file_publisher_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 PublisherMember.ProtoReflect.Descriptor instead.
|
|
func (*PublisherMember) Descriptor() ([]byte, []int) {
|
|
return file_publisher_proto_rawDescGZIP(), []int{1}
|
|
}
|
|
|
|
func (x *PublisherMember) GetPublisherId() string {
|
|
if x != nil {
|
|
return x.PublisherId
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (x *PublisherMember) GetAccountId() string {
|
|
if x != nil {
|
|
return x.AccountId
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (x *PublisherMember) GetRole() PublisherMemberRole {
|
|
if x != nil {
|
|
return x.Role
|
|
}
|
|
return PublisherMemberRole_PUBLISHER_MEMBER_ROLE_UNSPECIFIED
|
|
}
|
|
|
|
func (x *PublisherMember) GetJoinedAt() *timestamppb.Timestamp {
|
|
if x != nil {
|
|
return x.JoinedAt
|
|
}
|
|
return nil
|
|
}
|
|
|
|
func (x *PublisherMember) GetCreatedAt() *timestamppb.Timestamp {
|
|
if x != nil {
|
|
return x.CreatedAt
|
|
}
|
|
return nil
|
|
}
|
|
|
|
func (x *PublisherMember) GetUpdatedAt() *timestamppb.Timestamp {
|
|
if x != nil {
|
|
return x.UpdatedAt
|
|
}
|
|
return nil
|
|
}
|
|
|
|
type Publisher struct {
|
|
state protoimpl.MessageState `protogen:"open.v1"`
|
|
Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"`
|
|
Type PublisherType `protobuf:"varint,2,opt,name=type,proto3,enum=proto.PublisherType" json:"type,omitempty"`
|
|
Name string `protobuf:"bytes,3,opt,name=name,proto3" json:"name,omitempty"`
|
|
Nick string `protobuf:"bytes,4,opt,name=nick,proto3" json:"nick,omitempty"`
|
|
Bio *wrapperspb.StringValue `protobuf:"bytes,5,opt,name=bio,proto3" json:"bio,omitempty"`
|
|
Picture *CloudFile `protobuf:"bytes,8,opt,name=picture,proto3" json:"picture,omitempty"`
|
|
Background *CloudFile `protobuf:"bytes,9,opt,name=background,proto3" json:"background,omitempty"`
|
|
VerificationMark *VerificationMark `protobuf:"bytes,10,opt,name=verification_mark,json=verificationMark,proto3,oneof" json:"verification_mark,omitempty"`
|
|
AccountId string `protobuf:"bytes,11,opt,name=account_id,json=accountId,proto3" json:"account_id,omitempty"`
|
|
RealmId *string `protobuf:"bytes,12,opt,name=realm_id,json=realmId,proto3,oneof" json:"realm_id,omitempty"`
|
|
CreatedAt *timestamppb.Timestamp `protobuf:"bytes,13,opt,name=created_at,json=createdAt,proto3" json:"created_at,omitempty"`
|
|
UpdatedAt *timestamppb.Timestamp `protobuf:"bytes,14,opt,name=updated_at,json=updatedAt,proto3" json:"updated_at,omitempty"`
|
|
unknownFields protoimpl.UnknownFields
|
|
sizeCache protoimpl.SizeCache
|
|
}
|
|
|
|
func (x *Publisher) Reset() {
|
|
*x = Publisher{}
|
|
mi := &file_publisher_proto_msgTypes[2]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
|
|
func (x *Publisher) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*Publisher) ProtoMessage() {}
|
|
|
|
func (x *Publisher) ProtoReflect() protoreflect.Message {
|
|
mi := &file_publisher_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 Publisher.ProtoReflect.Descriptor instead.
|
|
func (*Publisher) Descriptor() ([]byte, []int) {
|
|
return file_publisher_proto_rawDescGZIP(), []int{2}
|
|
}
|
|
|
|
func (x *Publisher) GetId() string {
|
|
if x != nil {
|
|
return x.Id
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (x *Publisher) GetType() PublisherType {
|
|
if x != nil {
|
|
return x.Type
|
|
}
|
|
return PublisherType_PUBLISHER_TYPE_UNSPECIFIED
|
|
}
|
|
|
|
func (x *Publisher) GetName() string {
|
|
if x != nil {
|
|
return x.Name
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (x *Publisher) GetNick() string {
|
|
if x != nil {
|
|
return x.Nick
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (x *Publisher) GetBio() *wrapperspb.StringValue {
|
|
if x != nil {
|
|
return x.Bio
|
|
}
|
|
return nil
|
|
}
|
|
|
|
func (x *Publisher) GetPicture() *CloudFile {
|
|
if x != nil {
|
|
return x.Picture
|
|
}
|
|
return nil
|
|
}
|
|
|
|
func (x *Publisher) GetBackground() *CloudFile {
|
|
if x != nil {
|
|
return x.Background
|
|
}
|
|
return nil
|
|
}
|
|
|
|
func (x *Publisher) GetVerificationMark() *VerificationMark {
|
|
if x != nil {
|
|
return x.VerificationMark
|
|
}
|
|
return nil
|
|
}
|
|
|
|
func (x *Publisher) GetAccountId() string {
|
|
if x != nil {
|
|
return x.AccountId
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (x *Publisher) GetRealmId() string {
|
|
if x != nil && x.RealmId != nil {
|
|
return *x.RealmId
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (x *Publisher) GetCreatedAt() *timestamppb.Timestamp {
|
|
if x != nil {
|
|
return x.CreatedAt
|
|
}
|
|
return nil
|
|
}
|
|
|
|
func (x *Publisher) GetUpdatedAt() *timestamppb.Timestamp {
|
|
if x != nil {
|
|
return x.UpdatedAt
|
|
}
|
|
return nil
|
|
}
|
|
|
|
type GetPublisherRequest struct {
|
|
state protoimpl.MessageState `protogen:"open.v1"`
|
|
// Types that are valid to be assigned to Query:
|
|
//
|
|
// *GetPublisherRequest_Name
|
|
// *GetPublisherRequest_Id
|
|
Query isGetPublisherRequest_Query `protobuf_oneof:"query"`
|
|
unknownFields protoimpl.UnknownFields
|
|
sizeCache protoimpl.SizeCache
|
|
}
|
|
|
|
func (x *GetPublisherRequest) Reset() {
|
|
*x = GetPublisherRequest{}
|
|
mi := &file_publisher_proto_msgTypes[3]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
|
|
func (x *GetPublisherRequest) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*GetPublisherRequest) ProtoMessage() {}
|
|
|
|
func (x *GetPublisherRequest) ProtoReflect() protoreflect.Message {
|
|
mi := &file_publisher_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 GetPublisherRequest.ProtoReflect.Descriptor instead.
|
|
func (*GetPublisherRequest) Descriptor() ([]byte, []int) {
|
|
return file_publisher_proto_rawDescGZIP(), []int{3}
|
|
}
|
|
|
|
func (x *GetPublisherRequest) GetQuery() isGetPublisherRequest_Query {
|
|
if x != nil {
|
|
return x.Query
|
|
}
|
|
return nil
|
|
}
|
|
|
|
func (x *GetPublisherRequest) GetName() string {
|
|
if x != nil {
|
|
if x, ok := x.Query.(*GetPublisherRequest_Name); ok {
|
|
return x.Name
|
|
}
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (x *GetPublisherRequest) GetId() string {
|
|
if x != nil {
|
|
if x, ok := x.Query.(*GetPublisherRequest_Id); ok {
|
|
return x.Id
|
|
}
|
|
}
|
|
return ""
|
|
}
|
|
|
|
type isGetPublisherRequest_Query interface {
|
|
isGetPublisherRequest_Query()
|
|
}
|
|
|
|
type GetPublisherRequest_Name struct {
|
|
Name string `protobuf:"bytes,1,opt,name=name,proto3,oneof"`
|
|
}
|
|
|
|
type GetPublisherRequest_Id struct {
|
|
Id string `protobuf:"bytes,2,opt,name=id,proto3,oneof"`
|
|
}
|
|
|
|
func (*GetPublisherRequest_Name) isGetPublisherRequest_Query() {}
|
|
|
|
func (*GetPublisherRequest_Id) isGetPublisherRequest_Query() {}
|
|
|
|
type GetPublisherResponse struct {
|
|
state protoimpl.MessageState `protogen:"open.v1"`
|
|
Publisher *Publisher `protobuf:"bytes,1,opt,name=publisher,proto3" json:"publisher,omitempty"`
|
|
unknownFields protoimpl.UnknownFields
|
|
sizeCache protoimpl.SizeCache
|
|
}
|
|
|
|
func (x *GetPublisherResponse) Reset() {
|
|
*x = GetPublisherResponse{}
|
|
mi := &file_publisher_proto_msgTypes[4]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
|
|
func (x *GetPublisherResponse) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*GetPublisherResponse) ProtoMessage() {}
|
|
|
|
func (x *GetPublisherResponse) ProtoReflect() protoreflect.Message {
|
|
mi := &file_publisher_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 GetPublisherResponse.ProtoReflect.Descriptor instead.
|
|
func (*GetPublisherResponse) Descriptor() ([]byte, []int) {
|
|
return file_publisher_proto_rawDescGZIP(), []int{4}
|
|
}
|
|
|
|
func (x *GetPublisherResponse) GetPublisher() *Publisher {
|
|
if x != nil {
|
|
return x.Publisher
|
|
}
|
|
return nil
|
|
}
|
|
|
|
type GetPublisherBatchRequest struct {
|
|
state protoimpl.MessageState `protogen:"open.v1"`
|
|
Ids []string `protobuf:"bytes,1,rep,name=ids,proto3" json:"ids,omitempty"`
|
|
unknownFields protoimpl.UnknownFields
|
|
sizeCache protoimpl.SizeCache
|
|
}
|
|
|
|
func (x *GetPublisherBatchRequest) Reset() {
|
|
*x = GetPublisherBatchRequest{}
|
|
mi := &file_publisher_proto_msgTypes[5]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
|
|
func (x *GetPublisherBatchRequest) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*GetPublisherBatchRequest) ProtoMessage() {}
|
|
|
|
func (x *GetPublisherBatchRequest) ProtoReflect() protoreflect.Message {
|
|
mi := &file_publisher_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 GetPublisherBatchRequest.ProtoReflect.Descriptor instead.
|
|
func (*GetPublisherBatchRequest) Descriptor() ([]byte, []int) {
|
|
return file_publisher_proto_rawDescGZIP(), []int{5}
|
|
}
|
|
|
|
func (x *GetPublisherBatchRequest) GetIds() []string {
|
|
if x != nil {
|
|
return x.Ids
|
|
}
|
|
return nil
|
|
}
|
|
|
|
type ListPublishersRequest struct {
|
|
state protoimpl.MessageState `protogen:"open.v1"`
|
|
AccountId string `protobuf:"bytes,1,opt,name=account_id,json=accountId,proto3" json:"account_id,omitempty"` // filter by owner/member account
|
|
RealmId string `protobuf:"bytes,2,opt,name=realm_id,json=realmId,proto3" json:"realm_id,omitempty"` // filter by realm
|
|
unknownFields protoimpl.UnknownFields
|
|
sizeCache protoimpl.SizeCache
|
|
}
|
|
|
|
func (x *ListPublishersRequest) Reset() {
|
|
*x = ListPublishersRequest{}
|
|
mi := &file_publisher_proto_msgTypes[6]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
|
|
func (x *ListPublishersRequest) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*ListPublishersRequest) ProtoMessage() {}
|
|
|
|
func (x *ListPublishersRequest) ProtoReflect() protoreflect.Message {
|
|
mi := &file_publisher_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 ListPublishersRequest.ProtoReflect.Descriptor instead.
|
|
func (*ListPublishersRequest) Descriptor() ([]byte, []int) {
|
|
return file_publisher_proto_rawDescGZIP(), []int{6}
|
|
}
|
|
|
|
func (x *ListPublishersRequest) GetAccountId() string {
|
|
if x != nil {
|
|
return x.AccountId
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (x *ListPublishersRequest) GetRealmId() string {
|
|
if x != nil {
|
|
return x.RealmId
|
|
}
|
|
return ""
|
|
}
|
|
|
|
type ListPublishersResponse struct {
|
|
state protoimpl.MessageState `protogen:"open.v1"`
|
|
Publishers []*Publisher `protobuf:"bytes,1,rep,name=publishers,proto3" json:"publishers,omitempty"`
|
|
unknownFields protoimpl.UnknownFields
|
|
sizeCache protoimpl.SizeCache
|
|
}
|
|
|
|
func (x *ListPublishersResponse) Reset() {
|
|
*x = ListPublishersResponse{}
|
|
mi := &file_publisher_proto_msgTypes[7]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
|
|
func (x *ListPublishersResponse) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*ListPublishersResponse) ProtoMessage() {}
|
|
|
|
func (x *ListPublishersResponse) ProtoReflect() protoreflect.Message {
|
|
mi := &file_publisher_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 ListPublishersResponse.ProtoReflect.Descriptor instead.
|
|
func (*ListPublishersResponse) Descriptor() ([]byte, []int) {
|
|
return file_publisher_proto_rawDescGZIP(), []int{7}
|
|
}
|
|
|
|
func (x *ListPublishersResponse) GetPublishers() []*Publisher {
|
|
if x != nil {
|
|
return x.Publishers
|
|
}
|
|
return nil
|
|
}
|
|
|
|
type ListPublisherMembersRequest struct {
|
|
state protoimpl.MessageState `protogen:"open.v1"`
|
|
PublisherId string `protobuf:"bytes,1,opt,name=publisher_id,json=publisherId,proto3" json:"publisher_id,omitempty"`
|
|
unknownFields protoimpl.UnknownFields
|
|
sizeCache protoimpl.SizeCache
|
|
}
|
|
|
|
func (x *ListPublisherMembersRequest) Reset() {
|
|
*x = ListPublisherMembersRequest{}
|
|
mi := &file_publisher_proto_msgTypes[8]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
|
|
func (x *ListPublisherMembersRequest) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*ListPublisherMembersRequest) ProtoMessage() {}
|
|
|
|
func (x *ListPublisherMembersRequest) ProtoReflect() protoreflect.Message {
|
|
mi := &file_publisher_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 ListPublisherMembersRequest.ProtoReflect.Descriptor instead.
|
|
func (*ListPublisherMembersRequest) Descriptor() ([]byte, []int) {
|
|
return file_publisher_proto_rawDescGZIP(), []int{8}
|
|
}
|
|
|
|
func (x *ListPublisherMembersRequest) GetPublisherId() string {
|
|
if x != nil {
|
|
return x.PublisherId
|
|
}
|
|
return ""
|
|
}
|
|
|
|
type ListPublisherMembersResponse struct {
|
|
state protoimpl.MessageState `protogen:"open.v1"`
|
|
Members []*PublisherMember `protobuf:"bytes,1,rep,name=members,proto3" json:"members,omitempty"`
|
|
unknownFields protoimpl.UnknownFields
|
|
sizeCache protoimpl.SizeCache
|
|
}
|
|
|
|
func (x *ListPublisherMembersResponse) Reset() {
|
|
*x = ListPublisherMembersResponse{}
|
|
mi := &file_publisher_proto_msgTypes[9]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
|
|
func (x *ListPublisherMembersResponse) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*ListPublisherMembersResponse) ProtoMessage() {}
|
|
|
|
func (x *ListPublisherMembersResponse) ProtoReflect() protoreflect.Message {
|
|
mi := &file_publisher_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 ListPublisherMembersResponse.ProtoReflect.Descriptor instead.
|
|
func (*ListPublisherMembersResponse) Descriptor() ([]byte, []int) {
|
|
return file_publisher_proto_rawDescGZIP(), []int{9}
|
|
}
|
|
|
|
func (x *ListPublisherMembersResponse) GetMembers() []*PublisherMember {
|
|
if x != nil {
|
|
return x.Members
|
|
}
|
|
return nil
|
|
}
|
|
|
|
type SetPublisherFeatureFlagRequest struct {
|
|
state protoimpl.MessageState `protogen:"open.v1"`
|
|
PublisherId string `protobuf:"bytes,1,opt,name=publisher_id,json=publisherId,proto3" json:"publisher_id,omitempty"`
|
|
Flag string `protobuf:"bytes,2,opt,name=flag,proto3" json:"flag,omitempty"`
|
|
unknownFields protoimpl.UnknownFields
|
|
sizeCache protoimpl.SizeCache
|
|
}
|
|
|
|
func (x *SetPublisherFeatureFlagRequest) Reset() {
|
|
*x = SetPublisherFeatureFlagRequest{}
|
|
mi := &file_publisher_proto_msgTypes[10]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
|
|
func (x *SetPublisherFeatureFlagRequest) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*SetPublisherFeatureFlagRequest) ProtoMessage() {}
|
|
|
|
func (x *SetPublisherFeatureFlagRequest) ProtoReflect() protoreflect.Message {
|
|
mi := &file_publisher_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 SetPublisherFeatureFlagRequest.ProtoReflect.Descriptor instead.
|
|
func (*SetPublisherFeatureFlagRequest) Descriptor() ([]byte, []int) {
|
|
return file_publisher_proto_rawDescGZIP(), []int{10}
|
|
}
|
|
|
|
func (x *SetPublisherFeatureFlagRequest) GetPublisherId() string {
|
|
if x != nil {
|
|
return x.PublisherId
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (x *SetPublisherFeatureFlagRequest) GetFlag() string {
|
|
if x != nil {
|
|
return x.Flag
|
|
}
|
|
return ""
|
|
}
|
|
|
|
type HasPublisherFeatureRequest struct {
|
|
state protoimpl.MessageState `protogen:"open.v1"`
|
|
PublisherId string `protobuf:"bytes,1,opt,name=publisher_id,json=publisherId,proto3" json:"publisher_id,omitempty"`
|
|
Flag string `protobuf:"bytes,2,opt,name=flag,proto3" json:"flag,omitempty"`
|
|
unknownFields protoimpl.UnknownFields
|
|
sizeCache protoimpl.SizeCache
|
|
}
|
|
|
|
func (x *HasPublisherFeatureRequest) Reset() {
|
|
*x = HasPublisherFeatureRequest{}
|
|
mi := &file_publisher_proto_msgTypes[11]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
|
|
func (x *HasPublisherFeatureRequest) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*HasPublisherFeatureRequest) ProtoMessage() {}
|
|
|
|
func (x *HasPublisherFeatureRequest) ProtoReflect() protoreflect.Message {
|
|
mi := &file_publisher_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 HasPublisherFeatureRequest.ProtoReflect.Descriptor instead.
|
|
func (*HasPublisherFeatureRequest) Descriptor() ([]byte, []int) {
|
|
return file_publisher_proto_rawDescGZIP(), []int{11}
|
|
}
|
|
|
|
func (x *HasPublisherFeatureRequest) GetPublisherId() string {
|
|
if x != nil {
|
|
return x.PublisherId
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (x *HasPublisherFeatureRequest) GetFlag() string {
|
|
if x != nil {
|
|
return x.Flag
|
|
}
|
|
return ""
|
|
}
|
|
|
|
type HasPublisherFeatureResponse struct {
|
|
state protoimpl.MessageState `protogen:"open.v1"`
|
|
Enabled bool `protobuf:"varint,1,opt,name=enabled,proto3" json:"enabled,omitempty"`
|
|
unknownFields protoimpl.UnknownFields
|
|
sizeCache protoimpl.SizeCache
|
|
}
|
|
|
|
func (x *HasPublisherFeatureResponse) Reset() {
|
|
*x = HasPublisherFeatureResponse{}
|
|
mi := &file_publisher_proto_msgTypes[12]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
|
|
func (x *HasPublisherFeatureResponse) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*HasPublisherFeatureResponse) ProtoMessage() {}
|
|
|
|
func (x *HasPublisherFeatureResponse) ProtoReflect() protoreflect.Message {
|
|
mi := &file_publisher_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 HasPublisherFeatureResponse.ProtoReflect.Descriptor instead.
|
|
func (*HasPublisherFeatureResponse) Descriptor() ([]byte, []int) {
|
|
return file_publisher_proto_rawDescGZIP(), []int{12}
|
|
}
|
|
|
|
func (x *HasPublisherFeatureResponse) GetEnabled() bool {
|
|
if x != nil {
|
|
return x.Enabled
|
|
}
|
|
return false
|
|
}
|
|
|
|
type IsPublisherMemberRequest struct {
|
|
state protoimpl.MessageState `protogen:"open.v1"`
|
|
PublisherId string `protobuf:"bytes,1,opt,name=publisher_id,json=publisherId,proto3" json:"publisher_id,omitempty"`
|
|
AccountId string `protobuf:"bytes,2,opt,name=account_id,json=accountId,proto3" json:"account_id,omitempty"`
|
|
Role PublisherMemberRole `protobuf:"varint,3,opt,name=role,proto3,enum=proto.PublisherMemberRole" json:"role,omitempty"`
|
|
unknownFields protoimpl.UnknownFields
|
|
sizeCache protoimpl.SizeCache
|
|
}
|
|
|
|
func (x *IsPublisherMemberRequest) Reset() {
|
|
*x = IsPublisherMemberRequest{}
|
|
mi := &file_publisher_proto_msgTypes[13]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
|
|
func (x *IsPublisherMemberRequest) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*IsPublisherMemberRequest) ProtoMessage() {}
|
|
|
|
func (x *IsPublisherMemberRequest) ProtoReflect() protoreflect.Message {
|
|
mi := &file_publisher_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 IsPublisherMemberRequest.ProtoReflect.Descriptor instead.
|
|
func (*IsPublisherMemberRequest) Descriptor() ([]byte, []int) {
|
|
return file_publisher_proto_rawDescGZIP(), []int{13}
|
|
}
|
|
|
|
func (x *IsPublisherMemberRequest) GetPublisherId() string {
|
|
if x != nil {
|
|
return x.PublisherId
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (x *IsPublisherMemberRequest) GetAccountId() string {
|
|
if x != nil {
|
|
return x.AccountId
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (x *IsPublisherMemberRequest) GetRole() PublisherMemberRole {
|
|
if x != nil {
|
|
return x.Role
|
|
}
|
|
return PublisherMemberRole_PUBLISHER_MEMBER_ROLE_UNSPECIFIED
|
|
}
|
|
|
|
type IsPublisherMemberResponse struct {
|
|
state protoimpl.MessageState `protogen:"open.v1"`
|
|
Valid bool `protobuf:"varint,1,opt,name=valid,proto3" json:"valid,omitempty"`
|
|
unknownFields protoimpl.UnknownFields
|
|
sizeCache protoimpl.SizeCache
|
|
}
|
|
|
|
func (x *IsPublisherMemberResponse) Reset() {
|
|
*x = IsPublisherMemberResponse{}
|
|
mi := &file_publisher_proto_msgTypes[14]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
|
|
func (x *IsPublisherMemberResponse) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*IsPublisherMemberResponse) ProtoMessage() {}
|
|
|
|
func (x *IsPublisherMemberResponse) ProtoReflect() protoreflect.Message {
|
|
mi := &file_publisher_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 IsPublisherMemberResponse.ProtoReflect.Descriptor instead.
|
|
func (*IsPublisherMemberResponse) Descriptor() ([]byte, []int) {
|
|
return file_publisher_proto_rawDescGZIP(), []int{14}
|
|
}
|
|
|
|
func (x *IsPublisherMemberResponse) GetValid() bool {
|
|
if x != nil {
|
|
return x.Valid
|
|
}
|
|
return false
|
|
}
|
|
|
|
var File_publisher_proto protoreflect.FileDescriptor
|
|
|
|
const file_publisher_proto_rawDesc = "" +
|
|
"\n" +
|
|
"\x0fpublisher.proto\x12\x05proto\x1a\x1fgoogle/protobuf/timestamp.proto\x1a\x1egoogle/protobuf/wrappers.proto\x1a\n" +
|
|
"file.proto\x1a\raccount.proto\"\x8a\x02\n" +
|
|
"\x10PublisherFeature\x12\x0e\n" +
|
|
"\x02id\x18\x01 \x01(\tR\x02id\x12\x12\n" +
|
|
"\x04flag\x18\x02 \x01(\tR\x04flag\x129\n" +
|
|
"\n" +
|
|
"expired_at\x18\x03 \x01(\v2\x1a.google.protobuf.TimestampR\texpiredAt\x12!\n" +
|
|
"\fpublisher_id\x18\x04 \x01(\tR\vpublisherId\x129\n" +
|
|
"\n" +
|
|
"created_at\x18\x05 \x01(\v2\x1a.google.protobuf.TimestampR\tcreatedAt\x129\n" +
|
|
"\n" +
|
|
"updated_at\x18\x06 \x01(\v2\x1a.google.protobuf.TimestampR\tupdatedAt\"\xb2\x02\n" +
|
|
"\x0fPublisherMember\x12!\n" +
|
|
"\fpublisher_id\x18\x01 \x01(\tR\vpublisherId\x12\x1d\n" +
|
|
"\n" +
|
|
"account_id\x18\x02 \x01(\tR\taccountId\x12.\n" +
|
|
"\x04role\x18\x03 \x01(\x0e2\x1a.proto.PublisherMemberRoleR\x04role\x127\n" +
|
|
"\tjoined_at\x18\x04 \x01(\v2\x1a.google.protobuf.TimestampR\bjoinedAt\x129\n" +
|
|
"\n" +
|
|
"created_at\x18\x05 \x01(\v2\x1a.google.protobuf.TimestampR\tcreatedAt\x129\n" +
|
|
"\n" +
|
|
"updated_at\x18\x06 \x01(\v2\x1a.google.protobuf.TimestampR\tupdatedAt\"\x9e\x04\n" +
|
|
"\tPublisher\x12\x0e\n" +
|
|
"\x02id\x18\x01 \x01(\tR\x02id\x12(\n" +
|
|
"\x04type\x18\x02 \x01(\x0e2\x14.proto.PublisherTypeR\x04type\x12\x12\n" +
|
|
"\x04name\x18\x03 \x01(\tR\x04name\x12\x12\n" +
|
|
"\x04nick\x18\x04 \x01(\tR\x04nick\x12.\n" +
|
|
"\x03bio\x18\x05 \x01(\v2\x1c.google.protobuf.StringValueR\x03bio\x12*\n" +
|
|
"\apicture\x18\b \x01(\v2\x10.proto.CloudFileR\apicture\x120\n" +
|
|
"\n" +
|
|
"background\x18\t \x01(\v2\x10.proto.CloudFileR\n" +
|
|
"background\x12I\n" +
|
|
"\x11verification_mark\x18\n" +
|
|
" \x01(\v2\x17.proto.VerificationMarkH\x00R\x10verificationMark\x88\x01\x01\x12\x1d\n" +
|
|
"\n" +
|
|
"account_id\x18\v \x01(\tR\taccountId\x12\x1e\n" +
|
|
"\brealm_id\x18\f \x01(\tH\x01R\arealmId\x88\x01\x01\x129\n" +
|
|
"\n" +
|
|
"created_at\x18\r \x01(\v2\x1a.google.protobuf.TimestampR\tcreatedAt\x129\n" +
|
|
"\n" +
|
|
"updated_at\x18\x0e \x01(\v2\x1a.google.protobuf.TimestampR\tupdatedAtB\x14\n" +
|
|
"\x12_verification_markB\v\n" +
|
|
"\t_realm_id\"F\n" +
|
|
"\x13GetPublisherRequest\x12\x14\n" +
|
|
"\x04name\x18\x01 \x01(\tH\x00R\x04name\x12\x10\n" +
|
|
"\x02id\x18\x02 \x01(\tH\x00R\x02idB\a\n" +
|
|
"\x05query\"F\n" +
|
|
"\x14GetPublisherResponse\x12.\n" +
|
|
"\tpublisher\x18\x01 \x01(\v2\x10.proto.PublisherR\tpublisher\",\n" +
|
|
"\x18GetPublisherBatchRequest\x12\x10\n" +
|
|
"\x03ids\x18\x01 \x03(\tR\x03ids\"Q\n" +
|
|
"\x15ListPublishersRequest\x12\x1d\n" +
|
|
"\n" +
|
|
"account_id\x18\x01 \x01(\tR\taccountId\x12\x19\n" +
|
|
"\brealm_id\x18\x02 \x01(\tR\arealmId\"J\n" +
|
|
"\x16ListPublishersResponse\x120\n" +
|
|
"\n" +
|
|
"publishers\x18\x01 \x03(\v2\x10.proto.PublisherR\n" +
|
|
"publishers\"@\n" +
|
|
"\x1bListPublisherMembersRequest\x12!\n" +
|
|
"\fpublisher_id\x18\x01 \x01(\tR\vpublisherId\"P\n" +
|
|
"\x1cListPublisherMembersResponse\x120\n" +
|
|
"\amembers\x18\x01 \x03(\v2\x16.proto.PublisherMemberR\amembers\"W\n" +
|
|
"\x1eSetPublisherFeatureFlagRequest\x12!\n" +
|
|
"\fpublisher_id\x18\x01 \x01(\tR\vpublisherId\x12\x12\n" +
|
|
"\x04flag\x18\x02 \x01(\tR\x04flag\"S\n" +
|
|
"\x1aHasPublisherFeatureRequest\x12!\n" +
|
|
"\fpublisher_id\x18\x01 \x01(\tR\vpublisherId\x12\x12\n" +
|
|
"\x04flag\x18\x02 \x01(\tR\x04flag\"7\n" +
|
|
"\x1bHasPublisherFeatureResponse\x12\x18\n" +
|
|
"\aenabled\x18\x01 \x01(\bR\aenabled\"\x8c\x01\n" +
|
|
"\x18IsPublisherMemberRequest\x12!\n" +
|
|
"\fpublisher_id\x18\x01 \x01(\tR\vpublisherId\x12\x1d\n" +
|
|
"\n" +
|
|
"account_id\x18\x02 \x01(\tR\taccountId\x12.\n" +
|
|
"\x04role\x18\x03 \x01(\x0e2\x1a.proto.PublisherMemberRoleR\x04role\"1\n" +
|
|
"\x19IsPublisherMemberResponse\x12\x14\n" +
|
|
"\x05valid\x18\x01 \x01(\bR\x05valid*[\n" +
|
|
"\rPublisherType\x12\x1e\n" +
|
|
"\x1aPUBLISHER_TYPE_UNSPECIFIED\x10\x00\x12\x12\n" +
|
|
"\x0ePUB_INDIVIDUAL\x10\x01\x12\x16\n" +
|
|
"\x12PUB_ORGANIZATIONAL\x10\x02*l\n" +
|
|
"\x13PublisherMemberRole\x12%\n" +
|
|
"!PUBLISHER_MEMBER_ROLE_UNSPECIFIED\x10\x00\x12\t\n" +
|
|
"\x05OWNER\x10d\x12\v\n" +
|
|
"\aMANAGER\x10K\x12\n" +
|
|
"\n" +
|
|
"\x06EDITOR\x102\x12\n" +
|
|
"\n" +
|
|
"\x06VIEWER\x10\x192\xf6\x04\n" +
|
|
"\x10PublisherService\x12G\n" +
|
|
"\fGetPublisher\x12\x1a.proto.GetPublisherRequest\x1a\x1b.proto.GetPublisherResponse\x12S\n" +
|
|
"\x11GetPublisherBatch\x12\x1f.proto.GetPublisherBatchRequest\x1a\x1d.proto.ListPublishersResponse\x12M\n" +
|
|
"\x0eListPublishers\x12\x1c.proto.ListPublishersRequest\x1a\x1d.proto.ListPublishersResponse\x12_\n" +
|
|
"\x14ListPublisherMembers\x12\".proto.ListPublisherMembersRequest\x1a#.proto.ListPublisherMembersResponse\x12^\n" +
|
|
"\x17SetPublisherFeatureFlag\x12%.proto.SetPublisherFeatureFlagRequest\x1a\x1c.google.protobuf.StringValue\x12\\\n" +
|
|
"\x13HasPublisherFeature\x12!.proto.HasPublisherFeatureRequest\x1a\".proto.HasPublisherFeatureResponse\x12V\n" +
|
|
"\x11IsPublisherMember\x12\x1f.proto.IsPublisherMemberRequest\x1a .proto.IsPublisherMemberResponseBUZ7git.solsynth.dev/goatworks/turbine/pkg/shared/proto/gen\xaa\x02\x19DysonNetwork.Shared.Protob\x06proto3"
|
|
|
|
var (
|
|
file_publisher_proto_rawDescOnce sync.Once
|
|
file_publisher_proto_rawDescData []byte
|
|
)
|
|
|
|
func file_publisher_proto_rawDescGZIP() []byte {
|
|
file_publisher_proto_rawDescOnce.Do(func() {
|
|
file_publisher_proto_rawDescData = protoimpl.X.CompressGZIP(unsafe.Slice(unsafe.StringData(file_publisher_proto_rawDesc), len(file_publisher_proto_rawDesc)))
|
|
})
|
|
return file_publisher_proto_rawDescData
|
|
}
|
|
|
|
var file_publisher_proto_enumTypes = make([]protoimpl.EnumInfo, 2)
|
|
var file_publisher_proto_msgTypes = make([]protoimpl.MessageInfo, 15)
|
|
var file_publisher_proto_goTypes = []any{
|
|
(PublisherType)(0), // 0: proto.PublisherType
|
|
(PublisherMemberRole)(0), // 1: proto.PublisherMemberRole
|
|
(*PublisherFeature)(nil), // 2: proto.PublisherFeature
|
|
(*PublisherMember)(nil), // 3: proto.PublisherMember
|
|
(*Publisher)(nil), // 4: proto.Publisher
|
|
(*GetPublisherRequest)(nil), // 5: proto.GetPublisherRequest
|
|
(*GetPublisherResponse)(nil), // 6: proto.GetPublisherResponse
|
|
(*GetPublisherBatchRequest)(nil), // 7: proto.GetPublisherBatchRequest
|
|
(*ListPublishersRequest)(nil), // 8: proto.ListPublishersRequest
|
|
(*ListPublishersResponse)(nil), // 9: proto.ListPublishersResponse
|
|
(*ListPublisherMembersRequest)(nil), // 10: proto.ListPublisherMembersRequest
|
|
(*ListPublisherMembersResponse)(nil), // 11: proto.ListPublisherMembersResponse
|
|
(*SetPublisherFeatureFlagRequest)(nil), // 12: proto.SetPublisherFeatureFlagRequest
|
|
(*HasPublisherFeatureRequest)(nil), // 13: proto.HasPublisherFeatureRequest
|
|
(*HasPublisherFeatureResponse)(nil), // 14: proto.HasPublisherFeatureResponse
|
|
(*IsPublisherMemberRequest)(nil), // 15: proto.IsPublisherMemberRequest
|
|
(*IsPublisherMemberResponse)(nil), // 16: proto.IsPublisherMemberResponse
|
|
(*timestamppb.Timestamp)(nil), // 17: google.protobuf.Timestamp
|
|
(*wrapperspb.StringValue)(nil), // 18: google.protobuf.StringValue
|
|
(*CloudFile)(nil), // 19: proto.CloudFile
|
|
(*VerificationMark)(nil), // 20: proto.VerificationMark
|
|
}
|
|
var file_publisher_proto_depIdxs = []int32{
|
|
17, // 0: proto.PublisherFeature.expired_at:type_name -> google.protobuf.Timestamp
|
|
17, // 1: proto.PublisherFeature.created_at:type_name -> google.protobuf.Timestamp
|
|
17, // 2: proto.PublisherFeature.updated_at:type_name -> google.protobuf.Timestamp
|
|
1, // 3: proto.PublisherMember.role:type_name -> proto.PublisherMemberRole
|
|
17, // 4: proto.PublisherMember.joined_at:type_name -> google.protobuf.Timestamp
|
|
17, // 5: proto.PublisherMember.created_at:type_name -> google.protobuf.Timestamp
|
|
17, // 6: proto.PublisherMember.updated_at:type_name -> google.protobuf.Timestamp
|
|
0, // 7: proto.Publisher.type:type_name -> proto.PublisherType
|
|
18, // 8: proto.Publisher.bio:type_name -> google.protobuf.StringValue
|
|
19, // 9: proto.Publisher.picture:type_name -> proto.CloudFile
|
|
19, // 10: proto.Publisher.background:type_name -> proto.CloudFile
|
|
20, // 11: proto.Publisher.verification_mark:type_name -> proto.VerificationMark
|
|
17, // 12: proto.Publisher.created_at:type_name -> google.protobuf.Timestamp
|
|
17, // 13: proto.Publisher.updated_at:type_name -> google.protobuf.Timestamp
|
|
4, // 14: proto.GetPublisherResponse.publisher:type_name -> proto.Publisher
|
|
4, // 15: proto.ListPublishersResponse.publishers:type_name -> proto.Publisher
|
|
3, // 16: proto.ListPublisherMembersResponse.members:type_name -> proto.PublisherMember
|
|
1, // 17: proto.IsPublisherMemberRequest.role:type_name -> proto.PublisherMemberRole
|
|
5, // 18: proto.PublisherService.GetPublisher:input_type -> proto.GetPublisherRequest
|
|
7, // 19: proto.PublisherService.GetPublisherBatch:input_type -> proto.GetPublisherBatchRequest
|
|
8, // 20: proto.PublisherService.ListPublishers:input_type -> proto.ListPublishersRequest
|
|
10, // 21: proto.PublisherService.ListPublisherMembers:input_type -> proto.ListPublisherMembersRequest
|
|
12, // 22: proto.PublisherService.SetPublisherFeatureFlag:input_type -> proto.SetPublisherFeatureFlagRequest
|
|
13, // 23: proto.PublisherService.HasPublisherFeature:input_type -> proto.HasPublisherFeatureRequest
|
|
15, // 24: proto.PublisherService.IsPublisherMember:input_type -> proto.IsPublisherMemberRequest
|
|
6, // 25: proto.PublisherService.GetPublisher:output_type -> proto.GetPublisherResponse
|
|
9, // 26: proto.PublisherService.GetPublisherBatch:output_type -> proto.ListPublishersResponse
|
|
9, // 27: proto.PublisherService.ListPublishers:output_type -> proto.ListPublishersResponse
|
|
11, // 28: proto.PublisherService.ListPublisherMembers:output_type -> proto.ListPublisherMembersResponse
|
|
18, // 29: proto.PublisherService.SetPublisherFeatureFlag:output_type -> google.protobuf.StringValue
|
|
14, // 30: proto.PublisherService.HasPublisherFeature:output_type -> proto.HasPublisherFeatureResponse
|
|
16, // 31: proto.PublisherService.IsPublisherMember:output_type -> proto.IsPublisherMemberResponse
|
|
25, // [25:32] is the sub-list for method output_type
|
|
18, // [18:25] is the sub-list for method input_type
|
|
18, // [18:18] is the sub-list for extension type_name
|
|
18, // [18:18] is the sub-list for extension extendee
|
|
0, // [0:18] is the sub-list for field type_name
|
|
}
|
|
|
|
func init() { file_publisher_proto_init() }
|
|
func file_publisher_proto_init() {
|
|
if File_publisher_proto != nil {
|
|
return
|
|
}
|
|
file_file_proto_init()
|
|
file_account_proto_init()
|
|
file_publisher_proto_msgTypes[2].OneofWrappers = []any{}
|
|
file_publisher_proto_msgTypes[3].OneofWrappers = []any{
|
|
(*GetPublisherRequest_Name)(nil),
|
|
(*GetPublisherRequest_Id)(nil),
|
|
}
|
|
type x struct{}
|
|
out := protoimpl.TypeBuilder{
|
|
File: protoimpl.DescBuilder{
|
|
GoPackagePath: reflect.TypeOf(x{}).PkgPath(),
|
|
RawDescriptor: unsafe.Slice(unsafe.StringData(file_publisher_proto_rawDesc), len(file_publisher_proto_rawDesc)),
|
|
NumEnums: 2,
|
|
NumMessages: 15,
|
|
NumExtensions: 0,
|
|
NumServices: 1,
|
|
},
|
|
GoTypes: file_publisher_proto_goTypes,
|
|
DependencyIndexes: file_publisher_proto_depIdxs,
|
|
EnumInfos: file_publisher_proto_enumTypes,
|
|
MessageInfos: file_publisher_proto_msgTypes,
|
|
}.Build()
|
|
File_publisher_proto = out.File
|
|
file_publisher_proto_goTypes = nil
|
|
file_publisher_proto_depIdxs = nil
|
|
}
|