xmpp

package
v0.0.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Dec 8, 2020 License: Apache-2.0 Imports: 3 Imported by: 0

Documentation

Index

Constants

View Source
const Default_XmppMessageRequest_RawXml bool = false
View Source
const Default_XmppMessageRequest_Type string = "chat"

Variables

View Source
var PresenceResponse_SHOW_name = map[int32]string{
	0: "NORMAL",
	1: "AWAY",
	2: "DO_NOT_DISTURB",
	3: "CHAT",
	4: "EXTENDED_AWAY",
}
View Source
var PresenceResponse_SHOW_value = map[string]int32{
	"NORMAL":         0,
	"AWAY":           1,
	"DO_NOT_DISTURB": 2,
	"CHAT":           3,
	"EXTENDED_AWAY":  4,
}
View Source
var XmppMessageResponse_XmppMessageStatus_name = map[int32]string{
	0: "NO_ERROR",
	1: "INVALID_JID",
	2: "OTHER_ERROR",
}
View Source
var XmppMessageResponse_XmppMessageStatus_value = map[string]int32{
	"NO_ERROR":    0,
	"INVALID_JID": 1,
	"OTHER_ERROR": 2,
}
View Source
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",
}
View Source
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,
}

Functions

This section is empty.

Types

type BulkPresenceRequest

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 (*BulkPresenceRequest) Descriptor

func (*BulkPresenceRequest) Descriptor() ([]byte, []int)

func (*BulkPresenceRequest) GetFromJid

func (m *BulkPresenceRequest) GetFromJid() string

func (*BulkPresenceRequest) GetJid

func (m *BulkPresenceRequest) GetJid() []string

func (*BulkPresenceRequest) ProtoMessage

func (*BulkPresenceRequest) ProtoMessage()

func (*BulkPresenceRequest) Reset

func (m *BulkPresenceRequest) Reset()

func (*BulkPresenceRequest) String

func (m *BulkPresenceRequest) String() string

func (*BulkPresenceRequest) XXX_DiscardUnknown

func (m *BulkPresenceRequest) XXX_DiscardUnknown()

func (*BulkPresenceRequest) XXX_Marshal

func (m *BulkPresenceRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*BulkPresenceRequest) XXX_Merge

func (dst *BulkPresenceRequest) XXX_Merge(src proto.Message)

func (*BulkPresenceRequest) XXX_Size

func (m *BulkPresenceRequest) XXX_Size() int

func (*BulkPresenceRequest) XXX_Unmarshal

func (m *BulkPresenceRequest) XXX_Unmarshal(b []byte) error

type BulkPresenceResponse

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 (*BulkPresenceResponse) Descriptor

func (*BulkPresenceResponse) Descriptor() ([]byte, []int)

func (*BulkPresenceResponse) GetPresenceResponse

func (m *BulkPresenceResponse) GetPresenceResponse() []*PresenceResponse

func (*BulkPresenceResponse) ProtoMessage

func (*BulkPresenceResponse) ProtoMessage()

func (*BulkPresenceResponse) Reset

func (m *BulkPresenceResponse) Reset()

func (*BulkPresenceResponse) String

func (m *BulkPresenceResponse) String() string

func (*BulkPresenceResponse) XXX_DiscardUnknown

func (m *BulkPresenceResponse) XXX_DiscardUnknown()

func (*BulkPresenceResponse) XXX_Marshal

func (m *BulkPresenceResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*BulkPresenceResponse) XXX_Merge

func (dst *BulkPresenceResponse) XXX_Merge(src proto.Message)

func (*BulkPresenceResponse) XXX_Size

func (m *BulkPresenceResponse) XXX_Size() int

func (*BulkPresenceResponse) XXX_Unmarshal

func (m *BulkPresenceResponse) XXX_Unmarshal(b []byte) error

type PresenceRequest

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 (*PresenceRequest) Descriptor

func (*PresenceRequest) Descriptor() ([]byte, []int)

func (*PresenceRequest) GetFromJid

func (m *PresenceRequest) GetFromJid() string

func (*PresenceRequest) GetJid

func (m *PresenceRequest) GetJid() string

func (*PresenceRequest) ProtoMessage

func (*PresenceRequest) ProtoMessage()

func (*PresenceRequest) Reset

func (m *PresenceRequest) Reset()

func (*PresenceRequest) String

func (m *PresenceRequest) String() string

func (*PresenceRequest) XXX_DiscardUnknown

func (m *PresenceRequest) XXX_DiscardUnknown()

func (*PresenceRequest) XXX_Marshal

func (m *PresenceRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*PresenceRequest) XXX_Merge

func (dst *PresenceRequest) XXX_Merge(src proto.Message)

func (*PresenceRequest) XXX_Size

func (m *PresenceRequest) XXX_Size() int

func (*PresenceRequest) XXX_Unmarshal

func (m *PresenceRequest) XXX_Unmarshal(b []byte) error

type PresenceResponse

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 (*PresenceResponse) Descriptor

func (*PresenceResponse) Descriptor() ([]byte, []int)

func (*PresenceResponse) GetIsAvailable

func (m *PresenceResponse) GetIsAvailable() bool

func (*PresenceResponse) GetPresence

func (m *PresenceResponse) GetPresence() PresenceResponse_SHOW

func (*PresenceResponse) GetValid

func (m *PresenceResponse) GetValid() bool

func (*PresenceResponse) ProtoMessage

func (*PresenceResponse) ProtoMessage()

func (*PresenceResponse) Reset

func (m *PresenceResponse) Reset()

func (*PresenceResponse) String

func (m *PresenceResponse) String() string

func (*PresenceResponse) XXX_DiscardUnknown

func (m *PresenceResponse) XXX_DiscardUnknown()

func (*PresenceResponse) XXX_Marshal

func (m *PresenceResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*PresenceResponse) XXX_Merge

func (dst *PresenceResponse) XXX_Merge(src proto.Message)

func (*PresenceResponse) XXX_Size

func (m *PresenceResponse) XXX_Size() int

func (*PresenceResponse) XXX_Unmarshal

func (m *PresenceResponse) XXX_Unmarshal(b []byte) error

type PresenceResponse_SHOW

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
)

func (PresenceResponse_SHOW) Enum

func (PresenceResponse_SHOW) EnumDescriptor

func (PresenceResponse_SHOW) EnumDescriptor() ([]byte, []int)

func (PresenceResponse_SHOW) String

func (x PresenceResponse_SHOW) String() string

func (*PresenceResponse_SHOW) UnmarshalJSON

func (x *PresenceResponse_SHOW) UnmarshalJSON(data []byte) error

type XmppInviteRequest

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 (*XmppInviteRequest) Descriptor

func (*XmppInviteRequest) Descriptor() ([]byte, []int)

func (*XmppInviteRequest) GetFromJid

func (m *XmppInviteRequest) GetFromJid() string

func (*XmppInviteRequest) GetJid

func (m *XmppInviteRequest) GetJid() string

func (*XmppInviteRequest) ProtoMessage

func (*XmppInviteRequest) ProtoMessage()

func (*XmppInviteRequest) Reset

func (m *XmppInviteRequest) Reset()

func (*XmppInviteRequest) String

func (m *XmppInviteRequest) String() string

func (*XmppInviteRequest) XXX_DiscardUnknown

func (m *XmppInviteRequest) XXX_DiscardUnknown()

func (*XmppInviteRequest) XXX_Marshal

func (m *XmppInviteRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*XmppInviteRequest) XXX_Merge

func (dst *XmppInviteRequest) XXX_Merge(src proto.Message)

func (*XmppInviteRequest) XXX_Size

func (m *XmppInviteRequest) XXX_Size() int

func (*XmppInviteRequest) XXX_Unmarshal

func (m *XmppInviteRequest) XXX_Unmarshal(b []byte) error

type XmppInviteResponse

type XmppInviteResponse struct {
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

func (*XmppInviteResponse) Descriptor

func (*XmppInviteResponse) Descriptor() ([]byte, []int)

func (*XmppInviteResponse) ProtoMessage

func (*XmppInviteResponse) ProtoMessage()

func (*XmppInviteResponse) Reset

func (m *XmppInviteResponse) Reset()

func (*XmppInviteResponse) String

func (m *XmppInviteResponse) String() string

func (*XmppInviteResponse) XXX_DiscardUnknown

func (m *XmppInviteResponse) XXX_DiscardUnknown()

func (*XmppInviteResponse) XXX_Marshal

func (m *XmppInviteResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*XmppInviteResponse) XXX_Merge

func (dst *XmppInviteResponse) XXX_Merge(src proto.Message)

func (*XmppInviteResponse) XXX_Size

func (m *XmppInviteResponse) XXX_Size() int

func (*XmppInviteResponse) XXX_Unmarshal

func (m *XmppInviteResponse) XXX_Unmarshal(b []byte) error

type XmppMessageRequest

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 (*XmppMessageRequest) Descriptor

func (*XmppMessageRequest) Descriptor() ([]byte, []int)

func (*XmppMessageRequest) GetBody

func (m *XmppMessageRequest) GetBody() string

func (*XmppMessageRequest) GetFromJid

func (m *XmppMessageRequest) GetFromJid() string

func (*XmppMessageRequest) GetJid

func (m *XmppMessageRequest) GetJid() []string

func (*XmppMessageRequest) GetRawXml

func (m *XmppMessageRequest) GetRawXml() bool

func (*XmppMessageRequest) GetType

func (m *XmppMessageRequest) GetType() string

func (*XmppMessageRequest) ProtoMessage

func (*XmppMessageRequest) ProtoMessage()

func (*XmppMessageRequest) Reset

func (m *XmppMessageRequest) Reset()

func (*XmppMessageRequest) String

func (m *XmppMessageRequest) String() string

func (*XmppMessageRequest) XXX_DiscardUnknown

func (m *XmppMessageRequest) XXX_DiscardUnknown()

func (*XmppMessageRequest) XXX_Marshal

func (m *XmppMessageRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*XmppMessageRequest) XXX_Merge

func (dst *XmppMessageRequest) XXX_Merge(src proto.Message)

func (*XmppMessageRequest) XXX_Size

func (m *XmppMessageRequest) XXX_Size() int

func (*XmppMessageRequest) XXX_Unmarshal

func (m *XmppMessageRequest) XXX_Unmarshal(b []byte) error

type XmppMessageResponse

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 (*XmppMessageResponse) Descriptor

func (*XmppMessageResponse) Descriptor() ([]byte, []int)

func (*XmppMessageResponse) GetStatus

func (*XmppMessageResponse) ProtoMessage

func (*XmppMessageResponse) ProtoMessage()

func (*XmppMessageResponse) Reset

func (m *XmppMessageResponse) Reset()

func (*XmppMessageResponse) String

func (m *XmppMessageResponse) String() string

func (*XmppMessageResponse) XXX_DiscardUnknown

func (m *XmppMessageResponse) XXX_DiscardUnknown()

func (*XmppMessageResponse) XXX_Marshal

func (m *XmppMessageResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*XmppMessageResponse) XXX_Merge

func (dst *XmppMessageResponse) XXX_Merge(src proto.Message)

func (*XmppMessageResponse) XXX_Size

func (m *XmppMessageResponse) XXX_Size() int

func (*XmppMessageResponse) XXX_Unmarshal

func (m *XmppMessageResponse) XXX_Unmarshal(b []byte) error

type XmppMessageResponse_XmppMessageStatus

type XmppMessageResponse_XmppMessageStatus int32
const (
	XmppMessageResponse_NO_ERROR    XmppMessageResponse_XmppMessageStatus = 0
	XmppMessageResponse_INVALID_JID XmppMessageResponse_XmppMessageStatus = 1
	XmppMessageResponse_OTHER_ERROR XmppMessageResponse_XmppMessageStatus = 2
)

func (XmppMessageResponse_XmppMessageStatus) Enum

func (XmppMessageResponse_XmppMessageStatus) EnumDescriptor

func (XmppMessageResponse_XmppMessageStatus) EnumDescriptor() ([]byte, []int)

func (XmppMessageResponse_XmppMessageStatus) String

func (*XmppMessageResponse_XmppMessageStatus) UnmarshalJSON

func (x *XmppMessageResponse_XmppMessageStatus) UnmarshalJSON(data []byte) error

type XmppSendPresenceRequest

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 (*XmppSendPresenceRequest) Descriptor

func (*XmppSendPresenceRequest) Descriptor() ([]byte, []int)

func (*XmppSendPresenceRequest) GetFromJid

func (m *XmppSendPresenceRequest) GetFromJid() string

func (*XmppSendPresenceRequest) GetJid

func (m *XmppSendPresenceRequest) GetJid() string

func (*XmppSendPresenceRequest) GetShow

func (m *XmppSendPresenceRequest) GetShow() string

func (*XmppSendPresenceRequest) GetStatus

func (m *XmppSendPresenceRequest) GetStatus() string

func (*XmppSendPresenceRequest) GetType

func (m *XmppSendPresenceRequest) GetType() string

func (*XmppSendPresenceRequest) ProtoMessage

func (*XmppSendPresenceRequest) ProtoMessage()

func (*XmppSendPresenceRequest) Reset

func (m *XmppSendPresenceRequest) Reset()

func (*XmppSendPresenceRequest) String

func (m *XmppSendPresenceRequest) String() string

func (*XmppSendPresenceRequest) XXX_DiscardUnknown

func (m *XmppSendPresenceRequest) XXX_DiscardUnknown()

func (*XmppSendPresenceRequest) XXX_Marshal

func (m *XmppSendPresenceRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*XmppSendPresenceRequest) XXX_Merge

func (dst *XmppSendPresenceRequest) XXX_Merge(src proto.Message)

func (*XmppSendPresenceRequest) XXX_Size

func (m *XmppSendPresenceRequest) XXX_Size() int

func (*XmppSendPresenceRequest) XXX_Unmarshal

func (m *XmppSendPresenceRequest) XXX_Unmarshal(b []byte) error

type XmppSendPresenceResponse

type XmppSendPresenceResponse struct {
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

func (*XmppSendPresenceResponse) Descriptor

func (*XmppSendPresenceResponse) Descriptor() ([]byte, []int)

func (*XmppSendPresenceResponse) ProtoMessage

func (*XmppSendPresenceResponse) ProtoMessage()

func (*XmppSendPresenceResponse) Reset

func (m *XmppSendPresenceResponse) Reset()

func (*XmppSendPresenceResponse) String

func (m *XmppSendPresenceResponse) String() string

func (*XmppSendPresenceResponse) XXX_DiscardUnknown

func (m *XmppSendPresenceResponse) XXX_DiscardUnknown()

func (*XmppSendPresenceResponse) XXX_Marshal

func (m *XmppSendPresenceResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*XmppSendPresenceResponse) XXX_Merge

func (dst *XmppSendPresenceResponse) XXX_Merge(src proto.Message)

func (*XmppSendPresenceResponse) XXX_Size

func (m *XmppSendPresenceResponse) XXX_Size() int

func (*XmppSendPresenceResponse) XXX_Unmarshal

func (m *XmppSendPresenceResponse) XXX_Unmarshal(b []byte) error

type XmppServiceError

type XmppServiceError struct {
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

func (*XmppServiceError) Descriptor

func (*XmppServiceError) Descriptor() ([]byte, []int)

func (*XmppServiceError) ProtoMessage

func (*XmppServiceError) ProtoMessage()

func (*XmppServiceError) Reset

func (m *XmppServiceError) Reset()

func (*XmppServiceError) String

func (m *XmppServiceError) String() string

func (*XmppServiceError) XXX_DiscardUnknown

func (m *XmppServiceError) XXX_DiscardUnknown()

func (*XmppServiceError) XXX_Marshal

func (m *XmppServiceError) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*XmppServiceError) XXX_Merge

func (dst *XmppServiceError) XXX_Merge(src proto.Message)

func (*XmppServiceError) XXX_Size

func (m *XmppServiceError) XXX_Size() int

func (*XmppServiceError) XXX_Unmarshal

func (m *XmppServiceError) XXX_Unmarshal(b []byte) error

type XmppServiceError_ErrorCode

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
)

func (XmppServiceError_ErrorCode) Enum

func (XmppServiceError_ErrorCode) EnumDescriptor

func (XmppServiceError_ErrorCode) EnumDescriptor() ([]byte, []int)

func (XmppServiceError_ErrorCode) String

func (*XmppServiceError_ErrorCode) UnmarshalJSON

func (x *XmppServiceError_ErrorCode) UnmarshalJSON(data []byte) error

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL