Documentation ¶
Index ¶
- Variables
- func RegisterCollectionHandler(s server.Server, hdlr CollectionHandler, opts ...server.HandlerOption) error
- func RegisterDummyHandler(s server.Server, hdlr DummyHandler, opts ...server.HandlerOption) error
- func RegisterHealthyHandler(s server.Server, hdlr HealthyHandler, opts ...server.HandlerOption) error
- type BlankResponse
- func (*BlankResponse) Descriptor() ([]byte, []int)
- func (m *BlankResponse) GetStatus() *Status
- func (*BlankResponse) ProtoMessage()
- func (m *BlankResponse) Reset()
- func (m *BlankResponse) String() string
- func (m *BlankResponse) XXX_DiscardUnknown()
- func (m *BlankResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *BlankResponse) XXX_Merge(src proto.Message)
- func (m *BlankResponse) XXX_Size() int
- func (m *BlankResponse) XXX_Unmarshal(b []byte) error
- type CollectionAddTagRequest
- func (*CollectionAddTagRequest) Descriptor() ([]byte, []int)
- func (m *CollectionAddTagRequest) GetAlias() string
- func (m *CollectionAddTagRequest) GetCode() string
- func (m *CollectionAddTagRequest) GetFlag() int64
- func (m *CollectionAddTagRequest) GetName() string
- func (*CollectionAddTagRequest) ProtoMessage()
- func (m *CollectionAddTagRequest) Reset()
- func (m *CollectionAddTagRequest) String() string
- func (m *CollectionAddTagRequest) XXX_DiscardUnknown()
- func (m *CollectionAddTagRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *CollectionAddTagRequest) XXX_Merge(src proto.Message)
- func (m *CollectionAddTagRequest) XXX_Size() int
- func (m *CollectionAddTagRequest) XXX_Unmarshal(b []byte) error
- type CollectionExtendKeywordRequest
- func (*CollectionExtendKeywordRequest) Descriptor() ([]byte, []int)
- func (m *CollectionExtendKeywordRequest) GetMatchedValue() []string
- func (m *CollectionExtendKeywordRequest) GetMode() ExtendMode
- func (m *CollectionExtendKeywordRequest) GetNewValue() []string
- func (*CollectionExtendKeywordRequest) ProtoMessage()
- func (m *CollectionExtendKeywordRequest) Reset()
- func (m *CollectionExtendKeywordRequest) String() string
- func (m *CollectionExtendKeywordRequest) XXX_DiscardUnknown()
- func (m *CollectionExtendKeywordRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *CollectionExtendKeywordRequest) XXX_Merge(src proto.Message)
- func (m *CollectionExtendKeywordRequest) XXX_Size() int
- func (m *CollectionExtendKeywordRequest) XXX_Unmarshal(b []byte) error
- type CollectionHandler
- type CollectionListTagRequest
- func (*CollectionListTagRequest) Descriptor() ([]byte, []int)
- func (m *CollectionListTagRequest) GetCount() int64
- func (m *CollectionListTagRequest) GetOffset() int64
- func (*CollectionListTagRequest) ProtoMessage()
- func (m *CollectionListTagRequest) Reset()
- func (m *CollectionListTagRequest) String() string
- func (m *CollectionListTagRequest) XXX_DiscardUnknown()
- func (m *CollectionListTagRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *CollectionListTagRequest) XXX_Merge(src proto.Message)
- func (m *CollectionListTagRequest) XXX_Size() int
- func (m *CollectionListTagRequest) XXX_Unmarshal(b []byte) error
- type CollectionListTagResponse
- func (*CollectionListTagResponse) Descriptor() ([]byte, []int)
- func (m *CollectionListTagResponse) GetStatus() *Status
- func (m *CollectionListTagResponse) GetTag() []*TagEntity
- func (m *CollectionListTagResponse) GetTotal() int64
- func (*CollectionListTagResponse) ProtoMessage()
- func (m *CollectionListTagResponse) Reset()
- func (m *CollectionListTagResponse) String() string
- func (m *CollectionListTagResponse) XXX_DiscardUnknown()
- func (m *CollectionListTagResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *CollectionListTagResponse) XXX_Merge(src proto.Message)
- func (m *CollectionListTagResponse) XXX_Size() int
- func (m *CollectionListTagResponse) XXX_Unmarshal(b []byte) error
- type CollectionMergeJsonRequest
- func (*CollectionMergeJsonRequest) Descriptor() ([]byte, []int)
- func (m *CollectionMergeJsonRequest) GetContent() string
- func (*CollectionMergeJsonRequest) ProtoMessage()
- func (m *CollectionMergeJsonRequest) Reset()
- func (m *CollectionMergeJsonRequest) String() string
- func (m *CollectionMergeJsonRequest) XXX_DiscardUnknown()
- func (m *CollectionMergeJsonRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *CollectionMergeJsonRequest) XXX_Merge(src proto.Message)
- func (m *CollectionMergeJsonRequest) XXX_Size() int
- func (m *CollectionMergeJsonRequest) XXX_Unmarshal(b []byte) error
- type CollectionRemoveTagRequest
- func (*CollectionRemoveTagRequest) Descriptor() ([]byte, []int)
- func (m *CollectionRemoveTagRequest) GetCode() string
- func (*CollectionRemoveTagRequest) ProtoMessage()
- func (m *CollectionRemoveTagRequest) Reset()
- func (m *CollectionRemoveTagRequest) String() string
- func (m *CollectionRemoveTagRequest) XXX_DiscardUnknown()
- func (m *CollectionRemoveTagRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *CollectionRemoveTagRequest) XXX_Merge(src proto.Message)
- func (m *CollectionRemoveTagRequest) XXX_Size() int
- func (m *CollectionRemoveTagRequest) XXX_Unmarshal(b []byte) error
- type CollectionReplaceKeywordRequest
- func (*CollectionReplaceKeywordRequest) Descriptor() ([]byte, []int)
- func (m *CollectionReplaceKeywordRequest) GetMatchedValue() string
- func (m *CollectionReplaceKeywordRequest) GetNewValue() string
- func (*CollectionReplaceKeywordRequest) ProtoMessage()
- func (m *CollectionReplaceKeywordRequest) Reset()
- func (m *CollectionReplaceKeywordRequest) String() string
- func (m *CollectionReplaceKeywordRequest) XXX_DiscardUnknown()
- func (m *CollectionReplaceKeywordRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *CollectionReplaceKeywordRequest) XXX_Merge(src proto.Message)
- func (m *CollectionReplaceKeywordRequest) XXX_Size() int
- func (m *CollectionReplaceKeywordRequest) XXX_Unmarshal(b []byte) error
- type CollectionSearchTagRequest
- func (*CollectionSearchTagRequest) Descriptor() ([]byte, []int)
- func (m *CollectionSearchTagRequest) GetCount() int64
- func (m *CollectionSearchTagRequest) GetFilter() string
- func (m *CollectionSearchTagRequest) GetOffset() int64
- func (*CollectionSearchTagRequest) ProtoMessage()
- func (m *CollectionSearchTagRequest) Reset()
- func (m *CollectionSearchTagRequest) String() string
- func (m *CollectionSearchTagRequest) XXX_DiscardUnknown()
- func (m *CollectionSearchTagRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *CollectionSearchTagRequest) XXX_Merge(src proto.Message)
- func (m *CollectionSearchTagRequest) XXX_Size() int
- func (m *CollectionSearchTagRequest) XXX_Unmarshal(b []byte) error
- type CollectionSearchTagResponse
- func (*CollectionSearchTagResponse) Descriptor() ([]byte, []int)
- func (m *CollectionSearchTagResponse) GetStatus() *Status
- func (m *CollectionSearchTagResponse) GetTag() []*TagEntity
- func (m *CollectionSearchTagResponse) GetTotal() int64
- func (*CollectionSearchTagResponse) ProtoMessage()
- func (m *CollectionSearchTagResponse) Reset()
- func (m *CollectionSearchTagResponse) String() string
- func (m *CollectionSearchTagResponse) XXX_DiscardUnknown()
- func (m *CollectionSearchTagResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *CollectionSearchTagResponse) XXX_Merge(src proto.Message)
- func (m *CollectionSearchTagResponse) XXX_Size() int
- func (m *CollectionSearchTagResponse) XXX_Unmarshal(b []byte) error
- type CollectionService
- type CollectionSuggestFilterRequest
- func (*CollectionSuggestFilterRequest) Descriptor() ([]byte, []int)
- func (m *CollectionSuggestFilterRequest) GetInput() string
- func (*CollectionSuggestFilterRequest) ProtoMessage()
- func (m *CollectionSuggestFilterRequest) Reset()
- func (m *CollectionSuggestFilterRequest) String() string
- func (m *CollectionSuggestFilterRequest) XXX_DiscardUnknown()
- func (m *CollectionSuggestFilterRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *CollectionSuggestFilterRequest) XXX_Merge(src proto.Message)
- func (m *CollectionSuggestFilterRequest) XXX_Size() int
- func (m *CollectionSuggestFilterRequest) XXX_Unmarshal(b []byte) error
- type CollectionSuggestFilterResponse
- func (*CollectionSuggestFilterResponse) Descriptor() ([]byte, []int)
- func (m *CollectionSuggestFilterResponse) GetFilter() []string
- func (m *CollectionSuggestFilterResponse) GetStatus() *Status
- func (*CollectionSuggestFilterResponse) ProtoMessage()
- func (m *CollectionSuggestFilterResponse) Reset()
- func (m *CollectionSuggestFilterResponse) String() string
- func (m *CollectionSuggestFilterResponse) XXX_DiscardUnknown()
- func (m *CollectionSuggestFilterResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *CollectionSuggestFilterResponse) XXX_Merge(src proto.Message)
- func (m *CollectionSuggestFilterResponse) XXX_Size() int
- func (m *CollectionSuggestFilterResponse) XXX_Unmarshal(b []byte) error
- type CollectionUpdateTagRequest
- func (*CollectionUpdateTagRequest) Descriptor() ([]byte, []int)
- func (m *CollectionUpdateTagRequest) GetAlias() map[string]string
- func (m *CollectionUpdateTagRequest) GetCode() string
- func (m *CollectionUpdateTagRequest) GetFlag() int64
- func (m *CollectionUpdateTagRequest) GetKeyword() []string
- func (m *CollectionUpdateTagRequest) GetName() string
- func (*CollectionUpdateTagRequest) ProtoMessage()
- func (m *CollectionUpdateTagRequest) Reset()
- func (m *CollectionUpdateTagRequest) String() string
- func (m *CollectionUpdateTagRequest) XXX_DiscardUnknown()
- func (m *CollectionUpdateTagRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *CollectionUpdateTagRequest) XXX_Merge(src proto.Message)
- func (m *CollectionUpdateTagRequest) XXX_Size() int
- func (m *CollectionUpdateTagRequest) XXX_Unmarshal(b []byte) error
- type DummyAddTagRequest
- func (*DummyAddTagRequest) Descriptor() ([]byte, []int)
- func (m *DummyAddTagRequest) GetCode() string
- func (m *DummyAddTagRequest) GetOwner() string
- func (*DummyAddTagRequest) ProtoMessage()
- func (m *DummyAddTagRequest) Reset()
- func (m *DummyAddTagRequest) String() string
- func (m *DummyAddTagRequest) XXX_DiscardUnknown()
- func (m *DummyAddTagRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *DummyAddTagRequest) XXX_Merge(src proto.Message)
- func (m *DummyAddTagRequest) XXX_Size() int
- func (m *DummyAddTagRequest) XXX_Unmarshal(b []byte) error
- type DummyFilterTagRequest
- func (*DummyFilterTagRequest) Descriptor() ([]byte, []int)
- func (m *DummyFilterTagRequest) GetCode() []string
- func (m *DummyFilterTagRequest) GetCount() int64
- func (m *DummyFilterTagRequest) GetOffset() int64
- func (*DummyFilterTagRequest) ProtoMessage()
- func (m *DummyFilterTagRequest) Reset()
- func (m *DummyFilterTagRequest) String() string
- func (m *DummyFilterTagRequest) XXX_DiscardUnknown()
- func (m *DummyFilterTagRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *DummyFilterTagRequest) XXX_Merge(src proto.Message)
- func (m *DummyFilterTagRequest) XXX_Size() int
- func (m *DummyFilterTagRequest) XXX_Unmarshal(b []byte) error
- type DummyFilterTagResponse
- func (*DummyFilterTagResponse) Descriptor() ([]byte, []int)
- func (m *DummyFilterTagResponse) GetOwner() []string
- func (m *DummyFilterTagResponse) GetStatus() *Status
- func (m *DummyFilterTagResponse) GetTotal() int64
- func (*DummyFilterTagResponse) ProtoMessage()
- func (m *DummyFilterTagResponse) Reset()
- func (m *DummyFilterTagResponse) String() string
- func (m *DummyFilterTagResponse) XXX_DiscardUnknown()
- func (m *DummyFilterTagResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *DummyFilterTagResponse) XXX_Merge(src proto.Message)
- func (m *DummyFilterTagResponse) XXX_Size() int
- func (m *DummyFilterTagResponse) XXX_Unmarshal(b []byte) error
- type DummyHandler
- type DummyListTagRequest
- func (*DummyListTagRequest) Descriptor() ([]byte, []int)
- func (m *DummyListTagRequest) GetCount() int64
- func (m *DummyListTagRequest) GetOffset() int64
- func (m *DummyListTagRequest) GetOwner() string
- func (*DummyListTagRequest) ProtoMessage()
- func (m *DummyListTagRequest) Reset()
- func (m *DummyListTagRequest) String() string
- func (m *DummyListTagRequest) XXX_DiscardUnknown()
- func (m *DummyListTagRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *DummyListTagRequest) XXX_Merge(src proto.Message)
- func (m *DummyListTagRequest) XXX_Size() int
- func (m *DummyListTagRequest) XXX_Unmarshal(b []byte) error
- type DummyListTagResponse
- func (*DummyListTagResponse) Descriptor() ([]byte, []int)
- func (m *DummyListTagResponse) GetStatus() *Status
- func (m *DummyListTagResponse) GetTag() []*TagEntity
- func (m *DummyListTagResponse) GetTotal() int64
- func (*DummyListTagResponse) ProtoMessage()
- func (m *DummyListTagResponse) Reset()
- func (m *DummyListTagResponse) String() string
- func (m *DummyListTagResponse) XXX_DiscardUnknown()
- func (m *DummyListTagResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *DummyListTagResponse) XXX_Merge(src proto.Message)
- func (m *DummyListTagResponse) XXX_Size() int
- func (m *DummyListTagResponse) XXX_Unmarshal(b []byte) error
- type DummyRemoveTagRequest
- func (*DummyRemoveTagRequest) Descriptor() ([]byte, []int)
- func (m *DummyRemoveTagRequest) GetCode() string
- func (m *DummyRemoveTagRequest) GetOwner() string
- func (*DummyRemoveTagRequest) ProtoMessage()
- func (m *DummyRemoveTagRequest) Reset()
- func (m *DummyRemoveTagRequest) String() string
- func (m *DummyRemoveTagRequest) XXX_DiscardUnknown()
- func (m *DummyRemoveTagRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *DummyRemoveTagRequest) XXX_Merge(src proto.Message)
- func (m *DummyRemoveTagRequest) XXX_Size() int
- func (m *DummyRemoveTagRequest) XXX_Unmarshal(b []byte) error
- type DummyService
- type EchoRequest
- func (*EchoRequest) Descriptor() ([]byte, []int)
- func (m *EchoRequest) GetMsg() string
- func (*EchoRequest) ProtoMessage()
- func (m *EchoRequest) Reset()
- func (m *EchoRequest) String() string
- func (m *EchoRequest) XXX_DiscardUnknown()
- func (m *EchoRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *EchoRequest) XXX_Merge(src proto.Message)
- func (m *EchoRequest) XXX_Size() int
- func (m *EchoRequest) XXX_Unmarshal(b []byte) error
- type EchoResponse
- func (*EchoResponse) Descriptor() ([]byte, []int)
- func (m *EchoResponse) GetMsg() string
- func (*EchoResponse) ProtoMessage()
- func (m *EchoResponse) Reset()
- func (m *EchoResponse) String() string
- func (m *EchoResponse) XXX_DiscardUnknown()
- func (m *EchoResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *EchoResponse) XXX_Merge(src proto.Message)
- func (m *EchoResponse) XXX_Size() int
- func (m *EchoResponse) XXX_Unmarshal(b []byte) error
- type ExtendMode
- type HealthyHandler
- type HealthyService
- type Status
- func (*Status) Descriptor() ([]byte, []int)
- func (m *Status) GetCode() int32
- func (m *Status) GetMessage() string
- func (*Status) ProtoMessage()
- func (m *Status) Reset()
- func (m *Status) String() string
- func (m *Status) XXX_DiscardUnknown()
- func (m *Status) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *Status) XXX_Merge(src proto.Message)
- func (m *Status) XXX_Size() int
- func (m *Status) XXX_Unmarshal(b []byte) error
- type TagEntity
- func (*TagEntity) Descriptor() ([]byte, []int)
- func (m *TagEntity) GetAlias() map[string]string
- func (m *TagEntity) GetCode() string
- func (m *TagEntity) GetFlag() int64
- func (m *TagEntity) GetKeyword() []string
- func (m *TagEntity) GetName() string
- func (*TagEntity) ProtoMessage()
- func (m *TagEntity) Reset()
- func (m *TagEntity) String() string
- func (m *TagEntity) XXX_DiscardUnknown()
- func (m *TagEntity) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *TagEntity) XXX_Merge(src proto.Message)
- func (m *TagEntity) XXX_Size() int
- func (m *TagEntity) XXX_Unmarshal(b []byte) error
Constants ¶
This section is empty.
Variables ¶
View Source
var ExtendMode_name = map[int32]string{
0: "INVALID",
1: "AND",
2: "OR",
}
View Source
var ExtendMode_value = map[string]int32{
"INVALID": 0,
"AND": 1,
"OR": 2,
}
Functions ¶
func RegisterCollectionHandler ¶
func RegisterCollectionHandler(s server.Server, hdlr CollectionHandler, opts ...server.HandlerOption) error
func RegisterDummyHandler ¶ added in v1.2.0
func RegisterDummyHandler(s server.Server, hdlr DummyHandler, opts ...server.HandlerOption) error
func RegisterHealthyHandler ¶ added in v1.5.0
func RegisterHealthyHandler(s server.Server, hdlr HealthyHandler, opts ...server.HandlerOption) error
Types ¶
type BlankResponse ¶
type BlankResponse struct { Status *Status `protobuf:"bytes,1,opt,name=status,proto3" json:"status,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
空白回复
func (*BlankResponse) Descriptor ¶
func (*BlankResponse) Descriptor() ([]byte, []int)
func (*BlankResponse) GetStatus ¶
func (m *BlankResponse) GetStatus() *Status
func (*BlankResponse) ProtoMessage ¶
func (*BlankResponse) ProtoMessage()
func (*BlankResponse) Reset ¶
func (m *BlankResponse) Reset()
func (*BlankResponse) String ¶
func (m *BlankResponse) String() string
func (*BlankResponse) XXX_DiscardUnknown ¶
func (m *BlankResponse) XXX_DiscardUnknown()
func (*BlankResponse) XXX_Marshal ¶
func (m *BlankResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*BlankResponse) XXX_Merge ¶
func (m *BlankResponse) XXX_Merge(src proto.Message)
func (*BlankResponse) XXX_Size ¶
func (m *BlankResponse) XXX_Size() int
func (*BlankResponse) XXX_Unmarshal ¶
func (m *BlankResponse) XXX_Unmarshal(b []byte) error
type CollectionAddTagRequest ¶ added in v1.3.0
type CollectionAddTagRequest struct { Code string `protobuf:"bytes,1,opt,name=code,proto3" json:"code,omitempty"` Name string `protobuf:"bytes,2,opt,name=name,proto3" json:"name,omitempty"` Flag int64 `protobuf:"varint,3,opt,name=flag,proto3" json:"flag,omitempty"` Alias string `protobuf:"bytes,4,opt,name=alias,proto3" json:"alias,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
添加标签的请求
func (*CollectionAddTagRequest) Descriptor ¶ added in v1.3.0
func (*CollectionAddTagRequest) Descriptor() ([]byte, []int)
func (*CollectionAddTagRequest) GetAlias ¶ added in v1.3.0
func (m *CollectionAddTagRequest) GetAlias() string
func (*CollectionAddTagRequest) GetCode ¶ added in v1.3.0
func (m *CollectionAddTagRequest) GetCode() string
func (*CollectionAddTagRequest) GetFlag ¶ added in v1.3.0
func (m *CollectionAddTagRequest) GetFlag() int64
func (*CollectionAddTagRequest) GetName ¶ added in v1.3.0
func (m *CollectionAddTagRequest) GetName() string
func (*CollectionAddTagRequest) ProtoMessage ¶ added in v1.3.0
func (*CollectionAddTagRequest) ProtoMessage()
func (*CollectionAddTagRequest) Reset ¶ added in v1.3.0
func (m *CollectionAddTagRequest) Reset()
func (*CollectionAddTagRequest) String ¶ added in v1.3.0
func (m *CollectionAddTagRequest) String() string
func (*CollectionAddTagRequest) XXX_DiscardUnknown ¶ added in v1.3.0
func (m *CollectionAddTagRequest) XXX_DiscardUnknown()
func (*CollectionAddTagRequest) XXX_Marshal ¶ added in v1.3.0
func (m *CollectionAddTagRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*CollectionAddTagRequest) XXX_Merge ¶ added in v1.3.0
func (m *CollectionAddTagRequest) XXX_Merge(src proto.Message)
func (*CollectionAddTagRequest) XXX_Size ¶ added in v1.3.0
func (m *CollectionAddTagRequest) XXX_Size() int
func (*CollectionAddTagRequest) XXX_Unmarshal ¶ added in v1.3.0
func (m *CollectionAddTagRequest) XXX_Unmarshal(b []byte) error
type CollectionExtendKeywordRequest ¶ added in v1.3.0
type CollectionExtendKeywordRequest struct { Mode ExtendMode `protobuf:"varint,1,opt,name=mode,proto3,enum=tag.ExtendMode" json:"mode,omitempty"` MatchedValue []string `protobuf:"bytes,2,rep,name=matchedValue,proto3" json:"matchedValue,omitempty"` NewValue []string `protobuf:"bytes,3,rep,name=newValue,proto3" json:"newValue,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
扩展关键字的请求
func (*CollectionExtendKeywordRequest) Descriptor ¶ added in v1.3.0
func (*CollectionExtendKeywordRequest) Descriptor() ([]byte, []int)
func (*CollectionExtendKeywordRequest) GetMatchedValue ¶ added in v1.3.0
func (m *CollectionExtendKeywordRequest) GetMatchedValue() []string
func (*CollectionExtendKeywordRequest) GetMode ¶ added in v1.3.0
func (m *CollectionExtendKeywordRequest) GetMode() ExtendMode
func (*CollectionExtendKeywordRequest) GetNewValue ¶ added in v1.3.0
func (m *CollectionExtendKeywordRequest) GetNewValue() []string
func (*CollectionExtendKeywordRequest) ProtoMessage ¶ added in v1.3.0
func (*CollectionExtendKeywordRequest) ProtoMessage()
func (*CollectionExtendKeywordRequest) Reset ¶ added in v1.3.0
func (m *CollectionExtendKeywordRequest) Reset()
func (*CollectionExtendKeywordRequest) String ¶ added in v1.3.0
func (m *CollectionExtendKeywordRequest) String() string
func (*CollectionExtendKeywordRequest) XXX_DiscardUnknown ¶ added in v1.3.0
func (m *CollectionExtendKeywordRequest) XXX_DiscardUnknown()
func (*CollectionExtendKeywordRequest) XXX_Marshal ¶ added in v1.3.0
func (m *CollectionExtendKeywordRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*CollectionExtendKeywordRequest) XXX_Merge ¶ added in v1.3.0
func (m *CollectionExtendKeywordRequest) XXX_Merge(src proto.Message)
func (*CollectionExtendKeywordRequest) XXX_Size ¶ added in v1.3.0
func (m *CollectionExtendKeywordRequest) XXX_Size() int
func (*CollectionExtendKeywordRequest) XXX_Unmarshal ¶ added in v1.3.0
func (m *CollectionExtendKeywordRequest) XXX_Unmarshal(b []byte) error
type CollectionHandler ¶
type CollectionHandler interface { // 添加标签 AddTag(context.Context, *CollectionAddTagRequest, *BlankResponse) error // 删除标签 RemoveTag(context.Context, *CollectionRemoveTagRequest, *BlankResponse) error // 更新标签 UpdateTag(context.Context, *CollectionUpdateTagRequest, *BlankResponse) error // 列举标签 ListTag(context.Context, *CollectionListTagRequest, *CollectionListTagResponse) error // 搜索标签 SearchTag(context.Context, *CollectionSearchTagRequest, *CollectionSearchTagResponse) error // 智能提示关键字 SuggestFilter(context.Context, *CollectionSuggestFilterRequest, *CollectionSuggestFilterResponse) error // 替换关键字 // 为包含指定关键字的所有标签替换新的关键字 ReplaceKeyword(context.Context, *CollectionReplaceKeywordRequest, *BlankResponse) error // 扩展关键字 // 为包含指定关键字的所有标签追加新的关键字 ExtendKeyword(context.Context, *CollectionExtendKeywordRequest, *BlankResponse) error // 合并Json格式数据 MergeJson(context.Context, *CollectionMergeJsonRequest, *BlankResponse) error }
type CollectionListTagRequest ¶ added in v1.3.0
type CollectionListTagRequest struct { Offset int64 `protobuf:"varint,1,opt,name=offset,proto3" json:"offset,omitempty"` Count int64 `protobuf:"varint,2,opt,name=count,proto3" json:"count,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
列举标签的请求
func (*CollectionListTagRequest) Descriptor ¶ added in v1.3.0
func (*CollectionListTagRequest) Descriptor() ([]byte, []int)
func (*CollectionListTagRequest) GetCount ¶ added in v1.3.0
func (m *CollectionListTagRequest) GetCount() int64
func (*CollectionListTagRequest) GetOffset ¶ added in v1.3.0
func (m *CollectionListTagRequest) GetOffset() int64
func (*CollectionListTagRequest) ProtoMessage ¶ added in v1.3.0
func (*CollectionListTagRequest) ProtoMessage()
func (*CollectionListTagRequest) Reset ¶ added in v1.3.0
func (m *CollectionListTagRequest) Reset()
func (*CollectionListTagRequest) String ¶ added in v1.3.0
func (m *CollectionListTagRequest) String() string
func (*CollectionListTagRequest) XXX_DiscardUnknown ¶ added in v1.3.0
func (m *CollectionListTagRequest) XXX_DiscardUnknown()
func (*CollectionListTagRequest) XXX_Marshal ¶ added in v1.3.0
func (m *CollectionListTagRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*CollectionListTagRequest) XXX_Merge ¶ added in v1.3.0
func (m *CollectionListTagRequest) XXX_Merge(src proto.Message)
func (*CollectionListTagRequest) XXX_Size ¶ added in v1.3.0
func (m *CollectionListTagRequest) XXX_Size() int
func (*CollectionListTagRequest) XXX_Unmarshal ¶ added in v1.3.0
func (m *CollectionListTagRequest) XXX_Unmarshal(b []byte) error
type CollectionListTagResponse ¶ added in v1.3.0
type CollectionListTagResponse struct { Status *Status `protobuf:"bytes,1,opt,name=status,proto3" json:"status,omitempty"` Total int64 `protobuf:"varint,2,opt,name=total,proto3" json:"total,omitempty"` Tag []*TagEntity `protobuf:"bytes,3,rep,name=tag,proto3" json:"tag,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
列举标签的回复
func (*CollectionListTagResponse) Descriptor ¶ added in v1.3.0
func (*CollectionListTagResponse) Descriptor() ([]byte, []int)
func (*CollectionListTagResponse) GetStatus ¶ added in v1.3.0
func (m *CollectionListTagResponse) GetStatus() *Status
func (*CollectionListTagResponse) GetTag ¶ added in v1.3.0
func (m *CollectionListTagResponse) GetTag() []*TagEntity
func (*CollectionListTagResponse) GetTotal ¶ added in v1.3.0
func (m *CollectionListTagResponse) GetTotal() int64
func (*CollectionListTagResponse) ProtoMessage ¶ added in v1.3.0
func (*CollectionListTagResponse) ProtoMessage()
func (*CollectionListTagResponse) Reset ¶ added in v1.3.0
func (m *CollectionListTagResponse) Reset()
func (*CollectionListTagResponse) String ¶ added in v1.3.0
func (m *CollectionListTagResponse) String() string
func (*CollectionListTagResponse) XXX_DiscardUnknown ¶ added in v1.3.0
func (m *CollectionListTagResponse) XXX_DiscardUnknown()
func (*CollectionListTagResponse) XXX_Marshal ¶ added in v1.3.0
func (m *CollectionListTagResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*CollectionListTagResponse) XXX_Merge ¶ added in v1.3.0
func (m *CollectionListTagResponse) XXX_Merge(src proto.Message)
func (*CollectionListTagResponse) XXX_Size ¶ added in v1.3.0
func (m *CollectionListTagResponse) XXX_Size() int
func (*CollectionListTagResponse) XXX_Unmarshal ¶ added in v1.3.0
func (m *CollectionListTagResponse) XXX_Unmarshal(b []byte) error
type CollectionMergeJsonRequest ¶ added in v1.3.0
type CollectionMergeJsonRequest struct { Content string `protobuf:"bytes,1,opt,name=content,proto3" json:"content,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
合并Json格式数据的请求
func (*CollectionMergeJsonRequest) Descriptor ¶ added in v1.3.0
func (*CollectionMergeJsonRequest) Descriptor() ([]byte, []int)
func (*CollectionMergeJsonRequest) GetContent ¶ added in v1.3.0
func (m *CollectionMergeJsonRequest) GetContent() string
func (*CollectionMergeJsonRequest) ProtoMessage ¶ added in v1.3.0
func (*CollectionMergeJsonRequest) ProtoMessage()
func (*CollectionMergeJsonRequest) Reset ¶ added in v1.3.0
func (m *CollectionMergeJsonRequest) Reset()
func (*CollectionMergeJsonRequest) String ¶ added in v1.3.0
func (m *CollectionMergeJsonRequest) String() string
func (*CollectionMergeJsonRequest) XXX_DiscardUnknown ¶ added in v1.3.0
func (m *CollectionMergeJsonRequest) XXX_DiscardUnknown()
func (*CollectionMergeJsonRequest) XXX_Marshal ¶ added in v1.3.0
func (m *CollectionMergeJsonRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*CollectionMergeJsonRequest) XXX_Merge ¶ added in v1.3.0
func (m *CollectionMergeJsonRequest) XXX_Merge(src proto.Message)
func (*CollectionMergeJsonRequest) XXX_Size ¶ added in v1.3.0
func (m *CollectionMergeJsonRequest) XXX_Size() int
func (*CollectionMergeJsonRequest) XXX_Unmarshal ¶ added in v1.3.0
func (m *CollectionMergeJsonRequest) XXX_Unmarshal(b []byte) error
type CollectionRemoveTagRequest ¶ added in v1.3.0
type CollectionRemoveTagRequest struct { Code string `protobuf:"bytes,1,opt,name=code,proto3" json:"code,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
删除标签的请求
func (*CollectionRemoveTagRequest) Descriptor ¶ added in v1.3.0
func (*CollectionRemoveTagRequest) Descriptor() ([]byte, []int)
func (*CollectionRemoveTagRequest) GetCode ¶ added in v1.3.0
func (m *CollectionRemoveTagRequest) GetCode() string
func (*CollectionRemoveTagRequest) ProtoMessage ¶ added in v1.3.0
func (*CollectionRemoveTagRequest) ProtoMessage()
func (*CollectionRemoveTagRequest) Reset ¶ added in v1.3.0
func (m *CollectionRemoveTagRequest) Reset()
func (*CollectionRemoveTagRequest) String ¶ added in v1.3.0
func (m *CollectionRemoveTagRequest) String() string
func (*CollectionRemoveTagRequest) XXX_DiscardUnknown ¶ added in v1.3.0
func (m *CollectionRemoveTagRequest) XXX_DiscardUnknown()
func (*CollectionRemoveTagRequest) XXX_Marshal ¶ added in v1.3.0
func (m *CollectionRemoveTagRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*CollectionRemoveTagRequest) XXX_Merge ¶ added in v1.3.0
func (m *CollectionRemoveTagRequest) XXX_Merge(src proto.Message)
func (*CollectionRemoveTagRequest) XXX_Size ¶ added in v1.3.0
func (m *CollectionRemoveTagRequest) XXX_Size() int
func (*CollectionRemoveTagRequest) XXX_Unmarshal ¶ added in v1.3.0
func (m *CollectionRemoveTagRequest) XXX_Unmarshal(b []byte) error
type CollectionReplaceKeywordRequest ¶ added in v1.3.0
type CollectionReplaceKeywordRequest struct { MatchedValue string `protobuf:"bytes,1,opt,name=matchedValue,proto3" json:"matchedValue,omitempty"` NewValue string `protobuf:"bytes,2,opt,name=newValue,proto3" json:"newValue,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
替换关键字的请求
func (*CollectionReplaceKeywordRequest) Descriptor ¶ added in v1.3.0
func (*CollectionReplaceKeywordRequest) Descriptor() ([]byte, []int)
func (*CollectionReplaceKeywordRequest) GetMatchedValue ¶ added in v1.3.0
func (m *CollectionReplaceKeywordRequest) GetMatchedValue() string
func (*CollectionReplaceKeywordRequest) GetNewValue ¶ added in v1.3.0
func (m *CollectionReplaceKeywordRequest) GetNewValue() string
func (*CollectionReplaceKeywordRequest) ProtoMessage ¶ added in v1.3.0
func (*CollectionReplaceKeywordRequest) ProtoMessage()
func (*CollectionReplaceKeywordRequest) Reset ¶ added in v1.3.0
func (m *CollectionReplaceKeywordRequest) Reset()
func (*CollectionReplaceKeywordRequest) String ¶ added in v1.3.0
func (m *CollectionReplaceKeywordRequest) String() string
func (*CollectionReplaceKeywordRequest) XXX_DiscardUnknown ¶ added in v1.3.0
func (m *CollectionReplaceKeywordRequest) XXX_DiscardUnknown()
func (*CollectionReplaceKeywordRequest) XXX_Marshal ¶ added in v1.3.0
func (m *CollectionReplaceKeywordRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*CollectionReplaceKeywordRequest) XXX_Merge ¶ added in v1.3.0
func (m *CollectionReplaceKeywordRequest) XXX_Merge(src proto.Message)
func (*CollectionReplaceKeywordRequest) XXX_Size ¶ added in v1.3.0
func (m *CollectionReplaceKeywordRequest) XXX_Size() int
func (*CollectionReplaceKeywordRequest) XXX_Unmarshal ¶ added in v1.3.0
func (m *CollectionReplaceKeywordRequest) XXX_Unmarshal(b []byte) error
type CollectionSearchTagRequest ¶ added in v1.3.0
type CollectionSearchTagRequest struct { Filter string `protobuf:"bytes,1,opt,name=filter,proto3" json:"filter,omitempty"` Offset int64 `protobuf:"varint,2,opt,name=offset,proto3" json:"offset,omitempty"` Count int64 `protobuf:"varint,3,opt,name=count,proto3" json:"count,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
搜索标签的请求
func (*CollectionSearchTagRequest) Descriptor ¶ added in v1.3.0
func (*CollectionSearchTagRequest) Descriptor() ([]byte, []int)
func (*CollectionSearchTagRequest) GetCount ¶ added in v1.3.0
func (m *CollectionSearchTagRequest) GetCount() int64
func (*CollectionSearchTagRequest) GetFilter ¶ added in v1.3.0
func (m *CollectionSearchTagRequest) GetFilter() string
func (*CollectionSearchTagRequest) GetOffset ¶ added in v1.3.0
func (m *CollectionSearchTagRequest) GetOffset() int64
func (*CollectionSearchTagRequest) ProtoMessage ¶ added in v1.3.0
func (*CollectionSearchTagRequest) ProtoMessage()
func (*CollectionSearchTagRequest) Reset ¶ added in v1.3.0
func (m *CollectionSearchTagRequest) Reset()
func (*CollectionSearchTagRequest) String ¶ added in v1.3.0
func (m *CollectionSearchTagRequest) String() string
func (*CollectionSearchTagRequest) XXX_DiscardUnknown ¶ added in v1.3.0
func (m *CollectionSearchTagRequest) XXX_DiscardUnknown()
func (*CollectionSearchTagRequest) XXX_Marshal ¶ added in v1.3.0
func (m *CollectionSearchTagRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*CollectionSearchTagRequest) XXX_Merge ¶ added in v1.3.0
func (m *CollectionSearchTagRequest) XXX_Merge(src proto.Message)
func (*CollectionSearchTagRequest) XXX_Size ¶ added in v1.3.0
func (m *CollectionSearchTagRequest) XXX_Size() int
func (*CollectionSearchTagRequest) XXX_Unmarshal ¶ added in v1.3.0
func (m *CollectionSearchTagRequest) XXX_Unmarshal(b []byte) error
type CollectionSearchTagResponse ¶ added in v1.3.0
type CollectionSearchTagResponse struct { Status *Status `protobuf:"bytes,1,opt,name=status,proto3" json:"status,omitempty"` Total int64 `protobuf:"varint,2,opt,name=total,proto3" json:"total,omitempty"` Tag []*TagEntity `protobuf:"bytes,3,rep,name=tag,proto3" json:"tag,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
搜索标签的回复
func (*CollectionSearchTagResponse) Descriptor ¶ added in v1.3.0
func (*CollectionSearchTagResponse) Descriptor() ([]byte, []int)
func (*CollectionSearchTagResponse) GetStatus ¶ added in v1.3.0
func (m *CollectionSearchTagResponse) GetStatus() *Status
func (*CollectionSearchTagResponse) GetTag ¶ added in v1.3.0
func (m *CollectionSearchTagResponse) GetTag() []*TagEntity
func (*CollectionSearchTagResponse) GetTotal ¶ added in v1.3.0
func (m *CollectionSearchTagResponse) GetTotal() int64
func (*CollectionSearchTagResponse) ProtoMessage ¶ added in v1.3.0
func (*CollectionSearchTagResponse) ProtoMessage()
func (*CollectionSearchTagResponse) Reset ¶ added in v1.3.0
func (m *CollectionSearchTagResponse) Reset()
func (*CollectionSearchTagResponse) String ¶ added in v1.3.0
func (m *CollectionSearchTagResponse) String() string
func (*CollectionSearchTagResponse) XXX_DiscardUnknown ¶ added in v1.3.0
func (m *CollectionSearchTagResponse) XXX_DiscardUnknown()
func (*CollectionSearchTagResponse) XXX_Marshal ¶ added in v1.3.0
func (m *CollectionSearchTagResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*CollectionSearchTagResponse) XXX_Merge ¶ added in v1.3.0
func (m *CollectionSearchTagResponse) XXX_Merge(src proto.Message)
func (*CollectionSearchTagResponse) XXX_Size ¶ added in v1.3.0
func (m *CollectionSearchTagResponse) XXX_Size() int
func (*CollectionSearchTagResponse) XXX_Unmarshal ¶ added in v1.3.0
func (m *CollectionSearchTagResponse) XXX_Unmarshal(b []byte) error
type CollectionService ¶
type CollectionService interface { // 添加标签 AddTag(ctx context.Context, in *CollectionAddTagRequest, opts ...client.CallOption) (*BlankResponse, error) // 删除标签 RemoveTag(ctx context.Context, in *CollectionRemoveTagRequest, opts ...client.CallOption) (*BlankResponse, error) // 更新标签 UpdateTag(ctx context.Context, in *CollectionUpdateTagRequest, opts ...client.CallOption) (*BlankResponse, error) // 列举标签 ListTag(ctx context.Context, in *CollectionListTagRequest, opts ...client.CallOption) (*CollectionListTagResponse, error) // 搜索标签 SearchTag(ctx context.Context, in *CollectionSearchTagRequest, opts ...client.CallOption) (*CollectionSearchTagResponse, error) // 智能提示关键字 SuggestFilter(ctx context.Context, in *CollectionSuggestFilterRequest, opts ...client.CallOption) (*CollectionSuggestFilterResponse, error) // 替换关键字 // 为包含指定关键字的所有标签替换新的关键字 ReplaceKeyword(ctx context.Context, in *CollectionReplaceKeywordRequest, opts ...client.CallOption) (*BlankResponse, error) // 扩展关键字 // 为包含指定关键字的所有标签追加新的关键字 ExtendKeyword(ctx context.Context, in *CollectionExtendKeywordRequest, opts ...client.CallOption) (*BlankResponse, error) // 合并Json格式数据 MergeJson(ctx context.Context, in *CollectionMergeJsonRequest, opts ...client.CallOption) (*BlankResponse, error) }
func NewCollectionService ¶
func NewCollectionService(name string, c client.Client) CollectionService
type CollectionSuggestFilterRequest ¶ added in v1.3.0
type CollectionSuggestFilterRequest struct { Input string `protobuf:"bytes,1,opt,name=input,proto3" json:"input,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
智能提示关键字的请求
func (*CollectionSuggestFilterRequest) Descriptor ¶ added in v1.3.0
func (*CollectionSuggestFilterRequest) Descriptor() ([]byte, []int)
func (*CollectionSuggestFilterRequest) GetInput ¶ added in v1.3.0
func (m *CollectionSuggestFilterRequest) GetInput() string
func (*CollectionSuggestFilterRequest) ProtoMessage ¶ added in v1.3.0
func (*CollectionSuggestFilterRequest) ProtoMessage()
func (*CollectionSuggestFilterRequest) Reset ¶ added in v1.3.0
func (m *CollectionSuggestFilterRequest) Reset()
func (*CollectionSuggestFilterRequest) String ¶ added in v1.3.0
func (m *CollectionSuggestFilterRequest) String() string
func (*CollectionSuggestFilterRequest) XXX_DiscardUnknown ¶ added in v1.3.0
func (m *CollectionSuggestFilterRequest) XXX_DiscardUnknown()
func (*CollectionSuggestFilterRequest) XXX_Marshal ¶ added in v1.3.0
func (m *CollectionSuggestFilterRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*CollectionSuggestFilterRequest) XXX_Merge ¶ added in v1.3.0
func (m *CollectionSuggestFilterRequest) XXX_Merge(src proto.Message)
func (*CollectionSuggestFilterRequest) XXX_Size ¶ added in v1.3.0
func (m *CollectionSuggestFilterRequest) XXX_Size() int
func (*CollectionSuggestFilterRequest) XXX_Unmarshal ¶ added in v1.3.0
func (m *CollectionSuggestFilterRequest) XXX_Unmarshal(b []byte) error
type CollectionSuggestFilterResponse ¶ added in v1.3.0
type CollectionSuggestFilterResponse struct { Status *Status `protobuf:"bytes,1,opt,name=status,proto3" json:"status,omitempty"` Filter []string `protobuf:"bytes,2,rep,name=filter,proto3" json:"filter,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
智能提示过滤器的回复
func (*CollectionSuggestFilterResponse) Descriptor ¶ added in v1.3.0
func (*CollectionSuggestFilterResponse) Descriptor() ([]byte, []int)
func (*CollectionSuggestFilterResponse) GetFilter ¶ added in v1.3.0
func (m *CollectionSuggestFilterResponse) GetFilter() []string
func (*CollectionSuggestFilterResponse) GetStatus ¶ added in v1.3.0
func (m *CollectionSuggestFilterResponse) GetStatus() *Status
func (*CollectionSuggestFilterResponse) ProtoMessage ¶ added in v1.3.0
func (*CollectionSuggestFilterResponse) ProtoMessage()
func (*CollectionSuggestFilterResponse) Reset ¶ added in v1.3.0
func (m *CollectionSuggestFilterResponse) Reset()
func (*CollectionSuggestFilterResponse) String ¶ added in v1.3.0
func (m *CollectionSuggestFilterResponse) String() string
func (*CollectionSuggestFilterResponse) XXX_DiscardUnknown ¶ added in v1.3.0
func (m *CollectionSuggestFilterResponse) XXX_DiscardUnknown()
func (*CollectionSuggestFilterResponse) XXX_Marshal ¶ added in v1.3.0
func (m *CollectionSuggestFilterResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*CollectionSuggestFilterResponse) XXX_Merge ¶ added in v1.3.0
func (m *CollectionSuggestFilterResponse) XXX_Merge(src proto.Message)
func (*CollectionSuggestFilterResponse) XXX_Size ¶ added in v1.3.0
func (m *CollectionSuggestFilterResponse) XXX_Size() int
func (*CollectionSuggestFilterResponse) XXX_Unmarshal ¶ added in v1.3.0
func (m *CollectionSuggestFilterResponse) XXX_Unmarshal(b []byte) error
type CollectionUpdateTagRequest ¶ added in v1.3.0
type CollectionUpdateTagRequest struct { Code string `protobuf:"bytes,1,opt,name=code,proto3" json:"code,omitempty"` Name string `protobuf:"bytes,2,opt,name=name,proto3" json:"name,omitempty"` Flag int64 `protobuf:"varint,3,opt,name=flag,proto3" json:"flag,omitempty"` Alias map[string]string `` /* 151-byte string literal not displayed */ Keyword []string `protobuf:"bytes,5,rep,name=keyword,proto3" json:"keyword,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
更新标签的请求
func (*CollectionUpdateTagRequest) Descriptor ¶ added in v1.3.0
func (*CollectionUpdateTagRequest) Descriptor() ([]byte, []int)
func (*CollectionUpdateTagRequest) GetAlias ¶ added in v1.3.0
func (m *CollectionUpdateTagRequest) GetAlias() map[string]string
func (*CollectionUpdateTagRequest) GetCode ¶ added in v1.3.0
func (m *CollectionUpdateTagRequest) GetCode() string
func (*CollectionUpdateTagRequest) GetFlag ¶ added in v1.3.0
func (m *CollectionUpdateTagRequest) GetFlag() int64
func (*CollectionUpdateTagRequest) GetKeyword ¶ added in v1.3.0
func (m *CollectionUpdateTagRequest) GetKeyword() []string
func (*CollectionUpdateTagRequest) GetName ¶ added in v1.3.0
func (m *CollectionUpdateTagRequest) GetName() string
func (*CollectionUpdateTagRequest) ProtoMessage ¶ added in v1.3.0
func (*CollectionUpdateTagRequest) ProtoMessage()
func (*CollectionUpdateTagRequest) Reset ¶ added in v1.3.0
func (m *CollectionUpdateTagRequest) Reset()
func (*CollectionUpdateTagRequest) String ¶ added in v1.3.0
func (m *CollectionUpdateTagRequest) String() string
func (*CollectionUpdateTagRequest) XXX_DiscardUnknown ¶ added in v1.3.0
func (m *CollectionUpdateTagRequest) XXX_DiscardUnknown()
func (*CollectionUpdateTagRequest) XXX_Marshal ¶ added in v1.3.0
func (m *CollectionUpdateTagRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*CollectionUpdateTagRequest) XXX_Merge ¶ added in v1.3.0
func (m *CollectionUpdateTagRequest) XXX_Merge(src proto.Message)
func (*CollectionUpdateTagRequest) XXX_Size ¶ added in v1.3.0
func (m *CollectionUpdateTagRequest) XXX_Size() int
func (*CollectionUpdateTagRequest) XXX_Unmarshal ¶ added in v1.3.0
func (m *CollectionUpdateTagRequest) XXX_Unmarshal(b []byte) error
type DummyAddTagRequest ¶ added in v1.3.0
type DummyAddTagRequest struct { Code string `protobuf:"bytes,1,opt,name=code,proto3" json:"code,omitempty"` Owner string `protobuf:"bytes,2,opt,name=owner,proto3" json:"owner,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
添加标签的请求
func (*DummyAddTagRequest) Descriptor ¶ added in v1.3.0
func (*DummyAddTagRequest) Descriptor() ([]byte, []int)
func (*DummyAddTagRequest) GetCode ¶ added in v1.3.0
func (m *DummyAddTagRequest) GetCode() string
func (*DummyAddTagRequest) GetOwner ¶ added in v1.3.0
func (m *DummyAddTagRequest) GetOwner() string
func (*DummyAddTagRequest) ProtoMessage ¶ added in v1.3.0
func (*DummyAddTagRequest) ProtoMessage()
func (*DummyAddTagRequest) Reset ¶ added in v1.3.0
func (m *DummyAddTagRequest) Reset()
func (*DummyAddTagRequest) String ¶ added in v1.3.0
func (m *DummyAddTagRequest) String() string
func (*DummyAddTagRequest) XXX_DiscardUnknown ¶ added in v1.3.0
func (m *DummyAddTagRequest) XXX_DiscardUnknown()
func (*DummyAddTagRequest) XXX_Marshal ¶ added in v1.3.0
func (m *DummyAddTagRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*DummyAddTagRequest) XXX_Merge ¶ added in v1.3.0
func (m *DummyAddTagRequest) XXX_Merge(src proto.Message)
func (*DummyAddTagRequest) XXX_Size ¶ added in v1.3.0
func (m *DummyAddTagRequest) XXX_Size() int
func (*DummyAddTagRequest) XXX_Unmarshal ¶ added in v1.3.0
func (m *DummyAddTagRequest) XXX_Unmarshal(b []byte) error
type DummyFilterTagRequest ¶ added in v1.3.0
type DummyFilterTagRequest struct { Offset int64 `protobuf:"varint,1,opt,name=offset,proto3" json:"offset,omitempty"` Count int64 `protobuf:"varint,2,opt,name=count,proto3" json:"count,omitempty"` Code []string `protobuf:"bytes,3,rep,name=code,proto3" json:"code,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
检索标签的请求
func (*DummyFilterTagRequest) Descriptor ¶ added in v1.3.0
func (*DummyFilterTagRequest) Descriptor() ([]byte, []int)
func (*DummyFilterTagRequest) GetCode ¶ added in v1.3.0
func (m *DummyFilterTagRequest) GetCode() []string
func (*DummyFilterTagRequest) GetCount ¶ added in v1.3.0
func (m *DummyFilterTagRequest) GetCount() int64
func (*DummyFilterTagRequest) GetOffset ¶ added in v1.3.0
func (m *DummyFilterTagRequest) GetOffset() int64
func (*DummyFilterTagRequest) ProtoMessage ¶ added in v1.3.0
func (*DummyFilterTagRequest) ProtoMessage()
func (*DummyFilterTagRequest) Reset ¶ added in v1.3.0
func (m *DummyFilterTagRequest) Reset()
func (*DummyFilterTagRequest) String ¶ added in v1.3.0
func (m *DummyFilterTagRequest) String() string
func (*DummyFilterTagRequest) XXX_DiscardUnknown ¶ added in v1.3.0
func (m *DummyFilterTagRequest) XXX_DiscardUnknown()
func (*DummyFilterTagRequest) XXX_Marshal ¶ added in v1.3.0
func (m *DummyFilterTagRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*DummyFilterTagRequest) XXX_Merge ¶ added in v1.3.0
func (m *DummyFilterTagRequest) XXX_Merge(src proto.Message)
func (*DummyFilterTagRequest) XXX_Size ¶ added in v1.3.0
func (m *DummyFilterTagRequest) XXX_Size() int
func (*DummyFilterTagRequest) XXX_Unmarshal ¶ added in v1.3.0
func (m *DummyFilterTagRequest) XXX_Unmarshal(b []byte) error
type DummyFilterTagResponse ¶ added in v1.3.0
type DummyFilterTagResponse struct { Status *Status `protobuf:"bytes,1,opt,name=status,proto3" json:"status,omitempty"` Total int64 `protobuf:"varint,2,opt,name=total,proto3" json:"total,omitempty"` Owner []string `protobuf:"bytes,3,rep,name=owner,proto3" json:"owner,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
检索标签的回复
func (*DummyFilterTagResponse) Descriptor ¶ added in v1.3.0
func (*DummyFilterTagResponse) Descriptor() ([]byte, []int)
func (*DummyFilterTagResponse) GetOwner ¶ added in v1.3.0
func (m *DummyFilterTagResponse) GetOwner() []string
func (*DummyFilterTagResponse) GetStatus ¶ added in v1.3.0
func (m *DummyFilterTagResponse) GetStatus() *Status
func (*DummyFilterTagResponse) GetTotal ¶ added in v1.3.0
func (m *DummyFilterTagResponse) GetTotal() int64
func (*DummyFilterTagResponse) ProtoMessage ¶ added in v1.3.0
func (*DummyFilterTagResponse) ProtoMessage()
func (*DummyFilterTagResponse) Reset ¶ added in v1.3.0
func (m *DummyFilterTagResponse) Reset()
func (*DummyFilterTagResponse) String ¶ added in v1.3.0
func (m *DummyFilterTagResponse) String() string
func (*DummyFilterTagResponse) XXX_DiscardUnknown ¶ added in v1.3.0
func (m *DummyFilterTagResponse) XXX_DiscardUnknown()
func (*DummyFilterTagResponse) XXX_Marshal ¶ added in v1.3.0
func (m *DummyFilterTagResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*DummyFilterTagResponse) XXX_Merge ¶ added in v1.3.0
func (m *DummyFilterTagResponse) XXX_Merge(src proto.Message)
func (*DummyFilterTagResponse) XXX_Size ¶ added in v1.3.0
func (m *DummyFilterTagResponse) XXX_Size() int
func (*DummyFilterTagResponse) XXX_Unmarshal ¶ added in v1.3.0
func (m *DummyFilterTagResponse) XXX_Unmarshal(b []byte) error
type DummyHandler ¶ added in v1.2.0
type DummyHandler interface { // 添加标签 AddTag(context.Context, *DummyAddTagRequest, *BlankResponse) error // 删除标签 RemoveTag(context.Context, *DummyRemoveTagRequest, *BlankResponse) error // 检索标签 // 使用便签列表检索受体 FilterTag(context.Context, *DummyFilterTagRequest, *DummyFilterTagResponse) error // 列举标签 // 获取受体的标签列表 ListTag(context.Context, *DummyListTagRequest, *DummyListTagResponse) error }
type DummyListTagRequest ¶ added in v1.4.0
type DummyListTagRequest struct { Offset int64 `protobuf:"varint,1,opt,name=offset,proto3" json:"offset,omitempty"` Count int64 `protobuf:"varint,2,opt,name=count,proto3" json:"count,omitempty"` Owner string `protobuf:"bytes,3,opt,name=owner,proto3" json:"owner,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
列举标签的请求
func (*DummyListTagRequest) Descriptor ¶ added in v1.4.0
func (*DummyListTagRequest) Descriptor() ([]byte, []int)
func (*DummyListTagRequest) GetCount ¶ added in v1.4.0
func (m *DummyListTagRequest) GetCount() int64
func (*DummyListTagRequest) GetOffset ¶ added in v1.4.0
func (m *DummyListTagRequest) GetOffset() int64
func (*DummyListTagRequest) GetOwner ¶ added in v1.4.0
func (m *DummyListTagRequest) GetOwner() string
func (*DummyListTagRequest) ProtoMessage ¶ added in v1.4.0
func (*DummyListTagRequest) ProtoMessage()
func (*DummyListTagRequest) Reset ¶ added in v1.4.0
func (m *DummyListTagRequest) Reset()
func (*DummyListTagRequest) String ¶ added in v1.4.0
func (m *DummyListTagRequest) String() string
func (*DummyListTagRequest) XXX_DiscardUnknown ¶ added in v1.4.0
func (m *DummyListTagRequest) XXX_DiscardUnknown()
func (*DummyListTagRequest) XXX_Marshal ¶ added in v1.4.0
func (m *DummyListTagRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*DummyListTagRequest) XXX_Merge ¶ added in v1.4.0
func (m *DummyListTagRequest) XXX_Merge(src proto.Message)
func (*DummyListTagRequest) XXX_Size ¶ added in v1.4.0
func (m *DummyListTagRequest) XXX_Size() int
func (*DummyListTagRequest) XXX_Unmarshal ¶ added in v1.4.0
func (m *DummyListTagRequest) XXX_Unmarshal(b []byte) error
type DummyListTagResponse ¶ added in v1.4.0
type DummyListTagResponse struct { Status *Status `protobuf:"bytes,1,opt,name=status,proto3" json:"status,omitempty"` Total int64 `protobuf:"varint,2,opt,name=total,proto3" json:"total,omitempty"` Tag []*TagEntity `protobuf:"bytes,3,rep,name=tag,proto3" json:"tag,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
列举标签的回复
func (*DummyListTagResponse) Descriptor ¶ added in v1.4.0
func (*DummyListTagResponse) Descriptor() ([]byte, []int)
func (*DummyListTagResponse) GetStatus ¶ added in v1.4.0
func (m *DummyListTagResponse) GetStatus() *Status
func (*DummyListTagResponse) GetTag ¶ added in v1.4.0
func (m *DummyListTagResponse) GetTag() []*TagEntity
func (*DummyListTagResponse) GetTotal ¶ added in v1.4.0
func (m *DummyListTagResponse) GetTotal() int64
func (*DummyListTagResponse) ProtoMessage ¶ added in v1.4.0
func (*DummyListTagResponse) ProtoMessage()
func (*DummyListTagResponse) Reset ¶ added in v1.4.0
func (m *DummyListTagResponse) Reset()
func (*DummyListTagResponse) String ¶ added in v1.4.0
func (m *DummyListTagResponse) String() string
func (*DummyListTagResponse) XXX_DiscardUnknown ¶ added in v1.4.0
func (m *DummyListTagResponse) XXX_DiscardUnknown()
func (*DummyListTagResponse) XXX_Marshal ¶ added in v1.4.0
func (m *DummyListTagResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*DummyListTagResponse) XXX_Merge ¶ added in v1.4.0
func (m *DummyListTagResponse) XXX_Merge(src proto.Message)
func (*DummyListTagResponse) XXX_Size ¶ added in v1.4.0
func (m *DummyListTagResponse) XXX_Size() int
func (*DummyListTagResponse) XXX_Unmarshal ¶ added in v1.4.0
func (m *DummyListTagResponse) XXX_Unmarshal(b []byte) error
type DummyRemoveTagRequest ¶ added in v1.3.0
type DummyRemoveTagRequest struct { Code string `protobuf:"bytes,1,opt,name=code,proto3" json:"code,omitempty"` Owner string `protobuf:"bytes,2,opt,name=owner,proto3" json:"owner,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
删除标签的请求
func (*DummyRemoveTagRequest) Descriptor ¶ added in v1.3.0
func (*DummyRemoveTagRequest) Descriptor() ([]byte, []int)
func (*DummyRemoveTagRequest) GetCode ¶ added in v1.3.0
func (m *DummyRemoveTagRequest) GetCode() string
func (*DummyRemoveTagRequest) GetOwner ¶ added in v1.3.0
func (m *DummyRemoveTagRequest) GetOwner() string
func (*DummyRemoveTagRequest) ProtoMessage ¶ added in v1.3.0
func (*DummyRemoveTagRequest) ProtoMessage()
func (*DummyRemoveTagRequest) Reset ¶ added in v1.3.0
func (m *DummyRemoveTagRequest) Reset()
func (*DummyRemoveTagRequest) String ¶ added in v1.3.0
func (m *DummyRemoveTagRequest) String() string
func (*DummyRemoveTagRequest) XXX_DiscardUnknown ¶ added in v1.3.0
func (m *DummyRemoveTagRequest) XXX_DiscardUnknown()
func (*DummyRemoveTagRequest) XXX_Marshal ¶ added in v1.3.0
func (m *DummyRemoveTagRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*DummyRemoveTagRequest) XXX_Merge ¶ added in v1.3.0
func (m *DummyRemoveTagRequest) XXX_Merge(src proto.Message)
func (*DummyRemoveTagRequest) XXX_Size ¶ added in v1.3.0
func (m *DummyRemoveTagRequest) XXX_Size() int
func (*DummyRemoveTagRequest) XXX_Unmarshal ¶ added in v1.3.0
func (m *DummyRemoveTagRequest) XXX_Unmarshal(b []byte) error
type DummyService ¶ added in v1.2.0
type DummyService interface { // 添加标签 AddTag(ctx context.Context, in *DummyAddTagRequest, opts ...client.CallOption) (*BlankResponse, error) // 删除标签 RemoveTag(ctx context.Context, in *DummyRemoveTagRequest, opts ...client.CallOption) (*BlankResponse, error) // 检索标签 // 使用便签列表检索受体 FilterTag(ctx context.Context, in *DummyFilterTagRequest, opts ...client.CallOption) (*DummyFilterTagResponse, error) // 列举标签 // 获取受体的标签列表 ListTag(ctx context.Context, in *DummyListTagRequest, opts ...client.CallOption) (*DummyListTagResponse, error) }
func NewDummyService ¶ added in v1.2.0
func NewDummyService(name string, c client.Client) DummyService
type EchoRequest ¶ added in v1.5.0
type EchoRequest struct { Msg string `protobuf:"bytes,1,opt,name=msg,proto3" json:"msg,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
回显的请求
func (*EchoRequest) Descriptor ¶ added in v1.5.0
func (*EchoRequest) Descriptor() ([]byte, []int)
func (*EchoRequest) GetMsg ¶ added in v1.5.0
func (m *EchoRequest) GetMsg() string
func (*EchoRequest) ProtoMessage ¶ added in v1.5.0
func (*EchoRequest) ProtoMessage()
func (*EchoRequest) Reset ¶ added in v1.5.0
func (m *EchoRequest) Reset()
func (*EchoRequest) String ¶ added in v1.5.0
func (m *EchoRequest) String() string
func (*EchoRequest) XXX_DiscardUnknown ¶ added in v1.5.0
func (m *EchoRequest) XXX_DiscardUnknown()
func (*EchoRequest) XXX_Marshal ¶ added in v1.5.0
func (m *EchoRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*EchoRequest) XXX_Merge ¶ added in v1.5.0
func (m *EchoRequest) XXX_Merge(src proto.Message)
func (*EchoRequest) XXX_Size ¶ added in v1.5.0
func (m *EchoRequest) XXX_Size() int
func (*EchoRequest) XXX_Unmarshal ¶ added in v1.5.0
func (m *EchoRequest) XXX_Unmarshal(b []byte) error
type EchoResponse ¶ added in v1.5.0
type EchoResponse struct { Msg string `protobuf:"bytes,1,opt,name=msg,proto3" json:"msg,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
回显的回复
func (*EchoResponse) Descriptor ¶ added in v1.5.0
func (*EchoResponse) Descriptor() ([]byte, []int)
func (*EchoResponse) GetMsg ¶ added in v1.5.0
func (m *EchoResponse) GetMsg() string
func (*EchoResponse) ProtoMessage ¶ added in v1.5.0
func (*EchoResponse) ProtoMessage()
func (*EchoResponse) Reset ¶ added in v1.5.0
func (m *EchoResponse) Reset()
func (*EchoResponse) String ¶ added in v1.5.0
func (m *EchoResponse) String() string
func (*EchoResponse) XXX_DiscardUnknown ¶ added in v1.5.0
func (m *EchoResponse) XXX_DiscardUnknown()
func (*EchoResponse) XXX_Marshal ¶ added in v1.5.0
func (m *EchoResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*EchoResponse) XXX_Merge ¶ added in v1.5.0
func (m *EchoResponse) XXX_Merge(src proto.Message)
func (*EchoResponse) XXX_Size ¶ added in v1.5.0
func (m *EchoResponse) XXX_Size() int
func (*EchoResponse) XXX_Unmarshal ¶ added in v1.5.0
func (m *EchoResponse) XXX_Unmarshal(b []byte) error
type ExtendMode ¶
type ExtendMode int32
const ( ExtendMode_INVALID ExtendMode = 0 ExtendMode_AND ExtendMode = 1 ExtendMode_OR ExtendMode = 2 )
func (ExtendMode) EnumDescriptor ¶
func (ExtendMode) EnumDescriptor() ([]byte, []int)
func (ExtendMode) String ¶
func (x ExtendMode) String() string
type HealthyHandler ¶ added in v1.5.0
type HealthyHandler interface { // 回显 Echo(context.Context, *EchoRequest, *EchoResponse) error }
type HealthyService ¶ added in v1.5.0
type HealthyService interface { // 回显 Echo(ctx context.Context, in *EchoRequest, opts ...client.CallOption) (*EchoResponse, error) }
func NewHealthyService ¶ added in v1.5.0
func NewHealthyService(name string, c client.Client) HealthyService
type Status ¶
type Status struct { Code int32 `protobuf:"varint,1,opt,name=code,proto3" json:"code,omitempty"` Message string `protobuf:"bytes,2,opt,name=message,proto3" json:"message,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
状态
func (*Status) Descriptor ¶
func (*Status) GetMessage ¶
func (*Status) ProtoMessage ¶
func (*Status) ProtoMessage()
func (*Status) XXX_DiscardUnknown ¶
func (m *Status) XXX_DiscardUnknown()
func (*Status) XXX_Marshal ¶
func (*Status) XXX_Unmarshal ¶
type TagEntity ¶
type TagEntity struct { Code string `protobuf:"bytes,1,opt,name=code,proto3" json:"code,omitempty"` Name string `protobuf:"bytes,2,opt,name=name,proto3" json:"name,omitempty"` Flag int64 `protobuf:"varint,3,opt,name=flag,proto3" json:"flag,omitempty"` Alias map[string]string `` /* 151-byte string literal not displayed */ Keyword []string `protobuf:"bytes,5,rep,name=keyword,proto3" json:"keyword,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
标签实体
func (*TagEntity) Descriptor ¶
func (*TagEntity) GetKeyword ¶
func (*TagEntity) ProtoMessage ¶
func (*TagEntity) ProtoMessage()
func (*TagEntity) XXX_DiscardUnknown ¶
func (m *TagEntity) XXX_DiscardUnknown()
func (*TagEntity) XXX_Marshal ¶
func (*TagEntity) XXX_Unmarshal ¶
Click to show internal directories.
Click to hide internal directories.