Removed protos for channel/search/xmpp.
diff --git a/internal/channel/channel_service.pb.go b/internal/channel/channel_service.pb.go
deleted file mode 100644
index ba31ea2..0000000
--- a/internal/channel/channel_service.pb.go
+++ /dev/null
@@ -1,273 +0,0 @@
-// Code generated by protoc-gen-go. DO NOT EDIT.
-// source: google.golang.org/appengine/internal/channel/channel_service.proto
-
-package channel
-
-import proto "github.com/golang/protobuf/proto"
-import fmt "fmt"
-import math "math"
-
-// Reference imports to suppress errors if they are not otherwise used.
-var _ = proto.Marshal
-var _ = fmt.Errorf
-var _ = math.Inf
-
-// This is a compile-time assertion to ensure that this generated file
-// is compatible with the proto package it is being compiled against.
-// A compilation error at this line likely means your copy of the
-// proto package needs to be updated.
-const _ = proto.ProtoPackageIsVersion2 // please upgrade the proto package
-
-type ChannelServiceError_ErrorCode int32
-
-const (
- ChannelServiceError_OK ChannelServiceError_ErrorCode = 0
- ChannelServiceError_INTERNAL_ERROR ChannelServiceError_ErrorCode = 1
- ChannelServiceError_INVALID_CHANNEL_KEY ChannelServiceError_ErrorCode = 2
- ChannelServiceError_BAD_MESSAGE ChannelServiceError_ErrorCode = 3
- ChannelServiceError_INVALID_CHANNEL_TOKEN_DURATION ChannelServiceError_ErrorCode = 4
- ChannelServiceError_APPID_ALIAS_REQUIRED ChannelServiceError_ErrorCode = 5
-)
-
-var ChannelServiceError_ErrorCode_name = map[int32]string{
- 0: "OK",
- 1: "INTERNAL_ERROR",
- 2: "INVALID_CHANNEL_KEY",
- 3: "BAD_MESSAGE",
- 4: "INVALID_CHANNEL_TOKEN_DURATION",
- 5: "APPID_ALIAS_REQUIRED",
-}
-var ChannelServiceError_ErrorCode_value = map[string]int32{
- "OK": 0,
- "INTERNAL_ERROR": 1,
- "INVALID_CHANNEL_KEY": 2,
- "BAD_MESSAGE": 3,
- "INVALID_CHANNEL_TOKEN_DURATION": 4,
- "APPID_ALIAS_REQUIRED": 5,
-}
-
-func (x ChannelServiceError_ErrorCode) Enum() *ChannelServiceError_ErrorCode {
- p := new(ChannelServiceError_ErrorCode)
- *p = x
- return p
-}
-func (x ChannelServiceError_ErrorCode) String() string {
- return proto.EnumName(ChannelServiceError_ErrorCode_name, int32(x))
-}
-func (x *ChannelServiceError_ErrorCode) UnmarshalJSON(data []byte) error {
- value, err := proto.UnmarshalJSONEnum(ChannelServiceError_ErrorCode_value, data, "ChannelServiceError_ErrorCode")
- if err != nil {
- return err
- }
- *x = ChannelServiceError_ErrorCode(value)
- return nil
-}
-func (ChannelServiceError_ErrorCode) EnumDescriptor() ([]byte, []int) {
- return fileDescriptor_channel_service_a8d15e05b34664a9, []int{0, 0}
-}
-
-type ChannelServiceError struct {
- XXX_NoUnkeyedLiteral struct{} `json:"-"`
- XXX_unrecognized []byte `json:"-"`
- XXX_sizecache int32 `json:"-"`
-}
-
-func (m *ChannelServiceError) Reset() { *m = ChannelServiceError{} }
-func (m *ChannelServiceError) String() string { return proto.CompactTextString(m) }
-func (*ChannelServiceError) ProtoMessage() {}
-func (*ChannelServiceError) Descriptor() ([]byte, []int) {
- return fileDescriptor_channel_service_a8d15e05b34664a9, []int{0}
-}
-func (m *ChannelServiceError) XXX_Unmarshal(b []byte) error {
- return xxx_messageInfo_ChannelServiceError.Unmarshal(m, b)
-}
-func (m *ChannelServiceError) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
- return xxx_messageInfo_ChannelServiceError.Marshal(b, m, deterministic)
-}
-func (dst *ChannelServiceError) XXX_Merge(src proto.Message) {
- xxx_messageInfo_ChannelServiceError.Merge(dst, src)
-}
-func (m *ChannelServiceError) XXX_Size() int {
- return xxx_messageInfo_ChannelServiceError.Size(m)
-}
-func (m *ChannelServiceError) XXX_DiscardUnknown() {
- xxx_messageInfo_ChannelServiceError.DiscardUnknown(m)
-}
-
-var xxx_messageInfo_ChannelServiceError proto.InternalMessageInfo
-
-type CreateChannelRequest struct {
- ApplicationKey *string `protobuf:"bytes,1,req,name=application_key,json=applicationKey" json:"application_key,omitempty"`
- DurationMinutes *int32 `protobuf:"varint,2,opt,name=duration_minutes,json=durationMinutes" json:"duration_minutes,omitempty"`
- XXX_NoUnkeyedLiteral struct{} `json:"-"`
- XXX_unrecognized []byte `json:"-"`
- XXX_sizecache int32 `json:"-"`
-}
-
-func (m *CreateChannelRequest) Reset() { *m = CreateChannelRequest{} }
-func (m *CreateChannelRequest) String() string { return proto.CompactTextString(m) }
-func (*CreateChannelRequest) ProtoMessage() {}
-func (*CreateChannelRequest) Descriptor() ([]byte, []int) {
- return fileDescriptor_channel_service_a8d15e05b34664a9, []int{1}
-}
-func (m *CreateChannelRequest) XXX_Unmarshal(b []byte) error {
- return xxx_messageInfo_CreateChannelRequest.Unmarshal(m, b)
-}
-func (m *CreateChannelRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
- return xxx_messageInfo_CreateChannelRequest.Marshal(b, m, deterministic)
-}
-func (dst *CreateChannelRequest) XXX_Merge(src proto.Message) {
- xxx_messageInfo_CreateChannelRequest.Merge(dst, src)
-}
-func (m *CreateChannelRequest) XXX_Size() int {
- return xxx_messageInfo_CreateChannelRequest.Size(m)
-}
-func (m *CreateChannelRequest) XXX_DiscardUnknown() {
- xxx_messageInfo_CreateChannelRequest.DiscardUnknown(m)
-}
-
-var xxx_messageInfo_CreateChannelRequest proto.InternalMessageInfo
-
-func (m *CreateChannelRequest) GetApplicationKey() string {
- if m != nil && m.ApplicationKey != nil {
- return *m.ApplicationKey
- }
- return ""
-}
-
-func (m *CreateChannelRequest) GetDurationMinutes() int32 {
- if m != nil && m.DurationMinutes != nil {
- return *m.DurationMinutes
- }
- return 0
-}
-
-type CreateChannelResponse struct {
- Token *string `protobuf:"bytes,2,opt,name=token" json:"token,omitempty"`
- DurationMinutes *int32 `protobuf:"varint,3,opt,name=duration_minutes,json=durationMinutes" json:"duration_minutes,omitempty"`
- XXX_NoUnkeyedLiteral struct{} `json:"-"`
- XXX_unrecognized []byte `json:"-"`
- XXX_sizecache int32 `json:"-"`
-}
-
-func (m *CreateChannelResponse) Reset() { *m = CreateChannelResponse{} }
-func (m *CreateChannelResponse) String() string { return proto.CompactTextString(m) }
-func (*CreateChannelResponse) ProtoMessage() {}
-func (*CreateChannelResponse) Descriptor() ([]byte, []int) {
- return fileDescriptor_channel_service_a8d15e05b34664a9, []int{2}
-}
-func (m *CreateChannelResponse) XXX_Unmarshal(b []byte) error {
- return xxx_messageInfo_CreateChannelResponse.Unmarshal(m, b)
-}
-func (m *CreateChannelResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
- return xxx_messageInfo_CreateChannelResponse.Marshal(b, m, deterministic)
-}
-func (dst *CreateChannelResponse) XXX_Merge(src proto.Message) {
- xxx_messageInfo_CreateChannelResponse.Merge(dst, src)
-}
-func (m *CreateChannelResponse) XXX_Size() int {
- return xxx_messageInfo_CreateChannelResponse.Size(m)
-}
-func (m *CreateChannelResponse) XXX_DiscardUnknown() {
- xxx_messageInfo_CreateChannelResponse.DiscardUnknown(m)
-}
-
-var xxx_messageInfo_CreateChannelResponse proto.InternalMessageInfo
-
-func (m *CreateChannelResponse) GetToken() string {
- if m != nil && m.Token != nil {
- return *m.Token
- }
- return ""
-}
-
-func (m *CreateChannelResponse) GetDurationMinutes() int32 {
- if m != nil && m.DurationMinutes != nil {
- return *m.DurationMinutes
- }
- return 0
-}
-
-type SendMessageRequest struct {
- ApplicationKey *string `protobuf:"bytes,1,req,name=application_key,json=applicationKey" json:"application_key,omitempty"`
- Message *string `protobuf:"bytes,2,req,name=message" json:"message,omitempty"`
- XXX_NoUnkeyedLiteral struct{} `json:"-"`
- XXX_unrecognized []byte `json:"-"`
- XXX_sizecache int32 `json:"-"`
-}
-
-func (m *SendMessageRequest) Reset() { *m = SendMessageRequest{} }
-func (m *SendMessageRequest) String() string { return proto.CompactTextString(m) }
-func (*SendMessageRequest) ProtoMessage() {}
-func (*SendMessageRequest) Descriptor() ([]byte, []int) {
- return fileDescriptor_channel_service_a8d15e05b34664a9, []int{3}
-}
-func (m *SendMessageRequest) XXX_Unmarshal(b []byte) error {
- return xxx_messageInfo_SendMessageRequest.Unmarshal(m, b)
-}
-func (m *SendMessageRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
- return xxx_messageInfo_SendMessageRequest.Marshal(b, m, deterministic)
-}
-func (dst *SendMessageRequest) XXX_Merge(src proto.Message) {
- xxx_messageInfo_SendMessageRequest.Merge(dst, src)
-}
-func (m *SendMessageRequest) XXX_Size() int {
- return xxx_messageInfo_SendMessageRequest.Size(m)
-}
-func (m *SendMessageRequest) XXX_DiscardUnknown() {
- xxx_messageInfo_SendMessageRequest.DiscardUnknown(m)
-}
-
-var xxx_messageInfo_SendMessageRequest proto.InternalMessageInfo
-
-func (m *SendMessageRequest) GetApplicationKey() string {
- if m != nil && m.ApplicationKey != nil {
- return *m.ApplicationKey
- }
- return ""
-}
-
-func (m *SendMessageRequest) GetMessage() string {
- if m != nil && m.Message != nil {
- return *m.Message
- }
- return ""
-}
-
-func init() {
- proto.RegisterType((*ChannelServiceError)(nil), "appengine.ChannelServiceError")
- proto.RegisterType((*CreateChannelRequest)(nil), "appengine.CreateChannelRequest")
- proto.RegisterType((*CreateChannelResponse)(nil), "appengine.CreateChannelResponse")
- proto.RegisterType((*SendMessageRequest)(nil), "appengine.SendMessageRequest")
-}
-
-func init() {
- proto.RegisterFile("google.golang.org/appengine/internal/channel/channel_service.proto", fileDescriptor_channel_service_a8d15e05b34664a9)
-}
-
-var fileDescriptor_channel_service_a8d15e05b34664a9 = []byte{
- // 355 bytes of a gzipped FileDescriptorProto
- 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0x94, 0x91, 0xcd, 0xee, 0xd2, 0x40,
- 0x14, 0xc5, 0x6d, 0xff, 0x22, 0xe9, 0x35, 0x81, 0x66, 0xc0, 0xd8, 0x95, 0x21, 0xdd, 0x88, 0x1b,
- 0x78, 0x86, 0xa1, 0x9d, 0x68, 0xd3, 0xd2, 0xe2, 0x14, 0xfc, 0xda, 0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, 0xf9, 0x3f, 0x60, 0x1c, 0x18, 0x94, 0x2d, 0x5e, 0xbe, 0xcb, 0xf1, 0xe7, 0x11, 0x9b,
- 0x96, 0xbc, 0x85, 0xa1, 0xac, 0xeb, 0xaa, 0xdc, 0xca, 0xb6, 0xd4, 0x4a, 0xec, 0xf1, 0xe4, 0x59,
- 0x13, 0x7b, 0xea, 0xf0, 0xc1, 0x3f, 0x76, 0x8c, 0x27, 0xf2, 0x0e, 0xdc, 0xdd, 0xd1, 0x74, 0xd4,
- 0xa1, 0x54, 0xc7, 0x16, 0x1b, 0xcf, 0x9e, 0x58, 0xd3, 0x1e, 0x1f, 0x5e, 0xfd, 0x65, 0x67, 0xfb,
- 0x5f, 0xe0, 0xd5, 0xdd, 0x5b, 0x4d, 0xad, 0x55, 0x83, 0x64, 0x0c, 0xbd, 0x56, 0xef, 0x51, 0x9d,
- 0x83, 0x0e, 0xef, 0xc4, 0xc3, 0xe6, 0xa7, 0xc7, 0xcd, 0x9f, 0x81, 0xe4, 0xa8, 0x76, 0x4b, 0x6c,
- 0x1a, 0x59, 0xe0, 0x7f, 0xcf, 0xe0, 0x41, 0xff, 0xd0, 0x45, 0x3d, 0xfb, 0x0c, 0x5c, 0xe5, 0xc2,
- 0xf9, 0xd6, 0xbf, 0x2c, 0xfb, 0x6f, 0x00, 0x00, 0x00, 0xff, 0xff, 0xe9, 0x0a, 0x77, 0x06, 0x23,
- 0x02, 0x00, 0x00,
-}
diff --git a/internal/channel/channel_service.proto b/internal/channel/channel_service.proto
deleted file mode 100644
index 2b5a918..0000000
--- a/internal/channel/channel_service.proto
+++ /dev/null
@@ -1,30 +0,0 @@
-syntax = "proto2";
-option go_package = "channel";
-
-package appengine;
-
-message ChannelServiceError {
- enum ErrorCode {
- OK = 0;
- INTERNAL_ERROR = 1;
- INVALID_CHANNEL_KEY = 2;
- BAD_MESSAGE = 3;
- INVALID_CHANNEL_TOKEN_DURATION = 4;
- APPID_ALIAS_REQUIRED = 5;
- }
-}
-
-message CreateChannelRequest {
- required string application_key = 1;
- optional int32 duration_minutes = 2;
-}
-
-message CreateChannelResponse {
- optional string token = 2;
- optional int32 duration_minutes = 3;
-}
-
-message SendMessageRequest {
- required string application_key = 1;
- required string message = 2;
-}
diff --git a/internal/search/search.pb.go b/internal/search/search.pb.go
deleted file mode 100644
index 86a65e5..0000000
--- a/internal/search/search.pb.go
+++ /dev/null
@@ -1,3459 +0,0 @@
-// Code generated by protoc-gen-go. DO NOT EDIT.
-// source: google.golang.org/appengine/internal/search/search.proto
-
-package search
-
-import proto "github.com/golang/protobuf/proto"
-import fmt "fmt"
-import math "math"
-
-// Reference imports to suppress errors if they are not otherwise used.
-var _ = proto.Marshal
-var _ = fmt.Errorf
-var _ = math.Inf
-
-// This is a compile-time assertion to ensure that this generated file
-// is compatible with the proto package it is being compiled against.
-// A compilation error at this line likely means your copy of the
-// proto package needs to be updated.
-const _ = proto.ProtoPackageIsVersion2 // please upgrade the proto package
-
-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
-)
-
-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",
-}
-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,
-}
-
-func (x Scope_Type) Enum() *Scope_Type {
- p := new(Scope_Type)
- *p = x
- return p
-}
-func (x Scope_Type) String() string {
- return proto.EnumName(Scope_Type_name, int32(x))
-}
-func (x *Scope_Type) UnmarshalJSON(data []byte) error {
- value, err := proto.UnmarshalJSONEnum(Scope_Type_value, data, "Scope_Type")
- if err != nil {
- return err
- }
- *x = Scope_Type(value)
- return nil
-}
-func (Scope_Type) EnumDescriptor() ([]byte, []int) {
- return fileDescriptor_search_78ae5a87590ff3d8, []int{0, 0}
-}
-
-type Entry_Permission int32
-
-const (
- Entry_READ Entry_Permission = 1
- Entry_WRITE Entry_Permission = 2
- Entry_FULL_CONTROL Entry_Permission = 3
-)
-
-var Entry_Permission_name = map[int32]string{
- 1: "READ",
- 2: "WRITE",
- 3: "FULL_CONTROL",
-}
-var Entry_Permission_value = map[string]int32{
- "READ": 1,
- "WRITE": 2,
- "FULL_CONTROL": 3,
-}
-
-func (x Entry_Permission) Enum() *Entry_Permission {
- p := new(Entry_Permission)
- *p = x
- return p
-}
-func (x Entry_Permission) String() string {
- return proto.EnumName(Entry_Permission_name, int32(x))
-}
-func (x *Entry_Permission) UnmarshalJSON(data []byte) error {
- value, err := proto.UnmarshalJSONEnum(Entry_Permission_value, data, "Entry_Permission")
- if err != nil {
- return err
- }
- *x = Entry_Permission(value)
- return nil
-}
-func (Entry_Permission) EnumDescriptor() ([]byte, []int) {
- return fileDescriptor_search_78ae5a87590ff3d8, []int{1, 0}
-}
-
-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
-)
-
-var FieldValue_ContentType_name = map[int32]string{
- 0: "TEXT",
- 1: "HTML",
- 2: "ATOM",
- 3: "DATE",
- 4: "NUMBER",
- 5: "GEO",
-}
-var FieldValue_ContentType_value = map[string]int32{
- "TEXT": 0,
- "HTML": 1,
- "ATOM": 2,
- "DATE": 3,
- "NUMBER": 4,
- "GEO": 5,
-}
-
-func (x FieldValue_ContentType) Enum() *FieldValue_ContentType {
- p := new(FieldValue_ContentType)
- *p = x
- return p
-}
-func (x FieldValue_ContentType) String() string {
- return proto.EnumName(FieldValue_ContentType_name, int32(x))
-}
-func (x *FieldValue_ContentType) UnmarshalJSON(data []byte) error {
- value, err := proto.UnmarshalJSONEnum(FieldValue_ContentType_value, data, "FieldValue_ContentType")
- if err != nil {
- return err
- }
- *x = FieldValue_ContentType(value)
- return nil
-}
-func (FieldValue_ContentType) EnumDescriptor() ([]byte, []int) {
- return fileDescriptor_search_78ae5a87590ff3d8, []int{3, 0}
-}
-
-type FacetValue_ContentType int32
-
-const (
- FacetValue_ATOM FacetValue_ContentType = 2
- FacetValue_NUMBER FacetValue_ContentType = 4
-)
-
-var FacetValue_ContentType_name = map[int32]string{
- 2: "ATOM",
- 4: "NUMBER",
-}
-var FacetValue_ContentType_value = map[string]int32{
- "ATOM": 2,
- "NUMBER": 4,
-}
-
-func (x FacetValue_ContentType) Enum() *FacetValue_ContentType {
- p := new(FacetValue_ContentType)
- *p = x
- return p
-}
-func (x FacetValue_ContentType) String() string {
- return proto.EnumName(FacetValue_ContentType_name, int32(x))
-}
-func (x *FacetValue_ContentType) UnmarshalJSON(data []byte) error {
- value, err := proto.UnmarshalJSONEnum(FacetValue_ContentType_value, data, "FacetValue_ContentType")
- if err != nil {
- return err
- }
- *x = FacetValue_ContentType(value)
- return nil
-}
-func (FacetValue_ContentType) EnumDescriptor() ([]byte, []int) {
- return fileDescriptor_search_78ae5a87590ff3d8, []int{7, 0}
-}
-
-type Document_OrderIdSource int32
-
-const (
- Document_DEFAULTED Document_OrderIdSource = 0
- Document_SUPPLIED Document_OrderIdSource = 1
-)
-
-var Document_OrderIdSource_name = map[int32]string{
- 0: "DEFAULTED",
- 1: "SUPPLIED",
-}
-var Document_OrderIdSource_value = map[string]int32{
- "DEFAULTED": 0,
- "SUPPLIED": 1,
-}
-
-func (x Document_OrderIdSource) Enum() *Document_OrderIdSource {
- p := new(Document_OrderIdSource)
- *p = x
- return p
-}
-func (x Document_OrderIdSource) String() string {
- return proto.EnumName(Document_OrderIdSource_name, int32(x))
-}
-func (x *Document_OrderIdSource) UnmarshalJSON(data []byte) error {
- value, err := proto.UnmarshalJSONEnum(Document_OrderIdSource_value, data, "Document_OrderIdSource")
- if err != nil {
- return err
- }
- *x = Document_OrderIdSource(value)
- return nil
-}
-func (Document_OrderIdSource) EnumDescriptor() ([]byte, []int) {
- return fileDescriptor_search_78ae5a87590ff3d8, []int{10, 0}
-}
-
-type Document_Storage int32
-
-const (
- Document_DISK Document_Storage = 0
-)
-
-var Document_Storage_name = map[int32]string{
- 0: "DISK",
-}
-var Document_Storage_value = map[string]int32{
- "DISK": 0,
-}
-
-func (x Document_Storage) Enum() *Document_Storage {
- p := new(Document_Storage)
- *p = x
- return p
-}
-func (x Document_Storage) String() string {
- return proto.EnumName(Document_Storage_name, int32(x))
-}
-func (x *Document_Storage) UnmarshalJSON(data []byte) error {
- value, err := proto.UnmarshalJSONEnum(Document_Storage_value, data, "Document_Storage")
- if err != nil {
- return err
- }
- *x = Document_Storage(value)
- return nil
-}
-func (Document_Storage) EnumDescriptor() ([]byte, []int) {
- return fileDescriptor_search_78ae5a87590ff3d8, []int{10, 1}
-}
-
-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
-)
-
-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",
-}
-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,
-}
-
-func (x SearchServiceError_ErrorCode) Enum() *SearchServiceError_ErrorCode {
- p := new(SearchServiceError_ErrorCode)
- *p = x
- return p
-}
-func (x SearchServiceError_ErrorCode) String() string {
- return proto.EnumName(SearchServiceError_ErrorCode_name, int32(x))
-}
-func (x *SearchServiceError_ErrorCode) UnmarshalJSON(data []byte) error {
- value, err := proto.UnmarshalJSONEnum(SearchServiceError_ErrorCode_value, data, "SearchServiceError_ErrorCode")
- if err != nil {
- return err
- }
- *x = SearchServiceError_ErrorCode(value)
- return nil
-}
-func (SearchServiceError_ErrorCode) EnumDescriptor() ([]byte, []int) {
- return fileDescriptor_search_78ae5a87590ff3d8, []int{11, 0}
-}
-
-type IndexSpec_Consistency int32
-
-const (
- IndexSpec_GLOBAL IndexSpec_Consistency = 0
- IndexSpec_PER_DOCUMENT IndexSpec_Consistency = 1
-)
-
-var IndexSpec_Consistency_name = map[int32]string{
- 0: "GLOBAL",
- 1: "PER_DOCUMENT",
-}
-var IndexSpec_Consistency_value = map[string]int32{
- "GLOBAL": 0,
- "PER_DOCUMENT": 1,
-}
-
-func (x IndexSpec_Consistency) Enum() *IndexSpec_Consistency {
- p := new(IndexSpec_Consistency)
- *p = x
- return p
-}
-func (x IndexSpec_Consistency) String() string {
- return proto.EnumName(IndexSpec_Consistency_name, int32(x))
-}
-func (x *IndexSpec_Consistency) UnmarshalJSON(data []byte) error {
- value, err := proto.UnmarshalJSONEnum(IndexSpec_Consistency_value, data, "IndexSpec_Consistency")
- if err != nil {
- return err
- }
- *x = IndexSpec_Consistency(value)
- return nil
-}
-func (IndexSpec_Consistency) EnumDescriptor() ([]byte, []int) {
- return fileDescriptor_search_78ae5a87590ff3d8, []int{13, 0}
-}
-
-type IndexSpec_Source int32
-
-const (
- IndexSpec_SEARCH IndexSpec_Source = 0
- IndexSpec_DATASTORE IndexSpec_Source = 1
- IndexSpec_CLOUD_STORAGE IndexSpec_Source = 2
-)
-
-var IndexSpec_Source_name = map[int32]string{
- 0: "SEARCH",
- 1: "DATASTORE",
- 2: "CLOUD_STORAGE",
-}
-var IndexSpec_Source_value = map[string]int32{
- "SEARCH": 0,
- "DATASTORE": 1,
- "CLOUD_STORAGE": 2,
-}
-
-func (x IndexSpec_Source) Enum() *IndexSpec_Source {
- p := new(IndexSpec_Source)
- *p = x
- return p
-}
-func (x IndexSpec_Source) String() string {
- return proto.EnumName(IndexSpec_Source_name, int32(x))
-}
-func (x *IndexSpec_Source) UnmarshalJSON(data []byte) error {
- value, err := proto.UnmarshalJSONEnum(IndexSpec_Source_value, data, "IndexSpec_Source")
- if err != nil {
- return err
- }
- *x = IndexSpec_Source(value)
- return nil
-}
-func (IndexSpec_Source) EnumDescriptor() ([]byte, []int) {
- return fileDescriptor_search_78ae5a87590ff3d8, []int{13, 1}
-}
-
-type IndexSpec_Mode int32
-
-const (
- IndexSpec_PRIORITY IndexSpec_Mode = 0
- IndexSpec_BACKGROUND IndexSpec_Mode = 1
-)
-
-var IndexSpec_Mode_name = map[int32]string{
- 0: "PRIORITY",
- 1: "BACKGROUND",
-}
-var IndexSpec_Mode_value = map[string]int32{
- "PRIORITY": 0,
- "BACKGROUND": 1,
-}
-
-func (x IndexSpec_Mode) Enum() *IndexSpec_Mode {
- p := new(IndexSpec_Mode)
- *p = x
- return p
-}
-func (x IndexSpec_Mode) String() string {
- return proto.EnumName(IndexSpec_Mode_name, int32(x))
-}
-func (x *IndexSpec_Mode) UnmarshalJSON(data []byte) error {
- value, err := proto.UnmarshalJSONEnum(IndexSpec_Mode_value, data, "IndexSpec_Mode")
- if err != nil {
- return err
- }
- *x = IndexSpec_Mode(value)
- return nil
-}
-func (IndexSpec_Mode) EnumDescriptor() ([]byte, []int) {
- return fileDescriptor_search_78ae5a87590ff3d8, []int{13, 2}
-}
-
-type IndexDocumentParams_Freshness int32
-
-const (
- IndexDocumentParams_SYNCHRONOUSLY IndexDocumentParams_Freshness = 0
- IndexDocumentParams_WHEN_CONVENIENT IndexDocumentParams_Freshness = 1
-)
-
-var IndexDocumentParams_Freshness_name = map[int32]string{
- 0: "SYNCHRONOUSLY",
- 1: "WHEN_CONVENIENT",
-}
-var IndexDocumentParams_Freshness_value = map[string]int32{
- "SYNCHRONOUSLY": 0,
- "WHEN_CONVENIENT": 1,
-}
-
-func (x IndexDocumentParams_Freshness) Enum() *IndexDocumentParams_Freshness {
- p := new(IndexDocumentParams_Freshness)
- *p = x
- return p
-}
-func (x IndexDocumentParams_Freshness) String() string {
- return proto.EnumName(IndexDocumentParams_Freshness_name, int32(x))
-}
-func (x *IndexDocumentParams_Freshness) UnmarshalJSON(data []byte) error {
- value, err := proto.UnmarshalJSONEnum(IndexDocumentParams_Freshness_value, data, "IndexDocumentParams_Freshness")
- if err != nil {
- return err
- }
- *x = IndexDocumentParams_Freshness(value)
- return nil
-}
-func (IndexDocumentParams_Freshness) EnumDescriptor() ([]byte, []int) {
- return fileDescriptor_search_78ae5a87590ff3d8, []int{15, 0}
-}
-
-type ScorerSpec_Scorer int32
-
-const (
- ScorerSpec_RESCORING_MATCH_SCORER ScorerSpec_Scorer = 0
- ScorerSpec_MATCH_SCORER ScorerSpec_Scorer = 2
-)
-
-var ScorerSpec_Scorer_name = map[int32]string{
- 0: "RESCORING_MATCH_SCORER",
- 2: "MATCH_SCORER",
-}
-var ScorerSpec_Scorer_value = map[string]int32{
- "RESCORING_MATCH_SCORER": 0,
- "MATCH_SCORER": 2,
-}
-
-func (x ScorerSpec_Scorer) Enum() *ScorerSpec_Scorer {
- p := new(ScorerSpec_Scorer)
- *p = x
- return p
-}
-func (x ScorerSpec_Scorer) String() string {
- return proto.EnumName(ScorerSpec_Scorer_name, int32(x))
-}
-func (x *ScorerSpec_Scorer) UnmarshalJSON(data []byte) error {
- value, err := proto.UnmarshalJSONEnum(ScorerSpec_Scorer_value, data, "ScorerSpec_Scorer")
- if err != nil {
- return err
- }
- *x = ScorerSpec_Scorer(value)
- return nil
-}
-func (ScorerSpec_Scorer) EnumDescriptor() ([]byte, []int) {
- return fileDescriptor_search_78ae5a87590ff3d8, []int{31, 0}
-}
-
-type SearchParams_CursorType int32
-
-const (
- SearchParams_NONE SearchParams_CursorType = 0
- SearchParams_SINGLE SearchParams_CursorType = 1
- SearchParams_PER_RESULT SearchParams_CursorType = 2
-)
-
-var SearchParams_CursorType_name = map[int32]string{
- 0: "NONE",
- 1: "SINGLE",
- 2: "PER_RESULT",
-}
-var SearchParams_CursorType_value = map[string]int32{
- "NONE": 0,
- "SINGLE": 1,
- "PER_RESULT": 2,
-}
-
-func (x SearchParams_CursorType) Enum() *SearchParams_CursorType {
- p := new(SearchParams_CursorType)
- *p = x
- return p
-}
-func (x SearchParams_CursorType) String() string {
- return proto.EnumName(SearchParams_CursorType_name, int32(x))
-}
-func (x *SearchParams_CursorType) UnmarshalJSON(data []byte) error {
- value, err := proto.UnmarshalJSONEnum(SearchParams_CursorType_value, data, "SearchParams_CursorType")
- if err != nil {
- return err
- }
- *x = SearchParams_CursorType(value)
- return nil
-}
-func (SearchParams_CursorType) EnumDescriptor() ([]byte, []int) {
- return fileDescriptor_search_78ae5a87590ff3d8, []int{38, 0}
-}
-
-type SearchParams_ParsingMode int32
-
-const (
- SearchParams_STRICT SearchParams_ParsingMode = 0
- SearchParams_RELAXED SearchParams_ParsingMode = 1
-)
-
-var SearchParams_ParsingMode_name = map[int32]string{
- 0: "STRICT",
- 1: "RELAXED",
-}
-var SearchParams_ParsingMode_value = map[string]int32{
- "STRICT": 0,
- "RELAXED": 1,
-}
-
-func (x SearchParams_ParsingMode) Enum() *SearchParams_ParsingMode {
- p := new(SearchParams_ParsingMode)
- *p = x
- return p
-}
-func (x SearchParams_ParsingMode) String() string {
- return proto.EnumName(SearchParams_ParsingMode_name, int32(x))
-}
-func (x *SearchParams_ParsingMode) UnmarshalJSON(data []byte) error {
- value, err := proto.UnmarshalJSONEnum(SearchParams_ParsingMode_value, data, "SearchParams_ParsingMode")
- if err != nil {
- return err
- }
- *x = SearchParams_ParsingMode(value)
- return nil
-}
-func (SearchParams_ParsingMode) EnumDescriptor() ([]byte, []int) {
- return fileDescriptor_search_78ae5a87590ff3d8, []int{38, 1}
-}
-
-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 (m *Scope) Reset() { *m = Scope{} }
-func (m *Scope) String() string { return proto.CompactTextString(m) }
-func (*Scope) ProtoMessage() {}
-func (*Scope) Descriptor() ([]byte, []int) {
- return fileDescriptor_search_78ae5a87590ff3d8, []int{0}
-}
-func (m *Scope) XXX_Unmarshal(b []byte) error {
- return xxx_messageInfo_Scope.Unmarshal(m, b)
-}
-func (m *Scope) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
- return xxx_messageInfo_Scope.Marshal(b, m, deterministic)
-}
-func (dst *Scope) XXX_Merge(src proto.Message) {
- xxx_messageInfo_Scope.Merge(dst, src)
-}
-func (m *Scope) XXX_Size() int {
- return xxx_messageInfo_Scope.Size(m)
-}
-func (m *Scope) XXX_DiscardUnknown() {
- xxx_messageInfo_Scope.DiscardUnknown(m)
-}
-
-var xxx_messageInfo_Scope proto.InternalMessageInfo
-
-func (m *Scope) GetType() Scope_Type {
- if m != nil && m.Type != nil {
- return *m.Type
- }
- return Scope_USER_BY_CANONICAL_ID
-}
-
-func (m *Scope) GetValue() string {
- if m != nil && m.Value != nil {
- return *m.Value
- }
- return ""
-}
-
-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 (m *Entry) Reset() { *m = Entry{} }
-func (m *Entry) String() string { return proto.CompactTextString(m) }
-func (*Entry) ProtoMessage() {}
-func (*Entry) Descriptor() ([]byte, []int) {
- return fileDescriptor_search_78ae5a87590ff3d8, []int{1}
-}
-func (m *Entry) XXX_Unmarshal(b []byte) error {
- return xxx_messageInfo_Entry.Unmarshal(m, b)
-}
-func (m *Entry) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
- return xxx_messageInfo_Entry.Marshal(b, m, deterministic)
-}
-func (dst *Entry) XXX_Merge(src proto.Message) {
- xxx_messageInfo_Entry.Merge(dst, src)
-}
-func (m *Entry) XXX_Size() int {
- return xxx_messageInfo_Entry.Size(m)
-}
-func (m *Entry) XXX_DiscardUnknown() {
- xxx_messageInfo_Entry.DiscardUnknown(m)
-}
-
-var xxx_messageInfo_Entry proto.InternalMessageInfo
-
-func (m *Entry) GetScope() *Scope {
- if m != nil {
- return m.Scope
- }
- return nil
-}
-
-func (m *Entry) GetPermission() Entry_Permission {
- if m != nil && m.Permission != nil {
- return *m.Permission
- }
- return Entry_READ
-}
-
-func (m *Entry) GetDisplayName() string {
- if m != nil && m.DisplayName != nil {
- return *m.DisplayName
- }
- return ""
-}
-
-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 (m *AccessControlList) Reset() { *m = AccessControlList{} }
-func (m *AccessControlList) String() string { return proto.CompactTextString(m) }
-func (*AccessControlList) ProtoMessage() {}
-func (*AccessControlList) Descriptor() ([]byte, []int) {
- return fileDescriptor_search_78ae5a87590ff3d8, []int{2}
-}
-func (m *AccessControlList) XXX_Unmarshal(b []byte) error {
- return xxx_messageInfo_AccessControlList.Unmarshal(m, b)
-}
-func (m *AccessControlList) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
- return xxx_messageInfo_AccessControlList.Marshal(b, m, deterministic)
-}
-func (dst *AccessControlList) XXX_Merge(src proto.Message) {
- xxx_messageInfo_AccessControlList.Merge(dst, src)
-}
-func (m *AccessControlList) XXX_Size() int {
- return xxx_messageInfo_AccessControlList.Size(m)
-}
-func (m *AccessControlList) XXX_DiscardUnknown() {
- xxx_messageInfo_AccessControlList.DiscardUnknown(m)
-}
-
-var xxx_messageInfo_AccessControlList proto.InternalMessageInfo
-
-func (m *AccessControlList) GetOwner() string {
- if m != nil && m.Owner != nil {
- return *m.Owner
- }
- return ""
-}
-
-func (m *AccessControlList) GetEntries() []*Entry {
- if m != nil {
- return m.Entries
- }
- return nil
-}
-
-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 (m *FieldValue) Reset() { *m = FieldValue{} }
-func (m *FieldValue) String() string { return proto.CompactTextString(m) }
-func (*FieldValue) ProtoMessage() {}
-func (*FieldValue) Descriptor() ([]byte, []int) {
- return fileDescriptor_search_78ae5a87590ff3d8, []int{3}
-}
-func (m *FieldValue) XXX_Unmarshal(b []byte) error {
- return xxx_messageInfo_FieldValue.Unmarshal(m, b)
-}
-func (m *FieldValue) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
- return xxx_messageInfo_FieldValue.Marshal(b, m, deterministic)
-}
-func (dst *FieldValue) XXX_Merge(src proto.Message) {
- xxx_messageInfo_FieldValue.Merge(dst, src)
-}
-func (m *FieldValue) XXX_Size() int {
- return xxx_messageInfo_FieldValue.Size(m)
-}
-func (m *FieldValue) XXX_DiscardUnknown() {
- xxx_messageInfo_FieldValue.DiscardUnknown(m)
-}
-
-var xxx_messageInfo_FieldValue proto.InternalMessageInfo
-
-const Default_FieldValue_Type FieldValue_ContentType = FieldValue_TEXT
-const Default_FieldValue_Language string = "en"
-
-func (m *FieldValue) GetType() FieldValue_ContentType {
- if m != nil && m.Type != nil {
- return *m.Type
- }
- return Default_FieldValue_Type
-}
-
-func (m *FieldValue) GetLanguage() string {
- if m != nil && m.Language != nil {
- return *m.Language
- }
- return Default_FieldValue_Language
-}
-
-func (m *FieldValue) GetStringValue() string {
- if m != nil && m.StringValue != nil {
- return *m.StringValue
- }
- return ""
-}
-
-func (m *FieldValue) GetGeo() *FieldValue_Geo {
- if m != nil {
- return m.Geo
- }
- return nil
-}
-
-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 (m *FieldValue_Geo) Reset() { *m = FieldValue_Geo{} }
-func (m *FieldValue_Geo) String() string { return proto.CompactTextString(m) }
-func (*FieldValue_Geo) ProtoMessage() {}
-func (*FieldValue_Geo) Descriptor() ([]byte, []int) {
- return fileDescriptor_search_78ae5a87590ff3d8, []int{3, 0}
-}
-func (m *FieldValue_Geo) XXX_Unmarshal(b []byte) error {
- return xxx_messageInfo_FieldValue_Geo.Unmarshal(m, b)
-}
-func (m *FieldValue_Geo) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
- return xxx_messageInfo_FieldValue_Geo.Marshal(b, m, deterministic)
-}
-func (dst *FieldValue_Geo) XXX_Merge(src proto.Message) {
- xxx_messageInfo_FieldValue_Geo.Merge(dst, src)
-}
-func (m *FieldValue_Geo) XXX_Size() int {
- return xxx_messageInfo_FieldValue_Geo.Size(m)
-}
-func (m *FieldValue_Geo) XXX_DiscardUnknown() {
- xxx_messageInfo_FieldValue_Geo.DiscardUnknown(m)
-}
-
-var xxx_messageInfo_FieldValue_Geo proto.InternalMessageInfo
-
-func (m *FieldValue_Geo) GetLat() float64 {
- if m != nil && m.Lat != nil {
- return *m.Lat
- }
- return 0
-}
-
-func (m *FieldValue_Geo) GetLng() float64 {
- if m != nil && m.Lng != nil {
- return *m.Lng
- }
- return 0
-}
-
-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 (m *Field) Reset() { *m = Field{} }
-func (m *Field) String() string { return proto.CompactTextString(m) }
-func (*Field) ProtoMessage() {}
-func (*Field) Descriptor() ([]byte, []int) {
- return fileDescriptor_search_78ae5a87590ff3d8, []int{4}
-}
-func (m *Field) XXX_Unmarshal(b []byte) error {
- return xxx_messageInfo_Field.Unmarshal(m, b)
-}
-func (m *Field) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
- return xxx_messageInfo_Field.Marshal(b, m, deterministic)
-}
-func (dst *Field) XXX_Merge(src proto.Message) {
- xxx_messageInfo_Field.Merge(dst, src)
-}
-func (m *Field) XXX_Size() int {
- return xxx_messageInfo_Field.Size(m)
-}
-func (m *Field) XXX_DiscardUnknown() {
- xxx_messageInfo_Field.DiscardUnknown(m)
-}
-
-var xxx_messageInfo_Field proto.InternalMessageInfo
-
-func (m *Field) GetName() string {
- if m != nil && m.Name != nil {
- return *m.Name
- }
- return ""
-}
-
-func (m *Field) GetValue() *FieldValue {
- if m != nil {
- return m.Value
- }
- return nil
-}
-
-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 (m *FieldTypes) Reset() { *m = FieldTypes{} }
-func (m *FieldTypes) String() string { return proto.CompactTextString(m) }
-func (*FieldTypes) ProtoMessage() {}
-func (*FieldTypes) Descriptor() ([]byte, []int) {
- return fileDescriptor_search_78ae5a87590ff3d8, []int{5}
-}
-func (m *FieldTypes) XXX_Unmarshal(b []byte) error {
- return xxx_messageInfo_FieldTypes.Unmarshal(m, b)
-}
-func (m *FieldTypes) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
- return xxx_messageInfo_FieldTypes.Marshal(b, m, deterministic)
-}
-func (dst *FieldTypes) XXX_Merge(src proto.Message) {
- xxx_messageInfo_FieldTypes.Merge(dst, src)
-}
-func (m *FieldTypes) XXX_Size() int {
- return xxx_messageInfo_FieldTypes.Size(m)
-}
-func (m *FieldTypes) XXX_DiscardUnknown() {
- xxx_messageInfo_FieldTypes.DiscardUnknown(m)
-}
-
-var xxx_messageInfo_FieldTypes proto.InternalMessageInfo
-
-func (m *FieldTypes) GetName() string {
- if m != nil && m.Name != nil {
- return *m.Name
- }
- return ""
-}
-
-func (m *FieldTypes) GetType() []FieldValue_ContentType {
- if m != nil {
- return m.Type
- }
- return nil
-}
-
-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 `protobuf:"varint,3,rep,name=prev_num_shards_search_false,json=prevNumShardsSearchFalse" json:"prev_num_shards_search_false,omitempty"`
- 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 (m *IndexShardSettings) Reset() { *m = IndexShardSettings{} }
-func (m *IndexShardSettings) String() string { return proto.CompactTextString(m) }
-func (*IndexShardSettings) ProtoMessage() {}
-func (*IndexShardSettings) Descriptor() ([]byte, []int) {
- return fileDescriptor_search_78ae5a87590ff3d8, []int{6}
-}
-func (m *IndexShardSettings) XXX_Unmarshal(b []byte) error {
- return xxx_messageInfo_IndexShardSettings.Unmarshal(m, b)
-}
-func (m *IndexShardSettings) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
- return xxx_messageInfo_IndexShardSettings.Marshal(b, m, deterministic)
-}
-func (dst *IndexShardSettings) XXX_Merge(src proto.Message) {
- xxx_messageInfo_IndexShardSettings.Merge(dst, src)
-}
-func (m *IndexShardSettings) XXX_Size() int {
- return xxx_messageInfo_IndexShardSettings.Size(m)
-}
-func (m *IndexShardSettings) XXX_DiscardUnknown() {
- xxx_messageInfo_IndexShardSettings.DiscardUnknown(m)
-}
-
-var xxx_messageInfo_IndexShardSettings proto.InternalMessageInfo
-
-const Default_IndexShardSettings_NumShards int32 = 1
-
-func (m *IndexShardSettings) GetPrevNumShards() []int32 {
- if m != nil {
- return m.PrevNumShards
- }
- return nil
-}
-
-func (m *IndexShardSettings) GetNumShards() int32 {
- if m != nil && m.NumShards != nil {
- return *m.NumShards
- }
- return Default_IndexShardSettings_NumShards
-}
-
-func (m *IndexShardSettings) GetPrevNumShardsSearchFalse() []int32 {
- if m != nil {
- return m.PrevNumShardsSearchFalse
- }
- return nil
-}
-
-func (m *IndexShardSettings) GetLocalReplica() string {
- if m != nil && m.LocalReplica != nil {
- return *m.LocalReplica
- }
- return ""
-}
-
-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 (m *FacetValue) Reset() { *m = FacetValue{} }
-func (m *FacetValue) String() string { return proto.CompactTextString(m) }
-func (*FacetValue) ProtoMessage() {}
-func (*FacetValue) Descriptor() ([]byte, []int) {
- return fileDescriptor_search_78ae5a87590ff3d8, []int{7}
-}
-func (m *FacetValue) XXX_Unmarshal(b []byte) error {
- return xxx_messageInfo_FacetValue.Unmarshal(m, b)
-}
-func (m *FacetValue) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
- return xxx_messageInfo_FacetValue.Marshal(b, m, deterministic)
-}
-func (dst *FacetValue) XXX_Merge(src proto.Message) {
- xxx_messageInfo_FacetValue.Merge(dst, src)
-}
-func (m *FacetValue) XXX_Size() int {
- return xxx_messageInfo_FacetValue.Size(m)
-}
-func (m *FacetValue) XXX_DiscardUnknown() {
- xxx_messageInfo_FacetValue.DiscardUnknown(m)
-}
-
-var xxx_messageInfo_FacetValue proto.InternalMessageInfo
-
-const Default_FacetValue_Type FacetValue_ContentType = FacetValue_ATOM
-
-func (m *FacetValue) GetType() FacetValue_ContentType {
- if m != nil && m.Type != nil {
- return *m.Type
- }
- return Default_FacetValue_Type
-}
-
-func (m *FacetValue) GetStringValue() string {
- if m != nil && m.StringValue != nil {
- return *m.StringValue
- }
- return ""
-}
-
-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 (m *Facet) Reset() { *m = Facet{} }
-func (m *Facet) String() string { return proto.CompactTextString(m) }
-func (*Facet) ProtoMessage() {}
-func (*Facet) Descriptor() ([]byte, []int) {
- return fileDescriptor_search_78ae5a87590ff3d8, []int{8}
-}
-func (m *Facet) XXX_Unmarshal(b []byte) error {
- return xxx_messageInfo_Facet.Unmarshal(m, b)
-}
-func (m *Facet) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
- return xxx_messageInfo_Facet.Marshal(b, m, deterministic)
-}
-func (dst *Facet) XXX_Merge(src proto.Message) {
- xxx_messageInfo_Facet.Merge(dst, src)
-}
-func (m *Facet) XXX_Size() int {
- return xxx_messageInfo_Facet.Size(m)
-}
-func (m *Facet) XXX_DiscardUnknown() {
- xxx_messageInfo_Facet.DiscardUnknown(m)
-}
-
-var xxx_messageInfo_Facet proto.InternalMessageInfo
-
-func (m *Facet) GetName() string {
- if m != nil && m.Name != nil {
- return *m.Name
- }
- return ""
-}
-
-func (m *Facet) GetValue() *FacetValue {
- if m != nil {
- return m.Value
- }
- return nil
-}
-
-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 (m *DocumentMetadata) Reset() { *m = DocumentMetadata{} }
-func (m *DocumentMetadata) String() string { return proto.CompactTextString(m) }
-func (*DocumentMetadata) ProtoMessage() {}
-func (*DocumentMetadata) Descriptor() ([]byte, []int) {
- return fileDescriptor_search_78ae5a87590ff3d8, []int{9}
-}
-func (m *DocumentMetadata) XXX_Unmarshal(b []byte) error {
- return xxx_messageInfo_DocumentMetadata.Unmarshal(m, b)
-}
-func (m *DocumentMetadata) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
- return xxx_messageInfo_DocumentMetadata.Marshal(b, m, deterministic)
-}
-func (dst *DocumentMetadata) XXX_Merge(src proto.Message) {
- xxx_messageInfo_DocumentMetadata.Merge(dst, src)
-}
-func (m *DocumentMetadata) XXX_Size() int {
- return xxx_messageInfo_DocumentMetadata.Size(m)
-}
-func (m *DocumentMetadata) XXX_DiscardUnknown() {
- xxx_messageInfo_DocumentMetadata.DiscardUnknown(m)
-}
-
-var xxx_messageInfo_DocumentMetadata proto.InternalMessageInfo
-
-func (m *DocumentMetadata) GetVersion() int64 {
- if m != nil && m.Version != nil {
- return *m.Version
- }
- return 0
-}
-
-func (m *DocumentMetadata) GetCommittedStVersion() int64 {
- if m != nil && m.CommittedStVersion != nil {
- return *m.CommittedStVersion
- }
- return 0
-}
-
-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 `protobuf:"varint,6,opt,name=order_id_source,json=orderIdSource,enum=search.Document_OrderIdSource,def=1" json:"order_id_source,omitempty"`
- 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 (m *Document) Reset() { *m = Document{} }
-func (m *Document) String() string { return proto.CompactTextString(m) }
-func (*Document) ProtoMessage() {}
-func (*Document) Descriptor() ([]byte, []int) {
- return fileDescriptor_search_78ae5a87590ff3d8, []int{10}
-}
-func (m *Document) XXX_Unmarshal(b []byte) error {
- return xxx_messageInfo_Document.Unmarshal(m, b)
-}
-func (m *Document) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
- return xxx_messageInfo_Document.Marshal(b, m, deterministic)
-}
-func (dst *Document) XXX_Merge(src proto.Message) {
- xxx_messageInfo_Document.Merge(dst, src)
-}
-func (m *Document) XXX_Size() int {
- return xxx_messageInfo_Document.Size(m)
-}
-func (m *Document) XXX_DiscardUnknown() {
- xxx_messageInfo_Document.DiscardUnknown(m)
-}
-
-var xxx_messageInfo_Document proto.InternalMessageInfo
-
-const Default_Document_Language string = "en"
-const Default_Document_OrderIdSource Document_OrderIdSource = Document_SUPPLIED
-const Default_Document_Storage Document_Storage = Document_DISK
-
-func (m *Document) GetId() string {
- if m != nil && m.Id != nil {
- return *m.Id
- }
- return ""
-}
-
-func (m *Document) GetLanguage() string {
- if m != nil && m.Language != nil {
- return *m.Language
- }
- return Default_Document_Language
-}
-
-func (m *Document) GetField() []*Field {
- if m != nil {
- return m.Field
- }
- return nil
-}
-
-func (m *Document) GetOrderId() int32 {
- if m != nil && m.OrderId != nil {
- return *m.OrderId
- }
- return 0
-}
-
-func (m *Document) GetOrderIdSource() Document_OrderIdSource {
- if m != nil && m.OrderIdSource != nil {
- return *m.OrderIdSource
- }
- return Default_Document_OrderIdSource
-}
-
-func (m *Document) GetStorage() Document_Storage {
- if m != nil && m.Storage != nil {
- return *m.Storage
- }
- return Default_Document_Storage
-}
-
-func (m *Document) GetFacet() []*Facet {
- if m != nil {
- return m.Facet
- }
- return nil
-}
-
-type SearchServiceError struct {
- XXX_NoUnkeyedLiteral struct{} `json:"-"`
- XXX_unrecognized []byte `json:"-"`
- XXX_sizecache int32 `json:"-"`
-}
-
-func (m *SearchServiceError) Reset() { *m = SearchServiceError{} }
-func (m *SearchServiceError) String() string { return proto.CompactTextString(m) }
-func (*SearchServiceError) ProtoMessage() {}
-func (*SearchServiceError) Descriptor() ([]byte, []int) {
- return fileDescriptor_search_78ae5a87590ff3d8, []int{11}
-}
-func (m *SearchServiceError) XXX_Unmarshal(b []byte) error {
- return xxx_messageInfo_SearchServiceError.Unmarshal(m, b)
-}
-func (m *SearchServiceError) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
- return xxx_messageInfo_SearchServiceError.Marshal(b, m, deterministic)
-}
-func (dst *SearchServiceError) XXX_Merge(src proto.Message) {
- xxx_messageInfo_SearchServiceError.Merge(dst, src)
-}
-func (m *SearchServiceError) XXX_Size() int {
- return xxx_messageInfo_SearchServiceError.Size(m)
-}
-func (m *SearchServiceError) XXX_DiscardUnknown() {
- xxx_messageInfo_SearchServiceError.DiscardUnknown(m)
-}
-
-var xxx_messageInfo_SearchServiceError proto.InternalMessageInfo
-
-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 (m *RequestStatus) Reset() { *m = RequestStatus{} }
-func (m *RequestStatus) String() string { return proto.CompactTextString(m) }
-func (*RequestStatus) ProtoMessage() {}
-func (*RequestStatus) Descriptor() ([]byte, []int) {
- return fileDescriptor_search_78ae5a87590ff3d8, []int{12}
-}
-func (m *RequestStatus) XXX_Unmarshal(b []byte) error {
- return xxx_messageInfo_RequestStatus.Unmarshal(m, b)
-}
-func (m *RequestStatus) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
- return xxx_messageInfo_RequestStatus.Marshal(b, m, deterministic)
-}
-func (dst *RequestStatus) XXX_Merge(src proto.Message) {
- xxx_messageInfo_RequestStatus.Merge(dst, src)
-}
-func (m *RequestStatus) XXX_Size() int {
- return xxx_messageInfo_RequestStatus.Size(m)
-}
-func (m *RequestStatus) XXX_DiscardUnknown() {
- xxx_messageInfo_RequestStatus.DiscardUnknown(m)
-}
-
-var xxx_messageInfo_RequestStatus proto.InternalMessageInfo
-
-func (m *RequestStatus) GetCode() SearchServiceError_ErrorCode {
- if m != nil && m.Code != nil {
- return *m.Code
- }
- return SearchServiceError_OK
-}
-
-func (m *RequestStatus) GetErrorDetail() string {
- if m != nil && m.ErrorDetail != nil {
- return *m.ErrorDetail
- }
- return ""
-}
-
-func (m *RequestStatus) GetCanonicalCode() int32 {
- if m != nil && m.CanonicalCode != nil {
- return *m.CanonicalCode
- }
- return 0
-}
-
-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 (m *IndexSpec) Reset() { *m = IndexSpec{} }
-func (m *IndexSpec) String() string { return proto.CompactTextString(m) }
-func (*IndexSpec) ProtoMessage() {}
-func (*IndexSpec) Descriptor() ([]byte, []int) {
- return fileDescriptor_search_78ae5a87590ff3d8, []int{13}
-}
-func (m *IndexSpec) XXX_Unmarshal(b []byte) error {
- return xxx_messageInfo_IndexSpec.Unmarshal(m, b)
-}
-func (m *IndexSpec) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
- return xxx_messageInfo_IndexSpec.Marshal(b, m, deterministic)
-}
-func (dst *IndexSpec) XXX_Merge(src proto.Message) {
- xxx_messageInfo_IndexSpec.Merge(dst, src)
-}
-func (m *IndexSpec) XXX_Size() int {
- return xxx_messageInfo_IndexSpec.Size(m)
-}
-func (m *IndexSpec) XXX_DiscardUnknown() {
- xxx_messageInfo_IndexSpec.DiscardUnknown(m)
-}
-
-var xxx_messageInfo_IndexSpec proto.InternalMessageInfo
-
-const Default_IndexSpec_Consistency IndexSpec_Consistency = IndexSpec_PER_DOCUMENT
-const Default_IndexSpec_Source IndexSpec_Source = IndexSpec_SEARCH
-const Default_IndexSpec_Mode IndexSpec_Mode = IndexSpec_PRIORITY
-
-func (m *IndexSpec) GetName() string {
- if m != nil && m.Name != nil {
- return *m.Name
- }
- return ""
-}
-
-func (m *IndexSpec) GetConsistency() IndexSpec_Consistency {
- if m != nil && m.Consistency != nil {
- return *m.Consistency
- }
- return Default_IndexSpec_Consistency
-}
-
-func (m *IndexSpec) GetNamespace() string {
- if m != nil && m.Namespace != nil {
- return *m.Namespace
- }
- return ""
-}
-
-func (m *IndexSpec) GetVersion() int32 {
- if m != nil && m.Version != nil {
- return *m.Version
- }
- return 0
-}
-
-func (m *IndexSpec) GetSource() IndexSpec_Source {
- if m != nil && m.Source != nil {
- return *m.Source
- }
- return Default_IndexSpec_Source
-}
-
-func (m *IndexSpec) GetMode() IndexSpec_Mode {
- if m != nil && m.Mode != nil {
- return *m.Mode
- }
- return Default_IndexSpec_Mode
-}
-
-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 (m *IndexMetadata) Reset() { *m = IndexMetadata{} }
-func (m *IndexMetadata) String() string { return proto.CompactTextString(m) }
-func (*IndexMetadata) ProtoMessage() {}
-func (*IndexMetadata) Descriptor() ([]byte, []int) {
- return fileDescriptor_search_78ae5a87590ff3d8, []int{14}
-}
-func (m *IndexMetadata) XXX_Unmarshal(b []byte) error {
- return xxx_messageInfo_IndexMetadata.Unmarshal(m, b)
-}
-func (m *IndexMetadata) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
- return xxx_messageInfo_IndexMetadata.Marshal(b, m, deterministic)
-}
-func (dst *IndexMetadata) XXX_Merge(src proto.Message) {
- xxx_messageInfo_IndexMetadata.Merge(dst, src)
-}
-func (m *IndexMetadata) XXX_Size() int {
- return xxx_messageInfo_IndexMetadata.Size(m)
-}
-func (m *IndexMetadata) XXX_DiscardUnknown() {
- xxx_messageInfo_IndexMetadata.DiscardUnknown(m)
-}
-
-var xxx_messageInfo_IndexMetadata proto.InternalMessageInfo
-
-func (m *IndexMetadata) GetIndexSpec() *IndexSpec {
- if m != nil {
- return m.IndexSpec
- }
- return nil
-}
-
-func (m *IndexMetadata) GetField() []*FieldTypes {
- if m != nil {
- return m.Field
- }
- return nil
-}
-
-func (m *IndexMetadata) GetStorage() *IndexMetadata_Storage {
- if m != nil {
- return m.Storage
- }
- return nil
-}
-
-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 (m *IndexMetadata_Storage) Reset() { *m = IndexMetadata_Storage{} }
-func (m *IndexMetadata_Storage) String() string { return proto.CompactTextString(m) }
-func (*IndexMetadata_Storage) ProtoMessage() {}
-func (*IndexMetadata_Storage) Descriptor() ([]byte, []int) {
- return fileDescriptor_search_78ae5a87590ff3d8, []int{14, 0}
-}
-func (m *IndexMetadata_Storage) XXX_Unmarshal(b []byte) error {
- return xxx_messageInfo_IndexMetadata_Storage.Unmarshal(m, b)
-}
-func (m *IndexMetadata_Storage) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
- return xxx_messageInfo_IndexMetadata_Storage.Marshal(b, m, deterministic)
-}
-func (dst *IndexMetadata_Storage) XXX_Merge(src proto.Message) {
- xxx_messageInfo_IndexMetadata_Storage.Merge(dst, src)
-}
-func (m *IndexMetadata_Storage) XXX_Size() int {
- return xxx_messageInfo_IndexMetadata_Storage.Size(m)
-}
-func (m *IndexMetadata_Storage) XXX_DiscardUnknown() {
- xxx_messageInfo_IndexMetadata_Storage.DiscardUnknown(m)
-}
-
-var xxx_messageInfo_IndexMetadata_Storage proto.InternalMessageInfo
-
-func (m *IndexMetadata_Storage) GetAmountUsed() int64 {
- if m != nil && m.AmountUsed != nil {
- return *m.AmountUsed
- }
- return 0
-}
-
-func (m *IndexMetadata_Storage) GetLimit() int64 {
- if m != nil && m.Limit != nil {
- return *m.Limit
- }
- return 0
-}
-
-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 (m *IndexDocumentParams) Reset() { *m = IndexDocumentParams{} }
-func (m *IndexDocumentParams) String() string { return proto.CompactTextString(m) }
-func (*IndexDocumentParams) ProtoMessage() {}
-func (*IndexDocumentParams) Descriptor() ([]byte, []int) {
- return fileDescriptor_search_78ae5a87590ff3d8, []int{15}
-}
-func (m *IndexDocumentParams) XXX_Unmarshal(b []byte) error {
- return xxx_messageInfo_IndexDocumentParams.Unmarshal(m, b)
-}
-func (m *IndexDocumentParams) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
- return xxx_messageInfo_IndexDocumentParams.Marshal(b, m, deterministic)
-}
-func (dst *IndexDocumentParams) XXX_Merge(src proto.Message) {
- xxx_messageInfo_IndexDocumentParams.Merge(dst, src)
-}
-func (m *IndexDocumentParams) XXX_Size() int {
- return xxx_messageInfo_IndexDocumentParams.Size(m)
-}
-func (m *IndexDocumentParams) XXX_DiscardUnknown() {
- xxx_messageInfo_IndexDocumentParams.DiscardUnknown(m)
-}
-
-var xxx_messageInfo_IndexDocumentParams proto.InternalMessageInfo
-
-const Default_IndexDocumentParams_Freshness IndexDocumentParams_Freshness = IndexDocumentParams_SYNCHRONOUSLY
-
-func (m *IndexDocumentParams) GetDocument() []*Document {
- if m != nil {
- return m.Document
- }
- return nil
-}
-
-// Deprecated: Do not use.
-func (m *IndexDocumentParams) GetFreshness() IndexDocumentParams_Freshness {
- if m != nil && m.Freshness != nil {
- return *m.Freshness
- }
- return Default_IndexDocumentParams_Freshness
-}
-
-func (m *IndexDocumentParams) GetIndexSpec() *IndexSpec {
- if m != nil {
- return m.IndexSpec
- }
- return nil
-}
-
-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 (m *IndexDocumentRequest) Reset() { *m = IndexDocumentRequest{} }
-func (m *IndexDocumentRequest) String() string { return proto.CompactTextString(m) }
-func (*IndexDocumentRequest) ProtoMessage() {}
-func (*IndexDocumentRequest) Descriptor() ([]byte, []int) {
- return fileDescriptor_search_78ae5a87590ff3d8, []int{16}
-}
-func (m *IndexDocumentRequest) XXX_Unmarshal(b []byte) error {
- return xxx_messageInfo_IndexDocumentRequest.Unmarshal(m, b)
-}
-func (m *IndexDocumentRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
- return xxx_messageInfo_IndexDocumentRequest.Marshal(b, m, deterministic)
-}
-func (dst *IndexDocumentRequest) XXX_Merge(src proto.Message) {
- xxx_messageInfo_IndexDocumentRequest.Merge(dst, src)
-}
-func (m *IndexDocumentRequest) XXX_Size() int {
- return xxx_messageInfo_IndexDocumentRequest.Size(m)
-}
-func (m *IndexDocumentRequest) XXX_DiscardUnknown() {
- xxx_messageInfo_IndexDocumentRequest.DiscardUnknown(m)
-}
-
-var xxx_messageInfo_IndexDocumentRequest proto.InternalMessageInfo
-
-func (m *IndexDocumentRequest) GetParams() *IndexDocumentParams {
- if m != nil {
- return m.Params
- }
- return nil
-}
-
-func (m *IndexDocumentRequest) GetAppId() []byte {
- if m != nil {
- return m.AppId
- }
- return nil
-}
-
-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 (m *IndexDocumentResponse) Reset() { *m = IndexDocumentResponse{} }
-func (m *IndexDocumentResponse) String() string { return proto.CompactTextString(m) }
-func (*IndexDocumentResponse) ProtoMessage() {}
-func (*IndexDocumentResponse) Descriptor() ([]byte, []int) {
- return fileDescriptor_search_78ae5a87590ff3d8, []int{17}
-}
-func (m *IndexDocumentResponse) XXX_Unmarshal(b []byte) error {
- return xxx_messageInfo_IndexDocumentResponse.Unmarshal(m, b)
-}
-func (m *IndexDocumentResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
- return xxx_messageInfo_IndexDocumentResponse.Marshal(b, m, deterministic)
-}
-func (dst *IndexDocumentResponse) XXX_Merge(src proto.Message) {
- xxx_messageInfo_IndexDocumentResponse.Merge(dst, src)
-}
-func (m *IndexDocumentResponse) XXX_Size() int {
- return xxx_messageInfo_IndexDocumentResponse.Size(m)
-}
-func (m *IndexDocumentResponse) XXX_DiscardUnknown() {
- xxx_messageInfo_IndexDocumentResponse.DiscardUnknown(m)
-}
-
-var xxx_messageInfo_IndexDocumentResponse proto.InternalMessageInfo
-
-func (m *IndexDocumentResponse) GetStatus() []*RequestStatus {
- if m != nil {
- return m.Status
- }
- return nil
-}
-
-func (m *IndexDocumentResponse) GetDocId() []string {
- if m != nil {
- return m.DocId
- }
- return nil
-}
-
-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 (m *DeleteDocumentParams) Reset() { *m = DeleteDocumentParams{} }
-func (m *DeleteDocumentParams) String() string { return proto.CompactTextString(m) }
-func (*DeleteDocumentParams) ProtoMessage() {}
-func (*DeleteDocumentParams) Descriptor() ([]byte, []int) {
- return fileDescriptor_search_78ae5a87590ff3d8, []int{18}
-}
-func (m *DeleteDocumentParams) XXX_Unmarshal(b []byte) error {
- return xxx_messageInfo_DeleteDocumentParams.Unmarshal(m, b)
-}
-func (m *DeleteDocumentParams) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
- return xxx_messageInfo_DeleteDocumentParams.Marshal(b, m, deterministic)
-}
-func (dst *DeleteDocumentParams) XXX_Merge(src proto.Message) {
- xxx_messageInfo_DeleteDocumentParams.Merge(dst, src)
-}
-func (m *DeleteDocumentParams) XXX_Size() int {
- return xxx_messageInfo_DeleteDocumentParams.Size(m)
-}
-func (m *DeleteDocumentParams) XXX_DiscardUnknown() {
- xxx_messageInfo_DeleteDocumentParams.DiscardUnknown(m)
-}
-
-var xxx_messageInfo_DeleteDocumentParams proto.InternalMessageInfo
-
-func (m *DeleteDocumentParams) GetDocId() []string {
- if m != nil {
- return m.DocId
- }
- return nil
-}
-
-func (m *DeleteDocumentParams) GetIndexSpec() *IndexSpec {
- if m != nil {
- return m.IndexSpec
- }
- return nil
-}
-
-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 (m *DeleteDocumentRequest) Reset() { *m = DeleteDocumentRequest{} }
-func (m *DeleteDocumentRequest) String() string { return proto.CompactTextString(m) }
-func (*DeleteDocumentRequest) ProtoMessage() {}
-func (*DeleteDocumentRequest) Descriptor() ([]byte, []int) {
- return fileDescriptor_search_78ae5a87590ff3d8, []int{19}
-}
-func (m *DeleteDocumentRequest) XXX_Unmarshal(b []byte) error {
- return xxx_messageInfo_DeleteDocumentRequest.Unmarshal(m, b)
-}
-func (m *DeleteDocumentRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
- return xxx_messageInfo_DeleteDocumentRequest.Marshal(b, m, deterministic)
-}
-func (dst *DeleteDocumentRequest) XXX_Merge(src proto.Message) {
- xxx_messageInfo_DeleteDocumentRequest.Merge(dst, src)
-}
-func (m *DeleteDocumentRequest) XXX_Size() int {
- return xxx_messageInfo_DeleteDocumentRequest.Size(m)
-}
-func (m *DeleteDocumentRequest) XXX_DiscardUnknown() {
- xxx_messageInfo_DeleteDocumentRequest.DiscardUnknown(m)
-}
-
-var xxx_messageInfo_DeleteDocumentRequest proto.InternalMessageInfo
-
-func (m *DeleteDocumentRequest) GetParams() *DeleteDocumentParams {
- if m != nil {
- return m.Params
- }
- return nil
-}
-
-func (m *DeleteDocumentRequest) GetAppId() []byte {
- if m != nil {
- return m.AppId
- }
- return nil
-}
-
-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 (m *DeleteDocumentResponse) Reset() { *m = DeleteDocumentResponse{} }
-func (m *DeleteDocumentResponse) String() string { return proto.CompactTextString(m) }
-func (*DeleteDocumentResponse) ProtoMessage() {}
-func (*DeleteDocumentResponse) Descriptor() ([]byte, []int) {
- return fileDescriptor_search_78ae5a87590ff3d8, []int{20}
-}
-func (m *DeleteDocumentResponse) XXX_Unmarshal(b []byte) error {
- return xxx_messageInfo_DeleteDocumentResponse.Unmarshal(m, b)
-}
-func (m *DeleteDocumentResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
- return xxx_messageInfo_DeleteDocumentResponse.Marshal(b, m, deterministic)
-}
-func (dst *DeleteDocumentResponse) XXX_Merge(src proto.Message) {
- xxx_messageInfo_DeleteDocumentResponse.Merge(dst, src)
-}
-func (m *DeleteDocumentResponse) XXX_Size() int {
- return xxx_messageInfo_DeleteDocumentResponse.Size(m)
-}
-func (m *DeleteDocumentResponse) XXX_DiscardUnknown() {
- xxx_messageInfo_DeleteDocumentResponse.DiscardUnknown(m)
-}
-
-var xxx_messageInfo_DeleteDocumentResponse proto.InternalMessageInfo
-
-func (m *DeleteDocumentResponse) GetStatus() []*RequestStatus {
- if m != nil {
- return m.Status
- }
- return nil
-}
-
-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 (m *ListDocumentsParams) Reset() { *m = ListDocumentsParams{} }
-func (m *ListDocumentsParams) String() string { return proto.CompactTextString(m) }
-func (*ListDocumentsParams) ProtoMessage() {}
-func (*ListDocumentsParams) Descriptor() ([]byte, []int) {
- return fileDescriptor_search_78ae5a87590ff3d8, []int{21}
-}
-func (m *ListDocumentsParams) XXX_Unmarshal(b []byte) error {
- return xxx_messageInfo_ListDocumentsParams.Unmarshal(m, b)
-}
-func (m *ListDocumentsParams) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
- return xxx_messageInfo_ListDocumentsParams.Marshal(b, m, deterministic)
-}
-func (dst *ListDocumentsParams) XXX_Merge(src proto.Message) {
- xxx_messageInfo_ListDocumentsParams.Merge(dst, src)
-}
-func (m *ListDocumentsParams) XXX_Size() int {
- return xxx_messageInfo_ListDocumentsParams.Size(m)
-}
-func (m *ListDocumentsParams) XXX_DiscardUnknown() {
- xxx_messageInfo_ListDocumentsParams.DiscardUnknown(m)
-}
-
-var xxx_messageInfo_ListDocumentsParams proto.InternalMessageInfo
-
-const Default_ListDocumentsParams_IncludeStartDoc bool = true
-const Default_ListDocumentsParams_Limit int32 = 100
-
-func (m *ListDocumentsParams) GetIndexSpec() *IndexSpec {
- if m != nil {
- return m.IndexSpec
- }
- return nil
-}
-
-func (m *ListDocumentsParams) GetStartDocId() string {
- if m != nil && m.StartDocId != nil {
- return *m.StartDocId
- }
- return ""
-}
-
-func (m *ListDocumentsParams) GetIncludeStartDoc() bool {
- if m != nil && m.IncludeStartDoc != nil {
- return *m.IncludeStartDoc
- }
- return Default_ListDocumentsParams_IncludeStartDoc
-}
-
-func (m *ListDocumentsParams) GetLimit() int32 {
- if m != nil && m.Limit != nil {
- return *m.Limit
- }
- return Default_ListDocumentsParams_Limit
-}
-
-func (m *ListDocumentsParams) GetKeysOnly() bool {
- if m != nil && m.KeysOnly != nil {
- return *m.KeysOnly
- }
- return false
-}
-
-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 (m *ListDocumentsRequest) Reset() { *m = ListDocumentsRequest{} }
-func (m *ListDocumentsRequest) String() string { return proto.CompactTextString(m) }
-func (*ListDocumentsRequest) ProtoMessage() {}
-func (*ListDocumentsRequest) Descriptor() ([]byte, []int) {
- return fileDescriptor_search_78ae5a87590ff3d8, []int{22}
-}
-func (m *ListDocumentsRequest) XXX_Unmarshal(b []byte) error {
- return xxx_messageInfo_ListDocumentsRequest.Unmarshal(m, b)
-}
-func (m *ListDocumentsRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
- return xxx_messageInfo_ListDocumentsRequest.Marshal(b, m, deterministic)
-}
-func (dst *ListDocumentsRequest) XXX_Merge(src proto.Message) {
- xxx_messageInfo_ListDocumentsRequest.Merge(dst, src)
-}
-func (m *ListDocumentsRequest) XXX_Size() int {
- return xxx_messageInfo_ListDocumentsRequest.Size(m)
-}
-func (m *ListDocumentsRequest) XXX_DiscardUnknown() {
- xxx_messageInfo_ListDocumentsRequest.DiscardUnknown(m)
-}
-
-var xxx_messageInfo_ListDocumentsRequest proto.InternalMessageInfo
-
-func (m *ListDocumentsRequest) GetParams() *ListDocumentsParams {
- if m != nil {
- return m.Params
- }
- return nil
-}
-
-func (m *ListDocumentsRequest) GetAppId() []byte {
- if m != nil {
- return m.AppId
- }
- return nil
-}
-
-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 (m *ListDocumentsResponse) Reset() { *m = ListDocumentsResponse{} }
-func (m *ListDocumentsResponse) String() string { return proto.CompactTextString(m) }
-func (*ListDocumentsResponse) ProtoMessage() {}
-func (*ListDocumentsResponse) Descriptor() ([]byte, []int) {
- return fileDescriptor_search_78ae5a87590ff3d8, []int{23}
-}
-func (m *ListDocumentsResponse) XXX_Unmarshal(b []byte) error {
- return xxx_messageInfo_ListDocumentsResponse.Unmarshal(m, b)
-}
-func (m *ListDocumentsResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
- return xxx_messageInfo_ListDocumentsResponse.Marshal(b, m, deterministic)
-}
-func (dst *ListDocumentsResponse) XXX_Merge(src proto.Message) {
- xxx_messageInfo_ListDocumentsResponse.Merge(dst, src)
-}
-func (m *ListDocumentsResponse) XXX_Size() int {
- return xxx_messageInfo_ListDocumentsResponse.Size(m)
-}
-func (m *ListDocumentsResponse) XXX_DiscardUnknown() {
- xxx_messageInfo_ListDocumentsResponse.DiscardUnknown(m)
-}
-
-var xxx_messageInfo_ListDocumentsResponse proto.InternalMessageInfo
-
-func (m *ListDocumentsResponse) GetStatus() *RequestStatus {
- if m != nil {
- return m.Status
- }
- return nil
-}
-
-func (m *ListDocumentsResponse) GetDocument() []*Document {
- if m != nil {
- return m.Document
- }
- return nil
-}
-
-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 (m *ListIndexesParams) Reset() { *m = ListIndexesParams{} }
-func (m *ListIndexesParams) String() string { return proto.CompactTextString(m) }
-func (*ListIndexesParams) ProtoMessage() {}
-func (*ListIndexesParams) Descriptor() ([]byte, []int) {
- return fileDescriptor_search_78ae5a87590ff3d8, []int{24}
-}
-func (m *ListIndexesParams) XXX_Unmarshal(b []byte) error {
- return xxx_messageInfo_ListIndexesParams.Unmarshal(m, b)
-}
-func (m *ListIndexesParams) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
- return xxx_messageInfo_ListIndexesParams.Marshal(b, m, deterministic)
-}
-func (dst *ListIndexesParams) XXX_Merge(src proto.Message) {
- xxx_messageInfo_ListIndexesParams.Merge(dst, src)
-}
-func (m *ListIndexesParams) XXX_Size() int {
- return xxx_messageInfo_ListIndexesParams.Size(m)
-}
-func (m *ListIndexesParams) XXX_DiscardUnknown() {
- xxx_messageInfo_ListIndexesParams.DiscardUnknown(m)
-}
-
-var xxx_messageInfo_ListIndexesParams proto.InternalMessageInfo
-
-const Default_ListIndexesParams_Limit int32 = 20
-const Default_ListIndexesParams_IncludeStartIndex bool = true
-const Default_ListIndexesParams_Source IndexSpec_Source = IndexSpec_SEARCH
-
-func (m *ListIndexesParams) GetFetchSchema() bool {
- if m != nil && m.FetchSchema != nil {
- return *m.FetchSchema
- }
- return false
-}
-
-func (m *ListIndexesParams) GetLimit() int32 {
- if m != nil && m.Limit != nil {
- return *m.Limit
- }
- return Default_ListIndexesParams_Limit
-}
-
-func (m *ListIndexesParams) GetNamespace() string {
- if m != nil && m.Namespace != nil {
- return *m.Namespace
- }
- return ""
-}
-
-func (m *ListIndexesParams) GetStartIndexName() string {
- if m != nil && m.StartIndexName != nil {
- return *m.StartIndexName
- }
- return ""
-}
-
-func (m *ListIndexesParams) GetIncludeStartIndex() bool {
- if m != nil && m.IncludeStartIndex != nil {
- return *m.IncludeStartIndex
- }
- return Default_ListIndexesParams_IncludeStartIndex
-}
-
-func (m *ListIndexesParams) GetIndexNamePrefix() string {
- if m != nil && m.IndexNamePrefix != nil {
- return *m.IndexNamePrefix
- }
- return ""
-}
-
-func (m *ListIndexesParams) GetOffset() int32 {
- if m != nil && m.Offset != nil {
- return *m.Offset
- }
- return 0
-}
-
-func (m *ListIndexesParams) GetSource() IndexSpec_Source {
- if m != nil && m.Source != nil {
- return *m.Source
- }
- return Default_ListIndexesParams_Source
-}
-
-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 (m *ListIndexesRequest) Reset() { *m = ListIndexesRequest{} }
-func (m *ListIndexesRequest) String() string { return proto.CompactTextString(m) }
-func (*ListIndexesRequest) ProtoMessage() {}
-func (*ListIndexesRequest) Descriptor() ([]byte, []int) {
- return fileDescriptor_search_78ae5a87590ff3d8, []int{25}
-}
-func (m *ListIndexesRequest) XXX_Unmarshal(b []byte) error {
- return xxx_messageInfo_ListIndexesRequest.Unmarshal(m, b)
-}
-func (m *ListIndexesRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
- return xxx_messageInfo_ListIndexesRequest.Marshal(b, m, deterministic)
-}
-func (dst *ListIndexesRequest) XXX_Merge(src proto.Message) {
- xxx_messageInfo_ListIndexesRequest.Merge(dst, src)
-}
-func (m *ListIndexesRequest) XXX_Size() int {
- return xxx_messageInfo_ListIndexesRequest.Size(m)
-}
-func (m *ListIndexesRequest) XXX_DiscardUnknown() {
- xxx_messageInfo_ListIndexesRequest.DiscardUnknown(m)
-}
-
-var xxx_messageInfo_ListIndexesRequest proto.InternalMessageInfo
-
-func (m *ListIndexesRequest) GetParams() *ListIndexesParams {
- if m != nil {
- return m.Params
- }
- return nil
-}
-
-func (m *ListIndexesRequest) GetAppId() []byte {
- if m != nil {
- return m.AppId
- }
- return nil
-}
-
-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 (m *ListIndexesResponse) Reset() { *m = ListIndexesResponse{} }
-func (m *ListIndexesResponse) String() string { return proto.CompactTextString(m) }
-func (*ListIndexesResponse) ProtoMessage() {}
-func (*ListIndexesResponse) Descriptor() ([]byte, []int) {
- return fileDescriptor_search_78ae5a87590ff3d8, []int{26}
-}
-func (m *ListIndexesResponse) XXX_Unmarshal(b []byte) error {
- return xxx_messageInfo_ListIndexesResponse.Unmarshal(m, b)
-}
-func (m *ListIndexesResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
- return xxx_messageInfo_ListIndexesResponse.Marshal(b, m, deterministic)
-}
-func (dst *ListIndexesResponse) XXX_Merge(src proto.Message) {
- xxx_messageInfo_ListIndexesResponse.Merge(dst, src)
-}
-func (m *ListIndexesResponse) XXX_Size() int {
- return xxx_messageInfo_ListIndexesResponse.Size(m)
-}
-func (m *ListIndexesResponse) XXX_DiscardUnknown() {
- xxx_messageInfo_ListIndexesResponse.DiscardUnknown(m)
-}
-
-var xxx_messageInfo_ListIndexesResponse proto.InternalMessageInfo
-
-func (m *ListIndexesResponse) GetStatus() *RequestStatus {
- if m != nil {
- return m.Status
- }
- return nil
-}
-
-func (m *ListIndexesResponse) GetIndexMetadata() []*IndexMetadata {
- if m != nil {
- return m.IndexMetadata
- }
- return nil
-}
-
-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 (m *DeleteSchemaParams) Reset() { *m = DeleteSchemaParams{} }
-func (m *DeleteSchemaParams) String() string { return proto.CompactTextString(m) }
-func (*DeleteSchemaParams) ProtoMessage() {}
-func (*DeleteSchemaParams) Descriptor() ([]byte, []int) {
- return fileDescriptor_search_78ae5a87590ff3d8, []int{27}
-}
-func (m *DeleteSchemaParams) XXX_Unmarshal(b []byte) error {
- return xxx_messageInfo_DeleteSchemaParams.Unmarshal(m, b)
-}
-func (m *DeleteSchemaParams) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
- return xxx_messageInfo_DeleteSchemaParams.Marshal(b, m, deterministic)
-}
-func (dst *DeleteSchemaParams) XXX_Merge(src proto.Message) {
- xxx_messageInfo_DeleteSchemaParams.Merge(dst, src)
-}
-func (m *DeleteSchemaParams) XXX_Size() int {
- return xxx_messageInfo_DeleteSchemaParams.Size(m)
-}
-func (m *DeleteSchemaParams) XXX_DiscardUnknown() {
- xxx_messageInfo_DeleteSchemaParams.DiscardUnknown(m)
-}
-
-var xxx_messageInfo_DeleteSchemaParams proto.InternalMessageInfo
-
-const Default_DeleteSchemaParams_Source IndexSpec_Source = IndexSpec_SEARCH
-
-func (m *DeleteSchemaParams) GetSource() IndexSpec_Source {
- if m != nil && m.Source != nil {
- return *m.Source
- }
- return Default_DeleteSchemaParams_Source
-}
-
-func (m *DeleteSchemaParams) GetIndexSpec() []*IndexSpec {
- if m != nil {
- return m.IndexSpec
- }
- return nil
-}
-
-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 (m *DeleteSchemaRequest) Reset() { *m = DeleteSchemaRequest{} }
-func (m *DeleteSchemaRequest) String() string { return proto.CompactTextString(m) }
-func (*DeleteSchemaRequest) ProtoMessage() {}
-func (*DeleteSchemaRequest) Descriptor() ([]byte, []int) {
- return fileDescriptor_search_78ae5a87590ff3d8, []int{28}
-}
-func (m *DeleteSchemaRequest) XXX_Unmarshal(b []byte) error {
- return xxx_messageInfo_DeleteSchemaRequest.Unmarshal(m, b)
-}
-func (m *DeleteSchemaRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
- return xxx_messageInfo_DeleteSchemaRequest.Marshal(b, m, deterministic)
-}
-func (dst *DeleteSchemaRequest) XXX_Merge(src proto.Message) {
- xxx_messageInfo_DeleteSchemaRequest.Merge(dst, src)
-}
-func (m *DeleteSchemaRequest) XXX_Size() int {
- return xxx_messageInfo_DeleteSchemaRequest.Size(m)
-}
-func (m *DeleteSchemaRequest) XXX_DiscardUnknown() {
- xxx_messageInfo_DeleteSchemaRequest.DiscardUnknown(m)
-}
-
-var xxx_messageInfo_DeleteSchemaRequest proto.InternalMessageInfo
-
-func (m *DeleteSchemaRequest) GetParams() *DeleteSchemaParams {
- if m != nil {
- return m.Params
- }
- return nil
-}
-
-func (m *DeleteSchemaRequest) GetAppId() []byte {
- if m != nil {
- return m.AppId
- }
- return nil
-}
-
-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 (m *DeleteSchemaResponse) Reset() { *m = DeleteSchemaResponse{} }
-func (m *DeleteSchemaResponse) String() string { return proto.CompactTextString(m) }
-func (*DeleteSchemaResponse) ProtoMessage() {}
-func (*DeleteSchemaResponse) Descriptor() ([]byte, []int) {
- return fileDescriptor_search_78ae5a87590ff3d8, []int{29}
-}
-func (m *DeleteSchemaResponse) XXX_Unmarshal(b []byte) error {
- return xxx_messageInfo_DeleteSchemaResponse.Unmarshal(m, b)
-}
-func (m *DeleteSchemaResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
- return xxx_messageInfo_DeleteSchemaResponse.Marshal(b, m, deterministic)
-}
-func (dst *DeleteSchemaResponse) XXX_Merge(src proto.Message) {
- xxx_messageInfo_DeleteSchemaResponse.Merge(dst, src)
-}
-func (m *DeleteSchemaResponse) XXX_Size() int {
- return xxx_messageInfo_DeleteSchemaResponse.Size(m)
-}
-func (m *DeleteSchemaResponse) XXX_DiscardUnknown() {
- xxx_messageInfo_DeleteSchemaResponse.DiscardUnknown(m)
-}
-
-var xxx_messageInfo_DeleteSchemaResponse proto.InternalMessageInfo
-
-func (m *DeleteSchemaResponse) GetStatus() []*RequestStatus {
- if m != nil {
- return m.Status
- }
- return nil
-}
-
-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 (m *SortSpec) Reset() { *m = SortSpec{} }
-func (m *SortSpec) String() string { return proto.CompactTextString(m) }
-func (*SortSpec) ProtoMessage() {}
-func (*SortSpec) Descriptor() ([]byte, []int) {
- return fileDescriptor_search_78ae5a87590ff3d8, []int{30}
-}
-func (m *SortSpec) XXX_Unmarshal(b []byte) error {
- return xxx_messageInfo_SortSpec.Unmarshal(m, b)
-}
-func (m *SortSpec) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
- return xxx_messageInfo_SortSpec.Marshal(b, m, deterministic)
-}
-func (dst *SortSpec) XXX_Merge(src proto.Message) {
- xxx_messageInfo_SortSpec.Merge(dst, src)
-}
-func (m *SortSpec) XXX_Size() int {
- return xxx_messageInfo_SortSpec.Size(m)
-}
-func (m *SortSpec) XXX_DiscardUnknown() {
- xxx_messageInfo_SortSpec.DiscardUnknown(m)
-}
-
-var xxx_messageInfo_SortSpec proto.InternalMessageInfo
-
-const Default_SortSpec_SortDescending bool = true
-
-func (m *SortSpec) GetSortExpression() string {
- if m != nil && m.SortExpression != nil {
- return *m.SortExpression
- }
- return ""
-}
-
-func (m *SortSpec) GetSortDescending() bool {
- if m != nil && m.SortDescending != nil {
- return *m.SortDescending
- }
- return Default_SortSpec_SortDescending
-}
-
-func (m *SortSpec) GetDefaultValueText() string {
- if m != nil && m.DefaultValueText != nil {
- return *m.DefaultValueText
- }
- return ""
-}
-
-func (m *SortSpec) GetDefaultValueNumeric() float64 {
- if m != nil && m.DefaultValueNumeric != nil {
- return *m.DefaultValueNumeric
- }
- return 0
-}
-
-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 (m *ScorerSpec) Reset() { *m = ScorerSpec{} }
-func (m *ScorerSpec) String() string { return proto.CompactTextString(m) }
-func (*ScorerSpec) ProtoMessage() {}
-func (*ScorerSpec) Descriptor() ([]byte, []int) {
- return fileDescriptor_search_78ae5a87590ff3d8, []int{31}
-}
-func (m *ScorerSpec) XXX_Unmarshal(b []byte) error {
- return xxx_messageInfo_ScorerSpec.Unmarshal(m, b)
-}
-func (m *ScorerSpec) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
- return xxx_messageInfo_ScorerSpec.Marshal(b, m, deterministic)
-}
-func (dst *ScorerSpec) XXX_Merge(src proto.Message) {
- xxx_messageInfo_ScorerSpec.Merge(dst, src)
-}
-func (m *ScorerSpec) XXX_Size() int {
- return xxx_messageInfo_ScorerSpec.Size(m)
-}
-func (m *ScorerSpec) XXX_DiscardUnknown() {
- xxx_messageInfo_ScorerSpec.DiscardUnknown(m)
-}
-
-var xxx_messageInfo_ScorerSpec proto.InternalMessageInfo
-
-const Default_ScorerSpec_Scorer ScorerSpec_Scorer = ScorerSpec_MATCH_SCORER
-const Default_ScorerSpec_Limit int32 = 1000
-
-func (m *ScorerSpec) GetScorer() ScorerSpec_Scorer {
- if m != nil && m.Scorer != nil {
- return *m.Scorer
- }
- return Default_ScorerSpec_Scorer
-}
-
-func (m *ScorerSpec) GetLimit() int32 {
- if m != nil && m.Limit != nil {
- return *m.Limit
- }
- return Default_ScorerSpec_Limit
-}
-
-func (m *ScorerSpec) GetMatchScorerParameters() string {
- if m != nil && m.MatchScorerParameters != nil {
- return *m.MatchScorerParameters
- }
- return ""
-}
-
-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 (m *FieldSpec) Reset() { *m = FieldSpec{} }
-func (m *FieldSpec) String() string { return proto.CompactTextString(m) }
-func (*FieldSpec) ProtoMessage() {}
-func (*FieldSpec) Descriptor() ([]byte, []int) {
- return fileDescriptor_search_78ae5a87590ff3d8, []int{32}
-}
-func (m *FieldSpec) XXX_Unmarshal(b []byte) error {
- return xxx_messageInfo_FieldSpec.Unmarshal(m, b)
-}
-func (m *FieldSpec) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
- return xxx_messageInfo_FieldSpec.Marshal(b, m, deterministic)
-}
-func (dst *FieldSpec) XXX_Merge(src proto.Message) {
- xxx_messageInfo_FieldSpec.Merge(dst, src)
-}
-func (m *FieldSpec) XXX_Size() int {
- return xxx_messageInfo_FieldSpec.Size(m)
-}
-func (m *FieldSpec) XXX_DiscardUnknown() {
- xxx_messageInfo_FieldSpec.DiscardUnknown(m)
-}
-
-var xxx_messageInfo_FieldSpec proto.InternalMessageInfo
-
-func (m *FieldSpec) GetName() []string {
- if m != nil {
- return m.Name
- }
- return nil
-}
-
-func (m *FieldSpec) GetExpression() []*FieldSpec_Expression {
- if m != nil {
- return m.Expression
- }
- return nil
-}
-
-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 (m *FieldSpec_Expression) Reset() { *m = FieldSpec_Expression{} }
-func (m *FieldSpec_Expression) String() string { return proto.CompactTextString(m) }
-func (*FieldSpec_Expression) ProtoMessage() {}
-func (*FieldSpec_Expression) Descriptor() ([]byte, []int) {
- return fileDescriptor_search_78ae5a87590ff3d8, []int{32, 0}
-}
-func (m *FieldSpec_Expression) XXX_Unmarshal(b []byte) error {
- return xxx_messageInfo_FieldSpec_Expression.Unmarshal(m, b)
-}
-func (m *FieldSpec_Expression) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
- return xxx_messageInfo_FieldSpec_Expression.Marshal(b, m, deterministic)
-}
-func (dst *FieldSpec_Expression) XXX_Merge(src proto.Message) {
- xxx_messageInfo_FieldSpec_Expression.Merge(dst, src)
-}
-func (m *FieldSpec_Expression) XXX_Size() int {
- return xxx_messageInfo_FieldSpec_Expression.Size(m)
-}
-func (m *FieldSpec_Expression) XXX_DiscardUnknown() {
- xxx_messageInfo_FieldSpec_Expression.DiscardUnknown(m)
-}
-
-var xxx_messageInfo_FieldSpec_Expression proto.InternalMessageInfo
-
-func (m *FieldSpec_Expression) GetName() string {
- if m != nil && m.Name != nil {
- return *m.Name
- }
- return ""
-}
-
-func (m *FieldSpec_Expression) GetExpression() string {
- if m != nil && m.Expression != nil {
- return *m.Expression
- }
- return ""
-}
-
-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 (m *FacetRange) Reset() { *m = FacetRange{} }
-func (m *FacetRange) String() string { return proto.CompactTextString(m) }
-func (*FacetRange) ProtoMessage() {}
-func (*FacetRange) Descriptor() ([]byte, []int) {
- return fileDescriptor_search_78ae5a87590ff3d8, []int{33}
-}
-func (m *FacetRange) XXX_Unmarshal(b []byte) error {
- return xxx_messageInfo_FacetRange.Unmarshal(m, b)
-}
-func (m *FacetRange) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
- return xxx_messageInfo_FacetRange.Marshal(b, m, deterministic)
-}
-func (dst *FacetRange) XXX_Merge(src proto.Message) {
- xxx_messageInfo_FacetRange.Merge(dst, src)
-}
-func (m *FacetRange) XXX_Size() int {
- return xxx_messageInfo_FacetRange.Size(m)
-}
-func (m *FacetRange) XXX_DiscardUnknown() {
- xxx_messageInfo_FacetRange.DiscardUnknown(m)
-}
-
-var xxx_messageInfo_FacetRange proto.InternalMessageInfo
-
-func (m *FacetRange) GetName() string {
- if m != nil && m.Name != nil {
- return *m.Name
- }
- return ""
-}
-
-func (m *FacetRange) GetStart() string {
- if m != nil && m.Start != nil {
- return *m.Start
- }
- return ""
-}
-
-func (m *FacetRange) GetEnd() string {
- if m != nil && m.End != nil {
- return *m.End
- }
- return ""
-}
-
-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 (m *FacetRequestParam) Reset() { *m = FacetRequestParam{} }
-func (m *FacetRequestParam) String() string { return proto.CompactTextString(m) }
-func (*FacetRequestParam) ProtoMessage() {}
-func (*FacetRequestParam) Descriptor() ([]byte, []int) {
- return fileDescriptor_search_78ae5a87590ff3d8, []int{34}
-}
-func (m *FacetRequestParam) XXX_Unmarshal(b []byte) error {
- return xxx_messageInfo_FacetRequestParam.Unmarshal(m, b)
-}
-func (m *FacetRequestParam) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
- return xxx_messageInfo_FacetRequestParam.Marshal(b, m, deterministic)
-}
-func (dst *FacetRequestParam) XXX_Merge(src proto.Message) {
- xxx_messageInfo_FacetRequestParam.Merge(dst, src)
-}
-func (m *FacetRequestParam) XXX_Size() int {
- return xxx_messageInfo_FacetRequestParam.Size(m)
-}
-func (m *FacetRequestParam) XXX_DiscardUnknown() {
- xxx_messageInfo_FacetRequestParam.DiscardUnknown(m)
-}
-
-var xxx_messageInfo_FacetRequestParam proto.InternalMessageInfo
-
-func (m *FacetRequestParam) GetValueLimit() int32 {
- if m != nil && m.ValueLimit != nil {
- return *m.ValueLimit
- }
- return 0
-}
-
-func (m *FacetRequestParam) GetRange() []*FacetRange {
- if m != nil {
- return m.Range
- }
- return nil
-}
-
-func (m *FacetRequestParam) GetValueConstraint() []string {
- if m != nil {
- return m.ValueConstraint
- }
- return nil
-}
-
-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 (m *FacetAutoDetectParam) Reset() { *m = FacetAutoDetectParam{} }
-func (m *FacetAutoDetectParam) String() string { return proto.CompactTextString(m) }
-func (*FacetAutoDetectParam) ProtoMessage() {}
-func (*FacetAutoDetectParam) Descriptor() ([]byte, []int) {
- return fileDescriptor_search_78ae5a87590ff3d8, []int{35}
-}
-func (m *FacetAutoDetectParam) XXX_Unmarshal(b []byte) error {
- return xxx_messageInfo_FacetAutoDetectParam.Unmarshal(m, b)
-}
-func (m *FacetAutoDetectParam) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
- return xxx_messageInfo_FacetAutoDetectParam.Marshal(b, m, deterministic)
-}
-func (dst *FacetAutoDetectParam) XXX_Merge(src proto.Message) {
- xxx_messageInfo_FacetAutoDetectParam.Merge(dst, src)
-}
-func (m *FacetAutoDetectParam) XXX_Size() int {
- return xxx_messageInfo_FacetAutoDetectParam.Size(m)
-}
-func (m *FacetAutoDetectParam) XXX_DiscardUnknown() {
- xxx_messageInfo_FacetAutoDetectParam.DiscardUnknown(m)
-}
-
-var xxx_messageInfo_FacetAutoDetectParam proto.InternalMessageInfo
-
-const Default_FacetAutoDetectParam_ValueLimit int32 = 10
-
-func (m *FacetAutoDetectParam) GetValueLimit() int32 {
- if m != nil && m.ValueLimit != nil {
- return *m.ValueLimit
- }
- return Default_FacetAutoDetectParam_ValueLimit
-}
-
-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 (m *FacetRequest) Reset() { *m = FacetRequest{} }
-func (m *FacetRequest) String() string { return proto.CompactTextString(m) }
-func (*FacetRequest) ProtoMessage() {}
-func (*FacetRequest) Descriptor() ([]byte, []int) {
- return fileDescriptor_search_78ae5a87590ff3d8, []int{36}
-}
-func (m *FacetRequest) XXX_Unmarshal(b []byte) error {
- return xxx_messageInfo_FacetRequest.Unmarshal(m, b)
-}
-func (m *FacetRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
- return xxx_messageInfo_FacetRequest.Marshal(b, m, deterministic)
-}
-func (dst *FacetRequest) XXX_Merge(src proto.Message) {
- xxx_messageInfo_FacetRequest.Merge(dst, src)
-}
-func (m *FacetRequest) XXX_Size() int {
- return xxx_messageInfo_FacetRequest.Size(m)
-}
-func (m *FacetRequest) XXX_DiscardUnknown() {
- xxx_messageInfo_FacetRequest.DiscardUnknown(m)
-}
-
-var xxx_messageInfo_FacetRequest proto.InternalMessageInfo
-
-func (m *FacetRequest) GetName() string {
- if m != nil && m.Name != nil {
- return *m.Name
- }
- return ""
-}
-
-func (m *FacetRequest) GetParams() *FacetRequestParam {
- if m != nil {
- return m.Params
- }
- return nil
-}
-
-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 (m *FacetRefinement) Reset() { *m = FacetRefinement{} }
-func (m *FacetRefinement) String() string { return proto.CompactTextString(m) }
-func (*FacetRefinement) ProtoMessage() {}
-func (*FacetRefinement) Descriptor() ([]byte, []int) {
- return fileDescriptor_search_78ae5a87590ff3d8, []int{37}
-}
-func (m *FacetRefinement) XXX_Unmarshal(b []byte) error {
- return xxx_messageInfo_FacetRefinement.Unmarshal(m, b)
-}
-func (m *FacetRefinement) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
- return xxx_messageInfo_FacetRefinement.Marshal(b, m, deterministic)
-}
-func (dst *FacetRefinement) XXX_Merge(src proto.Message) {
- xxx_messageInfo_FacetRefinement.Merge(dst, src)
-}
-func (m *FacetRefinement) XXX_Size() int {
- return xxx_messageInfo_FacetRefinement.Size(m)
-}
-func (m *FacetRefinement) XXX_DiscardUnknown() {
- xxx_messageInfo_FacetRefinement.DiscardUnknown(m)
-}
-
-var xxx_messageInfo_FacetRefinement proto.InternalMessageInfo
-
-func (m *FacetRefinement) GetName() string {
- if m != nil && m.Name != nil {
- return *m.Name
- }
- return ""
-}
-
-func (m *FacetRefinement) GetValue() string {
- if m != nil && m.Value != nil {
- return *m.Value
- }
- return ""
-}
-
-func (m *FacetRefinement) GetRange() *FacetRefinement_Range {
- if m != nil {
- return m.Range
- }
- return nil
-}
-
-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 (m *FacetRefinement_Range) Reset() { *m = FacetRefinement_Range{} }
-func (m *FacetRefinement_Range) String() string { return proto.CompactTextString(m) }
-func (*FacetRefinement_Range) ProtoMessage() {}
-func (*FacetRefinement_Range) Descriptor() ([]byte, []int) {
- return fileDescriptor_search_78ae5a87590ff3d8, []int{37, 0}
-}
-func (m *FacetRefinement_Range) XXX_Unmarshal(b []byte) error {
- return xxx_messageInfo_FacetRefinement_Range.Unmarshal(m, b)
-}
-func (m *FacetRefinement_Range) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
- return xxx_messageInfo_FacetRefinement_Range.Marshal(b, m, deterministic)
-}
-func (dst *FacetRefinement_Range) XXX_Merge(src proto.Message) {
- xxx_messageInfo_FacetRefinement_Range.Merge(dst, src)
-}
-func (m *FacetRefinement_Range) XXX_Size() int {
- return xxx_messageInfo_FacetRefinement_Range.Size(m)
-}
-func (m *FacetRefinement_Range) XXX_DiscardUnknown() {
- xxx_messageInfo_FacetRefinement_Range.DiscardUnknown(m)
-}
-
-var xxx_messageInfo_FacetRefinement_Range proto.InternalMessageInfo
-
-func (m *FacetRefinement_Range) GetStart() string {
- if m != nil && m.Start != nil {
- return *m.Start
- }
- return ""
-}
-
-func (m *FacetRefinement_Range) GetEnd() string {
- if m != nil && m.End != nil {
- return *m.End
- }
- return ""
-}
-
-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 `protobuf:"varint,5,opt,name=cursor_type,json=cursorType,enum=search.SearchParams_CursorType,def=0" json:"cursor_type,omitempty"`
- 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 `protobuf:"varint,13,opt,name=parsing_mode,json=parsingMode,enum=search.SearchParams_ParsingMode,def=0" json:"parsing_mode,omitempty"`
- AutoDiscoverFacetCount *int32 `protobuf:"varint,15,opt,name=auto_discover_facet_count,json=autoDiscoverFacetCount,def=0" json:"auto_discover_facet_count,omitempty"`
- 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 (m *SearchParams) Reset() { *m = SearchParams{} }
-func (m *SearchParams) String() string { return proto.CompactTextString(m) }
-func (*SearchParams) ProtoMessage() {}
-func (*SearchParams) Descriptor() ([]byte, []int) {
- return fileDescriptor_search_78ae5a87590ff3d8, []int{38}
-}
-func (m *SearchParams) XXX_Unmarshal(b []byte) error {
- return xxx_messageInfo_SearchParams.Unmarshal(m, b)
-}
-func (m *SearchParams) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
- return xxx_messageInfo_SearchParams.Marshal(b, m, deterministic)
-}
-func (dst *SearchParams) XXX_Merge(src proto.Message) {
- xxx_messageInfo_SearchParams.Merge(dst, src)
-}
-func (m *SearchParams) XXX_Size() int {
- return xxx_messageInfo_SearchParams.Size(m)
-}
-func (m *SearchParams) XXX_DiscardUnknown() {
- xxx_messageInfo_SearchParams.DiscardUnknown(m)
-}
-
-var xxx_messageInfo_SearchParams proto.InternalMessageInfo
-
-const Default_SearchParams_CursorType SearchParams_CursorType = SearchParams_NONE
-const Default_SearchParams_Limit int32 = 20
-const Default_SearchParams_ParsingMode SearchParams_ParsingMode = SearchParams_STRICT
-const Default_SearchParams_AutoDiscoverFacetCount int32 = 0
-const Default_SearchParams_FacetDepth int32 = 1000
-
-func (m *SearchParams) GetIndexSpec() *IndexSpec {
- if m != nil {
- return m.IndexSpec
- }
- return nil
-}
-
-func (m *SearchParams) GetQuery() string {
- if m != nil && m.Query != nil {
- return *m.Query
- }
- return ""
-}
-
-func (m *SearchParams) GetCursor() string {
- if m != nil && m.Cursor != nil {
- return *m.Cursor
- }
- return ""
-}
-
-func (m *SearchParams) GetOffset() int32 {
- if m != nil && m.Offset != nil {
- return *m.Offset
- }
- return 0
-}
-
-func (m *SearchParams) GetCursorType() SearchParams_CursorType {
- if m != nil && m.CursorType != nil {
- return *m.CursorType
- }
- return Default_SearchParams_CursorType
-}
-
-func (m *SearchParams) GetLimit() int32 {
- if m != nil && m.Limit != nil {
- return *m.Limit
- }
- return Default_SearchParams_Limit
-}
-
-func (m *SearchParams) GetMatchedCountAccuracy() int32 {
- if m != nil && m.MatchedCountAccuracy != nil {
- return *m.MatchedCountAccuracy
- }
- return 0
-}
-
-func (m *SearchParams) GetSortSpec() []*SortSpec {
- if m != nil {
- return m.SortSpec
- }
- return nil
-}
-
-func (m *SearchParams) GetScorerSpec() *ScorerSpec {
- if m != nil {
- return m.ScorerSpec
- }
- return nil
-}
-
-func (m *SearchParams) GetFieldSpec() *FieldSpec {
- if m != nil {
- return m.FieldSpec
- }
- return nil
-}
-
-func (m *SearchParams) GetKeysOnly() bool {
- if m != nil && m.KeysOnly != nil {
- return *m.KeysOnly
- }
- return false
-}
-
-func (m *SearchParams) GetParsingMode() SearchParams_ParsingMode {
- if m != nil && m.ParsingMode != nil {
- return *m.ParsingMode
- }
- return Default_SearchParams_ParsingMode
-}
-
-func (m *SearchParams) GetAutoDiscoverFacetCount() int32 {
- if m != nil && m.AutoDiscoverFacetCount != nil {
- return *m.AutoDiscoverFacetCount
- }
- return Default_SearchParams_AutoDiscoverFacetCount
-}
-
-func (m *SearchParams) GetIncludeFacet() []*FacetRequest {
- if m != nil {
- return m.IncludeFacet
- }
- return nil
-}
-
-func (m *SearchParams) GetFacetRefinement() []*FacetRefinement {
- if m != nil {
- return m.FacetRefinement
- }
- return nil
-}
-
-func (m *SearchParams) GetFacetAutoDetectParam() *FacetAutoDetectParam {
- if m != nil {
- return m.FacetAutoDetectParam
- }
- return nil
-}
-
-func (m *SearchParams) GetFacetDepth() int32 {
- if m != nil && m.FacetDepth != nil {
- return *m.FacetDepth
- }
- return Default_SearchParams_FacetDepth
-}
-
-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 (m *SearchRequest) Reset() { *m = SearchRequest{} }
-func (m *SearchRequest) String() string { return proto.CompactTextString(m) }
-func (*SearchRequest) ProtoMessage() {}
-func (*SearchRequest) Descriptor() ([]byte, []int) {
- return fileDescriptor_search_78ae5a87590ff3d8, []int{39}
-}
-func (m *SearchRequest) XXX_Unmarshal(b []byte) error {
- return xxx_messageInfo_SearchRequest.Unmarshal(m, b)
-}
-func (m *SearchRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
- return xxx_messageInfo_SearchRequest.Marshal(b, m, deterministic)
-}
-func (dst *SearchRequest) XXX_Merge(src proto.Message) {
- xxx_messageInfo_SearchRequest.Merge(dst, src)
-}
-func (m *SearchRequest) XXX_Size() int {
- return xxx_messageInfo_SearchRequest.Size(m)
-}
-func (m *SearchRequest) XXX_DiscardUnknown() {
- xxx_messageInfo_SearchRequest.DiscardUnknown(m)
-}
-
-var xxx_messageInfo_SearchRequest proto.InternalMessageInfo
-
-func (m *SearchRequest) GetParams() *SearchParams {
- if m != nil {
- return m.Params
- }
- return nil
-}
-
-func (m *SearchRequest) GetAppId() []byte {
- if m != nil {
- return m.AppId
- }
- return nil
-}
-
-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 (m *FacetResultValue) Reset() { *m = FacetResultValue{} }
-func (m *FacetResultValue) String() string { return proto.CompactTextString(m) }
-func (*FacetResultValue) ProtoMessage() {}
-func (*FacetResultValue) Descriptor() ([]byte, []int) {
- return fileDescriptor_search_78ae5a87590ff3d8, []int{40}
-}
-func (m *FacetResultValue) XXX_Unmarshal(b []byte) error {
- return xxx_messageInfo_FacetResultValue.Unmarshal(m, b)
-}
-func (m *FacetResultValue) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
- return xxx_messageInfo_FacetResultValue.Marshal(b, m, deterministic)
-}
-func (dst *FacetResultValue) XXX_Merge(src proto.Message) {
- xxx_messageInfo_FacetResultValue.Merge(dst, src)
-}
-func (m *FacetResultValue) XXX_Size() int {
- return xxx_messageInfo_FacetResultValue.Size(m)
-}
-func (m *FacetResultValue) XXX_DiscardUnknown() {
- xxx_messageInfo_FacetResultValue.DiscardUnknown(m)
-}
-
-var xxx_messageInfo_FacetResultValue proto.InternalMessageInfo
-
-func (m *FacetResultValue) GetName() string {
- if m != nil && m.Name != nil {
- return *m.Name
- }
- return ""
-}
-
-func (m *FacetResultValue) GetCount() int32 {
- if m != nil && m.Count != nil {
- return *m.Count
- }
- return 0
-}
-
-func (m *FacetResultValue) GetRefinement() *FacetRefinement {
- if m != nil {
- return m.Refinement
- }
- return nil
-}
-
-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 (m *FacetResult) Reset() { *m = FacetResult{} }
-func (m *FacetResult) String() string { return proto.CompactTextString(m) }
-func (*FacetResult) ProtoMessage() {}
-func (*FacetResult) Descriptor() ([]byte, []int) {
- return fileDescriptor_search_78ae5a87590ff3d8, []int{41}
-}
-func (m *FacetResult) XXX_Unmarshal(b []byte) error {
- return xxx_messageInfo_FacetResult.Unmarshal(m, b)
-}
-func (m *FacetResult) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
- return xxx_messageInfo_FacetResult.Marshal(b, m, deterministic)
-}
-func (dst *FacetResult) XXX_Merge(src proto.Message) {
- xxx_messageInfo_FacetResult.Merge(dst, src)
-}
-func (m *FacetResult) XXX_Size() int {
- return xxx_messageInfo_FacetResult.Size(m)
-}
-func (m *FacetResult) XXX_DiscardUnknown() {
- xxx_messageInfo_FacetResult.DiscardUnknown(m)
-}
-
-var xxx_messageInfo_FacetResult proto.InternalMessageInfo
-
-func (m *FacetResult) GetName() string {
- if m != nil && m.Name != nil {
- return *m.Name
- }
- return ""
-}
-
-func (m *FacetResult) GetValue() []*FacetResultValue {
- if m != nil {
- return m.Value
- }
- return nil
-}
-
-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 (m *SearchResult) Reset() { *m = SearchResult{} }
-func (m *SearchResult) String() string { return proto.CompactTextString(m) }
-func (*SearchResult) ProtoMessage() {}
-func (*SearchResult) Descriptor() ([]byte, []int) {
- return fileDescriptor_search_78ae5a87590ff3d8, []int{42}
-}
-func (m *SearchResult) XXX_Unmarshal(b []byte) error {
- return xxx_messageInfo_SearchResult.Unmarshal(m, b)
-}
-func (m *SearchResult) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
- return xxx_messageInfo_SearchResult.Marshal(b, m, deterministic)
-}
-func (dst *SearchResult) XXX_Merge(src proto.Message) {
- xxx_messageInfo_SearchResult.Merge(dst, src)
-}
-func (m *SearchResult) XXX_Size() int {
- return xxx_messageInfo_SearchResult.Size(m)
-}
-func (m *SearchResult) XXX_DiscardUnknown() {
- xxx_messageInfo_SearchResult.DiscardUnknown(m)
-}
-
-var xxx_messageInfo_SearchResult proto.InternalMessageInfo
-
-func (m *SearchResult) GetDocument() *Document {
- if m != nil {
- return m.Document
- }
- return nil
-}
-
-func (m *SearchResult) GetExpression() []*Field {
- if m != nil {
- return m.Expression
- }
- return nil
-}
-
-func (m *SearchResult) GetScore() []float64 {
- if m != nil {
- return m.Score
- }
- return nil
-}
-
-func (m *SearchResult) GetCursor() string {
- if m != nil && m.Cursor != nil {
- return *m.Cursor
- }
- return ""
-}
-
-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 (m *SearchResponse) Reset() { *m = SearchResponse{} }
-func (m *SearchResponse) String() string { return proto.CompactTextString(m) }
-func (*SearchResponse) ProtoMessage() {}
-func (*SearchResponse) Descriptor() ([]byte, []int) {
- return fileDescriptor_search_78ae5a87590ff3d8, []int{43}
-}
-
-var extRange_SearchResponse = []proto.ExtensionRange{
- {Start: 1000, End: 9999},
-}
-
-func (*SearchResponse) ExtensionRangeArray() []proto.ExtensionRange {
- return extRange_SearchResponse
-}
-func (m *SearchResponse) XXX_Unmarshal(b []byte) error {
- return xxx_messageInfo_SearchResponse.Unmarshal(m, b)
-}
-func (m *SearchResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
- return xxx_messageInfo_SearchResponse.Marshal(b, m, deterministic)
-}
-func (dst *SearchResponse) XXX_Merge(src proto.Message) {
- xxx_messageInfo_SearchResponse.Merge(dst, src)
-}
-func (m *SearchResponse) XXX_Size() int {
- return xxx_messageInfo_SearchResponse.Size(m)
-}
-func (m *SearchResponse) XXX_DiscardUnknown() {
- xxx_messageInfo_SearchResponse.DiscardUnknown(m)
-}
-
-var xxx_messageInfo_SearchResponse proto.InternalMessageInfo
-
-func (m *SearchResponse) GetResult() []*SearchResult {
- if m != nil {
- return m.Result
- }
- return nil
-}
-
-func (m *SearchResponse) GetMatchedCount() int64 {
- if m != nil && m.MatchedCount != nil {
- return *m.MatchedCount
- }
- return 0
-}
-
-func (m *SearchResponse) GetStatus() *RequestStatus {
- if m != nil {
- return m.Status
- }
- return nil
-}
-
-func (m *SearchResponse) GetCursor() string {
- if m != nil && m.Cursor != nil {
- return *m.Cursor
- }
- return ""
-}
-
-func (m *SearchResponse) GetFacetResult() []*FacetResult {
- if m != nil {
- return m.FacetResult
- }
- return nil
-}
-
-func init() {
- proto.RegisterType((*Scope)(nil), "search.Scope")
- proto.RegisterType((*Entry)(nil), "search.Entry")
- proto.RegisterType((*AccessControlList)(nil), "search.AccessControlList")
- proto.RegisterType((*FieldValue)(nil), "search.FieldValue")
- proto.RegisterType((*FieldValue_Geo)(nil), "search.FieldValue.Geo")
- proto.RegisterType((*Field)(nil), "search.Field")
- proto.RegisterType((*FieldTypes)(nil), "search.FieldTypes")
- proto.RegisterType((*IndexShardSettings)(nil), "search.IndexShardSettings")
- proto.RegisterType((*FacetValue)(nil), "search.FacetValue")
- proto.RegisterType((*Facet)(nil), "search.Facet")
- proto.RegisterType((*DocumentMetadata)(nil), "search.DocumentMetadata")
- proto.RegisterType((*Document)(nil), "search.Document")
- proto.RegisterType((*SearchServiceError)(nil), "search.SearchServiceError")
- proto.RegisterType((*RequestStatus)(nil), "search.RequestStatus")
- proto.RegisterType((*IndexSpec)(nil), "search.IndexSpec")
- proto.RegisterType((*IndexMetadata)(nil), "search.IndexMetadata")
- proto.RegisterType((*IndexMetadata_Storage)(nil), "search.IndexMetadata.Storage")
- proto.RegisterType((*IndexDocumentParams)(nil), "search.IndexDocumentParams")
- proto.RegisterType((*IndexDocumentRequest)(nil), "search.IndexDocumentRequest")
- proto.RegisterType((*IndexDocumentResponse)(nil), "search.IndexDocumentResponse")
- proto.RegisterType((*DeleteDocumentParams)(nil), "search.DeleteDocumentParams")
- proto.RegisterType((*DeleteDocumentRequest)(nil), "search.DeleteDocumentRequest")
- proto.RegisterType((*DeleteDocumentResponse)(nil), "search.DeleteDocumentResponse")
- proto.RegisterType((*ListDocumentsParams)(nil), "search.ListDocumentsParams")
- proto.RegisterType((*ListDocumentsRequest)(nil), "search.ListDocumentsRequest")
- proto.RegisterType((*ListDocumentsResponse)(nil), "search.ListDocumentsResponse")
- proto.RegisterType((*ListIndexesParams)(nil), "search.ListIndexesParams")
- proto.RegisterType((*ListIndexesRequest)(nil), "search.ListIndexesRequest")
- proto.RegisterType((*ListIndexesResponse)(nil), "search.ListIndexesResponse")
- proto.RegisterType((*DeleteSchemaParams)(nil), "search.DeleteSchemaParams")
- proto.RegisterType((*DeleteSchemaRequest)(nil), "search.DeleteSchemaRequest")
- proto.RegisterType((*DeleteSchemaResponse)(nil), "search.DeleteSchemaResponse")
- proto.RegisterType((*SortSpec)(nil), "search.SortSpec")
- proto.RegisterType((*ScorerSpec)(nil), "search.ScorerSpec")
- proto.RegisterType((*FieldSpec)(nil), "search.FieldSpec")
- proto.RegisterType((*FieldSpec_Expression)(nil), "search.FieldSpec.Expression")
- proto.RegisterType((*FacetRange)(nil), "search.FacetRange")
- proto.RegisterType((*FacetRequestParam)(nil), "search.FacetRequestParam")
- proto.RegisterType((*FacetAutoDetectParam)(nil), "search.FacetAutoDetectParam")
- proto.RegisterType((*FacetRequest)(nil), "search.FacetRequest")
- proto.RegisterType((*FacetRefinement)(nil), "search.FacetRefinement")
- proto.RegisterType((*FacetRefinement_Range)(nil), "search.FacetRefinement.Range")
- proto.RegisterType((*SearchParams)(nil), "search.SearchParams")
- proto.RegisterType((*SearchRequest)(nil), "search.SearchRequest")
- proto.RegisterType((*FacetResultValue)(nil), "search.FacetResultValue")
- proto.RegisterType((*FacetResult)(nil), "search.FacetResult")
- proto.RegisterType((*SearchResult)(nil), "search.SearchResult")
- proto.RegisterType((*SearchResponse)(nil), "search.SearchResponse")
-}
-
-func init() {
- proto.RegisterFile("google.golang.org/appengine/internal/search/search.proto", fileDescriptor_search_78ae5a87590ff3d8)
-}
-
-var fileDescriptor_search_78ae5a87590ff3d8 = []byte{
- // 2994 bytes of a gzipped FileDescriptorProto
- 0x1f, 0x8b, 0x08, 0x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 0xe4, 0x5a, 0x5e, 0xcc, 0xe8, 0x9d, 0x42,
- 0xc5, 0x47, 0x86, 0x00, 0x0b, 0x59, 0x02, 0xd4, 0xff, 0xae, 0xc0, 0x5a, 0xea, 0x9b, 0x68, 0x03,
- 0x6f, 0x41, 0x29, 0x44, 0x3f, 0x65, 0x1b, 0x38, 0x87, 0x9e, 0xd8, 0x03, 0x95, 0x3a, 0xe4, 0x06,
- 0xd4, 0x72, 0x3c, 0x86, 0x30, 0x14, 0xe8, 0x6a, 0x96, 0xbe, 0x32, 0x9d, 0x65, 0xe1, 0xfb, 0xf4,
- 0xf0, 0xaf, 0x62, 0xeb, 0x8f, 0x61, 0x35, 0x29, 0x42, 0xf4, 0xaf, 0x88, 0xfe, 0x6d, 0x2e, 0x88,
- 0x3f, 0xad, 0x9e, 0xcd, 0x3e, 0x3e, 0x2a, 0x95, 0xff, 0xb6, 0xa2, 0xfd, 0xac, 0xfb, 0xb0, 0xfc,
- 0xbf, 0xf2, 0xff, 0xb5, 0xff, 0x0a, 0x00, 0x00, 0xff, 0xff, 0x09, 0x6f, 0x4d, 0x63, 0xf2, 0x1d,
- 0x00, 0x00,
-}
diff --git a/internal/search/search.proto b/internal/search/search.proto
deleted file mode 100644
index 61df650..0000000
--- a/internal/search/search.proto
+++ /dev/null
@@ -1,394 +0,0 @@
-syntax = "proto2";
-option go_package = "search";
-
-package search;
-
-message Scope {
- enum Type {
- 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;
- }
-
- optional Type type = 1;
- optional string value = 2;
-}
-
-message Entry {
- enum Permission {
- READ = 1;
- WRITE = 2;
- FULL_CONTROL = 3;
- }
-
- optional Scope scope = 1;
- optional Permission permission = 2;
- optional string display_name = 3;
-}
-
-message AccessControlList {
- optional string owner = 1;
- repeated Entry entries = 2;
-}
-
-message FieldValue {
- enum ContentType {
- TEXT = 0;
- HTML = 1;
- ATOM = 2;
- DATE = 3;
- NUMBER = 4;
- GEO = 5;
- }
-
- optional ContentType type = 1 [default = TEXT];
-
- optional string language = 2 [default = "en"];
-
- optional string string_value = 3;
-
- optional group Geo = 4 {
- required double lat = 5;
- required double lng = 6;
- }
-}
-
-message Field {
- required string name = 1;
- required FieldValue value = 2;
-}
-
-message FieldTypes {
- required string name = 1;
- repeated FieldValue.ContentType type = 2;
-}
-
-message IndexShardSettings {
- repeated int32 prev_num_shards = 1;
- required int32 num_shards = 2 [default=1];
- repeated int32 prev_num_shards_search_false = 3;
- optional string local_replica = 4 [default = ""];
-}
-
-message FacetValue {
- enum ContentType {
- ATOM = 2;
- NUMBER = 4;
- }
-
- optional ContentType type = 1 [default = ATOM];
- optional string string_value = 3;
-}
-
-message Facet {
- required string name = 1;
- required FacetValue value = 2;
-}
-
-message DocumentMetadata {
- optional int64 version = 1;
- optional int64 committed_st_version = 2;
-}
-
-message Document {
- optional string id = 1;
- optional string language = 2 [default = "en"];
- repeated Field field = 3;
- optional int32 order_id = 4;
- optional OrderIdSource order_id_source = 6 [default = SUPPLIED];
-
- enum OrderIdSource {
- DEFAULTED = 0;
- SUPPLIED = 1;
- }
-
- enum Storage {
- DISK = 0;
- }
-
- optional Storage storage = 5 [default = DISK];
- repeated Facet facet = 8;
-}
-
-message SearchServiceError {
- enum ErrorCode {
- OK = 0;
- INVALID_REQUEST = 1;
- TRANSIENT_ERROR = 2;
- INTERNAL_ERROR = 3;
- PERMISSION_DENIED = 4;
- TIMEOUT = 5;
- CONCURRENT_TRANSACTION = 6;
- }
-}
-
-message RequestStatus {
- required SearchServiceError.ErrorCode code = 1;
- optional string error_detail = 2;
- optional int32 canonical_code = 3;
-}
-
-message IndexSpec {
- required string name = 1;
-
- enum Consistency {
- GLOBAL = 0;
- PER_DOCUMENT = 1;
- }
- optional Consistency consistency = 2 [default = PER_DOCUMENT];
-
- optional string namespace = 3;
- optional int32 version = 4;
-
- enum Source {
- SEARCH = 0;
- DATASTORE = 1;
- CLOUD_STORAGE = 2;
- }
- optional Source source = 5 [default = SEARCH];
-
- enum Mode {
- PRIORITY = 0;
- BACKGROUND = 1;
- }
- optional Mode mode = 6 [default = PRIORITY];
-}
-
-message IndexMetadata {
- required IndexSpec index_spec = 1;
-
- repeated FieldTypes field = 2;
-
- message Storage {
- optional int64 amount_used = 1;
- optional int64 limit = 2;
- }
- optional Storage storage = 3;
-}
-
-message IndexDocumentParams {
- repeated Document document = 1;
-
- enum Freshness {
- SYNCHRONOUSLY = 0;
- WHEN_CONVENIENT = 1;
- }
- optional Freshness freshness = 2 [default = SYNCHRONOUSLY, deprecated=true];
-
- required IndexSpec index_spec = 3;
-}
-
-message IndexDocumentRequest {
- required IndexDocumentParams params = 1;
-
- optional bytes app_id = 3;
-}
-
-message IndexDocumentResponse {
- repeated RequestStatus status = 1;
-
- repeated string doc_id = 2;
-}
-
-message DeleteDocumentParams {
- repeated string doc_id = 1;
-
- required IndexSpec index_spec = 2;
-}
-
-message DeleteDocumentRequest {
- required DeleteDocumentParams params = 1;
-
- optional bytes app_id = 3;
-}
-
-message DeleteDocumentResponse {
- repeated RequestStatus status = 1;
-}
-
-message ListDocumentsParams {
- required IndexSpec index_spec = 1;
- optional string start_doc_id = 2;
- optional bool include_start_doc = 3 [default = true];
- optional int32 limit = 4 [default = 100];
- optional bool keys_only = 5;
-}
-
-message ListDocumentsRequest {
- required ListDocumentsParams params = 1;
-
- optional bytes app_id = 2;
-}
-
-message ListDocumentsResponse {
- required RequestStatus status = 1;
-
- repeated Document document = 2;
-}
-
-message ListIndexesParams {
- optional bool fetch_schema = 1;
- optional int32 limit = 2 [default = 20];
- optional string namespace = 3;
- optional string start_index_name = 4;
- optional bool include_start_index = 5 [default = true];
- optional string index_name_prefix = 6;
- optional int32 offset = 7;
- optional IndexSpec.Source source = 8 [default = SEARCH];
-}
-
-message ListIndexesRequest {
- required ListIndexesParams params = 1;
-
- optional bytes app_id = 3;
-}
-
-message ListIndexesResponse {
- required RequestStatus status = 1;
- repeated IndexMetadata index_metadata = 2;
-}
-
-message DeleteSchemaParams {
- optional IndexSpec.Source source = 1 [default = SEARCH];
- repeated IndexSpec index_spec = 2;
-}
-
-message DeleteSchemaRequest {
- required DeleteSchemaParams params = 1;
-
- optional bytes app_id = 3;
-}
-
-message DeleteSchemaResponse {
- repeated RequestStatus status = 1;
-}
-
-message SortSpec {
- required string sort_expression = 1;
- optional bool sort_descending = 2 [default = true];
- optional string default_value_text = 4;
- optional double default_value_numeric = 5;
-}
-
-message ScorerSpec {
- enum Scorer {
- RESCORING_MATCH_SCORER = 0;
- MATCH_SCORER = 2;
- }
- optional Scorer scorer = 1 [default = MATCH_SCORER];
-
- optional int32 limit = 2 [default = 1000];
- optional string match_scorer_parameters = 9;
-}
-
-message FieldSpec {
- repeated string name = 1;
-
- repeated group Expression = 2 {
- required string name = 3;
- required string expression = 4;
- }
-}
-
-message FacetRange {
- optional string name = 1;
- optional string start = 2;
- optional string end = 3;
-}
-
-message FacetRequestParam {
- optional int32 value_limit = 1;
- repeated FacetRange range = 2;
- repeated string value_constraint = 3;
-}
-
-message FacetAutoDetectParam {
- optional int32 value_limit = 1 [default = 10];
-}
-
-message FacetRequest {
- required string name = 1;
- optional FacetRequestParam params = 2;
-}
-
-message FacetRefinement {
- required string name = 1;
- optional string value = 2;
-
- message Range {
- optional string start = 1;
- optional string end = 2;
- }
- optional Range range = 3;
-}
-
-message SearchParams {
- required IndexSpec index_spec = 1;
- required string query = 2;
- optional string cursor = 4;
- optional int32 offset = 11;
-
- enum CursorType {
- NONE = 0;
- SINGLE = 1;
- PER_RESULT = 2;
- }
- optional CursorType cursor_type = 5 [default = NONE];
-
- optional int32 limit = 6 [default = 20];
- optional int32 matched_count_accuracy = 7;
- repeated SortSpec sort_spec = 8;
- optional ScorerSpec scorer_spec = 9;
- optional FieldSpec field_spec = 10;
- optional bool keys_only = 12;
-
- enum ParsingMode {
- STRICT = 0;
- RELAXED = 1;
- }
- optional ParsingMode parsing_mode = 13 [default = STRICT];
-
- optional int32 auto_discover_facet_count = 15 [default = 0];
- repeated FacetRequest include_facet = 16;
- repeated FacetRefinement facet_refinement = 17;
- optional FacetAutoDetectParam facet_auto_detect_param = 18;
- optional int32 facet_depth = 19 [default=1000];
-}
-
-message SearchRequest {
- required SearchParams params = 1;
-
- optional bytes app_id = 3;
-}
-
-message FacetResultValue {
- required string name = 1;
- required int32 count = 2;
- required FacetRefinement refinement = 3;
-}
-
-message FacetResult {
- required string name = 1;
- repeated FacetResultValue value = 2;
-}
-
-message SearchResult {
- required Document document = 1;
- repeated Field expression = 4;
- repeated double score = 2;
- optional string cursor = 3;
-}
-
-message SearchResponse {
- repeated SearchResult result = 1;
- required int64 matched_count = 2;
- required RequestStatus status = 3;
- optional string cursor = 4;
- repeated FacetResult facet_result = 5;
-
- extensions 1000 to 9999;
-}
diff --git a/internal/xmpp/xmpp_service.pb.go b/internal/xmpp/xmpp_service.pb.go
deleted file mode 100644
index a35e9b4..0000000
--- a/internal/xmpp/xmpp_service.pb.go
+++ /dev/null
@@ -1,726 +0,0 @@
-// Code generated by protoc-gen-go. DO NOT EDIT.
-// source: google.golang.org/appengine/internal/xmpp/xmpp_service.proto
-
-package xmpp
-
-import proto "github.com/golang/protobuf/proto"
-import fmt "fmt"
-import math "math"
-
-// Reference imports to suppress errors if they are not otherwise used.
-var _ = proto.Marshal
-var _ = fmt.Errorf
-var _ = math.Inf
-
-// This is a compile-time assertion to ensure that this generated file
-// is compatible with the proto package it is being compiled against.
-// A compilation error at this line likely means your copy of the
-// proto package needs to be updated.
-const _ = proto.ProtoPackageIsVersion2 // please upgrade the proto package
-
-type XmppServiceError_ErrorCode int32
-
-const (
- XmppServiceError_UNSPECIFIED_ERROR XmppServiceError_ErrorCode = 1
- XmppServiceError_INVALID_JID XmppServiceError_ErrorCode = 2
- XmppServiceError_NO_BODY XmppServiceError_ErrorCode = 3
- XmppServiceError_INVALID_XML XmppServiceError_ErrorCode = 4
- XmppServiceError_INVALID_TYPE XmppServiceError_ErrorCode = 5
- XmppServiceError_INVALID_SHOW XmppServiceError_ErrorCode = 6
- XmppServiceError_EXCEEDED_MAX_SIZE XmppServiceError_ErrorCode = 7
- XmppServiceError_APPID_ALIAS_REQUIRED XmppServiceError_ErrorCode = 8
- XmppServiceError_NONDEFAULT_MODULE XmppServiceError_ErrorCode = 9
-)
-
-var XmppServiceError_ErrorCode_name = map[int32]string{
- 1: "UNSPECIFIED_ERROR",
- 2: "INVALID_JID",
- 3: "NO_BODY",
- 4: "INVALID_XML",
- 5: "INVALID_TYPE",
- 6: "INVALID_SHOW",
- 7: "EXCEEDED_MAX_SIZE",
- 8: "APPID_ALIAS_REQUIRED",
- 9: "NONDEFAULT_MODULE",
-}
-var XmppServiceError_ErrorCode_value = map[string]int32{
- "UNSPECIFIED_ERROR": 1,
- "INVALID_JID": 2,
- "NO_BODY": 3,
- "INVALID_XML": 4,
- "INVALID_TYPE": 5,
- "INVALID_SHOW": 6,
- "EXCEEDED_MAX_SIZE": 7,
- "APPID_ALIAS_REQUIRED": 8,
- "NONDEFAULT_MODULE": 9,
-}
-
-func (x XmppServiceError_ErrorCode) Enum() *XmppServiceError_ErrorCode {
- p := new(XmppServiceError_ErrorCode)
- *p = x
- return p
-}
-func (x XmppServiceError_ErrorCode) String() string {
- return proto.EnumName(XmppServiceError_ErrorCode_name, int32(x))
-}
-func (x *XmppServiceError_ErrorCode) UnmarshalJSON(data []byte) error {
- value, err := proto.UnmarshalJSONEnum(XmppServiceError_ErrorCode_value, data, "XmppServiceError_ErrorCode")
- if err != nil {
- return err
- }
- *x = XmppServiceError_ErrorCode(value)
- return nil
-}
-func (XmppServiceError_ErrorCode) EnumDescriptor() ([]byte, []int) {
- return fileDescriptor_xmpp_service_628da92437bed65f, []int{0, 0}
-}
-
-type PresenceResponse_SHOW int32
-
-const (
- PresenceResponse_NORMAL PresenceResponse_SHOW = 0
- PresenceResponse_AWAY PresenceResponse_SHOW = 1
- PresenceResponse_DO_NOT_DISTURB PresenceResponse_SHOW = 2
- PresenceResponse_CHAT PresenceResponse_SHOW = 3
- PresenceResponse_EXTENDED_AWAY PresenceResponse_SHOW = 4
-)
-
-var PresenceResponse_SHOW_name = map[int32]string{
- 0: "NORMAL",
- 1: "AWAY",
- 2: "DO_NOT_DISTURB",
- 3: "CHAT",
- 4: "EXTENDED_AWAY",
-}
-var PresenceResponse_SHOW_value = map[string]int32{
- "NORMAL": 0,
- "AWAY": 1,
- "DO_NOT_DISTURB": 2,
- "CHAT": 3,
- "EXTENDED_AWAY": 4,
-}
-
-func (x PresenceResponse_SHOW) Enum() *PresenceResponse_SHOW {
- p := new(PresenceResponse_SHOW)
- *p = x
- return p
-}
-func (x PresenceResponse_SHOW) String() string {
- return proto.EnumName(PresenceResponse_SHOW_name, int32(x))
-}
-func (x *PresenceResponse_SHOW) UnmarshalJSON(data []byte) error {
- value, err := proto.UnmarshalJSONEnum(PresenceResponse_SHOW_value, data, "PresenceResponse_SHOW")
- if err != nil {
- return err
- }
- *x = PresenceResponse_SHOW(value)
- return nil
-}
-func (PresenceResponse_SHOW) EnumDescriptor() ([]byte, []int) {
- return fileDescriptor_xmpp_service_628da92437bed65f, []int{2, 0}
-}
-
-type XmppMessageResponse_XmppMessageStatus int32
-
-const (
- XmppMessageResponse_NO_ERROR XmppMessageResponse_XmppMessageStatus = 0
- XmppMessageResponse_INVALID_JID XmppMessageResponse_XmppMessageStatus = 1
- XmppMessageResponse_OTHER_ERROR XmppMessageResponse_XmppMessageStatus = 2
-)
-
-var XmppMessageResponse_XmppMessageStatus_name = map[int32]string{
- 0: "NO_ERROR",
- 1: "INVALID_JID",
- 2: "OTHER_ERROR",
-}
-var XmppMessageResponse_XmppMessageStatus_value = map[string]int32{
- "NO_ERROR": 0,
- "INVALID_JID": 1,
- "OTHER_ERROR": 2,
-}
-
-func (x XmppMessageResponse_XmppMessageStatus) Enum() *XmppMessageResponse_XmppMessageStatus {
- p := new(XmppMessageResponse_XmppMessageStatus)
- *p = x
- return p
-}
-func (x XmppMessageResponse_XmppMessageStatus) String() string {
- return proto.EnumName(XmppMessageResponse_XmppMessageStatus_name, int32(x))
-}
-func (x *XmppMessageResponse_XmppMessageStatus) UnmarshalJSON(data []byte) error {
- value, err := proto.UnmarshalJSONEnum(XmppMessageResponse_XmppMessageStatus_value, data, "XmppMessageResponse_XmppMessageStatus")
- if err != nil {
- return err
- }
- *x = XmppMessageResponse_XmppMessageStatus(value)
- return nil
-}
-func (XmppMessageResponse_XmppMessageStatus) EnumDescriptor() ([]byte, []int) {
- return fileDescriptor_xmpp_service_628da92437bed65f, []int{6, 0}
-}
-
-type XmppServiceError struct {
- XXX_NoUnkeyedLiteral struct{} `json:"-"`
- XXX_unrecognized []byte `json:"-"`
- XXX_sizecache int32 `json:"-"`
-}
-
-func (m *XmppServiceError) Reset() { *m = XmppServiceError{} }
-func (m *XmppServiceError) String() string { return proto.CompactTextString(m) }
-func (*XmppServiceError) ProtoMessage() {}
-func (*XmppServiceError) Descriptor() ([]byte, []int) {
- return fileDescriptor_xmpp_service_628da92437bed65f, []int{0}
-}
-func (m *XmppServiceError) XXX_Unmarshal(b []byte) error {
- return xxx_messageInfo_XmppServiceError.Unmarshal(m, b)
-}
-func (m *XmppServiceError) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
- return xxx_messageInfo_XmppServiceError.Marshal(b, m, deterministic)
-}
-func (dst *XmppServiceError) XXX_Merge(src proto.Message) {
- xxx_messageInfo_XmppServiceError.Merge(dst, src)
-}
-func (m *XmppServiceError) XXX_Size() int {
- return xxx_messageInfo_XmppServiceError.Size(m)
-}
-func (m *XmppServiceError) XXX_DiscardUnknown() {
- xxx_messageInfo_XmppServiceError.DiscardUnknown(m)
-}
-
-var xxx_messageInfo_XmppServiceError proto.InternalMessageInfo
-
-type PresenceRequest struct {
- Jid *string `protobuf:"bytes,1,req,name=jid" json:"jid,omitempty"`
- FromJid *string `protobuf:"bytes,2,opt,name=from_jid,json=fromJid" json:"from_jid,omitempty"`
- XXX_NoUnkeyedLiteral struct{} `json:"-"`
- XXX_unrecognized []byte `json:"-"`
- XXX_sizecache int32 `json:"-"`
-}
-
-func (m *PresenceRequest) Reset() { *m = PresenceRequest{} }
-func (m *PresenceRequest) String() string { return proto.CompactTextString(m) }
-func (*PresenceRequest) ProtoMessage() {}
-func (*PresenceRequest) Descriptor() ([]byte, []int) {
- return fileDescriptor_xmpp_service_628da92437bed65f, []int{1}
-}
-func (m *PresenceRequest) XXX_Unmarshal(b []byte) error {
- return xxx_messageInfo_PresenceRequest.Unmarshal(m, b)
-}
-func (m *PresenceRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
- return xxx_messageInfo_PresenceRequest.Marshal(b, m, deterministic)
-}
-func (dst *PresenceRequest) XXX_Merge(src proto.Message) {
- xxx_messageInfo_PresenceRequest.Merge(dst, src)
-}
-func (m *PresenceRequest) XXX_Size() int {
- return xxx_messageInfo_PresenceRequest.Size(m)
-}
-func (m *PresenceRequest) XXX_DiscardUnknown() {
- xxx_messageInfo_PresenceRequest.DiscardUnknown(m)
-}
-
-var xxx_messageInfo_PresenceRequest proto.InternalMessageInfo
-
-func (m *PresenceRequest) GetJid() string {
- if m != nil && m.Jid != nil {
- return *m.Jid
- }
- return ""
-}
-
-func (m *PresenceRequest) GetFromJid() string {
- if m != nil && m.FromJid != nil {
- return *m.FromJid
- }
- return ""
-}
-
-type PresenceResponse struct {
- IsAvailable *bool `protobuf:"varint,1,req,name=is_available,json=isAvailable" json:"is_available,omitempty"`
- Presence *PresenceResponse_SHOW `protobuf:"varint,2,opt,name=presence,enum=appengine.PresenceResponse_SHOW" json:"presence,omitempty"`
- Valid *bool `protobuf:"varint,3,opt,name=valid" json:"valid,omitempty"`
- XXX_NoUnkeyedLiteral struct{} `json:"-"`
- XXX_unrecognized []byte `json:"-"`
- XXX_sizecache int32 `json:"-"`
-}
-
-func (m *PresenceResponse) Reset() { *m = PresenceResponse{} }
-func (m *PresenceResponse) String() string { return proto.CompactTextString(m) }
-func (*PresenceResponse) ProtoMessage() {}
-func (*PresenceResponse) Descriptor() ([]byte, []int) {
- return fileDescriptor_xmpp_service_628da92437bed65f, []int{2}
-}
-func (m *PresenceResponse) XXX_Unmarshal(b []byte) error {
- return xxx_messageInfo_PresenceResponse.Unmarshal(m, b)
-}
-func (m *PresenceResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
- return xxx_messageInfo_PresenceResponse.Marshal(b, m, deterministic)
-}
-func (dst *PresenceResponse) XXX_Merge(src proto.Message) {
- xxx_messageInfo_PresenceResponse.Merge(dst, src)
-}
-func (m *PresenceResponse) XXX_Size() int {
- return xxx_messageInfo_PresenceResponse.Size(m)
-}
-func (m *PresenceResponse) XXX_DiscardUnknown() {
- xxx_messageInfo_PresenceResponse.DiscardUnknown(m)
-}
-
-var xxx_messageInfo_PresenceResponse proto.InternalMessageInfo
-
-func (m *PresenceResponse) GetIsAvailable() bool {
- if m != nil && m.IsAvailable != nil {
- return *m.IsAvailable
- }
- return false
-}
-
-func (m *PresenceResponse) GetPresence() PresenceResponse_SHOW {
- if m != nil && m.Presence != nil {
- return *m.Presence
- }
- return PresenceResponse_NORMAL
-}
-
-func (m *PresenceResponse) GetValid() bool {
- if m != nil && m.Valid != nil {
- return *m.Valid
- }
- return false
-}
-
-type BulkPresenceRequest struct {
- Jid []string `protobuf:"bytes,1,rep,name=jid" json:"jid,omitempty"`
- FromJid *string `protobuf:"bytes,2,opt,name=from_jid,json=fromJid" json:"from_jid,omitempty"`
- XXX_NoUnkeyedLiteral struct{} `json:"-"`
- XXX_unrecognized []byte `json:"-"`
- XXX_sizecache int32 `json:"-"`
-}
-
-func (m *BulkPresenceRequest) Reset() { *m = BulkPresenceRequest{} }
-func (m *BulkPresenceRequest) String() string { return proto.CompactTextString(m) }
-func (*BulkPresenceRequest) ProtoMessage() {}
-func (*BulkPresenceRequest) Descriptor() ([]byte, []int) {
- return fileDescriptor_xmpp_service_628da92437bed65f, []int{3}
-}
-func (m *BulkPresenceRequest) XXX_Unmarshal(b []byte) error {
- return xxx_messageInfo_BulkPresenceRequest.Unmarshal(m, b)
-}
-func (m *BulkPresenceRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
- return xxx_messageInfo_BulkPresenceRequest.Marshal(b, m, deterministic)
-}
-func (dst *BulkPresenceRequest) XXX_Merge(src proto.Message) {
- xxx_messageInfo_BulkPresenceRequest.Merge(dst, src)
-}
-func (m *BulkPresenceRequest) XXX_Size() int {
- return xxx_messageInfo_BulkPresenceRequest.Size(m)
-}
-func (m *BulkPresenceRequest) XXX_DiscardUnknown() {
- xxx_messageInfo_BulkPresenceRequest.DiscardUnknown(m)
-}
-
-var xxx_messageInfo_BulkPresenceRequest proto.InternalMessageInfo
-
-func (m *BulkPresenceRequest) GetJid() []string {
- if m != nil {
- return m.Jid
- }
- return nil
-}
-
-func (m *BulkPresenceRequest) GetFromJid() string {
- if m != nil && m.FromJid != nil {
- return *m.FromJid
- }
- return ""
-}
-
-type BulkPresenceResponse struct {
- PresenceResponse []*PresenceResponse `protobuf:"bytes,1,rep,name=presence_response,json=presenceResponse" json:"presence_response,omitempty"`
- XXX_NoUnkeyedLiteral struct{} `json:"-"`
- XXX_unrecognized []byte `json:"-"`
- XXX_sizecache int32 `json:"-"`
-}
-
-func (m *BulkPresenceResponse) Reset() { *m = BulkPresenceResponse{} }
-func (m *BulkPresenceResponse) String() string { return proto.CompactTextString(m) }
-func (*BulkPresenceResponse) ProtoMessage() {}
-func (*BulkPresenceResponse) Descriptor() ([]byte, []int) {
- return fileDescriptor_xmpp_service_628da92437bed65f, []int{4}
-}
-func (m *BulkPresenceResponse) XXX_Unmarshal(b []byte) error {
- return xxx_messageInfo_BulkPresenceResponse.Unmarshal(m, b)
-}
-func (m *BulkPresenceResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
- return xxx_messageInfo_BulkPresenceResponse.Marshal(b, m, deterministic)
-}
-func (dst *BulkPresenceResponse) XXX_Merge(src proto.Message) {
- xxx_messageInfo_BulkPresenceResponse.Merge(dst, src)
-}
-func (m *BulkPresenceResponse) XXX_Size() int {
- return xxx_messageInfo_BulkPresenceResponse.Size(m)
-}
-func (m *BulkPresenceResponse) XXX_DiscardUnknown() {
- xxx_messageInfo_BulkPresenceResponse.DiscardUnknown(m)
-}
-
-var xxx_messageInfo_BulkPresenceResponse proto.InternalMessageInfo
-
-func (m *BulkPresenceResponse) GetPresenceResponse() []*PresenceResponse {
- if m != nil {
- return m.PresenceResponse
- }
- return nil
-}
-
-type XmppMessageRequest struct {
- Jid []string `protobuf:"bytes,1,rep,name=jid" json:"jid,omitempty"`
- Body *string `protobuf:"bytes,2,req,name=body" json:"body,omitempty"`
- RawXml *bool `protobuf:"varint,3,opt,name=raw_xml,json=rawXml,def=0" json:"raw_xml,omitempty"`
- Type *string `protobuf:"bytes,4,opt,name=type,def=chat" json:"type,omitempty"`
- FromJid *string `protobuf:"bytes,5,opt,name=from_jid,json=fromJid" json:"from_jid,omitempty"`
- XXX_NoUnkeyedLiteral struct{} `json:"-"`
- XXX_unrecognized []byte `json:"-"`
- XXX_sizecache int32 `json:"-"`
-}
-
-func (m *XmppMessageRequest) Reset() { *m = XmppMessageRequest{} }
-func (m *XmppMessageRequest) String() string { return proto.CompactTextString(m) }
-func (*XmppMessageRequest) ProtoMessage() {}
-func (*XmppMessageRequest) Descriptor() ([]byte, []int) {
- return fileDescriptor_xmpp_service_628da92437bed65f, []int{5}
-}
-func (m *XmppMessageRequest) XXX_Unmarshal(b []byte) error {
- return xxx_messageInfo_XmppMessageRequest.Unmarshal(m, b)
-}
-func (m *XmppMessageRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
- return xxx_messageInfo_XmppMessageRequest.Marshal(b, m, deterministic)
-}
-func (dst *XmppMessageRequest) XXX_Merge(src proto.Message) {
- xxx_messageInfo_XmppMessageRequest.Merge(dst, src)
-}
-func (m *XmppMessageRequest) XXX_Size() int {
- return xxx_messageInfo_XmppMessageRequest.Size(m)
-}
-func (m *XmppMessageRequest) XXX_DiscardUnknown() {
- xxx_messageInfo_XmppMessageRequest.DiscardUnknown(m)
-}
-
-var xxx_messageInfo_XmppMessageRequest proto.InternalMessageInfo
-
-const Default_XmppMessageRequest_RawXml bool = false
-const Default_XmppMessageRequest_Type string = "chat"
-
-func (m *XmppMessageRequest) GetJid() []string {
- if m != nil {
- return m.Jid
- }
- return nil
-}
-
-func (m *XmppMessageRequest) GetBody() string {
- if m != nil && m.Body != nil {
- return *m.Body
- }
- return ""
-}
-
-func (m *XmppMessageRequest) GetRawXml() bool {
- if m != nil && m.RawXml != nil {
- return *m.RawXml
- }
- return Default_XmppMessageRequest_RawXml
-}
-
-func (m *XmppMessageRequest) GetType() string {
- if m != nil && m.Type != nil {
- return *m.Type
- }
- return Default_XmppMessageRequest_Type
-}
-
-func (m *XmppMessageRequest) GetFromJid() string {
- if m != nil && m.FromJid != nil {
- return *m.FromJid
- }
- return ""
-}
-
-type XmppMessageResponse struct {
- Status []XmppMessageResponse_XmppMessageStatus `protobuf:"varint,1,rep,name=status,enum=appengine.XmppMessageResponse_XmppMessageStatus" json:"status,omitempty"`
- XXX_NoUnkeyedLiteral struct{} `json:"-"`
- XXX_unrecognized []byte `json:"-"`
- XXX_sizecache int32 `json:"-"`
-}
-
-func (m *XmppMessageResponse) Reset() { *m = XmppMessageResponse{} }
-func (m *XmppMessageResponse) String() string { return proto.CompactTextString(m) }
-func (*XmppMessageResponse) ProtoMessage() {}
-func (*XmppMessageResponse) Descriptor() ([]byte, []int) {
- return fileDescriptor_xmpp_service_628da92437bed65f, []int{6}
-}
-func (m *XmppMessageResponse) XXX_Unmarshal(b []byte) error {
- return xxx_messageInfo_XmppMessageResponse.Unmarshal(m, b)
-}
-func (m *XmppMessageResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
- return xxx_messageInfo_XmppMessageResponse.Marshal(b, m, deterministic)
-}
-func (dst *XmppMessageResponse) XXX_Merge(src proto.Message) {
- xxx_messageInfo_XmppMessageResponse.Merge(dst, src)
-}
-func (m *XmppMessageResponse) XXX_Size() int {
- return xxx_messageInfo_XmppMessageResponse.Size(m)
-}
-func (m *XmppMessageResponse) XXX_DiscardUnknown() {
- xxx_messageInfo_XmppMessageResponse.DiscardUnknown(m)
-}
-
-var xxx_messageInfo_XmppMessageResponse proto.InternalMessageInfo
-
-func (m *XmppMessageResponse) GetStatus() []XmppMessageResponse_XmppMessageStatus {
- if m != nil {
- return m.Status
- }
- return nil
-}
-
-type XmppSendPresenceRequest struct {
- Jid *string `protobuf:"bytes,1,req,name=jid" json:"jid,omitempty"`
- Type *string `protobuf:"bytes,2,opt,name=type" json:"type,omitempty"`
- Show *string `protobuf:"bytes,3,opt,name=show" json:"show,omitempty"`
- Status *string `protobuf:"bytes,4,opt,name=status" json:"status,omitempty"`
- FromJid *string `protobuf:"bytes,5,opt,name=from_jid,json=fromJid" json:"from_jid,omitempty"`
- XXX_NoUnkeyedLiteral struct{} `json:"-"`
- XXX_unrecognized []byte `json:"-"`
- XXX_sizecache int32 `json:"-"`
-}
-
-func (m *XmppSendPresenceRequest) Reset() { *m = XmppSendPresenceRequest{} }
-func (m *XmppSendPresenceRequest) String() string { return proto.CompactTextString(m) }
-func (*XmppSendPresenceRequest) ProtoMessage() {}
-func (*XmppSendPresenceRequest) Descriptor() ([]byte, []int) {
- return fileDescriptor_xmpp_service_628da92437bed65f, []int{7}
-}
-func (m *XmppSendPresenceRequest) XXX_Unmarshal(b []byte) error {
- return xxx_messageInfo_XmppSendPresenceRequest.Unmarshal(m, b)
-}
-func (m *XmppSendPresenceRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
- return xxx_messageInfo_XmppSendPresenceRequest.Marshal(b, m, deterministic)
-}
-func (dst *XmppSendPresenceRequest) XXX_Merge(src proto.Message) {
- xxx_messageInfo_XmppSendPresenceRequest.Merge(dst, src)
-}
-func (m *XmppSendPresenceRequest) XXX_Size() int {
- return xxx_messageInfo_XmppSendPresenceRequest.Size(m)
-}
-func (m *XmppSendPresenceRequest) XXX_DiscardUnknown() {
- xxx_messageInfo_XmppSendPresenceRequest.DiscardUnknown(m)
-}
-
-var xxx_messageInfo_XmppSendPresenceRequest proto.InternalMessageInfo
-
-func (m *XmppSendPresenceRequest) GetJid() string {
- if m != nil && m.Jid != nil {
- return *m.Jid
- }
- return ""
-}
-
-func (m *XmppSendPresenceRequest) GetType() string {
- if m != nil && m.Type != nil {
- return *m.Type
- }
- return ""
-}
-
-func (m *XmppSendPresenceRequest) GetShow() string {
- if m != nil && m.Show != nil {
- return *m.Show
- }
- return ""
-}
-
-func (m *XmppSendPresenceRequest) GetStatus() string {
- if m != nil && m.Status != nil {
- return *m.Status
- }
- return ""
-}
-
-func (m *XmppSendPresenceRequest) GetFromJid() string {
- if m != nil && m.FromJid != nil {
- return *m.FromJid
- }
- return ""
-}
-
-type XmppSendPresenceResponse struct {
- XXX_NoUnkeyedLiteral struct{} `json:"-"`
- XXX_unrecognized []byte `json:"-"`
- XXX_sizecache int32 `json:"-"`
-}
-
-func (m *XmppSendPresenceResponse) Reset() { *m = XmppSendPresenceResponse{} }
-func (m *XmppSendPresenceResponse) String() string { return proto.CompactTextString(m) }
-func (*XmppSendPresenceResponse) ProtoMessage() {}
-func (*XmppSendPresenceResponse) Descriptor() ([]byte, []int) {
- return fileDescriptor_xmpp_service_628da92437bed65f, []int{8}
-}
-func (m *XmppSendPresenceResponse) XXX_Unmarshal(b []byte) error {
- return xxx_messageInfo_XmppSendPresenceResponse.Unmarshal(m, b)
-}
-func (m *XmppSendPresenceResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
- return xxx_messageInfo_XmppSendPresenceResponse.Marshal(b, m, deterministic)
-}
-func (dst *XmppSendPresenceResponse) XXX_Merge(src proto.Message) {
- xxx_messageInfo_XmppSendPresenceResponse.Merge(dst, src)
-}
-func (m *XmppSendPresenceResponse) XXX_Size() int {
- return xxx_messageInfo_XmppSendPresenceResponse.Size(m)
-}
-func (m *XmppSendPresenceResponse) XXX_DiscardUnknown() {
- xxx_messageInfo_XmppSendPresenceResponse.DiscardUnknown(m)
-}
-
-var xxx_messageInfo_XmppSendPresenceResponse proto.InternalMessageInfo
-
-type XmppInviteRequest struct {
- Jid *string `protobuf:"bytes,1,req,name=jid" json:"jid,omitempty"`
- FromJid *string `protobuf:"bytes,2,opt,name=from_jid,json=fromJid" json:"from_jid,omitempty"`
- XXX_NoUnkeyedLiteral struct{} `json:"-"`
- XXX_unrecognized []byte `json:"-"`
- XXX_sizecache int32 `json:"-"`
-}
-
-func (m *XmppInviteRequest) Reset() { *m = XmppInviteRequest{} }
-func (m *XmppInviteRequest) String() string { return proto.CompactTextString(m) }
-func (*XmppInviteRequest) ProtoMessage() {}
-func (*XmppInviteRequest) Descriptor() ([]byte, []int) {
- return fileDescriptor_xmpp_service_628da92437bed65f, []int{9}
-}
-func (m *XmppInviteRequest) XXX_Unmarshal(b []byte) error {
- return xxx_messageInfo_XmppInviteRequest.Unmarshal(m, b)
-}
-func (m *XmppInviteRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
- return xxx_messageInfo_XmppInviteRequest.Marshal(b, m, deterministic)
-}
-func (dst *XmppInviteRequest) XXX_Merge(src proto.Message) {
- xxx_messageInfo_XmppInviteRequest.Merge(dst, src)
-}
-func (m *XmppInviteRequest) XXX_Size() int {
- return xxx_messageInfo_XmppInviteRequest.Size(m)
-}
-func (m *XmppInviteRequest) XXX_DiscardUnknown() {
- xxx_messageInfo_XmppInviteRequest.DiscardUnknown(m)
-}
-
-var xxx_messageInfo_XmppInviteRequest proto.InternalMessageInfo
-
-func (m *XmppInviteRequest) GetJid() string {
- if m != nil && m.Jid != nil {
- return *m.Jid
- }
- return ""
-}
-
-func (m *XmppInviteRequest) GetFromJid() string {
- if m != nil && m.FromJid != nil {
- return *m.FromJid
- }
- return ""
-}
-
-type XmppInviteResponse struct {
- XXX_NoUnkeyedLiteral struct{} `json:"-"`
- XXX_unrecognized []byte `json:"-"`
- XXX_sizecache int32 `json:"-"`
-}
-
-func (m *XmppInviteResponse) Reset() { *m = XmppInviteResponse{} }
-func (m *XmppInviteResponse) String() string { return proto.CompactTextString(m) }
-func (*XmppInviteResponse) ProtoMessage() {}
-func (*XmppInviteResponse) Descriptor() ([]byte, []int) {
- return fileDescriptor_xmpp_service_628da92437bed65f, []int{10}
-}
-func (m *XmppInviteResponse) XXX_Unmarshal(b []byte) error {
- return xxx_messageInfo_XmppInviteResponse.Unmarshal(m, b)
-}
-func (m *XmppInviteResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
- return xxx_messageInfo_XmppInviteResponse.Marshal(b, m, deterministic)
-}
-func (dst *XmppInviteResponse) XXX_Merge(src proto.Message) {
- xxx_messageInfo_XmppInviteResponse.Merge(dst, src)
-}
-func (m *XmppInviteResponse) XXX_Size() int {
- return xxx_messageInfo_XmppInviteResponse.Size(m)
-}
-func (m *XmppInviteResponse) XXX_DiscardUnknown() {
- xxx_messageInfo_XmppInviteResponse.DiscardUnknown(m)
-}
-
-var xxx_messageInfo_XmppInviteResponse proto.InternalMessageInfo
-
-func init() {
- proto.RegisterType((*XmppServiceError)(nil), "appengine.XmppServiceError")
- proto.RegisterType((*PresenceRequest)(nil), "appengine.PresenceRequest")
- proto.RegisterType((*PresenceResponse)(nil), "appengine.PresenceResponse")
- proto.RegisterType((*BulkPresenceRequest)(nil), "appengine.BulkPresenceRequest")
- proto.RegisterType((*BulkPresenceResponse)(nil), "appengine.BulkPresenceResponse")
- proto.RegisterType((*XmppMessageRequest)(nil), "appengine.XmppMessageRequest")
- proto.RegisterType((*XmppMessageResponse)(nil), "appengine.XmppMessageResponse")
- proto.RegisterType((*XmppSendPresenceRequest)(nil), "appengine.XmppSendPresenceRequest")
- proto.RegisterType((*XmppSendPresenceResponse)(nil), "appengine.XmppSendPresenceResponse")
- proto.RegisterType((*XmppInviteRequest)(nil), "appengine.XmppInviteRequest")
- proto.RegisterType((*XmppInviteResponse)(nil), "appengine.XmppInviteResponse")
-}
-
-func init() {
- proto.RegisterFile("google.golang.org/appengine/internal/xmpp/xmpp_service.proto", fileDescriptor_xmpp_service_628da92437bed65f)
-}
-
-var fileDescriptor_xmpp_service_628da92437bed65f = []byte{
- // 681 bytes of a gzipped FileDescriptorProto
- 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0x9c, 0x54, 0xcd, 0x72, 0xda, 0x48,
- 0x10, 0xb6, 0x40, 0xfc, 0x35, 0x5e, 0x7b, 0x18, 0xb3, 0xbb, 0xec, 0xa6, 0x2a, 0x45, 0x74, 0xf2,
- 0x09, 0xa7, 0x7c, 0x74, 0xb9, 0x52, 0x11, 0x68, 0x5c, 0xc8, 0x05, 0x12, 0x19, 0x20, 0xc6, 0xbe,
- 0x4c, 0x64, 0x33, 0x96, 0x95, 0x08, 0x49, 0x91, 0x64, 0x6c, 0xbf, 0x40, 0xae, 0x79, 0x89, 0xbc,
- 0x46, 0x5e, 0x22, 0xa7, 0x3c, 0x4e, 0x4a, 0x23, 0x41, 0xc0, 0x4e, 0x9c, 0x54, 0x2e, 0x54, 0xcf,
- 0x37, 0xdd, 0x1f, 0xfd, 0x7d, 0x3d, 0x2d, 0x38, 0xb4, 0x7d, 0xdf, 0x76, 0x79, 0xcb, 0xf6, 0x5d,
- 0xcb, 0xb3, 0x5b, 0x7e, 0x68, 0xef, 0x59, 0x41, 0xc0, 0x3d, 0xdb, 0xf1, 0xf8, 0x9e, 0xe3, 0xc5,
- 0x3c, 0xf4, 0x2c, 0x77, 0xef, 0x76, 0x16, 0x04, 0xe2, 0x87, 0x45, 0x3c, 0x9c, 0x3b, 0x17, 0xbc,
- 0x15, 0x84, 0x7e, 0xec, 0xe3, 0xca, 0x32, 0x57, 0xf9, 0x22, 0x01, 0x9a, 0xcc, 0x82, 0x60, 0x98,
- 0x26, 0x90, 0x30, 0xf4, 0x43, 0xe5, 0xb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x69, 0xb9, 0x11, 0xa7, 0xc5, 0xd0, 0xba, 0x99, 0xcc, 0x5c, 0xdc, 0x00, 0x39, 0xbe,
- 0x0b, 0x78, 0x43, 0x4e, 0x54, 0x1d, 0xc8, 0x17, 0x57, 0x56, 0x4c, 0x05, 0xb2, 0xa6, 0xb9, 0xb0,
- 0xae, 0xf9, 0x93, 0x04, 0x3b, 0x6b, 0x1d, 0x2d, 0x35, 0x17, 0xa3, 0xd8, 0x8a, 0xaf, 0x23, 0xd1,
- 0xd5, 0xd6, 0xfe, 0xf3, 0x15, 0xa1, 0x3f, 0xc8, 0x5f, 0xc5, 0x86, 0xa2, 0x8e, 0x66, 0xf5, 0x4a,
- 0x07, 0x6a, 0x0f, 0x2e, 0xf1, 0x26, 0x94, 0x0d, 0x33, 0x5b, 0xb9, 0x8d, 0xfb, 0x2b, 0x27, 0x76,
- 0xd0, 0x1c, 0x75, 0x09, 0xcd, 0x32, 0x72, 0xca, 0x07, 0x09, 0xfe, 0x4d, 0xd7, 0xd9, 0x9b, 0xfe,
- 0x7a, 0x05, 0x70, 0xe6, 0x44, 0x3a, 0xdf, 0xd4, 0x03, 0x0c, 0x72, 0x74, 0xe5, 0xdf, 0x08, 0xeb,
- 0x2a, 0x54, 0xc4, 0xf8, 0x9f, 0xa5, 0x48, 0xe1, 0xd9, 0xa2, 0xe5, 0xc7, 0xfc, 0xfa, 0x1f, 0x1a,
- 0x0f, 0xfb, 0xc8, 0xa6, 0xfb, 0x32, 0x55, 0xaa, 0x7b, 0x73, 0x27, 0xfe, 0xb3, 0x05, 0xad, 0xa7,
- 0xcf, 0x63, 0xc1, 0x90, 0xf2, 0xb6, 0x8b, 0x67, 0x72, 0xf2, 0xb1, 0xfb, 0x16, 0x00, 0x00, 0xff,
- 0xff, 0x4e, 0x58, 0x2e, 0xb1, 0x1d, 0x05, 0x00, 0x00,
-}
diff --git a/internal/xmpp/xmpp_service.proto b/internal/xmpp/xmpp_service.proto
deleted file mode 100644
index 472d52e..0000000
--- a/internal/xmpp/xmpp_service.proto
+++ /dev/null
@@ -1,83 +0,0 @@
-syntax = "proto2";
-option go_package = "xmpp";
-
-package appengine;
-
-message XmppServiceError {
- enum ErrorCode {
- UNSPECIFIED_ERROR = 1;
- INVALID_JID = 2;
- NO_BODY = 3;
- INVALID_XML = 4;
- INVALID_TYPE = 5;
- INVALID_SHOW = 6;
- EXCEEDED_MAX_SIZE = 7;
- APPID_ALIAS_REQUIRED = 8;
- NONDEFAULT_MODULE = 9;
- }
-}
-
-message PresenceRequest {
- required string jid = 1;
- optional string from_jid = 2;
-}
-
-message PresenceResponse {
- enum SHOW {
- NORMAL = 0;
- AWAY = 1;
- DO_NOT_DISTURB = 2;
- CHAT = 3;
- EXTENDED_AWAY = 4;
- }
-
- required bool is_available = 1;
- optional SHOW presence = 2;
- optional bool valid = 3;
-}
-
-message BulkPresenceRequest {
- repeated string jid = 1;
- optional string from_jid = 2;
-}
-
-message BulkPresenceResponse {
- repeated PresenceResponse presence_response = 1;
-}
-
-message XmppMessageRequest {
- repeated string jid = 1;
- required string body = 2;
- optional bool raw_xml = 3 [ default = false ];
- optional string type = 4 [ default = "chat" ];
- optional string from_jid = 5;
-}
-
-message XmppMessageResponse {
- enum XmppMessageStatus {
- NO_ERROR = 0;
- INVALID_JID = 1;
- OTHER_ERROR = 2;
- }
-
- repeated XmppMessageStatus status = 1;
-}
-
-message XmppSendPresenceRequest {
- required string jid = 1;
- optional string type = 2;
- optional string show = 3;
- optional string status = 4;
- optional string from_jid = 5;
-}
-
-message XmppSendPresenceResponse {
-}
-
-message XmppInviteRequest {
- required string jid = 1;
- optional string from_jid = 2;
-}
-
-message XmppInviteResponse {
-}