content

package
v1.0.19 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Sep 14, 2023 License: GPL-2.0 Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (
	PlanType_name = map[int32]string{
		0: "TypeFeed",
		1: "TypeCastrate",
		2: "TypeHeal",
	}
	PlanType_value = map[string]int32{
		"TypeFeed":     0,
		"TypeCastrate": 1,
		"TypeHeal":     2,
	}
)

Enum value maps for PlanType.

View Source
var File_meowchat_content_common_proto protoreflect.FileDescriptor

Functions

This section is empty.

Types

type Cat

type Cat struct {
	Id           string   `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty" form:"id" query:"id"`
	CreateAt     int64    `protobuf:"varint,2,opt,name=createAt,proto3" json:"createAt,omitempty" form:"createAt" query:"createAt"`
	Age          string   `protobuf:"bytes,3,opt,name=age,proto3" json:"age,omitempty" form:"age" query:"age"`
	CommunityId  string   `protobuf:"bytes,4,opt,name=communityId,proto3" json:"communityId,omitempty" form:"communityId" query:"communityId"`
	Color        string   `protobuf:"bytes,5,opt,name=color,proto3" json:"color,omitempty" form:"color" query:"color"`
	Details      string   `protobuf:"bytes,6,opt,name=details,proto3" json:"details,omitempty" form:"details" query:"details"`
	Name         string   `protobuf:"bytes,7,opt,name=name,proto3" json:"name,omitempty" form:"name" query:"name"`
	Popularity   int64    `protobuf:"varint,8,opt,name=popularity,proto3" json:"popularity,omitempty" form:"popularity" query:"popularity"`
	Sex          string   `protobuf:"bytes,9,opt,name=sex,proto3" json:"sex,omitempty" form:"sex" query:"sex"`
	Status       int64    `protobuf:"varint,10,opt,name=status,proto3" json:"status,omitempty" form:"status" query:"status"`
	Area         string   `protobuf:"bytes,11,opt,name=area,proto3" json:"area,omitempty" form:"area" query:"area"`
	IsSnipped    bool     `protobuf:"varint,12,opt,name=isSnipped,proto3" json:"isSnipped,omitempty" form:"isSnipped" query:"isSnipped"`
	IsSterilized bool     `protobuf:"varint,13,opt,name=isSterilized,proto3" json:"isSterilized,omitempty" form:"isSterilized" query:"isSterilized"`
	Avatars      []string `protobuf:"bytes,14,rep,name=avatars,proto3" json:"avatars,omitempty" form:"avatars" query:"avatars"`
	// contains filtered or unexported fields
}

func (*Cat) Descriptor deprecated

func (*Cat) Descriptor() ([]byte, []int)

Deprecated: Use Cat.ProtoReflect.Descriptor instead.

func (*Cat) GetAge

func (x *Cat) GetAge() string

func (*Cat) GetArea

func (x *Cat) GetArea() string

func (*Cat) GetAvatars

func (x *Cat) GetAvatars() []string

func (*Cat) GetColor

func (x *Cat) GetColor() string

func (*Cat) GetCommunityId

func (x *Cat) GetCommunityId() string

func (*Cat) GetCreateAt

func (x *Cat) GetCreateAt() int64

func (*Cat) GetDetails

func (x *Cat) GetDetails() string

func (*Cat) GetId

func (x *Cat) GetId() string

func (*Cat) GetIsSnipped

func (x *Cat) GetIsSnipped() bool

func (*Cat) GetIsSterilized

func (x *Cat) GetIsSterilized() bool

func (*Cat) GetName

func (x *Cat) GetName() string

func (*Cat) GetPopularity

func (x *Cat) GetPopularity() int64

func (*Cat) GetSex

func (x *Cat) GetSex() string

func (*Cat) GetStatus

func (x *Cat) GetStatus() int64

func (*Cat) ProtoMessage

func (*Cat) ProtoMessage()

func (*Cat) ProtoReflect

func (x *Cat) ProtoReflect() protoreflect.Message

func (*Cat) Reset

func (x *Cat) Reset()

func (*Cat) String

func (x *Cat) String() string

type CreateImageElement

type CreateImageElement struct {
	CatId string `protobuf:"bytes,1,opt,name=catId,proto3" json:"catId,omitempty" form:"catId" query:"catId"`
	Url   string `protobuf:"bytes,2,opt,name=url,proto3" json:"url,omitempty" form:"url" query:"url"`
	// contains filtered or unexported fields
}

func (*CreateImageElement) Descriptor deprecated

func (*CreateImageElement) Descriptor() ([]byte, []int)

Deprecated: Use CreateImageElement.ProtoReflect.Descriptor instead.

func (*CreateImageElement) GetCatId

func (x *CreateImageElement) GetCatId() string

func (*CreateImageElement) GetUrl

func (x *CreateImageElement) GetUrl() string

func (*CreateImageElement) ProtoMessage

func (*CreateImageElement) ProtoMessage()

func (*CreateImageElement) ProtoReflect

func (x *CreateImageElement) ProtoReflect() protoreflect.Message

func (*CreateImageElement) Reset

func (x *CreateImageElement) Reset()

func (*CreateImageElement) String

func (x *CreateImageElement) String() string

type Image

type Image struct {
	Id    string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty" form:"id" query:"id"`
	Url   string `protobuf:"bytes,2,opt,name=url,proto3" json:"url,omitempty" form:"url" query:"url"`
	CatId string `protobuf:"bytes,3,opt,name=catId,proto3" json:"catId,omitempty" form:"catId" query:"catId"`
	// contains filtered or unexported fields
}

func (*Image) Descriptor deprecated

func (*Image) Descriptor() ([]byte, []int)

Deprecated: Use Image.ProtoReflect.Descriptor instead.

func (*Image) GetCatId

func (x *Image) GetCatId() string

func (*Image) GetId

func (x *Image) GetId() string

func (*Image) GetUrl

func (x *Image) GetUrl() string

func (*Image) ProtoMessage

func (*Image) ProtoMessage()

func (*Image) ProtoReflect

func (x *Image) ProtoReflect() protoreflect.Message

func (*Image) Reset

func (x *Image) Reset()

func (*Image) String

func (x *Image) String() string

type Moment

type Moment struct {
	Id          string   `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty" form:"id" query:"id"`
	CreateAt    int64    `protobuf:"varint,2,opt,name=createAt,proto3" json:"createAt,omitempty" form:"createAt" query:"createAt"`
	CatId       string   `protobuf:"bytes,3,opt,name=catId,proto3" json:"catId,omitempty" form:"catId" query:"catId"`
	Photos      []string `protobuf:"bytes,4,rep,name=photos,proto3" json:"photos,omitempty" form:"photos" query:"photos"` // 图片url
	Title       string   `protobuf:"bytes,5,opt,name=title,proto3" json:"title,omitempty" form:"title" query:"title"`
	Text        string   `protobuf:"bytes,6,opt,name=text,proto3" json:"text,omitempty" form:"text" query:"text"`
	CommunityId string   `protobuf:"bytes,7,opt,name=communityId,proto3" json:"communityId,omitempty" form:"communityId" query:"communityId"`
	UserId      string   `protobuf:"bytes,8,opt,name=userId,proto3" json:"userId,omitempty" form:"userId" query:"userId"`
	// contains filtered or unexported fields
}

func (*Moment) Descriptor deprecated

func (*Moment) Descriptor() ([]byte, []int)

Deprecated: Use Moment.ProtoReflect.Descriptor instead.

func (*Moment) GetCatId

func (x *Moment) GetCatId() string

func (*Moment) GetCommunityId

func (x *Moment) GetCommunityId() string

func (*Moment) GetCreateAt

func (x *Moment) GetCreateAt() int64

func (*Moment) GetId

func (x *Moment) GetId() string

func (*Moment) GetPhotos

func (x *Moment) GetPhotos() []string

func (*Moment) GetText

func (x *Moment) GetText() string

func (*Moment) GetTitle

func (x *Moment) GetTitle() string

func (*Moment) GetUserId

func (x *Moment) GetUserId() string

func (*Moment) ProtoMessage

func (*Moment) ProtoMessage()

func (*Moment) ProtoReflect

func (x *Moment) ProtoReflect() protoreflect.Message

func (*Moment) Reset

func (x *Moment) Reset()

func (*Moment) String

func (x *Moment) String() string

type MomentFilterOptions

type MomentFilterOptions struct {
	OnlyUserId       *string  `protobuf:"bytes,1,opt,name=onlyUserId,proto3,oneof" json:"onlyUserId,omitempty" form:"onlyUserId" query:"onlyUserId"`
	OnlyCommunityId  *string  `` /* 136-byte string literal not displayed */
	OnlyCommunityIds []string `` /* 134-byte string literal not displayed */
	// contains filtered or unexported fields
}

func (*MomentFilterOptions) Descriptor deprecated

func (*MomentFilterOptions) Descriptor() ([]byte, []int)

Deprecated: Use MomentFilterOptions.ProtoReflect.Descriptor instead.

func (*MomentFilterOptions) GetOnlyCommunityId

func (x *MomentFilterOptions) GetOnlyCommunityId() string

func (*MomentFilterOptions) GetOnlyCommunityIds

func (x *MomentFilterOptions) GetOnlyCommunityIds() []string

func (*MomentFilterOptions) GetOnlyUserId

func (x *MomentFilterOptions) GetOnlyUserId() string

func (*MomentFilterOptions) ProtoMessage

func (*MomentFilterOptions) ProtoMessage()

func (*MomentFilterOptions) ProtoReflect

func (x *MomentFilterOptions) ProtoReflect() protoreflect.Message

func (*MomentFilterOptions) Reset

func (x *MomentFilterOptions) Reset()

func (*MomentFilterOptions) String

func (x *MomentFilterOptions) String() string

type Plan added in v1.0.15

type Plan struct {
	Id           string   `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty" form:"id" query:"id"`
	Name         string   `protobuf:"bytes,2,opt,name=name,proto3" json:"name,omitempty" form:"name" query:"name"`
	Description  string   `protobuf:"bytes,3,opt,name=description,proto3" json:"description,omitempty" form:"description" query:"description"`
	PlanType     PlanType `` /* 134-byte string literal not displayed */
	StartTime    int64    `protobuf:"varint,5,opt,name=startTime,proto3" json:"startTime,omitempty" form:"startTime" query:"startTime"`
	EndTime      int64    `protobuf:"varint,6,opt,name=endTime,proto3" json:"endTime,omitempty" form:"endTime" query:"endTime"`
	CatId        string   `protobuf:"bytes,7,opt,name=catId,proto3" json:"catId,omitempty" form:"catId" query:"catId"`
	InitiatorIds []string `protobuf:"bytes,8,rep,name=initiatorIds,proto3" json:"initiatorIds,omitempty" form:"initiatorIds" query:"initiatorIds"`
	ImageUrls    []string `protobuf:"bytes,9,rep,name=imageUrls,proto3" json:"imageUrls,omitempty" form:"imageUrls" query:"imageUrls"`
	CreateAt     int64    `protobuf:"varint,10,opt,name=createAt,proto3" json:"createAt,omitempty" form:"createAt" query:"createAt"`
	MaxFish      int64    `protobuf:"varint,11,opt,name=maxFish,proto3" json:"maxFish,omitempty" form:"maxFish" query:"maxFish"`
	NowFish      int64    `protobuf:"varint,12,opt,name=nowFish,proto3" json:"nowFish,omitempty" form:"nowFish" query:"nowFish"`
	// contains filtered or unexported fields
}

func (*Plan) Descriptor deprecated added in v1.0.15

func (*Plan) Descriptor() ([]byte, []int)

Deprecated: Use Plan.ProtoReflect.Descriptor instead.

func (*Plan) GetCatId added in v1.0.15

func (x *Plan) GetCatId() string

func (*Plan) GetCreateAt added in v1.0.15

func (x *Plan) GetCreateAt() int64

func (*Plan) GetDescription added in v1.0.15

func (x *Plan) GetDescription() string

func (*Plan) GetEndTime added in v1.0.15

func (x *Plan) GetEndTime() int64

func (*Plan) GetId added in v1.0.15

func (x *Plan) GetId() string

func (*Plan) GetImageUrls added in v1.0.15

func (x *Plan) GetImageUrls() []string

func (*Plan) GetInitiatorIds added in v1.0.15

func (x *Plan) GetInitiatorIds() []string

func (*Plan) GetMaxFish added in v1.0.16

func (x *Plan) GetMaxFish() int64

func (*Plan) GetName added in v1.0.15

func (x *Plan) GetName() string

func (*Plan) GetNowFish added in v1.0.16

func (x *Plan) GetNowFish() int64

func (*Plan) GetPlanType added in v1.0.15

func (x *Plan) GetPlanType() PlanType

func (*Plan) GetStartTime added in v1.0.15

func (x *Plan) GetStartTime() int64

func (*Plan) ProtoMessage added in v1.0.15

func (*Plan) ProtoMessage()

func (*Plan) ProtoReflect added in v1.0.15

func (x *Plan) ProtoReflect() protoreflect.Message

func (*Plan) Reset added in v1.0.15

func (x *Plan) Reset()

func (*Plan) String added in v1.0.15

func (x *Plan) String() string

type PlanFilterOptions added in v1.0.15

type PlanFilterOptions struct {
	OnlyCatId  *string `protobuf:"bytes,1,opt,name=onlyCatId,proto3,oneof" json:"onlyCatId,omitempty" form:"onlyCatId" query:"onlyCatId"`
	OnlyUserId *string `protobuf:"bytes,2,opt,name=onlyUserId,proto3,oneof" json:"onlyUserId,omitempty" form:"onlyUserId" query:"onlyUserId"`
	// contains filtered or unexported fields
}

func (*PlanFilterOptions) Descriptor deprecated added in v1.0.15

func (*PlanFilterOptions) Descriptor() ([]byte, []int)

Deprecated: Use PlanFilterOptions.ProtoReflect.Descriptor instead.

func (*PlanFilterOptions) GetOnlyCatId added in v1.0.15

func (x *PlanFilterOptions) GetOnlyCatId() string

func (*PlanFilterOptions) GetOnlyUserId added in v1.0.15

func (x *PlanFilterOptions) GetOnlyUserId() string

func (*PlanFilterOptions) ProtoMessage added in v1.0.15

func (*PlanFilterOptions) ProtoMessage()

func (*PlanFilterOptions) ProtoReflect added in v1.0.15

func (x *PlanFilterOptions) ProtoReflect() protoreflect.Message

func (*PlanFilterOptions) Reset added in v1.0.15

func (x *PlanFilterOptions) Reset()

func (*PlanFilterOptions) String added in v1.0.15

func (x *PlanFilterOptions) String() string

type PlanType added in v1.0.15

type PlanType int32
const (
	PlanType_TypeFeed     PlanType = 0
	PlanType_TypeCastrate PlanType = 1
	PlanType_TypeHeal     PlanType = 2
)

func (PlanType) Descriptor added in v1.0.15

func (PlanType) Descriptor() protoreflect.EnumDescriptor

func (PlanType) Enum added in v1.0.15

func (x PlanType) Enum() *PlanType

func (PlanType) EnumDescriptor deprecated added in v1.0.15

func (PlanType) EnumDescriptor() ([]byte, []int)

Deprecated: Use PlanType.Descriptor instead.

func (PlanType) Number added in v1.0.15

func (x PlanType) Number() protoreflect.EnumNumber

func (PlanType) String added in v1.0.15

func (x PlanType) String() string

func (PlanType) Type added in v1.0.15

type Post

type Post struct {
	Id         string   `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty" form:"id" query:"id"`
	CreateAt   int64    `protobuf:"varint,2,opt,name=createAt,proto3" json:"createAt,omitempty" form:"createAt" query:"createAt"`
	UpdateAt   int64    `protobuf:"varint,3,opt,name=updateAt,proto3" json:"updateAt,omitempty" form:"updateAt" query:"updateAt"`
	Title      string   `protobuf:"bytes,5,opt,name=title,proto3" json:"title,omitempty" form:"title" query:"title"`
	Text       string   `protobuf:"bytes,6,opt,name=text,proto3" json:"text,omitempty" form:"text" query:"text"`
	CoverUrl   string   `protobuf:"bytes,7,opt,name=coverUrl,proto3" json:"coverUrl,omitempty" form:"coverUrl" query:"coverUrl"`
	Tags       []string `protobuf:"bytes,8,rep,name=tags,proto3" json:"tags,omitempty" form:"tags" query:"tags"`
	UserId     string   `protobuf:"bytes,9,opt,name=userId,proto3" json:"userId,omitempty" form:"userId" query:"userId"`
	IsOfficial bool     `protobuf:"varint,10,opt,name=isOfficial,proto3" json:"isOfficial,omitempty" form:"isOfficial" query:"isOfficial"`
	// contains filtered or unexported fields
}

func (*Post) Descriptor deprecated

func (*Post) Descriptor() ([]byte, []int)

Deprecated: Use Post.ProtoReflect.Descriptor instead.

func (*Post) GetCoverUrl

func (x *Post) GetCoverUrl() string

func (*Post) GetCreateAt

func (x *Post) GetCreateAt() int64

func (*Post) GetId

func (x *Post) GetId() string

func (*Post) GetIsOfficial

func (x *Post) GetIsOfficial() bool

func (*Post) GetTags

func (x *Post) GetTags() []string

func (*Post) GetText

func (x *Post) GetText() string

func (*Post) GetTitle

func (x *Post) GetTitle() string

func (*Post) GetUpdateAt

func (x *Post) GetUpdateAt() int64

func (*Post) GetUserId

func (x *Post) GetUserId() string

func (*Post) ProtoMessage

func (*Post) ProtoMessage()

func (*Post) ProtoReflect

func (x *Post) ProtoReflect() protoreflect.Message

func (*Post) Reset

func (x *Post) Reset()

func (*Post) String

func (x *Post) String() string

type PostFilterOptions

type PostFilterOptions struct {
	OnlyOfficial *bool   `protobuf:"varint,1,opt,name=onlyOfficial,proto3,oneof" json:"onlyOfficial,omitempty" form:"onlyOfficial" query:"onlyOfficial"`
	OnlyUserId   *string `protobuf:"bytes,2,opt,name=onlyUserId,proto3,oneof" json:"onlyUserId,omitempty" form:"onlyUserId" query:"onlyUserId"`
	// contains filtered or unexported fields
}

func (*PostFilterOptions) Descriptor deprecated

func (*PostFilterOptions) Descriptor() ([]byte, []int)

Deprecated: Use PostFilterOptions.ProtoReflect.Descriptor instead.

func (*PostFilterOptions) GetOnlyOfficial

func (x *PostFilterOptions) GetOnlyOfficial() bool

func (*PostFilterOptions) GetOnlyUserId

func (x *PostFilterOptions) GetOnlyUserId() string

func (*PostFilterOptions) ProtoMessage

func (*PostFilterOptions) ProtoMessage()

func (*PostFilterOptions) ProtoReflect

func (x *PostFilterOptions) ProtoReflect() protoreflect.Message

func (*PostFilterOptions) Reset

func (x *PostFilterOptions) Reset()

func (*PostFilterOptions) String

func (x *PostFilterOptions) String() string

type SearchField

type SearchField struct {
	Text  *string `protobuf:"bytes,1,opt,name=text,proto3,oneof" json:"text,omitempty" form:"text" query:"text"`
	Title *string `protobuf:"bytes,2,opt,name=title,proto3,oneof" json:"title,omitempty" form:"title" query:"title"`
	Tag   *string `protobuf:"bytes,3,opt,name=tag,proto3,oneof" json:"tag,omitempty" form:"tag" query:"tag"` // 仅限Post
	// contains filtered or unexported fields
}

func (*SearchField) Descriptor deprecated

func (*SearchField) Descriptor() ([]byte, []int)

Deprecated: Use SearchField.ProtoReflect.Descriptor instead.

func (*SearchField) GetTag

func (x *SearchField) GetTag() string

func (*SearchField) GetText

func (x *SearchField) GetText() string

func (*SearchField) GetTitle

func (x *SearchField) GetTitle() string

func (*SearchField) ProtoMessage

func (*SearchField) ProtoMessage()

func (*SearchField) ProtoReflect

func (x *SearchField) ProtoReflect() protoreflect.Message

func (*SearchField) Reset

func (x *SearchField) Reset()

func (*SearchField) String

func (x *SearchField) String() string

type SearchOptions

type SearchOptions struct {

	// Types that are assignable to Type:
	//
	//	*SearchOptions_AllFieldsKey
	//	*SearchOptions_MultiFieldsKey
	Type isSearchOptions_Type `protobuf_oneof:"Type"`
	// contains filtered or unexported fields
}

func (*SearchOptions) Descriptor deprecated

func (*SearchOptions) Descriptor() ([]byte, []int)

Deprecated: Use SearchOptions.ProtoReflect.Descriptor instead.

func (*SearchOptions) GetAllFieldsKey

func (x *SearchOptions) GetAllFieldsKey() string

func (*SearchOptions) GetMultiFieldsKey

func (x *SearchOptions) GetMultiFieldsKey() *SearchField

func (*SearchOptions) GetType

func (m *SearchOptions) GetType() isSearchOptions_Type

func (*SearchOptions) ProtoMessage

func (*SearchOptions) ProtoMessage()

func (*SearchOptions) ProtoReflect

func (x *SearchOptions) ProtoReflect() protoreflect.Message

func (*SearchOptions) Reset

func (x *SearchOptions) Reset()

func (*SearchOptions) String

func (x *SearchOptions) String() string

type SearchOptions_AllFieldsKey

type SearchOptions_AllFieldsKey struct {
	AllFieldsKey string `protobuf:"bytes,1,opt,name=allFieldsKey,proto3,oneof"`
}

type SearchOptions_MultiFieldsKey

type SearchOptions_MultiFieldsKey struct {
	MultiFieldsKey *SearchField `protobuf:"bytes,2,opt,name=multiFieldsKey,proto3,oneof"`
}

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL