Documentation ¶
Index ¶
- Variables
- func RegisterBlacklistServiceServer(s grpc.ServiceRegistrar, srv BlacklistServiceServer)
- type BlacklistServiceClient
- type BlacklistServiceServer
- type CheckTextRequest
- func (*CheckTextRequest) Descriptor() ([]byte, []int)deprecated
- func (x *CheckTextRequest) GetCircleId() string
- func (x *CheckTextRequest) GetText() string
- func (*CheckTextRequest) ProtoMessage()
- func (x *CheckTextRequest) ProtoReflect() protoreflect.Message
- func (x *CheckTextRequest) Reset()
- func (x *CheckTextRequest) String() string
- type CheckTextResponse
- func (*CheckTextResponse) Descriptor() ([]byte, []int)deprecated
- func (x *CheckTextResponse) GetFixedText() string
- func (x *CheckTextResponse) GetFoundBlacklistWords() []string
- func (x *CheckTextResponse) GetHasBlacklistedUrls() bool
- func (x *CheckTextResponse) GetOk() bool
- func (*CheckTextResponse) ProtoMessage()
- func (x *CheckTextResponse) ProtoReflect() protoreflect.Message
- func (x *CheckTextResponse) Reset()
- func (x *CheckTextResponse) String() string
- type CreateCircleWordsRequest
- func (*CreateCircleWordsRequest) Descriptor() ([]byte, []int)deprecated
- func (x *CreateCircleWordsRequest) GetCircleId() string
- func (x *CreateCircleWordsRequest) GetWords() []string
- func (*CreateCircleWordsRequest) ProtoMessage()
- func (x *CreateCircleWordsRequest) ProtoReflect() protoreflect.Message
- func (x *CreateCircleWordsRequest) Reset()
- func (x *CreateCircleWordsRequest) String() string
- type CreateCircleWordsResponse
- func (*CreateCircleWordsResponse) Descriptor() ([]byte, []int)deprecated
- func (x *CreateCircleWordsResponse) GetWords() []string
- func (*CreateCircleWordsResponse) ProtoMessage()
- func (x *CreateCircleWordsResponse) ProtoReflect() protoreflect.Message
- func (x *CreateCircleWordsResponse) Reset()
- func (x *CreateCircleWordsResponse) String() string
- type CreateGlobalWordsRequest
- func (*CreateGlobalWordsRequest) Descriptor() ([]byte, []int)deprecated
- func (x *CreateGlobalWordsRequest) GetWords() []string
- func (*CreateGlobalWordsRequest) ProtoMessage()
- func (x *CreateGlobalWordsRequest) ProtoReflect() protoreflect.Message
- func (x *CreateGlobalWordsRequest) Reset()
- func (x *CreateGlobalWordsRequest) String() string
- type CreateGlobalWordsResponse
- func (*CreateGlobalWordsResponse) Descriptor() ([]byte, []int)deprecated
- func (x *CreateGlobalWordsResponse) GetWords() []string
- func (*CreateGlobalWordsResponse) ProtoMessage()
- func (x *CreateGlobalWordsResponse) ProtoReflect() protoreflect.Message
- func (x *CreateGlobalWordsResponse) Reset()
- func (x *CreateGlobalWordsResponse) String() string
- type CreateUrlsRequest
- type CreateUrlsResponse
- func (*CreateUrlsResponse) Descriptor() ([]byte, []int)deprecated
- func (x *CreateUrlsResponse) GetUrls() []string
- func (*CreateUrlsResponse) ProtoMessage()
- func (x *CreateUrlsResponse) ProtoReflect() protoreflect.Message
- func (x *CreateUrlsResponse) Reset()
- func (x *CreateUrlsResponse) String() string
- type DeleteCircleWordsRequest
- func (*DeleteCircleWordsRequest) Descriptor() ([]byte, []int)deprecated
- func (x *DeleteCircleWordsRequest) GetCircleId() string
- func (x *DeleteCircleWordsRequest) GetWords() []string
- func (*DeleteCircleWordsRequest) ProtoMessage()
- func (x *DeleteCircleWordsRequest) ProtoReflect() protoreflect.Message
- func (x *DeleteCircleWordsRequest) Reset()
- func (x *DeleteCircleWordsRequest) String() string
- type DeleteCircleWordsResponse
- type DeleteGlobalWordsRequest
- func (*DeleteGlobalWordsRequest) Descriptor() ([]byte, []int)deprecated
- func (x *DeleteGlobalWordsRequest) GetWords() []string
- func (*DeleteGlobalWordsRequest) ProtoMessage()
- func (x *DeleteGlobalWordsRequest) ProtoReflect() protoreflect.Message
- func (x *DeleteGlobalWordsRequest) Reset()
- func (x *DeleteGlobalWordsRequest) String() string
- type DeleteGlobalWordsResponse
- type DeleteUrlsRequest
- type DeleteUrlsResponse
- type ListCircleWordsRequest
- func (*ListCircleWordsRequest) Descriptor() ([]byte, []int)deprecated
- func (x *ListCircleWordsRequest) GetCircleId() string
- func (x *ListCircleWordsRequest) GetPageCursor() *PageCursor
- func (x *ListCircleWordsRequest) GetSearchQuery() string
- func (*ListCircleWordsRequest) ProtoMessage()
- func (x *ListCircleWordsRequest) ProtoReflect() protoreflect.Message
- func (x *ListCircleWordsRequest) Reset()
- func (x *ListCircleWordsRequest) String() string
- type ListCircleWordsResponse
- func (*ListCircleWordsResponse) Descriptor() ([]byte, []int)deprecated
- func (x *ListCircleWordsResponse) GetPageInfo() *PageInfo
- func (x *ListCircleWordsResponse) GetWords() []string
- func (*ListCircleWordsResponse) ProtoMessage()
- func (x *ListCircleWordsResponse) ProtoReflect() protoreflect.Message
- func (x *ListCircleWordsResponse) Reset()
- func (x *ListCircleWordsResponse) String() string
- type ListGlobalWordsRequest
- func (*ListGlobalWordsRequest) Descriptor() ([]byte, []int)deprecated
- func (x *ListGlobalWordsRequest) GetPageCursor() *PageCursor
- func (*ListGlobalWordsRequest) ProtoMessage()
- func (x *ListGlobalWordsRequest) ProtoReflect() protoreflect.Message
- func (x *ListGlobalWordsRequest) Reset()
- func (x *ListGlobalWordsRequest) String() string
- type ListGlobalWordsResponse
- func (*ListGlobalWordsResponse) Descriptor() ([]byte, []int)deprecated
- func (x *ListGlobalWordsResponse) GetPageInfo() *PageInfo
- func (x *ListGlobalWordsResponse) GetWords() []string
- func (*ListGlobalWordsResponse) ProtoMessage()
- func (x *ListGlobalWordsResponse) ProtoReflect() protoreflect.Message
- func (x *ListGlobalWordsResponse) Reset()
- func (x *ListGlobalWordsResponse) String() string
- type ListUrlsRequest
- type ListUrlsResponse
- func (*ListUrlsResponse) Descriptor() ([]byte, []int)deprecated
- func (x *ListUrlsResponse) GetPageInfo() *PageInfo
- func (x *ListUrlsResponse) GetUrls() []string
- func (*ListUrlsResponse) ProtoMessage()
- func (x *ListUrlsResponse) ProtoReflect() protoreflect.Message
- func (x *ListUrlsResponse) Reset()
- func (x *ListUrlsResponse) String() string
- type PageCursor
- func (*PageCursor) Descriptor() ([]byte, []int)deprecated
- func (x *PageCursor) GetDir() PageDir
- func (x *PageCursor) GetLastId() string
- func (x *PageCursor) GetLimit() uint32
- func (*PageCursor) ProtoMessage()
- func (x *PageCursor) ProtoReflect() protoreflect.Message
- func (x *PageCursor) Reset()
- func (x *PageCursor) String() string
- type PageDir
- type PageInfo
- func (*PageInfo) Descriptor() ([]byte, []int)deprecated
- func (x *PageInfo) GetFirstId() string
- func (x *PageInfo) GetHasNext() bool
- func (x *PageInfo) GetHasPrev() bool
- func (x *PageInfo) GetLastId() string
- func (x *PageInfo) GetLength() uint32
- func (*PageInfo) ProtoMessage()
- func (x *PageInfo) ProtoReflect() protoreflect.Message
- func (x *PageInfo) Reset()
- func (x *PageInfo) String() string
- type SearchForUrlsRequest
- func (*SearchForUrlsRequest) Descriptor() ([]byte, []int)deprecated
- func (x *SearchForUrlsRequest) GetFilter() string
- func (x *SearchForUrlsRequest) GetPageCursor() *PageCursor
- func (*SearchForUrlsRequest) ProtoMessage()
- func (x *SearchForUrlsRequest) ProtoReflect() protoreflect.Message
- func (x *SearchForUrlsRequest) Reset()
- func (x *SearchForUrlsRequest) String() string
- type SearchForUrlsResponse
- func (*SearchForUrlsResponse) Descriptor() ([]byte, []int)deprecated
- func (x *SearchForUrlsResponse) GetPageInfo() *PageInfo
- func (x *SearchForUrlsResponse) GetUrls() []string
- func (*SearchForUrlsResponse) ProtoMessage()
- func (x *SearchForUrlsResponse) ProtoReflect() protoreflect.Message
- func (x *SearchForUrlsResponse) Reset()
- func (x *SearchForUrlsResponse) String() string
- type UnimplementedBlacklistServiceServer
- func (UnimplementedBlacklistServiceServer) CheckText(context.Context, *CheckTextRequest) (*CheckTextResponse, error)
- func (UnimplementedBlacklistServiceServer) CreateCircleWords(context.Context, *CreateCircleWordsRequest) (*CreateCircleWordsResponse, error)
- func (UnimplementedBlacklistServiceServer) CreateGlobalWords(context.Context, *CreateGlobalWordsRequest) (*CreateGlobalWordsResponse, error)
- func (UnimplementedBlacklistServiceServer) CreateUrls(context.Context, *CreateUrlsRequest) (*CreateUrlsResponse, error)
- func (UnimplementedBlacklistServiceServer) DeleteCircleWords(context.Context, *DeleteCircleWordsRequest) (*DeleteCircleWordsResponse, error)
- func (UnimplementedBlacklistServiceServer) DeleteGlobalWords(context.Context, *DeleteGlobalWordsRequest) (*DeleteGlobalWordsResponse, error)
- func (UnimplementedBlacklistServiceServer) DeleteUrls(context.Context, *DeleteUrlsRequest) (*DeleteUrlsResponse, error)
- func (UnimplementedBlacklistServiceServer) ListCircleWords(context.Context, *ListCircleWordsRequest) (*ListCircleWordsResponse, error)
- func (UnimplementedBlacklistServiceServer) ListGlobalWords(context.Context, *ListGlobalWordsRequest) (*ListGlobalWordsResponse, error)
- func (UnimplementedBlacklistServiceServer) ListUrls(context.Context, *ListUrlsRequest) (*ListUrlsResponse, error)
- func (UnimplementedBlacklistServiceServer) SearchForUrls(context.Context, *SearchForUrlsRequest) (*SearchForUrlsResponse, error)
- func (UnimplementedBlacklistServiceServer) UpdateCircleWord(context.Context, *UpdateCircleWordRequest) (*UpdateCircleWordResponse, error)
- func (UnimplementedBlacklistServiceServer) UpdateGlobalWord(context.Context, *UpdateGlobalWordRequest) (*UpdateGlobalWordResponse, error)
- func (UnimplementedBlacklistServiceServer) UpdateUrl(context.Context, *UpdateUrlRequest) (*UpdateUrlResponse, error)
- type UnsafeBlacklistServiceServer
- type UpdateCircleWordRequest
- func (*UpdateCircleWordRequest) Descriptor() ([]byte, []int)deprecated
- func (x *UpdateCircleWordRequest) GetCircleId() string
- func (x *UpdateCircleWordRequest) GetNewWord() string
- func (x *UpdateCircleWordRequest) GetWord() string
- func (*UpdateCircleWordRequest) ProtoMessage()
- func (x *UpdateCircleWordRequest) ProtoReflect() protoreflect.Message
- func (x *UpdateCircleWordRequest) Reset()
- func (x *UpdateCircleWordRequest) String() string
- type UpdateCircleWordResponse
- type UpdateGlobalWordRequest
- func (*UpdateGlobalWordRequest) Descriptor() ([]byte, []int)deprecated
- func (x *UpdateGlobalWordRequest) GetNewWord() string
- func (x *UpdateGlobalWordRequest) GetWord() string
- func (*UpdateGlobalWordRequest) ProtoMessage()
- func (x *UpdateGlobalWordRequest) ProtoReflect() protoreflect.Message
- func (x *UpdateGlobalWordRequest) Reset()
- func (x *UpdateGlobalWordRequest) String() string
- type UpdateGlobalWordResponse
- type UpdateUrlRequest
- func (*UpdateUrlRequest) Descriptor() ([]byte, []int)deprecated
- func (x *UpdateUrlRequest) GetNewUrl() string
- func (x *UpdateUrlRequest) GetUrl() string
- func (*UpdateUrlRequest) ProtoMessage()
- func (x *UpdateUrlRequest) ProtoReflect() protoreflect.Message
- func (x *UpdateUrlRequest) Reset()
- func (x *UpdateUrlRequest) String() string
- type UpdateUrlResponse
Constants ¶
This section is empty.
Variables ¶
var ( PageDir_name = map[int32]string{ 0: "PAGE_DIR_ASC", 1: "PAGE_DIR_DESC", } PageDir_value = map[string]int32{ "PAGE_DIR_ASC": 0, "PAGE_DIR_DESC": 1, } )
Enum value maps for PageDir.
var BlacklistService_ServiceDesc = grpc.ServiceDesc{ ServiceName: "blacklist.v1.BlacklistService", HandlerType: (*BlacklistServiceServer)(nil), Methods: []grpc.MethodDesc{ { MethodName: "CreateCircleWords", Handler: _BlacklistService_CreateCircleWords_Handler, }, { MethodName: "UpdateCircleWord", Handler: _BlacklistService_UpdateCircleWord_Handler, }, { MethodName: "ListCircleWords", Handler: _BlacklistService_ListCircleWords_Handler, }, { MethodName: "DeleteCircleWords", Handler: _BlacklistService_DeleteCircleWords_Handler, }, { MethodName: "CreateGlobalWords", Handler: _BlacklistService_CreateGlobalWords_Handler, }, { MethodName: "UpdateGlobalWord", Handler: _BlacklistService_UpdateGlobalWord_Handler, }, { MethodName: "ListGlobalWords", Handler: _BlacklistService_ListGlobalWords_Handler, }, { MethodName: "DeleteGlobalWords", Handler: _BlacklistService_DeleteGlobalWords_Handler, }, { MethodName: "CreateUrls", Handler: _BlacklistService_CreateUrls_Handler, }, { MethodName: "UpdateUrl", Handler: _BlacklistService_UpdateUrl_Handler, }, { MethodName: "ListUrls", Handler: _BlacklistService_ListUrls_Handler, }, { MethodName: "DeleteUrls", Handler: _BlacklistService_DeleteUrls_Handler, }, { MethodName: "CheckText", Handler: _BlacklistService_CheckText_Handler, }, { MethodName: "SearchForUrls", Handler: _BlacklistService_SearchForUrls_Handler, }, }, Streams: []grpc.StreamDesc{}, Metadata: "blacklist-api/blacklist/v1/blacklist.proto", }
BlacklistService_ServiceDesc is the grpc.ServiceDesc for BlacklistService service. It's only intended for direct use with grpc.RegisterService, and not to be introspected or modified (even as a copy)
var File_blacklist_api_blacklist_v1_blacklist_proto protoreflect.FileDescriptor
Functions ¶
func RegisterBlacklistServiceServer ¶
func RegisterBlacklistServiceServer(s grpc.ServiceRegistrar, srv BlacklistServiceServer)
Types ¶
type BlacklistServiceClient ¶
type BlacklistServiceClient interface { // CreateCircleWords enables adding blacklisted words in a given circle. CreateCircleWords(ctx context.Context, in *CreateCircleWordsRequest, opts ...grpc.CallOption) (*CreateCircleWordsResponse, error) // UpdateCircleWord enables updating a blacklisted word in a given circle. UpdateCircleWord(ctx context.Context, in *UpdateCircleWordRequest, opts ...grpc.CallOption) (*UpdateCircleWordResponse, error) // ListCircleWords enables retrieving blacklisted words in a given circle. ListCircleWords(ctx context.Context, in *ListCircleWordsRequest, opts ...grpc.CallOption) (*ListCircleWordsResponse, error) // DeleteCircleWord enables deleting blacklisted words in a given circle. DeleteCircleWords(ctx context.Context, in *DeleteCircleWordsRequest, opts ...grpc.CallOption) (*DeleteCircleWordsResponse, error) // CreateGlobalWords enables adding blacklisted words in the whole platform. CreateGlobalWords(ctx context.Context, in *CreateGlobalWordsRequest, opts ...grpc.CallOption) (*CreateGlobalWordsResponse, error) // UpdateGlobalWord enables updating a blacklisted global word. UpdateGlobalWord(ctx context.Context, in *UpdateGlobalWordRequest, opts ...grpc.CallOption) (*UpdateGlobalWordResponse, error) // ListGlobalWords enables retrieving blacklisted words in the whole platform. ListGlobalWords(ctx context.Context, in *ListGlobalWordsRequest, opts ...grpc.CallOption) (*ListGlobalWordsResponse, error) // DeleteGlobalWords enables deleting blacklisted words in the whole platform. DeleteGlobalWords(ctx context.Context, in *DeleteGlobalWordsRequest, opts ...grpc.CallOption) (*DeleteGlobalWordsResponse, error) // CreateUrls enables adding blacklisted words in the whole platform. CreateUrls(ctx context.Context, in *CreateUrlsRequest, opts ...grpc.CallOption) (*CreateUrlsResponse, error) // UpdateUrls enables updating a blacklisted global word. UpdateUrl(ctx context.Context, in *UpdateUrlRequest, opts ...grpc.CallOption) (*UpdateUrlResponse, error) // ListUrls enables retrieving blacklisted words in the whole platform. ListUrls(ctx context.Context, in *ListUrlsRequest, opts ...grpc.CallOption) (*ListUrlsResponse, error) // DeleteUrls enables deleting blacklisted words in the whole platform. DeleteUrls(ctx context.Context, in *DeleteUrlsRequest, opts ...grpc.CallOption) (*DeleteUrlsResponse, error) // CheckText checks a given text and returns all violations based on the given circle's blacklisted words. CheckText(ctx context.Context, in *CheckTextRequest, opts ...grpc.CallOption) (*CheckTextResponse, error) // SearchForUrls enables retrieving blacklisted urls based on a search string SearchForUrls(ctx context.Context, in *SearchForUrlsRequest, opts ...grpc.CallOption) (*SearchForUrlsResponse, error) }
BlacklistServiceClient is the client API for BlacklistService 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 NewBlacklistServiceClient ¶
func NewBlacklistServiceClient(cc grpc.ClientConnInterface) BlacklistServiceClient
type BlacklistServiceServer ¶
type BlacklistServiceServer interface { // CreateCircleWords enables adding blacklisted words in a given circle. CreateCircleWords(context.Context, *CreateCircleWordsRequest) (*CreateCircleWordsResponse, error) // UpdateCircleWord enables updating a blacklisted word in a given circle. UpdateCircleWord(context.Context, *UpdateCircleWordRequest) (*UpdateCircleWordResponse, error) // ListCircleWords enables retrieving blacklisted words in a given circle. ListCircleWords(context.Context, *ListCircleWordsRequest) (*ListCircleWordsResponse, error) // DeleteCircleWord enables deleting blacklisted words in a given circle. DeleteCircleWords(context.Context, *DeleteCircleWordsRequest) (*DeleteCircleWordsResponse, error) // CreateGlobalWords enables adding blacklisted words in the whole platform. CreateGlobalWords(context.Context, *CreateGlobalWordsRequest) (*CreateGlobalWordsResponse, error) // UpdateGlobalWord enables updating a blacklisted global word. UpdateGlobalWord(context.Context, *UpdateGlobalWordRequest) (*UpdateGlobalWordResponse, error) // ListGlobalWords enables retrieving blacklisted words in the whole platform. ListGlobalWords(context.Context, *ListGlobalWordsRequest) (*ListGlobalWordsResponse, error) // DeleteGlobalWords enables deleting blacklisted words in the whole platform. DeleteGlobalWords(context.Context, *DeleteGlobalWordsRequest) (*DeleteGlobalWordsResponse, error) // CreateUrls enables adding blacklisted words in the whole platform. CreateUrls(context.Context, *CreateUrlsRequest) (*CreateUrlsResponse, error) // UpdateUrls enables updating a blacklisted global word. UpdateUrl(context.Context, *UpdateUrlRequest) (*UpdateUrlResponse, error) // ListUrls enables retrieving blacklisted words in the whole platform. ListUrls(context.Context, *ListUrlsRequest) (*ListUrlsResponse, error) // DeleteUrls enables deleting blacklisted words in the whole platform. DeleteUrls(context.Context, *DeleteUrlsRequest) (*DeleteUrlsResponse, error) // CheckText checks a given text and returns all violations based on the given circle's blacklisted words. CheckText(context.Context, *CheckTextRequest) (*CheckTextResponse, error) // SearchForUrls enables retrieving blacklisted urls based on a search string SearchForUrls(context.Context, *SearchForUrlsRequest) (*SearchForUrlsResponse, error) // contains filtered or unexported methods }
BlacklistServiceServer is the server API for BlacklistService service. All implementations must embed UnimplementedBlacklistServiceServer for forward compatibility
type CheckTextRequest ¶
type CheckTextRequest struct { CircleId string `protobuf:"bytes,1,opt,name=circle_id,json=circleId,proto3" json:"circle_id,omitempty"` Text string `protobuf:"bytes,2,opt,name=text,proto3" json:"text,omitempty"` // contains filtered or unexported fields }
CheckTextRequest represents request for checking a text string in a given circle.
func (*CheckTextRequest) Descriptor
deprecated
func (*CheckTextRequest) Descriptor() ([]byte, []int)
Deprecated: Use CheckTextRequest.ProtoReflect.Descriptor instead.
func (*CheckTextRequest) GetCircleId ¶
func (x *CheckTextRequest) GetCircleId() string
func (*CheckTextRequest) GetText ¶
func (x *CheckTextRequest) GetText() string
func (*CheckTextRequest) ProtoMessage ¶
func (*CheckTextRequest) ProtoMessage()
func (*CheckTextRequest) ProtoReflect ¶
func (x *CheckTextRequest) ProtoReflect() protoreflect.Message
func (*CheckTextRequest) Reset ¶
func (x *CheckTextRequest) Reset()
func (*CheckTextRequest) String ¶
func (x *CheckTextRequest) String() string
type CheckTextResponse ¶
type CheckTextResponse struct { Ok bool `protobuf:"varint,1,opt,name=ok,proto3" json:"ok,omitempty"` // blacklisted words that were present in the input text FoundBlacklistWords []string `protobuf:"bytes,2,rep,name=found_blacklist_words,json=foundBlacklistWords,proto3" json:"found_blacklist_words,omitempty"` // input text with blacklisted words replaced by asterisk symbol FixedText string `protobuf:"bytes,3,opt,name=fixed_text,json=fixedText,proto3" json:"fixed_text,omitempty"` // true if the input text contains problematic urls HasBlacklistedUrls bool `protobuf:"varint,4,opt,name=has_blacklisted_urls,json=hasBlacklistedUrls,proto3" json:"has_blacklisted_urls,omitempty"` // contains filtered or unexported fields }
CheckTextResponse returns violation codes.
func (*CheckTextResponse) Descriptor
deprecated
func (*CheckTextResponse) Descriptor() ([]byte, []int)
Deprecated: Use CheckTextResponse.ProtoReflect.Descriptor instead.
func (*CheckTextResponse) GetFixedText ¶
func (x *CheckTextResponse) GetFixedText() string
func (*CheckTextResponse) GetFoundBlacklistWords ¶
func (x *CheckTextResponse) GetFoundBlacklistWords() []string
func (*CheckTextResponse) GetHasBlacklistedUrls ¶
func (x *CheckTextResponse) GetHasBlacklistedUrls() bool
func (*CheckTextResponse) GetOk ¶
func (x *CheckTextResponse) GetOk() bool
func (*CheckTextResponse) ProtoMessage ¶
func (*CheckTextResponse) ProtoMessage()
func (*CheckTextResponse) ProtoReflect ¶
func (x *CheckTextResponse) ProtoReflect() protoreflect.Message
func (*CheckTextResponse) Reset ¶
func (x *CheckTextResponse) Reset()
func (*CheckTextResponse) String ¶
func (x *CheckTextResponse) String() string
type CreateCircleWordsRequest ¶
type CreateCircleWordsRequest struct { CircleId string `protobuf:"bytes,1,opt,name=circle_id,json=circleId,proto3" json:"circle_id,omitempty"` Words []string `protobuf:"bytes,2,rep,name=words,proto3" json:"words,omitempty"` // contains filtered or unexported fields }
CreateCircleWordsRequest represents request for adding or updating words in a given circle.
func (*CreateCircleWordsRequest) Descriptor
deprecated
func (*CreateCircleWordsRequest) Descriptor() ([]byte, []int)
Deprecated: Use CreateCircleWordsRequest.ProtoReflect.Descriptor instead.
func (*CreateCircleWordsRequest) GetCircleId ¶
func (x *CreateCircleWordsRequest) GetCircleId() string
func (*CreateCircleWordsRequest) GetWords ¶
func (x *CreateCircleWordsRequest) GetWords() []string
func (*CreateCircleWordsRequest) ProtoMessage ¶
func (*CreateCircleWordsRequest) ProtoMessage()
func (*CreateCircleWordsRequest) ProtoReflect ¶
func (x *CreateCircleWordsRequest) ProtoReflect() protoreflect.Message
func (*CreateCircleWordsRequest) Reset ¶
func (x *CreateCircleWordsRequest) Reset()
func (*CreateCircleWordsRequest) String ¶
func (x *CreateCircleWordsRequest) String() string
type CreateCircleWordsResponse ¶
type CreateCircleWordsResponse struct { // words contains the newly inserted words Words []string `protobuf:"bytes,1,rep,name=words,proto3" json:"words,omitempty"` // contains filtered or unexported fields }
CreateCircleWordsResponse returns the newly inserted words.
func (*CreateCircleWordsResponse) Descriptor
deprecated
func (*CreateCircleWordsResponse) Descriptor() ([]byte, []int)
Deprecated: Use CreateCircleWordsResponse.ProtoReflect.Descriptor instead.
func (*CreateCircleWordsResponse) GetWords ¶
func (x *CreateCircleWordsResponse) GetWords() []string
func (*CreateCircleWordsResponse) ProtoMessage ¶
func (*CreateCircleWordsResponse) ProtoMessage()
func (*CreateCircleWordsResponse) ProtoReflect ¶
func (x *CreateCircleWordsResponse) ProtoReflect() protoreflect.Message
func (*CreateCircleWordsResponse) Reset ¶
func (x *CreateCircleWordsResponse) Reset()
func (*CreateCircleWordsResponse) String ¶
func (x *CreateCircleWordsResponse) String() string
type CreateGlobalWordsRequest ¶
type CreateGlobalWordsRequest struct { Words []string `protobuf:"bytes,1,rep,name=words,proto3" json:"words,omitempty"` // contains filtered or unexported fields }
CreateGlobalWordsRequest represents request for adding or updating global words.
func (*CreateGlobalWordsRequest) Descriptor
deprecated
func (*CreateGlobalWordsRequest) Descriptor() ([]byte, []int)
Deprecated: Use CreateGlobalWordsRequest.ProtoReflect.Descriptor instead.
func (*CreateGlobalWordsRequest) GetWords ¶
func (x *CreateGlobalWordsRequest) GetWords() []string
func (*CreateGlobalWordsRequest) ProtoMessage ¶
func (*CreateGlobalWordsRequest) ProtoMessage()
func (*CreateGlobalWordsRequest) ProtoReflect ¶
func (x *CreateGlobalWordsRequest) ProtoReflect() protoreflect.Message
func (*CreateGlobalWordsRequest) Reset ¶
func (x *CreateGlobalWordsRequest) Reset()
func (*CreateGlobalWordsRequest) String ¶
func (x *CreateGlobalWordsRequest) String() string
type CreateGlobalWordsResponse ¶
type CreateGlobalWordsResponse struct { // words contains the newly inserted words Words []string `protobuf:"bytes,1,rep,name=words,proto3" json:"words,omitempty"` // contains filtered or unexported fields }
CreateGlobalWordsResponse returns the newly inserted words.
func (*CreateGlobalWordsResponse) Descriptor
deprecated
func (*CreateGlobalWordsResponse) Descriptor() ([]byte, []int)
Deprecated: Use CreateGlobalWordsResponse.ProtoReflect.Descriptor instead.
func (*CreateGlobalWordsResponse) GetWords ¶
func (x *CreateGlobalWordsResponse) GetWords() []string
func (*CreateGlobalWordsResponse) ProtoMessage ¶
func (*CreateGlobalWordsResponse) ProtoMessage()
func (*CreateGlobalWordsResponse) ProtoReflect ¶
func (x *CreateGlobalWordsResponse) ProtoReflect() protoreflect.Message
func (*CreateGlobalWordsResponse) Reset ¶
func (x *CreateGlobalWordsResponse) Reset()
func (*CreateGlobalWordsResponse) String ¶
func (x *CreateGlobalWordsResponse) String() string
type CreateUrlsRequest ¶
type CreateUrlsRequest struct { Urls []string `protobuf:"bytes,1,rep,name=urls,proto3" json:"urls,omitempty"` // contains filtered or unexported fields }
CreateUrlsRequest represents request for adding or updating global urls.
func (*CreateUrlsRequest) Descriptor
deprecated
func (*CreateUrlsRequest) Descriptor() ([]byte, []int)
Deprecated: Use CreateUrlsRequest.ProtoReflect.Descriptor instead.
func (*CreateUrlsRequest) GetUrls ¶
func (x *CreateUrlsRequest) GetUrls() []string
func (*CreateUrlsRequest) ProtoMessage ¶
func (*CreateUrlsRequest) ProtoMessage()
func (*CreateUrlsRequest) ProtoReflect ¶
func (x *CreateUrlsRequest) ProtoReflect() protoreflect.Message
func (*CreateUrlsRequest) Reset ¶
func (x *CreateUrlsRequest) Reset()
func (*CreateUrlsRequest) String ¶
func (x *CreateUrlsRequest) String() string
type CreateUrlsResponse ¶
type CreateUrlsResponse struct { // urls contains the newly inserted urls Urls []string `protobuf:"bytes,1,rep,name=urls,proto3" json:"urls,omitempty"` // contains filtered or unexported fields }
CreateUrlsResponse returns the newly inserted urls.
func (*CreateUrlsResponse) Descriptor
deprecated
func (*CreateUrlsResponse) Descriptor() ([]byte, []int)
Deprecated: Use CreateUrlsResponse.ProtoReflect.Descriptor instead.
func (*CreateUrlsResponse) GetUrls ¶
func (x *CreateUrlsResponse) GetUrls() []string
func (*CreateUrlsResponse) ProtoMessage ¶
func (*CreateUrlsResponse) ProtoMessage()
func (*CreateUrlsResponse) ProtoReflect ¶
func (x *CreateUrlsResponse) ProtoReflect() protoreflect.Message
func (*CreateUrlsResponse) Reset ¶
func (x *CreateUrlsResponse) Reset()
func (*CreateUrlsResponse) String ¶
func (x *CreateUrlsResponse) String() string
type DeleteCircleWordsRequest ¶
type DeleteCircleWordsRequest struct { CircleId string `protobuf:"bytes,1,opt,name=circle_id,json=circleId,proto3" json:"circle_id,omitempty"` Words []string `protobuf:"bytes,2,rep,name=words,proto3" json:"words,omitempty"` // contains filtered or unexported fields }
DeleteCircleWordsRequest represents request for deleting blacklisted words in a given circle.
func (*DeleteCircleWordsRequest) Descriptor
deprecated
func (*DeleteCircleWordsRequest) Descriptor() ([]byte, []int)
Deprecated: Use DeleteCircleWordsRequest.ProtoReflect.Descriptor instead.
func (*DeleteCircleWordsRequest) GetCircleId ¶
func (x *DeleteCircleWordsRequest) GetCircleId() string
func (*DeleteCircleWordsRequest) GetWords ¶
func (x *DeleteCircleWordsRequest) GetWords() []string
func (*DeleteCircleWordsRequest) ProtoMessage ¶
func (*DeleteCircleWordsRequest) ProtoMessage()
func (*DeleteCircleWordsRequest) ProtoReflect ¶
func (x *DeleteCircleWordsRequest) ProtoReflect() protoreflect.Message
func (*DeleteCircleWordsRequest) Reset ¶
func (x *DeleteCircleWordsRequest) Reset()
func (*DeleteCircleWordsRequest) String ¶
func (x *DeleteCircleWordsRequest) String() string
type DeleteCircleWordsResponse ¶
type DeleteCircleWordsResponse struct {
// contains filtered or unexported fields
}
DeleteCircleWordsResponse returns empty message after successful deletion.
func (*DeleteCircleWordsResponse) Descriptor
deprecated
func (*DeleteCircleWordsResponse) Descriptor() ([]byte, []int)
Deprecated: Use DeleteCircleWordsResponse.ProtoReflect.Descriptor instead.
func (*DeleteCircleWordsResponse) ProtoMessage ¶
func (*DeleteCircleWordsResponse) ProtoMessage()
func (*DeleteCircleWordsResponse) ProtoReflect ¶
func (x *DeleteCircleWordsResponse) ProtoReflect() protoreflect.Message
func (*DeleteCircleWordsResponse) Reset ¶
func (x *DeleteCircleWordsResponse) Reset()
func (*DeleteCircleWordsResponse) String ¶
func (x *DeleteCircleWordsResponse) String() string
type DeleteGlobalWordsRequest ¶
type DeleteGlobalWordsRequest struct { Words []string `protobuf:"bytes,1,rep,name=words,proto3" json:"words,omitempty"` // contains filtered or unexported fields }
DeleteGlobalWordsRequest represents request for deleting global blacklisted words.
func (*DeleteGlobalWordsRequest) Descriptor
deprecated
func (*DeleteGlobalWordsRequest) Descriptor() ([]byte, []int)
Deprecated: Use DeleteGlobalWordsRequest.ProtoReflect.Descriptor instead.
func (*DeleteGlobalWordsRequest) GetWords ¶
func (x *DeleteGlobalWordsRequest) GetWords() []string
func (*DeleteGlobalWordsRequest) ProtoMessage ¶
func (*DeleteGlobalWordsRequest) ProtoMessage()
func (*DeleteGlobalWordsRequest) ProtoReflect ¶
func (x *DeleteGlobalWordsRequest) ProtoReflect() protoreflect.Message
func (*DeleteGlobalWordsRequest) Reset ¶
func (x *DeleteGlobalWordsRequest) Reset()
func (*DeleteGlobalWordsRequest) String ¶
func (x *DeleteGlobalWordsRequest) String() string
type DeleteGlobalWordsResponse ¶
type DeleteGlobalWordsResponse struct {
// contains filtered or unexported fields
}
DeleteGlobalWordsResponse returns empty message when successful.
func (*DeleteGlobalWordsResponse) Descriptor
deprecated
func (*DeleteGlobalWordsResponse) Descriptor() ([]byte, []int)
Deprecated: Use DeleteGlobalWordsResponse.ProtoReflect.Descriptor instead.
func (*DeleteGlobalWordsResponse) ProtoMessage ¶
func (*DeleteGlobalWordsResponse) ProtoMessage()
func (*DeleteGlobalWordsResponse) ProtoReflect ¶
func (x *DeleteGlobalWordsResponse) ProtoReflect() protoreflect.Message
func (*DeleteGlobalWordsResponse) Reset ¶
func (x *DeleteGlobalWordsResponse) Reset()
func (*DeleteGlobalWordsResponse) String ¶
func (x *DeleteGlobalWordsResponse) String() string
type DeleteUrlsRequest ¶
type DeleteUrlsRequest struct { Urls []string `protobuf:"bytes,1,rep,name=urls,proto3" json:"urls,omitempty"` // contains filtered or unexported fields }
DeleteUrlsRequest represents request for deleting global blacklisted urls.
func (*DeleteUrlsRequest) Descriptor
deprecated
func (*DeleteUrlsRequest) Descriptor() ([]byte, []int)
Deprecated: Use DeleteUrlsRequest.ProtoReflect.Descriptor instead.
func (*DeleteUrlsRequest) GetUrls ¶
func (x *DeleteUrlsRequest) GetUrls() []string
func (*DeleteUrlsRequest) ProtoMessage ¶
func (*DeleteUrlsRequest) ProtoMessage()
func (*DeleteUrlsRequest) ProtoReflect ¶
func (x *DeleteUrlsRequest) ProtoReflect() protoreflect.Message
func (*DeleteUrlsRequest) Reset ¶
func (x *DeleteUrlsRequest) Reset()
func (*DeleteUrlsRequest) String ¶
func (x *DeleteUrlsRequest) String() string
type DeleteUrlsResponse ¶
type DeleteUrlsResponse struct {
// contains filtered or unexported fields
}
DeleteUrlsResponse returns empty message when successful.
func (*DeleteUrlsResponse) Descriptor
deprecated
func (*DeleteUrlsResponse) Descriptor() ([]byte, []int)
Deprecated: Use DeleteUrlsResponse.ProtoReflect.Descriptor instead.
func (*DeleteUrlsResponse) ProtoMessage ¶
func (*DeleteUrlsResponse) ProtoMessage()
func (*DeleteUrlsResponse) ProtoReflect ¶
func (x *DeleteUrlsResponse) ProtoReflect() protoreflect.Message
func (*DeleteUrlsResponse) Reset ¶
func (x *DeleteUrlsResponse) Reset()
func (*DeleteUrlsResponse) String ¶
func (x *DeleteUrlsResponse) String() string
type ListCircleWordsRequest ¶
type ListCircleWordsRequest struct { CircleId string `protobuf:"bytes,1,opt,name=circle_id,json=circleId,proto3" json:"circle_id,omitempty"` PageCursor *PageCursor `protobuf:"bytes,2,opt,name=page_cursor,json=pageCursor,proto3" json:"page_cursor,omitempty"` SearchQuery *string `protobuf:"bytes,3,opt,name=search_query,json=searchQuery,proto3,oneof" json:"search_query,omitempty"` // contains filtered or unexported fields }
ListCircleWordsRequest represents request for retrieving all the words in a given circle.
func (*ListCircleWordsRequest) Descriptor
deprecated
func (*ListCircleWordsRequest) Descriptor() ([]byte, []int)
Deprecated: Use ListCircleWordsRequest.ProtoReflect.Descriptor instead.
func (*ListCircleWordsRequest) GetCircleId ¶
func (x *ListCircleWordsRequest) GetCircleId() string
func (*ListCircleWordsRequest) GetPageCursor ¶
func (x *ListCircleWordsRequest) GetPageCursor() *PageCursor
func (*ListCircleWordsRequest) GetSearchQuery ¶
func (x *ListCircleWordsRequest) GetSearchQuery() string
func (*ListCircleWordsRequest) ProtoMessage ¶
func (*ListCircleWordsRequest) ProtoMessage()
func (*ListCircleWordsRequest) ProtoReflect ¶
func (x *ListCircleWordsRequest) ProtoReflect() protoreflect.Message
func (*ListCircleWordsRequest) Reset ¶
func (x *ListCircleWordsRequest) Reset()
func (*ListCircleWordsRequest) String ¶
func (x *ListCircleWordsRequest) String() string
type ListCircleWordsResponse ¶
type ListCircleWordsResponse struct { Words []string `protobuf:"bytes,1,rep,name=words,proto3" json:"words,omitempty"` PageInfo *PageInfo `protobuf:"bytes,2,opt,name=page_info,json=pageInfo,proto3" json:"page_info,omitempty"` // contains filtered or unexported fields }
ListCircleWordsResponse returns blacklisted words in a given circle.
func (*ListCircleWordsResponse) Descriptor
deprecated
func (*ListCircleWordsResponse) Descriptor() ([]byte, []int)
Deprecated: Use ListCircleWordsResponse.ProtoReflect.Descriptor instead.
func (*ListCircleWordsResponse) GetPageInfo ¶
func (x *ListCircleWordsResponse) GetPageInfo() *PageInfo
func (*ListCircleWordsResponse) GetWords ¶
func (x *ListCircleWordsResponse) GetWords() []string
func (*ListCircleWordsResponse) ProtoMessage ¶
func (*ListCircleWordsResponse) ProtoMessage()
func (*ListCircleWordsResponse) ProtoReflect ¶
func (x *ListCircleWordsResponse) ProtoReflect() protoreflect.Message
func (*ListCircleWordsResponse) Reset ¶
func (x *ListCircleWordsResponse) Reset()
func (*ListCircleWordsResponse) String ¶
func (x *ListCircleWordsResponse) String() string
type ListGlobalWordsRequest ¶
type ListGlobalWordsRequest struct { PageCursor *PageCursor `protobuf:"bytes,1,opt,name=page_cursor,json=pageCursor,proto3" json:"page_cursor,omitempty"` // contains filtered or unexported fields }
ListGlobalWordsRequest represents request for retrieving all the global blacklisted words.
func (*ListGlobalWordsRequest) Descriptor
deprecated
func (*ListGlobalWordsRequest) Descriptor() ([]byte, []int)
Deprecated: Use ListGlobalWordsRequest.ProtoReflect.Descriptor instead.
func (*ListGlobalWordsRequest) GetPageCursor ¶
func (x *ListGlobalWordsRequest) GetPageCursor() *PageCursor
func (*ListGlobalWordsRequest) ProtoMessage ¶
func (*ListGlobalWordsRequest) ProtoMessage()
func (*ListGlobalWordsRequest) ProtoReflect ¶
func (x *ListGlobalWordsRequest) ProtoReflect() protoreflect.Message
func (*ListGlobalWordsRequest) Reset ¶
func (x *ListGlobalWordsRequest) Reset()
func (*ListGlobalWordsRequest) String ¶
func (x *ListGlobalWordsRequest) String() string
type ListGlobalWordsResponse ¶
type ListGlobalWordsResponse struct { Words []string `protobuf:"bytes,1,rep,name=words,proto3" json:"words,omitempty"` PageInfo *PageInfo `protobuf:"bytes,2,opt,name=page_info,json=pageInfo,proto3" json:"page_info,omitempty"` // contains filtered or unexported fields }
ListGlobalWordsResponse returns global blacklisted words.
func (*ListGlobalWordsResponse) Descriptor
deprecated
func (*ListGlobalWordsResponse) Descriptor() ([]byte, []int)
Deprecated: Use ListGlobalWordsResponse.ProtoReflect.Descriptor instead.
func (*ListGlobalWordsResponse) GetPageInfo ¶
func (x *ListGlobalWordsResponse) GetPageInfo() *PageInfo
func (*ListGlobalWordsResponse) GetWords ¶
func (x *ListGlobalWordsResponse) GetWords() []string
func (*ListGlobalWordsResponse) ProtoMessage ¶
func (*ListGlobalWordsResponse) ProtoMessage()
func (*ListGlobalWordsResponse) ProtoReflect ¶
func (x *ListGlobalWordsResponse) ProtoReflect() protoreflect.Message
func (*ListGlobalWordsResponse) Reset ¶
func (x *ListGlobalWordsResponse) Reset()
func (*ListGlobalWordsResponse) String ¶
func (x *ListGlobalWordsResponse) String() string
type ListUrlsRequest ¶
type ListUrlsRequest struct { PageCursor *PageCursor `protobuf:"bytes,1,opt,name=page_cursor,json=pageCursor,proto3" json:"page_cursor,omitempty"` // contains filtered or unexported fields }
ListUrlsRequest represents request for retrieving all the blacklisted urls.
func (*ListUrlsRequest) Descriptor
deprecated
func (*ListUrlsRequest) Descriptor() ([]byte, []int)
Deprecated: Use ListUrlsRequest.ProtoReflect.Descriptor instead.
func (*ListUrlsRequest) GetPageCursor ¶
func (x *ListUrlsRequest) GetPageCursor() *PageCursor
func (*ListUrlsRequest) ProtoMessage ¶
func (*ListUrlsRequest) ProtoMessage()
func (*ListUrlsRequest) ProtoReflect ¶
func (x *ListUrlsRequest) ProtoReflect() protoreflect.Message
func (*ListUrlsRequest) Reset ¶
func (x *ListUrlsRequest) Reset()
func (*ListUrlsRequest) String ¶
func (x *ListUrlsRequest) String() string
type ListUrlsResponse ¶
type ListUrlsResponse struct { Urls []string `protobuf:"bytes,1,rep,name=urls,proto3" json:"urls,omitempty"` PageInfo *PageInfo `protobuf:"bytes,2,opt,name=page_info,json=pageInfo,proto3" json:"page_info,omitempty"` // contains filtered or unexported fields }
ListUrlsResponse returns global blacklisted urls.
func (*ListUrlsResponse) Descriptor
deprecated
func (*ListUrlsResponse) Descriptor() ([]byte, []int)
Deprecated: Use ListUrlsResponse.ProtoReflect.Descriptor instead.
func (*ListUrlsResponse) GetPageInfo ¶
func (x *ListUrlsResponse) GetPageInfo() *PageInfo
func (*ListUrlsResponse) GetUrls ¶
func (x *ListUrlsResponse) GetUrls() []string
func (*ListUrlsResponse) ProtoMessage ¶
func (*ListUrlsResponse) ProtoMessage()
func (*ListUrlsResponse) ProtoReflect ¶
func (x *ListUrlsResponse) ProtoReflect() protoreflect.Message
func (*ListUrlsResponse) Reset ¶
func (x *ListUrlsResponse) Reset()
func (*ListUrlsResponse) String ¶
func (x *ListUrlsResponse) String() string
type PageCursor ¶
type PageCursor struct { LastId string `protobuf:"bytes,1,opt,name=last_id,json=lastId,proto3" json:"last_id,omitempty"` Limit uint32 `protobuf:"varint,2,opt,name=limit,proto3" json:"limit,omitempty"` Dir PageDir `protobuf:"varint,3,opt,name=dir,proto3,enum=blacklist.v1.PageDir" json:"dir,omitempty"` // contains filtered or unexported fields }
func (*PageCursor) Descriptor
deprecated
func (*PageCursor) Descriptor() ([]byte, []int)
Deprecated: Use PageCursor.ProtoReflect.Descriptor instead.
func (*PageCursor) GetDir ¶
func (x *PageCursor) GetDir() PageDir
func (*PageCursor) GetLastId ¶
func (x *PageCursor) GetLastId() string
func (*PageCursor) GetLimit ¶
func (x *PageCursor) GetLimit() uint32
func (*PageCursor) ProtoMessage ¶
func (*PageCursor) ProtoMessage()
func (*PageCursor) ProtoReflect ¶
func (x *PageCursor) ProtoReflect() protoreflect.Message
func (*PageCursor) Reset ¶
func (x *PageCursor) Reset()
func (*PageCursor) String ¶
func (x *PageCursor) String() string
type PageDir ¶
type PageDir int32
buf:lint:ignore ENUM_ZERO_VALUE_SUFFIX
func (PageDir) Descriptor ¶
func (PageDir) Descriptor() protoreflect.EnumDescriptor
func (PageDir) EnumDescriptor
deprecated
func (PageDir) Number ¶
func (x PageDir) Number() protoreflect.EnumNumber
func (PageDir) Type ¶
func (PageDir) Type() protoreflect.EnumType
type PageInfo ¶
type PageInfo struct { FirstId *string `protobuf:"bytes,1,opt,name=first_id,json=firstId,proto3,oneof" json:"first_id,omitempty"` LastId *string `protobuf:"bytes,2,opt,name=last_id,json=lastId,proto3,oneof" json:"last_id,omitempty"` HasPrev bool `protobuf:"varint,3,opt,name=has_prev,json=hasPrev,proto3" json:"has_prev,omitempty"` HasNext bool `protobuf:"varint,4,opt,name=has_next,json=hasNext,proto3" json:"has_next,omitempty"` Length uint32 `protobuf:"varint,5,opt,name=length,proto3" json:"length,omitempty"` // contains filtered or unexported fields }
func (*PageInfo) Descriptor
deprecated
func (*PageInfo) GetFirstId ¶
func (*PageInfo) GetHasNext ¶
func (*PageInfo) GetHasPrev ¶
func (*PageInfo) ProtoMessage ¶
func (*PageInfo) ProtoMessage()
func (*PageInfo) ProtoReflect ¶
func (x *PageInfo) ProtoReflect() protoreflect.Message
type SearchForUrlsRequest ¶
type SearchForUrlsRequest struct { Filter string `protobuf:"bytes,1,opt,name=filter,proto3" json:"filter,omitempty"` PageCursor *PageCursor `protobuf:"bytes,2,opt,name=page_cursor,json=pageCursor,proto3" json:"page_cursor,omitempty"` // contains filtered or unexported fields }
func (*SearchForUrlsRequest) Descriptor
deprecated
func (*SearchForUrlsRequest) Descriptor() ([]byte, []int)
Deprecated: Use SearchForUrlsRequest.ProtoReflect.Descriptor instead.
func (*SearchForUrlsRequest) GetFilter ¶
func (x *SearchForUrlsRequest) GetFilter() string
func (*SearchForUrlsRequest) GetPageCursor ¶
func (x *SearchForUrlsRequest) GetPageCursor() *PageCursor
func (*SearchForUrlsRequest) ProtoMessage ¶
func (*SearchForUrlsRequest) ProtoMessage()
func (*SearchForUrlsRequest) ProtoReflect ¶
func (x *SearchForUrlsRequest) ProtoReflect() protoreflect.Message
func (*SearchForUrlsRequest) Reset ¶
func (x *SearchForUrlsRequest) Reset()
func (*SearchForUrlsRequest) String ¶
func (x *SearchForUrlsRequest) String() string
type SearchForUrlsResponse ¶
type SearchForUrlsResponse struct { Urls []string `protobuf:"bytes,1,rep,name=urls,proto3" json:"urls,omitempty"` PageInfo *PageInfo `protobuf:"bytes,2,opt,name=page_info,json=pageInfo,proto3" json:"page_info,omitempty"` // contains filtered or unexported fields }
func (*SearchForUrlsResponse) Descriptor
deprecated
func (*SearchForUrlsResponse) Descriptor() ([]byte, []int)
Deprecated: Use SearchForUrlsResponse.ProtoReflect.Descriptor instead.
func (*SearchForUrlsResponse) GetPageInfo ¶
func (x *SearchForUrlsResponse) GetPageInfo() *PageInfo
func (*SearchForUrlsResponse) GetUrls ¶
func (x *SearchForUrlsResponse) GetUrls() []string
func (*SearchForUrlsResponse) ProtoMessage ¶
func (*SearchForUrlsResponse) ProtoMessage()
func (*SearchForUrlsResponse) ProtoReflect ¶
func (x *SearchForUrlsResponse) ProtoReflect() protoreflect.Message
func (*SearchForUrlsResponse) Reset ¶
func (x *SearchForUrlsResponse) Reset()
func (*SearchForUrlsResponse) String ¶
func (x *SearchForUrlsResponse) String() string
type UnimplementedBlacklistServiceServer ¶
type UnimplementedBlacklistServiceServer struct { }
UnimplementedBlacklistServiceServer must be embedded to have forward compatible implementations.
func (UnimplementedBlacklistServiceServer) CheckText ¶
func (UnimplementedBlacklistServiceServer) CheckText(context.Context, *CheckTextRequest) (*CheckTextResponse, error)
func (UnimplementedBlacklistServiceServer) CreateCircleWords ¶
func (UnimplementedBlacklistServiceServer) CreateCircleWords(context.Context, *CreateCircleWordsRequest) (*CreateCircleWordsResponse, error)
func (UnimplementedBlacklistServiceServer) CreateGlobalWords ¶
func (UnimplementedBlacklistServiceServer) CreateGlobalWords(context.Context, *CreateGlobalWordsRequest) (*CreateGlobalWordsResponse, error)
func (UnimplementedBlacklistServiceServer) CreateUrls ¶
func (UnimplementedBlacklistServiceServer) CreateUrls(context.Context, *CreateUrlsRequest) (*CreateUrlsResponse, error)
func (UnimplementedBlacklistServiceServer) DeleteCircleWords ¶
func (UnimplementedBlacklistServiceServer) DeleteCircleWords(context.Context, *DeleteCircleWordsRequest) (*DeleteCircleWordsResponse, error)
func (UnimplementedBlacklistServiceServer) DeleteGlobalWords ¶
func (UnimplementedBlacklistServiceServer) DeleteGlobalWords(context.Context, *DeleteGlobalWordsRequest) (*DeleteGlobalWordsResponse, error)
func (UnimplementedBlacklistServiceServer) DeleteUrls ¶
func (UnimplementedBlacklistServiceServer) DeleteUrls(context.Context, *DeleteUrlsRequest) (*DeleteUrlsResponse, error)
func (UnimplementedBlacklistServiceServer) ListCircleWords ¶
func (UnimplementedBlacklistServiceServer) ListCircleWords(context.Context, *ListCircleWordsRequest) (*ListCircleWordsResponse, error)
func (UnimplementedBlacklistServiceServer) ListGlobalWords ¶
func (UnimplementedBlacklistServiceServer) ListGlobalWords(context.Context, *ListGlobalWordsRequest) (*ListGlobalWordsResponse, error)
func (UnimplementedBlacklistServiceServer) ListUrls ¶
func (UnimplementedBlacklistServiceServer) ListUrls(context.Context, *ListUrlsRequest) (*ListUrlsResponse, error)
func (UnimplementedBlacklistServiceServer) SearchForUrls ¶
func (UnimplementedBlacklistServiceServer) SearchForUrls(context.Context, *SearchForUrlsRequest) (*SearchForUrlsResponse, error)
func (UnimplementedBlacklistServiceServer) UpdateCircleWord ¶
func (UnimplementedBlacklistServiceServer) UpdateCircleWord(context.Context, *UpdateCircleWordRequest) (*UpdateCircleWordResponse, error)
func (UnimplementedBlacklistServiceServer) UpdateGlobalWord ¶
func (UnimplementedBlacklistServiceServer) UpdateGlobalWord(context.Context, *UpdateGlobalWordRequest) (*UpdateGlobalWordResponse, error)
func (UnimplementedBlacklistServiceServer) UpdateUrl ¶
func (UnimplementedBlacklistServiceServer) UpdateUrl(context.Context, *UpdateUrlRequest) (*UpdateUrlResponse, error)
type UnsafeBlacklistServiceServer ¶
type UnsafeBlacklistServiceServer interface {
// contains filtered or unexported methods
}
UnsafeBlacklistServiceServer may be embedded to opt out of forward compatibility for this service. Use of this interface is not recommended, as added methods to BlacklistServiceServer will result in compilation errors.
type UpdateCircleWordRequest ¶
type UpdateCircleWordRequest struct { CircleId string `protobuf:"bytes,1,opt,name=circle_id,json=circleId,proto3" json:"circle_id,omitempty"` // id is the ID of the record to be updated Word string `protobuf:"bytes,2,opt,name=word,proto3" json:"word,omitempty"` // word contains the updated word NewWord string `protobuf:"bytes,3,opt,name=new_word,json=newWord,proto3" json:"new_word,omitempty"` // contains filtered or unexported fields }
UpdateCircleWordRequest represents request for updating a word in a given circle.
func (*UpdateCircleWordRequest) Descriptor
deprecated
func (*UpdateCircleWordRequest) Descriptor() ([]byte, []int)
Deprecated: Use UpdateCircleWordRequest.ProtoReflect.Descriptor instead.
func (*UpdateCircleWordRequest) GetCircleId ¶
func (x *UpdateCircleWordRequest) GetCircleId() string
func (*UpdateCircleWordRequest) GetNewWord ¶
func (x *UpdateCircleWordRequest) GetNewWord() string
func (*UpdateCircleWordRequest) GetWord ¶
func (x *UpdateCircleWordRequest) GetWord() string
func (*UpdateCircleWordRequest) ProtoMessage ¶
func (*UpdateCircleWordRequest) ProtoMessage()
func (*UpdateCircleWordRequest) ProtoReflect ¶
func (x *UpdateCircleWordRequest) ProtoReflect() protoreflect.Message
func (*UpdateCircleWordRequest) Reset ¶
func (x *UpdateCircleWordRequest) Reset()
func (*UpdateCircleWordRequest) String ¶
func (x *UpdateCircleWordRequest) String() string
type UpdateCircleWordResponse ¶
type UpdateCircleWordResponse struct {
// contains filtered or unexported fields
}
UpdateCircleWordResponse returns nothing when successful.
func (*UpdateCircleWordResponse) Descriptor
deprecated
func (*UpdateCircleWordResponse) Descriptor() ([]byte, []int)
Deprecated: Use UpdateCircleWordResponse.ProtoReflect.Descriptor instead.
func (*UpdateCircleWordResponse) ProtoMessage ¶
func (*UpdateCircleWordResponse) ProtoMessage()
func (*UpdateCircleWordResponse) ProtoReflect ¶
func (x *UpdateCircleWordResponse) ProtoReflect() protoreflect.Message
func (*UpdateCircleWordResponse) Reset ¶
func (x *UpdateCircleWordResponse) Reset()
func (*UpdateCircleWordResponse) String ¶
func (x *UpdateCircleWordResponse) String() string
type UpdateGlobalWordRequest ¶
type UpdateGlobalWordRequest struct { Word string `protobuf:"bytes,1,opt,name=word,proto3" json:"word,omitempty"` // word contains the updated word NewWord string `protobuf:"bytes,2,opt,name=new_word,json=newWord,proto3" json:"new_word,omitempty"` // contains filtered or unexported fields }
UpdateGlobalWordRequest represents request for updating a global word.
func (*UpdateGlobalWordRequest) Descriptor
deprecated
func (*UpdateGlobalWordRequest) Descriptor() ([]byte, []int)
Deprecated: Use UpdateGlobalWordRequest.ProtoReflect.Descriptor instead.
func (*UpdateGlobalWordRequest) GetNewWord ¶
func (x *UpdateGlobalWordRequest) GetNewWord() string
func (*UpdateGlobalWordRequest) GetWord ¶
func (x *UpdateGlobalWordRequest) GetWord() string
func (*UpdateGlobalWordRequest) ProtoMessage ¶
func (*UpdateGlobalWordRequest) ProtoMessage()
func (*UpdateGlobalWordRequest) ProtoReflect ¶
func (x *UpdateGlobalWordRequest) ProtoReflect() protoreflect.Message
func (*UpdateGlobalWordRequest) Reset ¶
func (x *UpdateGlobalWordRequest) Reset()
func (*UpdateGlobalWordRequest) String ¶
func (x *UpdateGlobalWordRequest) String() string
type UpdateGlobalWordResponse ¶
type UpdateGlobalWordResponse struct {
// contains filtered or unexported fields
}
UpdateGlobalWordResponse returns nothing when successful.
func (*UpdateGlobalWordResponse) Descriptor
deprecated
func (*UpdateGlobalWordResponse) Descriptor() ([]byte, []int)
Deprecated: Use UpdateGlobalWordResponse.ProtoReflect.Descriptor instead.
func (*UpdateGlobalWordResponse) ProtoMessage ¶
func (*UpdateGlobalWordResponse) ProtoMessage()
func (*UpdateGlobalWordResponse) ProtoReflect ¶
func (x *UpdateGlobalWordResponse) ProtoReflect() protoreflect.Message
func (*UpdateGlobalWordResponse) Reset ¶
func (x *UpdateGlobalWordResponse) Reset()
func (*UpdateGlobalWordResponse) String ¶
func (x *UpdateGlobalWordResponse) String() string
type UpdateUrlRequest ¶
type UpdateUrlRequest struct { Url string `protobuf:"bytes,1,opt,name=url,proto3" json:"url,omitempty"` // url contains the updated url NewUrl string `protobuf:"bytes,2,opt,name=new_url,json=newUrl,proto3" json:"new_url,omitempty"` // contains filtered or unexported fields }
UpdateUrlRequest represents request for updating a url.
func (*UpdateUrlRequest) Descriptor
deprecated
func (*UpdateUrlRequest) Descriptor() ([]byte, []int)
Deprecated: Use UpdateUrlRequest.ProtoReflect.Descriptor instead.
func (*UpdateUrlRequest) GetNewUrl ¶
func (x *UpdateUrlRequest) GetNewUrl() string
func (*UpdateUrlRequest) GetUrl ¶
func (x *UpdateUrlRequest) GetUrl() string
func (*UpdateUrlRequest) ProtoMessage ¶
func (*UpdateUrlRequest) ProtoMessage()
func (*UpdateUrlRequest) ProtoReflect ¶
func (x *UpdateUrlRequest) ProtoReflect() protoreflect.Message
func (*UpdateUrlRequest) Reset ¶
func (x *UpdateUrlRequest) Reset()
func (*UpdateUrlRequest) String ¶
func (x *UpdateUrlRequest) String() string
type UpdateUrlResponse ¶
type UpdateUrlResponse struct {
// contains filtered or unexported fields
}
UpdateUrlResponse returns nothing when successful.
func (*UpdateUrlResponse) Descriptor
deprecated
func (*UpdateUrlResponse) Descriptor() ([]byte, []int)
Deprecated: Use UpdateUrlResponse.ProtoReflect.Descriptor instead.
func (*UpdateUrlResponse) ProtoMessage ¶
func (*UpdateUrlResponse) ProtoMessage()
func (*UpdateUrlResponse) ProtoReflect ¶
func (x *UpdateUrlResponse) ProtoReflect() protoreflect.Message
func (*UpdateUrlResponse) Reset ¶
func (x *UpdateUrlResponse) Reset()
func (*UpdateUrlResponse) String ¶
func (x *UpdateUrlResponse) String() string