Documentation ¶
Index ¶
- Constants
- Variables
- type AccessControlList
- func (*AccessControlList) Descriptor() ([]byte, []int)
- func (m *AccessControlList) GetEntries() []*Entry
- func (m *AccessControlList) GetOwner() string
- func (*AccessControlList) ProtoMessage()
- func (m *AccessControlList) Reset()
- func (m *AccessControlList) String() string
- func (m *AccessControlList) XXX_DiscardUnknown()
- func (m *AccessControlList) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (dst *AccessControlList) XXX_Merge(src proto.Message)
- func (m *AccessControlList) XXX_Size() int
- func (m *AccessControlList) XXX_Unmarshal(b []byte) error
- type DeleteDocumentParams
- func (*DeleteDocumentParams) Descriptor() ([]byte, []int)
- func (m *DeleteDocumentParams) GetDocId() []string
- func (m *DeleteDocumentParams) GetIndexSpec() *IndexSpec
- func (*DeleteDocumentParams) ProtoMessage()
- func (m *DeleteDocumentParams) Reset()
- func (m *DeleteDocumentParams) String() string
- func (m *DeleteDocumentParams) XXX_DiscardUnknown()
- func (m *DeleteDocumentParams) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (dst *DeleteDocumentParams) XXX_Merge(src proto.Message)
- func (m *DeleteDocumentParams) XXX_Size() int
- func (m *DeleteDocumentParams) XXX_Unmarshal(b []byte) error
- type DeleteDocumentRequest
- func (*DeleteDocumentRequest) Descriptor() ([]byte, []int)
- func (m *DeleteDocumentRequest) GetAppId() []byte
- func (m *DeleteDocumentRequest) GetParams() *DeleteDocumentParams
- func (*DeleteDocumentRequest) ProtoMessage()
- func (m *DeleteDocumentRequest) Reset()
- func (m *DeleteDocumentRequest) String() string
- func (m *DeleteDocumentRequest) XXX_DiscardUnknown()
- func (m *DeleteDocumentRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (dst *DeleteDocumentRequest) XXX_Merge(src proto.Message)
- func (m *DeleteDocumentRequest) XXX_Size() int
- func (m *DeleteDocumentRequest) XXX_Unmarshal(b []byte) error
- type DeleteDocumentResponse
- func (*DeleteDocumentResponse) Descriptor() ([]byte, []int)
- func (m *DeleteDocumentResponse) GetStatus() []*RequestStatus
- func (*DeleteDocumentResponse) ProtoMessage()
- func (m *DeleteDocumentResponse) Reset()
- func (m *DeleteDocumentResponse) String() string
- func (m *DeleteDocumentResponse) XXX_DiscardUnknown()
- func (m *DeleteDocumentResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (dst *DeleteDocumentResponse) XXX_Merge(src proto.Message)
- func (m *DeleteDocumentResponse) XXX_Size() int
- func (m *DeleteDocumentResponse) XXX_Unmarshal(b []byte) error
- type DeleteSchemaParams
- func (*DeleteSchemaParams) Descriptor() ([]byte, []int)
- func (m *DeleteSchemaParams) GetIndexSpec() []*IndexSpec
- func (m *DeleteSchemaParams) GetSource() IndexSpec_Source
- func (*DeleteSchemaParams) ProtoMessage()
- func (m *DeleteSchemaParams) Reset()
- func (m *DeleteSchemaParams) String() string
- func (m *DeleteSchemaParams) XXX_DiscardUnknown()
- func (m *DeleteSchemaParams) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (dst *DeleteSchemaParams) XXX_Merge(src proto.Message)
- func (m *DeleteSchemaParams) XXX_Size() int
- func (m *DeleteSchemaParams) XXX_Unmarshal(b []byte) error
- type DeleteSchemaRequest
- func (*DeleteSchemaRequest) Descriptor() ([]byte, []int)
- func (m *DeleteSchemaRequest) GetAppId() []byte
- func (m *DeleteSchemaRequest) GetParams() *DeleteSchemaParams
- func (*DeleteSchemaRequest) ProtoMessage()
- func (m *DeleteSchemaRequest) Reset()
- func (m *DeleteSchemaRequest) String() string
- func (m *DeleteSchemaRequest) XXX_DiscardUnknown()
- func (m *DeleteSchemaRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (dst *DeleteSchemaRequest) XXX_Merge(src proto.Message)
- func (m *DeleteSchemaRequest) XXX_Size() int
- func (m *DeleteSchemaRequest) XXX_Unmarshal(b []byte) error
- type DeleteSchemaResponse
- func (*DeleteSchemaResponse) Descriptor() ([]byte, []int)
- func (m *DeleteSchemaResponse) GetStatus() []*RequestStatus
- func (*DeleteSchemaResponse) ProtoMessage()
- func (m *DeleteSchemaResponse) Reset()
- func (m *DeleteSchemaResponse) String() string
- func (m *DeleteSchemaResponse) XXX_DiscardUnknown()
- func (m *DeleteSchemaResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (dst *DeleteSchemaResponse) XXX_Merge(src proto.Message)
- func (m *DeleteSchemaResponse) XXX_Size() int
- func (m *DeleteSchemaResponse) XXX_Unmarshal(b []byte) error
- type Document
- func (*Document) Descriptor() ([]byte, []int)
- func (m *Document) GetFacet() []*Facet
- func (m *Document) GetField() []*Field
- func (m *Document) GetId() string
- func (m *Document) GetLanguage() string
- func (m *Document) GetOrderId() int32
- func (m *Document) GetOrderIdSource() Document_OrderIdSource
- func (m *Document) GetStorage() Document_Storage
- func (*Document) ProtoMessage()
- func (m *Document) Reset()
- func (m *Document) String() string
- func (m *Document) XXX_DiscardUnknown()
- func (m *Document) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (dst *Document) XXX_Merge(src proto.Message)
- func (m *Document) XXX_Size() int
- func (m *Document) XXX_Unmarshal(b []byte) error
- type DocumentMetadata
- func (*DocumentMetadata) Descriptor() ([]byte, []int)
- func (m *DocumentMetadata) GetCommittedStVersion() int64
- func (m *DocumentMetadata) GetVersion() int64
- func (*DocumentMetadata) ProtoMessage()
- func (m *DocumentMetadata) Reset()
- func (m *DocumentMetadata) String() string
- func (m *DocumentMetadata) XXX_DiscardUnknown()
- func (m *DocumentMetadata) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (dst *DocumentMetadata) XXX_Merge(src proto.Message)
- func (m *DocumentMetadata) XXX_Size() int
- func (m *DocumentMetadata) XXX_Unmarshal(b []byte) error
- type Document_OrderIdSource
- type Document_Storage
- type Entry
- func (*Entry) Descriptor() ([]byte, []int)
- func (m *Entry) GetDisplayName() string
- func (m *Entry) GetPermission() Entry_Permission
- func (m *Entry) GetScope() *Scope
- func (*Entry) ProtoMessage()
- func (m *Entry) Reset()
- func (m *Entry) String() string
- func (m *Entry) XXX_DiscardUnknown()
- func (m *Entry) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (dst *Entry) XXX_Merge(src proto.Message)
- func (m *Entry) XXX_Size() int
- func (m *Entry) XXX_Unmarshal(b []byte) error
- type Entry_Permission
- type Facet
- func (*Facet) Descriptor() ([]byte, []int)
- func (m *Facet) GetName() string
- func (m *Facet) GetValue() *FacetValue
- func (*Facet) ProtoMessage()
- func (m *Facet) Reset()
- func (m *Facet) String() string
- func (m *Facet) XXX_DiscardUnknown()
- func (m *Facet) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (dst *Facet) XXX_Merge(src proto.Message)
- func (m *Facet) XXX_Size() int
- func (m *Facet) XXX_Unmarshal(b []byte) error
- type FacetAutoDetectParam
- func (*FacetAutoDetectParam) Descriptor() ([]byte, []int)
- func (m *FacetAutoDetectParam) GetValueLimit() int32
- func (*FacetAutoDetectParam) ProtoMessage()
- func (m *FacetAutoDetectParam) Reset()
- func (m *FacetAutoDetectParam) String() string
- func (m *FacetAutoDetectParam) XXX_DiscardUnknown()
- func (m *FacetAutoDetectParam) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (dst *FacetAutoDetectParam) XXX_Merge(src proto.Message)
- func (m *FacetAutoDetectParam) XXX_Size() int
- func (m *FacetAutoDetectParam) XXX_Unmarshal(b []byte) error
- type FacetRange
- func (*FacetRange) Descriptor() ([]byte, []int)
- func (m *FacetRange) GetEnd() string
- func (m *FacetRange) GetName() string
- func (m *FacetRange) GetStart() string
- func (*FacetRange) ProtoMessage()
- func (m *FacetRange) Reset()
- func (m *FacetRange) String() string
- func (m *FacetRange) XXX_DiscardUnknown()
- func (m *FacetRange) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (dst *FacetRange) XXX_Merge(src proto.Message)
- func (m *FacetRange) XXX_Size() int
- func (m *FacetRange) XXX_Unmarshal(b []byte) error
- type FacetRefinement
- func (*FacetRefinement) Descriptor() ([]byte, []int)
- func (m *FacetRefinement) GetName() string
- func (m *FacetRefinement) GetRange() *FacetRefinement_Range
- func (m *FacetRefinement) GetValue() string
- func (*FacetRefinement) ProtoMessage()
- func (m *FacetRefinement) Reset()
- func (m *FacetRefinement) String() string
- func (m *FacetRefinement) XXX_DiscardUnknown()
- func (m *FacetRefinement) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (dst *FacetRefinement) XXX_Merge(src proto.Message)
- func (m *FacetRefinement) XXX_Size() int
- func (m *FacetRefinement) XXX_Unmarshal(b []byte) error
- type FacetRefinement_Range
- func (*FacetRefinement_Range) Descriptor() ([]byte, []int)
- func (m *FacetRefinement_Range) GetEnd() string
- func (m *FacetRefinement_Range) GetStart() string
- func (*FacetRefinement_Range) ProtoMessage()
- func (m *FacetRefinement_Range) Reset()
- func (m *FacetRefinement_Range) String() string
- func (m *FacetRefinement_Range) XXX_DiscardUnknown()
- func (m *FacetRefinement_Range) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (dst *FacetRefinement_Range) XXX_Merge(src proto.Message)
- func (m *FacetRefinement_Range) XXX_Size() int
- func (m *FacetRefinement_Range) XXX_Unmarshal(b []byte) error
- type FacetRequest
- func (*FacetRequest) Descriptor() ([]byte, []int)
- func (m *FacetRequest) GetName() string
- func (m *FacetRequest) GetParams() *FacetRequestParam
- func (*FacetRequest) ProtoMessage()
- func (m *FacetRequest) Reset()
- func (m *FacetRequest) String() string
- func (m *FacetRequest) XXX_DiscardUnknown()
- func (m *FacetRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (dst *FacetRequest) XXX_Merge(src proto.Message)
- func (m *FacetRequest) XXX_Size() int
- func (m *FacetRequest) XXX_Unmarshal(b []byte) error
- type FacetRequestParam
- func (*FacetRequestParam) Descriptor() ([]byte, []int)
- func (m *FacetRequestParam) GetRange() []*FacetRange
- func (m *FacetRequestParam) GetValueConstraint() []string
- func (m *FacetRequestParam) GetValueLimit() int32
- func (*FacetRequestParam) ProtoMessage()
- func (m *FacetRequestParam) Reset()
- func (m *FacetRequestParam) String() string
- func (m *FacetRequestParam) XXX_DiscardUnknown()
- func (m *FacetRequestParam) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (dst *FacetRequestParam) XXX_Merge(src proto.Message)
- func (m *FacetRequestParam) XXX_Size() int
- func (m *FacetRequestParam) XXX_Unmarshal(b []byte) error
- type FacetResult
- func (*FacetResult) Descriptor() ([]byte, []int)
- func (m *FacetResult) GetName() string
- func (m *FacetResult) GetValue() []*FacetResultValue
- func (*FacetResult) ProtoMessage()
- func (m *FacetResult) Reset()
- func (m *FacetResult) String() string
- func (m *FacetResult) XXX_DiscardUnknown()
- func (m *FacetResult) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (dst *FacetResult) XXX_Merge(src proto.Message)
- func (m *FacetResult) XXX_Size() int
- func (m *FacetResult) XXX_Unmarshal(b []byte) error
- type FacetResultValue
- func (*FacetResultValue) Descriptor() ([]byte, []int)
- func (m *FacetResultValue) GetCount() int32
- func (m *FacetResultValue) GetName() string
- func (m *FacetResultValue) GetRefinement() *FacetRefinement
- func (*FacetResultValue) ProtoMessage()
- func (m *FacetResultValue) Reset()
- func (m *FacetResultValue) String() string
- func (m *FacetResultValue) XXX_DiscardUnknown()
- func (m *FacetResultValue) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (dst *FacetResultValue) XXX_Merge(src proto.Message)
- func (m *FacetResultValue) XXX_Size() int
- func (m *FacetResultValue) XXX_Unmarshal(b []byte) error
- type FacetValue
- func (*FacetValue) Descriptor() ([]byte, []int)
- func (m *FacetValue) GetStringValue() string
- func (m *FacetValue) GetType() FacetValue_ContentType
- func (*FacetValue) ProtoMessage()
- func (m *FacetValue) Reset()
- func (m *FacetValue) String() string
- func (m *FacetValue) XXX_DiscardUnknown()
- func (m *FacetValue) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (dst *FacetValue) XXX_Merge(src proto.Message)
- func (m *FacetValue) XXX_Size() int
- func (m *FacetValue) XXX_Unmarshal(b []byte) error
- type FacetValue_ContentType
- type Field
- func (*Field) Descriptor() ([]byte, []int)
- func (m *Field) GetName() string
- func (m *Field) GetValue() *FieldValue
- func (*Field) ProtoMessage()
- func (m *Field) Reset()
- func (m *Field) String() string
- func (m *Field) XXX_DiscardUnknown()
- func (m *Field) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (dst *Field) XXX_Merge(src proto.Message)
- func (m *Field) XXX_Size() int
- func (m *Field) XXX_Unmarshal(b []byte) error
- type FieldSpec
- func (*FieldSpec) Descriptor() ([]byte, []int)
- func (m *FieldSpec) GetExpression() []*FieldSpec_Expression
- func (m *FieldSpec) GetName() []string
- func (*FieldSpec) ProtoMessage()
- func (m *FieldSpec) Reset()
- func (m *FieldSpec) String() string
- func (m *FieldSpec) XXX_DiscardUnknown()
- func (m *FieldSpec) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (dst *FieldSpec) XXX_Merge(src proto.Message)
- func (m *FieldSpec) XXX_Size() int
- func (m *FieldSpec) XXX_Unmarshal(b []byte) error
- type FieldSpec_Expression
- func (*FieldSpec_Expression) Descriptor() ([]byte, []int)
- func (m *FieldSpec_Expression) GetExpression() string
- func (m *FieldSpec_Expression) GetName() string
- func (*FieldSpec_Expression) ProtoMessage()
- func (m *FieldSpec_Expression) Reset()
- func (m *FieldSpec_Expression) String() string
- func (m *FieldSpec_Expression) XXX_DiscardUnknown()
- func (m *FieldSpec_Expression) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (dst *FieldSpec_Expression) XXX_Merge(src proto.Message)
- func (m *FieldSpec_Expression) XXX_Size() int
- func (m *FieldSpec_Expression) XXX_Unmarshal(b []byte) error
- type FieldTypes
- func (*FieldTypes) Descriptor() ([]byte, []int)
- func (m *FieldTypes) GetName() string
- func (m *FieldTypes) GetType() []FieldValue_ContentType
- func (*FieldTypes) ProtoMessage()
- func (m *FieldTypes) Reset()
- func (m *FieldTypes) String() string
- func (m *FieldTypes) XXX_DiscardUnknown()
- func (m *FieldTypes) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (dst *FieldTypes) XXX_Merge(src proto.Message)
- func (m *FieldTypes) XXX_Size() int
- func (m *FieldTypes) XXX_Unmarshal(b []byte) error
- type FieldValue
- func (*FieldValue) Descriptor() ([]byte, []int)
- func (m *FieldValue) GetGeo() *FieldValue_Geo
- func (m *FieldValue) GetLanguage() string
- func (m *FieldValue) GetStringValue() string
- func (m *FieldValue) GetType() FieldValue_ContentType
- func (*FieldValue) ProtoMessage()
- func (m *FieldValue) Reset()
- func (m *FieldValue) String() string
- func (m *FieldValue) XXX_DiscardUnknown()
- func (m *FieldValue) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (dst *FieldValue) XXX_Merge(src proto.Message)
- func (m *FieldValue) XXX_Size() int
- func (m *FieldValue) XXX_Unmarshal(b []byte) error
- type FieldValue_ContentType
- type FieldValue_Geo
- func (*FieldValue_Geo) Descriptor() ([]byte, []int)
- func (m *FieldValue_Geo) GetLat() float64
- func (m *FieldValue_Geo) GetLng() float64
- func (*FieldValue_Geo) ProtoMessage()
- func (m *FieldValue_Geo) Reset()
- func (m *FieldValue_Geo) String() string
- func (m *FieldValue_Geo) XXX_DiscardUnknown()
- func (m *FieldValue_Geo) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (dst *FieldValue_Geo) XXX_Merge(src proto.Message)
- func (m *FieldValue_Geo) XXX_Size() int
- func (m *FieldValue_Geo) XXX_Unmarshal(b []byte) error
- type IndexDocumentParams
- func (*IndexDocumentParams) Descriptor() ([]byte, []int)
- func (m *IndexDocumentParams) GetDocument() []*Document
- func (m *IndexDocumentParams) GetFreshness() IndexDocumentParams_Freshnessdeprecated
- func (m *IndexDocumentParams) GetIndexSpec() *IndexSpec
- func (*IndexDocumentParams) ProtoMessage()
- func (m *IndexDocumentParams) Reset()
- func (m *IndexDocumentParams) String() string
- func (m *IndexDocumentParams) XXX_DiscardUnknown()
- func (m *IndexDocumentParams) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (dst *IndexDocumentParams) XXX_Merge(src proto.Message)
- func (m *IndexDocumentParams) XXX_Size() int
- func (m *IndexDocumentParams) XXX_Unmarshal(b []byte) error
- type IndexDocumentParams_Freshness
- type IndexDocumentRequest
- func (*IndexDocumentRequest) Descriptor() ([]byte, []int)
- func (m *IndexDocumentRequest) GetAppId() []byte
- func (m *IndexDocumentRequest) GetParams() *IndexDocumentParams
- func (*IndexDocumentRequest) ProtoMessage()
- func (m *IndexDocumentRequest) Reset()
- func (m *IndexDocumentRequest) String() string
- func (m *IndexDocumentRequest) XXX_DiscardUnknown()
- func (m *IndexDocumentRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (dst *IndexDocumentRequest) XXX_Merge(src proto.Message)
- func (m *IndexDocumentRequest) XXX_Size() int
- func (m *IndexDocumentRequest) XXX_Unmarshal(b []byte) error
- type IndexDocumentResponse
- func (*IndexDocumentResponse) Descriptor() ([]byte, []int)
- func (m *IndexDocumentResponse) GetDocId() []string
- func (m *IndexDocumentResponse) GetStatus() []*RequestStatus
- func (*IndexDocumentResponse) ProtoMessage()
- func (m *IndexDocumentResponse) Reset()
- func (m *IndexDocumentResponse) String() string
- func (m *IndexDocumentResponse) XXX_DiscardUnknown()
- func (m *IndexDocumentResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (dst *IndexDocumentResponse) XXX_Merge(src proto.Message)
- func (m *IndexDocumentResponse) XXX_Size() int
- func (m *IndexDocumentResponse) XXX_Unmarshal(b []byte) error
- type IndexMetadata
- func (*IndexMetadata) Descriptor() ([]byte, []int)
- func (m *IndexMetadata) GetField() []*FieldTypes
- func (m *IndexMetadata) GetIndexSpec() *IndexSpec
- func (m *IndexMetadata) GetStorage() *IndexMetadata_Storage
- func (*IndexMetadata) ProtoMessage()
- func (m *IndexMetadata) Reset()
- func (m *IndexMetadata) String() string
- func (m *IndexMetadata) XXX_DiscardUnknown()
- func (m *IndexMetadata) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (dst *IndexMetadata) XXX_Merge(src proto.Message)
- func (m *IndexMetadata) XXX_Size() int
- func (m *IndexMetadata) XXX_Unmarshal(b []byte) error
- type IndexMetadata_Storage
- func (*IndexMetadata_Storage) Descriptor() ([]byte, []int)
- func (m *IndexMetadata_Storage) GetAmountUsed() int64
- func (m *IndexMetadata_Storage) GetLimit() int64
- func (*IndexMetadata_Storage) ProtoMessage()
- func (m *IndexMetadata_Storage) Reset()
- func (m *IndexMetadata_Storage) String() string
- func (m *IndexMetadata_Storage) XXX_DiscardUnknown()
- func (m *IndexMetadata_Storage) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (dst *IndexMetadata_Storage) XXX_Merge(src proto.Message)
- func (m *IndexMetadata_Storage) XXX_Size() int
- func (m *IndexMetadata_Storage) XXX_Unmarshal(b []byte) error
- type IndexShardSettings
- func (*IndexShardSettings) Descriptor() ([]byte, []int)
- func (m *IndexShardSettings) GetLocalReplica() string
- func (m *IndexShardSettings) GetNumShards() int32
- func (m *IndexShardSettings) GetPrevNumShards() []int32
- func (m *IndexShardSettings) GetPrevNumShardsSearchFalse() []int32
- func (*IndexShardSettings) ProtoMessage()
- func (m *IndexShardSettings) Reset()
- func (m *IndexShardSettings) String() string
- func (m *IndexShardSettings) XXX_DiscardUnknown()
- func (m *IndexShardSettings) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (dst *IndexShardSettings) XXX_Merge(src proto.Message)
- func (m *IndexShardSettings) XXX_Size() int
- func (m *IndexShardSettings) XXX_Unmarshal(b []byte) error
- type IndexSpec
- func (*IndexSpec) Descriptor() ([]byte, []int)
- func (m *IndexSpec) GetConsistency() IndexSpec_Consistency
- func (m *IndexSpec) GetMode() IndexSpec_Mode
- func (m *IndexSpec) GetName() string
- func (m *IndexSpec) GetNamespace() string
- func (m *IndexSpec) GetSource() IndexSpec_Source
- func (m *IndexSpec) GetVersion() int32
- func (*IndexSpec) ProtoMessage()
- func (m *IndexSpec) Reset()
- func (m *IndexSpec) String() string
- func (m *IndexSpec) XXX_DiscardUnknown()
- func (m *IndexSpec) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (dst *IndexSpec) XXX_Merge(src proto.Message)
- func (m *IndexSpec) XXX_Size() int
- func (m *IndexSpec) XXX_Unmarshal(b []byte) error
- type IndexSpec_Consistency
- type IndexSpec_Mode
- type IndexSpec_Source
- type ListDocumentsParams
- func (*ListDocumentsParams) Descriptor() ([]byte, []int)
- func (m *ListDocumentsParams) GetIncludeStartDoc() bool
- func (m *ListDocumentsParams) GetIndexSpec() *IndexSpec
- func (m *ListDocumentsParams) GetKeysOnly() bool
- func (m *ListDocumentsParams) GetLimit() int32
- func (m *ListDocumentsParams) GetStartDocId() string
- func (*ListDocumentsParams) ProtoMessage()
- func (m *ListDocumentsParams) Reset()
- func (m *ListDocumentsParams) String() string
- func (m *ListDocumentsParams) XXX_DiscardUnknown()
- func (m *ListDocumentsParams) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (dst *ListDocumentsParams) XXX_Merge(src proto.Message)
- func (m *ListDocumentsParams) XXX_Size() int
- func (m *ListDocumentsParams) XXX_Unmarshal(b []byte) error
- type ListDocumentsRequest
- func (*ListDocumentsRequest) Descriptor() ([]byte, []int)
- func (m *ListDocumentsRequest) GetAppId() []byte
- func (m *ListDocumentsRequest) GetParams() *ListDocumentsParams
- func (*ListDocumentsRequest) ProtoMessage()
- func (m *ListDocumentsRequest) Reset()
- func (m *ListDocumentsRequest) String() string
- func (m *ListDocumentsRequest) XXX_DiscardUnknown()
- func (m *ListDocumentsRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (dst *ListDocumentsRequest) XXX_Merge(src proto.Message)
- func (m *ListDocumentsRequest) XXX_Size() int
- func (m *ListDocumentsRequest) XXX_Unmarshal(b []byte) error
- type ListDocumentsResponse
- func (*ListDocumentsResponse) Descriptor() ([]byte, []int)
- func (m *ListDocumentsResponse) GetDocument() []*Document
- func (m *ListDocumentsResponse) GetStatus() *RequestStatus
- func (*ListDocumentsResponse) ProtoMessage()
- func (m *ListDocumentsResponse) Reset()
- func (m *ListDocumentsResponse) String() string
- func (m *ListDocumentsResponse) XXX_DiscardUnknown()
- func (m *ListDocumentsResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (dst *ListDocumentsResponse) XXX_Merge(src proto.Message)
- func (m *ListDocumentsResponse) XXX_Size() int
- func (m *ListDocumentsResponse) XXX_Unmarshal(b []byte) error
- type ListIndexesParams
- func (*ListIndexesParams) Descriptor() ([]byte, []int)
- func (m *ListIndexesParams) GetFetchSchema() bool
- func (m *ListIndexesParams) GetIncludeStartIndex() bool
- func (m *ListIndexesParams) GetIndexNamePrefix() string
- func (m *ListIndexesParams) GetLimit() int32
- func (m *ListIndexesParams) GetNamespace() string
- func (m *ListIndexesParams) GetOffset() int32
- func (m *ListIndexesParams) GetSource() IndexSpec_Source
- func (m *ListIndexesParams) GetStartIndexName() string
- func (*ListIndexesParams) ProtoMessage()
- func (m *ListIndexesParams) Reset()
- func (m *ListIndexesParams) String() string
- func (m *ListIndexesParams) XXX_DiscardUnknown()
- func (m *ListIndexesParams) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (dst *ListIndexesParams) XXX_Merge(src proto.Message)
- func (m *ListIndexesParams) XXX_Size() int
- func (m *ListIndexesParams) XXX_Unmarshal(b []byte) error
- type ListIndexesRequest
- func (*ListIndexesRequest) Descriptor() ([]byte, []int)
- func (m *ListIndexesRequest) GetAppId() []byte
- func (m *ListIndexesRequest) GetParams() *ListIndexesParams
- func (*ListIndexesRequest) ProtoMessage()
- func (m *ListIndexesRequest) Reset()
- func (m *ListIndexesRequest) String() string
- func (m *ListIndexesRequest) XXX_DiscardUnknown()
- func (m *ListIndexesRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (dst *ListIndexesRequest) XXX_Merge(src proto.Message)
- func (m *ListIndexesRequest) XXX_Size() int
- func (m *ListIndexesRequest) XXX_Unmarshal(b []byte) error
- type ListIndexesResponse
- func (*ListIndexesResponse) Descriptor() ([]byte, []int)
- func (m *ListIndexesResponse) GetIndexMetadata() []*IndexMetadata
- func (m *ListIndexesResponse) GetStatus() *RequestStatus
- func (*ListIndexesResponse) ProtoMessage()
- func (m *ListIndexesResponse) Reset()
- func (m *ListIndexesResponse) String() string
- func (m *ListIndexesResponse) XXX_DiscardUnknown()
- func (m *ListIndexesResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (dst *ListIndexesResponse) XXX_Merge(src proto.Message)
- func (m *ListIndexesResponse) XXX_Size() int
- func (m *ListIndexesResponse) XXX_Unmarshal(b []byte) error
- type RequestStatus
- func (*RequestStatus) Descriptor() ([]byte, []int)
- func (m *RequestStatus) GetCanonicalCode() int32
- func (m *RequestStatus) GetCode() SearchServiceError_ErrorCode
- func (m *RequestStatus) GetErrorDetail() string
- func (*RequestStatus) ProtoMessage()
- func (m *RequestStatus) Reset()
- func (m *RequestStatus) String() string
- func (m *RequestStatus) XXX_DiscardUnknown()
- func (m *RequestStatus) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (dst *RequestStatus) XXX_Merge(src proto.Message)
- func (m *RequestStatus) XXX_Size() int
- func (m *RequestStatus) XXX_Unmarshal(b []byte) error
- type Scope
- func (*Scope) Descriptor() ([]byte, []int)
- func (m *Scope) GetType() Scope_Type
- func (m *Scope) GetValue() string
- func (*Scope) ProtoMessage()
- func (m *Scope) Reset()
- func (m *Scope) String() string
- func (m *Scope) XXX_DiscardUnknown()
- func (m *Scope) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (dst *Scope) XXX_Merge(src proto.Message)
- func (m *Scope) XXX_Size() int
- func (m *Scope) XXX_Unmarshal(b []byte) error
- type Scope_Type
- type ScorerSpec
- func (*ScorerSpec) Descriptor() ([]byte, []int)
- func (m *ScorerSpec) GetLimit() int32
- func (m *ScorerSpec) GetMatchScorerParameters() string
- func (m *ScorerSpec) GetScorer() ScorerSpec_Scorer
- func (*ScorerSpec) ProtoMessage()
- func (m *ScorerSpec) Reset()
- func (m *ScorerSpec) String() string
- func (m *ScorerSpec) XXX_DiscardUnknown()
- func (m *ScorerSpec) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (dst *ScorerSpec) XXX_Merge(src proto.Message)
- func (m *ScorerSpec) XXX_Size() int
- func (m *ScorerSpec) XXX_Unmarshal(b []byte) error
- type ScorerSpec_Scorer
- type SearchParams
- func (*SearchParams) Descriptor() ([]byte, []int)
- func (m *SearchParams) GetAutoDiscoverFacetCount() int32
- func (m *SearchParams) GetCursor() string
- func (m *SearchParams) GetCursorType() SearchParams_CursorType
- func (m *SearchParams) GetFacetAutoDetectParam() *FacetAutoDetectParam
- func (m *SearchParams) GetFacetDepth() int32
- func (m *SearchParams) GetFacetRefinement() []*FacetRefinement
- func (m *SearchParams) GetFieldSpec() *FieldSpec
- func (m *SearchParams) GetIncludeFacet() []*FacetRequest
- func (m *SearchParams) GetIndexSpec() *IndexSpec
- func (m *SearchParams) GetKeysOnly() bool
- func (m *SearchParams) GetLimit() int32
- func (m *SearchParams) GetMatchedCountAccuracy() int32
- func (m *SearchParams) GetOffset() int32
- func (m *SearchParams) GetParsingMode() SearchParams_ParsingMode
- func (m *SearchParams) GetQuery() string
- func (m *SearchParams) GetScorerSpec() *ScorerSpec
- func (m *SearchParams) GetSortSpec() []*SortSpec
- func (*SearchParams) ProtoMessage()
- func (m *SearchParams) Reset()
- func (m *SearchParams) String() string
- func (m *SearchParams) XXX_DiscardUnknown()
- func (m *SearchParams) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (dst *SearchParams) XXX_Merge(src proto.Message)
- func (m *SearchParams) XXX_Size() int
- func (m *SearchParams) XXX_Unmarshal(b []byte) error
- type SearchParams_CursorType
- type SearchParams_ParsingMode
- type SearchRequest
- func (*SearchRequest) Descriptor() ([]byte, []int)
- func (m *SearchRequest) GetAppId() []byte
- func (m *SearchRequest) GetParams() *SearchParams
- func (*SearchRequest) ProtoMessage()
- func (m *SearchRequest) Reset()
- func (m *SearchRequest) String() string
- func (m *SearchRequest) XXX_DiscardUnknown()
- func (m *SearchRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (dst *SearchRequest) XXX_Merge(src proto.Message)
- func (m *SearchRequest) XXX_Size() int
- func (m *SearchRequest) XXX_Unmarshal(b []byte) error
- type SearchResponse
- func (*SearchResponse) Descriptor() ([]byte, []int)
- func (*SearchResponse) ExtensionRangeArray() []proto.ExtensionRange
- func (m *SearchResponse) GetCursor() string
- func (m *SearchResponse) GetFacetResult() []*FacetResult
- func (m *SearchResponse) GetMatchedCount() int64
- func (m *SearchResponse) GetResult() []*SearchResult
- func (m *SearchResponse) GetStatus() *RequestStatus
- func (*SearchResponse) ProtoMessage()
- func (m *SearchResponse) Reset()
- func (m *SearchResponse) String() string
- func (m *SearchResponse) XXX_DiscardUnknown()
- func (m *SearchResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (dst *SearchResponse) XXX_Merge(src proto.Message)
- func (m *SearchResponse) XXX_Size() int
- func (m *SearchResponse) XXX_Unmarshal(b []byte) error
- type SearchResult
- func (*SearchResult) Descriptor() ([]byte, []int)
- func (m *SearchResult) GetCursor() string
- func (m *SearchResult) GetDocument() *Document
- func (m *SearchResult) GetExpression() []*Field
- func (m *SearchResult) GetScore() []float64
- func (*SearchResult) ProtoMessage()
- func (m *SearchResult) Reset()
- func (m *SearchResult) String() string
- func (m *SearchResult) XXX_DiscardUnknown()
- func (m *SearchResult) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (dst *SearchResult) XXX_Merge(src proto.Message)
- func (m *SearchResult) XXX_Size() int
- func (m *SearchResult) XXX_Unmarshal(b []byte) error
- type SearchServiceError
- func (*SearchServiceError) Descriptor() ([]byte, []int)
- func (*SearchServiceError) ProtoMessage()
- func (m *SearchServiceError) Reset()
- func (m *SearchServiceError) String() string
- func (m *SearchServiceError) XXX_DiscardUnknown()
- func (m *SearchServiceError) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (dst *SearchServiceError) XXX_Merge(src proto.Message)
- func (m *SearchServiceError) XXX_Size() int
- func (m *SearchServiceError) XXX_Unmarshal(b []byte) error
- type SearchServiceError_ErrorCode
- type SortSpec
- func (*SortSpec) Descriptor() ([]byte, []int)
- func (m *SortSpec) GetDefaultValueNumeric() float64
- func (m *SortSpec) GetDefaultValueText() string
- func (m *SortSpec) GetSortDescending() bool
- func (m *SortSpec) GetSortExpression() string
- func (*SortSpec) ProtoMessage()
- func (m *SortSpec) Reset()
- func (m *SortSpec) String() string
- func (m *SortSpec) XXX_DiscardUnknown()
- func (m *SortSpec) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (dst *SortSpec) XXX_Merge(src proto.Message)
- func (m *SortSpec) XXX_Size() int
- func (m *SortSpec) XXX_Unmarshal(b []byte) error
Constants ¶
View Source
const Default_Document_Language string = "en"
View Source
const Default_FacetAutoDetectParam_ValueLimit int32 = 10
View Source
const Default_FieldValue_Language string = "en"
View Source
const Default_IndexShardSettings_NumShards int32 = 1
View Source
const Default_ListDocumentsParams_IncludeStartDoc bool = true
View Source
const Default_ListDocumentsParams_Limit int32 = 100
View Source
const Default_ListIndexesParams_IncludeStartIndex bool = true
View Source
const Default_ListIndexesParams_Limit int32 = 20
View Source
const Default_ScorerSpec_Limit int32 = 1000
View Source
const Default_SearchParams_AutoDiscoverFacetCount int32 = 0
View Source
const Default_SearchParams_FacetDepth int32 = 1000
View Source
const Default_SearchParams_Limit int32 = 20
View Source
const Default_SortSpec_SortDescending bool = true
Variables ¶
View Source
var Document_OrderIdSource_name = map[int32]string{
0: "DEFAULTED",
1: "SUPPLIED",
}
View Source
var Document_OrderIdSource_value = map[string]int32{
"DEFAULTED": 0,
"SUPPLIED": 1,
}
View Source
var Document_Storage_name = map[int32]string{
0: "DISK",
}
View Source
var Document_Storage_value = map[string]int32{
"DISK": 0,
}
View Source
var Entry_Permission_name = map[int32]string{
1: "READ",
2: "WRITE",
3: "FULL_CONTROL",
}
View Source
var Entry_Permission_value = map[string]int32{
"READ": 1,
"WRITE": 2,
"FULL_CONTROL": 3,
}
View Source
var FacetValue_ContentType_name = map[int32]string{
2: "ATOM",
4: "NUMBER",
}
View Source
var FacetValue_ContentType_value = map[string]int32{
"ATOM": 2,
"NUMBER": 4,
}
View Source
var FieldValue_ContentType_name = map[int32]string{
0: "TEXT",
1: "HTML",
2: "ATOM",
3: "DATE",
4: "NUMBER",
5: "GEO",
}
View Source
var FieldValue_ContentType_value = map[string]int32{
"TEXT": 0,
"HTML": 1,
"ATOM": 2,
"DATE": 3,
"NUMBER": 4,
"GEO": 5,
}
View Source
var IndexDocumentParams_Freshness_name = map[int32]string{
0: "SYNCHRONOUSLY",
1: "WHEN_CONVENIENT",
}
View Source
var IndexDocumentParams_Freshness_value = map[string]int32{
"SYNCHRONOUSLY": 0,
"WHEN_CONVENIENT": 1,
}
View Source
var IndexSpec_Consistency_name = map[int32]string{
0: "GLOBAL",
1: "PER_DOCUMENT",
}
View Source
var IndexSpec_Consistency_value = map[string]int32{
"GLOBAL": 0,
"PER_DOCUMENT": 1,
}
View Source
var IndexSpec_Mode_name = map[int32]string{
0: "PRIORITY",
1: "BACKGROUND",
}
View Source
var IndexSpec_Mode_value = map[string]int32{
"PRIORITY": 0,
"BACKGROUND": 1,
}
View Source
var IndexSpec_Source_name = map[int32]string{
0: "SEARCH",
1: "DATASTORE",
2: "CLOUD_STORAGE",
}
View Source
var IndexSpec_Source_value = map[string]int32{
"SEARCH": 0,
"DATASTORE": 1,
"CLOUD_STORAGE": 2,
}
View Source
var Scope_Type_name = map[int32]string{
1: "USER_BY_CANONICAL_ID",
2: "USER_BY_EMAIL",
3: "GROUP_BY_CANONICAL_ID",
4: "GROUP_BY_EMAIL",
5: "GROUP_BY_DOMAIN",
6: "ALL_USERS",
7: "ALL_AUTHENTICATED_USERS",
}
View Source
var Scope_Type_value = map[string]int32{
"USER_BY_CANONICAL_ID": 1,
"USER_BY_EMAIL": 2,
"GROUP_BY_CANONICAL_ID": 3,
"GROUP_BY_EMAIL": 4,
"GROUP_BY_DOMAIN": 5,
"ALL_USERS": 6,
"ALL_AUTHENTICATED_USERS": 7,
}
View Source
var ScorerSpec_Scorer_name = map[int32]string{
0: "RESCORING_MATCH_SCORER",
2: "MATCH_SCORER",
}
View Source
var ScorerSpec_Scorer_value = map[string]int32{
"RESCORING_MATCH_SCORER": 0,
"MATCH_SCORER": 2,
}
View Source
var SearchParams_CursorType_name = map[int32]string{
0: "NONE",
1: "SINGLE",
2: "PER_RESULT",
}
View Source
var SearchParams_CursorType_value = map[string]int32{
"NONE": 0,
"SINGLE": 1,
"PER_RESULT": 2,
}
View Source
var SearchParams_ParsingMode_name = map[int32]string{
0: "STRICT",
1: "RELAXED",
}
View Source
var SearchParams_ParsingMode_value = map[string]int32{
"STRICT": 0,
"RELAXED": 1,
}
View Source
var SearchServiceError_ErrorCode_name = map[int32]string{
0: "OK",
1: "INVALID_REQUEST",
2: "TRANSIENT_ERROR",
3: "INTERNAL_ERROR",
4: "PERMISSION_DENIED",
5: "TIMEOUT",
6: "CONCURRENT_TRANSACTION",
}
View Source
var SearchServiceError_ErrorCode_value = map[string]int32{
"OK": 0,
"INVALID_REQUEST": 1,
"TRANSIENT_ERROR": 2,
"INTERNAL_ERROR": 3,
"PERMISSION_DENIED": 4,
"TIMEOUT": 5,
"CONCURRENT_TRANSACTION": 6,
}
Functions ¶
This section is empty.
Types ¶
type AccessControlList ¶
type AccessControlList struct { Owner *string `protobuf:"bytes,1,opt,name=owner" json:"owner,omitempty"` Entries []*Entry `protobuf:"bytes,2,rep,name=entries" json:"entries,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*AccessControlList) Descriptor ¶
func (*AccessControlList) Descriptor() ([]byte, []int)
func (*AccessControlList) GetEntries ¶
func (m *AccessControlList) GetEntries() []*Entry
func (*AccessControlList) GetOwner ¶
func (m *AccessControlList) GetOwner() string
func (*AccessControlList) ProtoMessage ¶
func (*AccessControlList) ProtoMessage()
func (*AccessControlList) Reset ¶
func (m *AccessControlList) Reset()
func (*AccessControlList) String ¶
func (m *AccessControlList) String() string
func (*AccessControlList) XXX_DiscardUnknown ¶
func (m *AccessControlList) XXX_DiscardUnknown()
func (*AccessControlList) XXX_Marshal ¶
func (m *AccessControlList) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*AccessControlList) XXX_Merge ¶
func (dst *AccessControlList) XXX_Merge(src proto.Message)
func (*AccessControlList) XXX_Size ¶
func (m *AccessControlList) XXX_Size() int
func (*AccessControlList) XXX_Unmarshal ¶
func (m *AccessControlList) XXX_Unmarshal(b []byte) error
type DeleteDocumentParams ¶
type DeleteDocumentParams struct { DocId []string `protobuf:"bytes,1,rep,name=doc_id,json=docId" json:"doc_id,omitempty"` IndexSpec *IndexSpec `protobuf:"bytes,2,req,name=index_spec,json=indexSpec" json:"index_spec,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*DeleteDocumentParams) Descriptor ¶
func (*DeleteDocumentParams) Descriptor() ([]byte, []int)
func (*DeleteDocumentParams) GetDocId ¶
func (m *DeleteDocumentParams) GetDocId() []string
func (*DeleteDocumentParams) GetIndexSpec ¶
func (m *DeleteDocumentParams) GetIndexSpec() *IndexSpec
func (*DeleteDocumentParams) ProtoMessage ¶
func (*DeleteDocumentParams) ProtoMessage()
func (*DeleteDocumentParams) Reset ¶
func (m *DeleteDocumentParams) Reset()
func (*DeleteDocumentParams) String ¶
func (m *DeleteDocumentParams) String() string
func (*DeleteDocumentParams) XXX_DiscardUnknown ¶
func (m *DeleteDocumentParams) XXX_DiscardUnknown()
func (*DeleteDocumentParams) XXX_Marshal ¶
func (m *DeleteDocumentParams) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*DeleteDocumentParams) XXX_Merge ¶
func (dst *DeleteDocumentParams) XXX_Merge(src proto.Message)
func (*DeleteDocumentParams) XXX_Size ¶
func (m *DeleteDocumentParams) XXX_Size() int
func (*DeleteDocumentParams) XXX_Unmarshal ¶
func (m *DeleteDocumentParams) XXX_Unmarshal(b []byte) error
type DeleteDocumentRequest ¶
type DeleteDocumentRequest struct { Params *DeleteDocumentParams `protobuf:"bytes,1,req,name=params" json:"params,omitempty"` AppId []byte `protobuf:"bytes,3,opt,name=app_id,json=appId" json:"app_id,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*DeleteDocumentRequest) Descriptor ¶
func (*DeleteDocumentRequest) Descriptor() ([]byte, []int)
func (*DeleteDocumentRequest) GetAppId ¶
func (m *DeleteDocumentRequest) GetAppId() []byte
func (*DeleteDocumentRequest) GetParams ¶
func (m *DeleteDocumentRequest) GetParams() *DeleteDocumentParams
func (*DeleteDocumentRequest) ProtoMessage ¶
func (*DeleteDocumentRequest) ProtoMessage()
func (*DeleteDocumentRequest) Reset ¶
func (m *DeleteDocumentRequest) Reset()
func (*DeleteDocumentRequest) String ¶
func (m *DeleteDocumentRequest) String() string
func (*DeleteDocumentRequest) XXX_DiscardUnknown ¶
func (m *DeleteDocumentRequest) XXX_DiscardUnknown()
func (*DeleteDocumentRequest) XXX_Marshal ¶
func (m *DeleteDocumentRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*DeleteDocumentRequest) XXX_Merge ¶
func (dst *DeleteDocumentRequest) XXX_Merge(src proto.Message)
func (*DeleteDocumentRequest) XXX_Size ¶
func (m *DeleteDocumentRequest) XXX_Size() int
func (*DeleteDocumentRequest) XXX_Unmarshal ¶
func (m *DeleteDocumentRequest) XXX_Unmarshal(b []byte) error
type DeleteDocumentResponse ¶
type DeleteDocumentResponse struct { Status []*RequestStatus `protobuf:"bytes,1,rep,name=status" json:"status,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*DeleteDocumentResponse) Descriptor ¶
func (*DeleteDocumentResponse) Descriptor() ([]byte, []int)
func (*DeleteDocumentResponse) GetStatus ¶
func (m *DeleteDocumentResponse) GetStatus() []*RequestStatus
func (*DeleteDocumentResponse) ProtoMessage ¶
func (*DeleteDocumentResponse) ProtoMessage()
func (*DeleteDocumentResponse) Reset ¶
func (m *DeleteDocumentResponse) Reset()
func (*DeleteDocumentResponse) String ¶
func (m *DeleteDocumentResponse) String() string
func (*DeleteDocumentResponse) XXX_DiscardUnknown ¶
func (m *DeleteDocumentResponse) XXX_DiscardUnknown()
func (*DeleteDocumentResponse) XXX_Marshal ¶
func (m *DeleteDocumentResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*DeleteDocumentResponse) XXX_Merge ¶
func (dst *DeleteDocumentResponse) XXX_Merge(src proto.Message)
func (*DeleteDocumentResponse) XXX_Size ¶
func (m *DeleteDocumentResponse) XXX_Size() int
func (*DeleteDocumentResponse) XXX_Unmarshal ¶
func (m *DeleteDocumentResponse) XXX_Unmarshal(b []byte) error
type DeleteSchemaParams ¶
type DeleteSchemaParams struct { Source *IndexSpec_Source `protobuf:"varint,1,opt,name=source,enum=search.IndexSpec_Source,def=0" json:"source,omitempty"` IndexSpec []*IndexSpec `protobuf:"bytes,2,rep,name=index_spec,json=indexSpec" json:"index_spec,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*DeleteSchemaParams) Descriptor ¶
func (*DeleteSchemaParams) Descriptor() ([]byte, []int)
func (*DeleteSchemaParams) GetIndexSpec ¶
func (m *DeleteSchemaParams) GetIndexSpec() []*IndexSpec
func (*DeleteSchemaParams) GetSource ¶
func (m *DeleteSchemaParams) GetSource() IndexSpec_Source
func (*DeleteSchemaParams) ProtoMessage ¶
func (*DeleteSchemaParams) ProtoMessage()
func (*DeleteSchemaParams) Reset ¶
func (m *DeleteSchemaParams) Reset()
func (*DeleteSchemaParams) String ¶
func (m *DeleteSchemaParams) String() string
func (*DeleteSchemaParams) XXX_DiscardUnknown ¶
func (m *DeleteSchemaParams) XXX_DiscardUnknown()
func (*DeleteSchemaParams) XXX_Marshal ¶
func (m *DeleteSchemaParams) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*DeleteSchemaParams) XXX_Merge ¶
func (dst *DeleteSchemaParams) XXX_Merge(src proto.Message)
func (*DeleteSchemaParams) XXX_Size ¶
func (m *DeleteSchemaParams) XXX_Size() int
func (*DeleteSchemaParams) XXX_Unmarshal ¶
func (m *DeleteSchemaParams) XXX_Unmarshal(b []byte) error
type DeleteSchemaRequest ¶
type DeleteSchemaRequest struct { Params *DeleteSchemaParams `protobuf:"bytes,1,req,name=params" json:"params,omitempty"` AppId []byte `protobuf:"bytes,3,opt,name=app_id,json=appId" json:"app_id,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*DeleteSchemaRequest) Descriptor ¶
func (*DeleteSchemaRequest) Descriptor() ([]byte, []int)
func (*DeleteSchemaRequest) GetAppId ¶
func (m *DeleteSchemaRequest) GetAppId() []byte
func (*DeleteSchemaRequest) GetParams ¶
func (m *DeleteSchemaRequest) GetParams() *DeleteSchemaParams
func (*DeleteSchemaRequest) ProtoMessage ¶
func (*DeleteSchemaRequest) ProtoMessage()
func (*DeleteSchemaRequest) Reset ¶
func (m *DeleteSchemaRequest) Reset()
func (*DeleteSchemaRequest) String ¶
func (m *DeleteSchemaRequest) String() string
func (*DeleteSchemaRequest) XXX_DiscardUnknown ¶
func (m *DeleteSchemaRequest) XXX_DiscardUnknown()
func (*DeleteSchemaRequest) XXX_Marshal ¶
func (m *DeleteSchemaRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*DeleteSchemaRequest) XXX_Merge ¶
func (dst *DeleteSchemaRequest) XXX_Merge(src proto.Message)
func (*DeleteSchemaRequest) XXX_Size ¶
func (m *DeleteSchemaRequest) XXX_Size() int
func (*DeleteSchemaRequest) XXX_Unmarshal ¶
func (m *DeleteSchemaRequest) XXX_Unmarshal(b []byte) error
type DeleteSchemaResponse ¶
type DeleteSchemaResponse struct { Status []*RequestStatus `protobuf:"bytes,1,rep,name=status" json:"status,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*DeleteSchemaResponse) Descriptor ¶
func (*DeleteSchemaResponse) Descriptor() ([]byte, []int)
func (*DeleteSchemaResponse) GetStatus ¶
func (m *DeleteSchemaResponse) GetStatus() []*RequestStatus
func (*DeleteSchemaResponse) ProtoMessage ¶
func (*DeleteSchemaResponse) ProtoMessage()
func (*DeleteSchemaResponse) Reset ¶
func (m *DeleteSchemaResponse) Reset()
func (*DeleteSchemaResponse) String ¶
func (m *DeleteSchemaResponse) String() string
func (*DeleteSchemaResponse) XXX_DiscardUnknown ¶
func (m *DeleteSchemaResponse) XXX_DiscardUnknown()
func (*DeleteSchemaResponse) XXX_Marshal ¶
func (m *DeleteSchemaResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*DeleteSchemaResponse) XXX_Merge ¶
func (dst *DeleteSchemaResponse) XXX_Merge(src proto.Message)
func (*DeleteSchemaResponse) XXX_Size ¶
func (m *DeleteSchemaResponse) XXX_Size() int
func (*DeleteSchemaResponse) XXX_Unmarshal ¶
func (m *DeleteSchemaResponse) XXX_Unmarshal(b []byte) error
type Document ¶
type Document struct { Id *string `protobuf:"bytes,1,opt,name=id" json:"id,omitempty"` Language *string `protobuf:"bytes,2,opt,name=language,def=en" json:"language,omitempty"` Field []*Field `protobuf:"bytes,3,rep,name=field" json:"field,omitempty"` OrderId *int32 `protobuf:"varint,4,opt,name=order_id,json=orderId" json:"order_id,omitempty"` OrderIdSource *Document_OrderIdSource `` /* 137-byte string literal not displayed */ Storage *Document_Storage `protobuf:"varint,5,opt,name=storage,enum=search.Document_Storage,def=0" json:"storage,omitempty"` Facet []*Facet `protobuf:"bytes,8,rep,name=facet" json:"facet,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*Document) Descriptor ¶
func (*Document) GetLanguage ¶
func (*Document) GetOrderId ¶
func (*Document) GetOrderIdSource ¶
func (m *Document) GetOrderIdSource() Document_OrderIdSource
func (*Document) GetStorage ¶
func (m *Document) GetStorage() Document_Storage
func (*Document) ProtoMessage ¶
func (*Document) ProtoMessage()
func (*Document) XXX_DiscardUnknown ¶
func (m *Document) XXX_DiscardUnknown()
func (*Document) XXX_Marshal ¶
func (*Document) XXX_Unmarshal ¶
type DocumentMetadata ¶
type DocumentMetadata struct { Version *int64 `protobuf:"varint,1,opt,name=version" json:"version,omitempty"` CommittedStVersion *int64 `protobuf:"varint,2,opt,name=committed_st_version,json=committedStVersion" json:"committed_st_version,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*DocumentMetadata) Descriptor ¶
func (*DocumentMetadata) Descriptor() ([]byte, []int)
func (*DocumentMetadata) GetCommittedStVersion ¶
func (m *DocumentMetadata) GetCommittedStVersion() int64
func (*DocumentMetadata) GetVersion ¶
func (m *DocumentMetadata) GetVersion() int64
func (*DocumentMetadata) ProtoMessage ¶
func (*DocumentMetadata) ProtoMessage()
func (*DocumentMetadata) Reset ¶
func (m *DocumentMetadata) Reset()
func (*DocumentMetadata) String ¶
func (m *DocumentMetadata) String() string
func (*DocumentMetadata) XXX_DiscardUnknown ¶
func (m *DocumentMetadata) XXX_DiscardUnknown()
func (*DocumentMetadata) XXX_Marshal ¶
func (m *DocumentMetadata) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*DocumentMetadata) XXX_Merge ¶
func (dst *DocumentMetadata) XXX_Merge(src proto.Message)
func (*DocumentMetadata) XXX_Size ¶
func (m *DocumentMetadata) XXX_Size() int
func (*DocumentMetadata) XXX_Unmarshal ¶
func (m *DocumentMetadata) XXX_Unmarshal(b []byte) error
type Document_OrderIdSource ¶
type Document_OrderIdSource int32
const ( Document_DEFAULTED Document_OrderIdSource = 0 Document_SUPPLIED Document_OrderIdSource = 1 )
const Default_Document_OrderIdSource Document_OrderIdSource = Document_SUPPLIED
func (Document_OrderIdSource) Enum ¶
func (x Document_OrderIdSource) Enum() *Document_OrderIdSource
func (Document_OrderIdSource) EnumDescriptor ¶
func (Document_OrderIdSource) EnumDescriptor() ([]byte, []int)
func (Document_OrderIdSource) String ¶
func (x Document_OrderIdSource) String() string
func (*Document_OrderIdSource) UnmarshalJSON ¶
func (x *Document_OrderIdSource) UnmarshalJSON(data []byte) error
type Document_Storage ¶
type Document_Storage int32
const Default_Document_Storage Document_Storage = Document_DISK
const (
Document_DISK Document_Storage = 0
)
func (Document_Storage) Enum ¶
func (x Document_Storage) Enum() *Document_Storage
func (Document_Storage) EnumDescriptor ¶
func (Document_Storage) EnumDescriptor() ([]byte, []int)
func (Document_Storage) String ¶
func (x Document_Storage) String() string
func (*Document_Storage) UnmarshalJSON ¶
func (x *Document_Storage) UnmarshalJSON(data []byte) error
type Entry ¶
type Entry struct { Scope *Scope `protobuf:"bytes,1,opt,name=scope" json:"scope,omitempty"` Permission *Entry_Permission `protobuf:"varint,2,opt,name=permission,enum=search.Entry_Permission" json:"permission,omitempty"` DisplayName *string `protobuf:"bytes,3,opt,name=display_name,json=displayName" json:"display_name,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*Entry) Descriptor ¶
func (*Entry) GetDisplayName ¶
func (*Entry) GetPermission ¶
func (m *Entry) GetPermission() Entry_Permission
func (*Entry) ProtoMessage ¶
func (*Entry) ProtoMessage()
func (*Entry) XXX_DiscardUnknown ¶
func (m *Entry) XXX_DiscardUnknown()
func (*Entry) XXX_Marshal ¶
func (*Entry) XXX_Unmarshal ¶
type Entry_Permission ¶
type Entry_Permission int32
const ( Entry_READ Entry_Permission = 1 Entry_WRITE Entry_Permission = 2 Entry_FULL_CONTROL Entry_Permission = 3 )
func (Entry_Permission) Enum ¶
func (x Entry_Permission) Enum() *Entry_Permission
func (Entry_Permission) EnumDescriptor ¶
func (Entry_Permission) EnumDescriptor() ([]byte, []int)
func (Entry_Permission) String ¶
func (x Entry_Permission) String() string
func (*Entry_Permission) UnmarshalJSON ¶
func (x *Entry_Permission) UnmarshalJSON(data []byte) error
type Facet ¶
type Facet struct { Name *string `protobuf:"bytes,1,req,name=name" json:"name,omitempty"` Value *FacetValue `protobuf:"bytes,2,req,name=value" json:"value,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*Facet) Descriptor ¶
func (*Facet) GetValue ¶
func (m *Facet) GetValue() *FacetValue
func (*Facet) ProtoMessage ¶
func (*Facet) ProtoMessage()
func (*Facet) XXX_DiscardUnknown ¶
func (m *Facet) XXX_DiscardUnknown()
func (*Facet) XXX_Marshal ¶
func (*Facet) XXX_Unmarshal ¶
type FacetAutoDetectParam ¶
type FacetAutoDetectParam struct { ValueLimit *int32 `protobuf:"varint,1,opt,name=value_limit,json=valueLimit,def=10" json:"value_limit,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*FacetAutoDetectParam) Descriptor ¶
func (*FacetAutoDetectParam) Descriptor() ([]byte, []int)
func (*FacetAutoDetectParam) GetValueLimit ¶
func (m *FacetAutoDetectParam) GetValueLimit() int32
func (*FacetAutoDetectParam) ProtoMessage ¶
func (*FacetAutoDetectParam) ProtoMessage()
func (*FacetAutoDetectParam) Reset ¶
func (m *FacetAutoDetectParam) Reset()
func (*FacetAutoDetectParam) String ¶
func (m *FacetAutoDetectParam) String() string
func (*FacetAutoDetectParam) XXX_DiscardUnknown ¶
func (m *FacetAutoDetectParam) XXX_DiscardUnknown()
func (*FacetAutoDetectParam) XXX_Marshal ¶
func (m *FacetAutoDetectParam) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*FacetAutoDetectParam) XXX_Merge ¶
func (dst *FacetAutoDetectParam) XXX_Merge(src proto.Message)
func (*FacetAutoDetectParam) XXX_Size ¶
func (m *FacetAutoDetectParam) XXX_Size() int
func (*FacetAutoDetectParam) XXX_Unmarshal ¶
func (m *FacetAutoDetectParam) XXX_Unmarshal(b []byte) error
type FacetRange ¶
type FacetRange struct { Name *string `protobuf:"bytes,1,opt,name=name" json:"name,omitempty"` Start *string `protobuf:"bytes,2,opt,name=start" json:"start,omitempty"` End *string `protobuf:"bytes,3,opt,name=end" json:"end,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*FacetRange) Descriptor ¶
func (*FacetRange) Descriptor() ([]byte, []int)
func (*FacetRange) GetEnd ¶
func (m *FacetRange) GetEnd() string
func (*FacetRange) GetName ¶
func (m *FacetRange) GetName() string
func (*FacetRange) GetStart ¶
func (m *FacetRange) GetStart() string
func (*FacetRange) ProtoMessage ¶
func (*FacetRange) ProtoMessage()
func (*FacetRange) Reset ¶
func (m *FacetRange) Reset()
func (*FacetRange) String ¶
func (m *FacetRange) String() string
func (*FacetRange) XXX_DiscardUnknown ¶
func (m *FacetRange) XXX_DiscardUnknown()
func (*FacetRange) XXX_Marshal ¶
func (m *FacetRange) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*FacetRange) XXX_Merge ¶
func (dst *FacetRange) XXX_Merge(src proto.Message)
func (*FacetRange) XXX_Size ¶
func (m *FacetRange) XXX_Size() int
func (*FacetRange) XXX_Unmarshal ¶
func (m *FacetRange) XXX_Unmarshal(b []byte) error
type FacetRefinement ¶
type FacetRefinement struct { Name *string `protobuf:"bytes,1,req,name=name" json:"name,omitempty"` Value *string `protobuf:"bytes,2,opt,name=value" json:"value,omitempty"` Range *FacetRefinement_Range `protobuf:"bytes,3,opt,name=range" json:"range,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*FacetRefinement) Descriptor ¶
func (*FacetRefinement) Descriptor() ([]byte, []int)
func (*FacetRefinement) GetName ¶
func (m *FacetRefinement) GetName() string
func (*FacetRefinement) GetRange ¶
func (m *FacetRefinement) GetRange() *FacetRefinement_Range
func (*FacetRefinement) GetValue ¶
func (m *FacetRefinement) GetValue() string
func (*FacetRefinement) ProtoMessage ¶
func (*FacetRefinement) ProtoMessage()
func (*FacetRefinement) Reset ¶
func (m *FacetRefinement) Reset()
func (*FacetRefinement) String ¶
func (m *FacetRefinement) String() string
func (*FacetRefinement) XXX_DiscardUnknown ¶
func (m *FacetRefinement) XXX_DiscardUnknown()
func (*FacetRefinement) XXX_Marshal ¶
func (m *FacetRefinement) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*FacetRefinement) XXX_Merge ¶
func (dst *FacetRefinement) XXX_Merge(src proto.Message)
func (*FacetRefinement) XXX_Size ¶
func (m *FacetRefinement) XXX_Size() int
func (*FacetRefinement) XXX_Unmarshal ¶
func (m *FacetRefinement) XXX_Unmarshal(b []byte) error
type FacetRefinement_Range ¶
type FacetRefinement_Range struct { Start *string `protobuf:"bytes,1,opt,name=start" json:"start,omitempty"` End *string `protobuf:"bytes,2,opt,name=end" json:"end,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*FacetRefinement_Range) Descriptor ¶
func (*FacetRefinement_Range) Descriptor() ([]byte, []int)
func (*FacetRefinement_Range) GetEnd ¶
func (m *FacetRefinement_Range) GetEnd() string
func (*FacetRefinement_Range) GetStart ¶
func (m *FacetRefinement_Range) GetStart() string
func (*FacetRefinement_Range) ProtoMessage ¶
func (*FacetRefinement_Range) ProtoMessage()
func (*FacetRefinement_Range) Reset ¶
func (m *FacetRefinement_Range) Reset()
func (*FacetRefinement_Range) String ¶
func (m *FacetRefinement_Range) String() string
func (*FacetRefinement_Range) XXX_DiscardUnknown ¶
func (m *FacetRefinement_Range) XXX_DiscardUnknown()
func (*FacetRefinement_Range) XXX_Marshal ¶
func (m *FacetRefinement_Range) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*FacetRefinement_Range) XXX_Merge ¶
func (dst *FacetRefinement_Range) XXX_Merge(src proto.Message)
func (*FacetRefinement_Range) XXX_Size ¶
func (m *FacetRefinement_Range) XXX_Size() int
func (*FacetRefinement_Range) XXX_Unmarshal ¶
func (m *FacetRefinement_Range) XXX_Unmarshal(b []byte) error
type FacetRequest ¶
type FacetRequest struct { Name *string `protobuf:"bytes,1,req,name=name" json:"name,omitempty"` Params *FacetRequestParam `protobuf:"bytes,2,opt,name=params" json:"params,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*FacetRequest) Descriptor ¶
func (*FacetRequest) Descriptor() ([]byte, []int)
func (*FacetRequest) GetName ¶
func (m *FacetRequest) GetName() string
func (*FacetRequest) GetParams ¶
func (m *FacetRequest) GetParams() *FacetRequestParam
func (*FacetRequest) ProtoMessage ¶
func (*FacetRequest) ProtoMessage()
func (*FacetRequest) Reset ¶
func (m *FacetRequest) Reset()
func (*FacetRequest) String ¶
func (m *FacetRequest) String() string
func (*FacetRequest) XXX_DiscardUnknown ¶
func (m *FacetRequest) XXX_DiscardUnknown()
func (*FacetRequest) XXX_Marshal ¶
func (m *FacetRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*FacetRequest) XXX_Merge ¶
func (dst *FacetRequest) XXX_Merge(src proto.Message)
func (*FacetRequest) XXX_Size ¶
func (m *FacetRequest) XXX_Size() int
func (*FacetRequest) XXX_Unmarshal ¶
func (m *FacetRequest) XXX_Unmarshal(b []byte) error
type FacetRequestParam ¶
type FacetRequestParam struct { ValueLimit *int32 `protobuf:"varint,1,opt,name=value_limit,json=valueLimit" json:"value_limit,omitempty"` Range []*FacetRange `protobuf:"bytes,2,rep,name=range" json:"range,omitempty"` ValueConstraint []string `protobuf:"bytes,3,rep,name=value_constraint,json=valueConstraint" json:"value_constraint,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*FacetRequestParam) Descriptor ¶
func (*FacetRequestParam) Descriptor() ([]byte, []int)
func (*FacetRequestParam) GetRange ¶
func (m *FacetRequestParam) GetRange() []*FacetRange
func (*FacetRequestParam) GetValueConstraint ¶
func (m *FacetRequestParam) GetValueConstraint() []string
func (*FacetRequestParam) GetValueLimit ¶
func (m *FacetRequestParam) GetValueLimit() int32
func (*FacetRequestParam) ProtoMessage ¶
func (*FacetRequestParam) ProtoMessage()
func (*FacetRequestParam) Reset ¶
func (m *FacetRequestParam) Reset()
func (*FacetRequestParam) String ¶
func (m *FacetRequestParam) String() string
func (*FacetRequestParam) XXX_DiscardUnknown ¶
func (m *FacetRequestParam) XXX_DiscardUnknown()
func (*FacetRequestParam) XXX_Marshal ¶
func (m *FacetRequestParam) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*FacetRequestParam) XXX_Merge ¶
func (dst *FacetRequestParam) XXX_Merge(src proto.Message)
func (*FacetRequestParam) XXX_Size ¶
func (m *FacetRequestParam) XXX_Size() int
func (*FacetRequestParam) XXX_Unmarshal ¶
func (m *FacetRequestParam) XXX_Unmarshal(b []byte) error
type FacetResult ¶
type FacetResult struct { Name *string `protobuf:"bytes,1,req,name=name" json:"name,omitempty"` Value []*FacetResultValue `protobuf:"bytes,2,rep,name=value" json:"value,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*FacetResult) Descriptor ¶
func (*FacetResult) Descriptor() ([]byte, []int)
func (*FacetResult) GetName ¶
func (m *FacetResult) GetName() string
func (*FacetResult) GetValue ¶
func (m *FacetResult) GetValue() []*FacetResultValue
func (*FacetResult) ProtoMessage ¶
func (*FacetResult) ProtoMessage()
func (*FacetResult) Reset ¶
func (m *FacetResult) Reset()
func (*FacetResult) String ¶
func (m *FacetResult) String() string
func (*FacetResult) XXX_DiscardUnknown ¶
func (m *FacetResult) XXX_DiscardUnknown()
func (*FacetResult) XXX_Marshal ¶
func (m *FacetResult) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*FacetResult) XXX_Merge ¶
func (dst *FacetResult) XXX_Merge(src proto.Message)
func (*FacetResult) XXX_Size ¶
func (m *FacetResult) XXX_Size() int
func (*FacetResult) XXX_Unmarshal ¶
func (m *FacetResult) XXX_Unmarshal(b []byte) error
type FacetResultValue ¶
type FacetResultValue struct { Name *string `protobuf:"bytes,1,req,name=name" json:"name,omitempty"` Count *int32 `protobuf:"varint,2,req,name=count" json:"count,omitempty"` Refinement *FacetRefinement `protobuf:"bytes,3,req,name=refinement" json:"refinement,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*FacetResultValue) Descriptor ¶
func (*FacetResultValue) Descriptor() ([]byte, []int)
func (*FacetResultValue) GetCount ¶
func (m *FacetResultValue) GetCount() int32
func (*FacetResultValue) GetName ¶
func (m *FacetResultValue) GetName() string
func (*FacetResultValue) GetRefinement ¶
func (m *FacetResultValue) GetRefinement() *FacetRefinement
func (*FacetResultValue) ProtoMessage ¶
func (*FacetResultValue) ProtoMessage()
func (*FacetResultValue) Reset ¶
func (m *FacetResultValue) Reset()
func (*FacetResultValue) String ¶
func (m *FacetResultValue) String() string
func (*FacetResultValue) XXX_DiscardUnknown ¶
func (m *FacetResultValue) XXX_DiscardUnknown()
func (*FacetResultValue) XXX_Marshal ¶
func (m *FacetResultValue) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*FacetResultValue) XXX_Merge ¶
func (dst *FacetResultValue) XXX_Merge(src proto.Message)
func (*FacetResultValue) XXX_Size ¶
func (m *FacetResultValue) XXX_Size() int
func (*FacetResultValue) XXX_Unmarshal ¶
func (m *FacetResultValue) XXX_Unmarshal(b []byte) error
type FacetValue ¶
type FacetValue struct { Type *FacetValue_ContentType `protobuf:"varint,1,opt,name=type,enum=search.FacetValue_ContentType,def=2" json:"type,omitempty"` StringValue *string `protobuf:"bytes,3,opt,name=string_value,json=stringValue" json:"string_value,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*FacetValue) Descriptor ¶
func (*FacetValue) Descriptor() ([]byte, []int)
func (*FacetValue) GetStringValue ¶
func (m *FacetValue) GetStringValue() string
func (*FacetValue) GetType ¶
func (m *FacetValue) GetType() FacetValue_ContentType
func (*FacetValue) ProtoMessage ¶
func (*FacetValue) ProtoMessage()
func (*FacetValue) Reset ¶
func (m *FacetValue) Reset()
func (*FacetValue) String ¶
func (m *FacetValue) String() string
func (*FacetValue) XXX_DiscardUnknown ¶
func (m *FacetValue) XXX_DiscardUnknown()
func (*FacetValue) XXX_Marshal ¶
func (m *FacetValue) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*FacetValue) XXX_Merge ¶
func (dst *FacetValue) XXX_Merge(src proto.Message)
func (*FacetValue) XXX_Size ¶
func (m *FacetValue) XXX_Size() int
func (*FacetValue) XXX_Unmarshal ¶
func (m *FacetValue) XXX_Unmarshal(b []byte) error
type FacetValue_ContentType ¶
type FacetValue_ContentType int32
const ( FacetValue_ATOM FacetValue_ContentType = 2 FacetValue_NUMBER FacetValue_ContentType = 4 )
const Default_FacetValue_Type FacetValue_ContentType = FacetValue_ATOM
func (FacetValue_ContentType) Enum ¶
func (x FacetValue_ContentType) Enum() *FacetValue_ContentType
func (FacetValue_ContentType) EnumDescriptor ¶
func (FacetValue_ContentType) EnumDescriptor() ([]byte, []int)
func (FacetValue_ContentType) String ¶
func (x FacetValue_ContentType) String() string
func (*FacetValue_ContentType) UnmarshalJSON ¶
func (x *FacetValue_ContentType) UnmarshalJSON(data []byte) error
type Field ¶
type Field struct { Name *string `protobuf:"bytes,1,req,name=name" json:"name,omitempty"` Value *FieldValue `protobuf:"bytes,2,req,name=value" json:"value,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*Field) Descriptor ¶
func (*Field) GetValue ¶
func (m *Field) GetValue() *FieldValue
func (*Field) ProtoMessage ¶
func (*Field) ProtoMessage()
func (*Field) XXX_DiscardUnknown ¶
func (m *Field) XXX_DiscardUnknown()
func (*Field) XXX_Marshal ¶
func (*Field) XXX_Unmarshal ¶
type FieldSpec ¶
type FieldSpec struct { Name []string `protobuf:"bytes,1,rep,name=name" json:"name,omitempty"` Expression []*FieldSpec_Expression `protobuf:"group,2,rep,name=Expression,json=expression" json:"expression,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*FieldSpec) Descriptor ¶
func (*FieldSpec) GetExpression ¶
func (m *FieldSpec) GetExpression() []*FieldSpec_Expression
func (*FieldSpec) ProtoMessage ¶
func (*FieldSpec) ProtoMessage()
func (*FieldSpec) XXX_DiscardUnknown ¶
func (m *FieldSpec) XXX_DiscardUnknown()
func (*FieldSpec) XXX_Marshal ¶
func (*FieldSpec) XXX_Unmarshal ¶
type FieldSpec_Expression ¶
type FieldSpec_Expression struct { Name *string `protobuf:"bytes,3,req,name=name" json:"name,omitempty"` Expression *string `protobuf:"bytes,4,req,name=expression" json:"expression,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*FieldSpec_Expression) Descriptor ¶
func (*FieldSpec_Expression) Descriptor() ([]byte, []int)
func (*FieldSpec_Expression) GetExpression ¶
func (m *FieldSpec_Expression) GetExpression() string
func (*FieldSpec_Expression) GetName ¶
func (m *FieldSpec_Expression) GetName() string
func (*FieldSpec_Expression) ProtoMessage ¶
func (*FieldSpec_Expression) ProtoMessage()
func (*FieldSpec_Expression) Reset ¶
func (m *FieldSpec_Expression) Reset()
func (*FieldSpec_Expression) String ¶
func (m *FieldSpec_Expression) String() string
func (*FieldSpec_Expression) XXX_DiscardUnknown ¶
func (m *FieldSpec_Expression) XXX_DiscardUnknown()
func (*FieldSpec_Expression) XXX_Marshal ¶
func (m *FieldSpec_Expression) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*FieldSpec_Expression) XXX_Merge ¶
func (dst *FieldSpec_Expression) XXX_Merge(src proto.Message)
func (*FieldSpec_Expression) XXX_Size ¶
func (m *FieldSpec_Expression) XXX_Size() int
func (*FieldSpec_Expression) XXX_Unmarshal ¶
func (m *FieldSpec_Expression) XXX_Unmarshal(b []byte) error
type FieldTypes ¶
type FieldTypes struct { Name *string `protobuf:"bytes,1,req,name=name" json:"name,omitempty"` Type []FieldValue_ContentType `protobuf:"varint,2,rep,name=type,enum=search.FieldValue_ContentType" json:"type,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*FieldTypes) Descriptor ¶
func (*FieldTypes) Descriptor() ([]byte, []int)
func (*FieldTypes) GetName ¶
func (m *FieldTypes) GetName() string
func (*FieldTypes) GetType ¶
func (m *FieldTypes) GetType() []FieldValue_ContentType
func (*FieldTypes) ProtoMessage ¶
func (*FieldTypes) ProtoMessage()
func (*FieldTypes) Reset ¶
func (m *FieldTypes) Reset()
func (*FieldTypes) String ¶
func (m *FieldTypes) String() string
func (*FieldTypes) XXX_DiscardUnknown ¶
func (m *FieldTypes) XXX_DiscardUnknown()
func (*FieldTypes) XXX_Marshal ¶
func (m *FieldTypes) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*FieldTypes) XXX_Merge ¶
func (dst *FieldTypes) XXX_Merge(src proto.Message)
func (*FieldTypes) XXX_Size ¶
func (m *FieldTypes) XXX_Size() int
func (*FieldTypes) XXX_Unmarshal ¶
func (m *FieldTypes) XXX_Unmarshal(b []byte) error
type FieldValue ¶
type FieldValue struct { Type *FieldValue_ContentType `protobuf:"varint,1,opt,name=type,enum=search.FieldValue_ContentType,def=0" json:"type,omitempty"` Language *string `protobuf:"bytes,2,opt,name=language,def=en" json:"language,omitempty"` StringValue *string `protobuf:"bytes,3,opt,name=string_value,json=stringValue" json:"string_value,omitempty"` Geo *FieldValue_Geo `protobuf:"group,4,opt,name=Geo,json=geo" json:"geo,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*FieldValue) Descriptor ¶
func (*FieldValue) Descriptor() ([]byte, []int)
func (*FieldValue) GetGeo ¶
func (m *FieldValue) GetGeo() *FieldValue_Geo
func (*FieldValue) GetLanguage ¶
func (m *FieldValue) GetLanguage() string
func (*FieldValue) GetStringValue ¶
func (m *FieldValue) GetStringValue() string
func (*FieldValue) GetType ¶
func (m *FieldValue) GetType() FieldValue_ContentType
func (*FieldValue) ProtoMessage ¶
func (*FieldValue) ProtoMessage()
func (*FieldValue) Reset ¶
func (m *FieldValue) Reset()
func (*FieldValue) String ¶
func (m *FieldValue) String() string
func (*FieldValue) XXX_DiscardUnknown ¶
func (m *FieldValue) XXX_DiscardUnknown()
func (*FieldValue) XXX_Marshal ¶
func (m *FieldValue) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*FieldValue) XXX_Merge ¶
func (dst *FieldValue) XXX_Merge(src proto.Message)
func (*FieldValue) XXX_Size ¶
func (m *FieldValue) XXX_Size() int
func (*FieldValue) XXX_Unmarshal ¶
func (m *FieldValue) XXX_Unmarshal(b []byte) error
type FieldValue_ContentType ¶
type FieldValue_ContentType int32
const ( FieldValue_TEXT FieldValue_ContentType = 0 FieldValue_HTML FieldValue_ContentType = 1 FieldValue_ATOM FieldValue_ContentType = 2 FieldValue_DATE FieldValue_ContentType = 3 FieldValue_NUMBER FieldValue_ContentType = 4 FieldValue_GEO FieldValue_ContentType = 5 )
const Default_FieldValue_Type FieldValue_ContentType = FieldValue_TEXT
func (FieldValue_ContentType) Enum ¶
func (x FieldValue_ContentType) Enum() *FieldValue_ContentType
func (FieldValue_ContentType) EnumDescriptor ¶
func (FieldValue_ContentType) EnumDescriptor() ([]byte, []int)
func (FieldValue_ContentType) String ¶
func (x FieldValue_ContentType) String() string
func (*FieldValue_ContentType) UnmarshalJSON ¶
func (x *FieldValue_ContentType) UnmarshalJSON(data []byte) error
type FieldValue_Geo ¶
type FieldValue_Geo struct { Lat *float64 `protobuf:"fixed64,5,req,name=lat" json:"lat,omitempty"` Lng *float64 `protobuf:"fixed64,6,req,name=lng" json:"lng,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*FieldValue_Geo) Descriptor ¶
func (*FieldValue_Geo) Descriptor() ([]byte, []int)
func (*FieldValue_Geo) GetLat ¶
func (m *FieldValue_Geo) GetLat() float64
func (*FieldValue_Geo) GetLng ¶
func (m *FieldValue_Geo) GetLng() float64
func (*FieldValue_Geo) ProtoMessage ¶
func (*FieldValue_Geo) ProtoMessage()
func (*FieldValue_Geo) Reset ¶
func (m *FieldValue_Geo) Reset()
func (*FieldValue_Geo) String ¶
func (m *FieldValue_Geo) String() string
func (*FieldValue_Geo) XXX_DiscardUnknown ¶
func (m *FieldValue_Geo) XXX_DiscardUnknown()
func (*FieldValue_Geo) XXX_Marshal ¶
func (m *FieldValue_Geo) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*FieldValue_Geo) XXX_Merge ¶
func (dst *FieldValue_Geo) XXX_Merge(src proto.Message)
func (*FieldValue_Geo) XXX_Size ¶
func (m *FieldValue_Geo) XXX_Size() int
func (*FieldValue_Geo) XXX_Unmarshal ¶
func (m *FieldValue_Geo) XXX_Unmarshal(b []byte) error
type IndexDocumentParams ¶
type IndexDocumentParams struct { Document []*Document `protobuf:"bytes,1,rep,name=document" json:"document,omitempty"` Freshness *IndexDocumentParams_Freshness `protobuf:"varint,2,opt,name=freshness,enum=search.IndexDocumentParams_Freshness,def=0" json:"freshness,omitempty"` // Deprecated: Do not use. IndexSpec *IndexSpec `protobuf:"bytes,3,req,name=index_spec,json=indexSpec" json:"index_spec,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*IndexDocumentParams) Descriptor ¶
func (*IndexDocumentParams) Descriptor() ([]byte, []int)
func (*IndexDocumentParams) GetDocument ¶
func (m *IndexDocumentParams) GetDocument() []*Document
func (*IndexDocumentParams) GetFreshness
deprecated
func (m *IndexDocumentParams) GetFreshness() IndexDocumentParams_Freshness
Deprecated: Do not use.
func (*IndexDocumentParams) GetIndexSpec ¶
func (m *IndexDocumentParams) GetIndexSpec() *IndexSpec
func (*IndexDocumentParams) ProtoMessage ¶
func (*IndexDocumentParams) ProtoMessage()
func (*IndexDocumentParams) Reset ¶
func (m *IndexDocumentParams) Reset()
func (*IndexDocumentParams) String ¶
func (m *IndexDocumentParams) String() string
func (*IndexDocumentParams) XXX_DiscardUnknown ¶
func (m *IndexDocumentParams) XXX_DiscardUnknown()
func (*IndexDocumentParams) XXX_Marshal ¶
func (m *IndexDocumentParams) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*IndexDocumentParams) XXX_Merge ¶
func (dst *IndexDocumentParams) XXX_Merge(src proto.Message)
func (*IndexDocumentParams) XXX_Size ¶
func (m *IndexDocumentParams) XXX_Size() int
func (*IndexDocumentParams) XXX_Unmarshal ¶
func (m *IndexDocumentParams) XXX_Unmarshal(b []byte) error
type IndexDocumentParams_Freshness ¶
type IndexDocumentParams_Freshness int32
const ( IndexDocumentParams_SYNCHRONOUSLY IndexDocumentParams_Freshness = 0 IndexDocumentParams_WHEN_CONVENIENT IndexDocumentParams_Freshness = 1 )
const Default_IndexDocumentParams_Freshness IndexDocumentParams_Freshness = IndexDocumentParams_SYNCHRONOUSLY
func (IndexDocumentParams_Freshness) Enum ¶
func (x IndexDocumentParams_Freshness) Enum() *IndexDocumentParams_Freshness
func (IndexDocumentParams_Freshness) EnumDescriptor ¶
func (IndexDocumentParams_Freshness) EnumDescriptor() ([]byte, []int)
func (IndexDocumentParams_Freshness) String ¶
func (x IndexDocumentParams_Freshness) String() string
func (*IndexDocumentParams_Freshness) UnmarshalJSON ¶
func (x *IndexDocumentParams_Freshness) UnmarshalJSON(data []byte) error
type IndexDocumentRequest ¶
type IndexDocumentRequest struct { Params *IndexDocumentParams `protobuf:"bytes,1,req,name=params" json:"params,omitempty"` AppId []byte `protobuf:"bytes,3,opt,name=app_id,json=appId" json:"app_id,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*IndexDocumentRequest) Descriptor ¶
func (*IndexDocumentRequest) Descriptor() ([]byte, []int)
func (*IndexDocumentRequest) GetAppId ¶
func (m *IndexDocumentRequest) GetAppId() []byte
func (*IndexDocumentRequest) GetParams ¶
func (m *IndexDocumentRequest) GetParams() *IndexDocumentParams
func (*IndexDocumentRequest) ProtoMessage ¶
func (*IndexDocumentRequest) ProtoMessage()
func (*IndexDocumentRequest) Reset ¶
func (m *IndexDocumentRequest) Reset()
func (*IndexDocumentRequest) String ¶
func (m *IndexDocumentRequest) String() string
func (*IndexDocumentRequest) XXX_DiscardUnknown ¶
func (m *IndexDocumentRequest) XXX_DiscardUnknown()
func (*IndexDocumentRequest) XXX_Marshal ¶
func (m *IndexDocumentRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*IndexDocumentRequest) XXX_Merge ¶
func (dst *IndexDocumentRequest) XXX_Merge(src proto.Message)
func (*IndexDocumentRequest) XXX_Size ¶
func (m *IndexDocumentRequest) XXX_Size() int
func (*IndexDocumentRequest) XXX_Unmarshal ¶
func (m *IndexDocumentRequest) XXX_Unmarshal(b []byte) error
type IndexDocumentResponse ¶
type IndexDocumentResponse struct { Status []*RequestStatus `protobuf:"bytes,1,rep,name=status" json:"status,omitempty"` DocId []string `protobuf:"bytes,2,rep,name=doc_id,json=docId" json:"doc_id,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*IndexDocumentResponse) Descriptor ¶
func (*IndexDocumentResponse) Descriptor() ([]byte, []int)
func (*IndexDocumentResponse) GetDocId ¶
func (m *IndexDocumentResponse) GetDocId() []string
func (*IndexDocumentResponse) GetStatus ¶
func (m *IndexDocumentResponse) GetStatus() []*RequestStatus
func (*IndexDocumentResponse) ProtoMessage ¶
func (*IndexDocumentResponse) ProtoMessage()
func (*IndexDocumentResponse) Reset ¶
func (m *IndexDocumentResponse) Reset()
func (*IndexDocumentResponse) String ¶
func (m *IndexDocumentResponse) String() string
func (*IndexDocumentResponse) XXX_DiscardUnknown ¶
func (m *IndexDocumentResponse) XXX_DiscardUnknown()
func (*IndexDocumentResponse) XXX_Marshal ¶
func (m *IndexDocumentResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*IndexDocumentResponse) XXX_Merge ¶
func (dst *IndexDocumentResponse) XXX_Merge(src proto.Message)
func (*IndexDocumentResponse) XXX_Size ¶
func (m *IndexDocumentResponse) XXX_Size() int
func (*IndexDocumentResponse) XXX_Unmarshal ¶
func (m *IndexDocumentResponse) XXX_Unmarshal(b []byte) error
type IndexMetadata ¶
type IndexMetadata struct { IndexSpec *IndexSpec `protobuf:"bytes,1,req,name=index_spec,json=indexSpec" json:"index_spec,omitempty"` Field []*FieldTypes `protobuf:"bytes,2,rep,name=field" json:"field,omitempty"` Storage *IndexMetadata_Storage `protobuf:"bytes,3,opt,name=storage" json:"storage,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*IndexMetadata) Descriptor ¶
func (*IndexMetadata) Descriptor() ([]byte, []int)
func (*IndexMetadata) GetField ¶
func (m *IndexMetadata) GetField() []*FieldTypes
func (*IndexMetadata) GetIndexSpec ¶
func (m *IndexMetadata) GetIndexSpec() *IndexSpec
func (*IndexMetadata) GetStorage ¶
func (m *IndexMetadata) GetStorage() *IndexMetadata_Storage
func (*IndexMetadata) ProtoMessage ¶
func (*IndexMetadata) ProtoMessage()
func (*IndexMetadata) Reset ¶
func (m *IndexMetadata) Reset()
func (*IndexMetadata) String ¶
func (m *IndexMetadata) String() string
func (*IndexMetadata) XXX_DiscardUnknown ¶
func (m *IndexMetadata) XXX_DiscardUnknown()
func (*IndexMetadata) XXX_Marshal ¶
func (m *IndexMetadata) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*IndexMetadata) XXX_Merge ¶
func (dst *IndexMetadata) XXX_Merge(src proto.Message)
func (*IndexMetadata) XXX_Size ¶
func (m *IndexMetadata) XXX_Size() int
func (*IndexMetadata) XXX_Unmarshal ¶
func (m *IndexMetadata) XXX_Unmarshal(b []byte) error
type IndexMetadata_Storage ¶
type IndexMetadata_Storage struct { AmountUsed *int64 `protobuf:"varint,1,opt,name=amount_used,json=amountUsed" json:"amount_used,omitempty"` Limit *int64 `protobuf:"varint,2,opt,name=limit" json:"limit,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*IndexMetadata_Storage) Descriptor ¶
func (*IndexMetadata_Storage) Descriptor() ([]byte, []int)
func (*IndexMetadata_Storage) GetAmountUsed ¶
func (m *IndexMetadata_Storage) GetAmountUsed() int64
func (*IndexMetadata_Storage) GetLimit ¶
func (m *IndexMetadata_Storage) GetLimit() int64
func (*IndexMetadata_Storage) ProtoMessage ¶
func (*IndexMetadata_Storage) ProtoMessage()
func (*IndexMetadata_Storage) Reset ¶
func (m *IndexMetadata_Storage) Reset()
func (*IndexMetadata_Storage) String ¶
func (m *IndexMetadata_Storage) String() string
func (*IndexMetadata_Storage) XXX_DiscardUnknown ¶
func (m *IndexMetadata_Storage) XXX_DiscardUnknown()
func (*IndexMetadata_Storage) XXX_Marshal ¶
func (m *IndexMetadata_Storage) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*IndexMetadata_Storage) XXX_Merge ¶
func (dst *IndexMetadata_Storage) XXX_Merge(src proto.Message)
func (*IndexMetadata_Storage) XXX_Size ¶
func (m *IndexMetadata_Storage) XXX_Size() int
func (*IndexMetadata_Storage) XXX_Unmarshal ¶
func (m *IndexMetadata_Storage) XXX_Unmarshal(b []byte) error
type IndexShardSettings ¶
type IndexShardSettings struct { PrevNumShards []int32 `protobuf:"varint,1,rep,name=prev_num_shards,json=prevNumShards" json:"prev_num_shards,omitempty"` NumShards *int32 `protobuf:"varint,2,req,name=num_shards,json=numShards,def=1" json:"num_shards,omitempty"` PrevNumShardsSearchFalse []int32 `` /* 133-byte string literal not displayed */ LocalReplica *string `protobuf:"bytes,4,opt,name=local_replica,json=localReplica,def=" json:"local_replica,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*IndexShardSettings) Descriptor ¶
func (*IndexShardSettings) Descriptor() ([]byte, []int)
func (*IndexShardSettings) GetLocalReplica ¶
func (m *IndexShardSettings) GetLocalReplica() string
func (*IndexShardSettings) GetNumShards ¶
func (m *IndexShardSettings) GetNumShards() int32
func (*IndexShardSettings) GetPrevNumShards ¶
func (m *IndexShardSettings) GetPrevNumShards() []int32
func (*IndexShardSettings) GetPrevNumShardsSearchFalse ¶
func (m *IndexShardSettings) GetPrevNumShardsSearchFalse() []int32
func (*IndexShardSettings) ProtoMessage ¶
func (*IndexShardSettings) ProtoMessage()
func (*IndexShardSettings) Reset ¶
func (m *IndexShardSettings) Reset()
func (*IndexShardSettings) String ¶
func (m *IndexShardSettings) String() string
func (*IndexShardSettings) XXX_DiscardUnknown ¶
func (m *IndexShardSettings) XXX_DiscardUnknown()
func (*IndexShardSettings) XXX_Marshal ¶
func (m *IndexShardSettings) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*IndexShardSettings) XXX_Merge ¶
func (dst *IndexShardSettings) XXX_Merge(src proto.Message)
func (*IndexShardSettings) XXX_Size ¶
func (m *IndexShardSettings) XXX_Size() int
func (*IndexShardSettings) XXX_Unmarshal ¶
func (m *IndexShardSettings) XXX_Unmarshal(b []byte) error
type IndexSpec ¶
type IndexSpec struct { Name *string `protobuf:"bytes,1,req,name=name" json:"name,omitempty"` Consistency *IndexSpec_Consistency `protobuf:"varint,2,opt,name=consistency,enum=search.IndexSpec_Consistency,def=1" json:"consistency,omitempty"` Namespace *string `protobuf:"bytes,3,opt,name=namespace" json:"namespace,omitempty"` Version *int32 `protobuf:"varint,4,opt,name=version" json:"version,omitempty"` Source *IndexSpec_Source `protobuf:"varint,5,opt,name=source,enum=search.IndexSpec_Source,def=0" json:"source,omitempty"` Mode *IndexSpec_Mode `protobuf:"varint,6,opt,name=mode,enum=search.IndexSpec_Mode,def=0" json:"mode,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*IndexSpec) Descriptor ¶
func (*IndexSpec) GetConsistency ¶
func (m *IndexSpec) GetConsistency() IndexSpec_Consistency
func (*IndexSpec) GetMode ¶
func (m *IndexSpec) GetMode() IndexSpec_Mode
func (*IndexSpec) GetNamespace ¶
func (*IndexSpec) GetSource ¶
func (m *IndexSpec) GetSource() IndexSpec_Source
func (*IndexSpec) GetVersion ¶
func (*IndexSpec) ProtoMessage ¶
func (*IndexSpec) ProtoMessage()
func (*IndexSpec) XXX_DiscardUnknown ¶
func (m *IndexSpec) XXX_DiscardUnknown()
func (*IndexSpec) XXX_Marshal ¶
func (*IndexSpec) XXX_Unmarshal ¶
type IndexSpec_Consistency ¶
type IndexSpec_Consistency int32
const ( IndexSpec_GLOBAL IndexSpec_Consistency = 0 IndexSpec_PER_DOCUMENT IndexSpec_Consistency = 1 )
const Default_IndexSpec_Consistency IndexSpec_Consistency = IndexSpec_PER_DOCUMENT
func (IndexSpec_Consistency) Enum ¶
func (x IndexSpec_Consistency) Enum() *IndexSpec_Consistency
func (IndexSpec_Consistency) EnumDescriptor ¶
func (IndexSpec_Consistency) EnumDescriptor() ([]byte, []int)
func (IndexSpec_Consistency) String ¶
func (x IndexSpec_Consistency) String() string
func (*IndexSpec_Consistency) UnmarshalJSON ¶
func (x *IndexSpec_Consistency) UnmarshalJSON(data []byte) error
type IndexSpec_Mode ¶
type IndexSpec_Mode int32
const ( IndexSpec_PRIORITY IndexSpec_Mode = 0 IndexSpec_BACKGROUND IndexSpec_Mode = 1 )
const Default_IndexSpec_Mode IndexSpec_Mode = IndexSpec_PRIORITY
func (IndexSpec_Mode) Enum ¶
func (x IndexSpec_Mode) Enum() *IndexSpec_Mode
func (IndexSpec_Mode) EnumDescriptor ¶
func (IndexSpec_Mode) EnumDescriptor() ([]byte, []int)
func (IndexSpec_Mode) String ¶
func (x IndexSpec_Mode) String() string
func (*IndexSpec_Mode) UnmarshalJSON ¶
func (x *IndexSpec_Mode) UnmarshalJSON(data []byte) error
type IndexSpec_Source ¶
type IndexSpec_Source int32
const ( IndexSpec_SEARCH IndexSpec_Source = 0 IndexSpec_DATASTORE IndexSpec_Source = 1 IndexSpec_CLOUD_STORAGE IndexSpec_Source = 2 )
const Default_DeleteSchemaParams_Source IndexSpec_Source = IndexSpec_SEARCH
const Default_IndexSpec_Source IndexSpec_Source = IndexSpec_SEARCH
const Default_ListIndexesParams_Source IndexSpec_Source = IndexSpec_SEARCH
func (IndexSpec_Source) Enum ¶
func (x IndexSpec_Source) Enum() *IndexSpec_Source
func (IndexSpec_Source) EnumDescriptor ¶
func (IndexSpec_Source) EnumDescriptor() ([]byte, []int)
func (IndexSpec_Source) String ¶
func (x IndexSpec_Source) String() string
func (*IndexSpec_Source) UnmarshalJSON ¶
func (x *IndexSpec_Source) UnmarshalJSON(data []byte) error
type ListDocumentsParams ¶
type ListDocumentsParams struct { IndexSpec *IndexSpec `protobuf:"bytes,1,req,name=index_spec,json=indexSpec" json:"index_spec,omitempty"` StartDocId *string `protobuf:"bytes,2,opt,name=start_doc_id,json=startDocId" json:"start_doc_id,omitempty"` IncludeStartDoc *bool `protobuf:"varint,3,opt,name=include_start_doc,json=includeStartDoc,def=1" json:"include_start_doc,omitempty"` Limit *int32 `protobuf:"varint,4,opt,name=limit,def=100" json:"limit,omitempty"` KeysOnly *bool `protobuf:"varint,5,opt,name=keys_only,json=keysOnly" json:"keys_only,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*ListDocumentsParams) Descriptor ¶
func (*ListDocumentsParams) Descriptor() ([]byte, []int)
func (*ListDocumentsParams) GetIncludeStartDoc ¶
func (m *ListDocumentsParams) GetIncludeStartDoc() bool
func (*ListDocumentsParams) GetIndexSpec ¶
func (m *ListDocumentsParams) GetIndexSpec() *IndexSpec
func (*ListDocumentsParams) GetKeysOnly ¶
func (m *ListDocumentsParams) GetKeysOnly() bool
func (*ListDocumentsParams) GetLimit ¶
func (m *ListDocumentsParams) GetLimit() int32
func (*ListDocumentsParams) GetStartDocId ¶
func (m *ListDocumentsParams) GetStartDocId() string
func (*ListDocumentsParams) ProtoMessage ¶
func (*ListDocumentsParams) ProtoMessage()
func (*ListDocumentsParams) Reset ¶
func (m *ListDocumentsParams) Reset()
func (*ListDocumentsParams) String ¶
func (m *ListDocumentsParams) String() string
func (*ListDocumentsParams) XXX_DiscardUnknown ¶
func (m *ListDocumentsParams) XXX_DiscardUnknown()
func (*ListDocumentsParams) XXX_Marshal ¶
func (m *ListDocumentsParams) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*ListDocumentsParams) XXX_Merge ¶
func (dst *ListDocumentsParams) XXX_Merge(src proto.Message)
func (*ListDocumentsParams) XXX_Size ¶
func (m *ListDocumentsParams) XXX_Size() int
func (*ListDocumentsParams) XXX_Unmarshal ¶
func (m *ListDocumentsParams) XXX_Unmarshal(b []byte) error
type ListDocumentsRequest ¶
type ListDocumentsRequest struct { Params *ListDocumentsParams `protobuf:"bytes,1,req,name=params" json:"params,omitempty"` AppId []byte `protobuf:"bytes,2,opt,name=app_id,json=appId" json:"app_id,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*ListDocumentsRequest) Descriptor ¶
func (*ListDocumentsRequest) Descriptor() ([]byte, []int)
func (*ListDocumentsRequest) GetAppId ¶
func (m *ListDocumentsRequest) GetAppId() []byte
func (*ListDocumentsRequest) GetParams ¶
func (m *ListDocumentsRequest) GetParams() *ListDocumentsParams
func (*ListDocumentsRequest) ProtoMessage ¶
func (*ListDocumentsRequest) ProtoMessage()
func (*ListDocumentsRequest) Reset ¶
func (m *ListDocumentsRequest) Reset()
func (*ListDocumentsRequest) String ¶
func (m *ListDocumentsRequest) String() string
func (*ListDocumentsRequest) XXX_DiscardUnknown ¶
func (m *ListDocumentsRequest) XXX_DiscardUnknown()
func (*ListDocumentsRequest) XXX_Marshal ¶
func (m *ListDocumentsRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*ListDocumentsRequest) XXX_Merge ¶
func (dst *ListDocumentsRequest) XXX_Merge(src proto.Message)
func (*ListDocumentsRequest) XXX_Size ¶
func (m *ListDocumentsRequest) XXX_Size() int
func (*ListDocumentsRequest) XXX_Unmarshal ¶
func (m *ListDocumentsRequest) XXX_Unmarshal(b []byte) error
type ListDocumentsResponse ¶
type ListDocumentsResponse struct { Status *RequestStatus `protobuf:"bytes,1,req,name=status" json:"status,omitempty"` Document []*Document `protobuf:"bytes,2,rep,name=document" json:"document,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*ListDocumentsResponse) Descriptor ¶
func (*ListDocumentsResponse) Descriptor() ([]byte, []int)
func (*ListDocumentsResponse) GetDocument ¶
func (m *ListDocumentsResponse) GetDocument() []*Document
func (*ListDocumentsResponse) GetStatus ¶
func (m *ListDocumentsResponse) GetStatus() *RequestStatus
func (*ListDocumentsResponse) ProtoMessage ¶
func (*ListDocumentsResponse) ProtoMessage()
func (*ListDocumentsResponse) Reset ¶
func (m *ListDocumentsResponse) Reset()
func (*ListDocumentsResponse) String ¶
func (m *ListDocumentsResponse) String() string
func (*ListDocumentsResponse) XXX_DiscardUnknown ¶
func (m *ListDocumentsResponse) XXX_DiscardUnknown()
func (*ListDocumentsResponse) XXX_Marshal ¶
func (m *ListDocumentsResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*ListDocumentsResponse) XXX_Merge ¶
func (dst *ListDocumentsResponse) XXX_Merge(src proto.Message)
func (*ListDocumentsResponse) XXX_Size ¶
func (m *ListDocumentsResponse) XXX_Size() int
func (*ListDocumentsResponse) XXX_Unmarshal ¶
func (m *ListDocumentsResponse) XXX_Unmarshal(b []byte) error
type ListIndexesParams ¶
type ListIndexesParams struct { FetchSchema *bool `protobuf:"varint,1,opt,name=fetch_schema,json=fetchSchema" json:"fetch_schema,omitempty"` Limit *int32 `protobuf:"varint,2,opt,name=limit,def=20" json:"limit,omitempty"` Namespace *string `protobuf:"bytes,3,opt,name=namespace" json:"namespace,omitempty"` StartIndexName *string `protobuf:"bytes,4,opt,name=start_index_name,json=startIndexName" json:"start_index_name,omitempty"` IncludeStartIndex *bool `protobuf:"varint,5,opt,name=include_start_index,json=includeStartIndex,def=1" json:"include_start_index,omitempty"` IndexNamePrefix *string `protobuf:"bytes,6,opt,name=index_name_prefix,json=indexNamePrefix" json:"index_name_prefix,omitempty"` Offset *int32 `protobuf:"varint,7,opt,name=offset" json:"offset,omitempty"` Source *IndexSpec_Source `protobuf:"varint,8,opt,name=source,enum=search.IndexSpec_Source,def=0" json:"source,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*ListIndexesParams) Descriptor ¶
func (*ListIndexesParams) Descriptor() ([]byte, []int)
func (*ListIndexesParams) GetFetchSchema ¶
func (m *ListIndexesParams) GetFetchSchema() bool
func (*ListIndexesParams) GetIncludeStartIndex ¶
func (m *ListIndexesParams) GetIncludeStartIndex() bool
func (*ListIndexesParams) GetIndexNamePrefix ¶
func (m *ListIndexesParams) GetIndexNamePrefix() string
func (*ListIndexesParams) GetLimit ¶
func (m *ListIndexesParams) GetLimit() int32
func (*ListIndexesParams) GetNamespace ¶
func (m *ListIndexesParams) GetNamespace() string
func (*ListIndexesParams) GetOffset ¶
func (m *ListIndexesParams) GetOffset() int32
func (*ListIndexesParams) GetSource ¶
func (m *ListIndexesParams) GetSource() IndexSpec_Source
func (*ListIndexesParams) GetStartIndexName ¶
func (m *ListIndexesParams) GetStartIndexName() string
func (*ListIndexesParams) ProtoMessage ¶
func (*ListIndexesParams) ProtoMessage()
func (*ListIndexesParams) Reset ¶
func (m *ListIndexesParams) Reset()
func (*ListIndexesParams) String ¶
func (m *ListIndexesParams) String() string
func (*ListIndexesParams) XXX_DiscardUnknown ¶
func (m *ListIndexesParams) XXX_DiscardUnknown()
func (*ListIndexesParams) XXX_Marshal ¶
func (m *ListIndexesParams) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*ListIndexesParams) XXX_Merge ¶
func (dst *ListIndexesParams) XXX_Merge(src proto.Message)
func (*ListIndexesParams) XXX_Size ¶
func (m *ListIndexesParams) XXX_Size() int
func (*ListIndexesParams) XXX_Unmarshal ¶
func (m *ListIndexesParams) XXX_Unmarshal(b []byte) error
type ListIndexesRequest ¶
type ListIndexesRequest struct { Params *ListIndexesParams `protobuf:"bytes,1,req,name=params" json:"params,omitempty"` AppId []byte `protobuf:"bytes,3,opt,name=app_id,json=appId" json:"app_id,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*ListIndexesRequest) Descriptor ¶
func (*ListIndexesRequest) Descriptor() ([]byte, []int)
func (*ListIndexesRequest) GetAppId ¶
func (m *ListIndexesRequest) GetAppId() []byte
func (*ListIndexesRequest) GetParams ¶
func (m *ListIndexesRequest) GetParams() *ListIndexesParams
func (*ListIndexesRequest) ProtoMessage ¶
func (*ListIndexesRequest) ProtoMessage()
func (*ListIndexesRequest) Reset ¶
func (m *ListIndexesRequest) Reset()
func (*ListIndexesRequest) String ¶
func (m *ListIndexesRequest) String() string
func (*ListIndexesRequest) XXX_DiscardUnknown ¶
func (m *ListIndexesRequest) XXX_DiscardUnknown()
func (*ListIndexesRequest) XXX_Marshal ¶
func (m *ListIndexesRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*ListIndexesRequest) XXX_Merge ¶
func (dst *ListIndexesRequest) XXX_Merge(src proto.Message)
func (*ListIndexesRequest) XXX_Size ¶
func (m *ListIndexesRequest) XXX_Size() int
func (*ListIndexesRequest) XXX_Unmarshal ¶
func (m *ListIndexesRequest) XXX_Unmarshal(b []byte) error
type ListIndexesResponse ¶
type ListIndexesResponse struct { Status *RequestStatus `protobuf:"bytes,1,req,name=status" json:"status,omitempty"` IndexMetadata []*IndexMetadata `protobuf:"bytes,2,rep,name=index_metadata,json=indexMetadata" json:"index_metadata,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*ListIndexesResponse) Descriptor ¶
func (*ListIndexesResponse) Descriptor() ([]byte, []int)
func (*ListIndexesResponse) GetIndexMetadata ¶
func (m *ListIndexesResponse) GetIndexMetadata() []*IndexMetadata
func (*ListIndexesResponse) GetStatus ¶
func (m *ListIndexesResponse) GetStatus() *RequestStatus
func (*ListIndexesResponse) ProtoMessage ¶
func (*ListIndexesResponse) ProtoMessage()
func (*ListIndexesResponse) Reset ¶
func (m *ListIndexesResponse) Reset()
func (*ListIndexesResponse) String ¶
func (m *ListIndexesResponse) String() string
func (*ListIndexesResponse) XXX_DiscardUnknown ¶
func (m *ListIndexesResponse) XXX_DiscardUnknown()
func (*ListIndexesResponse) XXX_Marshal ¶
func (m *ListIndexesResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*ListIndexesResponse) XXX_Merge ¶
func (dst *ListIndexesResponse) XXX_Merge(src proto.Message)
func (*ListIndexesResponse) XXX_Size ¶
func (m *ListIndexesResponse) XXX_Size() int
func (*ListIndexesResponse) XXX_Unmarshal ¶
func (m *ListIndexesResponse) XXX_Unmarshal(b []byte) error
type RequestStatus ¶
type RequestStatus struct { Code *SearchServiceError_ErrorCode `protobuf:"varint,1,req,name=code,enum=search.SearchServiceError_ErrorCode" json:"code,omitempty"` ErrorDetail *string `protobuf:"bytes,2,opt,name=error_detail,json=errorDetail" json:"error_detail,omitempty"` CanonicalCode *int32 `protobuf:"varint,3,opt,name=canonical_code,json=canonicalCode" json:"canonical_code,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*RequestStatus) Descriptor ¶
func (*RequestStatus) Descriptor() ([]byte, []int)
func (*RequestStatus) GetCanonicalCode ¶
func (m *RequestStatus) GetCanonicalCode() int32
func (*RequestStatus) GetCode ¶
func (m *RequestStatus) GetCode() SearchServiceError_ErrorCode
func (*RequestStatus) GetErrorDetail ¶
func (m *RequestStatus) GetErrorDetail() string
func (*RequestStatus) ProtoMessage ¶
func (*RequestStatus) ProtoMessage()
func (*RequestStatus) Reset ¶
func (m *RequestStatus) Reset()
func (*RequestStatus) String ¶
func (m *RequestStatus) String() string
func (*RequestStatus) XXX_DiscardUnknown ¶
func (m *RequestStatus) XXX_DiscardUnknown()
func (*RequestStatus) XXX_Marshal ¶
func (m *RequestStatus) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*RequestStatus) XXX_Merge ¶
func (dst *RequestStatus) XXX_Merge(src proto.Message)
func (*RequestStatus) XXX_Size ¶
func (m *RequestStatus) XXX_Size() int
func (*RequestStatus) XXX_Unmarshal ¶
func (m *RequestStatus) XXX_Unmarshal(b []byte) error
type Scope ¶
type Scope struct { Type *Scope_Type `protobuf:"varint,1,opt,name=type,enum=search.Scope_Type" json:"type,omitempty"` Value *string `protobuf:"bytes,2,opt,name=value" json:"value,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*Scope) Descriptor ¶
func (*Scope) GetType ¶
func (m *Scope) GetType() Scope_Type
func (*Scope) ProtoMessage ¶
func (*Scope) ProtoMessage()
func (*Scope) XXX_DiscardUnknown ¶
func (m *Scope) XXX_DiscardUnknown()
func (*Scope) XXX_Marshal ¶
func (*Scope) XXX_Unmarshal ¶
type Scope_Type ¶
type Scope_Type int32
const ( Scope_USER_BY_CANONICAL_ID Scope_Type = 1 Scope_USER_BY_EMAIL Scope_Type = 2 Scope_GROUP_BY_CANONICAL_ID Scope_Type = 3 Scope_GROUP_BY_EMAIL Scope_Type = 4 Scope_GROUP_BY_DOMAIN Scope_Type = 5 Scope_ALL_USERS Scope_Type = 6 Scope_ALL_AUTHENTICATED_USERS Scope_Type = 7 )
func (Scope_Type) Enum ¶
func (x Scope_Type) Enum() *Scope_Type
func (Scope_Type) EnumDescriptor ¶
func (Scope_Type) EnumDescriptor() ([]byte, []int)
func (Scope_Type) String ¶
func (x Scope_Type) String() string
func (*Scope_Type) UnmarshalJSON ¶
func (x *Scope_Type) UnmarshalJSON(data []byte) error
type ScorerSpec ¶
type ScorerSpec struct { Scorer *ScorerSpec_Scorer `protobuf:"varint,1,opt,name=scorer,enum=search.ScorerSpec_Scorer,def=2" json:"scorer,omitempty"` Limit *int32 `protobuf:"varint,2,opt,name=limit,def=1000" json:"limit,omitempty"` MatchScorerParameters *string `protobuf:"bytes,9,opt,name=match_scorer_parameters,json=matchScorerParameters" json:"match_scorer_parameters,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*ScorerSpec) Descriptor ¶
func (*ScorerSpec) Descriptor() ([]byte, []int)
func (*ScorerSpec) GetLimit ¶
func (m *ScorerSpec) GetLimit() int32
func (*ScorerSpec) GetMatchScorerParameters ¶
func (m *ScorerSpec) GetMatchScorerParameters() string
func (*ScorerSpec) GetScorer ¶
func (m *ScorerSpec) GetScorer() ScorerSpec_Scorer
func (*ScorerSpec) ProtoMessage ¶
func (*ScorerSpec) ProtoMessage()
func (*ScorerSpec) Reset ¶
func (m *ScorerSpec) Reset()
func (*ScorerSpec) String ¶
func (m *ScorerSpec) String() string
func (*ScorerSpec) XXX_DiscardUnknown ¶
func (m *ScorerSpec) XXX_DiscardUnknown()
func (*ScorerSpec) XXX_Marshal ¶
func (m *ScorerSpec) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*ScorerSpec) XXX_Merge ¶
func (dst *ScorerSpec) XXX_Merge(src proto.Message)
func (*ScorerSpec) XXX_Size ¶
func (m *ScorerSpec) XXX_Size() int
func (*ScorerSpec) XXX_Unmarshal ¶
func (m *ScorerSpec) XXX_Unmarshal(b []byte) error
type ScorerSpec_Scorer ¶
type ScorerSpec_Scorer int32
const ( ScorerSpec_RESCORING_MATCH_SCORER ScorerSpec_Scorer = 0 ScorerSpec_MATCH_SCORER ScorerSpec_Scorer = 2 )
const Default_ScorerSpec_Scorer ScorerSpec_Scorer = ScorerSpec_MATCH_SCORER
func (ScorerSpec_Scorer) Enum ¶
func (x ScorerSpec_Scorer) Enum() *ScorerSpec_Scorer
func (ScorerSpec_Scorer) EnumDescriptor ¶
func (ScorerSpec_Scorer) EnumDescriptor() ([]byte, []int)
func (ScorerSpec_Scorer) String ¶
func (x ScorerSpec_Scorer) String() string
func (*ScorerSpec_Scorer) UnmarshalJSON ¶
func (x *ScorerSpec_Scorer) UnmarshalJSON(data []byte) error
type SearchParams ¶
type SearchParams struct { IndexSpec *IndexSpec `protobuf:"bytes,1,req,name=index_spec,json=indexSpec" json:"index_spec,omitempty"` Query *string `protobuf:"bytes,2,req,name=query" json:"query,omitempty"` Cursor *string `protobuf:"bytes,4,opt,name=cursor" json:"cursor,omitempty"` Offset *int32 `protobuf:"varint,11,opt,name=offset" json:"offset,omitempty"` CursorType *SearchParams_CursorType `` /* 127-byte string literal not displayed */ Limit *int32 `protobuf:"varint,6,opt,name=limit,def=20" json:"limit,omitempty"` MatchedCountAccuracy *int32 `protobuf:"varint,7,opt,name=matched_count_accuracy,json=matchedCountAccuracy" json:"matched_count_accuracy,omitempty"` SortSpec []*SortSpec `protobuf:"bytes,8,rep,name=sort_spec,json=sortSpec" json:"sort_spec,omitempty"` ScorerSpec *ScorerSpec `protobuf:"bytes,9,opt,name=scorer_spec,json=scorerSpec" json:"scorer_spec,omitempty"` FieldSpec *FieldSpec `protobuf:"bytes,10,opt,name=field_spec,json=fieldSpec" json:"field_spec,omitempty"` KeysOnly *bool `protobuf:"varint,12,opt,name=keys_only,json=keysOnly" json:"keys_only,omitempty"` ParsingMode *SearchParams_ParsingMode `` /* 132-byte string literal not displayed */ AutoDiscoverFacetCount *int32 `` /* 132-byte string literal not displayed */ IncludeFacet []*FacetRequest `protobuf:"bytes,16,rep,name=include_facet,json=includeFacet" json:"include_facet,omitempty"` FacetRefinement []*FacetRefinement `protobuf:"bytes,17,rep,name=facet_refinement,json=facetRefinement" json:"facet_refinement,omitempty"` FacetAutoDetectParam *FacetAutoDetectParam `protobuf:"bytes,18,opt,name=facet_auto_detect_param,json=facetAutoDetectParam" json:"facet_auto_detect_param,omitempty"` FacetDepth *int32 `protobuf:"varint,19,opt,name=facet_depth,json=facetDepth,def=1000" json:"facet_depth,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*SearchParams) Descriptor ¶
func (*SearchParams) Descriptor() ([]byte, []int)
func (*SearchParams) GetAutoDiscoverFacetCount ¶
func (m *SearchParams) GetAutoDiscoverFacetCount() int32
func (*SearchParams) GetCursor ¶
func (m *SearchParams) GetCursor() string
func (*SearchParams) GetCursorType ¶
func (m *SearchParams) GetCursorType() SearchParams_CursorType
func (*SearchParams) GetFacetAutoDetectParam ¶
func (m *SearchParams) GetFacetAutoDetectParam() *FacetAutoDetectParam
func (*SearchParams) GetFacetDepth ¶
func (m *SearchParams) GetFacetDepth() int32
func (*SearchParams) GetFacetRefinement ¶
func (m *SearchParams) GetFacetRefinement() []*FacetRefinement
func (*SearchParams) GetFieldSpec ¶
func (m *SearchParams) GetFieldSpec() *FieldSpec
func (*SearchParams) GetIncludeFacet ¶
func (m *SearchParams) GetIncludeFacet() []*FacetRequest
func (*SearchParams) GetIndexSpec ¶
func (m *SearchParams) GetIndexSpec() *IndexSpec
func (*SearchParams) GetKeysOnly ¶
func (m *SearchParams) GetKeysOnly() bool
func (*SearchParams) GetLimit ¶
func (m *SearchParams) GetLimit() int32
func (*SearchParams) GetMatchedCountAccuracy ¶
func (m *SearchParams) GetMatchedCountAccuracy() int32
func (*SearchParams) GetOffset ¶
func (m *SearchParams) GetOffset() int32
func (*SearchParams) GetParsingMode ¶
func (m *SearchParams) GetParsingMode() SearchParams_ParsingMode
func (*SearchParams) GetQuery ¶
func (m *SearchParams) GetQuery() string
func (*SearchParams) GetScorerSpec ¶
func (m *SearchParams) GetScorerSpec() *ScorerSpec
func (*SearchParams) GetSortSpec ¶
func (m *SearchParams) GetSortSpec() []*SortSpec
func (*SearchParams) ProtoMessage ¶
func (*SearchParams) ProtoMessage()
func (*SearchParams) Reset ¶
func (m *SearchParams) Reset()
func (*SearchParams) String ¶
func (m *SearchParams) String() string
func (*SearchParams) XXX_DiscardUnknown ¶
func (m *SearchParams) XXX_DiscardUnknown()
func (*SearchParams) XXX_Marshal ¶
func (m *SearchParams) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*SearchParams) XXX_Merge ¶
func (dst *SearchParams) XXX_Merge(src proto.Message)
func (*SearchParams) XXX_Size ¶
func (m *SearchParams) XXX_Size() int
func (*SearchParams) XXX_Unmarshal ¶
func (m *SearchParams) XXX_Unmarshal(b []byte) error
type SearchParams_CursorType ¶
type SearchParams_CursorType int32
const ( SearchParams_NONE SearchParams_CursorType = 0 SearchParams_SINGLE SearchParams_CursorType = 1 SearchParams_PER_RESULT SearchParams_CursorType = 2 )
const Default_SearchParams_CursorType SearchParams_CursorType = SearchParams_NONE
func (SearchParams_CursorType) Enum ¶
func (x SearchParams_CursorType) Enum() *SearchParams_CursorType
func (SearchParams_CursorType) EnumDescriptor ¶
func (SearchParams_CursorType) EnumDescriptor() ([]byte, []int)
func (SearchParams_CursorType) String ¶
func (x SearchParams_CursorType) String() string
func (*SearchParams_CursorType) UnmarshalJSON ¶
func (x *SearchParams_CursorType) UnmarshalJSON(data []byte) error
type SearchParams_ParsingMode ¶
type SearchParams_ParsingMode int32
const ( SearchParams_STRICT SearchParams_ParsingMode = 0 SearchParams_RELAXED SearchParams_ParsingMode = 1 )
const Default_SearchParams_ParsingMode SearchParams_ParsingMode = SearchParams_STRICT
func (SearchParams_ParsingMode) Enum ¶
func (x SearchParams_ParsingMode) Enum() *SearchParams_ParsingMode
func (SearchParams_ParsingMode) EnumDescriptor ¶
func (SearchParams_ParsingMode) EnumDescriptor() ([]byte, []int)
func (SearchParams_ParsingMode) String ¶
func (x SearchParams_ParsingMode) String() string
func (*SearchParams_ParsingMode) UnmarshalJSON ¶
func (x *SearchParams_ParsingMode) UnmarshalJSON(data []byte) error
type SearchRequest ¶
type SearchRequest struct { Params *SearchParams `protobuf:"bytes,1,req,name=params" json:"params,omitempty"` AppId []byte `protobuf:"bytes,3,opt,name=app_id,json=appId" json:"app_id,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*SearchRequest) Descriptor ¶
func (*SearchRequest) Descriptor() ([]byte, []int)
func (*SearchRequest) GetAppId ¶
func (m *SearchRequest) GetAppId() []byte
func (*SearchRequest) GetParams ¶
func (m *SearchRequest) GetParams() *SearchParams
func (*SearchRequest) ProtoMessage ¶
func (*SearchRequest) ProtoMessage()
func (*SearchRequest) Reset ¶
func (m *SearchRequest) Reset()
func (*SearchRequest) String ¶
func (m *SearchRequest) String() string
func (*SearchRequest) XXX_DiscardUnknown ¶
func (m *SearchRequest) XXX_DiscardUnknown()
func (*SearchRequest) XXX_Marshal ¶
func (m *SearchRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*SearchRequest) XXX_Merge ¶
func (dst *SearchRequest) XXX_Merge(src proto.Message)
func (*SearchRequest) XXX_Size ¶
func (m *SearchRequest) XXX_Size() int
func (*SearchRequest) XXX_Unmarshal ¶
func (m *SearchRequest) XXX_Unmarshal(b []byte) error
type SearchResponse ¶
type SearchResponse struct { Result []*SearchResult `protobuf:"bytes,1,rep,name=result" json:"result,omitempty"` MatchedCount *int64 `protobuf:"varint,2,req,name=matched_count,json=matchedCount" json:"matched_count,omitempty"` Status *RequestStatus `protobuf:"bytes,3,req,name=status" json:"status,omitempty"` Cursor *string `protobuf:"bytes,4,opt,name=cursor" json:"cursor,omitempty"` FacetResult []*FacetResult `protobuf:"bytes,5,rep,name=facet_result,json=facetResult" json:"facet_result,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` proto.XXX_InternalExtensions `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*SearchResponse) Descriptor ¶
func (*SearchResponse) Descriptor() ([]byte, []int)
func (*SearchResponse) ExtensionRangeArray ¶
func (*SearchResponse) ExtensionRangeArray() []proto.ExtensionRange
func (*SearchResponse) GetCursor ¶
func (m *SearchResponse) GetCursor() string
func (*SearchResponse) GetFacetResult ¶
func (m *SearchResponse) GetFacetResult() []*FacetResult
func (*SearchResponse) GetMatchedCount ¶
func (m *SearchResponse) GetMatchedCount() int64
func (*SearchResponse) GetResult ¶
func (m *SearchResponse) GetResult() []*SearchResult
func (*SearchResponse) GetStatus ¶
func (m *SearchResponse) GetStatus() *RequestStatus
func (*SearchResponse) ProtoMessage ¶
func (*SearchResponse) ProtoMessage()
func (*SearchResponse) Reset ¶
func (m *SearchResponse) Reset()
func (*SearchResponse) String ¶
func (m *SearchResponse) String() string
func (*SearchResponse) XXX_DiscardUnknown ¶
func (m *SearchResponse) XXX_DiscardUnknown()
func (*SearchResponse) XXX_Marshal ¶
func (m *SearchResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*SearchResponse) XXX_Merge ¶
func (dst *SearchResponse) XXX_Merge(src proto.Message)
func (*SearchResponse) XXX_Size ¶
func (m *SearchResponse) XXX_Size() int
func (*SearchResponse) XXX_Unmarshal ¶
func (m *SearchResponse) XXX_Unmarshal(b []byte) error
type SearchResult ¶
type SearchResult struct { Document *Document `protobuf:"bytes,1,req,name=document" json:"document,omitempty"` Expression []*Field `protobuf:"bytes,4,rep,name=expression" json:"expression,omitempty"` Score []float64 `protobuf:"fixed64,2,rep,name=score" json:"score,omitempty"` Cursor *string `protobuf:"bytes,3,opt,name=cursor" json:"cursor,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*SearchResult) Descriptor ¶
func (*SearchResult) Descriptor() ([]byte, []int)
func (*SearchResult) GetCursor ¶
func (m *SearchResult) GetCursor() string
func (*SearchResult) GetDocument ¶
func (m *SearchResult) GetDocument() *Document
func (*SearchResult) GetExpression ¶
func (m *SearchResult) GetExpression() []*Field
func (*SearchResult) GetScore ¶
func (m *SearchResult) GetScore() []float64
func (*SearchResult) ProtoMessage ¶
func (*SearchResult) ProtoMessage()
func (*SearchResult) Reset ¶
func (m *SearchResult) Reset()
func (*SearchResult) String ¶
func (m *SearchResult) String() string
func (*SearchResult) XXX_DiscardUnknown ¶
func (m *SearchResult) XXX_DiscardUnknown()
func (*SearchResult) XXX_Marshal ¶
func (m *SearchResult) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*SearchResult) XXX_Merge ¶
func (dst *SearchResult) XXX_Merge(src proto.Message)
func (*SearchResult) XXX_Size ¶
func (m *SearchResult) XXX_Size() int
func (*SearchResult) XXX_Unmarshal ¶
func (m *SearchResult) XXX_Unmarshal(b []byte) error
type SearchServiceError ¶
type SearchServiceError struct { XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*SearchServiceError) Descriptor ¶
func (*SearchServiceError) Descriptor() ([]byte, []int)
func (*SearchServiceError) ProtoMessage ¶
func (*SearchServiceError) ProtoMessage()
func (*SearchServiceError) Reset ¶
func (m *SearchServiceError) Reset()
func (*SearchServiceError) String ¶
func (m *SearchServiceError) String() string
func (*SearchServiceError) XXX_DiscardUnknown ¶
func (m *SearchServiceError) XXX_DiscardUnknown()
func (*SearchServiceError) XXX_Marshal ¶
func (m *SearchServiceError) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*SearchServiceError) XXX_Merge ¶
func (dst *SearchServiceError) XXX_Merge(src proto.Message)
func (*SearchServiceError) XXX_Size ¶
func (m *SearchServiceError) XXX_Size() int
func (*SearchServiceError) XXX_Unmarshal ¶
func (m *SearchServiceError) XXX_Unmarshal(b []byte) error
type SearchServiceError_ErrorCode ¶
type SearchServiceError_ErrorCode int32
const ( SearchServiceError_OK SearchServiceError_ErrorCode = 0 SearchServiceError_INVALID_REQUEST SearchServiceError_ErrorCode = 1 SearchServiceError_TRANSIENT_ERROR SearchServiceError_ErrorCode = 2 SearchServiceError_INTERNAL_ERROR SearchServiceError_ErrorCode = 3 SearchServiceError_PERMISSION_DENIED SearchServiceError_ErrorCode = 4 SearchServiceError_TIMEOUT SearchServiceError_ErrorCode = 5 SearchServiceError_CONCURRENT_TRANSACTION SearchServiceError_ErrorCode = 6 )
func (SearchServiceError_ErrorCode) Enum ¶
func (x SearchServiceError_ErrorCode) Enum() *SearchServiceError_ErrorCode
func (SearchServiceError_ErrorCode) EnumDescriptor ¶
func (SearchServiceError_ErrorCode) EnumDescriptor() ([]byte, []int)
func (SearchServiceError_ErrorCode) String ¶
func (x SearchServiceError_ErrorCode) String() string
func (*SearchServiceError_ErrorCode) UnmarshalJSON ¶
func (x *SearchServiceError_ErrorCode) UnmarshalJSON(data []byte) error
type SortSpec ¶
type SortSpec struct { SortExpression *string `protobuf:"bytes,1,req,name=sort_expression,json=sortExpression" json:"sort_expression,omitempty"` SortDescending *bool `protobuf:"varint,2,opt,name=sort_descending,json=sortDescending,def=1" json:"sort_descending,omitempty"` DefaultValueText *string `protobuf:"bytes,4,opt,name=default_value_text,json=defaultValueText" json:"default_value_text,omitempty"` DefaultValueNumeric *float64 `protobuf:"fixed64,5,opt,name=default_value_numeric,json=defaultValueNumeric" json:"default_value_numeric,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*SortSpec) Descriptor ¶
func (*SortSpec) GetDefaultValueNumeric ¶
func (*SortSpec) GetDefaultValueText ¶
func (*SortSpec) GetSortDescending ¶
func (*SortSpec) GetSortExpression ¶
func (*SortSpec) ProtoMessage ¶
func (*SortSpec) ProtoMessage()
func (*SortSpec) XXX_DiscardUnknown ¶
func (m *SortSpec) XXX_DiscardUnknown()
func (*SortSpec) XXX_Marshal ¶
func (*SortSpec) XXX_Unmarshal ¶
Click to show internal directories.
Click to hide internal directories.