Documentation ¶
Index ¶
- Variables
- func RegisterAutomoderationAPIServer(s grpc.ServiceRegistrar, srv AutomoderationAPIServer)
- type AutomoderatableCircleChatMessage
- func (*AutomoderatableCircleChatMessage) Descriptor() ([]byte, []int)deprecated
- func (x *AutomoderatableCircleChatMessage) GetCircleID() string
- func (x *AutomoderatableCircleChatMessage) GetContent() string
- func (x *AutomoderatableCircleChatMessage) GetId() string
- func (x *AutomoderatableCircleChatMessage) GetUserID() string
- func (*AutomoderatableCircleChatMessage) ProtoMessage()
- func (x *AutomoderatableCircleChatMessage) ProtoReflect() protoreflect.Message
- func (x *AutomoderatableCircleChatMessage) Reset()
- func (x *AutomoderatableCircleChatMessage) String() string
- type AutomoderatableCirclePost
- func (*AutomoderatableCirclePost) Descriptor() ([]byte, []int)deprecated
- func (x *AutomoderatableCirclePost) GetCircleID() string
- func (x *AutomoderatableCirclePost) GetData() *v1.Post_Data
- func (x *AutomoderatableCirclePost) GetId() string
- func (x *AutomoderatableCirclePost) GetUserID() string
- func (*AutomoderatableCirclePost) ProtoMessage()
- func (x *AutomoderatableCirclePost) ProtoReflect() protoreflect.Message
- func (x *AutomoderatableCirclePost) Reset()
- func (x *AutomoderatableCirclePost) String() string
- type AutomoderatableData
- func (*AutomoderatableData) Descriptor() ([]byte, []int)deprecated
- func (x *AutomoderatableData) GetCircleChatMessage() *AutomoderatableCircleChatMessage
- func (x *AutomoderatableData) GetCirclePost() *AutomoderatableCirclePost
- func (m *AutomoderatableData) GetData() isAutomoderatableData_Data
- func (*AutomoderatableData) ProtoMessage()
- func (x *AutomoderatableData) ProtoReflect() protoreflect.Message
- func (x *AutomoderatableData) Reset()
- func (x *AutomoderatableData) String() string
- type AutomoderatableData_CircleChatMessage
- type AutomoderatableData_CirclePost
- type AutomoderationAPIClient
- type AutomoderationAPIServer
- type CircleRule
- func (*CircleRule) Descriptor() ([]byte, []int)deprecated
- func (x *CircleRule) GetAction() string
- func (x *CircleRule) GetCircleId() string
- func (x *CircleRule) GetCondition() string
- func (x *CircleRule) GetContentType() CircleRule_ContentType
- func (x *CircleRule) GetId() string
- func (x *CircleRule) GetIsEnabled() bool
- func (*CircleRule) ProtoMessage()
- func (x *CircleRule) ProtoReflect() protoreflect.Message
- func (x *CircleRule) Reset()
- func (x *CircleRule) String() string
- type CircleRule_ContentType
- func (CircleRule_ContentType) Descriptor() protoreflect.EnumDescriptor
- func (x CircleRule_ContentType) Enum() *CircleRule_ContentType
- func (CircleRule_ContentType) EnumDescriptor() ([]byte, []int)deprecated
- func (x CircleRule_ContentType) Number() protoreflect.EnumNumber
- func (x CircleRule_ContentType) String() string
- func (CircleRule_ContentType) Type() protoreflect.EnumType
- type CircleSettings
- func (*CircleSettings) Descriptor() ([]byte, []int)deprecated
- func (x *CircleSettings) GetIsEnabled() bool
- func (x *CircleSettings) GetIsShown() bool
- func (*CircleSettings) ProtoMessage()
- func (x *CircleSettings) ProtoReflect() protoreflect.Message
- func (x *CircleSettings) Reset()
- func (x *CircleSettings) String() string
- type CreateCircleRuleRequest
- func (*CreateCircleRuleRequest) Descriptor() ([]byte, []int)deprecated
- func (x *CreateCircleRuleRequest) GetRule() *CircleRule
- func (*CreateCircleRuleRequest) ProtoMessage()
- func (x *CreateCircleRuleRequest) ProtoReflect() protoreflect.Message
- func (x *CreateCircleRuleRequest) Reset()
- func (x *CreateCircleRuleRequest) String() string
- type DeleteCircleRuleRequest
- func (*DeleteCircleRuleRequest) Descriptor() ([]byte, []int)deprecated
- func (x *DeleteCircleRuleRequest) GetRule() *CircleRule
- func (*DeleteCircleRuleRequest) ProtoMessage()
- func (x *DeleteCircleRuleRequest) ProtoReflect() protoreflect.Message
- func (x *DeleteCircleRuleRequest) Reset()
- func (x *DeleteCircleRuleRequest) String() string
- type Empty
- type GetAvailableActionsResponse
- func (*GetAvailableActionsResponse) Descriptor() ([]byte, []int)deprecated
- func (x *GetAvailableActionsResponse) GetActions() []string
- func (*GetAvailableActionsResponse) ProtoMessage()
- func (x *GetAvailableActionsResponse) ProtoReflect() protoreflect.Message
- func (x *GetAvailableActionsResponse) Reset()
- func (x *GetAvailableActionsResponse) String() string
- type GetCircleSettingsRequest
- func (*GetCircleSettingsRequest) Descriptor() ([]byte, []int)deprecated
- func (x *GetCircleSettingsRequest) GetCircleId() string
- func (x *GetCircleSettingsRequest) GetWithRules() bool
- func (*GetCircleSettingsRequest) ProtoMessage()
- func (x *GetCircleSettingsRequest) ProtoReflect() protoreflect.Message
- func (x *GetCircleSettingsRequest) Reset()
- func (x *GetCircleSettingsRequest) String() string
- type GetCircleSettingsResponse
- func (*GetCircleSettingsResponse) Descriptor() ([]byte, []int)deprecated
- func (x *GetCircleSettingsResponse) GetRules() []*CircleRule
- func (x *GetCircleSettingsResponse) GetSettings() *CircleSettings
- func (*GetCircleSettingsResponse) ProtoMessage()
- func (x *GetCircleSettingsResponse) ProtoReflect() protoreflect.Message
- func (x *GetCircleSettingsResponse) Reset()
- func (x *GetCircleSettingsResponse) String() string
- type GetTagsFromContentRequest
- func (*GetTagsFromContentRequest) Descriptor() ([]byte, []int)deprecated
- func (x *GetTagsFromContentRequest) GetContent() string
- func (*GetTagsFromContentRequest) ProtoMessage()
- func (x *GetTagsFromContentRequest) ProtoReflect() protoreflect.Message
- func (x *GetTagsFromContentRequest) Reset()
- func (x *GetTagsFromContentRequest) String() string
- type GetTagsFromContentResponse
- func (*GetTagsFromContentResponse) Descriptor() ([]byte, []int)deprecated
- func (x *GetTagsFromContentResponse) GetTags() []string
- func (*GetTagsFromContentResponse) ProtoMessage()
- func (x *GetTagsFromContentResponse) ProtoReflect() protoreflect.Message
- func (x *GetTagsFromContentResponse) Reset()
- func (x *GetTagsFromContentResponse) String() string
- type UnimplementedAutomoderationAPIServer
- func (UnimplementedAutomoderationAPIServer) CreateCircleRule(context.Context, *CreateCircleRuleRequest) (*Empty, error)
- func (UnimplementedAutomoderationAPIServer) DeleteCircleRule(context.Context, *DeleteCircleRuleRequest) (*Empty, error)
- func (UnimplementedAutomoderationAPIServer) GetAvailableActions(context.Context, *Empty) (*GetAvailableActionsResponse, error)
- func (UnimplementedAutomoderationAPIServer) GetCircleSettings(context.Context, *GetCircleSettingsRequest) (*GetCircleSettingsResponse, error)
- func (UnimplementedAutomoderationAPIServer) GetTagsFromContent(context.Context, *GetTagsFromContentRequest) (*GetTagsFromContentResponse, error)
- func (UnimplementedAutomoderationAPIServer) UpdateCircleRule(context.Context, *UpdateCircleRuleRequest) (*Empty, error)
- func (UnimplementedAutomoderationAPIServer) UpdateCircleSettings(context.Context, *UpdateCircleSettingsRequest) (*Empty, error)
- type UnsafeAutomoderationAPIServer
- type UpdateCircleRuleRequest
- func (*UpdateCircleRuleRequest) Descriptor() ([]byte, []int)deprecated
- func (x *UpdateCircleRuleRequest) GetRule() *CircleRule
- func (*UpdateCircleRuleRequest) ProtoMessage()
- func (x *UpdateCircleRuleRequest) ProtoReflect() protoreflect.Message
- func (x *UpdateCircleRuleRequest) Reset()
- func (x *UpdateCircleRuleRequest) String() string
- type UpdateCircleSettingsRequest
- func (*UpdateCircleSettingsRequest) Descriptor() ([]byte, []int)deprecated
- func (x *UpdateCircleSettingsRequest) GetCircleId() string
- func (x *UpdateCircleSettingsRequest) GetSettings() *CircleSettings
- func (*UpdateCircleSettingsRequest) ProtoMessage()
- func (x *UpdateCircleSettingsRequest) ProtoReflect() protoreflect.Message
- func (x *UpdateCircleSettingsRequest) Reset()
- func (x *UpdateCircleSettingsRequest) String() string
Constants ¶
This section is empty.
Variables ¶
var ( CircleRule_ContentType_name = map[int32]string{ 0: "circleChat", 1: "circlePostText", 2: "circlePostLink", 3: "circlePostImage", 4: "circlePostVideo", 5: "circlePostPoll", 6: "circlePostAudio", } CircleRule_ContentType_value = map[string]int32{ "circleChat": 0, "circlePostText": 1, "circlePostLink": 2, "circlePostImage": 3, "circlePostVideo": 4, "circlePostPoll": 5, "circlePostAudio": 6, } )
Enum value maps for CircleRule_ContentType.
var AutomoderationAPI_ServiceDesc = grpc.ServiceDesc{ ServiceName: "automoderation_api.v1.AutomoderationAPI", HandlerType: (*AutomoderationAPIServer)(nil), Methods: []grpc.MethodDesc{ { MethodName: "GetCircleSettings", Handler: _AutomoderationAPI_GetCircleSettings_Handler, }, { MethodName: "UpdateCircleSettings", Handler: _AutomoderationAPI_UpdateCircleSettings_Handler, }, { MethodName: "CreateCircleRule", Handler: _AutomoderationAPI_CreateCircleRule_Handler, }, { MethodName: "UpdateCircleRule", Handler: _AutomoderationAPI_UpdateCircleRule_Handler, }, { MethodName: "DeleteCircleRule", Handler: _AutomoderationAPI_DeleteCircleRule_Handler, }, { MethodName: "GetAvailableActions", Handler: _AutomoderationAPI_GetAvailableActions_Handler, }, { MethodName: "GetTagsFromContent", Handler: _AutomoderationAPI_GetTagsFromContent_Handler, }, }, Streams: []grpc.StreamDesc{}, Metadata: "automoderation-api/automoderation/v1/automoderation.proto", }
AutomoderationAPI_ServiceDesc is the grpc.ServiceDesc for AutomoderationAPI service. It's only intended for direct use with grpc.RegisterService, and not to be introspected or modified (even as a copy)
var File_automoderation_api_automoderation_v1_automoderation_proto protoreflect.FileDescriptor
Functions ¶
func RegisterAutomoderationAPIServer ¶
func RegisterAutomoderationAPIServer(s grpc.ServiceRegistrar, srv AutomoderationAPIServer)
Types ¶
type AutomoderatableCircleChatMessage ¶
type AutomoderatableCircleChatMessage struct { Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"` UserID string `protobuf:"bytes,2,opt,name=userID,proto3" json:"userID,omitempty"` CircleID string `protobuf:"bytes,3,opt,name=circleID,proto3" json:"circleID,omitempty"` Content string `protobuf:"bytes,4,opt,name=content,proto3" json:"content,omitempty"` // contains filtered or unexported fields }
func (*AutomoderatableCircleChatMessage) Descriptor
deprecated
func (*AutomoderatableCircleChatMessage) Descriptor() ([]byte, []int)
Deprecated: Use AutomoderatableCircleChatMessage.ProtoReflect.Descriptor instead.
func (*AutomoderatableCircleChatMessage) GetCircleID ¶
func (x *AutomoderatableCircleChatMessage) GetCircleID() string
func (*AutomoderatableCircleChatMessage) GetContent ¶
func (x *AutomoderatableCircleChatMessage) GetContent() string
func (*AutomoderatableCircleChatMessage) GetId ¶
func (x *AutomoderatableCircleChatMessage) GetId() string
func (*AutomoderatableCircleChatMessage) GetUserID ¶
func (x *AutomoderatableCircleChatMessage) GetUserID() string
func (*AutomoderatableCircleChatMessage) ProtoMessage ¶
func (*AutomoderatableCircleChatMessage) ProtoMessage()
func (*AutomoderatableCircleChatMessage) ProtoReflect ¶
func (x *AutomoderatableCircleChatMessage) ProtoReflect() protoreflect.Message
func (*AutomoderatableCircleChatMessage) Reset ¶
func (x *AutomoderatableCircleChatMessage) Reset()
func (*AutomoderatableCircleChatMessage) String ¶
func (x *AutomoderatableCircleChatMessage) String() string
type AutomoderatableCirclePost ¶
type AutomoderatableCirclePost struct { Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"` UserID string `protobuf:"bytes,2,opt,name=userID,proto3" json:"userID,omitempty"` CircleID string `protobuf:"bytes,3,opt,name=circleID,proto3" json:"circleID,omitempty"` Data *v1.Post_Data `protobuf:"bytes,4,opt,name=data,proto3" json:"data,omitempty"` // repeated string tags = 5; // for preprocessed videos // contains filtered or unexported fields }
func (*AutomoderatableCirclePost) Descriptor
deprecated
func (*AutomoderatableCirclePost) Descriptor() ([]byte, []int)
Deprecated: Use AutomoderatableCirclePost.ProtoReflect.Descriptor instead.
func (*AutomoderatableCirclePost) GetCircleID ¶
func (x *AutomoderatableCirclePost) GetCircleID() string
func (*AutomoderatableCirclePost) GetData ¶
func (x *AutomoderatableCirclePost) GetData() *v1.Post_Data
func (*AutomoderatableCirclePost) GetId ¶
func (x *AutomoderatableCirclePost) GetId() string
func (*AutomoderatableCirclePost) GetUserID ¶
func (x *AutomoderatableCirclePost) GetUserID() string
func (*AutomoderatableCirclePost) ProtoMessage ¶
func (*AutomoderatableCirclePost) ProtoMessage()
func (*AutomoderatableCirclePost) ProtoReflect ¶
func (x *AutomoderatableCirclePost) ProtoReflect() protoreflect.Message
func (*AutomoderatableCirclePost) Reset ¶
func (x *AutomoderatableCirclePost) Reset()
func (*AutomoderatableCirclePost) String ¶
func (x *AutomoderatableCirclePost) String() string
type AutomoderatableData ¶
type AutomoderatableData struct { // Types that are assignable to Data: // // *AutomoderatableData_CircleChatMessage // *AutomoderatableData_CirclePost Data isAutomoderatableData_Data `protobuf_oneof:"data"` // contains filtered or unexported fields }
func (*AutomoderatableData) Descriptor
deprecated
func (*AutomoderatableData) Descriptor() ([]byte, []int)
Deprecated: Use AutomoderatableData.ProtoReflect.Descriptor instead.
func (*AutomoderatableData) GetCircleChatMessage ¶
func (x *AutomoderatableData) GetCircleChatMessage() *AutomoderatableCircleChatMessage
func (*AutomoderatableData) GetCirclePost ¶
func (x *AutomoderatableData) GetCirclePost() *AutomoderatableCirclePost
func (*AutomoderatableData) GetData ¶
func (m *AutomoderatableData) GetData() isAutomoderatableData_Data
func (*AutomoderatableData) ProtoMessage ¶
func (*AutomoderatableData) ProtoMessage()
func (*AutomoderatableData) ProtoReflect ¶
func (x *AutomoderatableData) ProtoReflect() protoreflect.Message
func (*AutomoderatableData) Reset ¶
func (x *AutomoderatableData) Reset()
func (*AutomoderatableData) String ¶
func (x *AutomoderatableData) String() string
type AutomoderatableData_CircleChatMessage ¶
type AutomoderatableData_CircleChatMessage struct {
CircleChatMessage *AutomoderatableCircleChatMessage `protobuf:"bytes,1,opt,name=circleChatMessage,proto3,oneof"`
}
type AutomoderatableData_CirclePost ¶
type AutomoderatableData_CirclePost struct {
CirclePost *AutomoderatableCirclePost `protobuf:"bytes,2,opt,name=circlePost,proto3,oneof"`
}
type AutomoderationAPIClient ¶
type AutomoderationAPIClient interface { GetCircleSettings(ctx context.Context, in *GetCircleSettingsRequest, opts ...grpc.CallOption) (*GetCircleSettingsResponse, error) UpdateCircleSettings(ctx context.Context, in *UpdateCircleSettingsRequest, opts ...grpc.CallOption) (*Empty, error) CreateCircleRule(ctx context.Context, in *CreateCircleRuleRequest, opts ...grpc.CallOption) (*Empty, error) UpdateCircleRule(ctx context.Context, in *UpdateCircleRuleRequest, opts ...grpc.CallOption) (*Empty, error) DeleteCircleRule(ctx context.Context, in *DeleteCircleRuleRequest, opts ...grpc.CallOption) (*Empty, error) GetAvailableActions(ctx context.Context, in *Empty, opts ...grpc.CallOption) (*GetAvailableActionsResponse, error) GetTagsFromContent(ctx context.Context, in *GetTagsFromContentRequest, opts ...grpc.CallOption) (*GetTagsFromContentResponse, error) }
AutomoderationAPIClient is the client API for AutomoderationAPI service.
For semantics around ctx use and closing/ending streaming RPCs, please refer to https://pkg.go.dev/google.golang.org/grpc/?tab=doc#ClientConn.NewStream.
func NewAutomoderationAPIClient ¶
func NewAutomoderationAPIClient(cc grpc.ClientConnInterface) AutomoderationAPIClient
type AutomoderationAPIServer ¶
type AutomoderationAPIServer interface { GetCircleSettings(context.Context, *GetCircleSettingsRequest) (*GetCircleSettingsResponse, error) UpdateCircleSettings(context.Context, *UpdateCircleSettingsRequest) (*Empty, error) CreateCircleRule(context.Context, *CreateCircleRuleRequest) (*Empty, error) UpdateCircleRule(context.Context, *UpdateCircleRuleRequest) (*Empty, error) DeleteCircleRule(context.Context, *DeleteCircleRuleRequest) (*Empty, error) GetAvailableActions(context.Context, *Empty) (*GetAvailableActionsResponse, error) GetTagsFromContent(context.Context, *GetTagsFromContentRequest) (*GetTagsFromContentResponse, error) // contains filtered or unexported methods }
AutomoderationAPIServer is the server API for AutomoderationAPI service. All implementations must embed UnimplementedAutomoderationAPIServer for forward compatibility
type CircleRule ¶
type CircleRule struct { Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"` CircleId string `protobuf:"bytes,2,opt,name=circleId,proto3" json:"circleId,omitempty"` Action string `protobuf:"bytes,3,opt,name=action,proto3" json:"action,omitempty"` Condition string `protobuf:"bytes,4,opt,name=condition,proto3" json:"condition,omitempty"` IsEnabled bool `protobuf:"varint,5,opt,name=isEnabled,proto3" json:"isEnabled,omitempty"` ContentType CircleRule_ContentType `` /* 126-byte string literal not displayed */ // contains filtered or unexported fields }
func (*CircleRule) Descriptor
deprecated
func (*CircleRule) Descriptor() ([]byte, []int)
Deprecated: Use CircleRule.ProtoReflect.Descriptor instead.
func (*CircleRule) GetAction ¶
func (x *CircleRule) GetAction() string
func (*CircleRule) GetCircleId ¶
func (x *CircleRule) GetCircleId() string
func (*CircleRule) GetCondition ¶
func (x *CircleRule) GetCondition() string
func (*CircleRule) GetContentType ¶
func (x *CircleRule) GetContentType() CircleRule_ContentType
func (*CircleRule) GetId ¶
func (x *CircleRule) GetId() string
func (*CircleRule) GetIsEnabled ¶
func (x *CircleRule) GetIsEnabled() bool
func (*CircleRule) ProtoMessage ¶
func (*CircleRule) ProtoMessage()
func (*CircleRule) ProtoReflect ¶
func (x *CircleRule) ProtoReflect() protoreflect.Message
func (*CircleRule) Reset ¶
func (x *CircleRule) Reset()
func (*CircleRule) String ¶
func (x *CircleRule) String() string
type CircleRule_ContentType ¶
type CircleRule_ContentType int32
const ( CircleRule_circleChat CircleRule_ContentType = 0 CircleRule_circlePostText CircleRule_ContentType = 1 CircleRule_circlePostLink CircleRule_ContentType = 2 CircleRule_circlePostImage CircleRule_ContentType = 3 CircleRule_circlePostVideo CircleRule_ContentType = 4 CircleRule_circlePostPoll CircleRule_ContentType = 5 CircleRule_circlePostAudio CircleRule_ContentType = 6 )
func (CircleRule_ContentType) Descriptor ¶
func (CircleRule_ContentType) Descriptor() protoreflect.EnumDescriptor
func (CircleRule_ContentType) Enum ¶
func (x CircleRule_ContentType) Enum() *CircleRule_ContentType
func (CircleRule_ContentType) EnumDescriptor
deprecated
func (CircleRule_ContentType) EnumDescriptor() ([]byte, []int)
Deprecated: Use CircleRule_ContentType.Descriptor instead.
func (CircleRule_ContentType) Number ¶
func (x CircleRule_ContentType) Number() protoreflect.EnumNumber
func (CircleRule_ContentType) String ¶
func (x CircleRule_ContentType) String() string
func (CircleRule_ContentType) Type ¶
func (CircleRule_ContentType) Type() protoreflect.EnumType
type CircleSettings ¶
type CircleSettings struct { IsShown bool `protobuf:"varint,1,opt,name=isShown,proto3" json:"isShown,omitempty"` IsEnabled bool `protobuf:"varint,2,opt,name=isEnabled,proto3" json:"isEnabled,omitempty"` // contains filtered or unexported fields }
func (*CircleSettings) Descriptor
deprecated
func (*CircleSettings) Descriptor() ([]byte, []int)
Deprecated: Use CircleSettings.ProtoReflect.Descriptor instead.
func (*CircleSettings) GetIsEnabled ¶
func (x *CircleSettings) GetIsEnabled() bool
func (*CircleSettings) GetIsShown ¶
func (x *CircleSettings) GetIsShown() bool
func (*CircleSettings) ProtoMessage ¶
func (*CircleSettings) ProtoMessage()
func (*CircleSettings) ProtoReflect ¶
func (x *CircleSettings) ProtoReflect() protoreflect.Message
func (*CircleSettings) Reset ¶
func (x *CircleSettings) Reset()
func (*CircleSettings) String ¶
func (x *CircleSettings) String() string
type CreateCircleRuleRequest ¶
type CreateCircleRuleRequest struct { Rule *CircleRule `protobuf:"bytes,1,opt,name=rule,proto3" json:"rule,omitempty"` // contains filtered or unexported fields }
func (*CreateCircleRuleRequest) Descriptor
deprecated
func (*CreateCircleRuleRequest) Descriptor() ([]byte, []int)
Deprecated: Use CreateCircleRuleRequest.ProtoReflect.Descriptor instead.
func (*CreateCircleRuleRequest) GetRule ¶
func (x *CreateCircleRuleRequest) GetRule() *CircleRule
func (*CreateCircleRuleRequest) ProtoMessage ¶
func (*CreateCircleRuleRequest) ProtoMessage()
func (*CreateCircleRuleRequest) ProtoReflect ¶
func (x *CreateCircleRuleRequest) ProtoReflect() protoreflect.Message
func (*CreateCircleRuleRequest) Reset ¶
func (x *CreateCircleRuleRequest) Reset()
func (*CreateCircleRuleRequest) String ¶
func (x *CreateCircleRuleRequest) String() string
type DeleteCircleRuleRequest ¶
type DeleteCircleRuleRequest struct { Rule *CircleRule `protobuf:"bytes,1,opt,name=rule,proto3" json:"rule,omitempty"` // contains filtered or unexported fields }
func (*DeleteCircleRuleRequest) Descriptor
deprecated
func (*DeleteCircleRuleRequest) Descriptor() ([]byte, []int)
Deprecated: Use DeleteCircleRuleRequest.ProtoReflect.Descriptor instead.
func (*DeleteCircleRuleRequest) GetRule ¶
func (x *DeleteCircleRuleRequest) GetRule() *CircleRule
func (*DeleteCircleRuleRequest) ProtoMessage ¶
func (*DeleteCircleRuleRequest) ProtoMessage()
func (*DeleteCircleRuleRequest) ProtoReflect ¶
func (x *DeleteCircleRuleRequest) ProtoReflect() protoreflect.Message
func (*DeleteCircleRuleRequest) Reset ¶
func (x *DeleteCircleRuleRequest) Reset()
func (*DeleteCircleRuleRequest) String ¶
func (x *DeleteCircleRuleRequest) String() string
type Empty ¶
type Empty struct {
// contains filtered or unexported fields
}
func (*Empty) Descriptor
deprecated
func (*Empty) ProtoMessage ¶
func (*Empty) ProtoMessage()
func (*Empty) ProtoReflect ¶
func (x *Empty) ProtoReflect() protoreflect.Message
type GetAvailableActionsResponse ¶
type GetAvailableActionsResponse struct { Actions []string `protobuf:"bytes,1,rep,name=actions,proto3" json:"actions,omitempty"` // contains filtered or unexported fields }
func (*GetAvailableActionsResponse) Descriptor
deprecated
func (*GetAvailableActionsResponse) Descriptor() ([]byte, []int)
Deprecated: Use GetAvailableActionsResponse.ProtoReflect.Descriptor instead.
func (*GetAvailableActionsResponse) GetActions ¶
func (x *GetAvailableActionsResponse) GetActions() []string
func (*GetAvailableActionsResponse) ProtoMessage ¶
func (*GetAvailableActionsResponse) ProtoMessage()
func (*GetAvailableActionsResponse) ProtoReflect ¶
func (x *GetAvailableActionsResponse) ProtoReflect() protoreflect.Message
func (*GetAvailableActionsResponse) Reset ¶
func (x *GetAvailableActionsResponse) Reset()
func (*GetAvailableActionsResponse) String ¶
func (x *GetAvailableActionsResponse) String() string
type GetCircleSettingsRequest ¶
type GetCircleSettingsRequest struct { CircleId string `protobuf:"bytes,1,opt,name=circleId,proto3" json:"circleId,omitempty"` WithRules bool `protobuf:"varint,2,opt,name=withRules,proto3" json:"withRules,omitempty"` // contains filtered or unexported fields }
func (*GetCircleSettingsRequest) Descriptor
deprecated
func (*GetCircleSettingsRequest) Descriptor() ([]byte, []int)
Deprecated: Use GetCircleSettingsRequest.ProtoReflect.Descriptor instead.
func (*GetCircleSettingsRequest) GetCircleId ¶
func (x *GetCircleSettingsRequest) GetCircleId() string
func (*GetCircleSettingsRequest) GetWithRules ¶
func (x *GetCircleSettingsRequest) GetWithRules() bool
func (*GetCircleSettingsRequest) ProtoMessage ¶
func (*GetCircleSettingsRequest) ProtoMessage()
func (*GetCircleSettingsRequest) ProtoReflect ¶
func (x *GetCircleSettingsRequest) ProtoReflect() protoreflect.Message
func (*GetCircleSettingsRequest) Reset ¶
func (x *GetCircleSettingsRequest) Reset()
func (*GetCircleSettingsRequest) String ¶
func (x *GetCircleSettingsRequest) String() string
type GetCircleSettingsResponse ¶
type GetCircleSettingsResponse struct { Settings *CircleSettings `protobuf:"bytes,1,opt,name=settings,proto3" json:"settings,omitempty"` Rules []*CircleRule `protobuf:"bytes,2,rep,name=rules,proto3" json:"rules,omitempty"` // contains filtered or unexported fields }
func (*GetCircleSettingsResponse) Descriptor
deprecated
func (*GetCircleSettingsResponse) Descriptor() ([]byte, []int)
Deprecated: Use GetCircleSettingsResponse.ProtoReflect.Descriptor instead.
func (*GetCircleSettingsResponse) GetRules ¶
func (x *GetCircleSettingsResponse) GetRules() []*CircleRule
func (*GetCircleSettingsResponse) GetSettings ¶
func (x *GetCircleSettingsResponse) GetSettings() *CircleSettings
func (*GetCircleSettingsResponse) ProtoMessage ¶
func (*GetCircleSettingsResponse) ProtoMessage()
func (*GetCircleSettingsResponse) ProtoReflect ¶
func (x *GetCircleSettingsResponse) ProtoReflect() protoreflect.Message
func (*GetCircleSettingsResponse) Reset ¶
func (x *GetCircleSettingsResponse) Reset()
func (*GetCircleSettingsResponse) String ¶
func (x *GetCircleSettingsResponse) String() string
type GetTagsFromContentRequest ¶ added in v0.2.57
type GetTagsFromContentRequest struct { Content string `protobuf:"bytes,1,opt,name=content,proto3" json:"content,omitempty"` // contains filtered or unexported fields }
func (*GetTagsFromContentRequest) Descriptor
deprecated
added in
v0.2.57
func (*GetTagsFromContentRequest) Descriptor() ([]byte, []int)
Deprecated: Use GetTagsFromContentRequest.ProtoReflect.Descriptor instead.
func (*GetTagsFromContentRequest) GetContent ¶ added in v0.2.57
func (x *GetTagsFromContentRequest) GetContent() string
func (*GetTagsFromContentRequest) ProtoMessage ¶ added in v0.2.57
func (*GetTagsFromContentRequest) ProtoMessage()
func (*GetTagsFromContentRequest) ProtoReflect ¶ added in v0.2.57
func (x *GetTagsFromContentRequest) ProtoReflect() protoreflect.Message
func (*GetTagsFromContentRequest) Reset ¶ added in v0.2.57
func (x *GetTagsFromContentRequest) Reset()
func (*GetTagsFromContentRequest) String ¶ added in v0.2.57
func (x *GetTagsFromContentRequest) String() string
type GetTagsFromContentResponse ¶ added in v0.2.57
type GetTagsFromContentResponse struct { Tags []string `protobuf:"bytes,1,rep,name=tags,proto3" json:"tags,omitempty"` // contains filtered or unexported fields }
func (*GetTagsFromContentResponse) Descriptor
deprecated
added in
v0.2.57
func (*GetTagsFromContentResponse) Descriptor() ([]byte, []int)
Deprecated: Use GetTagsFromContentResponse.ProtoReflect.Descriptor instead.
func (*GetTagsFromContentResponse) GetTags ¶ added in v0.2.57
func (x *GetTagsFromContentResponse) GetTags() []string
func (*GetTagsFromContentResponse) ProtoMessage ¶ added in v0.2.57
func (*GetTagsFromContentResponse) ProtoMessage()
func (*GetTagsFromContentResponse) ProtoReflect ¶ added in v0.2.57
func (x *GetTagsFromContentResponse) ProtoReflect() protoreflect.Message
func (*GetTagsFromContentResponse) Reset ¶ added in v0.2.57
func (x *GetTagsFromContentResponse) Reset()
func (*GetTagsFromContentResponse) String ¶ added in v0.2.57
func (x *GetTagsFromContentResponse) String() string
type UnimplementedAutomoderationAPIServer ¶
type UnimplementedAutomoderationAPIServer struct { }
UnimplementedAutomoderationAPIServer must be embedded to have forward compatible implementations.
func (UnimplementedAutomoderationAPIServer) CreateCircleRule ¶
func (UnimplementedAutomoderationAPIServer) CreateCircleRule(context.Context, *CreateCircleRuleRequest) (*Empty, error)
func (UnimplementedAutomoderationAPIServer) DeleteCircleRule ¶
func (UnimplementedAutomoderationAPIServer) DeleteCircleRule(context.Context, *DeleteCircleRuleRequest) (*Empty, error)
func (UnimplementedAutomoderationAPIServer) GetAvailableActions ¶
func (UnimplementedAutomoderationAPIServer) GetAvailableActions(context.Context, *Empty) (*GetAvailableActionsResponse, error)
func (UnimplementedAutomoderationAPIServer) GetCircleSettings ¶
func (UnimplementedAutomoderationAPIServer) GetCircleSettings(context.Context, *GetCircleSettingsRequest) (*GetCircleSettingsResponse, error)
func (UnimplementedAutomoderationAPIServer) GetTagsFromContent ¶ added in v0.2.57
func (UnimplementedAutomoderationAPIServer) GetTagsFromContent(context.Context, *GetTagsFromContentRequest) (*GetTagsFromContentResponse, error)
func (UnimplementedAutomoderationAPIServer) UpdateCircleRule ¶
func (UnimplementedAutomoderationAPIServer) UpdateCircleRule(context.Context, *UpdateCircleRuleRequest) (*Empty, error)
func (UnimplementedAutomoderationAPIServer) UpdateCircleSettings ¶
func (UnimplementedAutomoderationAPIServer) UpdateCircleSettings(context.Context, *UpdateCircleSettingsRequest) (*Empty, error)
type UnsafeAutomoderationAPIServer ¶
type UnsafeAutomoderationAPIServer interface {
// contains filtered or unexported methods
}
UnsafeAutomoderationAPIServer may be embedded to opt out of forward compatibility for this service. Use of this interface is not recommended, as added methods to AutomoderationAPIServer will result in compilation errors.
type UpdateCircleRuleRequest ¶
type UpdateCircleRuleRequest struct { Rule *CircleRule `protobuf:"bytes,1,opt,name=rule,proto3" json:"rule,omitempty"` // contains filtered or unexported fields }
func (*UpdateCircleRuleRequest) Descriptor
deprecated
func (*UpdateCircleRuleRequest) Descriptor() ([]byte, []int)
Deprecated: Use UpdateCircleRuleRequest.ProtoReflect.Descriptor instead.
func (*UpdateCircleRuleRequest) GetRule ¶
func (x *UpdateCircleRuleRequest) GetRule() *CircleRule
func (*UpdateCircleRuleRequest) ProtoMessage ¶
func (*UpdateCircleRuleRequest) ProtoMessage()
func (*UpdateCircleRuleRequest) ProtoReflect ¶
func (x *UpdateCircleRuleRequest) ProtoReflect() protoreflect.Message
func (*UpdateCircleRuleRequest) Reset ¶
func (x *UpdateCircleRuleRequest) Reset()
func (*UpdateCircleRuleRequest) String ¶
func (x *UpdateCircleRuleRequest) String() string
type UpdateCircleSettingsRequest ¶
type UpdateCircleSettingsRequest struct { CircleId string `protobuf:"bytes,1,opt,name=circleId,proto3" json:"circleId,omitempty"` Settings *CircleSettings `protobuf:"bytes,2,opt,name=settings,proto3" json:"settings,omitempty"` // contains filtered or unexported fields }
func (*UpdateCircleSettingsRequest) Descriptor
deprecated
func (*UpdateCircleSettingsRequest) Descriptor() ([]byte, []int)
Deprecated: Use UpdateCircleSettingsRequest.ProtoReflect.Descriptor instead.
func (*UpdateCircleSettingsRequest) GetCircleId ¶
func (x *UpdateCircleSettingsRequest) GetCircleId() string
func (*UpdateCircleSettingsRequest) GetSettings ¶
func (x *UpdateCircleSettingsRequest) GetSettings() *CircleSettings
func (*UpdateCircleSettingsRequest) ProtoMessage ¶
func (*UpdateCircleSettingsRequest) ProtoMessage()
func (*UpdateCircleSettingsRequest) ProtoReflect ¶
func (x *UpdateCircleSettingsRequest) ProtoReflect() protoreflect.Message
func (*UpdateCircleSettingsRequest) Reset ¶
func (x *UpdateCircleSettingsRequest) Reset()
func (*UpdateCircleSettingsRequest) String ¶
func (x *UpdateCircleSettingsRequest) String() string