content

package
v1.0.13 Latest Latest
Warning

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

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

Documentation

Index

Constants

This section is empty.

Variables

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 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