Documentation ¶
Index ¶
- Variables
- type MediaLevel
- type MediaReasonType
- func (MediaReasonType) Descriptor() protoreflect.EnumDescriptor
- func (x MediaReasonType) Enum() *MediaReasonType
- func (MediaReasonType) EnumDescriptor() ([]byte, []int)deprecated
- func (x MediaReasonType) Number() protoreflect.EnumNumber
- func (x MediaReasonType) String() string
- func (MediaReasonType) Type() protoreflect.EnumType
- type MediaStatus
- func (MediaStatus) Descriptor() protoreflect.EnumDescriptor
- func (x MediaStatus) Enum() *MediaStatus
- func (MediaStatus) EnumDescriptor() ([]byte, []int)deprecated
- func (x MediaStatus) Number() protoreflect.EnumNumber
- func (x MediaStatus) String() string
- func (MediaStatus) Type() protoreflect.EnumType
- type MediaType
- type OutUser
Constants ¶
This section is empty.
Variables ¶
View Source
var ( MediaType_name = map[int32]string{ 0: "MediaType_UNUSED", 1: "Image", 2: "Audio", 3: "Video", 4: "OfficeDocument", 5: "Other", 6: "Archive", 7: "ExecutableFile", 8: "Text", 9: "PDF", } MediaType_value = map[string]int32{ "MediaType_UNUSED": 0, "Image": 1, "Audio": 2, "Video": 3, "OfficeDocument": 4, "Other": 5, "Archive": 6, "ExecutableFile": 7, "Text": 8, "PDF": 9, } )
Enum value maps for MediaType.
View Source
var ( MediaStatus_name = map[int32]string{ 0: "MediaStatus_UNUSED", 1: "Valid", 2: "InValid", 3: "Deleted", } MediaStatus_value = map[string]int32{ "MediaStatus_UNUSED": 0, "Valid": 1, "InValid": 2, "Deleted": 3, } )
Enum value maps for MediaStatus.
View Source
var ( MediaReasonType_name = map[int32]string{ 0: "MediaReasonType_UNUSED", 1: "Risky", 2: "UserOpt", 3: "AuditFailure", } MediaReasonType_value = map[string]int32{ "MediaReasonType_UNUSED": 0, "Risky": 1, "UserOpt": 2, "AuditFailure": 3, } )
Enum value maps for MediaReasonType.
View Source
var ( MediaLevel_name = map[int32]string{ 0: "MediaLevel_UNUSED", 1: "General", 2: "Sensitive", } MediaLevel_value = map[string]int32{ "MediaLevel_UNUSED": 0, "General": 1, "Sensitive": 2, } )
Enum value maps for MediaLevel.
View Source
var File_types_proto protoreflect.FileDescriptor
Functions ¶
This section is empty.
Types ¶
type MediaLevel ¶
type MediaLevel int32
const ( MediaLevel_MediaLevel_UNUSED MediaLevel = 0 MediaLevel_General MediaLevel = 1 MediaLevel_Sensitive MediaLevel = 2 )
func (MediaLevel) Descriptor ¶
func (MediaLevel) Descriptor() protoreflect.EnumDescriptor
func (MediaLevel) Enum ¶
func (x MediaLevel) Enum() *MediaLevel
func (MediaLevel) EnumDescriptor
deprecated
func (MediaLevel) EnumDescriptor() ([]byte, []int)
Deprecated: Use MediaLevel.Descriptor instead.
func (MediaLevel) Number ¶
func (x MediaLevel) Number() protoreflect.EnumNumber
func (MediaLevel) String ¶
func (x MediaLevel) String() string
func (MediaLevel) Type ¶
func (MediaLevel) Type() protoreflect.EnumType
type MediaReasonType ¶
type MediaReasonType int32
const ( MediaReasonType_MediaReasonType_UNUSED MediaReasonType = 0 MediaReasonType_Risky MediaReasonType = 1 // 违规 MediaReasonType_UserOpt MediaReasonType = 2 // 用户自己操作 MediaReasonType_AuditFailure MediaReasonType = 3 // 外部平台审核失败, 如上传微信失败等,记录失败原因 )
func (MediaReasonType) Descriptor ¶
func (MediaReasonType) Descriptor() protoreflect.EnumDescriptor
func (MediaReasonType) Enum ¶
func (x MediaReasonType) Enum() *MediaReasonType
func (MediaReasonType) EnumDescriptor
deprecated
func (MediaReasonType) EnumDescriptor() ([]byte, []int)
Deprecated: Use MediaReasonType.Descriptor instead.
func (MediaReasonType) Number ¶
func (x MediaReasonType) Number() protoreflect.EnumNumber
func (MediaReasonType) String ¶
func (x MediaReasonType) String() string
func (MediaReasonType) Type ¶
func (MediaReasonType) Type() protoreflect.EnumType
type MediaStatus ¶
type MediaStatus int32
const ( MediaStatus_MediaStatus_UNUSED MediaStatus = 0 MediaStatus_Valid MediaStatus = 1 MediaStatus_InValid MediaStatus = 2 MediaStatus_Deleted MediaStatus = 3 )
func (MediaStatus) Descriptor ¶
func (MediaStatus) Descriptor() protoreflect.EnumDescriptor
func (MediaStatus) Enum ¶
func (x MediaStatus) Enum() *MediaStatus
func (MediaStatus) EnumDescriptor
deprecated
func (MediaStatus) EnumDescriptor() ([]byte, []int)
Deprecated: Use MediaStatus.Descriptor instead.
func (MediaStatus) Number ¶
func (x MediaStatus) Number() protoreflect.EnumNumber
func (MediaStatus) String ¶
func (x MediaStatus) String() string
func (MediaStatus) Type ¶
func (MediaStatus) Type() protoreflect.EnumType
type MediaType ¶
type MediaType int32
const ( MediaType_MediaType_UNUSED MediaType = 0 MediaType_Image MediaType = 1 // Image, e.g. jpeg, png, gif, bmp MediaType_Audio MediaType = 2 // Audio, e.g. mp3, wav MediaType_Video MediaType = 3 // Video, e.g. mp4, avi MediaType_OfficeDocument MediaType = 4 // office document, e.g. doc, xls, ppt MediaType_Other MediaType = 5 MediaType_Archive MediaType = 6 // Compressed file, e.g: .zip, .rar, .7z MediaType_ExecutableFile MediaType = 7 // Executable file, e.g: .exe, .apk, .ipa, .dmg, .jar MediaType_Text MediaType = 8 // Text, e.g: .txt, .log, .md, .xml, .json, csv MediaType_PDF MediaType = 9 // PDF, e.g: .pdf )
func (MediaType) Descriptor ¶
func (MediaType) Descriptor() protoreflect.EnumDescriptor
func (MediaType) EnumDescriptor
deprecated
func (MediaType) Number ¶
func (x MediaType) Number() protoreflect.EnumNumber
func (MediaType) Type ¶
func (MediaType) Type() protoreflect.EnumType
type OutUser ¶
type OutUser struct { Id int64 `protobuf:"varint,1,opt,name=id,proto3" json:"id,omitempty"` CompanyId int64 `protobuf:"varint,2,opt,name=company_id,proto3" json:"company_id,omitempty"` // contains filtered or unexported fields }
func (*OutUser) Descriptor
deprecated
func (*OutUser) GetCompanyId ¶
func (*OutUser) ProtoMessage ¶
func (*OutUser) ProtoMessage()
func (*OutUser) ProtoReflect ¶
func (x *OutUser) ProtoReflect() protoreflect.Message
Click to show internal directories.
Click to hide internal directories.