fonchain-artistinfo/pb/artistInfoArtwork/artistinfoArtwork.pb.go

769 lines
28 KiB
Go

// Code generated by protoc-gen-go. DO NOT EDIT.
// versions:
// protoc-gen-go v1.28.1
// protoc v4.22.0--rc2
// source: pb/artistinfoArtwork.proto
package artistInfoArtwork
import (
_ "github.com/envoyproxy/protoc-gen-validate/validate"
protoreflect "google.golang.org/protobuf/reflect/protoreflect"
protoimpl "google.golang.org/protobuf/runtime/protoimpl"
timestamppb "google.golang.org/protobuf/types/known/timestamppb"
reflect "reflect"
sync "sync"
)
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)
)
// Symbols defined in public import of google/protobuf/timestamp.proto.
type Timestamp = timestamppb.Timestamp
type ArtworkQueryMode int32
const (
ArtworkQueryMode_NowPreSaveArtwork ArtworkQueryMode = 0 //当前暂存的画作
ArtworkQueryMode_NowLockedArtwork ArtworkQueryMode = 1 //当前已锁定的画作
ArtworkQueryMode_ArtistCanSee ArtworkQueryMode = 2 //画家能看到的画作
ArtworkQueryMode_AllUnlockArtwork ArtworkQueryMode = 3 //所有已解锁的画作(历史画作)
)
// Enum value maps for ArtworkQueryMode.
var (
ArtworkQueryMode_name = map[int32]string{
0: "NowPreSaveArtwork",
1: "NowLockedArtwork",
2: "ArtistCanSee",
3: "AllUnlockArtwork",
}
ArtworkQueryMode_value = map[string]int32{
"NowPreSaveArtwork": 0,
"NowLockedArtwork": 1,
"ArtistCanSee": 2,
"AllUnlockArtwork": 3,
}
)
func (x ArtworkQueryMode) Enum() *ArtworkQueryMode {
p := new(ArtworkQueryMode)
*p = x
return p
}
func (x ArtworkQueryMode) String() string {
return protoimpl.X.EnumStringOf(x.Descriptor(), protoreflect.EnumNumber(x))
}
func (ArtworkQueryMode) Descriptor() protoreflect.EnumDescriptor {
return file_pb_artistinfoArtwork_proto_enumTypes[0].Descriptor()
}
func (ArtworkQueryMode) Type() protoreflect.EnumType {
return &file_pb_artistinfoArtwork_proto_enumTypes[0]
}
func (x ArtworkQueryMode) Number() protoreflect.EnumNumber {
return protoreflect.EnumNumber(x)
}
// Deprecated: Use ArtworkQueryMode.Descriptor instead.
func (ArtworkQueryMode) EnumDescriptor() ([]byte, []int) {
return file_pb_artistinfoArtwork_proto_rawDescGZIP(), []int{0}
}
type ArtworkCommonNoParams struct {
state protoimpl.MessageState
sizeCache protoimpl.SizeCache
unknownFields protoimpl.UnknownFields
}
func (x *ArtworkCommonNoParams) Reset() {
*x = ArtworkCommonNoParams{}
if protoimpl.UnsafeEnabled {
mi := &file_pb_artistinfoArtwork_proto_msgTypes[0]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
}
func (x *ArtworkCommonNoParams) String() string {
return protoimpl.X.MessageStringOf(x)
}
func (*ArtworkCommonNoParams) ProtoMessage() {}
func (x *ArtworkCommonNoParams) ProtoReflect() protoreflect.Message {
mi := &file_pb_artistinfoArtwork_proto_msgTypes[0]
if protoimpl.UnsafeEnabled && x != nil {
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
if ms.LoadMessageInfo() == nil {
ms.StoreMessageInfo(mi)
}
return ms
}
return mi.MessageOf(x)
}
// Deprecated: Use ArtworkCommonNoParams.ProtoReflect.Descriptor instead.
func (*ArtworkCommonNoParams) Descriptor() ([]byte, []int) {
return file_pb_artistinfoArtwork_proto_rawDescGZIP(), []int{0}
}
type CreateArtworkLockRecordReq struct {
state protoimpl.MessageState
sizeCache protoimpl.SizeCache
unknownFields protoimpl.UnknownFields
ArtistUid string `protobuf:"bytes,1,opt,name=artistUid,proto3" json:"artistUid,omitempty"` //画家uid
ArtworkUid string `protobuf:"bytes,2,opt,name=artworkUid,proto3" json:"artworkUid,omitempty"` //画作uid
Status int64 `protobuf:"varint,3,opt,name=status,proto3" json:"status,omitempty"` //画作锁定状态,按业务逻辑不用传
LockTime string `protobuf:"bytes,4,opt,name=lockTime,proto3" json:"lockTime,omitempty"`
}
func (x *CreateArtworkLockRecordReq) Reset() {
*x = CreateArtworkLockRecordReq{}
if protoimpl.UnsafeEnabled {
mi := &file_pb_artistinfoArtwork_proto_msgTypes[1]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
}
func (x *CreateArtworkLockRecordReq) String() string {
return protoimpl.X.MessageStringOf(x)
}
func (*CreateArtworkLockRecordReq) ProtoMessage() {}
func (x *CreateArtworkLockRecordReq) ProtoReflect() protoreflect.Message {
mi := &file_pb_artistinfoArtwork_proto_msgTypes[1]
if protoimpl.UnsafeEnabled && x != nil {
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
if ms.LoadMessageInfo() == nil {
ms.StoreMessageInfo(mi)
}
return ms
}
return mi.MessageOf(x)
}
// Deprecated: Use CreateArtworkLockRecordReq.ProtoReflect.Descriptor instead.
func (*CreateArtworkLockRecordReq) Descriptor() ([]byte, []int) {
return file_pb_artistinfoArtwork_proto_rawDescGZIP(), []int{1}
}
func (x *CreateArtworkLockRecordReq) GetArtistUid() string {
if x != nil {
return x.ArtistUid
}
return ""
}
func (x *CreateArtworkLockRecordReq) GetArtworkUid() string {
if x != nil {
return x.ArtworkUid
}
return ""
}
func (x *CreateArtworkLockRecordReq) GetStatus() int64 {
if x != nil {
return x.Status
}
return 0
}
func (x *CreateArtworkLockRecordReq) GetLockTime() string {
if x != nil {
return x.LockTime
}
return ""
}
type ArtworkLockActionRequest struct {
state protoimpl.MessageState
sizeCache protoimpl.SizeCache
unknownFields protoimpl.UnknownFields
ArtistUid string `protobuf:"bytes,1,opt,name=artistUid,proto3" json:"artistUid,omitempty"` //画家uid
Lock int32 `protobuf:"varint,2,opt,name=lock,proto3" json:"lock,omitempty"` //2=锁定 3=解锁
}
func (x *ArtworkLockActionRequest) Reset() {
*x = ArtworkLockActionRequest{}
if protoimpl.UnsafeEnabled {
mi := &file_pb_artistinfoArtwork_proto_msgTypes[2]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
}
func (x *ArtworkLockActionRequest) String() string {
return protoimpl.X.MessageStringOf(x)
}
func (*ArtworkLockActionRequest) ProtoMessage() {}
func (x *ArtworkLockActionRequest) ProtoReflect() protoreflect.Message {
mi := &file_pb_artistinfoArtwork_proto_msgTypes[2]
if protoimpl.UnsafeEnabled && x != nil {
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
if ms.LoadMessageInfo() == nil {
ms.StoreMessageInfo(mi)
}
return ms
}
return mi.MessageOf(x)
}
// Deprecated: Use ArtworkLockActionRequest.ProtoReflect.Descriptor instead.
func (*ArtworkLockActionRequest) Descriptor() ([]byte, []int) {
return file_pb_artistinfoArtwork_proto_rawDescGZIP(), []int{2}
}
func (x *ArtworkLockActionRequest) GetArtistUid() string {
if x != nil {
return x.ArtistUid
}
return ""
}
func (x *ArtworkLockActionRequest) GetLock() int32 {
if x != nil {
return x.Lock
}
return 0
}
type GetArtworkLockRecordsRequest struct {
state protoimpl.MessageState
sizeCache protoimpl.SizeCache
unknownFields protoimpl.UnknownFields
ArtistUid string `protobuf:"bytes,1,opt,name=artistUid,proto3" json:"artistUid,omitempty"` //画家uid
QueryType ArtworkQueryMode `protobuf:"varint,2,opt,name=queryType,proto3,enum=artistinfo.ArtworkQueryMode" json:"queryType,omitempty"` //查询模式
}
func (x *GetArtworkLockRecordsRequest) Reset() {
*x = GetArtworkLockRecordsRequest{}
if protoimpl.UnsafeEnabled {
mi := &file_pb_artistinfoArtwork_proto_msgTypes[3]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
}
func (x *GetArtworkLockRecordsRequest) String() string {
return protoimpl.X.MessageStringOf(x)
}
func (*GetArtworkLockRecordsRequest) ProtoMessage() {}
func (x *GetArtworkLockRecordsRequest) ProtoReflect() protoreflect.Message {
mi := &file_pb_artistinfoArtwork_proto_msgTypes[3]
if protoimpl.UnsafeEnabled && x != nil {
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
if ms.LoadMessageInfo() == nil {
ms.StoreMessageInfo(mi)
}
return ms
}
return mi.MessageOf(x)
}
// Deprecated: Use GetArtworkLockRecordsRequest.ProtoReflect.Descriptor instead.
func (*GetArtworkLockRecordsRequest) Descriptor() ([]byte, []int) {
return file_pb_artistinfoArtwork_proto_rawDescGZIP(), []int{3}
}
func (x *GetArtworkLockRecordsRequest) GetArtistUid() string {
if x != nil {
return x.ArtistUid
}
return ""
}
func (x *GetArtworkLockRecordsRequest) GetQueryType() ArtworkQueryMode {
if x != nil {
return x.QueryType
}
return ArtworkQueryMode_NowPreSaveArtwork
}
type ArtistLockInfo struct {
state protoimpl.MessageState
sizeCache protoimpl.SizeCache
unknownFields protoimpl.UnknownFields
ArtistUid string `protobuf:"bytes,1,opt,name=artistUid,proto3" json:"artistUid,omitempty"`
ArtworkUid string `protobuf:"bytes,2,opt,name=artworkUid,proto3" json:"artworkUid,omitempty"`
Status int64 `protobuf:"varint,3,opt,name=status,proto3" json:"status,omitempty"`
LockTime string `protobuf:"bytes,4,opt,name=lockTime,proto3" json:"lockTime,omitempty"`
}
func (x *ArtistLockInfo) Reset() {
*x = ArtistLockInfo{}
if protoimpl.UnsafeEnabled {
mi := &file_pb_artistinfoArtwork_proto_msgTypes[4]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
}
func (x *ArtistLockInfo) String() string {
return protoimpl.X.MessageStringOf(x)
}
func (*ArtistLockInfo) ProtoMessage() {}
func (x *ArtistLockInfo) ProtoReflect() protoreflect.Message {
mi := &file_pb_artistinfoArtwork_proto_msgTypes[4]
if protoimpl.UnsafeEnabled && x != nil {
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
if ms.LoadMessageInfo() == nil {
ms.StoreMessageInfo(mi)
}
return ms
}
return mi.MessageOf(x)
}
// Deprecated: Use ArtistLockInfo.ProtoReflect.Descriptor instead.
func (*ArtistLockInfo) Descriptor() ([]byte, []int) {
return file_pb_artistinfoArtwork_proto_rawDescGZIP(), []int{4}
}
func (x *ArtistLockInfo) GetArtistUid() string {
if x != nil {
return x.ArtistUid
}
return ""
}
func (x *ArtistLockInfo) GetArtworkUid() string {
if x != nil {
return x.ArtworkUid
}
return ""
}
func (x *ArtistLockInfo) GetStatus() int64 {
if x != nil {
return x.Status
}
return 0
}
func (x *ArtistLockInfo) GetLockTime() string {
if x != nil {
return x.LockTime
}
return ""
}
type ArtworkLockList struct {
state protoimpl.MessageState
sizeCache protoimpl.SizeCache
unknownFields protoimpl.UnknownFields
Data []*ArtistLockInfo `protobuf:"bytes,1,rep,name=data,proto3" json:"data,omitempty"` //画作uid列表
}
func (x *ArtworkLockList) Reset() {
*x = ArtworkLockList{}
if protoimpl.UnsafeEnabled {
mi := &file_pb_artistinfoArtwork_proto_msgTypes[5]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
}
func (x *ArtworkLockList) String() string {
return protoimpl.X.MessageStringOf(x)
}
func (*ArtworkLockList) ProtoMessage() {}
func (x *ArtworkLockList) ProtoReflect() protoreflect.Message {
mi := &file_pb_artistinfoArtwork_proto_msgTypes[5]
if protoimpl.UnsafeEnabled && x != nil {
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
if ms.LoadMessageInfo() == nil {
ms.StoreMessageInfo(mi)
}
return ms
}
return mi.MessageOf(x)
}
// Deprecated: Use ArtworkLockList.ProtoReflect.Descriptor instead.
func (*ArtworkLockList) Descriptor() ([]byte, []int) {
return file_pb_artistinfoArtwork_proto_rawDescGZIP(), []int{5}
}
func (x *ArtworkLockList) GetData() []*ArtistLockInfo {
if x != nil {
return x.Data
}
return nil
}
type ArtworkUidList struct {
state protoimpl.MessageState
sizeCache protoimpl.SizeCache
unknownFields protoimpl.UnknownFields
ArtworkUids []string `protobuf:"bytes,1,rep,name=artworkUids,proto3" json:"artworkUids,omitempty"`
}
func (x *ArtworkUidList) Reset() {
*x = ArtworkUidList{}
if protoimpl.UnsafeEnabled {
mi := &file_pb_artistinfoArtwork_proto_msgTypes[6]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
}
func (x *ArtworkUidList) String() string {
return protoimpl.X.MessageStringOf(x)
}
func (*ArtworkUidList) ProtoMessage() {}
func (x *ArtworkUidList) ProtoReflect() protoreflect.Message {
mi := &file_pb_artistinfoArtwork_proto_msgTypes[6]
if protoimpl.UnsafeEnabled && x != nil {
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
if ms.LoadMessageInfo() == nil {
ms.StoreMessageInfo(mi)
}
return ms
}
return mi.MessageOf(x)
}
// Deprecated: Use ArtworkUidList.ProtoReflect.Descriptor instead.
func (*ArtworkUidList) Descriptor() ([]byte, []int) {
return file_pb_artistinfoArtwork_proto_rawDescGZIP(), []int{6}
}
func (x *ArtworkUidList) GetArtworkUids() []string {
if x != nil {
return x.ArtworkUids
}
return nil
}
type DeleteArtworkRecordRequest struct {
state protoimpl.MessageState
sizeCache protoimpl.SizeCache
unknownFields protoimpl.UnknownFields
ArtworkUids []string `protobuf:"bytes,1,rep,name=artworkUids,proto3" json:"artworkUids,omitempty"`
}
func (x *DeleteArtworkRecordRequest) Reset() {
*x = DeleteArtworkRecordRequest{}
if protoimpl.UnsafeEnabled {
mi := &file_pb_artistinfoArtwork_proto_msgTypes[7]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
}
func (x *DeleteArtworkRecordRequest) String() string {
return protoimpl.X.MessageStringOf(x)
}
func (*DeleteArtworkRecordRequest) ProtoMessage() {}
func (x *DeleteArtworkRecordRequest) ProtoReflect() protoreflect.Message {
mi := &file_pb_artistinfoArtwork_proto_msgTypes[7]
if protoimpl.UnsafeEnabled && x != nil {
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
if ms.LoadMessageInfo() == nil {
ms.StoreMessageInfo(mi)
}
return ms
}
return mi.MessageOf(x)
}
// Deprecated: Use DeleteArtworkRecordRequest.ProtoReflect.Descriptor instead.
func (*DeleteArtworkRecordRequest) Descriptor() ([]byte, []int) {
return file_pb_artistinfoArtwork_proto_rawDescGZIP(), []int{7}
}
func (x *DeleteArtworkRecordRequest) GetArtworkUids() []string {
if x != nil {
return x.ArtworkUids
}
return nil
}
var File_pb_artistinfoArtwork_proto protoreflect.FileDescriptor
var file_pb_artistinfoArtwork_proto_rawDesc = []byte{
0x0a, 0x1a, 0x70, 0x62, 0x2f, 0x61, 0x72, 0x74, 0x69, 0x73, 0x74, 0x69, 0x6e, 0x66, 0x6f, 0x41,
0x72, 0x74, 0x77, 0x6f, 0x72, 0x6b, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x12, 0x0a, 0x61, 0x72,
0x74, 0x69, 0x73, 0x74, 0x69, 0x6e, 0x66, 0x6f, 0x1a, 0x0e, 0x76, 0x61, 0x6c, 0x69, 0x64, 0x61,
0x74, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x1f, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65,
0x2f, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2f, 0x74, 0x69, 0x6d, 0x65, 0x73, 0x74,
0x61, 0x6d, 0x70, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x22, 0x17, 0x0a, 0x15, 0x41, 0x72, 0x74,
0x77, 0x6f, 0x72, 0x6b, 0x43, 0x6f, 0x6d, 0x6d, 0x6f, 0x6e, 0x4e, 0x6f, 0x50, 0x61, 0x72, 0x61,
0x6d, 0x73, 0x22, 0xa6, 0x01, 0x0a, 0x1a, 0x43, 0x72, 0x65, 0x61, 0x74, 0x65, 0x41, 0x72, 0x74,
0x77, 0x6f, 0x72, 0x6b, 0x4c, 0x6f, 0x63, 0x6b, 0x52, 0x65, 0x63, 0x6f, 0x72, 0x64, 0x52, 0x65,
0x71, 0x12, 0x28, 0x0a, 0x09, 0x61, 0x72, 0x74, 0x69, 0x73, 0x74, 0x55, 0x69, 0x64, 0x18, 0x01,
0x20, 0x01, 0x28, 0x09, 0x42, 0x0a, 0xba, 0xe9, 0xc0, 0x03, 0x05, 0x8a, 0x01, 0x02, 0x10, 0x01,
0x52, 0x09, 0x61, 0x72, 0x74, 0x69, 0x73, 0x74, 0x55, 0x69, 0x64, 0x12, 0x2a, 0x0a, 0x0a, 0x61,
0x72, 0x74, 0x77, 0x6f, 0x72, 0x6b, 0x55, 0x69, 0x64, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x42,
0x0a, 0xba, 0xe9, 0xc0, 0x03, 0x05, 0x8a, 0x01, 0x02, 0x10, 0x01, 0x52, 0x0a, 0x61, 0x72, 0x74,
0x77, 0x6f, 0x72, 0x6b, 0x55, 0x69, 0x64, 0x12, 0x16, 0x0a, 0x06, 0x73, 0x74, 0x61, 0x74, 0x75,
0x73, 0x18, 0x03, 0x20, 0x01, 0x28, 0x03, 0x52, 0x06, 0x73, 0x74, 0x61, 0x74, 0x75, 0x73, 0x12,
0x1a, 0x0a, 0x08, 0x6c, 0x6f, 0x63, 0x6b, 0x54, 0x69, 0x6d, 0x65, 0x18, 0x04, 0x20, 0x01, 0x28,
0x09, 0x52, 0x08, 0x6c, 0x6f, 0x63, 0x6b, 0x54, 0x69, 0x6d, 0x65, 0x22, 0x4c, 0x0a, 0x18, 0x41,
0x72, 0x74, 0x77, 0x6f, 0x72, 0x6b, 0x4c, 0x6f, 0x63, 0x6b, 0x41, 0x63, 0x74, 0x69, 0x6f, 0x6e,
0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x1c, 0x0a, 0x09, 0x61, 0x72, 0x74, 0x69, 0x73,
0x74, 0x55, 0x69, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x09, 0x61, 0x72, 0x74, 0x69,
0x73, 0x74, 0x55, 0x69, 0x64, 0x12, 0x12, 0x0a, 0x04, 0x6c, 0x6f, 0x63, 0x6b, 0x18, 0x02, 0x20,
0x01, 0x28, 0x05, 0x52, 0x04, 0x6c, 0x6f, 0x63, 0x6b, 0x22, 0x84, 0x01, 0x0a, 0x1c, 0x47, 0x65,
0x74, 0x41, 0x72, 0x74, 0x77, 0x6f, 0x72, 0x6b, 0x4c, 0x6f, 0x63, 0x6b, 0x52, 0x65, 0x63, 0x6f,
0x72, 0x64, 0x73, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x28, 0x0a, 0x09, 0x61, 0x72,
0x74, 0x69, 0x73, 0x74, 0x55, 0x69, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x42, 0x0a, 0xba,
0xe9, 0xc0, 0x03, 0x05, 0x8a, 0x01, 0x02, 0x10, 0x01, 0x52, 0x09, 0x61, 0x72, 0x74, 0x69, 0x73,
0x74, 0x55, 0x69, 0x64, 0x12, 0x3a, 0x0a, 0x09, 0x71, 0x75, 0x65, 0x72, 0x79, 0x54, 0x79, 0x70,
0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0e, 0x32, 0x1c, 0x2e, 0x61, 0x72, 0x74, 0x69, 0x73, 0x74,
0x69, 0x6e, 0x66, 0x6f, 0x2e, 0x41, 0x72, 0x74, 0x77, 0x6f, 0x72, 0x6b, 0x51, 0x75, 0x65, 0x72,
0x79, 0x4d, 0x6f, 0x64, 0x65, 0x52, 0x09, 0x71, 0x75, 0x65, 0x72, 0x79, 0x54, 0x79, 0x70, 0x65,
0x22, 0x82, 0x01, 0x0a, 0x0e, 0x41, 0x72, 0x74, 0x69, 0x73, 0x74, 0x4c, 0x6f, 0x63, 0x6b, 0x49,
0x6e, 0x66, 0x6f, 0x12, 0x1c, 0x0a, 0x09, 0x61, 0x72, 0x74, 0x69, 0x73, 0x74, 0x55, 0x69, 0x64,
0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x09, 0x61, 0x72, 0x74, 0x69, 0x73, 0x74, 0x55, 0x69,
0x64, 0x12, 0x1e, 0x0a, 0x0a, 0x61, 0x72, 0x74, 0x77, 0x6f, 0x72, 0x6b, 0x55, 0x69, 0x64, 0x18,
0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0a, 0x61, 0x72, 0x74, 0x77, 0x6f, 0x72, 0x6b, 0x55, 0x69,
0x64, 0x12, 0x16, 0x0a, 0x06, 0x73, 0x74, 0x61, 0x74, 0x75, 0x73, 0x18, 0x03, 0x20, 0x01, 0x28,
0x03, 0x52, 0x06, 0x73, 0x74, 0x61, 0x74, 0x75, 0x73, 0x12, 0x1a, 0x0a, 0x08, 0x6c, 0x6f, 0x63,
0x6b, 0x54, 0x69, 0x6d, 0x65, 0x18, 0x04, 0x20, 0x01, 0x28, 0x09, 0x52, 0x08, 0x6c, 0x6f, 0x63,
0x6b, 0x54, 0x69, 0x6d, 0x65, 0x22, 0x41, 0x0a, 0x0f, 0x41, 0x72, 0x74, 0x77, 0x6f, 0x72, 0x6b,
0x4c, 0x6f, 0x63, 0x6b, 0x4c, 0x69, 0x73, 0x74, 0x12, 0x2e, 0x0a, 0x04, 0x64, 0x61, 0x74, 0x61,
0x18, 0x01, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x1a, 0x2e, 0x61, 0x72, 0x74, 0x69, 0x73, 0x74, 0x69,
0x6e, 0x66, 0x6f, 0x2e, 0x41, 0x72, 0x74, 0x69, 0x73, 0x74, 0x4c, 0x6f, 0x63, 0x6b, 0x49, 0x6e,
0x66, 0x6f, 0x52, 0x04, 0x64, 0x61, 0x74, 0x61, 0x22, 0x32, 0x0a, 0x0e, 0x41, 0x72, 0x74, 0x77,
0x6f, 0x72, 0x6b, 0x55, 0x69, 0x64, 0x4c, 0x69, 0x73, 0x74, 0x12, 0x20, 0x0a, 0x0b, 0x61, 0x72,
0x74, 0x77, 0x6f, 0x72, 0x6b, 0x55, 0x69, 0x64, 0x73, 0x18, 0x01, 0x20, 0x03, 0x28, 0x09, 0x52,
0x0b, 0x61, 0x72, 0x74, 0x77, 0x6f, 0x72, 0x6b, 0x55, 0x69, 0x64, 0x73, 0x22, 0x3e, 0x0a, 0x1a,
0x44, 0x65, 0x6c, 0x65, 0x74, 0x65, 0x41, 0x72, 0x74, 0x77, 0x6f, 0x72, 0x6b, 0x52, 0x65, 0x63,
0x6f, 0x72, 0x64, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x20, 0x0a, 0x0b, 0x61, 0x72,
0x74, 0x77, 0x6f, 0x72, 0x6b, 0x55, 0x69, 0x64, 0x73, 0x18, 0x01, 0x20, 0x03, 0x28, 0x09, 0x52,
0x0b, 0x61, 0x72, 0x74, 0x77, 0x6f, 0x72, 0x6b, 0x55, 0x69, 0x64, 0x73, 0x2a, 0x67, 0x0a, 0x10,
0x41, 0x72, 0x74, 0x77, 0x6f, 0x72, 0x6b, 0x51, 0x75, 0x65, 0x72, 0x79, 0x4d, 0x6f, 0x64, 0x65,
0x12, 0x15, 0x0a, 0x11, 0x4e, 0x6f, 0x77, 0x50, 0x72, 0x65, 0x53, 0x61, 0x76, 0x65, 0x41, 0x72,
0x74, 0x77, 0x6f, 0x72, 0x6b, 0x10, 0x00, 0x12, 0x14, 0x0a, 0x10, 0x4e, 0x6f, 0x77, 0x4c, 0x6f,
0x63, 0x6b, 0x65, 0x64, 0x41, 0x72, 0x74, 0x77, 0x6f, 0x72, 0x6b, 0x10, 0x01, 0x12, 0x10, 0x0a,
0x0c, 0x41, 0x72, 0x74, 0x69, 0x73, 0x74, 0x43, 0x61, 0x6e, 0x53, 0x65, 0x65, 0x10, 0x02, 0x12,
0x14, 0x0a, 0x10, 0x41, 0x6c, 0x6c, 0x55, 0x6e, 0x6c, 0x6f, 0x63, 0x6b, 0x41, 0x72, 0x74, 0x77,
0x6f, 0x72, 0x6b, 0x10, 0x03, 0x32, 0xa1, 0x03, 0x0a, 0x11, 0x41, 0x72, 0x74, 0x69, 0x73, 0x74,
0x49, 0x6e, 0x66, 0x6f, 0x41, 0x72, 0x74, 0x77, 0x6f, 0x72, 0x6b, 0x12, 0x66, 0x0a, 0x17, 0x43,
0x72, 0x65, 0x61, 0x74, 0x65, 0x41, 0x72, 0x74, 0x77, 0x6f, 0x72, 0x6b, 0x4c, 0x6f, 0x63, 0x6b,
0x52, 0x65, 0x63, 0x6f, 0x72, 0x64, 0x12, 0x26, 0x2e, 0x61, 0x72, 0x74, 0x69, 0x73, 0x74, 0x69,
0x6e, 0x66, 0x6f, 0x2e, 0x43, 0x72, 0x65, 0x61, 0x74, 0x65, 0x41, 0x72, 0x74, 0x77, 0x6f, 0x72,
0x6b, 0x4c, 0x6f, 0x63, 0x6b, 0x52, 0x65, 0x63, 0x6f, 0x72, 0x64, 0x52, 0x65, 0x71, 0x1a, 0x21,
0x2e, 0x61, 0x72, 0x74, 0x69, 0x73, 0x74, 0x69, 0x6e, 0x66, 0x6f, 0x2e, 0x41, 0x72, 0x74, 0x77,
0x6f, 0x72, 0x6b, 0x43, 0x6f, 0x6d, 0x6d, 0x6f, 0x6e, 0x4e, 0x6f, 0x50, 0x61, 0x72, 0x61, 0x6d,
0x73, 0x22, 0x00, 0x12, 0x5e, 0x0a, 0x11, 0x41, 0x72, 0x74, 0x77, 0x6f, 0x72, 0x6b, 0x4c, 0x6f,
0x63, 0x6b, 0x41, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x12, 0x24, 0x2e, 0x61, 0x72, 0x74, 0x69, 0x73,
0x74, 0x69, 0x6e, 0x66, 0x6f, 0x2e, 0x41, 0x72, 0x74, 0x77, 0x6f, 0x72, 0x6b, 0x4c, 0x6f, 0x63,
0x6b, 0x41, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x21,
0x2e, 0x61, 0x72, 0x74, 0x69, 0x73, 0x74, 0x69, 0x6e, 0x66, 0x6f, 0x2e, 0x41, 0x72, 0x74, 0x77,
0x6f, 0x72, 0x6b, 0x43, 0x6f, 0x6d, 0x6d, 0x6f, 0x6e, 0x4e, 0x6f, 0x50, 0x61, 0x72, 0x61, 0x6d,
0x73, 0x22, 0x00, 0x12, 0x60, 0x0a, 0x15, 0x47, 0x65, 0x74, 0x41, 0x72, 0x74, 0x77, 0x6f, 0x72,
0x6b, 0x4c, 0x6f, 0x63, 0x6b, 0x52, 0x65, 0x63, 0x6f, 0x72, 0x64, 0x73, 0x12, 0x28, 0x2e, 0x61,
0x72, 0x74, 0x69, 0x73, 0x74, 0x69, 0x6e, 0x66, 0x6f, 0x2e, 0x47, 0x65, 0x74, 0x41, 0x72, 0x74,
0x77, 0x6f, 0x72, 0x6b, 0x4c, 0x6f, 0x63, 0x6b, 0x52, 0x65, 0x63, 0x6f, 0x72, 0x64, 0x73, 0x52,
0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x1b, 0x2e, 0x61, 0x72, 0x74, 0x69, 0x73, 0x74, 0x69,
0x6e, 0x66, 0x6f, 0x2e, 0x41, 0x72, 0x74, 0x77, 0x6f, 0x72, 0x6b, 0x4c, 0x6f, 0x63, 0x6b, 0x4c,
0x69, 0x73, 0x74, 0x22, 0x00, 0x12, 0x62, 0x0a, 0x13, 0x44, 0x65, 0x6c, 0x65, 0x74, 0x65, 0x41,
0x72, 0x74, 0x77, 0x6f, 0x72, 0x6b, 0x52, 0x65, 0x63, 0x6f, 0x72, 0x64, 0x12, 0x26, 0x2e, 0x61,
0x72, 0x74, 0x69, 0x73, 0x74, 0x69, 0x6e, 0x66, 0x6f, 0x2e, 0x44, 0x65, 0x6c, 0x65, 0x74, 0x65,
0x41, 0x72, 0x74, 0x77, 0x6f, 0x72, 0x6b, 0x52, 0x65, 0x63, 0x6f, 0x72, 0x64, 0x52, 0x65, 0x71,
0x75, 0x65, 0x73, 0x74, 0x1a, 0x21, 0x2e, 0x61, 0x72, 0x74, 0x69, 0x73, 0x74, 0x69, 0x6e, 0x66,
0x6f, 0x2e, 0x41, 0x72, 0x74, 0x77, 0x6f, 0x72, 0x6b, 0x43, 0x6f, 0x6d, 0x6d, 0x6f, 0x6e, 0x4e,
0x6f, 0x50, 0x61, 0x72, 0x61, 0x6d, 0x73, 0x22, 0x00, 0x42, 0x16, 0x5a, 0x14, 0x2e, 0x2f, 0x3b,
0x61, 0x72, 0x74, 0x69, 0x73, 0x74, 0x49, 0x6e, 0x66, 0x6f, 0x41, 0x72, 0x74, 0x77, 0x6f, 0x72,
0x6b, 0x50, 0x01, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33,
}
var (
file_pb_artistinfoArtwork_proto_rawDescOnce sync.Once
file_pb_artistinfoArtwork_proto_rawDescData = file_pb_artistinfoArtwork_proto_rawDesc
)
func file_pb_artistinfoArtwork_proto_rawDescGZIP() []byte {
file_pb_artistinfoArtwork_proto_rawDescOnce.Do(func() {
file_pb_artistinfoArtwork_proto_rawDescData = protoimpl.X.CompressGZIP(file_pb_artistinfoArtwork_proto_rawDescData)
})
return file_pb_artistinfoArtwork_proto_rawDescData
}
var file_pb_artistinfoArtwork_proto_enumTypes = make([]protoimpl.EnumInfo, 1)
var file_pb_artistinfoArtwork_proto_msgTypes = make([]protoimpl.MessageInfo, 8)
var file_pb_artistinfoArtwork_proto_goTypes = []interface{}{
(ArtworkQueryMode)(0), // 0: artistinfo.ArtworkQueryMode
(*ArtworkCommonNoParams)(nil), // 1: artistinfo.ArtworkCommonNoParams
(*CreateArtworkLockRecordReq)(nil), // 2: artistinfo.CreateArtworkLockRecordReq
(*ArtworkLockActionRequest)(nil), // 3: artistinfo.ArtworkLockActionRequest
(*GetArtworkLockRecordsRequest)(nil), // 4: artistinfo.GetArtworkLockRecordsRequest
(*ArtistLockInfo)(nil), // 5: artistinfo.ArtistLockInfo
(*ArtworkLockList)(nil), // 6: artistinfo.ArtworkLockList
(*ArtworkUidList)(nil), // 7: artistinfo.ArtworkUidList
(*DeleteArtworkRecordRequest)(nil), // 8: artistinfo.DeleteArtworkRecordRequest
}
var file_pb_artistinfoArtwork_proto_depIdxs = []int32{
0, // 0: artistinfo.GetArtworkLockRecordsRequest.queryType:type_name -> artistinfo.ArtworkQueryMode
5, // 1: artistinfo.ArtworkLockList.data:type_name -> artistinfo.ArtistLockInfo
2, // 2: artistinfo.ArtistInfoArtwork.CreateArtworkLockRecord:input_type -> artistinfo.CreateArtworkLockRecordReq
3, // 3: artistinfo.ArtistInfoArtwork.ArtworkLockAction:input_type -> artistinfo.ArtworkLockActionRequest
4, // 4: artistinfo.ArtistInfoArtwork.GetArtworkLockRecords:input_type -> artistinfo.GetArtworkLockRecordsRequest
8, // 5: artistinfo.ArtistInfoArtwork.DeleteArtworkRecord:input_type -> artistinfo.DeleteArtworkRecordRequest
1, // 6: artistinfo.ArtistInfoArtwork.CreateArtworkLockRecord:output_type -> artistinfo.ArtworkCommonNoParams
1, // 7: artistinfo.ArtistInfoArtwork.ArtworkLockAction:output_type -> artistinfo.ArtworkCommonNoParams
6, // 8: artistinfo.ArtistInfoArtwork.GetArtworkLockRecords:output_type -> artistinfo.ArtworkLockList
1, // 9: artistinfo.ArtistInfoArtwork.DeleteArtworkRecord:output_type -> artistinfo.ArtworkCommonNoParams
6, // [6:10] is the sub-list for method output_type
2, // [2:6] is the sub-list for method input_type
2, // [2:2] is the sub-list for extension type_name
2, // [2:2] is the sub-list for extension extendee
0, // [0:2] is the sub-list for field type_name
}
func init() { file_pb_artistinfoArtwork_proto_init() }
func file_pb_artistinfoArtwork_proto_init() {
if File_pb_artistinfoArtwork_proto != nil {
return
}
if !protoimpl.UnsafeEnabled {
file_pb_artistinfoArtwork_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} {
switch v := v.(*ArtworkCommonNoParams); i {
case 0:
return &v.state
case 1:
return &v.sizeCache
case 2:
return &v.unknownFields
default:
return nil
}
}
file_pb_artistinfoArtwork_proto_msgTypes[1].Exporter = func(v interface{}, i int) interface{} {
switch v := v.(*CreateArtworkLockRecordReq); i {
case 0:
return &v.state
case 1:
return &v.sizeCache
case 2:
return &v.unknownFields
default:
return nil
}
}
file_pb_artistinfoArtwork_proto_msgTypes[2].Exporter = func(v interface{}, i int) interface{} {
switch v := v.(*ArtworkLockActionRequest); i {
case 0:
return &v.state
case 1:
return &v.sizeCache
case 2:
return &v.unknownFields
default:
return nil
}
}
file_pb_artistinfoArtwork_proto_msgTypes[3].Exporter = func(v interface{}, i int) interface{} {
switch v := v.(*GetArtworkLockRecordsRequest); i {
case 0:
return &v.state
case 1:
return &v.sizeCache
case 2:
return &v.unknownFields
default:
return nil
}
}
file_pb_artistinfoArtwork_proto_msgTypes[4].Exporter = func(v interface{}, i int) interface{} {
switch v := v.(*ArtistLockInfo); i {
case 0:
return &v.state
case 1:
return &v.sizeCache
case 2:
return &v.unknownFields
default:
return nil
}
}
file_pb_artistinfoArtwork_proto_msgTypes[5].Exporter = func(v interface{}, i int) interface{} {
switch v := v.(*ArtworkLockList); i {
case 0:
return &v.state
case 1:
return &v.sizeCache
case 2:
return &v.unknownFields
default:
return nil
}
}
file_pb_artistinfoArtwork_proto_msgTypes[6].Exporter = func(v interface{}, i int) interface{} {
switch v := v.(*ArtworkUidList); i {
case 0:
return &v.state
case 1:
return &v.sizeCache
case 2:
return &v.unknownFields
default:
return nil
}
}
file_pb_artistinfoArtwork_proto_msgTypes[7].Exporter = func(v interface{}, i int) interface{} {
switch v := v.(*DeleteArtworkRecordRequest); i {
case 0:
return &v.state
case 1:
return &v.sizeCache
case 2:
return &v.unknownFields
default:
return nil
}
}
}
type x struct{}
out := protoimpl.TypeBuilder{
File: protoimpl.DescBuilder{
GoPackagePath: reflect.TypeOf(x{}).PkgPath(),
RawDescriptor: file_pb_artistinfoArtwork_proto_rawDesc,
NumEnums: 1,
NumMessages: 8,
NumExtensions: 0,
NumServices: 1,
},
GoTypes: file_pb_artistinfoArtwork_proto_goTypes,
DependencyIndexes: file_pb_artistinfoArtwork_proto_depIdxs,
EnumInfos: file_pb_artistinfoArtwork_proto_enumTypes,
MessageInfos: file_pb_artistinfoArtwork_proto_msgTypes,
}.Build()
File_pb_artistinfoArtwork_proto = out.File
file_pb_artistinfoArtwork_proto_rawDesc = nil
file_pb_artistinfoArtwork_proto_goTypes = nil
file_pb_artistinfoArtwork_proto_depIdxs = nil
}