xmpp

package
v0.0.0-...-406b485 Latest Latest
Warning

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

Go to latest
Published: Jul 29, 2015 License: Apache-2.0, MIT Imports: 2 Imported by: 0

Documentation

Overview

Package xmpp is a generated protocol buffer package.

It is generated from these files:

google.golang.org/appengine/internal/xmpp/xmpp_service.proto

It has these top-level messages:

XmppServiceError
PresenceRequest
PresenceResponse
BulkPresenceRequest
BulkPresenceResponse
XmppMessageRequest
XmppMessageResponse
XmppSendPresenceRequest
XmppSendPresenceResponse
XmppInviteRequest
XmppInviteResponse

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:"from_jid,omitempty"`
	XXX_unrecognized []byte   `json:"-"`
}

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

type BulkPresenceResponse

type BulkPresenceResponse struct {
	PresenceResponse []*PresenceResponse `protobuf:"bytes,1,rep,name=presence_response" json:"presence_response,omitempty"`
	XXX_unrecognized []byte              `json:"-"`
}

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

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:"from_jid,omitempty"`
	XXX_unrecognized []byte  `json:"-"`
}

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

type PresenceResponse

type PresenceResponse struct {
	IsAvailable      *bool                  `protobuf:"varint,1,req,name=is_available" 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_unrecognized []byte                 `json:"-"`
}

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

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) 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:"from_jid,omitempty"`
	XXX_unrecognized []byte  `json:"-"`
}

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

type XmppInviteResponse

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

func (*XmppInviteResponse) ProtoMessage

func (*XmppInviteResponse) ProtoMessage()

func (*XmppInviteResponse) Reset

func (m *XmppInviteResponse) Reset()

func (*XmppInviteResponse) String

func (m *XmppInviteResponse) String() string

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,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:"from_jid,omitempty"`
	XXX_unrecognized []byte   `json:"-"`
}

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

type XmppMessageResponse

type XmppMessageResponse struct {
	Status           []XmppMessageResponse_XmppMessageStatus `protobuf:"varint,1,rep,name=status,enum=appengine.XmppMessageResponse_XmppMessageStatus" json:"status,omitempty"`
	XXX_unrecognized []byte                                  `json:"-"`
}

func (*XmppMessageResponse) GetStatus

func (*XmppMessageResponse) ProtoMessage

func (*XmppMessageResponse) ProtoMessage()

func (*XmppMessageResponse) Reset

func (m *XmppMessageResponse) Reset()

func (*XmppMessageResponse) String

func (m *XmppMessageResponse) String() string

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) 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:"from_jid,omitempty"`
	XXX_unrecognized []byte  `json:"-"`
}

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

type XmppSendPresenceResponse

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

func (*XmppSendPresenceResponse) ProtoMessage

func (*XmppSendPresenceResponse) ProtoMessage()

func (*XmppSendPresenceResponse) Reset

func (m *XmppSendPresenceResponse) Reset()

func (*XmppSendPresenceResponse) String

func (m *XmppSendPresenceResponse) String() string

type XmppServiceError

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

func (*XmppServiceError) ProtoMessage

func (*XmppServiceError) ProtoMessage()

func (*XmppServiceError) Reset

func (m *XmppServiceError) Reset()

func (*XmppServiceError) String

func (m *XmppServiceError) String() string

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) 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