Documentation ¶
Overview ¶
Package hangouts is a generated protocol buffer package.
It is generated from these files:
proto/hangouts.proto
It has these top-level messages:
DoNotDisturbSetting NotificationSettings ConversationId ParticipantId DeviceStatus Presence PresenceResult ClientIdentifier ClientPresenceState UserEventState Formatting LinkData Segment PlusPhoto Place EmbedItem Attachment MessageContent EventAnnotation ChatMessage MembershipChange ConversationRename HangoutEvent OTRModification HashModifier Event UserReadState DeliveryMedium DeliveryMediumOption UserConversationState ConversationParticipantData Conversation EasterEgg BlockStateChange Photo ExistingMedia EventRequestHeader ClientVersion RequestHeader ResponseHeader Entity EntityProperties ConversationState EventContinuationToken EntityLookupSpec ConfigurationBit RichPresenceState RichPresenceEnabledState DesktopOffSetting DesktopOffState DndSetting PresenceStateSetting MoodMessage MoodContent MoodSetting MoodState DeleteAction InviteeID Country DesktopSoundSetting PhoneData Phone I18NData PhoneNumber SuggestedContactGroupHash SuggestedContact SuggestedContactGroup StateUpdate StateUpdateHeader BatchUpdate ConversationNotification EventNotification SetFocusNotification SetTypingNotification SetConversationNotificationLevelNotification ReplyToInviteNotification WatermarkNotification ConversationViewModification EasterEggNotification SelfPresenceNotification DeleteActionNotification PresenceNotification BlockNotification SetNotificationSettingNotification RichPresenceEnabledStateNotification ConversationSpec OffnetworkAddress AddUserRequest AddUserResponse CreateConversationRequest CreateConversationResponse DeleteConversationRequest DeleteConversationResponse EasterEggRequest EasterEggResponse GetConversationRequest GetConversationResponse GetEntityByIdRequest GetEntityByIdResponse GetSuggestedEntitiesRequest GetSuggestedEntitiesResponse GetSelfInfoRequest GetSelfInfoResponse QueryPresenceRequest QueryPresenceResponse RemoveUserRequest RemoveUserResponse RenameConversationRequest RenameConversationResponse SearchEntitiesRequest SearchEntitiesResponse SendChatMessageRequest SendChatMessageResponse SendOffnetworkInvitationRequest SendOffnetworkInvitationResponse SetActiveClientRequest SetActiveClientResponse SetConversationLevelRequest SetConversationLevelResponse SetConversationNotificationLevelRequest SetConversationNotificationLevelResponse SetFocusRequest SetFocusResponse SetPresenceRequest SetPresenceResponse SetTypingRequest SetTypingResponse SyncAllNewEventsRequest SyncAllNewEventsResponse SyncRecentConversationsRequest SyncRecentConversationsResponse UpdateWatermarkRequest UpdateWatermarkResponse
Index ¶
- Variables
- type ActiveClientState
- type AddUserRequest
- type AddUserResponse
- type Attachment
- type BatchUpdate
- type BlockNotification
- type BlockState
- type BlockStateChange
- type CallerIdSettingsMask
- type ChatMessage
- type ClientBuildType
- type ClientId
- type ClientIdentifier
- type ClientPresenceState
- type ClientPresenceStateType
- type ClientVersion
- func (m *ClientVersion) GetBuildType() ClientBuildType
- func (m *ClientVersion) GetClientId() ClientId
- func (m *ClientVersion) GetDeviceHardware() string
- func (m *ClientVersion) GetDeviceOsVersion() string
- func (m *ClientVersion) GetMajorVersion() string
- func (m *ClientVersion) GetVersionTimestamp() uint64
- func (*ClientVersion) ProtoMessage()
- func (m *ClientVersion) Reset()
- func (m *ClientVersion) String() string
- type ConfigurationBit
- type ConfigurationBitType
- type Conversation
- func (m *Conversation) GetConversationHistorySupported() bool
- func (m *Conversation) GetConversationId() *ConversationId
- func (m *Conversation) GetCurrentParticipant() []*ParticipantId
- func (m *Conversation) GetForceHistoryState() ForceHistory
- func (m *Conversation) GetHasActiveHangout() bool
- func (m *Conversation) GetName() string
- func (m *Conversation) GetNetworkType() []NetworkType
- func (m *Conversation) GetOtrStatus() OffTheRecordStatus
- func (m *Conversation) GetOtrToggle() OffTheRecordToggle
- func (m *Conversation) GetParticipantData() []*ConversationParticipantData
- func (m *Conversation) GetReadState() []*UserReadState
- func (m *Conversation) GetSelfConversationState() *UserConversationState
- func (m *Conversation) GetType() ConversationType
- func (*Conversation) ProtoMessage()
- func (m *Conversation) Reset()
- func (m *Conversation) String() string
- type ConversationId
- type ConversationNotification
- type ConversationParticipantData
- func (m *ConversationParticipantData) GetFallbackName() string
- func (m *ConversationParticipantData) GetId() *ParticipantId
- func (m *ConversationParticipantData) GetInvitationStatus() InvitationStatus
- func (m *ConversationParticipantData) GetNewInvitationStatus() InvitationStatus
- func (m *ConversationParticipantData) GetParticipantType() ParticipantType
- func (*ConversationParticipantData) ProtoMessage()
- func (m *ConversationParticipantData) Reset()
- func (m *ConversationParticipantData) String() string
- type ConversationRename
- type ConversationSpec
- type ConversationState
- func (m *ConversationState) GetConversation() *Conversation
- func (m *ConversationState) GetConversationId() *ConversationId
- func (m *ConversationState) GetEvent() []*Event
- func (m *ConversationState) GetEventContinuationToken() *EventContinuationToken
- func (*ConversationState) ProtoMessage()
- func (m *ConversationState) Reset()
- func (m *ConversationState) String() string
- type ConversationStatus
- type ConversationType
- type ConversationView
- type ConversationViewModification
- func (m *ConversationViewModification) GetConversationId() *ConversationId
- func (m *ConversationViewModification) GetNewView() ConversationView
- func (m *ConversationViewModification) GetOldView() ConversationView
- func (*ConversationViewModification) ProtoMessage()
- func (m *ConversationViewModification) Reset()
- func (m *ConversationViewModification) String() string
- type Country
- type CreateConversationRequest
- func (m *CreateConversationRequest) GetClientGeneratedId() uint64
- func (m *CreateConversationRequest) GetInviteeId() []*InviteeID
- func (m *CreateConversationRequest) GetName() string
- func (m *CreateConversationRequest) GetRequestHeader() *RequestHeader
- func (m *CreateConversationRequest) GetType() ConversationType
- func (*CreateConversationRequest) ProtoMessage()
- func (m *CreateConversationRequest) Reset()
- func (m *CreateConversationRequest) String() string
- type CreateConversationResponse
- func (m *CreateConversationResponse) GetConversation() *Conversation
- func (m *CreateConversationResponse) GetNewConversationCreated() bool
- func (m *CreateConversationResponse) GetResponseHeader() *ResponseHeader
- func (*CreateConversationResponse) ProtoMessage()
- func (m *CreateConversationResponse) Reset()
- func (m *CreateConversationResponse) String() string
- type DeleteAction
- type DeleteActionNotification
- type DeleteConversationRequest
- func (m *DeleteConversationRequest) GetConversationId() *ConversationId
- func (m *DeleteConversationRequest) GetDeleteUpperBoundTimestamp() uint64
- func (m *DeleteConversationRequest) GetRequestHeader() *RequestHeader
- func (*DeleteConversationRequest) ProtoMessage()
- func (m *DeleteConversationRequest) Reset()
- func (m *DeleteConversationRequest) String() string
- type DeleteConversationResponse
- type DeleteType
- type DeliveryMedium
- type DeliveryMediumOption
- type DeliveryMediumType
- type DesktopOffSetting
- type DesktopOffState
- type DesktopSoundSetting
- type DeviceStatus
- type DndSetting
- type DoNotDisturbSetting
- type EasterEgg
- type EasterEggNotification
- func (m *EasterEggNotification) GetConversationId() *ConversationId
- func (m *EasterEggNotification) GetEasterEgg() *EasterEgg
- func (m *EasterEggNotification) GetSenderId() *ParticipantId
- func (*EasterEggNotification) ProtoMessage()
- func (m *EasterEggNotification) Reset()
- func (m *EasterEggNotification) String() string
- type EasterEggRequest
- type EasterEggResponse
- type EmbedItem
- type Entity
- func (m *Entity) GetEntityType() ParticipantType
- func (m *Entity) GetHadPastHangoutState() Entity_PastHangoutState
- func (m *Entity) GetId() *ParticipantId
- func (m *Entity) GetPresence() *Presence
- func (m *Entity) GetProperties() *EntityProperties
- func (*Entity) ProtoMessage()
- func (m *Entity) Reset()
- func (m *Entity) String() string
- type EntityLookupSpec
- type EntityProperties
- func (m *EntityProperties) GetCanonicalEmail() string
- func (m *EntityProperties) GetDisplayName() string
- func (m *EntityProperties) GetEmail() []string
- func (m *EntityProperties) GetFirstName() string
- func (m *EntityProperties) GetGender() Gender
- func (m *EntityProperties) GetInUsersDomain() bool
- func (m *EntityProperties) GetPhone() []string
- func (m *EntityProperties) GetPhotoUrl() string
- func (m *EntityProperties) GetPhotoUrlStatus() PhotoUrlStatus
- func (m *EntityProperties) GetType() ProfileType
- func (*EntityProperties) ProtoMessage()
- func (m *EntityProperties) Reset()
- func (m *EntityProperties) String() string
- type Entity_PastHangoutState
- type Event
- func (m *Event) GetAdvancesSortTimestamp() bool
- func (m *Event) GetChatMessage() *ChatMessage
- func (m *Event) GetConversationId() *ConversationId
- func (m *Event) GetConversationRename() *ConversationRename
- func (m *Event) GetEventId() string
- func (m *Event) GetEventType() EventType
- func (m *Event) GetEventVersion() uint64
- func (m *Event) GetExpirationTimestamp() uint64
- func (m *Event) GetHangoutEvent() *HangoutEvent
- func (m *Event) GetHashModifier() *HashModifier
- func (m *Event) GetMediumType() *DeliveryMedium
- func (m *Event) GetMembershipChange() *MembershipChange
- func (m *Event) GetOtrModification() *OTRModification
- func (m *Event) GetOtrStatus() OffTheRecordStatus
- func (m *Event) GetPersisted() bool
- func (m *Event) GetSelfEventState() *UserEventState
- func (m *Event) GetSenderId() *ParticipantId
- func (m *Event) GetSourceType() SourceType
- func (m *Event) GetTimestamp() uint64
- func (*Event) ProtoMessage()
- func (m *Event) Reset()
- func (m *Event) String() string
- type EventAnnotation
- type EventContinuationToken
- func (m *EventContinuationToken) GetEventId() string
- func (m *EventContinuationToken) GetEventTimestamp() uint64
- func (m *EventContinuationToken) GetStorageContinuationToken() []byte
- func (*EventContinuationToken) ProtoMessage()
- func (m *EventContinuationToken) Reset()
- func (m *EventContinuationToken) String() string
- type EventNotification
- type EventRequestHeader
- func (m *EventRequestHeader) GetClientGeneratedId() uint64
- func (m *EventRequestHeader) GetConversationId() *ConversationId
- func (m *EventRequestHeader) GetDeliveryMedium() *DeliveryMedium
- func (m *EventRequestHeader) GetEventType() EventType
- func (m *EventRequestHeader) GetExpectedOtr() OffTheRecordStatus
- func (*EventRequestHeader) ProtoMessage()
- func (m *EventRequestHeader) Reset()
- func (m *EventRequestHeader) String() string
- type EventType
- type ExistingMedia
- type FieldMask
- type FocusDevice
- type FocusType
- type ForceHistory
- type Formatting
- type Gender
- type GetConversationRequest
- func (m *GetConversationRequest) GetConversationSpec() *ConversationSpec
- func (m *GetConversationRequest) GetEventContinuationToken() *EventContinuationToken
- func (m *GetConversationRequest) GetIncludeEvent() bool
- func (m *GetConversationRequest) GetMaxEventsPerConversation() uint64
- func (m *GetConversationRequest) GetRequestHeader() *RequestHeader
- func (*GetConversationRequest) ProtoMessage()
- func (m *GetConversationRequest) Reset()
- func (m *GetConversationRequest) String() string
- type GetConversationResponse
- type GetEntityByIdRequest
- type GetEntityByIdResponse
- type GetSelfInfoRequest
- type GetSelfInfoResponse
- func (m *GetSelfInfoResponse) GetConfigurationBit() []*ConfigurationBit
- func (m *GetSelfInfoResponse) GetDefaultCountry() *Country
- func (m *GetSelfInfoResponse) GetDesktopOffSetting() *DesktopOffSetting
- func (m *GetSelfInfoResponse) GetDesktopOffState() *DesktopOffState
- func (m *GetSelfInfoResponse) GetDesktopSoundSetting() *DesktopSoundSetting
- func (m *GetSelfInfoResponse) GetDndState() *DoNotDisturbSetting
- func (m *GetSelfInfoResponse) GetGooglePlusUser() bool
- func (m *GetSelfInfoResponse) GetIsKnownMinor() bool
- func (m *GetSelfInfoResponse) GetPhoneData() *PhoneData
- func (m *GetSelfInfoResponse) GetResponseHeader() *ResponseHeader
- func (m *GetSelfInfoResponse) GetRichPresenceState() *RichPresenceState
- func (m *GetSelfInfoResponse) GetSelfEntity() *Entity
- func (*GetSelfInfoResponse) ProtoMessage()
- func (m *GetSelfInfoResponse) Reset()
- func (m *GetSelfInfoResponse) String() string
- type GetSuggestedEntitiesRequest
- func (m *GetSuggestedEntitiesRequest) GetContactsYouHangoutWith() *SuggestedContactGroupHash
- func (m *GetSuggestedEntitiesRequest) GetDismissedContacts() *SuggestedContactGroupHash
- func (m *GetSuggestedEntitiesRequest) GetFavorites() *SuggestedContactGroupHash
- func (m *GetSuggestedEntitiesRequest) GetOtherContacts() *SuggestedContactGroupHash
- func (m *GetSuggestedEntitiesRequest) GetOtherContactsOnHangouts() *SuggestedContactGroupHash
- func (m *GetSuggestedEntitiesRequest) GetPinnedFavorites() *SuggestedContactGroupHash
- func (m *GetSuggestedEntitiesRequest) GetRequestHeader() *RequestHeader
- func (*GetSuggestedEntitiesRequest) ProtoMessage()
- func (m *GetSuggestedEntitiesRequest) Reset()
- func (m *GetSuggestedEntitiesRequest) String() string
- type GetSuggestedEntitiesResponse
- func (m *GetSuggestedEntitiesResponse) GetContactsYouHangoutWith() *SuggestedContactGroup
- func (m *GetSuggestedEntitiesResponse) GetDismissedContacts() *SuggestedContactGroup
- func (m *GetSuggestedEntitiesResponse) GetEntity() []*Entity
- func (m *GetSuggestedEntitiesResponse) GetFavorites() *SuggestedContactGroup
- func (m *GetSuggestedEntitiesResponse) GetOtherContacts() *SuggestedContactGroup
- func (m *GetSuggestedEntitiesResponse) GetOtherContactsOnHangouts() *SuggestedContactGroup
- func (m *GetSuggestedEntitiesResponse) GetPinnedFavorites() *SuggestedContactGroup
- func (m *GetSuggestedEntitiesResponse) GetResponseHeader() *ResponseHeader
- func (*GetSuggestedEntitiesResponse) ProtoMessage()
- func (m *GetSuggestedEntitiesResponse) Reset()
- func (m *GetSuggestedEntitiesResponse) String() string
- type HangoutEvent
- type HangoutEventType
- type HashModifier
- type I18NData
- func (m *I18NData) GetCountryCode() uint64
- func (m *I18NData) GetInternationalNumber() string
- func (m *I18NData) GetIsValid() bool
- func (m *I18NData) GetNationalNumber() string
- func (m *I18NData) GetRegionCode() string
- func (m *I18NData) GetValidationResult() PhoneValidationResult
- func (*I18NData) ProtoMessage()
- func (m *I18NData) Reset()
- func (m *I18NData) String() string
- type InvitationAffinity
- type InvitationStatus
- type InviteeID
- type ItemType
- type LinkData
- type MembershipChange
- type MembershipChangeType
- type MessageContent
- type MoodContent
- type MoodMessage
- type MoodSetting
- type MoodState
- type NetworkType
- type NotificationLevel
- type NotificationSettings
- type OTRModification
- func (m *OTRModification) GetNewOtrStatus() OffTheRecordStatus
- func (m *OTRModification) GetNewOtrToggle() OffTheRecordToggle
- func (m *OTRModification) GetOldOtrStatus() OffTheRecordStatus
- func (m *OTRModification) GetOldOtrToggle() OffTheRecordToggle
- func (*OTRModification) ProtoMessage()
- func (m *OTRModification) Reset()
- func (m *OTRModification) String() string
- type OffTheRecordStatus
- type OffTheRecordToggle
- type OffnetworkAddress
- type OffnetworkAddressType
- type ParticipantId
- type ParticipantType
- type Phone
- func (m *Phone) GetDiscoverabilityStatus() PhoneDiscoverabilityStatus
- func (m *Phone) GetDiscoverable() bool
- func (m *Phone) GetGoogleVoice() bool
- func (m *Phone) GetPhoneNumber() *PhoneNumber
- func (m *Phone) GetPrimary() bool
- func (m *Phone) GetVerificationStatus() PhoneVerificationStatus
- func (*Phone) ProtoMessage()
- func (m *Phone) Reset()
- func (m *Phone) String() string
- type PhoneData
- type PhoneDiscoverabilityStatus
- type PhoneNumber
- type PhoneValidationResult
- type PhoneVerificationStatus
- type Photo
- type PhotoUrlStatus
- type Place
- type Place_RepresentativeImage
- type PlusPhoto
- func (m *PlusPhoto) GetAlbumId() string
- func (m *PlusPhoto) GetMediaType() PlusPhoto_MediaType
- func (m *PlusPhoto) GetOriginalContentUrl() string
- func (m *PlusPhoto) GetOwnerObfuscatedId() string
- func (m *PlusPhoto) GetPhotoId() string
- func (m *PlusPhoto) GetStreamId() []string
- func (m *PlusPhoto) GetThumbnail() *PlusPhoto_Thumbnail
- func (m *PlusPhoto) GetUrl() string
- func (*PlusPhoto) ProtoMessage()
- func (m *PlusPhoto) Reset()
- func (m *PlusPhoto) String() string
- type PlusPhoto_MediaType
- type PlusPhoto_Thumbnail
- func (m *PlusPhoto_Thumbnail) GetHeightPx() uint64
- func (m *PlusPhoto_Thumbnail) GetImageUrl() string
- func (m *PlusPhoto_Thumbnail) GetUrl() string
- func (m *PlusPhoto_Thumbnail) GetWidthPx() uint64
- func (*PlusPhoto_Thumbnail) ProtoMessage()
- func (m *PlusPhoto_Thumbnail) Reset()
- func (m *PlusPhoto_Thumbnail) String() string
- type Presence
- type PresenceNotification
- type PresenceResult
- type PresenceStateSetting
- type ProfileType
- type QueryPresenceRequest
- func (m *QueryPresenceRequest) GetFieldMask() []FieldMask
- func (m *QueryPresenceRequest) GetParticipantId() []*ParticipantId
- func (m *QueryPresenceRequest) GetRequestHeader() *RequestHeader
- func (*QueryPresenceRequest) ProtoMessage()
- func (m *QueryPresenceRequest) Reset()
- func (m *QueryPresenceRequest) String() string
- type QueryPresenceResponse
- type RemoveUserRequest
- type RemoveUserResponse
- type RenameConversationRequest
- func (m *RenameConversationRequest) GetEventRequestHeader() *EventRequestHeader
- func (m *RenameConversationRequest) GetNewName() string
- func (m *RenameConversationRequest) GetRequestHeader() *RequestHeader
- func (*RenameConversationRequest) ProtoMessage()
- func (m *RenameConversationRequest) Reset()
- func (m *RenameConversationRequest) String() string
- type RenameConversationResponse
- type ReplyToInviteNotification
- type ReplyToInviteType
- type RequestHeader
- type ResponseHeader
- func (m *ResponseHeader) GetCurrentServerTime() uint64
- func (m *ResponseHeader) GetDebugUrl() string
- func (m *ResponseHeader) GetErrorDescription() string
- func (m *ResponseHeader) GetRequestTraceId() uint64
- func (m *ResponseHeader) GetStatus() ResponseStatus
- func (*ResponseHeader) ProtoMessage()
- func (m *ResponseHeader) Reset()
- func (m *ResponseHeader) String() string
- type ResponseStatus
- type RichPresenceEnabledState
- type RichPresenceEnabledStateNotification
- type RichPresenceState
- type RichPresenceType
- type SearchEntitiesRequest
- func (m *SearchEntitiesRequest) GetMaxCount() uint64
- func (m *SearchEntitiesRequest) GetQuery() string
- func (m *SearchEntitiesRequest) GetRequestHeader() *RequestHeader
- func (*SearchEntitiesRequest) ProtoMessage()
- func (m *SearchEntitiesRequest) Reset()
- func (m *SearchEntitiesRequest) String() string
- type SearchEntitiesResponse
- type Segment
- type SegmentType
- type SelfPresenceNotification
- func (m *SelfPresenceNotification) GetClientPresenceState() *ClientPresenceState
- func (m *SelfPresenceNotification) GetDesktopOffSetting() *DesktopOffSetting
- func (m *SelfPresenceNotification) GetDesktopOffState() *DesktopOffState
- func (m *SelfPresenceNotification) GetDoNotDisturbSetting() *DoNotDisturbSetting
- func (m *SelfPresenceNotification) GetMoodState() *MoodState
- func (*SelfPresenceNotification) ProtoMessage()
- func (m *SelfPresenceNotification) Reset()
- func (m *SelfPresenceNotification) String() string
- type SendChatMessageRequest
- func (m *SendChatMessageRequest) GetAnnotation() []*EventAnnotation
- func (m *SendChatMessageRequest) GetEventRequestHeader() *EventRequestHeader
- func (m *SendChatMessageRequest) GetExistingMedia() *ExistingMedia
- func (m *SendChatMessageRequest) GetMessageContent() *MessageContent
- func (m *SendChatMessageRequest) GetRequestHeader() *RequestHeader
- func (*SendChatMessageRequest) ProtoMessage()
- func (m *SendChatMessageRequest) Reset()
- func (m *SendChatMessageRequest) String() string
- type SendChatMessageResponse
- type SendOffnetworkInvitationRequest
- func (m *SendOffnetworkInvitationRequest) GetInviteeAddress() *OffnetworkAddress
- func (m *SendOffnetworkInvitationRequest) GetRequestHeader() *RequestHeader
- func (*SendOffnetworkInvitationRequest) ProtoMessage()
- func (m *SendOffnetworkInvitationRequest) Reset()
- func (m *SendOffnetworkInvitationRequest) String() string
- type SendOffnetworkInvitationResponse
- type SetActiveClientRequest
- func (m *SetActiveClientRequest) GetFullJid() string
- func (m *SetActiveClientRequest) GetIsActive() bool
- func (m *SetActiveClientRequest) GetRequestHeader() *RequestHeader
- func (m *SetActiveClientRequest) GetTimeoutSecs() uint64
- func (*SetActiveClientRequest) ProtoMessage()
- func (m *SetActiveClientRequest) Reset()
- func (m *SetActiveClientRequest) String() string
- type SetActiveClientResponse
- type SetConversationLevelRequest
- type SetConversationLevelResponse
- type SetConversationNotificationLevelNotification
- func (m *SetConversationNotificationLevelNotification) GetConversationId() *ConversationId
- func (m *SetConversationNotificationLevelNotification) GetLevel() NotificationLevel
- func (m *SetConversationNotificationLevelNotification) GetTimestamp() uint64
- func (*SetConversationNotificationLevelNotification) ProtoMessage()
- func (m *SetConversationNotificationLevelNotification) Reset()
- func (m *SetConversationNotificationLevelNotification) String() string
- type SetConversationNotificationLevelRequest
- func (m *SetConversationNotificationLevelRequest) GetConversationId() *ConversationId
- func (m *SetConversationNotificationLevelRequest) GetLevel() NotificationLevel
- func (m *SetConversationNotificationLevelRequest) GetRequestHeader() *RequestHeader
- func (*SetConversationNotificationLevelRequest) ProtoMessage()
- func (m *SetConversationNotificationLevelRequest) Reset()
- func (m *SetConversationNotificationLevelRequest) String() string
- type SetConversationNotificationLevelResponse
- func (m *SetConversationNotificationLevelResponse) GetResponseHeader() *ResponseHeader
- func (m *SetConversationNotificationLevelResponse) GetTimestamp() uint64
- func (*SetConversationNotificationLevelResponse) ProtoMessage()
- func (m *SetConversationNotificationLevelResponse) Reset()
- func (m *SetConversationNotificationLevelResponse) String() string
- type SetFocusNotification
- func (m *SetFocusNotification) GetConversationId() *ConversationId
- func (m *SetFocusNotification) GetDevice() FocusDevice
- func (m *SetFocusNotification) GetSenderId() *ParticipantId
- func (m *SetFocusNotification) GetTimestamp() uint64
- func (m *SetFocusNotification) GetType() FocusType
- func (*SetFocusNotification) ProtoMessage()
- func (m *SetFocusNotification) Reset()
- func (m *SetFocusNotification) String() string
- type SetFocusRequest
- func (m *SetFocusRequest) GetConversationId() *ConversationId
- func (m *SetFocusRequest) GetRequestHeader() *RequestHeader
- func (m *SetFocusRequest) GetTimeoutSecs() uint32
- func (m *SetFocusRequest) GetType() FocusType
- func (*SetFocusRequest) ProtoMessage()
- func (m *SetFocusRequest) Reset()
- func (m *SetFocusRequest) String() string
- type SetFocusResponse
- type SetNotificationSettingNotification
- type SetPresenceRequest
- func (m *SetPresenceRequest) GetDesktopOffSetting() *DesktopOffSetting
- func (m *SetPresenceRequest) GetDndSetting() *DndSetting
- func (m *SetPresenceRequest) GetMoodSetting() *MoodSetting
- func (m *SetPresenceRequest) GetPresenceStateSetting() *PresenceStateSetting
- func (m *SetPresenceRequest) GetRequestHeader() *RequestHeader
- func (*SetPresenceRequest) ProtoMessage()
- func (m *SetPresenceRequest) Reset()
- func (m *SetPresenceRequest) String() string
- type SetPresenceResponse
- type SetTypingNotification
- func (m *SetTypingNotification) GetConversationId() *ConversationId
- func (m *SetTypingNotification) GetSenderId() *ParticipantId
- func (m *SetTypingNotification) GetTimestamp() uint64
- func (m *SetTypingNotification) GetType() TypingType
- func (*SetTypingNotification) ProtoMessage()
- func (m *SetTypingNotification) Reset()
- func (m *SetTypingNotification) String() string
- type SetTypingRequest
- type SetTypingResponse
- type SoundState
- type SourceType
- type StateUpdate
- func (m *StateUpdate) GetBlockNotification() *BlockNotification
- func (m *StateUpdate) GetConversation() *Conversation
- func (m *StateUpdate) GetConversationNotification() *ConversationNotification
- func (m *StateUpdate) GetDeleteNotification() *DeleteActionNotification
- func (m *StateUpdate) GetEasterEggNotification() *EasterEggNotification
- func (m *StateUpdate) GetEventNotification() *EventNotification
- func (m *StateUpdate) GetFocusNotification() *SetFocusNotification
- func (m *StateUpdate) GetNotificationLevelNotification() *SetConversationNotificationLevelNotification
- func (m *StateUpdate) GetNotificationSettingNotification() *SetNotificationSettingNotification
- func (m *StateUpdate) GetPresenceNotification() *PresenceNotification
- func (m *StateUpdate) GetReplyToInviteNotification() *ReplyToInviteNotification
- func (m *StateUpdate) GetRichPresenceEnabledStateNotification() *RichPresenceEnabledStateNotification
- func (m *StateUpdate) GetSelfPresenceNotification() *SelfPresenceNotification
- func (m *StateUpdate) GetStateUpdate() isStateUpdate_StateUpdate
- func (m *StateUpdate) GetStateUpdateHeader() *StateUpdateHeader
- func (m *StateUpdate) GetTypingNotification() *SetTypingNotification
- func (m *StateUpdate) GetViewModification() *ConversationViewModification
- func (m *StateUpdate) GetWatermarkNotification() *WatermarkNotification
- func (*StateUpdate) ProtoMessage()
- func (m *StateUpdate) Reset()
- func (m *StateUpdate) String() string
- func (*StateUpdate) XXX_OneofFuncs() (func(msg proto.Message, b *proto.Buffer) error, ...)
- type StateUpdateHeader
- func (m *StateUpdateHeader) GetActiveClientState() ActiveClientState
- func (m *StateUpdateHeader) GetCurrentServerTime() uint64
- func (m *StateUpdateHeader) GetNotificationSettings() *NotificationSettings
- func (m *StateUpdateHeader) GetRequestTraceId() string
- func (*StateUpdateHeader) ProtoMessage()
- func (m *StateUpdateHeader) Reset()
- func (m *StateUpdateHeader) String() string
- type StateUpdate_BlockNotification
- type StateUpdate_ConversationNotification
- type StateUpdate_DeleteNotification
- type StateUpdate_EasterEggNotification
- type StateUpdate_EventNotification
- type StateUpdate_FocusNotification
- type StateUpdate_NotificationLevelNotification
- type StateUpdate_NotificationSettingNotification
- type StateUpdate_PresenceNotification
- type StateUpdate_ReplyToInviteNotification
- type StateUpdate_RichPresenceEnabledStateNotification
- type StateUpdate_SelfPresenceNotification
- type StateUpdate_TypingNotification
- type StateUpdate_ViewModification
- type StateUpdate_WatermarkNotification
- type SuggestedContact
- type SuggestedContactGroup
- func (m *SuggestedContactGroup) GetContact() []*SuggestedContact
- func (m *SuggestedContactGroup) GetHash() []byte
- func (m *SuggestedContactGroup) GetHashMatched() bool
- func (*SuggestedContactGroup) ProtoMessage()
- func (m *SuggestedContactGroup) Reset()
- func (m *SuggestedContactGroup) String() string
- type SuggestedContactGroupHash
- type SyncAllNewEventsRequest
- func (m *SyncAllNewEventsRequest) GetLastSyncTimestamp() uint64
- func (m *SyncAllNewEventsRequest) GetMaxResponseSizeBytes() uint64
- func (m *SyncAllNewEventsRequest) GetRequestHeader() *RequestHeader
- func (*SyncAllNewEventsRequest) ProtoMessage()
- func (m *SyncAllNewEventsRequest) Reset()
- func (m *SyncAllNewEventsRequest) String() string
- type SyncAllNewEventsResponse
- func (m *SyncAllNewEventsResponse) GetConversationState() []*ConversationState
- func (m *SyncAllNewEventsResponse) GetResponseHeader() *ResponseHeader
- func (m *SyncAllNewEventsResponse) GetSyncTimestamp() uint64
- func (*SyncAllNewEventsResponse) ProtoMessage()
- func (m *SyncAllNewEventsResponse) Reset()
- func (m *SyncAllNewEventsResponse) String() string
- type SyncFilter
- type SyncRecentConversationsRequest
- func (m *SyncRecentConversationsRequest) GetMaxConversations() uint64
- func (m *SyncRecentConversationsRequest) GetMaxEventsPerConversation() uint64
- func (m *SyncRecentConversationsRequest) GetRequestHeader() *RequestHeader
- func (m *SyncRecentConversationsRequest) GetSyncFilter() []SyncFilter
- func (*SyncRecentConversationsRequest) ProtoMessage()
- func (m *SyncRecentConversationsRequest) Reset()
- func (m *SyncRecentConversationsRequest) String() string
- type SyncRecentConversationsResponse
- func (m *SyncRecentConversationsResponse) GetConversationState() []*ConversationState
- func (m *SyncRecentConversationsResponse) GetResponseHeader() *ResponseHeader
- func (m *SyncRecentConversationsResponse) GetSyncTimestamp() uint64
- func (*SyncRecentConversationsResponse) ProtoMessage()
- func (m *SyncRecentConversationsResponse) Reset()
- func (m *SyncRecentConversationsResponse) String() string
- type TypingType
- type UpdateWatermarkRequest
- func (m *UpdateWatermarkRequest) GetConversationId() *ConversationId
- func (m *UpdateWatermarkRequest) GetLastReadTimestamp() uint64
- func (m *UpdateWatermarkRequest) GetRequestHeader() *RequestHeader
- func (*UpdateWatermarkRequest) ProtoMessage()
- func (m *UpdateWatermarkRequest) Reset()
- func (m *UpdateWatermarkRequest) String() string
- type UpdateWatermarkResponse
- type UserConversationState
- func (m *UserConversationState) GetActiveTimestamp() uint64
- func (m *UserConversationState) GetClientGeneratedId() string
- func (m *UserConversationState) GetDeliveryMediumOption() []*DeliveryMediumOption
- func (m *UserConversationState) GetInviteAffinity() InvitationAffinity
- func (m *UserConversationState) GetInviteTimestamp() uint64
- func (m *UserConversationState) GetInviterId() *ParticipantId
- func (m *UserConversationState) GetNotificationLevel() NotificationLevel
- func (m *UserConversationState) GetSelfReadState() *UserReadState
- func (m *UserConversationState) GetSortTimestamp() uint64
- func (m *UserConversationState) GetStatus() ConversationStatus
- func (m *UserConversationState) GetView() []ConversationView
- func (*UserConversationState) ProtoMessage()
- func (m *UserConversationState) Reset()
- func (m *UserConversationState) String() string
- type UserEventState
- type UserReadState
- type WatermarkNotification
- func (m *WatermarkNotification) GetConversationId() *ConversationId
- func (m *WatermarkNotification) GetLatestReadTimestamp() uint64
- func (m *WatermarkNotification) GetSenderId() *ParticipantId
- func (*WatermarkNotification) ProtoMessage()
- func (m *WatermarkNotification) Reset()
- func (m *WatermarkNotification) String() string
Constants ¶
This section is empty.
Variables ¶
var ActiveClientState_name = map[int32]string{
0: "ACTIVE_CLIENT_STATE_NO_ACTIVE",
1: "ACTIVE_CLIENT_STATE_IS_ACTIVE",
2: "ACTIVE_CLIENT_STATE_OTHER_ACTIVE",
}
var ActiveClientState_value = map[string]int32{
"ACTIVE_CLIENT_STATE_NO_ACTIVE": 0,
"ACTIVE_CLIENT_STATE_IS_ACTIVE": 1,
"ACTIVE_CLIENT_STATE_OTHER_ACTIVE": 2,
}
var BlockState_name = map[int32]string{
0: "BLOCK_STATE_UNKNOWN",
1: "BLOCK_STATE_BLOCK",
2: "BLOCK_STATE_UNBLOCK",
}
var BlockState_value = map[string]int32{
"BLOCK_STATE_UNKNOWN": 0,
"BLOCK_STATE_BLOCK": 1,
"BLOCK_STATE_UNBLOCK": 2,
}
var CallerIdSettingsMask_name = map[int32]string{
0: "CALLER_ID_SETTINGS_MASK_UNKNOWN",
1: "CALLER_ID_SETTINGS_MASK_PROVIDED",
}
var CallerIdSettingsMask_value = map[string]int32{
"CALLER_ID_SETTINGS_MASK_UNKNOWN": 0,
"CALLER_ID_SETTINGS_MASK_PROVIDED": 1,
}
var ClientBuildType_name = map[int32]string{
0: "BUILD_TYPE_UNKNOWN",
1: "BUILD_TYPE_PRODUCTION_WEB",
3: "BUILD_TYPE_PRODUCTION_APP",
}
var ClientBuildType_value = map[string]int32{
"BUILD_TYPE_UNKNOWN": 0,
"BUILD_TYPE_PRODUCTION_WEB": 1,
"BUILD_TYPE_PRODUCTION_APP": 3,
}
var ClientId_name = map[int32]string{
0: "CLIENT_ID_UNKNOWN",
1: "CLIENT_ID_ANDROID",
2: "CLIENT_ID_IOS",
3: "CLIENT_ID_CHROME",
5: "CLIENT_ID_WEB_GPLUS",
6: "CLIENT_ID_WEB_GMAIL",
13: "CLIENT_ID_ULTRAVIOLET",
}
var ClientId_value = map[string]int32{
"CLIENT_ID_UNKNOWN": 0,
"CLIENT_ID_ANDROID": 1,
"CLIENT_ID_IOS": 2,
"CLIENT_ID_CHROME": 3,
"CLIENT_ID_WEB_GPLUS": 5,
"CLIENT_ID_WEB_GMAIL": 6,
"CLIENT_ID_ULTRAVIOLET": 13,
}
var ClientPresenceStateType_name = map[int32]string{
0: "CLIENT_PRESENCE_STATE_UNKNOWN",
1: "CLIENT_PRESENCE_STATE_NONE",
30: "CLIENT_PRESENCE_STATE_DESKTOP_IDLE",
40: "CLIENT_PRESENCE_STATE_DESKTOP_ACTIVE",
}
var ClientPresenceStateType_value = map[string]int32{
"CLIENT_PRESENCE_STATE_UNKNOWN": 0,
"CLIENT_PRESENCE_STATE_NONE": 1,
"CLIENT_PRESENCE_STATE_DESKTOP_IDLE": 30,
"CLIENT_PRESENCE_STATE_DESKTOP_ACTIVE": 40,
}
var ConfigurationBitType_name = map[int32]string{
0: "CONFIGURATION_BIT_TYPE_UNKNOWN",
1: "CONFIGURATION_BIT_TYPE_UNKNOWN_1",
2: "CONFIGURATION_BIT_TYPE_UNKNOWN_2",
3: "CONFIGURATION_BIT_TYPE_UNKNOWN_3",
4: "CONFIGURATION_BIT_TYPE_UNKNOWN_4",
5: "CONFIGURATION_BIT_TYPE_UNKNOWN_5",
6: "CONFIGURATION_BIT_TYPE_UNKNOWN_6",
7: "CONFIGURATION_BIT_TYPE_UNKNOWN_7",
8: "CONFIGURATION_BIT_TYPE_UNKNOWN_8",
9: "CONFIGURATION_BIT_TYPE_UNKNOWN_9",
10: "CONFIGURATION_BIT_TYPE_UNKNOWN_10",
11: "CONFIGURATION_BIT_TYPE_UNKNOWN_11",
12: "CONFIGURATION_BIT_TYPE_UNKNOWN_12",
13: "CONFIGURATION_BIT_TYPE_UNKNOWN_13",
14: "CONFIGURATION_BIT_TYPE_UNKNOWN_14",
15: "CONFIGURATION_BIT_TYPE_UNKNOWN_15",
16: "CONFIGURATION_BIT_TYPE_UNKNOWN_16",
17: "CONFIGURATION_BIT_TYPE_UNKNOWN_17",
18: "CONFIGURATION_BIT_TYPE_UNKNOWN_18",
19: "CONFIGURATION_BIT_TYPE_UNKNOWN_19",
20: "CONFIGURATION_BIT_TYPE_UNKNOWN_20",
21: "CONFIGURATION_BIT_TYPE_UNKNOWN_21",
22: "CONFIGURATION_BIT_TYPE_UNKNOWN_22",
23: "CONFIGURATION_BIT_TYPE_UNKNOWN_23",
24: "CONFIGURATION_BIT_TYPE_UNKNOWN_24",
25: "CONFIGURATION_BIT_TYPE_UNKNOWN_25",
26: "CONFIGURATION_BIT_TYPE_UNKNOWN_26",
27: "CONFIGURATION_BIT_TYPE_UNKNOWN_27",
28: "CONFIGURATION_BIT_TYPE_UNKNOWN_28",
29: "CONFIGURATION_BIT_TYPE_UNKNOWN_29",
30: "CONFIGURATION_BIT_TYPE_UNKNOWN_30",
31: "CONFIGURATION_BIT_TYPE_UNKNOWN_31",
32: "CONFIGURATION_BIT_TYPE_UNKNOWN_32",
33: "CONFIGURATION_BIT_TYPE_UNKNOWN_33",
34: "CONFIGURATION_BIT_TYPE_UNKNOWN_34",
35: "CONFIGURATION_BIT_TYPE_UNKNOWN_35",
36: "CONFIGURATION_BIT_TYPE_UNKNOWN_36",
}
var ConfigurationBitType_value = map[string]int32{
"CONFIGURATION_BIT_TYPE_UNKNOWN": 0,
"CONFIGURATION_BIT_TYPE_UNKNOWN_1": 1,
"CONFIGURATION_BIT_TYPE_UNKNOWN_2": 2,
"CONFIGURATION_BIT_TYPE_UNKNOWN_3": 3,
"CONFIGURATION_BIT_TYPE_UNKNOWN_4": 4,
"CONFIGURATION_BIT_TYPE_UNKNOWN_5": 5,
"CONFIGURATION_BIT_TYPE_UNKNOWN_6": 6,
"CONFIGURATION_BIT_TYPE_UNKNOWN_7": 7,
"CONFIGURATION_BIT_TYPE_UNKNOWN_8": 8,
"CONFIGURATION_BIT_TYPE_UNKNOWN_9": 9,
"CONFIGURATION_BIT_TYPE_UNKNOWN_10": 10,
"CONFIGURATION_BIT_TYPE_UNKNOWN_11": 11,
"CONFIGURATION_BIT_TYPE_UNKNOWN_12": 12,
"CONFIGURATION_BIT_TYPE_UNKNOWN_13": 13,
"CONFIGURATION_BIT_TYPE_UNKNOWN_14": 14,
"CONFIGURATION_BIT_TYPE_UNKNOWN_15": 15,
"CONFIGURATION_BIT_TYPE_UNKNOWN_16": 16,
"CONFIGURATION_BIT_TYPE_UNKNOWN_17": 17,
"CONFIGURATION_BIT_TYPE_UNKNOWN_18": 18,
"CONFIGURATION_BIT_TYPE_UNKNOWN_19": 19,
"CONFIGURATION_BIT_TYPE_UNKNOWN_20": 20,
"CONFIGURATION_BIT_TYPE_UNKNOWN_21": 21,
"CONFIGURATION_BIT_TYPE_UNKNOWN_22": 22,
"CONFIGURATION_BIT_TYPE_UNKNOWN_23": 23,
"CONFIGURATION_BIT_TYPE_UNKNOWN_24": 24,
"CONFIGURATION_BIT_TYPE_UNKNOWN_25": 25,
"CONFIGURATION_BIT_TYPE_UNKNOWN_26": 26,
"CONFIGURATION_BIT_TYPE_UNKNOWN_27": 27,
"CONFIGURATION_BIT_TYPE_UNKNOWN_28": 28,
"CONFIGURATION_BIT_TYPE_UNKNOWN_29": 29,
"CONFIGURATION_BIT_TYPE_UNKNOWN_30": 30,
"CONFIGURATION_BIT_TYPE_UNKNOWN_31": 31,
"CONFIGURATION_BIT_TYPE_UNKNOWN_32": 32,
"CONFIGURATION_BIT_TYPE_UNKNOWN_33": 33,
"CONFIGURATION_BIT_TYPE_UNKNOWN_34": 34,
"CONFIGURATION_BIT_TYPE_UNKNOWN_35": 35,
"CONFIGURATION_BIT_TYPE_UNKNOWN_36": 36,
}
var ConversationStatus_name = map[int32]string{
0: "CONVERSATION_STATUS_UNKNOWN",
1: "CONVERSATION_STATUS_INVITED",
2: "CONVERSATION_STATUS_ACTIVE",
3: "CONVERSATION_STATUS_LEFT",
}
var ConversationStatus_value = map[string]int32{
"CONVERSATION_STATUS_UNKNOWN": 0,
"CONVERSATION_STATUS_INVITED": 1,
"CONVERSATION_STATUS_ACTIVE": 2,
"CONVERSATION_STATUS_LEFT": 3,
}
var ConversationType_name = map[int32]string{
0: "CONVERSATION_TYPE_UNKNOWN",
1: "CONVERSATION_TYPE_ONE_TO_ONE",
2: "CONVERSATION_TYPE_GROUP",
}
var ConversationType_value = map[string]int32{
"CONVERSATION_TYPE_UNKNOWN": 0,
"CONVERSATION_TYPE_ONE_TO_ONE": 1,
"CONVERSATION_TYPE_GROUP": 2,
}
var ConversationView_name = map[int32]string{
0: "CONVERSATION_VIEW_UNKNOWN",
1: "CONVERSATION_VIEW_INBOX",
2: "CONVERSATION_VIEW_ARCHIVED",
}
var ConversationView_value = map[string]int32{
"CONVERSATION_VIEW_UNKNOWN": 0,
"CONVERSATION_VIEW_INBOX": 1,
"CONVERSATION_VIEW_ARCHIVED": 2,
}
var DeleteType_name = map[int32]string{
0: "DELETE_TYPE_UNKNOWN",
1: "DELETE_TYPE_UPPER_BOUND",
}
var DeleteType_value = map[string]int32{
"DELETE_TYPE_UNKNOWN": 0,
"DELETE_TYPE_UPPER_BOUND": 1,
}
var DeliveryMediumType_name = map[int32]string{
0: "DELIVERY_MEDIUM_UNKNOWN",
1: "DELIVERY_MEDIUM_BABEL",
2: "DELIVERY_MEDIUM_GOOGLE_VOICE",
3: "DELIVERY_MEDIUM_LOCAL_SMS",
}
var DeliveryMediumType_value = map[string]int32{
"DELIVERY_MEDIUM_UNKNOWN": 0,
"DELIVERY_MEDIUM_BABEL": 1,
"DELIVERY_MEDIUM_GOOGLE_VOICE": 2,
"DELIVERY_MEDIUM_LOCAL_SMS": 3,
}
var Entity_PastHangoutState_name = map[int32]string{
0: "PAST_HANGOUT_STATE_UNKNOWN",
1: "PAST_HANGOUT_STATE_HAD_PAST_HANGOUT",
2: "PAST_HANGOUT_STATE_NO_PAST_HANGOUT",
}
var Entity_PastHangoutState_value = map[string]int32{
"PAST_HANGOUT_STATE_UNKNOWN": 0,
"PAST_HANGOUT_STATE_HAD_PAST_HANGOUT": 1,
"PAST_HANGOUT_STATE_NO_PAST_HANGOUT": 2,
}
var EventType_name = map[int32]string{
0: "EVENT_TYPE_UNKNOWN",
1: "EVENT_TYPE_REGULAR_CHAT_MESSAGE",
2: "EVENT_TYPE_SMS",
3: "EVENT_TYPE_VOICEMAIL",
4: "EVENT_TYPE_ADD_USER",
5: "EVENT_TYPE_REMOVE_USER",
6: "EVENT_TYPE_CONVERSATION_RENAME",
7: "EVENT_TYPE_HANGOUT",
8: "EVENT_TYPE_PHONE_CALL",
9: "EVENT_TYPE_OTR_MODIFICATION",
10: "EVENT_TYPE_PLAN_MUTATION",
11: "EVENT_TYPE_MMS",
12: "EVENT_TYPE_DEPRECATED_12",
}
var EventType_value = map[string]int32{
"EVENT_TYPE_UNKNOWN": 0,
"EVENT_TYPE_REGULAR_CHAT_MESSAGE": 1,
"EVENT_TYPE_SMS": 2,
"EVENT_TYPE_VOICEMAIL": 3,
"EVENT_TYPE_ADD_USER": 4,
"EVENT_TYPE_REMOVE_USER": 5,
"EVENT_TYPE_CONVERSATION_RENAME": 6,
"EVENT_TYPE_HANGOUT": 7,
"EVENT_TYPE_PHONE_CALL": 8,
"EVENT_TYPE_OTR_MODIFICATION": 9,
"EVENT_TYPE_PLAN_MUTATION": 10,
"EVENT_TYPE_MMS": 11,
"EVENT_TYPE_DEPRECATED_12": 12,
}
var FieldMask_name = map[int32]string{
1: "FIELD_MASK_REACHABLE",
2: "FIELD_MASK_AVAILABLE",
7: "FIELD_MASK_DEVICE",
}
var FieldMask_value = map[string]int32{
"FIELD_MASK_REACHABLE": 1,
"FIELD_MASK_AVAILABLE": 2,
"FIELD_MASK_DEVICE": 7,
}
var FocusDevice_name = map[int32]string{
0: "FOCUS_DEVICE_UNSPECIFIED",
20: "FOCUS_DEVICE_DESKTOP",
300: "FOCUS_DEVICE_MOBILE",
}
var FocusDevice_value = map[string]int32{
"FOCUS_DEVICE_UNSPECIFIED": 0,
"FOCUS_DEVICE_DESKTOP": 20,
"FOCUS_DEVICE_MOBILE": 300,
}
var FocusType_name = map[int32]string{
0: "FOCUS_TYPE_UNKNOWN",
1: "FOCUS_TYPE_FOCUSED",
2: "FOCUS_TYPE_UNFOCUSED",
}
var FocusType_value = map[string]int32{
"FOCUS_TYPE_UNKNOWN": 0,
"FOCUS_TYPE_FOCUSED": 1,
"FOCUS_TYPE_UNFOCUSED": 2,
}
var ForceHistory_name = map[int32]string{
0: "FORCE_HISTORY_UNKNOWN",
1: "FORCE_HISTORY_NO",
}
var ForceHistory_value = map[string]int32{
"FORCE_HISTORY_UNKNOWN": 0,
"FORCE_HISTORY_NO": 1,
}
var Gender_name = map[int32]string{
0: "GENDER_UNKNOWN",
1: "GENDER_MALE",
2: "GENDER_FEMALE",
}
var Gender_value = map[string]int32{
"GENDER_UNKNOWN": 0,
"GENDER_MALE": 1,
"GENDER_FEMALE": 2,
}
var HangoutEventType_name = map[int32]string{
0: "HANGOUT_EVENT_TYPE_UNKNOWN",
1: "HANGOUT_EVENT_TYPE_START",
2: "HANGOUT_EVENT_TYPE_END",
3: "HANGOUT_EVENT_TYPE_JOIN",
4: "HANGOUT_EVENT_TYPE_LEAVE",
5: "HANGOUT_EVENT_TYPE_COMING_SOON",
6: "HANGOUT_EVENT_TYPE_ONGOING",
}
var HangoutEventType_value = map[string]int32{
"HANGOUT_EVENT_TYPE_UNKNOWN": 0,
"HANGOUT_EVENT_TYPE_START": 1,
"HANGOUT_EVENT_TYPE_END": 2,
"HANGOUT_EVENT_TYPE_JOIN": 3,
"HANGOUT_EVENT_TYPE_LEAVE": 4,
"HANGOUT_EVENT_TYPE_COMING_SOON": 5,
"HANGOUT_EVENT_TYPE_ONGOING": 6,
}
var InvitationAffinity_name = map[int32]string{
0: "INVITE_AFFINITY_UNKNOWN",
1: "INVITE_AFFINITY_HIGH",
2: "INVITE_AFFINITY_LOW",
}
var InvitationAffinity_value = map[string]int32{
"INVITE_AFFINITY_UNKNOWN": 0,
"INVITE_AFFINITY_HIGH": 1,
"INVITE_AFFINITY_LOW": 2,
}
var InvitationStatus_name = map[int32]string{
0: "INVITATION_STATUS_UNKNOWN",
1: "INVITATION_STATUS_PENDING",
2: "INVITATION_STATUS_ACCEPTED",
}
var InvitationStatus_value = map[string]int32{
"INVITATION_STATUS_UNKNOWN": 0,
"INVITATION_STATUS_PENDING": 1,
"INVITATION_STATUS_ACCEPTED": 2,
}
var ItemType_name = map[int32]string{
0: "ITEM_TYPE_THING",
249: "ITEM_TYPE_PLUS_PHOTO",
335: "ITEM_TYPE_PLACE",
340: "ITEM_TYPE_PLACE_V2",
}
var ItemType_value = map[string]int32{
"ITEM_TYPE_THING": 0,
"ITEM_TYPE_PLUS_PHOTO": 249,
"ITEM_TYPE_PLACE": 335,
"ITEM_TYPE_PLACE_V2": 340,
}
var MembershipChangeType_name = map[int32]string{
1: "MEMBERSHIP_CHANGE_TYPE_JOIN",
2: "MEMBERSHIP_CHANGE_TYPE_LEAVE",
}
var MembershipChangeType_value = map[string]int32{
"MEMBERSHIP_CHANGE_TYPE_JOIN": 1,
"MEMBERSHIP_CHANGE_TYPE_LEAVE": 2,
}
var NetworkType_name = map[int32]string{
0: "NETWORK_TYPE_UNKNOWN",
1: "NETWORK_TYPE_BABEL",
}
var NetworkType_value = map[string]int32{
"NETWORK_TYPE_UNKNOWN": 0,
"NETWORK_TYPE_BABEL": 1,
}
var NotificationLevel_name = map[int32]string{
0: "NOTIFICATION_LEVEL_UNKNOWN",
10: "NOTIFICATION_LEVEL_QUIET",
30: "NOTIFICATION_LEVEL_RING",
}
var NotificationLevel_value = map[string]int32{
"NOTIFICATION_LEVEL_UNKNOWN": 0,
"NOTIFICATION_LEVEL_QUIET": 10,
"NOTIFICATION_LEVEL_RING": 30,
}
var OffTheRecordStatus_name = map[int32]string{
0: "OFF_THE_RECORD_STATUS_UNKNOWN",
1: "OFF_THE_RECORD_STATUS_OFF_THE_RECORD",
2: "OFF_THE_RECORD_STATUS_ON_THE_RECORD",
}
var OffTheRecordStatus_value = map[string]int32{
"OFF_THE_RECORD_STATUS_UNKNOWN": 0,
"OFF_THE_RECORD_STATUS_OFF_THE_RECORD": 1,
"OFF_THE_RECORD_STATUS_ON_THE_RECORD": 2,
}
var OffTheRecordToggle_name = map[int32]string{
0: "OFF_THE_RECORD_TOGGLE_UNKNOWN",
1: "OFF_THE_RECORD_TOGGLE_ENABLED",
2: "OFF_THE_RECORD_TOGGLE_DISABLED",
}
var OffTheRecordToggle_value = map[string]int32{
"OFF_THE_RECORD_TOGGLE_UNKNOWN": 0,
"OFF_THE_RECORD_TOGGLE_ENABLED": 1,
"OFF_THE_RECORD_TOGGLE_DISABLED": 2,
}
var OffnetworkAddressType_name = map[int32]string{
0: "OFFNETWORK_ADDRESS_TYPE_UNKNOWN",
1: "OFFNETWORK_ADDRESS_TYPE_EMAIL",
}
var OffnetworkAddressType_value = map[string]int32{
"OFFNETWORK_ADDRESS_TYPE_UNKNOWN": 0,
"OFFNETWORK_ADDRESS_TYPE_EMAIL": 1,
}
var ParticipantType_name = map[int32]string{
0: "PARTICIPANT_TYPE_UNKNOWN",
2: "PARTICIPANT_TYPE_GAIA",
}
var ParticipantType_value = map[string]int32{
"PARTICIPANT_TYPE_UNKNOWN": 0,
"PARTICIPANT_TYPE_GAIA": 2,
}
var PhoneDiscoverabilityStatus_name = map[int32]string{
0: "PHONE_DISCOVERABILITY_STATUS_UNKNOWN",
2: "PHONE_DISCOVERABILITY_STATUS_OPTED_IN_BUT_NOT_DISCOVERABLE",
}
var PhoneDiscoverabilityStatus_value = map[string]int32{
"PHONE_DISCOVERABILITY_STATUS_UNKNOWN": 0,
"PHONE_DISCOVERABILITY_STATUS_OPTED_IN_BUT_NOT_DISCOVERABLE": 2,
}
var PhoneValidationResult_name = map[int32]string{
0: "PHONE_VALIDATION_RESULT_IS_POSSIBLE",
}
var PhoneValidationResult_value = map[string]int32{
"PHONE_VALIDATION_RESULT_IS_POSSIBLE": 0,
}
var PhoneVerificationStatus_name = map[int32]string{
0: "PHONE_VERIFICATION_STATUS_UNKNOWN",
1: "PHONE_VERIFICATION_STATUS_VERIFIED",
}
var PhoneVerificationStatus_value = map[string]int32{
"PHONE_VERIFICATION_STATUS_UNKNOWN": 0,
"PHONE_VERIFICATION_STATUS_VERIFIED": 1,
}
var PhotoUrlStatus_name = map[int32]string{
0: "PHOTO_URL_STATUS_UNKNOWN",
1: "PHOTO_URL_STATUS_PLACEHOLDER",
2: "PHOTO_URL_STATUS_USER_PHOTO",
}
var PhotoUrlStatus_value = map[string]int32{
"PHOTO_URL_STATUS_UNKNOWN": 0,
"PHOTO_URL_STATUS_PLACEHOLDER": 1,
"PHOTO_URL_STATUS_USER_PHOTO": 2,
}
var PlusPhoto_MediaType_name = map[int32]string{
0: "MEDIA_TYPE_UNKNOWN",
1: "MEDIA_TYPE_PHOTO",
4: "MEDIA_TYPE_ANIMATED_PHOTO",
}
var PlusPhoto_MediaType_value = map[string]int32{
"MEDIA_TYPE_UNKNOWN": 0,
"MEDIA_TYPE_PHOTO": 1,
"MEDIA_TYPE_ANIMATED_PHOTO": 4,
}
var ProfileType_name = map[int32]string{
0: "PROFILE_TYPE_NONE",
1: "PROFILE_TYPE_ES_USER",
}
var ProfileType_value = map[string]int32{
"PROFILE_TYPE_NONE": 0,
"PROFILE_TYPE_ES_USER": 1,
}
var ReplyToInviteType_name = map[int32]string{
0: "REPLY_TO_INVITE_TYPE_UNKNOWN",
1: "REPLY_TO_INVITE_TYPE_ACCEPT",
2: "REPLY_TO_INVITE_TYPE_DECLINE",
}
var ReplyToInviteType_value = map[string]int32{
"REPLY_TO_INVITE_TYPE_UNKNOWN": 0,
"REPLY_TO_INVITE_TYPE_ACCEPT": 1,
"REPLY_TO_INVITE_TYPE_DECLINE": 2,
}
var ResponseStatus_name = map[int32]string{
0: "RESPONSE_STATUS_UNKNOWN",
1: "RESPONSE_STATUS_OK",
3: "RESPONSE_STATUS_UNEXPECTED_ERROR",
4: "RESPONSE_STATUS_INVALID_REQUEST",
}
var ResponseStatus_value = map[string]int32{
"RESPONSE_STATUS_UNKNOWN": 0,
"RESPONSE_STATUS_OK": 1,
"RESPONSE_STATUS_UNEXPECTED_ERROR": 3,
"RESPONSE_STATUS_INVALID_REQUEST": 4,
}
var RichPresenceType_name = map[int32]string{
0: "RICH_PRESENCE_TYPE_UNKNOWN",
1: "RICH_PRESENCE_TYPE_IN_CALL_STATE",
3: "RICH_PRESENCE_TYPE_UNKNOWN_3",
4: "RICH_PRESENCE_TYPE_UNKNOWN_4",
5: "RICH_PRESENCE_TYPE_UNKNOWN_5",
2: "RICH_PRESENCE_TYPE_DEVICE",
6: "RICH_PRESENCE_TYPE_LAST_SEEN",
}
var RichPresenceType_value = map[string]int32{
"RICH_PRESENCE_TYPE_UNKNOWN": 0,
"RICH_PRESENCE_TYPE_IN_CALL_STATE": 1,
"RICH_PRESENCE_TYPE_UNKNOWN_3": 3,
"RICH_PRESENCE_TYPE_UNKNOWN_4": 4,
"RICH_PRESENCE_TYPE_UNKNOWN_5": 5,
"RICH_PRESENCE_TYPE_DEVICE": 2,
"RICH_PRESENCE_TYPE_LAST_SEEN": 6,
}
var SegmentType_name = map[int32]string{
0: "SEGMENT_TYPE_TEXT",
1: "SEGMENT_TYPE_LINE_BREAK",
2: "SEGMENT_TYPE_LINK",
}
var SegmentType_value = map[string]int32{
"SEGMENT_TYPE_TEXT": 0,
"SEGMENT_TYPE_LINE_BREAK": 1,
"SEGMENT_TYPE_LINK": 2,
}
var SoundState_name = map[int32]string{
0: "SOUND_STATE_UNKNOWN",
1: "SOUND_STATE_ON",
2: "SOUND_STATE_OFF",
}
var SoundState_value = map[string]int32{
"SOUND_STATE_UNKNOWN": 0,
"SOUND_STATE_ON": 1,
"SOUND_STATE_OFF": 2,
}
var SourceType_name = map[int32]string{
0: "SOURCE_TYPE_UNKNOWN",
}
var SourceType_value = map[string]int32{
"SOURCE_TYPE_UNKNOWN": 0,
}
var SyncFilter_name = map[int32]string{
0: "SYNC_FILTER_UNKNOWN",
1: "SYNC_FILTER_INBOX",
2: "SYNC_FILTER_ARCHIVED",
}
var SyncFilter_value = map[string]int32{
"SYNC_FILTER_UNKNOWN": 0,
"SYNC_FILTER_INBOX": 1,
"SYNC_FILTER_ARCHIVED": 2,
}
var TypingType_name = map[int32]string{
0: "TYPING_TYPE_UNKNOWN",
1: "TYPING_TYPE_STARTED",
2: "TYPING_TYPE_PAUSED",
3: "TYPING_TYPE_STOPPED",
}
var TypingType_value = map[string]int32{
"TYPING_TYPE_UNKNOWN": 0,
"TYPING_TYPE_STARTED": 1,
"TYPING_TYPE_PAUSED": 2,
"TYPING_TYPE_STOPPED": 3,
}
Functions ¶
This section is empty.
Types ¶
type ActiveClientState ¶
type ActiveClientState int32
Describes which Hangouts client is active.
const ( // No client is active. ActiveClientState_ACTIVE_CLIENT_STATE_NO_ACTIVE ActiveClientState = 0 // This is the active client. ActiveClientState_ACTIVE_CLIENT_STATE_IS_ACTIVE ActiveClientState = 1 // Other client is active. ActiveClientState_ACTIVE_CLIENT_STATE_OTHER_ACTIVE ActiveClientState = 2 )
func (ActiveClientState) Enum ¶
func (x ActiveClientState) Enum() *ActiveClientState
func (ActiveClientState) String ¶
func (x ActiveClientState) String() string
func (*ActiveClientState) UnmarshalJSON ¶
func (x *ActiveClientState) UnmarshalJSON(data []byte) error
type AddUserRequest ¶
type AddUserRequest struct { RequestHeader *RequestHeader `protobuf:"bytes,1,opt,name=request_header" json:"request_header,omitempty"` InviteeId []*InviteeID `protobuf:"bytes,3,rep,name=invitee_id" json:"invitee_id,omitempty"` EventRequestHeader *EventRequestHeader `protobuf:"bytes,5,opt,name=event_request_header" json:"event_request_header,omitempty"` XXX_unrecognized []byte `json:"-"` }
func (*AddUserRequest) GetEventRequestHeader ¶
func (m *AddUserRequest) GetEventRequestHeader() *EventRequestHeader
func (*AddUserRequest) GetInviteeId ¶
func (m *AddUserRequest) GetInviteeId() []*InviteeID
func (*AddUserRequest) GetRequestHeader ¶
func (m *AddUserRequest) GetRequestHeader() *RequestHeader
func (*AddUserRequest) ProtoMessage ¶
func (*AddUserRequest) ProtoMessage()
func (*AddUserRequest) Reset ¶
func (m *AddUserRequest) Reset()
func (*AddUserRequest) String ¶
func (m *AddUserRequest) String() string
type AddUserResponse ¶
type AddUserResponse struct { ResponseHeader *ResponseHeader `protobuf:"bytes,1,opt,name=response_header" json:"response_header,omitempty"` CreatedEvent *Event `protobuf:"bytes,5,opt,name=created_event" json:"created_event,omitempty"` XXX_unrecognized []byte `json:"-"` }
func (*AddUserResponse) GetCreatedEvent ¶
func (m *AddUserResponse) GetCreatedEvent() *Event
func (*AddUserResponse) GetResponseHeader ¶
func (m *AddUserResponse) GetResponseHeader() *ResponseHeader
func (*AddUserResponse) ProtoMessage ¶
func (*AddUserResponse) ProtoMessage()
func (*AddUserResponse) Reset ¶
func (m *AddUserResponse) Reset()
func (*AddUserResponse) String ¶
func (m *AddUserResponse) String() string
type Attachment ¶
type Attachment struct { EmbedItem *EmbedItem `protobuf:"bytes,1,opt,name=embed_item" json:"embed_item,omitempty"` XXX_unrecognized []byte `json:"-"` }
An attachment for a chat message.
func (*Attachment) GetEmbedItem ¶
func (m *Attachment) GetEmbedItem() *EmbedItem
func (*Attachment) ProtoMessage ¶
func (*Attachment) ProtoMessage()
func (*Attachment) Reset ¶
func (m *Attachment) Reset()
func (*Attachment) String ¶
func (m *Attachment) String() string
type BatchUpdate ¶
type BatchUpdate struct { StateUpdate []*StateUpdate `protobuf:"bytes,1,rep,name=state_update" json:"state_update,omitempty"` XXX_unrecognized []byte `json:"-"` }
List of StateUpdate messages to allow pushing multiple notifications from the server to the client simultaneously.
func (*BatchUpdate) GetStateUpdate ¶
func (m *BatchUpdate) GetStateUpdate() []*StateUpdate
func (*BatchUpdate) ProtoMessage ¶
func (*BatchUpdate) ProtoMessage()
func (*BatchUpdate) Reset ¶
func (m *BatchUpdate) Reset()
func (*BatchUpdate) String ¶
func (m *BatchUpdate) String() string
type BlockNotification ¶
type BlockNotification struct { BlockStateChange []*BlockStateChange `protobuf:"bytes,1,rep,name=block_state_change" json:"block_state_change,omitempty"` XXX_unrecognized []byte `json:"-"` }
func (*BlockNotification) GetBlockStateChange ¶
func (m *BlockNotification) GetBlockStateChange() []*BlockStateChange
func (*BlockNotification) ProtoMessage ¶
func (*BlockNotification) ProtoMessage()
func (*BlockNotification) Reset ¶
func (m *BlockNotification) Reset()
func (*BlockNotification) String ¶
func (m *BlockNotification) String() string
type BlockState ¶
type BlockState int32
const ( BlockState_BLOCK_STATE_UNKNOWN BlockState = 0 BlockState_BLOCK_STATE_BLOCK BlockState = 1 BlockState_BLOCK_STATE_UNBLOCK BlockState = 2 )
func (BlockState) Enum ¶
func (x BlockState) Enum() *BlockState
func (BlockState) String ¶
func (x BlockState) String() string
func (*BlockState) UnmarshalJSON ¶
func (x *BlockState) UnmarshalJSON(data []byte) error
type BlockStateChange ¶
type BlockStateChange struct { ParticipantId *ParticipantId `protobuf:"bytes,1,opt,name=participant_id" json:"participant_id,omitempty"` NewBlockState *BlockState `protobuf:"varint,2,opt,name=new_block_state,enum=BlockState" json:"new_block_state,omitempty"` XXX_unrecognized []byte `json:"-"` }
func (*BlockStateChange) GetNewBlockState ¶
func (m *BlockStateChange) GetNewBlockState() BlockState
func (*BlockStateChange) GetParticipantId ¶
func (m *BlockStateChange) GetParticipantId() *ParticipantId
func (*BlockStateChange) ProtoMessage ¶
func (*BlockStateChange) ProtoMessage()
func (*BlockStateChange) Reset ¶
func (m *BlockStateChange) Reset()
func (*BlockStateChange) String ¶
func (m *BlockStateChange) String() string
type CallerIdSettingsMask ¶
type CallerIdSettingsMask int32
const ( CallerIdSettingsMask_CALLER_ID_SETTINGS_MASK_UNKNOWN CallerIdSettingsMask = 0 CallerIdSettingsMask_CALLER_ID_SETTINGS_MASK_PROVIDED CallerIdSettingsMask = 1 )
func (CallerIdSettingsMask) Enum ¶
func (x CallerIdSettingsMask) Enum() *CallerIdSettingsMask
func (CallerIdSettingsMask) String ¶
func (x CallerIdSettingsMask) String() string
func (*CallerIdSettingsMask) UnmarshalJSON ¶
func (x *CallerIdSettingsMask) UnmarshalJSON(data []byte) error
type ChatMessage ¶
type ChatMessage struct { // Optional annotation to attach to message. Annotation []*EventAnnotation `protobuf:"bytes,2,rep,name=annotation" json:"annotation,omitempty"` // The message's content. MessageContent *MessageContent `protobuf:"bytes,3,opt,name=message_content" json:"message_content,omitempty"` XXX_unrecognized []byte `json:"-"` }
A chat message in a conversation.
func (*ChatMessage) GetAnnotation ¶
func (m *ChatMessage) GetAnnotation() []*EventAnnotation
func (*ChatMessage) GetMessageContent ¶
func (m *ChatMessage) GetMessageContent() *MessageContent
func (*ChatMessage) ProtoMessage ¶
func (*ChatMessage) ProtoMessage()
func (*ChatMessage) Reset ¶
func (m *ChatMessage) Reset()
func (*ChatMessage) String ¶
func (m *ChatMessage) String() string
type ClientBuildType ¶
type ClientBuildType int32
Build type of the client.
const ( ClientBuildType_BUILD_TYPE_UNKNOWN ClientBuildType = 0 // Web app. ClientBuildType_BUILD_TYPE_PRODUCTION_WEB ClientBuildType = 1 // Native app. ClientBuildType_BUILD_TYPE_PRODUCTION_APP ClientBuildType = 3 )
func (ClientBuildType) Enum ¶
func (x ClientBuildType) Enum() *ClientBuildType
func (ClientBuildType) String ¶
func (x ClientBuildType) String() string
func (*ClientBuildType) UnmarshalJSON ¶
func (x *ClientBuildType) UnmarshalJSON(data []byte) error
type ClientId ¶
type ClientId int32
Identifies the client.
const ( ClientId_CLIENT_ID_UNKNOWN ClientId = 0 // Hangouts app for Android. ClientId_CLIENT_ID_ANDROID ClientId = 1 // Hangouts app for iOS. ClientId_CLIENT_ID_IOS ClientId = 2 // Hangouts Chrome extension. ClientId_CLIENT_ID_CHROME ClientId = 3 // Hangouts web interface in Google Plus. ClientId_CLIENT_ID_WEB_GPLUS ClientId = 5 // Hangouts web interface in Gmail. ClientId_CLIENT_ID_WEB_GMAIL ClientId = 6 // Hangouts Chrome app ("ultraviolet"). ClientId_CLIENT_ID_ULTRAVIOLET ClientId = 13 )
func (*ClientId) UnmarshalJSON ¶
type ClientIdentifier ¶
type ClientIdentifier struct { // (client_id in hangups). Resource *string `protobuf:"bytes,1,opt,name=resource" json:"resource,omitempty"` // unknown (header_id in hangups). HeaderId *string `protobuf:"bytes,2,opt,name=header_id" json:"header_id,omitempty"` XXX_unrecognized []byte `json:"-"` }
func (*ClientIdentifier) GetHeaderId ¶
func (m *ClientIdentifier) GetHeaderId() string
func (*ClientIdentifier) GetResource ¶
func (m *ClientIdentifier) GetResource() string
func (*ClientIdentifier) ProtoMessage ¶
func (*ClientIdentifier) ProtoMessage()
func (*ClientIdentifier) Reset ¶
func (m *ClientIdentifier) Reset()
func (*ClientIdentifier) String ¶
func (m *ClientIdentifier) String() string
type ClientPresenceState ¶
type ClientPresenceState struct { Identifier *ClientIdentifier `protobuf:"bytes,1,opt,name=identifier" json:"identifier,omitempty"` State *ClientPresenceStateType `protobuf:"varint,2,opt,name=state,enum=ClientPresenceStateType" json:"state,omitempty"` XXX_unrecognized []byte `json:"-"` }
func (*ClientPresenceState) GetIdentifier ¶
func (m *ClientPresenceState) GetIdentifier() *ClientIdentifier
func (*ClientPresenceState) GetState ¶
func (m *ClientPresenceState) GetState() ClientPresenceStateType
func (*ClientPresenceState) ProtoMessage ¶
func (*ClientPresenceState) ProtoMessage()
func (*ClientPresenceState) Reset ¶
func (m *ClientPresenceState) Reset()
func (*ClientPresenceState) String ¶
func (m *ClientPresenceState) String() string
type ClientPresenceStateType ¶
type ClientPresenceStateType int32
const ( ClientPresenceStateType_CLIENT_PRESENCE_STATE_UNKNOWN ClientPresenceStateType = 0 ClientPresenceStateType_CLIENT_PRESENCE_STATE_NONE ClientPresenceStateType = 1 ClientPresenceStateType_CLIENT_PRESENCE_STATE_DESKTOP_IDLE ClientPresenceStateType = 30 ClientPresenceStateType_CLIENT_PRESENCE_STATE_DESKTOP_ACTIVE ClientPresenceStateType = 40 )
func (ClientPresenceStateType) Enum ¶
func (x ClientPresenceStateType) Enum() *ClientPresenceStateType
func (ClientPresenceStateType) String ¶
func (x ClientPresenceStateType) String() string
func (*ClientPresenceStateType) UnmarshalJSON ¶
func (x *ClientPresenceStateType) UnmarshalJSON(data []byte) error
type ClientVersion ¶
type ClientVersion struct { // Identifies the client. ClientId *ClientId `protobuf:"varint,1,opt,name=client_id,enum=ClientId" json:"client_id,omitempty"` // The client build type. BuildType *ClientBuildType `protobuf:"varint,2,opt,name=build_type,enum=ClientBuildType" json:"build_type,omitempty"` // Client version. MajorVersion *string `protobuf:"bytes,3,opt,name=major_version" json:"major_version,omitempty"` // Client version timestamp. VersionTimestamp *uint64 `protobuf:"varint,4,opt,name=version_timestamp" json:"version_timestamp,omitempty"` // OS version string (for native apps). DeviceOsVersion *string `protobuf:"bytes,5,opt,name=device_os_version" json:"device_os_version,omitempty"` // Device hardware name (for native apps). DeviceHardware *string `protobuf:"bytes,6,opt,name=device_hardware" json:"device_hardware,omitempty"` XXX_unrecognized []byte `json:"-"` }
The client and device version.
func (*ClientVersion) GetBuildType ¶
func (m *ClientVersion) GetBuildType() ClientBuildType
func (*ClientVersion) GetClientId ¶
func (m *ClientVersion) GetClientId() ClientId
func (*ClientVersion) GetDeviceHardware ¶
func (m *ClientVersion) GetDeviceHardware() string
func (*ClientVersion) GetDeviceOsVersion ¶
func (m *ClientVersion) GetDeviceOsVersion() string
func (*ClientVersion) GetMajorVersion ¶
func (m *ClientVersion) GetMajorVersion() string
func (*ClientVersion) GetVersionTimestamp ¶
func (m *ClientVersion) GetVersionTimestamp() uint64
func (*ClientVersion) ProtoMessage ¶
func (*ClientVersion) ProtoMessage()
func (*ClientVersion) Reset ¶
func (m *ClientVersion) Reset()
func (*ClientVersion) String ¶
func (m *ClientVersion) String() string
type ConfigurationBit ¶
type ConfigurationBit struct { ConfigurationBitType *ConfigurationBitType `protobuf:"varint,1,opt,name=configuration_bit_type,enum=ConfigurationBitType" json:"configuration_bit_type,omitempty"` Value *bool `protobuf:"varint,2,opt,name=value" json:"value,omitempty"` XXX_unrecognized []byte `json:"-"` }
func (*ConfigurationBit) GetConfigurationBitType ¶
func (m *ConfigurationBit) GetConfigurationBitType() ConfigurationBitType
func (*ConfigurationBit) GetValue ¶
func (m *ConfigurationBit) GetValue() bool
func (*ConfigurationBit) ProtoMessage ¶
func (*ConfigurationBit) ProtoMessage()
func (*ConfigurationBit) Reset ¶
func (m *ConfigurationBit) Reset()
func (*ConfigurationBit) String ¶
func (m *ConfigurationBit) String() string
type ConfigurationBitType ¶
type ConfigurationBitType int32
A type of binary configuration option.
const ( ConfigurationBitType_CONFIGURATION_BIT_TYPE_UNKNOWN ConfigurationBitType = 0 ConfigurationBitType_CONFIGURATION_BIT_TYPE_UNKNOWN_1 ConfigurationBitType = 1 ConfigurationBitType_CONFIGURATION_BIT_TYPE_UNKNOWN_2 ConfigurationBitType = 2 ConfigurationBitType_CONFIGURATION_BIT_TYPE_UNKNOWN_3 ConfigurationBitType = 3 ConfigurationBitType_CONFIGURATION_BIT_TYPE_UNKNOWN_4 ConfigurationBitType = 4 ConfigurationBitType_CONFIGURATION_BIT_TYPE_UNKNOWN_5 ConfigurationBitType = 5 ConfigurationBitType_CONFIGURATION_BIT_TYPE_UNKNOWN_6 ConfigurationBitType = 6 ConfigurationBitType_CONFIGURATION_BIT_TYPE_UNKNOWN_7 ConfigurationBitType = 7 ConfigurationBitType_CONFIGURATION_BIT_TYPE_UNKNOWN_8 ConfigurationBitType = 8 ConfigurationBitType_CONFIGURATION_BIT_TYPE_UNKNOWN_9 ConfigurationBitType = 9 ConfigurationBitType_CONFIGURATION_BIT_TYPE_UNKNOWN_10 ConfigurationBitType = 10 ConfigurationBitType_CONFIGURATION_BIT_TYPE_UNKNOWN_11 ConfigurationBitType = 11 ConfigurationBitType_CONFIGURATION_BIT_TYPE_UNKNOWN_12 ConfigurationBitType = 12 ConfigurationBitType_CONFIGURATION_BIT_TYPE_UNKNOWN_13 ConfigurationBitType = 13 ConfigurationBitType_CONFIGURATION_BIT_TYPE_UNKNOWN_14 ConfigurationBitType = 14 ConfigurationBitType_CONFIGURATION_BIT_TYPE_UNKNOWN_15 ConfigurationBitType = 15 ConfigurationBitType_CONFIGURATION_BIT_TYPE_UNKNOWN_16 ConfigurationBitType = 16 ConfigurationBitType_CONFIGURATION_BIT_TYPE_UNKNOWN_17 ConfigurationBitType = 17 ConfigurationBitType_CONFIGURATION_BIT_TYPE_UNKNOWN_18 ConfigurationBitType = 18 ConfigurationBitType_CONFIGURATION_BIT_TYPE_UNKNOWN_19 ConfigurationBitType = 19 ConfigurationBitType_CONFIGURATION_BIT_TYPE_UNKNOWN_20 ConfigurationBitType = 20 ConfigurationBitType_CONFIGURATION_BIT_TYPE_UNKNOWN_21 ConfigurationBitType = 21 ConfigurationBitType_CONFIGURATION_BIT_TYPE_UNKNOWN_22 ConfigurationBitType = 22 ConfigurationBitType_CONFIGURATION_BIT_TYPE_UNKNOWN_23 ConfigurationBitType = 23 ConfigurationBitType_CONFIGURATION_BIT_TYPE_UNKNOWN_24 ConfigurationBitType = 24 ConfigurationBitType_CONFIGURATION_BIT_TYPE_UNKNOWN_25 ConfigurationBitType = 25 ConfigurationBitType_CONFIGURATION_BIT_TYPE_UNKNOWN_26 ConfigurationBitType = 26 ConfigurationBitType_CONFIGURATION_BIT_TYPE_UNKNOWN_27 ConfigurationBitType = 27 ConfigurationBitType_CONFIGURATION_BIT_TYPE_UNKNOWN_28 ConfigurationBitType = 28 ConfigurationBitType_CONFIGURATION_BIT_TYPE_UNKNOWN_29 ConfigurationBitType = 29 ConfigurationBitType_CONFIGURATION_BIT_TYPE_UNKNOWN_30 ConfigurationBitType = 30 ConfigurationBitType_CONFIGURATION_BIT_TYPE_UNKNOWN_31 ConfigurationBitType = 31 ConfigurationBitType_CONFIGURATION_BIT_TYPE_UNKNOWN_32 ConfigurationBitType = 32 ConfigurationBitType_CONFIGURATION_BIT_TYPE_UNKNOWN_33 ConfigurationBitType = 33 ConfigurationBitType_CONFIGURATION_BIT_TYPE_UNKNOWN_34 ConfigurationBitType = 34 ConfigurationBitType_CONFIGURATION_BIT_TYPE_UNKNOWN_35 ConfigurationBitType = 35 ConfigurationBitType_CONFIGURATION_BIT_TYPE_UNKNOWN_36 ConfigurationBitType = 36 )
func (ConfigurationBitType) Enum ¶
func (x ConfigurationBitType) Enum() *ConfigurationBitType
func (ConfigurationBitType) String ¶
func (x ConfigurationBitType) String() string
func (*ConfigurationBitType) UnmarshalJSON ¶
func (x *ConfigurationBitType) UnmarshalJSON(data []byte) error
type Conversation ¶
type Conversation struct { ConversationId *ConversationId `protobuf:"bytes,1,opt,name=conversation_id" json:"conversation_id,omitempty"` Type *ConversationType `protobuf:"varint,2,opt,name=type,enum=ConversationType" json:"type,omitempty"` Name *string `protobuf:"bytes,3,opt,name=name" json:"name,omitempty"` SelfConversationState *UserConversationState `protobuf:"bytes,4,opt,name=self_conversation_state" json:"self_conversation_state,omitempty"` ReadState []*UserReadState `protobuf:"bytes,8,rep,name=read_state" json:"read_state,omitempty"` // True if the conversation has an active Hangout. HasActiveHangout *bool `protobuf:"varint,9,opt,name=has_active_hangout" json:"has_active_hangout,omitempty"` // The conversation's "off the record" status. OtrStatus *OffTheRecordStatus `protobuf:"varint,10,opt,name=otr_status,enum=OffTheRecordStatus" json:"otr_status,omitempty"` // Whether the OTR toggle is available to the user for this conversation. OtrToggle *OffTheRecordToggle `protobuf:"varint,11,opt,name=otr_toggle,enum=OffTheRecordToggle" json:"otr_toggle,omitempty"` ConversationHistorySupported *bool `protobuf:"varint,12,opt,name=conversation_history_supported" json:"conversation_history_supported,omitempty"` CurrentParticipant []*ParticipantId `protobuf:"bytes,13,rep,name=current_participant" json:"current_participant,omitempty"` ParticipantData []*ConversationParticipantData `protobuf:"bytes,14,rep,name=participant_data" json:"participant_data,omitempty"` NetworkType []NetworkType `protobuf:"varint,18,rep,name=network_type,enum=NetworkType" json:"network_type,omitempty"` ForceHistoryState *ForceHistory `protobuf:"varint,19,opt,name=force_history_state,enum=ForceHistory" json:"force_history_state,omitempty"` XXX_unrecognized []byte `json:"-"` }
A conversation between two or more users.
func (*Conversation) GetConversationHistorySupported ¶
func (m *Conversation) GetConversationHistorySupported() bool
func (*Conversation) GetConversationId ¶
func (m *Conversation) GetConversationId() *ConversationId
func (*Conversation) GetCurrentParticipant ¶
func (m *Conversation) GetCurrentParticipant() []*ParticipantId
func (*Conversation) GetForceHistoryState ¶
func (m *Conversation) GetForceHistoryState() ForceHistory
func (*Conversation) GetHasActiveHangout ¶
func (m *Conversation) GetHasActiveHangout() bool
func (*Conversation) GetName ¶
func (m *Conversation) GetName() string
func (*Conversation) GetNetworkType ¶
func (m *Conversation) GetNetworkType() []NetworkType
func (*Conversation) GetOtrStatus ¶
func (m *Conversation) GetOtrStatus() OffTheRecordStatus
func (*Conversation) GetOtrToggle ¶
func (m *Conversation) GetOtrToggle() OffTheRecordToggle
func (*Conversation) GetParticipantData ¶
func (m *Conversation) GetParticipantData() []*ConversationParticipantData
func (*Conversation) GetReadState ¶
func (m *Conversation) GetReadState() []*UserReadState
func (*Conversation) GetSelfConversationState ¶
func (m *Conversation) GetSelfConversationState() *UserConversationState
func (*Conversation) GetType ¶
func (m *Conversation) GetType() ConversationType
func (*Conversation) ProtoMessage ¶
func (*Conversation) ProtoMessage()
func (*Conversation) Reset ¶
func (m *Conversation) Reset()
func (*Conversation) String ¶
func (m *Conversation) String() string
type ConversationId ¶
type ConversationId struct { // Unique identifier for a conversation. Id *string `protobuf:"bytes,1,opt,name=id" json:"id,omitempty"` XXX_unrecognized []byte `json:"-"` }
Identifies a conversation.
func (*ConversationId) GetId ¶
func (m *ConversationId) GetId() string
func (*ConversationId) ProtoMessage ¶
func (*ConversationId) ProtoMessage()
func (*ConversationId) Reset ¶
func (m *ConversationId) Reset()
func (*ConversationId) String ¶
func (m *ConversationId) String() string
type ConversationNotification ¶
type ConversationNotification struct { Conversation *Conversation `protobuf:"bytes,1,opt,name=conversation" json:"conversation,omitempty"` XXX_unrecognized []byte `json:"-"` }
func (*ConversationNotification) GetConversation ¶
func (m *ConversationNotification) GetConversation() *Conversation
func (*ConversationNotification) ProtoMessage ¶
func (*ConversationNotification) ProtoMessage()
func (*ConversationNotification) Reset ¶
func (m *ConversationNotification) Reset()
func (*ConversationNotification) String ¶
func (m *ConversationNotification) String() string
type ConversationParticipantData ¶
type ConversationParticipantData struct { Id *ParticipantId `protobuf:"bytes,1,opt,name=id" json:"id,omitempty"` FallbackName *string `protobuf:"bytes,2,opt,name=fallback_name" json:"fallback_name,omitempty"` InvitationStatus *InvitationStatus `protobuf:"varint,3,opt,name=invitation_status,enum=InvitationStatus" json:"invitation_status,omitempty"` ParticipantType *ParticipantType `protobuf:"varint,5,opt,name=participant_type,enum=ParticipantType" json:"participant_type,omitempty"` NewInvitationStatus *InvitationStatus `protobuf:"varint,6,opt,name=new_invitation_status,enum=InvitationStatus" json:"new_invitation_status,omitempty"` XXX_unrecognized []byte `json:"-"` }
func (*ConversationParticipantData) GetFallbackName ¶
func (m *ConversationParticipantData) GetFallbackName() string
func (*ConversationParticipantData) GetId ¶
func (m *ConversationParticipantData) GetId() *ParticipantId
func (*ConversationParticipantData) GetInvitationStatus ¶
func (m *ConversationParticipantData) GetInvitationStatus() InvitationStatus
func (*ConversationParticipantData) GetNewInvitationStatus ¶
func (m *ConversationParticipantData) GetNewInvitationStatus() InvitationStatus
func (*ConversationParticipantData) GetParticipantType ¶
func (m *ConversationParticipantData) GetParticipantType() ParticipantType
func (*ConversationParticipantData) ProtoMessage ¶
func (*ConversationParticipantData) ProtoMessage()
func (*ConversationParticipantData) Reset ¶
func (m *ConversationParticipantData) Reset()
func (*ConversationParticipantData) String ¶
func (m *ConversationParticipantData) String() string
type ConversationRename ¶
type ConversationRename struct { NewName *string `protobuf:"bytes,1,opt,name=new_name" json:"new_name,omitempty"` OldName *string `protobuf:"bytes,2,opt,name=old_name" json:"old_name,omitempty"` XXX_unrecognized []byte `json:"-"` }
func (*ConversationRename) GetNewName ¶
func (m *ConversationRename) GetNewName() string
func (*ConversationRename) GetOldName ¶
func (m *ConversationRename) GetOldName() string
func (*ConversationRename) ProtoMessage ¶
func (*ConversationRename) ProtoMessage()
func (*ConversationRename) Reset ¶
func (m *ConversationRename) Reset()
func (*ConversationRename) String ¶
func (m *ConversationRename) String() string
type ConversationSpec ¶
type ConversationSpec struct { ConversationId *ConversationId `protobuf:"bytes,1,opt,name=conversation_id" json:"conversation_id,omitempty"` XXX_unrecognized []byte `json:"-"` }
func (*ConversationSpec) GetConversationId ¶
func (m *ConversationSpec) GetConversationId() *ConversationId
func (*ConversationSpec) ProtoMessage ¶
func (*ConversationSpec) ProtoMessage()
func (*ConversationSpec) Reset ¶
func (m *ConversationSpec) Reset()
func (*ConversationSpec) String ¶
func (m *ConversationSpec) String() string
type ConversationState ¶
type ConversationState struct { ConversationId *ConversationId `protobuf:"bytes,1,opt,name=conversation_id" json:"conversation_id,omitempty"` Conversation *Conversation `protobuf:"bytes,2,opt,name=conversation" json:"conversation,omitempty"` Event []*Event `protobuf:"bytes,3,rep,name=event" json:"event,omitempty"` EventContinuationToken *EventContinuationToken `protobuf:"bytes,5,opt,name=event_continuation_token" json:"event_continuation_token,omitempty"` XXX_unrecognized []byte `json:"-"` }
State of a conversation and recent events.
func (*ConversationState) GetConversation ¶
func (m *ConversationState) GetConversation() *Conversation
func (*ConversationState) GetConversationId ¶
func (m *ConversationState) GetConversationId() *ConversationId
func (*ConversationState) GetEvent ¶
func (m *ConversationState) GetEvent() []*Event
func (*ConversationState) GetEventContinuationToken ¶
func (m *ConversationState) GetEventContinuationToken() *EventContinuationToken
func (*ConversationState) ProtoMessage ¶
func (*ConversationState) ProtoMessage()
func (*ConversationState) Reset ¶
func (m *ConversationState) Reset()
func (*ConversationState) String ¶
func (m *ConversationState) String() string
type ConversationStatus ¶
type ConversationStatus int32
const ( ConversationStatus_CONVERSATION_STATUS_UNKNOWN ConversationStatus = 0 // User is invited to conversation. ConversationStatus_CONVERSATION_STATUS_INVITED ConversationStatus = 1 // User is participating in conversation. ConversationStatus_CONVERSATION_STATUS_ACTIVE ConversationStatus = 2 // User has left conversation. ConversationStatus_CONVERSATION_STATUS_LEFT ConversationStatus = 3 )
func (ConversationStatus) Enum ¶
func (x ConversationStatus) Enum() *ConversationStatus
func (ConversationStatus) String ¶
func (x ConversationStatus) String() string
func (*ConversationStatus) UnmarshalJSON ¶
func (x *ConversationStatus) UnmarshalJSON(data []byte) error
type ConversationType ¶
type ConversationType int32
const ( ConversationType_CONVERSATION_TYPE_UNKNOWN ConversationType = 0 // Conversation is one-to-one (only 2 participants). ConversationType_CONVERSATION_TYPE_ONE_TO_ONE ConversationType = 1 // Conversation is group (any number of participants). ConversationType_CONVERSATION_TYPE_GROUP ConversationType = 2 )
func (ConversationType) Enum ¶
func (x ConversationType) Enum() *ConversationType
func (ConversationType) String ¶
func (x ConversationType) String() string
func (*ConversationType) UnmarshalJSON ¶
func (x *ConversationType) UnmarshalJSON(data []byte) error
type ConversationView ¶
type ConversationView int32
const ( ConversationView_CONVERSATION_VIEW_UNKNOWN ConversationView = 0 // Conversation is in inbox. ConversationView_CONVERSATION_VIEW_INBOX ConversationView = 1 // Conversation has been archived. ConversationView_CONVERSATION_VIEW_ARCHIVED ConversationView = 2 )
func (ConversationView) Enum ¶
func (x ConversationView) Enum() *ConversationView
func (ConversationView) String ¶
func (x ConversationView) String() string
func (*ConversationView) UnmarshalJSON ¶
func (x *ConversationView) UnmarshalJSON(data []byte) error
type ConversationViewModification ¶
type ConversationViewModification struct { ConversationId *ConversationId `protobuf:"bytes,1,opt,name=conversation_id" json:"conversation_id,omitempty"` OldView *ConversationView `protobuf:"varint,2,opt,name=old_view,enum=ConversationView" json:"old_view,omitempty"` NewView *ConversationView `protobuf:"varint,3,opt,name=new_view,enum=ConversationView" json:"new_view,omitempty"` XXX_unrecognized []byte `json:"-"` }
func (*ConversationViewModification) GetConversationId ¶
func (m *ConversationViewModification) GetConversationId() *ConversationId
func (*ConversationViewModification) GetNewView ¶
func (m *ConversationViewModification) GetNewView() ConversationView
func (*ConversationViewModification) GetOldView ¶
func (m *ConversationViewModification) GetOldView() ConversationView
func (*ConversationViewModification) ProtoMessage ¶
func (*ConversationViewModification) ProtoMessage()
func (*ConversationViewModification) Reset ¶
func (m *ConversationViewModification) Reset()
func (*ConversationViewModification) String ¶
func (m *ConversationViewModification) String() string
type Country ¶
type Country struct { // Abbreviated region code (eg. "CA"). RegionCode *string `protobuf:"bytes,1,opt,name=region_code" json:"region_code,omitempty"` // Country's calling code (eg. "1"). CountryCode *uint64 `protobuf:"varint,2,opt,name=country_code" json:"country_code,omitempty"` XXX_unrecognized []byte `json:"-"` }
Describes a user's country.
func (*Country) GetCountryCode ¶
func (*Country) GetRegionCode ¶
func (*Country) ProtoMessage ¶
func (*Country) ProtoMessage()
type CreateConversationRequest ¶
type CreateConversationRequest struct { RequestHeader *RequestHeader `protobuf:"bytes,1,opt,name=request_header" json:"request_header,omitempty"` Type *ConversationType `protobuf:"varint,2,opt,name=type,enum=ConversationType" json:"type,omitempty"` ClientGeneratedId *uint64 `protobuf:"varint,3,opt,name=client_generated_id" json:"client_generated_id,omitempty"` Name *string `protobuf:"bytes,4,opt,name=name" json:"name,omitempty"` InviteeId []*InviteeID `protobuf:"bytes,5,rep,name=invitee_id" json:"invitee_id,omitempty"` XXX_unrecognized []byte `json:"-"` }
func (*CreateConversationRequest) GetClientGeneratedId ¶
func (m *CreateConversationRequest) GetClientGeneratedId() uint64
func (*CreateConversationRequest) GetInviteeId ¶
func (m *CreateConversationRequest) GetInviteeId() []*InviteeID
func (*CreateConversationRequest) GetName ¶
func (m *CreateConversationRequest) GetName() string
func (*CreateConversationRequest) GetRequestHeader ¶
func (m *CreateConversationRequest) GetRequestHeader() *RequestHeader
func (*CreateConversationRequest) GetType ¶
func (m *CreateConversationRequest) GetType() ConversationType
func (*CreateConversationRequest) ProtoMessage ¶
func (*CreateConversationRequest) ProtoMessage()
func (*CreateConversationRequest) Reset ¶
func (m *CreateConversationRequest) Reset()
func (*CreateConversationRequest) String ¶
func (m *CreateConversationRequest) String() string
type CreateConversationResponse ¶
type CreateConversationResponse struct { ResponseHeader *ResponseHeader `protobuf:"bytes,1,opt,name=response_header" json:"response_header,omitempty"` Conversation *Conversation `protobuf:"bytes,2,opt,name=conversation" json:"conversation,omitempty"` NewConversationCreated *bool `protobuf:"varint,7,opt,name=new_conversation_created" json:"new_conversation_created,omitempty"` XXX_unrecognized []byte `json:"-"` }
func (*CreateConversationResponse) GetConversation ¶
func (m *CreateConversationResponse) GetConversation() *Conversation
func (*CreateConversationResponse) GetNewConversationCreated ¶
func (m *CreateConversationResponse) GetNewConversationCreated() bool
func (*CreateConversationResponse) GetResponseHeader ¶
func (m *CreateConversationResponse) GetResponseHeader() *ResponseHeader
func (*CreateConversationResponse) ProtoMessage ¶
func (*CreateConversationResponse) ProtoMessage()
func (*CreateConversationResponse) Reset ¶
func (m *CreateConversationResponse) Reset()
func (*CreateConversationResponse) String ¶
func (m *CreateConversationResponse) String() string
type DeleteAction ¶
type DeleteAction struct { DeleteActionTimestamp *uint64 `protobuf:"varint,1,opt,name=delete_action_timestamp" json:"delete_action_timestamp,omitempty"` DeleteUpperBoundTimestamp *uint64 `protobuf:"varint,2,opt,name=delete_upper_bound_timestamp" json:"delete_upper_bound_timestamp,omitempty"` DeleteType *DeleteType `protobuf:"varint,3,opt,name=delete_type,enum=DeleteType" json:"delete_type,omitempty"` XXX_unrecognized []byte `json:"-"` }
func (*DeleteAction) GetDeleteActionTimestamp ¶
func (m *DeleteAction) GetDeleteActionTimestamp() uint64
func (*DeleteAction) GetDeleteType ¶
func (m *DeleteAction) GetDeleteType() DeleteType
func (*DeleteAction) GetDeleteUpperBoundTimestamp ¶
func (m *DeleteAction) GetDeleteUpperBoundTimestamp() uint64
func (*DeleteAction) ProtoMessage ¶
func (*DeleteAction) ProtoMessage()
func (*DeleteAction) Reset ¶
func (m *DeleteAction) Reset()
func (*DeleteAction) String ¶
func (m *DeleteAction) String() string
type DeleteActionNotification ¶
type DeleteActionNotification struct { ConversationId *ConversationId `protobuf:"bytes,1,opt,name=conversation_id" json:"conversation_id,omitempty"` DeleteAction *DeleteAction `protobuf:"bytes,2,opt,name=delete_action" json:"delete_action,omitempty"` XXX_unrecognized []byte `json:"-"` }
func (*DeleteActionNotification) GetConversationId ¶
func (m *DeleteActionNotification) GetConversationId() *ConversationId
func (*DeleteActionNotification) GetDeleteAction ¶
func (m *DeleteActionNotification) GetDeleteAction() *DeleteAction
func (*DeleteActionNotification) ProtoMessage ¶
func (*DeleteActionNotification) ProtoMessage()
func (*DeleteActionNotification) Reset ¶
func (m *DeleteActionNotification) Reset()
func (*DeleteActionNotification) String ¶
func (m *DeleteActionNotification) String() string
type DeleteConversationRequest ¶
type DeleteConversationRequest struct { RequestHeader *RequestHeader `protobuf:"bytes,1,opt,name=request_header" json:"request_header,omitempty"` ConversationId *ConversationId `protobuf:"bytes,2,opt,name=conversation_id" json:"conversation_id,omitempty"` DeleteUpperBoundTimestamp *uint64 `protobuf:"varint,3,opt,name=delete_upper_bound_timestamp" json:"delete_upper_bound_timestamp,omitempty"` XXX_unrecognized []byte `json:"-"` }
func (*DeleteConversationRequest) GetConversationId ¶
func (m *DeleteConversationRequest) GetConversationId() *ConversationId
func (*DeleteConversationRequest) GetDeleteUpperBoundTimestamp ¶
func (m *DeleteConversationRequest) GetDeleteUpperBoundTimestamp() uint64
func (*DeleteConversationRequest) GetRequestHeader ¶
func (m *DeleteConversationRequest) GetRequestHeader() *RequestHeader
func (*DeleteConversationRequest) ProtoMessage ¶
func (*DeleteConversationRequest) ProtoMessage()
func (*DeleteConversationRequest) Reset ¶
func (m *DeleteConversationRequest) Reset()
func (*DeleteConversationRequest) String ¶
func (m *DeleteConversationRequest) String() string
type DeleteConversationResponse ¶
type DeleteConversationResponse struct { ResponseHeader *ResponseHeader `protobuf:"bytes,1,opt,name=response_header" json:"response_header,omitempty"` DeleteAction *DeleteAction `protobuf:"bytes,2,opt,name=delete_action" json:"delete_action,omitempty"` XXX_unrecognized []byte `json:"-"` }
func (*DeleteConversationResponse) GetDeleteAction ¶
func (m *DeleteConversationResponse) GetDeleteAction() *DeleteAction
func (*DeleteConversationResponse) GetResponseHeader ¶
func (m *DeleteConversationResponse) GetResponseHeader() *ResponseHeader
func (*DeleteConversationResponse) ProtoMessage ¶
func (*DeleteConversationResponse) ProtoMessage()
func (*DeleteConversationResponse) Reset ¶
func (m *DeleteConversationResponse) Reset()
func (*DeleteConversationResponse) String ¶
func (m *DeleteConversationResponse) String() string
type DeleteType ¶
type DeleteType int32
const ( DeleteType_DELETE_TYPE_UNKNOWN DeleteType = 0 DeleteType_DELETE_TYPE_UPPER_BOUND DeleteType = 1 )
func (DeleteType) Enum ¶
func (x DeleteType) Enum() *DeleteType
func (DeleteType) String ¶
func (x DeleteType) String() string
func (*DeleteType) UnmarshalJSON ¶
func (x *DeleteType) UnmarshalJSON(data []byte) error
type DeliveryMedium ¶
type DeliveryMedium struct { MediumType *DeliveryMediumType `protobuf:"varint,1,opt,name=medium_type,enum=DeliveryMediumType" json:"medium_type,omitempty"` // Phone number to use for sending Google Voice messages. Phone *Phone `protobuf:"bytes,2,opt,name=phone" json:"phone,omitempty"` XXX_unrecognized []byte `json:"-"` }
func (*DeliveryMedium) GetMediumType ¶
func (m *DeliveryMedium) GetMediumType() DeliveryMediumType
func (*DeliveryMedium) GetPhone ¶
func (m *DeliveryMedium) GetPhone() *Phone
func (*DeliveryMedium) ProtoMessage ¶
func (*DeliveryMedium) ProtoMessage()
func (*DeliveryMedium) Reset ¶
func (m *DeliveryMedium) Reset()
func (*DeliveryMedium) String ¶
func (m *DeliveryMedium) String() string
type DeliveryMediumOption ¶
type DeliveryMediumOption struct { DeliveryMedium *DeliveryMedium `protobuf:"bytes,1,opt,name=delivery_medium" json:"delivery_medium,omitempty"` CurrentDefault *bool `protobuf:"varint,2,opt,name=current_default" json:"current_default,omitempty"` XXX_unrecognized []byte `json:"-"` }
func (*DeliveryMediumOption) GetCurrentDefault ¶
func (m *DeliveryMediumOption) GetCurrentDefault() bool
func (*DeliveryMediumOption) GetDeliveryMedium ¶
func (m *DeliveryMediumOption) GetDeliveryMedium() *DeliveryMedium
func (*DeliveryMediumOption) ProtoMessage ¶
func (*DeliveryMediumOption) ProtoMessage()
func (*DeliveryMediumOption) Reset ¶
func (m *DeliveryMediumOption) Reset()
func (*DeliveryMediumOption) String ¶
func (m *DeliveryMediumOption) String() string
type DeliveryMediumType ¶
type DeliveryMediumType int32
const ( DeliveryMediumType_DELIVERY_MEDIUM_UNKNOWN DeliveryMediumType = 0 DeliveryMediumType_DELIVERY_MEDIUM_BABEL DeliveryMediumType = 1 DeliveryMediumType_DELIVERY_MEDIUM_GOOGLE_VOICE DeliveryMediumType = 2 DeliveryMediumType_DELIVERY_MEDIUM_LOCAL_SMS DeliveryMediumType = 3 )
func (DeliveryMediumType) Enum ¶
func (x DeliveryMediumType) Enum() *DeliveryMediumType
func (DeliveryMediumType) String ¶
func (x DeliveryMediumType) String() string
func (*DeliveryMediumType) UnmarshalJSON ¶
func (x *DeliveryMediumType) UnmarshalJSON(data []byte) error
type DesktopOffSetting ¶
type DesktopOffSetting struct { // State of "desktop off" setting. DesktopOff *bool `protobuf:"varint,1,opt,name=desktop_off" json:"desktop_off,omitempty"` XXX_unrecognized []byte `json:"-"` }
func (*DesktopOffSetting) GetDesktopOff ¶
func (m *DesktopOffSetting) GetDesktopOff() bool
func (*DesktopOffSetting) ProtoMessage ¶
func (*DesktopOffSetting) ProtoMessage()
func (*DesktopOffSetting) Reset ¶
func (m *DesktopOffSetting) Reset()
func (*DesktopOffSetting) String ¶
func (m *DesktopOffSetting) String() string
type DesktopOffState ¶
type DesktopOffState struct { // Whether Hangouts desktop is signed off or on. DesktopOff *bool `protobuf:"varint,1,opt,name=desktop_off" json:"desktop_off,omitempty"` Version *uint64 `protobuf:"varint,2,opt,name=version" json:"version,omitempty"` XXX_unrecognized []byte `json:"-"` }
func (*DesktopOffState) GetDesktopOff ¶
func (m *DesktopOffState) GetDesktopOff() bool
func (*DesktopOffState) GetVersion ¶
func (m *DesktopOffState) GetVersion() uint64
func (*DesktopOffState) ProtoMessage ¶
func (*DesktopOffState) ProtoMessage()
func (*DesktopOffState) Reset ¶
func (m *DesktopOffState) Reset()
func (*DesktopOffState) String ¶
func (m *DesktopOffState) String() string
type DesktopSoundSetting ¶
type DesktopSoundSetting struct { // Whether to play sound for incoming messages. DesktopSoundState *SoundState `protobuf:"varint,1,opt,name=desktop_sound_state,enum=SoundState" json:"desktop_sound_state,omitempty"` // Whether to ring for incoming calls. DesktopRingSoundState *SoundState `protobuf:"varint,2,opt,name=desktop_ring_sound_state,enum=SoundState" json:"desktop_ring_sound_state,omitempty"` XXX_unrecognized []byte `json:"-"` }
Sound settings in the desktop Hangouts client.
func (*DesktopSoundSetting) GetDesktopRingSoundState ¶
func (m *DesktopSoundSetting) GetDesktopRingSoundState() SoundState
func (*DesktopSoundSetting) GetDesktopSoundState ¶
func (m *DesktopSoundSetting) GetDesktopSoundState() SoundState
func (*DesktopSoundSetting) ProtoMessage ¶
func (*DesktopSoundSetting) ProtoMessage()
func (*DesktopSoundSetting) Reset ¶
func (m *DesktopSoundSetting) Reset()
func (*DesktopSoundSetting) String ¶
func (m *DesktopSoundSetting) String() string
type DeviceStatus ¶
type DeviceStatus struct { // True if a mobile phone is active. Mobile *bool `protobuf:"varint,1,opt,name=mobile" json:"mobile,omitempty"` // True if a desktop or laptop is active. Desktop *bool `protobuf:"varint,2,opt,name=desktop" json:"desktop,omitempty"` // True if a tablet is active. Tablet *bool `protobuf:"varint,3,opt,name=tablet" json:"tablet,omitempty"` XXX_unrecognized []byte `json:"-"` }
Indicates whether Hangouts is active (running in the foreground) on different types of devices.
func (*DeviceStatus) GetDesktop ¶
func (m *DeviceStatus) GetDesktop() bool
func (*DeviceStatus) GetMobile ¶
func (m *DeviceStatus) GetMobile() bool
func (*DeviceStatus) GetTablet ¶
func (m *DeviceStatus) GetTablet() bool
func (*DeviceStatus) ProtoMessage ¶
func (*DeviceStatus) ProtoMessage()
func (*DeviceStatus) Reset ¶
func (m *DeviceStatus) Reset()
func (*DeviceStatus) String ¶
func (m *DeviceStatus) String() string
type DndSetting ¶
type DndSetting struct { // Whether to enable or disable do-not-disturb mode. DoNotDisturb *bool `protobuf:"varint,1,opt,name=do_not_disturb" json:"do_not_disturb,omitempty"` // Do not disturb expiration in seconds. TimeoutSecs *uint64 `protobuf:"varint,2,opt,name=timeout_secs" json:"timeout_secs,omitempty"` XXX_unrecognized []byte `json:"-"` }
Enable or disable do-not-disturb mode. Not to be confused with DoNotDisturbSetting, which is used to indicate the state of do-not-disturb mode.
func (*DndSetting) GetDoNotDisturb ¶
func (m *DndSetting) GetDoNotDisturb() bool
func (*DndSetting) GetTimeoutSecs ¶
func (m *DndSetting) GetTimeoutSecs() uint64
func (*DndSetting) ProtoMessage ¶
func (*DndSetting) ProtoMessage()
func (*DndSetting) Reset ¶
func (m *DndSetting) Reset()
func (*DndSetting) String ¶
func (m *DndSetting) String() string
type DoNotDisturbSetting ¶
type DoNotDisturbSetting struct { // Whether do-not-disturb mode is enabled. DoNotDisturb *bool `protobuf:"varint,1,opt,name=do_not_disturb" json:"do_not_disturb,omitempty"` // Timestamp when do-not-disturb mode expires. ExpirationTimestamp *uint64 `protobuf:"varint,2,opt,name=expiration_timestamp" json:"expiration_timestamp,omitempty"` // Timestamp when this setting was applied. Not present when this message // comes from a notification. Version *uint64 `protobuf:"varint,3,opt,name=version" json:"version,omitempty"` XXX_unrecognized []byte `json:"-"` }
The state of do-not-disturb mode. Not to be confused with DndSetting, which is used to change the state of do-not-disturb mode.
func (*DoNotDisturbSetting) GetDoNotDisturb ¶
func (m *DoNotDisturbSetting) GetDoNotDisturb() bool
func (*DoNotDisturbSetting) GetExpirationTimestamp ¶
func (m *DoNotDisturbSetting) GetExpirationTimestamp() uint64
func (*DoNotDisturbSetting) GetVersion ¶
func (m *DoNotDisturbSetting) GetVersion() uint64
func (*DoNotDisturbSetting) ProtoMessage ¶
func (*DoNotDisturbSetting) ProtoMessage()
func (*DoNotDisturbSetting) Reset ¶
func (m *DoNotDisturbSetting) Reset()
func (*DoNotDisturbSetting) String ¶
func (m *DoNotDisturbSetting) String() string
type EasterEgg ¶
type EasterEgg struct { Message *string `protobuf:"bytes,1,opt,name=message" json:"message,omitempty"` XXX_unrecognized []byte `json:"-"` }
func (*EasterEgg) GetMessage ¶
func (*EasterEgg) ProtoMessage ¶
func (*EasterEgg) ProtoMessage()
type EasterEggNotification ¶
type EasterEggNotification struct { SenderId *ParticipantId `protobuf:"bytes,1,opt,name=sender_id" json:"sender_id,omitempty"` ConversationId *ConversationId `protobuf:"bytes,2,opt,name=conversation_id" json:"conversation_id,omitempty"` EasterEgg *EasterEgg `protobuf:"bytes,3,opt,name=easter_egg" json:"easter_egg,omitempty"` XXX_unrecognized []byte `json:"-"` }
func (*EasterEggNotification) GetConversationId ¶
func (m *EasterEggNotification) GetConversationId() *ConversationId
func (*EasterEggNotification) GetEasterEgg ¶
func (m *EasterEggNotification) GetEasterEgg() *EasterEgg
func (*EasterEggNotification) GetSenderId ¶
func (m *EasterEggNotification) GetSenderId() *ParticipantId
func (*EasterEggNotification) ProtoMessage ¶
func (*EasterEggNotification) ProtoMessage()
func (*EasterEggNotification) Reset ¶
func (m *EasterEggNotification) Reset()
func (*EasterEggNotification) String ¶
func (m *EasterEggNotification) String() string
type EasterEggRequest ¶
type EasterEggRequest struct { RequestHeader *RequestHeader `protobuf:"bytes,1,opt,name=request_header" json:"request_header,omitempty"` ConversationId *ConversationId `protobuf:"bytes,2,opt,name=conversation_id" json:"conversation_id,omitempty"` EasterEgg *EasterEgg `protobuf:"bytes,3,opt,name=easter_egg" json:"easter_egg,omitempty"` XXX_unrecognized []byte `json:"-"` }
func (*EasterEggRequest) GetConversationId ¶
func (m *EasterEggRequest) GetConversationId() *ConversationId
func (*EasterEggRequest) GetEasterEgg ¶
func (m *EasterEggRequest) GetEasterEgg() *EasterEgg
func (*EasterEggRequest) GetRequestHeader ¶
func (m *EasterEggRequest) GetRequestHeader() *RequestHeader
func (*EasterEggRequest) ProtoMessage ¶
func (*EasterEggRequest) ProtoMessage()
func (*EasterEggRequest) Reset ¶
func (m *EasterEggRequest) Reset()
func (*EasterEggRequest) String ¶
func (m *EasterEggRequest) String() string
type EasterEggResponse ¶
type EasterEggResponse struct { ResponseHeader *ResponseHeader `protobuf:"bytes,1,opt,name=response_header" json:"response_header,omitempty"` Timestamp *uint64 `protobuf:"varint,2,opt,name=timestamp" json:"timestamp,omitempty"` XXX_unrecognized []byte `json:"-"` }
func (*EasterEggResponse) GetResponseHeader ¶
func (m *EasterEggResponse) GetResponseHeader() *ResponseHeader
func (*EasterEggResponse) GetTimestamp ¶
func (m *EasterEggResponse) GetTimestamp() uint64
func (*EasterEggResponse) ProtoMessage ¶
func (*EasterEggResponse) ProtoMessage()
func (*EasterEggResponse) Reset ¶
func (m *EasterEggResponse) Reset()
func (*EasterEggResponse) String ¶
func (m *EasterEggResponse) String() string
type EmbedItem ¶
type EmbedItem struct { // List of embedded item types in this message. Type []ItemType `protobuf:"varint,1,rep,name=type,enum=ItemType" json:"type,omitempty"` // For photos this is not given, for maps, it's the URL of the map. Id *string `protobuf:"bytes,2,opt,name=id" json:"id,omitempty"` // Embedded Google Plus photo. PlusPhoto *PlusPhoto `protobuf:"bytes,27639957,opt,name=plus_photo" json:"plus_photo,omitempty"` // Embedded Google Map of a place. Place *Place `protobuf:"bytes,35825640,opt,name=place" json:"place,omitempty"` XXX_unrecognized []byte `json:"-"` }
An item of some type embedded in a chat message.
func (*EmbedItem) GetPlusPhoto ¶
func (*EmbedItem) ProtoMessage ¶
func (*EmbedItem) ProtoMessage()
type Entity ¶
type Entity struct { // The user's ID. Id *ParticipantId `protobuf:"bytes,9,opt,name=id" json:"id,omitempty"` // Optional user presence status. Presence *Presence `protobuf:"bytes,8,opt,name=presence" json:"presence,omitempty"` // Optional user properties. Properties *EntityProperties `protobuf:"bytes,10,opt,name=properties" json:"properties,omitempty"` EntityType *ParticipantType `protobuf:"varint,13,opt,name=entity_type,enum=ParticipantType" json:"entity_type,omitempty"` HadPastHangoutState *Entity_PastHangoutState `protobuf:"varint,16,opt,name=had_past_hangout_state,enum=Entity_PastHangoutState" json:"had_past_hangout_state,omitempty"` XXX_unrecognized []byte `json:"-"` }
A user that can participate in conversations.
func (*Entity) GetEntityType ¶
func (m *Entity) GetEntityType() ParticipantType
func (*Entity) GetHadPastHangoutState ¶
func (m *Entity) GetHadPastHangoutState() Entity_PastHangoutState
func (*Entity) GetId ¶
func (m *Entity) GetId() *ParticipantId
func (*Entity) GetPresence ¶
func (*Entity) GetProperties ¶
func (m *Entity) GetProperties() *EntityProperties
func (*Entity) ProtoMessage ¶
func (*Entity) ProtoMessage()
type EntityLookupSpec ¶
type EntityLookupSpec struct { GaiaId *string `protobuf:"bytes,1,opt,name=gaia_id" json:"gaia_id,omitempty"` XXX_unrecognized []byte `json:"-"` }
func (*EntityLookupSpec) GetGaiaId ¶
func (m *EntityLookupSpec) GetGaiaId() string
func (*EntityLookupSpec) ProtoMessage ¶
func (*EntityLookupSpec) ProtoMessage()
func (*EntityLookupSpec) Reset ¶
func (m *EntityLookupSpec) Reset()
func (*EntityLookupSpec) String ¶
func (m *EntityLookupSpec) String() string
type EntityProperties ¶
type EntityProperties struct { Type *ProfileType `protobuf:"varint,1,opt,name=type,enum=ProfileType" json:"type,omitempty"` DisplayName *string `protobuf:"bytes,2,opt,name=display_name" json:"display_name,omitempty"` FirstName *string `protobuf:"bytes,3,opt,name=first_name" json:"first_name,omitempty"` PhotoUrl *string `protobuf:"bytes,4,opt,name=photo_url" json:"photo_url,omitempty"` Email []string `protobuf:"bytes,5,rep,name=email" json:"email,omitempty"` Phone []string `protobuf:"bytes,6,rep,name=phone" json:"phone,omitempty"` InUsersDomain *bool `protobuf:"varint,10,opt,name=in_users_domain" json:"in_users_domain,omitempty"` Gender *Gender `protobuf:"varint,11,opt,name=gender,enum=Gender" json:"gender,omitempty"` PhotoUrlStatus *PhotoUrlStatus `protobuf:"varint,12,opt,name=photo_url_status,enum=PhotoUrlStatus" json:"photo_url_status,omitempty"` CanonicalEmail *string `protobuf:"bytes,15,opt,name=canonical_email" json:"canonical_email,omitempty"` XXX_unrecognized []byte `json:"-"` }
func (*EntityProperties) GetCanonicalEmail ¶
func (m *EntityProperties) GetCanonicalEmail() string
func (*EntityProperties) GetDisplayName ¶
func (m *EntityProperties) GetDisplayName() string
func (*EntityProperties) GetEmail ¶
func (m *EntityProperties) GetEmail() []string
func (*EntityProperties) GetFirstName ¶
func (m *EntityProperties) GetFirstName() string
func (*EntityProperties) GetGender ¶
func (m *EntityProperties) GetGender() Gender
func (*EntityProperties) GetInUsersDomain ¶
func (m *EntityProperties) GetInUsersDomain() bool
func (*EntityProperties) GetPhone ¶
func (m *EntityProperties) GetPhone() []string
func (*EntityProperties) GetPhotoUrl ¶
func (m *EntityProperties) GetPhotoUrl() string
func (*EntityProperties) GetPhotoUrlStatus ¶
func (m *EntityProperties) GetPhotoUrlStatus() PhotoUrlStatus
func (*EntityProperties) GetType ¶
func (m *EntityProperties) GetType() ProfileType
func (*EntityProperties) ProtoMessage ¶
func (*EntityProperties) ProtoMessage()
func (*EntityProperties) Reset ¶
func (m *EntityProperties) Reset()
func (*EntityProperties) String ¶
func (m *EntityProperties) String() string
type Entity_PastHangoutState ¶
type Entity_PastHangoutState int32
const ( Entity_PAST_HANGOUT_STATE_UNKNOWN Entity_PastHangoutState = 0 Entity_PAST_HANGOUT_STATE_HAD_PAST_HANGOUT Entity_PastHangoutState = 1 Entity_PAST_HANGOUT_STATE_NO_PAST_HANGOUT Entity_PastHangoutState = 2 )
func (Entity_PastHangoutState) Enum ¶
func (x Entity_PastHangoutState) Enum() *Entity_PastHangoutState
func (Entity_PastHangoutState) String ¶
func (x Entity_PastHangoutState) String() string
func (*Entity_PastHangoutState) UnmarshalJSON ¶
func (x *Entity_PastHangoutState) UnmarshalJSON(data []byte) error
type Event ¶
type Event struct { // ID of the conversation this event belongs to. ConversationId *ConversationId `protobuf:"bytes,1,opt,name=conversation_id" json:"conversation_id,omitempty"` // ID of the user that sent this event. SenderId *ParticipantId `protobuf:"bytes,2,opt,name=sender_id" json:"sender_id,omitempty"` // Timestamp when the event occurred. Timestamp *uint64 `protobuf:"varint,3,opt,name=timestamp" json:"timestamp,omitempty"` SelfEventState *UserEventState `protobuf:"bytes,4,opt,name=self_event_state" json:"self_event_state,omitempty"` SourceType *SourceType `protobuf:"varint,6,opt,name=source_type,enum=SourceType" json:"source_type,omitempty"` ChatMessage *ChatMessage `protobuf:"bytes,7,opt,name=chat_message" json:"chat_message,omitempty"` MembershipChange *MembershipChange `protobuf:"bytes,9,opt,name=membership_change" json:"membership_change,omitempty"` ConversationRename *ConversationRename `protobuf:"bytes,10,opt,name=conversation_rename" json:"conversation_rename,omitempty"` HangoutEvent *HangoutEvent `protobuf:"bytes,11,opt,name=hangout_event" json:"hangout_event,omitempty"` // Unique ID for the event. EventId *string `protobuf:"bytes,12,opt,name=event_id" json:"event_id,omitempty"` ExpirationTimestamp *uint64 `protobuf:"varint,13,opt,name=expiration_timestamp" json:"expiration_timestamp,omitempty"` OtrModification *OTRModification `protobuf:"bytes,14,opt,name=otr_modification" json:"otr_modification,omitempty"` AdvancesSortTimestamp *bool `protobuf:"varint,15,opt,name=advances_sort_timestamp" json:"advances_sort_timestamp,omitempty"` OtrStatus *OffTheRecordStatus `protobuf:"varint,16,opt,name=otr_status,enum=OffTheRecordStatus" json:"otr_status,omitempty"` Persisted *bool `protobuf:"varint,17,opt,name=persisted" json:"persisted,omitempty"` MediumType *DeliveryMedium `protobuf:"bytes,20,opt,name=medium_type" json:"medium_type,omitempty"` // The event's type. EventType *EventType `protobuf:"varint,23,opt,name=event_type,enum=EventType" json:"event_type,omitempty"` // Event version timestamp. EventVersion *uint64 `protobuf:"varint,24,opt,name=event_version" json:"event_version,omitempty"` HashModifier *HashModifier `protobuf:"bytes,26,opt,name=hash_modifier" json:"hash_modifier,omitempty"` XXX_unrecognized []byte `json:"-"` }
Event that becomes part of a conversation's history.
func (*Event) GetAdvancesSortTimestamp ¶
func (*Event) GetChatMessage ¶
func (m *Event) GetChatMessage() *ChatMessage
func (*Event) GetConversationId ¶
func (m *Event) GetConversationId() *ConversationId
func (*Event) GetConversationRename ¶
func (m *Event) GetConversationRename() *ConversationRename
func (*Event) GetEventId ¶
func (*Event) GetEventType ¶
func (*Event) GetEventVersion ¶
func (*Event) GetExpirationTimestamp ¶
func (*Event) GetHangoutEvent ¶
func (m *Event) GetHangoutEvent() *HangoutEvent
func (*Event) GetHashModifier ¶
func (m *Event) GetHashModifier() *HashModifier
func (*Event) GetMediumType ¶
func (m *Event) GetMediumType() *DeliveryMedium
func (*Event) GetMembershipChange ¶
func (m *Event) GetMembershipChange() *MembershipChange
func (*Event) GetOtrModification ¶
func (m *Event) GetOtrModification() *OTRModification
func (*Event) GetOtrStatus ¶
func (m *Event) GetOtrStatus() OffTheRecordStatus
func (*Event) GetPersisted ¶
func (*Event) GetSelfEventState ¶
func (m *Event) GetSelfEventState() *UserEventState
func (*Event) GetSenderId ¶
func (m *Event) GetSenderId() *ParticipantId
func (*Event) GetSourceType ¶
func (m *Event) GetSourceType() SourceType
func (*Event) GetTimestamp ¶
func (*Event) ProtoMessage ¶
func (*Event) ProtoMessage()
type EventAnnotation ¶
type EventAnnotation struct { // Annotation type. Type *int32 `protobuf:"varint,1,opt,name=type" json:"type,omitempty"` // Optional annotation string value. Value *string `protobuf:"bytes,2,opt,name=value" json:"value,omitempty"` XXX_unrecognized []byte `json:"-"` }
Annotation that can be applied to a chat message event. The only known use for this is "\me" actions supported by the Chrome client (type 4).
func (*EventAnnotation) GetType ¶
func (m *EventAnnotation) GetType() int32
func (*EventAnnotation) GetValue ¶
func (m *EventAnnotation) GetValue() string
func (*EventAnnotation) ProtoMessage ¶
func (*EventAnnotation) ProtoMessage()
func (*EventAnnotation) Reset ¶
func (m *EventAnnotation) Reset()
func (*EventAnnotation) String ¶
func (m *EventAnnotation) String() string
type EventContinuationToken ¶
type EventContinuationToken struct { EventId *string `protobuf:"bytes,1,opt,name=event_id" json:"event_id,omitempty"` StorageContinuationToken []byte `protobuf:"bytes,2,opt,name=storage_continuation_token" json:"storage_continuation_token,omitempty"` EventTimestamp *uint64 `protobuf:"varint,3,opt,name=event_timestamp" json:"event_timestamp,omitempty"` XXX_unrecognized []byte `json:"-"` }
Token that allows retrieving more events from a position in a conversation. Specifying event_timestamp is sufficient.
func (*EventContinuationToken) GetEventId ¶
func (m *EventContinuationToken) GetEventId() string
func (*EventContinuationToken) GetEventTimestamp ¶
func (m *EventContinuationToken) GetEventTimestamp() uint64
func (*EventContinuationToken) GetStorageContinuationToken ¶
func (m *EventContinuationToken) GetStorageContinuationToken() []byte
func (*EventContinuationToken) ProtoMessage ¶
func (*EventContinuationToken) ProtoMessage()
func (*EventContinuationToken) Reset ¶
func (m *EventContinuationToken) Reset()
func (*EventContinuationToken) String ¶
func (m *EventContinuationToken) String() string
type EventNotification ¶
type EventNotification struct { Event *Event `protobuf:"bytes,1,opt,name=event" json:"event,omitempty"` XXX_unrecognized []byte `json:"-"` }
func (*EventNotification) GetEvent ¶
func (m *EventNotification) GetEvent() *Event
func (*EventNotification) ProtoMessage ¶
func (*EventNotification) ProtoMessage()
func (*EventNotification) Reset ¶
func (m *EventNotification) Reset()
func (*EventNotification) String ¶
func (m *EventNotification) String() string
type EventRequestHeader ¶
type EventRequestHeader struct { ConversationId *ConversationId `protobuf:"bytes,1,opt,name=conversation_id" json:"conversation_id,omitempty"` ClientGeneratedId *uint64 `protobuf:"varint,2,opt,name=client_generated_id" json:"client_generated_id,omitempty"` ExpectedOtr *OffTheRecordStatus `protobuf:"varint,3,opt,name=expected_otr,enum=OffTheRecordStatus" json:"expected_otr,omitempty"` DeliveryMedium *DeliveryMedium `protobuf:"bytes,4,opt,name=delivery_medium" json:"delivery_medium,omitempty"` EventType *EventType `protobuf:"varint,5,opt,name=event_type,enum=EventType" json:"event_type,omitempty"` XXX_unrecognized []byte `json:"-"` }
func (*EventRequestHeader) GetClientGeneratedId ¶
func (m *EventRequestHeader) GetClientGeneratedId() uint64
func (*EventRequestHeader) GetConversationId ¶
func (m *EventRequestHeader) GetConversationId() *ConversationId
func (*EventRequestHeader) GetDeliveryMedium ¶
func (m *EventRequestHeader) GetDeliveryMedium() *DeliveryMedium
func (*EventRequestHeader) GetEventType ¶
func (m *EventRequestHeader) GetEventType() EventType
func (*EventRequestHeader) GetExpectedOtr ¶
func (m *EventRequestHeader) GetExpectedOtr() OffTheRecordStatus
func (*EventRequestHeader) ProtoMessage ¶
func (*EventRequestHeader) ProtoMessage()
func (*EventRequestHeader) Reset ¶
func (m *EventRequestHeader) Reset()
func (*EventRequestHeader) String ¶
func (m *EventRequestHeader) String() string
type EventType ¶
type EventType int32
const ( EventType_EVENT_TYPE_UNKNOWN EventType = 0 EventType_EVENT_TYPE_REGULAR_CHAT_MESSAGE EventType = 1 EventType_EVENT_TYPE_SMS EventType = 2 EventType_EVENT_TYPE_VOICEMAIL EventType = 3 EventType_EVENT_TYPE_ADD_USER EventType = 4 EventType_EVENT_TYPE_REMOVE_USER EventType = 5 EventType_EVENT_TYPE_CONVERSATION_RENAME EventType = 6 EventType_EVENT_TYPE_HANGOUT EventType = 7 EventType_EVENT_TYPE_PHONE_CALL EventType = 8 EventType_EVENT_TYPE_OTR_MODIFICATION EventType = 9 EventType_EVENT_TYPE_PLAN_MUTATION EventType = 10 EventType_EVENT_TYPE_MMS EventType = 11 EventType_EVENT_TYPE_DEPRECATED_12 EventType = 12 )
func (*EventType) UnmarshalJSON ¶
type ExistingMedia ¶
type ExistingMedia struct { Photo *Photo `protobuf:"bytes,1,opt,name=photo" json:"photo,omitempty"` XXX_unrecognized []byte `json:"-"` }
func (*ExistingMedia) GetPhoto ¶
func (m *ExistingMedia) GetPhoto() *Photo
func (*ExistingMedia) ProtoMessage ¶
func (*ExistingMedia) ProtoMessage()
func (*ExistingMedia) Reset ¶
func (m *ExistingMedia) Reset()
func (*ExistingMedia) String ¶
func (m *ExistingMedia) String() string
type FocusDevice ¶
type FocusDevice int32
const ( FocusDevice_FOCUS_DEVICE_UNSPECIFIED FocusDevice = 0 FocusDevice_FOCUS_DEVICE_DESKTOP FocusDevice = 20 FocusDevice_FOCUS_DEVICE_MOBILE FocusDevice = 300 )
func (FocusDevice) Enum ¶
func (x FocusDevice) Enum() *FocusDevice
func (FocusDevice) String ¶
func (x FocusDevice) String() string
func (*FocusDevice) UnmarshalJSON ¶
func (x *FocusDevice) UnmarshalJSON(data []byte) error
type ForceHistory ¶
type ForceHistory int32
const ( ForceHistory_FORCE_HISTORY_UNKNOWN ForceHistory = 0 ForceHistory_FORCE_HISTORY_NO ForceHistory = 1 )
func (ForceHistory) Enum ¶
func (x ForceHistory) Enum() *ForceHistory
func (ForceHistory) String ¶
func (x ForceHistory) String() string
func (*ForceHistory) UnmarshalJSON ¶
func (x *ForceHistory) UnmarshalJSON(data []byte) error
type Formatting ¶
type Formatting struct { Bold *bool `protobuf:"varint,1,opt,name=bold" json:"bold,omitempty"` Italic *bool `protobuf:"varint,2,opt,name=italic" json:"italic,omitempty"` Strikethrough *bool `protobuf:"varint,3,opt,name=strikethrough" json:"strikethrough,omitempty"` Underline *bool `protobuf:"varint,4,opt,name=underline" json:"underline,omitempty"` XXX_unrecognized []byte `json:"-"` }
func (*Formatting) GetBold ¶
func (m *Formatting) GetBold() bool
func (*Formatting) GetItalic ¶
func (m *Formatting) GetItalic() bool
func (*Formatting) GetStrikethrough ¶
func (m *Formatting) GetStrikethrough() bool
func (*Formatting) GetUnderline ¶
func (m *Formatting) GetUnderline() bool
func (*Formatting) ProtoMessage ¶
func (*Formatting) ProtoMessage()
func (*Formatting) Reset ¶
func (m *Formatting) Reset()
func (*Formatting) String ¶
func (m *Formatting) String() string
type GetConversationRequest ¶
type GetConversationRequest struct { RequestHeader *RequestHeader `protobuf:"bytes,1,opt,name=request_header" json:"request_header,omitempty"` ConversationSpec *ConversationSpec `protobuf:"bytes,2,opt,name=conversation_spec" json:"conversation_spec,omitempty"` IncludeEvent *bool `protobuf:"varint,4,opt,name=include_event" json:"include_event,omitempty"` MaxEventsPerConversation *uint64 `protobuf:"varint,6,opt,name=max_events_per_conversation" json:"max_events_per_conversation,omitempty"` EventContinuationToken *EventContinuationToken `protobuf:"bytes,7,opt,name=event_continuation_token" json:"event_continuation_token,omitempty"` XXX_unrecognized []byte `json:"-"` }
func (*GetConversationRequest) GetConversationSpec ¶
func (m *GetConversationRequest) GetConversationSpec() *ConversationSpec
func (*GetConversationRequest) GetEventContinuationToken ¶
func (m *GetConversationRequest) GetEventContinuationToken() *EventContinuationToken
func (*GetConversationRequest) GetIncludeEvent ¶
func (m *GetConversationRequest) GetIncludeEvent() bool
func (*GetConversationRequest) GetMaxEventsPerConversation ¶
func (m *GetConversationRequest) GetMaxEventsPerConversation() uint64
func (*GetConversationRequest) GetRequestHeader ¶
func (m *GetConversationRequest) GetRequestHeader() *RequestHeader
func (*GetConversationRequest) ProtoMessage ¶
func (*GetConversationRequest) ProtoMessage()
func (*GetConversationRequest) Reset ¶
func (m *GetConversationRequest) Reset()
func (*GetConversationRequest) String ¶
func (m *GetConversationRequest) String() string
type GetConversationResponse ¶
type GetConversationResponse struct { ResponseHeader *ResponseHeader `protobuf:"bytes,1,opt,name=response_header" json:"response_header,omitempty"` ConversationState *ConversationState `protobuf:"bytes,2,opt,name=conversation_state" json:"conversation_state,omitempty"` XXX_unrecognized []byte `json:"-"` }
func (*GetConversationResponse) GetConversationState ¶
func (m *GetConversationResponse) GetConversationState() *ConversationState
func (*GetConversationResponse) GetResponseHeader ¶
func (m *GetConversationResponse) GetResponseHeader() *ResponseHeader
func (*GetConversationResponse) ProtoMessage ¶
func (*GetConversationResponse) ProtoMessage()
func (*GetConversationResponse) Reset ¶
func (m *GetConversationResponse) Reset()
func (*GetConversationResponse) String ¶
func (m *GetConversationResponse) String() string
type GetEntityByIdRequest ¶
type GetEntityByIdRequest struct { RequestHeader *RequestHeader `protobuf:"bytes,1,opt,name=request_header" json:"request_header,omitempty"` BatchLookupSpec []*EntityLookupSpec `protobuf:"bytes,3,rep,name=batch_lookup_spec" json:"batch_lookup_spec,omitempty"` XXX_unrecognized []byte `json:"-"` }
func (*GetEntityByIdRequest) GetBatchLookupSpec ¶
func (m *GetEntityByIdRequest) GetBatchLookupSpec() []*EntityLookupSpec
func (*GetEntityByIdRequest) GetRequestHeader ¶
func (m *GetEntityByIdRequest) GetRequestHeader() *RequestHeader
func (*GetEntityByIdRequest) ProtoMessage ¶
func (*GetEntityByIdRequest) ProtoMessage()
func (*GetEntityByIdRequest) Reset ¶
func (m *GetEntityByIdRequest) Reset()
func (*GetEntityByIdRequest) String ¶
func (m *GetEntityByIdRequest) String() string
type GetEntityByIdResponse ¶
type GetEntityByIdResponse struct { ResponseHeader *ResponseHeader `protobuf:"bytes,1,opt,name=response_header" json:"response_header,omitempty"` Entity []*Entity `protobuf:"bytes,2,rep,name=entity" json:"entity,omitempty"` XXX_unrecognized []byte `json:"-"` }
func (*GetEntityByIdResponse) GetEntity ¶
func (m *GetEntityByIdResponse) GetEntity() []*Entity
func (*GetEntityByIdResponse) GetResponseHeader ¶
func (m *GetEntityByIdResponse) GetResponseHeader() *ResponseHeader
func (*GetEntityByIdResponse) ProtoMessage ¶
func (*GetEntityByIdResponse) ProtoMessage()
func (*GetEntityByIdResponse) Reset ¶
func (m *GetEntityByIdResponse) Reset()
func (*GetEntityByIdResponse) String ¶
func (m *GetEntityByIdResponse) String() string
type GetSelfInfoRequest ¶
type GetSelfInfoRequest struct { RequestHeader *RequestHeader `protobuf:"bytes,1,opt,name=request_header" json:"request_header,omitempty"` XXX_unrecognized []byte `json:"-"` }
func (*GetSelfInfoRequest) GetRequestHeader ¶
func (m *GetSelfInfoRequest) GetRequestHeader() *RequestHeader
func (*GetSelfInfoRequest) ProtoMessage ¶
func (*GetSelfInfoRequest) ProtoMessage()
func (*GetSelfInfoRequest) Reset ¶
func (m *GetSelfInfoRequest) Reset()
func (*GetSelfInfoRequest) String ¶
func (m *GetSelfInfoRequest) String() string
type GetSelfInfoResponse ¶
type GetSelfInfoResponse struct { ResponseHeader *ResponseHeader `protobuf:"bytes,1,opt,name=response_header" json:"response_header,omitempty"` SelfEntity *Entity `protobuf:"bytes,2,opt,name=self_entity" json:"self_entity,omitempty"` IsKnownMinor *bool `protobuf:"varint,3,opt,name=is_known_minor" json:"is_known_minor,omitempty"` DndState *DoNotDisturbSetting `protobuf:"bytes,5,opt,name=dnd_state" json:"dnd_state,omitempty"` DesktopOffSetting *DesktopOffSetting `protobuf:"bytes,6,opt,name=desktop_off_setting" json:"desktop_off_setting,omitempty"` PhoneData *PhoneData `protobuf:"bytes,7,opt,name=phone_data" json:"phone_data,omitempty"` ConfigurationBit []*ConfigurationBit `protobuf:"bytes,8,rep,name=configuration_bit" json:"configuration_bit,omitempty"` DesktopOffState *DesktopOffState `protobuf:"bytes,9,opt,name=desktop_off_state" json:"desktop_off_state,omitempty"` GooglePlusUser *bool `protobuf:"varint,10,opt,name=google_plus_user" json:"google_plus_user,omitempty"` DesktopSoundSetting *DesktopSoundSetting `protobuf:"bytes,11,opt,name=desktop_sound_setting" json:"desktop_sound_setting,omitempty"` RichPresenceState *RichPresenceState `protobuf:"bytes,12,opt,name=rich_presence_state" json:"rich_presence_state,omitempty"` DefaultCountry *Country `protobuf:"bytes,19,opt,name=default_country" json:"default_country,omitempty"` XXX_unrecognized []byte `json:"-"` }
func (*GetSelfInfoResponse) GetConfigurationBit ¶
func (m *GetSelfInfoResponse) GetConfigurationBit() []*ConfigurationBit
func (*GetSelfInfoResponse) GetDefaultCountry ¶
func (m *GetSelfInfoResponse) GetDefaultCountry() *Country
func (*GetSelfInfoResponse) GetDesktopOffSetting ¶
func (m *GetSelfInfoResponse) GetDesktopOffSetting() *DesktopOffSetting
func (*GetSelfInfoResponse) GetDesktopOffState ¶
func (m *GetSelfInfoResponse) GetDesktopOffState() *DesktopOffState
func (*GetSelfInfoResponse) GetDesktopSoundSetting ¶
func (m *GetSelfInfoResponse) GetDesktopSoundSetting() *DesktopSoundSetting
func (*GetSelfInfoResponse) GetDndState ¶
func (m *GetSelfInfoResponse) GetDndState() *DoNotDisturbSetting
func (*GetSelfInfoResponse) GetGooglePlusUser ¶
func (m *GetSelfInfoResponse) GetGooglePlusUser() bool
func (*GetSelfInfoResponse) GetIsKnownMinor ¶
func (m *GetSelfInfoResponse) GetIsKnownMinor() bool
func (*GetSelfInfoResponse) GetPhoneData ¶
func (m *GetSelfInfoResponse) GetPhoneData() *PhoneData
func (*GetSelfInfoResponse) GetResponseHeader ¶
func (m *GetSelfInfoResponse) GetResponseHeader() *ResponseHeader
func (*GetSelfInfoResponse) GetRichPresenceState ¶
func (m *GetSelfInfoResponse) GetRichPresenceState() *RichPresenceState
func (*GetSelfInfoResponse) GetSelfEntity ¶
func (m *GetSelfInfoResponse) GetSelfEntity() *Entity
func (*GetSelfInfoResponse) ProtoMessage ¶
func (*GetSelfInfoResponse) ProtoMessage()
func (*GetSelfInfoResponse) Reset ¶
func (m *GetSelfInfoResponse) Reset()
func (*GetSelfInfoResponse) String ¶
func (m *GetSelfInfoResponse) String() string
type GetSuggestedEntitiesRequest ¶
type GetSuggestedEntitiesRequest struct { RequestHeader *RequestHeader `protobuf:"bytes,1,opt,name=request_header" json:"request_header,omitempty"` Favorites *SuggestedContactGroupHash `protobuf:"bytes,8,opt,name=favorites" json:"favorites,omitempty"` ContactsYouHangoutWith *SuggestedContactGroupHash `protobuf:"bytes,9,opt,name=contacts_you_hangout_with" json:"contacts_you_hangout_with,omitempty"` OtherContactsOnHangouts *SuggestedContactGroupHash `protobuf:"bytes,10,opt,name=other_contacts_on_hangouts" json:"other_contacts_on_hangouts,omitempty"` OtherContacts *SuggestedContactGroupHash `protobuf:"bytes,11,opt,name=other_contacts" json:"other_contacts,omitempty"` DismissedContacts *SuggestedContactGroupHash `protobuf:"bytes,12,opt,name=dismissed_contacts" json:"dismissed_contacts,omitempty"` PinnedFavorites *SuggestedContactGroupHash `protobuf:"bytes,13,opt,name=pinned_favorites" json:"pinned_favorites,omitempty"` XXX_unrecognized []byte `json:"-"` }
func (*GetSuggestedEntitiesRequest) GetContactsYouHangoutWith ¶
func (m *GetSuggestedEntitiesRequest) GetContactsYouHangoutWith() *SuggestedContactGroupHash
func (*GetSuggestedEntitiesRequest) GetDismissedContacts ¶
func (m *GetSuggestedEntitiesRequest) GetDismissedContacts() *SuggestedContactGroupHash
func (*GetSuggestedEntitiesRequest) GetFavorites ¶
func (m *GetSuggestedEntitiesRequest) GetFavorites() *SuggestedContactGroupHash
func (*GetSuggestedEntitiesRequest) GetOtherContacts ¶
func (m *GetSuggestedEntitiesRequest) GetOtherContacts() *SuggestedContactGroupHash
func (*GetSuggestedEntitiesRequest) GetOtherContactsOnHangouts ¶
func (m *GetSuggestedEntitiesRequest) GetOtherContactsOnHangouts() *SuggestedContactGroupHash
func (*GetSuggestedEntitiesRequest) GetPinnedFavorites ¶
func (m *GetSuggestedEntitiesRequest) GetPinnedFavorites() *SuggestedContactGroupHash
func (*GetSuggestedEntitiesRequest) GetRequestHeader ¶
func (m *GetSuggestedEntitiesRequest) GetRequestHeader() *RequestHeader
func (*GetSuggestedEntitiesRequest) ProtoMessage ¶
func (*GetSuggestedEntitiesRequest) ProtoMessage()
func (*GetSuggestedEntitiesRequest) Reset ¶
func (m *GetSuggestedEntitiesRequest) Reset()
func (*GetSuggestedEntitiesRequest) String ¶
func (m *GetSuggestedEntitiesRequest) String() string
type GetSuggestedEntitiesResponse ¶
type GetSuggestedEntitiesResponse struct { ResponseHeader *ResponseHeader `protobuf:"bytes,1,opt,name=response_header" json:"response_header,omitempty"` Entity []*Entity `protobuf:"bytes,2,rep,name=entity" json:"entity,omitempty"` Favorites *SuggestedContactGroup `protobuf:"bytes,4,opt,name=favorites" json:"favorites,omitempty"` ContactsYouHangoutWith *SuggestedContactGroup `protobuf:"bytes,5,opt,name=contacts_you_hangout_with" json:"contacts_you_hangout_with,omitempty"` OtherContactsOnHangouts *SuggestedContactGroup `protobuf:"bytes,6,opt,name=other_contacts_on_hangouts" json:"other_contacts_on_hangouts,omitempty"` OtherContacts *SuggestedContactGroup `protobuf:"bytes,7,opt,name=other_contacts" json:"other_contacts,omitempty"` DismissedContacts *SuggestedContactGroup `protobuf:"bytes,8,opt,name=dismissed_contacts" json:"dismissed_contacts,omitempty"` PinnedFavorites *SuggestedContactGroup `protobuf:"bytes,9,opt,name=pinned_favorites" json:"pinned_favorites,omitempty"` XXX_unrecognized []byte `json:"-"` }
func (*GetSuggestedEntitiesResponse) GetContactsYouHangoutWith ¶
func (m *GetSuggestedEntitiesResponse) GetContactsYouHangoutWith() *SuggestedContactGroup
func (*GetSuggestedEntitiesResponse) GetDismissedContacts ¶
func (m *GetSuggestedEntitiesResponse) GetDismissedContacts() *SuggestedContactGroup
func (*GetSuggestedEntitiesResponse) GetEntity ¶
func (m *GetSuggestedEntitiesResponse) GetEntity() []*Entity
func (*GetSuggestedEntitiesResponse) GetFavorites ¶
func (m *GetSuggestedEntitiesResponse) GetFavorites() *SuggestedContactGroup
func (*GetSuggestedEntitiesResponse) GetOtherContacts ¶
func (m *GetSuggestedEntitiesResponse) GetOtherContacts() *SuggestedContactGroup
func (*GetSuggestedEntitiesResponse) GetOtherContactsOnHangouts ¶
func (m *GetSuggestedEntitiesResponse) GetOtherContactsOnHangouts() *SuggestedContactGroup
func (*GetSuggestedEntitiesResponse) GetPinnedFavorites ¶
func (m *GetSuggestedEntitiesResponse) GetPinnedFavorites() *SuggestedContactGroup
func (*GetSuggestedEntitiesResponse) GetResponseHeader ¶
func (m *GetSuggestedEntitiesResponse) GetResponseHeader() *ResponseHeader
func (*GetSuggestedEntitiesResponse) ProtoMessage ¶
func (*GetSuggestedEntitiesResponse) ProtoMessage()
func (*GetSuggestedEntitiesResponse) Reset ¶
func (m *GetSuggestedEntitiesResponse) Reset()
func (*GetSuggestedEntitiesResponse) String ¶
func (m *GetSuggestedEntitiesResponse) String() string
type HangoutEvent ¶
type HangoutEvent struct { EventType *HangoutEventType `protobuf:"varint,1,opt,name=event_type,enum=HangoutEventType" json:"event_type,omitempty"` ParticipantId []*ParticipantId `protobuf:"bytes,2,rep,name=participant_id" json:"participant_id,omitempty"` XXX_unrecognized []byte `json:"-"` }
func (*HangoutEvent) GetEventType ¶
func (m *HangoutEvent) GetEventType() HangoutEventType
func (*HangoutEvent) GetParticipantId ¶
func (m *HangoutEvent) GetParticipantId() []*ParticipantId
func (*HangoutEvent) ProtoMessage ¶
func (*HangoutEvent) ProtoMessage()
func (*HangoutEvent) Reset ¶
func (m *HangoutEvent) Reset()
func (*HangoutEvent) String ¶
func (m *HangoutEvent) String() string
type HangoutEventType ¶
type HangoutEventType int32
const ( HangoutEventType_HANGOUT_EVENT_TYPE_UNKNOWN HangoutEventType = 0 HangoutEventType_HANGOUT_EVENT_TYPE_START HangoutEventType = 1 HangoutEventType_HANGOUT_EVENT_TYPE_END HangoutEventType = 2 HangoutEventType_HANGOUT_EVENT_TYPE_JOIN HangoutEventType = 3 HangoutEventType_HANGOUT_EVENT_TYPE_LEAVE HangoutEventType = 4 HangoutEventType_HANGOUT_EVENT_TYPE_COMING_SOON HangoutEventType = 5 HangoutEventType_HANGOUT_EVENT_TYPE_ONGOING HangoutEventType = 6 )
func (HangoutEventType) Enum ¶
func (x HangoutEventType) Enum() *HangoutEventType
func (HangoutEventType) String ¶
func (x HangoutEventType) String() string
func (*HangoutEventType) UnmarshalJSON ¶
func (x *HangoutEventType) UnmarshalJSON(data []byte) error
type HashModifier ¶
type HashModifier struct { UpdateId *string `protobuf:"bytes,1,opt,name=update_id" json:"update_id,omitempty"` HashDiff *uint64 `protobuf:"varint,2,opt,name=hash_diff" json:"hash_diff,omitempty"` Version *uint64 `protobuf:"varint,4,opt,name=version" json:"version,omitempty"` XXX_unrecognized []byte `json:"-"` }
func (*HashModifier) GetHashDiff ¶
func (m *HashModifier) GetHashDiff() uint64
func (*HashModifier) GetUpdateId ¶
func (m *HashModifier) GetUpdateId() string
func (*HashModifier) GetVersion ¶
func (m *HashModifier) GetVersion() uint64
func (*HashModifier) ProtoMessage ¶
func (*HashModifier) ProtoMessage()
func (*HashModifier) Reset ¶
func (m *HashModifier) Reset()
func (*HashModifier) String ¶
func (m *HashModifier) String() string
type I18NData ¶
type I18NData struct { NationalNumber *string `protobuf:"bytes,1,opt,name=national_number" json:"national_number,omitempty"` InternationalNumber *string `protobuf:"bytes,2,opt,name=international_number" json:"international_number,omitempty"` CountryCode *uint64 `protobuf:"varint,3,opt,name=country_code" json:"country_code,omitempty"` RegionCode *string `protobuf:"bytes,4,opt,name=region_code" json:"region_code,omitempty"` IsValid *bool `protobuf:"varint,5,opt,name=is_valid" json:"is_valid,omitempty"` ValidationResult *PhoneValidationResult `protobuf:"varint,6,opt,name=validation_result,enum=PhoneValidationResult" json:"validation_result,omitempty"` XXX_unrecognized []byte `json:"-"` }
func (*I18NData) GetCountryCode ¶
func (*I18NData) GetInternationalNumber ¶
func (*I18NData) GetIsValid ¶
func (*I18NData) GetNationalNumber ¶
func (*I18NData) GetRegionCode ¶
func (*I18NData) GetValidationResult ¶
func (m *I18NData) GetValidationResult() PhoneValidationResult
func (*I18NData) ProtoMessage ¶
func (*I18NData) ProtoMessage()
type InvitationAffinity ¶
type InvitationAffinity int32
const ( InvitationAffinity_INVITE_AFFINITY_UNKNOWN InvitationAffinity = 0 InvitationAffinity_INVITE_AFFINITY_HIGH InvitationAffinity = 1 InvitationAffinity_INVITE_AFFINITY_LOW InvitationAffinity = 2 )
func (InvitationAffinity) Enum ¶
func (x InvitationAffinity) Enum() *InvitationAffinity
func (InvitationAffinity) String ¶
func (x InvitationAffinity) String() string
func (*InvitationAffinity) UnmarshalJSON ¶
func (x *InvitationAffinity) UnmarshalJSON(data []byte) error
type InvitationStatus ¶
type InvitationStatus int32
const ( InvitationStatus_INVITATION_STATUS_UNKNOWN InvitationStatus = 0 InvitationStatus_INVITATION_STATUS_PENDING InvitationStatus = 1 InvitationStatus_INVITATION_STATUS_ACCEPTED InvitationStatus = 2 )
func (InvitationStatus) Enum ¶
func (x InvitationStatus) Enum() *InvitationStatus
func (InvitationStatus) String ¶
func (x InvitationStatus) String() string
func (*InvitationStatus) UnmarshalJSON ¶
func (x *InvitationStatus) UnmarshalJSON(data []byte) error
type InviteeID ¶
type InviteeID struct { GaiaId *string `protobuf:"bytes,1,opt,name=gaia_id" json:"gaia_id,omitempty"` FallbackName *string `protobuf:"bytes,4,opt,name=fallback_name" json:"fallback_name,omitempty"` XXX_unrecognized []byte `json:"-"` }
func (*InviteeID) GetFallbackName ¶
func (*InviteeID) ProtoMessage ¶
func (*InviteeID) ProtoMessage()
type LinkData ¶
type LinkData struct { LinkTarget *string `protobuf:"bytes,1,opt,name=link_target" json:"link_target,omitempty"` XXX_unrecognized []byte `json:"-"` }
func (*LinkData) GetLinkTarget ¶
func (*LinkData) ProtoMessage ¶
func (*LinkData) ProtoMessage()
type MembershipChange ¶
type MembershipChange struct { Type *MembershipChangeType `protobuf:"varint,1,opt,name=type,enum=MembershipChangeType" json:"type,omitempty"` ParticipantIds []*ParticipantId `protobuf:"bytes,3,rep,name=participant_ids" json:"participant_ids,omitempty"` XXX_unrecognized []byte `json:"-"` }
func (*MembershipChange) GetParticipantIds ¶
func (m *MembershipChange) GetParticipantIds() []*ParticipantId
func (*MembershipChange) GetType ¶
func (m *MembershipChange) GetType() MembershipChangeType
func (*MembershipChange) ProtoMessage ¶
func (*MembershipChange) ProtoMessage()
func (*MembershipChange) Reset ¶
func (m *MembershipChange) Reset()
func (*MembershipChange) String ¶
func (m *MembershipChange) String() string
type MembershipChangeType ¶
type MembershipChangeType int32
const ( MembershipChangeType_MEMBERSHIP_CHANGE_TYPE_JOIN MembershipChangeType = 1 MembershipChangeType_MEMBERSHIP_CHANGE_TYPE_LEAVE MembershipChangeType = 2 )
func (MembershipChangeType) Enum ¶
func (x MembershipChangeType) Enum() *MembershipChangeType
func (MembershipChangeType) String ¶
func (x MembershipChangeType) String() string
func (*MembershipChangeType) UnmarshalJSON ¶
func (x *MembershipChangeType) UnmarshalJSON(data []byte) error
type MessageContent ¶
type MessageContent struct { Segment []*Segment `protobuf:"bytes,1,rep,name=segment" json:"segment,omitempty"` Attachment []*Attachment `protobuf:"bytes,2,rep,name=attachment" json:"attachment,omitempty"` XXX_unrecognized []byte `json:"-"` }
Chat message content.
func (*MessageContent) GetAttachment ¶
func (m *MessageContent) GetAttachment() []*Attachment
func (*MessageContent) GetSegment ¶
func (m *MessageContent) GetSegment() []*Segment
func (*MessageContent) ProtoMessage ¶
func (*MessageContent) ProtoMessage()
func (*MessageContent) Reset ¶
func (m *MessageContent) Reset()
func (*MessageContent) String ¶
func (m *MessageContent) String() string
type MoodContent ¶
type MoodContent struct { Segment []*Segment `protobuf:"bytes,1,rep,name=segment" json:"segment,omitempty"` XXX_unrecognized []byte `json:"-"` }
func (*MoodContent) GetSegment ¶
func (m *MoodContent) GetSegment() []*Segment
func (*MoodContent) ProtoMessage ¶
func (*MoodContent) ProtoMessage()
func (*MoodContent) Reset ¶
func (m *MoodContent) Reset()
func (*MoodContent) String ¶
func (m *MoodContent) String() string
type MoodMessage ¶
type MoodMessage struct { MoodContent *MoodContent `protobuf:"bytes,1,opt,name=mood_content" json:"mood_content,omitempty"` XXX_unrecognized []byte `json:"-"` }
func (*MoodMessage) GetMoodContent ¶
func (m *MoodMessage) GetMoodContent() *MoodContent
func (*MoodMessage) ProtoMessage ¶
func (*MoodMessage) ProtoMessage()
func (*MoodMessage) Reset ¶
func (m *MoodMessage) Reset()
func (*MoodMessage) String ¶
func (m *MoodMessage) String() string
type MoodSetting ¶
type MoodSetting struct { MoodMessage *MoodMessage `protobuf:"bytes,1,opt,name=mood_message" json:"mood_message,omitempty"` XXX_unrecognized []byte `json:"-"` }
The user's mood message.
func (*MoodSetting) GetMoodMessage ¶
func (m *MoodSetting) GetMoodMessage() *MoodMessage
func (*MoodSetting) ProtoMessage ¶
func (*MoodSetting) ProtoMessage()
func (*MoodSetting) Reset ¶
func (m *MoodSetting) Reset()
func (*MoodSetting) String ¶
func (m *MoodSetting) String() string
type MoodState ¶
type MoodState struct { MoodSetting *MoodSetting `protobuf:"bytes,4,opt,name=mood_setting" json:"mood_setting,omitempty"` XXX_unrecognized []byte `json:"-"` }
func (*MoodState) GetMoodSetting ¶
func (m *MoodState) GetMoodSetting() *MoodSetting
func (*MoodState) ProtoMessage ¶
func (*MoodState) ProtoMessage()
type NetworkType ¶
type NetworkType int32
const ( NetworkType_NETWORK_TYPE_UNKNOWN NetworkType = 0 NetworkType_NETWORK_TYPE_BABEL NetworkType = 1 )
func (NetworkType) Enum ¶
func (x NetworkType) Enum() *NetworkType
func (NetworkType) String ¶
func (x NetworkType) String() string
func (*NetworkType) UnmarshalJSON ¶
func (x *NetworkType) UnmarshalJSON(data []byte) error
type NotificationLevel ¶
type NotificationLevel int32
const ( NotificationLevel_NOTIFICATION_LEVEL_UNKNOWN NotificationLevel = 0 // Notifications are disabled. NotificationLevel_NOTIFICATION_LEVEL_QUIET NotificationLevel = 10 // Notifications are enabled. NotificationLevel_NOTIFICATION_LEVEL_RING NotificationLevel = 30 )
func (NotificationLevel) Enum ¶
func (x NotificationLevel) Enum() *NotificationLevel
func (NotificationLevel) String ¶
func (x NotificationLevel) String() string
func (*NotificationLevel) UnmarshalJSON ¶
func (x *NotificationLevel) UnmarshalJSON(data []byte) error
type NotificationSettings ¶
type NotificationSettings struct { DndSettings *DoNotDisturbSetting `protobuf:"bytes,1,opt,name=dnd_settings" json:"dnd_settings,omitempty"` XXX_unrecognized []byte `json:"-"` }
func (*NotificationSettings) GetDndSettings ¶
func (m *NotificationSettings) GetDndSettings() *DoNotDisturbSetting
func (*NotificationSettings) ProtoMessage ¶
func (*NotificationSettings) ProtoMessage()
func (*NotificationSettings) Reset ¶
func (m *NotificationSettings) Reset()
func (*NotificationSettings) String ¶
func (m *NotificationSettings) String() string
type OTRModification ¶
type OTRModification struct { OldOtrStatus *OffTheRecordStatus `protobuf:"varint,1,opt,name=old_otr_status,enum=OffTheRecordStatus" json:"old_otr_status,omitempty"` NewOtrStatus *OffTheRecordStatus `protobuf:"varint,2,opt,name=new_otr_status,enum=OffTheRecordStatus" json:"new_otr_status,omitempty"` OldOtrToggle *OffTheRecordToggle `protobuf:"varint,3,opt,name=old_otr_toggle,enum=OffTheRecordToggle" json:"old_otr_toggle,omitempty"` NewOtrToggle *OffTheRecordToggle `protobuf:"varint,4,opt,name=new_otr_toggle,enum=OffTheRecordToggle" json:"new_otr_toggle,omitempty"` XXX_unrecognized []byte `json:"-"` }
func (*OTRModification) GetNewOtrStatus ¶
func (m *OTRModification) GetNewOtrStatus() OffTheRecordStatus
func (*OTRModification) GetNewOtrToggle ¶
func (m *OTRModification) GetNewOtrToggle() OffTheRecordToggle
func (*OTRModification) GetOldOtrStatus ¶
func (m *OTRModification) GetOldOtrStatus() OffTheRecordStatus
func (*OTRModification) GetOldOtrToggle ¶
func (m *OTRModification) GetOldOtrToggle() OffTheRecordToggle
func (*OTRModification) ProtoMessage ¶
func (*OTRModification) ProtoMessage()
func (*OTRModification) Reset ¶
func (m *OTRModification) Reset()
func (*OTRModification) String ¶
func (m *OTRModification) String() string
type OffTheRecordStatus ¶
type OffTheRecordStatus int32
const ( OffTheRecordStatus_OFF_THE_RECORD_STATUS_UNKNOWN OffTheRecordStatus = 0 // Conversation is off-the-record (history disabled). OffTheRecordStatus_OFF_THE_RECORD_STATUS_OFF_THE_RECORD OffTheRecordStatus = 1 // Conversation is on-the-record (history enabled). OffTheRecordStatus_OFF_THE_RECORD_STATUS_ON_THE_RECORD OffTheRecordStatus = 2 )
func (OffTheRecordStatus) Enum ¶
func (x OffTheRecordStatus) Enum() *OffTheRecordStatus
func (OffTheRecordStatus) String ¶
func (x OffTheRecordStatus) String() string
func (*OffTheRecordStatus) UnmarshalJSON ¶
func (x *OffTheRecordStatus) UnmarshalJSON(data []byte) error
type OffTheRecordToggle ¶
type OffTheRecordToggle int32
Whether the OTR toggle is available to the user.
const ( OffTheRecordToggle_OFF_THE_RECORD_TOGGLE_UNKNOWN OffTheRecordToggle = 0 OffTheRecordToggle_OFF_THE_RECORD_TOGGLE_ENABLED OffTheRecordToggle = 1 OffTheRecordToggle_OFF_THE_RECORD_TOGGLE_DISABLED OffTheRecordToggle = 2 )
func (OffTheRecordToggle) Enum ¶
func (x OffTheRecordToggle) Enum() *OffTheRecordToggle
func (OffTheRecordToggle) String ¶
func (x OffTheRecordToggle) String() string
func (*OffTheRecordToggle) UnmarshalJSON ¶
func (x *OffTheRecordToggle) UnmarshalJSON(data []byte) error
type OffnetworkAddress ¶
type OffnetworkAddress struct { Type *OffnetworkAddressType `protobuf:"varint,1,opt,name=type,enum=OffnetworkAddressType" json:"type,omitempty"` Email *string `protobuf:"bytes,3,opt,name=email" json:"email,omitempty"` XXX_unrecognized []byte `json:"-"` }
func (*OffnetworkAddress) GetEmail ¶
func (m *OffnetworkAddress) GetEmail() string
func (*OffnetworkAddress) GetType ¶
func (m *OffnetworkAddress) GetType() OffnetworkAddressType
func (*OffnetworkAddress) ProtoMessage ¶
func (*OffnetworkAddress) ProtoMessage()
func (*OffnetworkAddress) Reset ¶
func (m *OffnetworkAddress) Reset()
func (*OffnetworkAddress) String ¶
func (m *OffnetworkAddress) String() string
type OffnetworkAddressType ¶
type OffnetworkAddressType int32
const ( OffnetworkAddressType_OFFNETWORK_ADDRESS_TYPE_UNKNOWN OffnetworkAddressType = 0 OffnetworkAddressType_OFFNETWORK_ADDRESS_TYPE_EMAIL OffnetworkAddressType = 1 )
func (OffnetworkAddressType) Enum ¶
func (x OffnetworkAddressType) Enum() *OffnetworkAddressType
func (OffnetworkAddressType) String ¶
func (x OffnetworkAddressType) String() string
func (*OffnetworkAddressType) UnmarshalJSON ¶
func (x *OffnetworkAddressType) UnmarshalJSON(data []byte) error
type ParticipantId ¶
type ParticipantId struct { // Unique identifier for a user's Google account. GaiaId *string `protobuf:"bytes,1,opt,name=gaia_id" json:"gaia_id,omitempty"` // Seems to always be the same as gaia_id. ChatId *string `protobuf:"bytes,2,opt,name=chat_id" json:"chat_id,omitempty"` XXX_unrecognized []byte `json:"-"` }
Identifies a user.
func (*ParticipantId) GetChatId ¶
func (m *ParticipantId) GetChatId() string
func (*ParticipantId) GetGaiaId ¶
func (m *ParticipantId) GetGaiaId() string
func (*ParticipantId) ProtoMessage ¶
func (*ParticipantId) ProtoMessage()
func (*ParticipantId) Reset ¶
func (m *ParticipantId) Reset()
func (*ParticipantId) String ¶
func (m *ParticipantId) String() string
type ParticipantType ¶
type ParticipantType int32
const ( ParticipantType_PARTICIPANT_TYPE_UNKNOWN ParticipantType = 0 ParticipantType_PARTICIPANT_TYPE_GAIA ParticipantType = 2 )
func (ParticipantType) Enum ¶
func (x ParticipantType) Enum() *ParticipantType
func (ParticipantType) String ¶
func (x ParticipantType) String() string
func (*ParticipantType) UnmarshalJSON ¶
func (x *ParticipantType) UnmarshalJSON(data []byte) error
type Phone ¶
type Phone struct { PhoneNumber *PhoneNumber `protobuf:"bytes,1,opt,name=phone_number" json:"phone_number,omitempty"` GoogleVoice *bool `protobuf:"varint,2,opt,name=google_voice" json:"google_voice,omitempty"` VerificationStatus *PhoneVerificationStatus `protobuf:"varint,3,opt,name=verification_status,enum=PhoneVerificationStatus" json:"verification_status,omitempty"` Discoverable *bool `protobuf:"varint,4,opt,name=discoverable" json:"discoverable,omitempty"` DiscoverabilityStatus *PhoneDiscoverabilityStatus `protobuf:"varint,5,opt,name=discoverability_status,enum=PhoneDiscoverabilityStatus" json:"discoverability_status,omitempty"` Primary *bool `protobuf:"varint,6,opt,name=primary" json:"primary,omitempty"` XXX_unrecognized []byte `json:"-"` }
func (*Phone) GetDiscoverabilityStatus ¶
func (m *Phone) GetDiscoverabilityStatus() PhoneDiscoverabilityStatus
func (*Phone) GetDiscoverable ¶
func (*Phone) GetGoogleVoice ¶
func (*Phone) GetPhoneNumber ¶
func (m *Phone) GetPhoneNumber() *PhoneNumber
func (*Phone) GetPrimary ¶
func (*Phone) GetVerificationStatus ¶
func (m *Phone) GetVerificationStatus() PhoneVerificationStatus
func (*Phone) ProtoMessage ¶
func (*Phone) ProtoMessage()
type PhoneData ¶
type PhoneData struct { Phone []*Phone `protobuf:"bytes,1,rep,name=phone" json:"phone,omitempty"` CallerIdSettingsMask *CallerIdSettingsMask `protobuf:"varint,3,opt,name=caller_id_settings_mask,enum=CallerIdSettingsMask" json:"caller_id_settings_mask,omitempty"` XXX_unrecognized []byte `json:"-"` }
func (*PhoneData) GetCallerIdSettingsMask ¶
func (m *PhoneData) GetCallerIdSettingsMask() CallerIdSettingsMask
func (*PhoneData) ProtoMessage ¶
func (*PhoneData) ProtoMessage()
type PhoneDiscoverabilityStatus ¶
type PhoneDiscoverabilityStatus int32
const ( PhoneDiscoverabilityStatus_PHONE_DISCOVERABILITY_STATUS_UNKNOWN PhoneDiscoverabilityStatus = 0 PhoneDiscoverabilityStatus_PHONE_DISCOVERABILITY_STATUS_OPTED_IN_BUT_NOT_DISCOVERABLE PhoneDiscoverabilityStatus = 2 )
func (PhoneDiscoverabilityStatus) Enum ¶
func (x PhoneDiscoverabilityStatus) Enum() *PhoneDiscoverabilityStatus
func (PhoneDiscoverabilityStatus) String ¶
func (x PhoneDiscoverabilityStatus) String() string
func (*PhoneDiscoverabilityStatus) UnmarshalJSON ¶
func (x *PhoneDiscoverabilityStatus) UnmarshalJSON(data []byte) error
type PhoneNumber ¶
type PhoneNumber struct { // Phone number as string (eg. "+15551234567"). E164 *string `protobuf:"bytes,1,opt,name=e164" json:"e164,omitempty"` I18NData *I18NData `protobuf:"bytes,2,opt,name=i18n_data" json:"i18n_data,omitempty"` XXX_unrecognized []byte `json:"-"` }
func (*PhoneNumber) GetE164 ¶
func (m *PhoneNumber) GetE164() string
func (*PhoneNumber) GetI18NData ¶
func (m *PhoneNumber) GetI18NData() *I18NData
func (*PhoneNumber) ProtoMessage ¶
func (*PhoneNumber) ProtoMessage()
func (*PhoneNumber) Reset ¶
func (m *PhoneNumber) Reset()
func (*PhoneNumber) String ¶
func (m *PhoneNumber) String() string
type PhoneValidationResult ¶
type PhoneValidationResult int32
const (
PhoneValidationResult_PHONE_VALIDATION_RESULT_IS_POSSIBLE PhoneValidationResult = 0
)
func (PhoneValidationResult) Enum ¶
func (x PhoneValidationResult) Enum() *PhoneValidationResult
func (PhoneValidationResult) String ¶
func (x PhoneValidationResult) String() string
func (*PhoneValidationResult) UnmarshalJSON ¶
func (x *PhoneValidationResult) UnmarshalJSON(data []byte) error
type PhoneVerificationStatus ¶
type PhoneVerificationStatus int32
const ( PhoneVerificationStatus_PHONE_VERIFICATION_STATUS_UNKNOWN PhoneVerificationStatus = 0 PhoneVerificationStatus_PHONE_VERIFICATION_STATUS_VERIFIED PhoneVerificationStatus = 1 )
func (PhoneVerificationStatus) Enum ¶
func (x PhoneVerificationStatus) Enum() *PhoneVerificationStatus
func (PhoneVerificationStatus) String ¶
func (x PhoneVerificationStatus) String() string
func (*PhoneVerificationStatus) UnmarshalJSON ¶
func (x *PhoneVerificationStatus) UnmarshalJSON(data []byte) error
type Photo ¶
type Photo struct { // Picasa photo ID. PhotoId *string `protobuf:"bytes,1,opt,name=photo_id" json:"photo_id,omitempty"` DeleteAlbumlessSourcePhoto *bool `protobuf:"varint,2,opt,name=delete_albumless_source_photo" json:"delete_albumless_source_photo,omitempty"` // Optional Picasa user ID needed for photos from other accounts (eg. stickers). UserId *string `protobuf:"bytes,3,opt,name=user_id" json:"user_id,omitempty"` // Must be true if user_id is specified. IsCustomUserId *bool `protobuf:"varint,4,opt,name=is_custom_user_id" json:"is_custom_user_id,omitempty"` XXX_unrecognized []byte `json:"-"` }
func (*Photo) GetDeleteAlbumlessSourcePhoto ¶
func (*Photo) GetIsCustomUserId ¶
func (*Photo) GetPhotoId ¶
func (*Photo) ProtoMessage ¶
func (*Photo) ProtoMessage()
type PhotoUrlStatus ¶
type PhotoUrlStatus int32
Status of EntityProperties.photo_url.
const ( PhotoUrlStatus_PHOTO_URL_STATUS_UNKNOWN PhotoUrlStatus = 0 // URL is a placeholder. PhotoUrlStatus_PHOTO_URL_STATUS_PLACEHOLDER PhotoUrlStatus = 1 // URL is a photo set by the user. PhotoUrlStatus_PHOTO_URL_STATUS_USER_PHOTO PhotoUrlStatus = 2 )
func (PhotoUrlStatus) Enum ¶
func (x PhotoUrlStatus) Enum() *PhotoUrlStatus
func (PhotoUrlStatus) String ¶
func (x PhotoUrlStatus) String() string
func (*PhotoUrlStatus) UnmarshalJSON ¶
func (x *PhotoUrlStatus) UnmarshalJSON(data []byte) error
type Place ¶
type Place struct { // Google Maps URL pointing to the map coordinates. Url *string `protobuf:"bytes,1,opt,name=url" json:"url,omitempty"` // Name of map location. Name *string `protobuf:"bytes,3,opt,name=name" json:"name,omitempty"` // Representative image of the place (map with pin). RepresentativeImage *Place_RepresentativeImage `protobuf:"bytes,185,opt,name=representative_image" json:"representative_image,omitempty"` XXX_unrecognized []byte `json:"-"` }
Place that can be embedded in a chat message via Google Maps.
func (*Place) GetRepresentativeImage ¶
func (m *Place) GetRepresentativeImage() *Place_RepresentativeImage
func (*Place) ProtoMessage ¶
func (*Place) ProtoMessage()
type Place_RepresentativeImage ¶
type Place_RepresentativeImage struct { // URL of image. Url *string `protobuf:"bytes,2,opt,name=url" json:"url,omitempty"` XXX_unrecognized []byte `json:"-"` }
Representative image of a place.
func (*Place_RepresentativeImage) GetUrl ¶
func (m *Place_RepresentativeImage) GetUrl() string
func (*Place_RepresentativeImage) ProtoMessage ¶
func (*Place_RepresentativeImage) ProtoMessage()
func (*Place_RepresentativeImage) Reset ¶
func (m *Place_RepresentativeImage) Reset()
func (*Place_RepresentativeImage) String ¶
func (m *Place_RepresentativeImage) String() string
type PlusPhoto ¶
type PlusPhoto struct { // Thumbnail. Thumbnail *PlusPhoto_Thumbnail `protobuf:"bytes,1,opt,name=thumbnail" json:"thumbnail,omitempty"` // Owner obfuscated ID. OwnerObfuscatedId *string `protobuf:"bytes,2,opt,name=owner_obfuscated_id" json:"owner_obfuscated_id,omitempty"` // Album ID. AlbumId *string `protobuf:"bytes,3,opt,name=album_id" json:"album_id,omitempty"` // Photo ID. PhotoId *string `protobuf:"bytes,4,opt,name=photo_id" json:"photo_id,omitempty"` // URL of full-sized image. Url *string `protobuf:"bytes,6,opt,name=url" json:"url,omitempty"` // URL of image thumbnail. OriginalContentUrl *string `protobuf:"bytes,10,opt,name=original_content_url" json:"original_content_url,omitempty"` // The media type. MediaType *PlusPhoto_MediaType `protobuf:"varint,13,opt,name=media_type,enum=PlusPhoto_MediaType" json:"media_type,omitempty"` // List of stream ID parameters. StreamId []string `protobuf:"bytes,14,rep,name=stream_id" json:"stream_id,omitempty"` XXX_unrecognized []byte `json:"-"` }
Google Plus photo that can be embedded in a chat message.
func (*PlusPhoto) GetAlbumId ¶
func (*PlusPhoto) GetMediaType ¶
func (m *PlusPhoto) GetMediaType() PlusPhoto_MediaType
func (*PlusPhoto) GetOriginalContentUrl ¶
func (*PlusPhoto) GetOwnerObfuscatedId ¶
func (*PlusPhoto) GetPhotoId ¶
func (*PlusPhoto) GetStreamId ¶
func (*PlusPhoto) GetThumbnail ¶
func (m *PlusPhoto) GetThumbnail() *PlusPhoto_Thumbnail
func (*PlusPhoto) ProtoMessage ¶
func (*PlusPhoto) ProtoMessage()
type PlusPhoto_MediaType ¶
type PlusPhoto_MediaType int32
Media type.
const ( PlusPhoto_MEDIA_TYPE_UNKNOWN PlusPhoto_MediaType = 0 PlusPhoto_MEDIA_TYPE_PHOTO PlusPhoto_MediaType = 1 PlusPhoto_MEDIA_TYPE_ANIMATED_PHOTO PlusPhoto_MediaType = 4 )
func (PlusPhoto_MediaType) Enum ¶
func (x PlusPhoto_MediaType) Enum() *PlusPhoto_MediaType
func (PlusPhoto_MediaType) String ¶
func (x PlusPhoto_MediaType) String() string
func (*PlusPhoto_MediaType) UnmarshalJSON ¶
func (x *PlusPhoto_MediaType) UnmarshalJSON(data []byte) error
type PlusPhoto_Thumbnail ¶
type PlusPhoto_Thumbnail struct { // URL to navigate to when thumbnail is selected (a Google Plus album // page). Url *string `protobuf:"bytes,1,opt,name=url" json:"url,omitempty"` // URL of thumbnail image. ImageUrl *string `protobuf:"bytes,4,opt,name=image_url" json:"image_url,omitempty"` // Image width in pixels. WidthPx *uint64 `protobuf:"varint,10,opt,name=width_px" json:"width_px,omitempty"` // Image height in pixels. HeightPx *uint64 `protobuf:"varint,11,opt,name=height_px" json:"height_px,omitempty"` XXX_unrecognized []byte `json:"-"` }
Metadata for displaying an image thumbnail.
func (*PlusPhoto_Thumbnail) GetHeightPx ¶
func (m *PlusPhoto_Thumbnail) GetHeightPx() uint64
func (*PlusPhoto_Thumbnail) GetImageUrl ¶
func (m *PlusPhoto_Thumbnail) GetImageUrl() string
func (*PlusPhoto_Thumbnail) GetUrl ¶
func (m *PlusPhoto_Thumbnail) GetUrl() string
func (*PlusPhoto_Thumbnail) GetWidthPx ¶
func (m *PlusPhoto_Thumbnail) GetWidthPx() uint64
func (*PlusPhoto_Thumbnail) ProtoMessage ¶
func (*PlusPhoto_Thumbnail) ProtoMessage()
func (*PlusPhoto_Thumbnail) Reset ¶
func (m *PlusPhoto_Thumbnail) Reset()
func (*PlusPhoto_Thumbnail) String ¶
func (m *PlusPhoto_Thumbnail) String() string
type Presence ¶
type Presence struct { Reachable *bool `protobuf:"varint,1,opt,name=reachable" json:"reachable,omitempty"` Available *bool `protobuf:"varint,2,opt,name=available" json:"available,omitempty"` DeviceStatus *DeviceStatus `protobuf:"bytes,6,opt,name=device_status" json:"device_status,omitempty"` MoodSetting *MoodSetting `protobuf:"bytes,9,opt,name=mood_setting" json:"mood_setting,omitempty"` XXX_unrecognized []byte `json:"-"` }
func (*Presence) GetAvailable ¶
func (*Presence) GetDeviceStatus ¶
func (m *Presence) GetDeviceStatus() *DeviceStatus
func (*Presence) GetMoodSetting ¶
func (m *Presence) GetMoodSetting() *MoodSetting
func (*Presence) GetReachable ¶
func (*Presence) ProtoMessage ¶
func (*Presence) ProtoMessage()
type PresenceNotification ¶
type PresenceNotification struct { Presence []*PresenceResult `protobuf:"bytes,1,rep,name=presence" json:"presence,omitempty"` XXX_unrecognized []byte `json:"-"` }
func (*PresenceNotification) GetPresence ¶
func (m *PresenceNotification) GetPresence() []*PresenceResult
func (*PresenceNotification) ProtoMessage ¶
func (*PresenceNotification) ProtoMessage()
func (*PresenceNotification) Reset ¶
func (m *PresenceNotification) Reset()
func (*PresenceNotification) String ¶
func (m *PresenceNotification) String() string
type PresenceResult ¶
type PresenceResult struct { UserId *ParticipantId `protobuf:"bytes,1,opt,name=user_id" json:"user_id,omitempty"` Presence *Presence `protobuf:"bytes,2,opt,name=presence" json:"presence,omitempty"` XXX_unrecognized []byte `json:"-"` }
func (*PresenceResult) GetPresence ¶
func (m *PresenceResult) GetPresence() *Presence
func (*PresenceResult) GetUserId ¶
func (m *PresenceResult) GetUserId() *ParticipantId
func (*PresenceResult) ProtoMessage ¶
func (*PresenceResult) ProtoMessage()
func (*PresenceResult) Reset ¶
func (m *PresenceResult) Reset()
func (*PresenceResult) String ¶
func (m *PresenceResult) String() string
type PresenceStateSetting ¶
type PresenceStateSetting struct { TimeoutSecs *uint64 `protobuf:"varint,1,opt,name=timeout_secs" json:"timeout_secs,omitempty"` Type *ClientPresenceStateType `protobuf:"varint,2,opt,name=type,enum=ClientPresenceStateType" json:"type,omitempty"` XXX_unrecognized []byte `json:"-"` }
func (*PresenceStateSetting) GetTimeoutSecs ¶
func (m *PresenceStateSetting) GetTimeoutSecs() uint64
func (*PresenceStateSetting) GetType ¶
func (m *PresenceStateSetting) GetType() ClientPresenceStateType
func (*PresenceStateSetting) ProtoMessage ¶
func (*PresenceStateSetting) ProtoMessage()
func (*PresenceStateSetting) Reset ¶
func (m *PresenceStateSetting) Reset()
func (*PresenceStateSetting) String ¶
func (m *PresenceStateSetting) String() string
type ProfileType ¶
type ProfileType int32
const ( ProfileType_PROFILE_TYPE_NONE ProfileType = 0 ProfileType_PROFILE_TYPE_ES_USER ProfileType = 1 )
func (ProfileType) Enum ¶
func (x ProfileType) Enum() *ProfileType
func (ProfileType) String ¶
func (x ProfileType) String() string
func (*ProfileType) UnmarshalJSON ¶
func (x *ProfileType) UnmarshalJSON(data []byte) error
type QueryPresenceRequest ¶
type QueryPresenceRequest struct { RequestHeader *RequestHeader `protobuf:"bytes,1,opt,name=request_header" json:"request_header,omitempty"` ParticipantId []*ParticipantId `protobuf:"bytes,2,rep,name=participant_id" json:"participant_id,omitempty"` FieldMask []FieldMask `protobuf:"varint,3,rep,name=field_mask,enum=FieldMask" json:"field_mask,omitempty"` XXX_unrecognized []byte `json:"-"` }
func (*QueryPresenceRequest) GetFieldMask ¶
func (m *QueryPresenceRequest) GetFieldMask() []FieldMask
func (*QueryPresenceRequest) GetParticipantId ¶
func (m *QueryPresenceRequest) GetParticipantId() []*ParticipantId
func (*QueryPresenceRequest) GetRequestHeader ¶
func (m *QueryPresenceRequest) GetRequestHeader() *RequestHeader
func (*QueryPresenceRequest) ProtoMessage ¶
func (*QueryPresenceRequest) ProtoMessage()
func (*QueryPresenceRequest) Reset ¶
func (m *QueryPresenceRequest) Reset()
func (*QueryPresenceRequest) String ¶
func (m *QueryPresenceRequest) String() string
type QueryPresenceResponse ¶
type QueryPresenceResponse struct { ResponseHeader *ResponseHeader `protobuf:"bytes,1,opt,name=response_header" json:"response_header,omitempty"` PresenceResult []*PresenceResult `protobuf:"bytes,2,rep,name=presence_result" json:"presence_result,omitempty"` XXX_unrecognized []byte `json:"-"` }
func (*QueryPresenceResponse) GetPresenceResult ¶
func (m *QueryPresenceResponse) GetPresenceResult() []*PresenceResult
func (*QueryPresenceResponse) GetResponseHeader ¶
func (m *QueryPresenceResponse) GetResponseHeader() *ResponseHeader
func (*QueryPresenceResponse) ProtoMessage ¶
func (*QueryPresenceResponse) ProtoMessage()
func (*QueryPresenceResponse) Reset ¶
func (m *QueryPresenceResponse) Reset()
func (*QueryPresenceResponse) String ¶
func (m *QueryPresenceResponse) String() string
type RemoveUserRequest ¶
type RemoveUserRequest struct { RequestHeader *RequestHeader `protobuf:"bytes,1,opt,name=request_header" json:"request_header,omitempty"` EventRequestHeader *EventRequestHeader `protobuf:"bytes,5,opt,name=event_request_header" json:"event_request_header,omitempty"` XXX_unrecognized []byte `json:"-"` }
func (*RemoveUserRequest) GetEventRequestHeader ¶
func (m *RemoveUserRequest) GetEventRequestHeader() *EventRequestHeader
func (*RemoveUserRequest) GetRequestHeader ¶
func (m *RemoveUserRequest) GetRequestHeader() *RequestHeader
func (*RemoveUserRequest) ProtoMessage ¶
func (*RemoveUserRequest) ProtoMessage()
func (*RemoveUserRequest) Reset ¶
func (m *RemoveUserRequest) Reset()
func (*RemoveUserRequest) String ¶
func (m *RemoveUserRequest) String() string
type RemoveUserResponse ¶
type RemoveUserResponse struct { ResponseHeader *ResponseHeader `protobuf:"bytes,1,opt,name=response_header" json:"response_header,omitempty"` CreatedEvent *Event `protobuf:"bytes,4,opt,name=created_event" json:"created_event,omitempty"` XXX_unrecognized []byte `json:"-"` }
func (*RemoveUserResponse) GetCreatedEvent ¶
func (m *RemoveUserResponse) GetCreatedEvent() *Event
func (*RemoveUserResponse) GetResponseHeader ¶
func (m *RemoveUserResponse) GetResponseHeader() *ResponseHeader
func (*RemoveUserResponse) ProtoMessage ¶
func (*RemoveUserResponse) ProtoMessage()
func (*RemoveUserResponse) Reset ¶
func (m *RemoveUserResponse) Reset()
func (*RemoveUserResponse) String ¶
func (m *RemoveUserResponse) String() string
type RenameConversationRequest ¶
type RenameConversationRequest struct { RequestHeader *RequestHeader `protobuf:"bytes,1,opt,name=request_header" json:"request_header,omitempty"` NewName *string `protobuf:"bytes,3,opt,name=new_name" json:"new_name,omitempty"` EventRequestHeader *EventRequestHeader `protobuf:"bytes,5,opt,name=event_request_header" json:"event_request_header,omitempty"` XXX_unrecognized []byte `json:"-"` }
func (*RenameConversationRequest) GetEventRequestHeader ¶
func (m *RenameConversationRequest) GetEventRequestHeader() *EventRequestHeader
func (*RenameConversationRequest) GetNewName ¶
func (m *RenameConversationRequest) GetNewName() string
func (*RenameConversationRequest) GetRequestHeader ¶
func (m *RenameConversationRequest) GetRequestHeader() *RequestHeader
func (*RenameConversationRequest) ProtoMessage ¶
func (*RenameConversationRequest) ProtoMessage()
func (*RenameConversationRequest) Reset ¶
func (m *RenameConversationRequest) Reset()
func (*RenameConversationRequest) String ¶
func (m *RenameConversationRequest) String() string
type RenameConversationResponse ¶
type RenameConversationResponse struct { ResponseHeader *ResponseHeader `protobuf:"bytes,1,opt,name=response_header" json:"response_header,omitempty"` CreatedEvent *Event `protobuf:"bytes,4,opt,name=created_event" json:"created_event,omitempty"` XXX_unrecognized []byte `json:"-"` }
func (*RenameConversationResponse) GetCreatedEvent ¶
func (m *RenameConversationResponse) GetCreatedEvent() *Event
func (*RenameConversationResponse) GetResponseHeader ¶
func (m *RenameConversationResponse) GetResponseHeader() *ResponseHeader
func (*RenameConversationResponse) ProtoMessage ¶
func (*RenameConversationResponse) ProtoMessage()
func (*RenameConversationResponse) Reset ¶
func (m *RenameConversationResponse) Reset()
func (*RenameConversationResponse) String ¶
func (m *RenameConversationResponse) String() string
type ReplyToInviteNotification ¶
type ReplyToInviteNotification struct { ConversationId *ConversationId `protobuf:"bytes,1,opt,name=conversation_id" json:"conversation_id,omitempty"` Type *ReplyToInviteType `protobuf:"varint,2,opt,name=type,enum=ReplyToInviteType" json:"type,omitempty"` XXX_unrecognized []byte `json:"-"` }
func (*ReplyToInviteNotification) GetConversationId ¶
func (m *ReplyToInviteNotification) GetConversationId() *ConversationId
func (*ReplyToInviteNotification) GetType ¶
func (m *ReplyToInviteNotification) GetType() ReplyToInviteType
func (*ReplyToInviteNotification) ProtoMessage ¶
func (*ReplyToInviteNotification) ProtoMessage()
func (*ReplyToInviteNotification) Reset ¶
func (m *ReplyToInviteNotification) Reset()
func (*ReplyToInviteNotification) String ¶
func (m *ReplyToInviteNotification) String() string
type ReplyToInviteType ¶
type ReplyToInviteType int32
const ( ReplyToInviteType_REPLY_TO_INVITE_TYPE_UNKNOWN ReplyToInviteType = 0 ReplyToInviteType_REPLY_TO_INVITE_TYPE_ACCEPT ReplyToInviteType = 1 ReplyToInviteType_REPLY_TO_INVITE_TYPE_DECLINE ReplyToInviteType = 2 )
func (ReplyToInviteType) Enum ¶
func (x ReplyToInviteType) Enum() *ReplyToInviteType
func (ReplyToInviteType) String ¶
func (x ReplyToInviteType) String() string
func (*ReplyToInviteType) UnmarshalJSON ¶
func (x *ReplyToInviteType) UnmarshalJSON(data []byte) error
type RequestHeader ¶
type RequestHeader struct { ClientVersion *ClientVersion `protobuf:"bytes,1,opt,name=client_version" json:"client_version,omitempty"` ClientIdentifier *ClientIdentifier `protobuf:"bytes,2,opt,name=client_identifier" json:"client_identifier,omitempty"` LanguageCode *string `protobuf:"bytes,4,opt,name=language_code" json:"language_code,omitempty"` XXX_unrecognized []byte `json:"-"` }
Header for requests from the client to the server.
func (*RequestHeader) GetClientIdentifier ¶
func (m *RequestHeader) GetClientIdentifier() *ClientIdentifier
func (*RequestHeader) GetClientVersion ¶
func (m *RequestHeader) GetClientVersion() *ClientVersion
func (*RequestHeader) GetLanguageCode ¶
func (m *RequestHeader) GetLanguageCode() string
func (*RequestHeader) ProtoMessage ¶
func (*RequestHeader) ProtoMessage()
func (*RequestHeader) Reset ¶
func (m *RequestHeader) Reset()
func (*RequestHeader) String ¶
func (m *RequestHeader) String() string
type ResponseHeader ¶
type ResponseHeader struct { Status *ResponseStatus `protobuf:"varint,1,opt,name=status,enum=ResponseStatus" json:"status,omitempty"` ErrorDescription *string `protobuf:"bytes,2,opt,name=error_description" json:"error_description,omitempty"` DebugUrl *string `protobuf:"bytes,3,opt,name=debug_url" json:"debug_url,omitempty"` RequestTraceId *uint64 `protobuf:"varint,4,opt,name=request_trace_id" json:"request_trace_id,omitempty"` CurrentServerTime *uint64 `protobuf:"varint,5,opt,name=current_server_time" json:"current_server_time,omitempty"` XXX_unrecognized []byte `json:"-"` }
Header for responses from the server to the client.
func (*ResponseHeader) GetCurrentServerTime ¶
func (m *ResponseHeader) GetCurrentServerTime() uint64
func (*ResponseHeader) GetDebugUrl ¶
func (m *ResponseHeader) GetDebugUrl() string
func (*ResponseHeader) GetErrorDescription ¶
func (m *ResponseHeader) GetErrorDescription() string
func (*ResponseHeader) GetRequestTraceId ¶
func (m *ResponseHeader) GetRequestTraceId() uint64
func (*ResponseHeader) GetStatus ¶
func (m *ResponseHeader) GetStatus() ResponseStatus
func (*ResponseHeader) ProtoMessage ¶
func (*ResponseHeader) ProtoMessage()
func (*ResponseHeader) Reset ¶
func (m *ResponseHeader) Reset()
func (*ResponseHeader) String ¶
func (m *ResponseHeader) String() string
type ResponseStatus ¶
type ResponseStatus int32
Status of the response from the server to the client.
const ( ResponseStatus_RESPONSE_STATUS_UNKNOWN ResponseStatus = 0 ResponseStatus_RESPONSE_STATUS_OK ResponseStatus = 1 ResponseStatus_RESPONSE_STATUS_UNEXPECTED_ERROR ResponseStatus = 3 ResponseStatus_RESPONSE_STATUS_INVALID_REQUEST ResponseStatus = 4 )
func (ResponseStatus) Enum ¶
func (x ResponseStatus) Enum() *ResponseStatus
func (ResponseStatus) String ¶
func (x ResponseStatus) String() string
func (*ResponseStatus) UnmarshalJSON ¶
func (x *ResponseStatus) UnmarshalJSON(data []byte) error
type RichPresenceEnabledState ¶
type RichPresenceEnabledState struct { Type *RichPresenceType `protobuf:"varint,1,opt,name=type,enum=RichPresenceType" json:"type,omitempty"` Enabled *bool `protobuf:"varint,2,opt,name=enabled" json:"enabled,omitempty"` XXX_unrecognized []byte `json:"-"` }
func (*RichPresenceEnabledState) GetEnabled ¶
func (m *RichPresenceEnabledState) GetEnabled() bool
func (*RichPresenceEnabledState) GetType ¶
func (m *RichPresenceEnabledState) GetType() RichPresenceType
func (*RichPresenceEnabledState) ProtoMessage ¶
func (*RichPresenceEnabledState) ProtoMessage()
func (*RichPresenceEnabledState) Reset ¶
func (m *RichPresenceEnabledState) Reset()
func (*RichPresenceEnabledState) String ¶
func (m *RichPresenceEnabledState) String() string
type RichPresenceEnabledStateNotification ¶
type RichPresenceEnabledStateNotification struct { RichPresenceEnabledState []*RichPresenceEnabledState `protobuf:"bytes,1,rep,name=rich_presence_enabled_state" json:"rich_presence_enabled_state,omitempty"` XXX_unrecognized []byte `json:"-"` }
func (*RichPresenceEnabledStateNotification) GetRichPresenceEnabledState ¶
func (m *RichPresenceEnabledStateNotification) GetRichPresenceEnabledState() []*RichPresenceEnabledState
func (*RichPresenceEnabledStateNotification) ProtoMessage ¶
func (*RichPresenceEnabledStateNotification) ProtoMessage()
func (*RichPresenceEnabledStateNotification) Reset ¶
func (m *RichPresenceEnabledStateNotification) Reset()
func (*RichPresenceEnabledStateNotification) String ¶
func (m *RichPresenceEnabledStateNotification) String() string
type RichPresenceState ¶
type RichPresenceState struct { GetRichPresenceEnabledState []*RichPresenceEnabledState `protobuf:"bytes,3,rep,name=get_rich_presence_enabled_state" json:"get_rich_presence_enabled_state,omitempty"` XXX_unrecognized []byte `json:"-"` }
func (*RichPresenceState) GetGetRichPresenceEnabledState ¶
func (m *RichPresenceState) GetGetRichPresenceEnabledState() []*RichPresenceEnabledState
func (*RichPresenceState) ProtoMessage ¶
func (*RichPresenceState) ProtoMessage()
func (*RichPresenceState) Reset ¶
func (m *RichPresenceState) Reset()
func (*RichPresenceState) String ¶
func (m *RichPresenceState) String() string
type RichPresenceType ¶
type RichPresenceType int32
const ( RichPresenceType_RICH_PRESENCE_TYPE_UNKNOWN RichPresenceType = 0 RichPresenceType_RICH_PRESENCE_TYPE_IN_CALL_STATE RichPresenceType = 1 RichPresenceType_RICH_PRESENCE_TYPE_UNKNOWN_3 RichPresenceType = 3 RichPresenceType_RICH_PRESENCE_TYPE_UNKNOWN_4 RichPresenceType = 4 RichPresenceType_RICH_PRESENCE_TYPE_UNKNOWN_5 RichPresenceType = 5 RichPresenceType_RICH_PRESENCE_TYPE_DEVICE RichPresenceType = 2 RichPresenceType_RICH_PRESENCE_TYPE_LAST_SEEN RichPresenceType = 6 )
func (RichPresenceType) Enum ¶
func (x RichPresenceType) Enum() *RichPresenceType
func (RichPresenceType) String ¶
func (x RichPresenceType) String() string
func (*RichPresenceType) UnmarshalJSON ¶
func (x *RichPresenceType) UnmarshalJSON(data []byte) error
type SearchEntitiesRequest ¶
type SearchEntitiesRequest struct { RequestHeader *RequestHeader `protobuf:"bytes,1,opt,name=request_header" json:"request_header,omitempty"` Query *string `protobuf:"bytes,3,opt,name=query" json:"query,omitempty"` MaxCount *uint64 `protobuf:"varint,4,opt,name=max_count" json:"max_count,omitempty"` XXX_unrecognized []byte `json:"-"` }
func (*SearchEntitiesRequest) GetMaxCount ¶
func (m *SearchEntitiesRequest) GetMaxCount() uint64
func (*SearchEntitiesRequest) GetQuery ¶
func (m *SearchEntitiesRequest) GetQuery() string
func (*SearchEntitiesRequest) GetRequestHeader ¶
func (m *SearchEntitiesRequest) GetRequestHeader() *RequestHeader
func (*SearchEntitiesRequest) ProtoMessage ¶
func (*SearchEntitiesRequest) ProtoMessage()
func (*SearchEntitiesRequest) Reset ¶
func (m *SearchEntitiesRequest) Reset()
func (*SearchEntitiesRequest) String ¶
func (m *SearchEntitiesRequest) String() string
type SearchEntitiesResponse ¶
type SearchEntitiesResponse struct { ResponseHeader *ResponseHeader `protobuf:"bytes,1,opt,name=response_header" json:"response_header,omitempty"` Entity []*Entity `protobuf:"bytes,2,rep,name=entity" json:"entity,omitempty"` XXX_unrecognized []byte `json:"-"` }
func (*SearchEntitiesResponse) GetEntity ¶
func (m *SearchEntitiesResponse) GetEntity() []*Entity
func (*SearchEntitiesResponse) GetResponseHeader ¶
func (m *SearchEntitiesResponse) GetResponseHeader() *ResponseHeader
func (*SearchEntitiesResponse) ProtoMessage ¶
func (*SearchEntitiesResponse) ProtoMessage()
func (*SearchEntitiesResponse) Reset ¶
func (m *SearchEntitiesResponse) Reset()
func (*SearchEntitiesResponse) String ¶
func (m *SearchEntitiesResponse) String() string
type Segment ¶
type Segment struct { // Note: This field is required because Hangouts for Chrome misbehaves if it // isn't serialized. Type *SegmentType `protobuf:"varint,1,req,name=type,enum=SegmentType" json:"type,omitempty"` // The segment text. For line breaks, may either be empty or contain new line // character. Text *string `protobuf:"bytes,2,opt,name=text" json:"text,omitempty"` // Formatting for this segment. Formatting *Formatting `protobuf:"bytes,3,opt,name=formatting" json:"formatting,omitempty"` // Link data for this segment, if it is a link. LinkData *LinkData `protobuf:"bytes,4,opt,name=link_data" json:"link_data,omitempty"` XXX_unrecognized []byte `json:"-"` }
A segment of a message. Message are broken into segments that may be of different types and have different formatting.
func (*Segment) GetFormatting ¶
func (m *Segment) GetFormatting() *Formatting
func (*Segment) GetLinkData ¶
func (*Segment) GetType ¶
func (m *Segment) GetType() SegmentType
func (*Segment) ProtoMessage ¶
func (*Segment) ProtoMessage()
type SegmentType ¶
type SegmentType int32
const ( // Segment is text. SegmentType_SEGMENT_TYPE_TEXT SegmentType = 0 // Segment is a line break. SegmentType_SEGMENT_TYPE_LINE_BREAK SegmentType = 1 // Segment is hyperlinked text. SegmentType_SEGMENT_TYPE_LINK SegmentType = 2 )
func (SegmentType) Enum ¶
func (x SegmentType) Enum() *SegmentType
func (SegmentType) String ¶
func (x SegmentType) String() string
func (*SegmentType) UnmarshalJSON ¶
func (x *SegmentType) UnmarshalJSON(data []byte) error
type SelfPresenceNotification ¶
type SelfPresenceNotification struct { ClientPresenceState *ClientPresenceState `protobuf:"bytes,1,opt,name=client_presence_state" json:"client_presence_state,omitempty"` DoNotDisturbSetting *DoNotDisturbSetting `protobuf:"bytes,3,opt,name=do_not_disturb_setting" json:"do_not_disturb_setting,omitempty"` DesktopOffSetting *DesktopOffSetting `protobuf:"bytes,4,opt,name=desktop_off_setting" json:"desktop_off_setting,omitempty"` DesktopOffState *DesktopOffState `protobuf:"bytes,5,opt,name=desktop_off_state" json:"desktop_off_state,omitempty"` MoodState *MoodState `protobuf:"bytes,6,opt,name=mood_state" json:"mood_state,omitempty"` XXX_unrecognized []byte `json:"-"` }
Notifies the status of other clients and mood.
func (*SelfPresenceNotification) GetClientPresenceState ¶
func (m *SelfPresenceNotification) GetClientPresenceState() *ClientPresenceState
func (*SelfPresenceNotification) GetDesktopOffSetting ¶
func (m *SelfPresenceNotification) GetDesktopOffSetting() *DesktopOffSetting
func (*SelfPresenceNotification) GetDesktopOffState ¶
func (m *SelfPresenceNotification) GetDesktopOffState() *DesktopOffState
func (*SelfPresenceNotification) GetDoNotDisturbSetting ¶
func (m *SelfPresenceNotification) GetDoNotDisturbSetting() *DoNotDisturbSetting
func (*SelfPresenceNotification) GetMoodState ¶
func (m *SelfPresenceNotification) GetMoodState() *MoodState
func (*SelfPresenceNotification) ProtoMessage ¶
func (*SelfPresenceNotification) ProtoMessage()
func (*SelfPresenceNotification) Reset ¶
func (m *SelfPresenceNotification) Reset()
func (*SelfPresenceNotification) String ¶
func (m *SelfPresenceNotification) String() string
type SendChatMessageRequest ¶
type SendChatMessageRequest struct { RequestHeader *RequestHeader `protobuf:"bytes,1,opt,name=request_header" json:"request_header,omitempty"` Annotation []*EventAnnotation `protobuf:"bytes,5,rep,name=annotation" json:"annotation,omitempty"` MessageContent *MessageContent `protobuf:"bytes,6,opt,name=message_content" json:"message_content,omitempty"` ExistingMedia *ExistingMedia `protobuf:"bytes,7,opt,name=existing_media" json:"existing_media,omitempty"` EventRequestHeader *EventRequestHeader `protobuf:"bytes,8,opt,name=event_request_header" json:"event_request_header,omitempty"` XXX_unrecognized []byte `json:"-"` }
func (*SendChatMessageRequest) GetAnnotation ¶
func (m *SendChatMessageRequest) GetAnnotation() []*EventAnnotation
func (*SendChatMessageRequest) GetEventRequestHeader ¶
func (m *SendChatMessageRequest) GetEventRequestHeader() *EventRequestHeader
func (*SendChatMessageRequest) GetExistingMedia ¶
func (m *SendChatMessageRequest) GetExistingMedia() *ExistingMedia
func (*SendChatMessageRequest) GetMessageContent ¶
func (m *SendChatMessageRequest) GetMessageContent() *MessageContent
func (*SendChatMessageRequest) GetRequestHeader ¶
func (m *SendChatMessageRequest) GetRequestHeader() *RequestHeader
func (*SendChatMessageRequest) ProtoMessage ¶
func (*SendChatMessageRequest) ProtoMessage()
func (*SendChatMessageRequest) Reset ¶
func (m *SendChatMessageRequest) Reset()
func (*SendChatMessageRequest) String ¶
func (m *SendChatMessageRequest) String() string
type SendChatMessageResponse ¶
type SendChatMessageResponse struct { ResponseHeader *ResponseHeader `protobuf:"bytes,1,opt,name=response_header" json:"response_header,omitempty"` CreatedEvent *Event `protobuf:"bytes,6,opt,name=created_event" json:"created_event,omitempty"` XXX_unrecognized []byte `json:"-"` }
func (*SendChatMessageResponse) GetCreatedEvent ¶
func (m *SendChatMessageResponse) GetCreatedEvent() *Event
func (*SendChatMessageResponse) GetResponseHeader ¶
func (m *SendChatMessageResponse) GetResponseHeader() *ResponseHeader
func (*SendChatMessageResponse) ProtoMessage ¶
func (*SendChatMessageResponse) ProtoMessage()
func (*SendChatMessageResponse) Reset ¶
func (m *SendChatMessageResponse) Reset()
func (*SendChatMessageResponse) String ¶
func (m *SendChatMessageResponse) String() string
type SendOffnetworkInvitationRequest ¶
type SendOffnetworkInvitationRequest struct { RequestHeader *RequestHeader `protobuf:"bytes,1,opt,name=request_header" json:"request_header,omitempty"` InviteeAddress *OffnetworkAddress `protobuf:"bytes,2,opt,name=invitee_address" json:"invitee_address,omitempty"` XXX_unrecognized []byte `json:"-"` }
func (*SendOffnetworkInvitationRequest) GetInviteeAddress ¶
func (m *SendOffnetworkInvitationRequest) GetInviteeAddress() *OffnetworkAddress
func (*SendOffnetworkInvitationRequest) GetRequestHeader ¶
func (m *SendOffnetworkInvitationRequest) GetRequestHeader() *RequestHeader
func (*SendOffnetworkInvitationRequest) ProtoMessage ¶
func (*SendOffnetworkInvitationRequest) ProtoMessage()
func (*SendOffnetworkInvitationRequest) Reset ¶
func (m *SendOffnetworkInvitationRequest) Reset()
func (*SendOffnetworkInvitationRequest) String ¶
func (m *SendOffnetworkInvitationRequest) String() string
type SendOffnetworkInvitationResponse ¶
type SendOffnetworkInvitationResponse struct { ResponseHeader *ResponseHeader `protobuf:"bytes,1,opt,name=response_header" json:"response_header,omitempty"` XXX_unrecognized []byte `json:"-"` }
func (*SendOffnetworkInvitationResponse) GetResponseHeader ¶
func (m *SendOffnetworkInvitationResponse) GetResponseHeader() *ResponseHeader
func (*SendOffnetworkInvitationResponse) ProtoMessage ¶
func (*SendOffnetworkInvitationResponse) ProtoMessage()
func (*SendOffnetworkInvitationResponse) Reset ¶
func (m *SendOffnetworkInvitationResponse) Reset()
func (*SendOffnetworkInvitationResponse) String ¶
func (m *SendOffnetworkInvitationResponse) String() string
type SetActiveClientRequest ¶
type SetActiveClientRequest struct { RequestHeader *RequestHeader `protobuf:"bytes,1,opt,name=request_header" json:"request_header,omitempty"` // Whether to set the client as active or inactive. IsActive *bool `protobuf:"varint,2,opt,name=is_active" json:"is_active,omitempty"` // 'email/resource'. FullJid *string `protobuf:"bytes,3,opt,name=full_jid" json:"full_jid,omitempty"` // Timeout in seconds for client to remain active. TimeoutSecs *uint64 `protobuf:"varint,4,opt,name=timeout_secs" json:"timeout_secs,omitempty"` XXX_unrecognized []byte `json:"-"` }
func (*SetActiveClientRequest) GetFullJid ¶
func (m *SetActiveClientRequest) GetFullJid() string
func (*SetActiveClientRequest) GetIsActive ¶
func (m *SetActiveClientRequest) GetIsActive() bool
func (*SetActiveClientRequest) GetRequestHeader ¶
func (m *SetActiveClientRequest) GetRequestHeader() *RequestHeader
func (*SetActiveClientRequest) GetTimeoutSecs ¶
func (m *SetActiveClientRequest) GetTimeoutSecs() uint64
func (*SetActiveClientRequest) ProtoMessage ¶
func (*SetActiveClientRequest) ProtoMessage()
func (*SetActiveClientRequest) Reset ¶
func (m *SetActiveClientRequest) Reset()
func (*SetActiveClientRequest) String ¶
func (m *SetActiveClientRequest) String() string
type SetActiveClientResponse ¶
type SetActiveClientResponse struct { ResponseHeader *ResponseHeader `protobuf:"bytes,1,opt,name=response_header" json:"response_header,omitempty"` XXX_unrecognized []byte `json:"-"` }
func (*SetActiveClientResponse) GetResponseHeader ¶
func (m *SetActiveClientResponse) GetResponseHeader() *ResponseHeader
func (*SetActiveClientResponse) ProtoMessage ¶
func (*SetActiveClientResponse) ProtoMessage()
func (*SetActiveClientResponse) Reset ¶
func (m *SetActiveClientResponse) Reset()
func (*SetActiveClientResponse) String ¶
func (m *SetActiveClientResponse) String() string
type SetConversationLevelRequest ¶
type SetConversationLevelRequest struct { RequestHeader *RequestHeader `protobuf:"bytes,1,opt,name=request_header" json:"request_header,omitempty"` XXX_unrecognized []byte `json:"-"` }
func (*SetConversationLevelRequest) GetRequestHeader ¶
func (m *SetConversationLevelRequest) GetRequestHeader() *RequestHeader
func (*SetConversationLevelRequest) ProtoMessage ¶
func (*SetConversationLevelRequest) ProtoMessage()
func (*SetConversationLevelRequest) Reset ¶
func (m *SetConversationLevelRequest) Reset()
func (*SetConversationLevelRequest) String ¶
func (m *SetConversationLevelRequest) String() string
type SetConversationLevelResponse ¶
type SetConversationLevelResponse struct { ResponseHeader *ResponseHeader `protobuf:"bytes,1,opt,name=response_header" json:"response_header,omitempty"` XXX_unrecognized []byte `json:"-"` }
func (*SetConversationLevelResponse) GetResponseHeader ¶
func (m *SetConversationLevelResponse) GetResponseHeader() *ResponseHeader
func (*SetConversationLevelResponse) ProtoMessage ¶
func (*SetConversationLevelResponse) ProtoMessage()
func (*SetConversationLevelResponse) Reset ¶
func (m *SetConversationLevelResponse) Reset()
func (*SetConversationLevelResponse) String ¶
func (m *SetConversationLevelResponse) String() string
type SetConversationNotificationLevelNotification ¶
type SetConversationNotificationLevelNotification struct { ConversationId *ConversationId `protobuf:"bytes,1,opt,name=conversation_id" json:"conversation_id,omitempty"` Level *NotificationLevel `protobuf:"varint,2,opt,name=level,enum=NotificationLevel" json:"level,omitempty"` Timestamp *uint64 `protobuf:"varint,4,opt,name=timestamp" json:"timestamp,omitempty"` XXX_unrecognized []byte `json:"-"` }
func (*SetConversationNotificationLevelNotification) GetConversationId ¶
func (m *SetConversationNotificationLevelNotification) GetConversationId() *ConversationId
func (*SetConversationNotificationLevelNotification) GetLevel ¶
func (m *SetConversationNotificationLevelNotification) GetLevel() NotificationLevel
func (*SetConversationNotificationLevelNotification) GetTimestamp ¶
func (m *SetConversationNotificationLevelNotification) GetTimestamp() uint64
func (*SetConversationNotificationLevelNotification) ProtoMessage ¶
func (*SetConversationNotificationLevelNotification) ProtoMessage()
func (*SetConversationNotificationLevelNotification) Reset ¶
func (m *SetConversationNotificationLevelNotification) Reset()
func (*SetConversationNotificationLevelNotification) String ¶
func (m *SetConversationNotificationLevelNotification) String() string
type SetConversationNotificationLevelRequest ¶
type SetConversationNotificationLevelRequest struct { RequestHeader *RequestHeader `protobuf:"bytes,1,opt,name=request_header" json:"request_header,omitempty"` ConversationId *ConversationId `protobuf:"bytes,2,opt,name=conversation_id" json:"conversation_id,omitempty"` Level *NotificationLevel `protobuf:"varint,3,opt,name=level,enum=NotificationLevel" json:"level,omitempty"` XXX_unrecognized []byte `json:"-"` }
func (*SetConversationNotificationLevelRequest) GetConversationId ¶
func (m *SetConversationNotificationLevelRequest) GetConversationId() *ConversationId
func (*SetConversationNotificationLevelRequest) GetLevel ¶
func (m *SetConversationNotificationLevelRequest) GetLevel() NotificationLevel
func (*SetConversationNotificationLevelRequest) GetRequestHeader ¶
func (m *SetConversationNotificationLevelRequest) GetRequestHeader() *RequestHeader
func (*SetConversationNotificationLevelRequest) ProtoMessage ¶
func (*SetConversationNotificationLevelRequest) ProtoMessage()
func (*SetConversationNotificationLevelRequest) Reset ¶
func (m *SetConversationNotificationLevelRequest) Reset()
func (*SetConversationNotificationLevelRequest) String ¶
func (m *SetConversationNotificationLevelRequest) String() string
type SetConversationNotificationLevelResponse ¶
type SetConversationNotificationLevelResponse struct { ResponseHeader *ResponseHeader `protobuf:"bytes,1,opt,name=response_header" json:"response_header,omitempty"` Timestamp *uint64 `protobuf:"varint,2,opt,name=timestamp" json:"timestamp,omitempty"` XXX_unrecognized []byte `json:"-"` }
func (*SetConversationNotificationLevelResponse) GetResponseHeader ¶
func (m *SetConversationNotificationLevelResponse) GetResponseHeader() *ResponseHeader
func (*SetConversationNotificationLevelResponse) GetTimestamp ¶
func (m *SetConversationNotificationLevelResponse) GetTimestamp() uint64
func (*SetConversationNotificationLevelResponse) ProtoMessage ¶
func (*SetConversationNotificationLevelResponse) ProtoMessage()
func (*SetConversationNotificationLevelResponse) Reset ¶
func (m *SetConversationNotificationLevelResponse) Reset()
func (*SetConversationNotificationLevelResponse) String ¶
func (m *SetConversationNotificationLevelResponse) String() string
type SetFocusNotification ¶
type SetFocusNotification struct { ConversationId *ConversationId `protobuf:"bytes,1,opt,name=conversation_id" json:"conversation_id,omitempty"` SenderId *ParticipantId `protobuf:"bytes,2,opt,name=sender_id" json:"sender_id,omitempty"` Timestamp *uint64 `protobuf:"varint,3,opt,name=timestamp" json:"timestamp,omitempty"` Type *FocusType `protobuf:"varint,4,opt,name=type,enum=FocusType" json:"type,omitempty"` Device *FocusDevice `protobuf:"varint,5,opt,name=device,enum=FocusDevice" json:"device,omitempty"` XXX_unrecognized []byte `json:"-"` }
func (*SetFocusNotification) GetConversationId ¶
func (m *SetFocusNotification) GetConversationId() *ConversationId
func (*SetFocusNotification) GetDevice ¶
func (m *SetFocusNotification) GetDevice() FocusDevice
func (*SetFocusNotification) GetSenderId ¶
func (m *SetFocusNotification) GetSenderId() *ParticipantId
func (*SetFocusNotification) GetTimestamp ¶
func (m *SetFocusNotification) GetTimestamp() uint64
func (*SetFocusNotification) GetType ¶
func (m *SetFocusNotification) GetType() FocusType
func (*SetFocusNotification) ProtoMessage ¶
func (*SetFocusNotification) ProtoMessage()
func (*SetFocusNotification) Reset ¶
func (m *SetFocusNotification) Reset()
func (*SetFocusNotification) String ¶
func (m *SetFocusNotification) String() string
type SetFocusRequest ¶
type SetFocusRequest struct { RequestHeader *RequestHeader `protobuf:"bytes,1,opt,name=request_header" json:"request_header,omitempty"` ConversationId *ConversationId `protobuf:"bytes,2,opt,name=conversation_id" json:"conversation_id,omitempty"` Type *FocusType `protobuf:"varint,3,opt,name=type,enum=FocusType" json:"type,omitempty"` TimeoutSecs *uint32 `protobuf:"varint,4,opt,name=timeout_secs" json:"timeout_secs,omitempty"` XXX_unrecognized []byte `json:"-"` }
func (*SetFocusRequest) GetConversationId ¶
func (m *SetFocusRequest) GetConversationId() *ConversationId
func (*SetFocusRequest) GetRequestHeader ¶
func (m *SetFocusRequest) GetRequestHeader() *RequestHeader
func (*SetFocusRequest) GetTimeoutSecs ¶
func (m *SetFocusRequest) GetTimeoutSecs() uint32
func (*SetFocusRequest) GetType ¶
func (m *SetFocusRequest) GetType() FocusType
func (*SetFocusRequest) ProtoMessage ¶
func (*SetFocusRequest) ProtoMessage()
func (*SetFocusRequest) Reset ¶
func (m *SetFocusRequest) Reset()
func (*SetFocusRequest) String ¶
func (m *SetFocusRequest) String() string
type SetFocusResponse ¶
type SetFocusResponse struct { ResponseHeader *ResponseHeader `protobuf:"bytes,1,opt,name=response_header" json:"response_header,omitempty"` Timestamp *uint64 `protobuf:"varint,2,opt,name=timestamp" json:"timestamp,omitempty"` XXX_unrecognized []byte `json:"-"` }
func (*SetFocusResponse) GetResponseHeader ¶
func (m *SetFocusResponse) GetResponseHeader() *ResponseHeader
func (*SetFocusResponse) GetTimestamp ¶
func (m *SetFocusResponse) GetTimestamp() uint64
func (*SetFocusResponse) ProtoMessage ¶
func (*SetFocusResponse) ProtoMessage()
func (*SetFocusResponse) Reset ¶
func (m *SetFocusResponse) Reset()
func (*SetFocusResponse) String ¶
func (m *SetFocusResponse) String() string
type SetNotificationSettingNotification ¶
type SetNotificationSettingNotification struct { DesktopSoundSetting *DesktopSoundSetting `protobuf:"bytes,2,opt,name=desktop_sound_setting" json:"desktop_sound_setting,omitempty"` XXX_unrecognized []byte `json:"-"` }
func (*SetNotificationSettingNotification) GetDesktopSoundSetting ¶
func (m *SetNotificationSettingNotification) GetDesktopSoundSetting() *DesktopSoundSetting
func (*SetNotificationSettingNotification) ProtoMessage ¶
func (*SetNotificationSettingNotification) ProtoMessage()
func (*SetNotificationSettingNotification) Reset ¶
func (m *SetNotificationSettingNotification) Reset()
func (*SetNotificationSettingNotification) String ¶
func (m *SetNotificationSettingNotification) String() string
type SetPresenceRequest ¶
type SetPresenceRequest struct { RequestHeader *RequestHeader `protobuf:"bytes,1,opt,name=request_header" json:"request_header,omitempty"` PresenceStateSetting *PresenceStateSetting `protobuf:"bytes,2,opt,name=presence_state_setting" json:"presence_state_setting,omitempty"` DndSetting *DndSetting `protobuf:"bytes,3,opt,name=dnd_setting" json:"dnd_setting,omitempty"` DesktopOffSetting *DesktopOffSetting `protobuf:"bytes,5,opt,name=desktop_off_setting" json:"desktop_off_setting,omitempty"` MoodSetting *MoodSetting `protobuf:"bytes,8,opt,name=mood_setting" json:"mood_setting,omitempty"` XXX_unrecognized []byte `json:"-"` }
Allows setting one or more of the included presence-related settings.
func (*SetPresenceRequest) GetDesktopOffSetting ¶
func (m *SetPresenceRequest) GetDesktopOffSetting() *DesktopOffSetting
func (*SetPresenceRequest) GetDndSetting ¶
func (m *SetPresenceRequest) GetDndSetting() *DndSetting
func (*SetPresenceRequest) GetMoodSetting ¶
func (m *SetPresenceRequest) GetMoodSetting() *MoodSetting
func (*SetPresenceRequest) GetPresenceStateSetting ¶
func (m *SetPresenceRequest) GetPresenceStateSetting() *PresenceStateSetting
func (*SetPresenceRequest) GetRequestHeader ¶
func (m *SetPresenceRequest) GetRequestHeader() *RequestHeader
func (*SetPresenceRequest) ProtoMessage ¶
func (*SetPresenceRequest) ProtoMessage()
func (*SetPresenceRequest) Reset ¶
func (m *SetPresenceRequest) Reset()
func (*SetPresenceRequest) String ¶
func (m *SetPresenceRequest) String() string
type SetPresenceResponse ¶
type SetPresenceResponse struct { ResponseHeader *ResponseHeader `protobuf:"bytes,1,opt,name=response_header" json:"response_header,omitempty"` XXX_unrecognized []byte `json:"-"` }
func (*SetPresenceResponse) GetResponseHeader ¶
func (m *SetPresenceResponse) GetResponseHeader() *ResponseHeader
func (*SetPresenceResponse) ProtoMessage ¶
func (*SetPresenceResponse) ProtoMessage()
func (*SetPresenceResponse) Reset ¶
func (m *SetPresenceResponse) Reset()
func (*SetPresenceResponse) String ¶
func (m *SetPresenceResponse) String() string
type SetTypingNotification ¶
type SetTypingNotification struct { ConversationId *ConversationId `protobuf:"bytes,1,opt,name=conversation_id" json:"conversation_id,omitempty"` SenderId *ParticipantId `protobuf:"bytes,2,opt,name=sender_id" json:"sender_id,omitempty"` Timestamp *uint64 `protobuf:"varint,3,opt,name=timestamp" json:"timestamp,omitempty"` Type *TypingType `protobuf:"varint,4,opt,name=type,enum=TypingType" json:"type,omitempty"` XXX_unrecognized []byte `json:"-"` }
func (*SetTypingNotification) GetConversationId ¶
func (m *SetTypingNotification) GetConversationId() *ConversationId
func (*SetTypingNotification) GetSenderId ¶
func (m *SetTypingNotification) GetSenderId() *ParticipantId
func (*SetTypingNotification) GetTimestamp ¶
func (m *SetTypingNotification) GetTimestamp() uint64
func (*SetTypingNotification) GetType ¶
func (m *SetTypingNotification) GetType() TypingType
func (*SetTypingNotification) ProtoMessage ¶
func (*SetTypingNotification) ProtoMessage()
func (*SetTypingNotification) Reset ¶
func (m *SetTypingNotification) Reset()
func (*SetTypingNotification) String ¶
func (m *SetTypingNotification) String() string
type SetTypingRequest ¶
type SetTypingRequest struct { RequestHeader *RequestHeader `protobuf:"bytes,1,opt,name=request_header" json:"request_header,omitempty"` ConversationId *ConversationId `protobuf:"bytes,2,opt,name=conversation_id" json:"conversation_id,omitempty"` Type *TypingType `protobuf:"varint,3,opt,name=type,enum=TypingType" json:"type,omitempty"` XXX_unrecognized []byte `json:"-"` }
func (*SetTypingRequest) GetConversationId ¶
func (m *SetTypingRequest) GetConversationId() *ConversationId
func (*SetTypingRequest) GetRequestHeader ¶
func (m *SetTypingRequest) GetRequestHeader() *RequestHeader
func (*SetTypingRequest) GetType ¶
func (m *SetTypingRequest) GetType() TypingType
func (*SetTypingRequest) ProtoMessage ¶
func (*SetTypingRequest) ProtoMessage()
func (*SetTypingRequest) Reset ¶
func (m *SetTypingRequest) Reset()
func (*SetTypingRequest) String ¶
func (m *SetTypingRequest) String() string
type SetTypingResponse ¶
type SetTypingResponse struct { ResponseHeader *ResponseHeader `protobuf:"bytes,1,opt,name=response_header" json:"response_header,omitempty"` Timestamp *uint64 `protobuf:"varint,2,opt,name=timestamp" json:"timestamp,omitempty"` XXX_unrecognized []byte `json:"-"` }
func (*SetTypingResponse) GetResponseHeader ¶
func (m *SetTypingResponse) GetResponseHeader() *ResponseHeader
func (*SetTypingResponse) GetTimestamp ¶
func (m *SetTypingResponse) GetTimestamp() uint64
func (*SetTypingResponse) ProtoMessage ¶
func (*SetTypingResponse) ProtoMessage()
func (*SetTypingResponse) Reset ¶
func (m *SetTypingResponse) Reset()
func (*SetTypingResponse) String ¶
func (m *SetTypingResponse) String() string
type SoundState ¶
type SoundState int32
const ( SoundState_SOUND_STATE_UNKNOWN SoundState = 0 SoundState_SOUND_STATE_ON SoundState = 1 SoundState_SOUND_STATE_OFF SoundState = 2 )
func (SoundState) Enum ¶
func (x SoundState) Enum() *SoundState
func (SoundState) String ¶
func (x SoundState) String() string
func (*SoundState) UnmarshalJSON ¶
func (x *SoundState) UnmarshalJSON(data []byte) error
type SourceType ¶
type SourceType int32
const (
SourceType_SOURCE_TYPE_UNKNOWN SourceType = 0
)
func (SourceType) Enum ¶
func (x SourceType) Enum() *SourceType
func (SourceType) String ¶
func (x SourceType) String() string
func (*SourceType) UnmarshalJSON ¶
func (x *SourceType) UnmarshalJSON(data []byte) error
type StateUpdate ¶
type StateUpdate struct { StateUpdateHeader *StateUpdateHeader `protobuf:"bytes,1,opt,name=state_update_header" json:"state_update_header,omitempty"` // If set, includes conversation attributes that have been updated by the // notification. Conversation *Conversation `protobuf:"bytes,13,opt,name=conversation" json:"conversation,omitempty"` // Types that are valid to be assigned to StateUpdate: // *StateUpdate_ConversationNotification // *StateUpdate_EventNotification // *StateUpdate_FocusNotification // *StateUpdate_TypingNotification // *StateUpdate_NotificationLevelNotification // *StateUpdate_ReplyToInviteNotification // *StateUpdate_WatermarkNotification // *StateUpdate_ViewModification // *StateUpdate_EasterEggNotification // *StateUpdate_SelfPresenceNotification // *StateUpdate_DeleteNotification // *StateUpdate_PresenceNotification // *StateUpdate_BlockNotification // *StateUpdate_NotificationSettingNotification // *StateUpdate_RichPresenceEnabledStateNotification StateUpdate isStateUpdate_StateUpdate `protobuf_oneof:"state_update"` XXX_unrecognized []byte `json:"-"` }
Pushed from the server to the client to notify it of state changes. Includes exactly one type of notification, and optionally updates the attributes of a conversation.
func (*StateUpdate) GetBlockNotification ¶
func (m *StateUpdate) GetBlockNotification() *BlockNotification
func (*StateUpdate) GetConversation ¶
func (m *StateUpdate) GetConversation() *Conversation
func (*StateUpdate) GetConversationNotification ¶
func (m *StateUpdate) GetConversationNotification() *ConversationNotification
func (*StateUpdate) GetDeleteNotification ¶
func (m *StateUpdate) GetDeleteNotification() *DeleteActionNotification
func (*StateUpdate) GetEasterEggNotification ¶
func (m *StateUpdate) GetEasterEggNotification() *EasterEggNotification
func (*StateUpdate) GetEventNotification ¶
func (m *StateUpdate) GetEventNotification() *EventNotification
func (*StateUpdate) GetFocusNotification ¶
func (m *StateUpdate) GetFocusNotification() *SetFocusNotification
func (*StateUpdate) GetNotificationLevelNotification ¶
func (m *StateUpdate) GetNotificationLevelNotification() *SetConversationNotificationLevelNotification
func (*StateUpdate) GetNotificationSettingNotification ¶
func (m *StateUpdate) GetNotificationSettingNotification() *SetNotificationSettingNotification
func (*StateUpdate) GetPresenceNotification ¶
func (m *StateUpdate) GetPresenceNotification() *PresenceNotification
func (*StateUpdate) GetReplyToInviteNotification ¶
func (m *StateUpdate) GetReplyToInviteNotification() *ReplyToInviteNotification
func (*StateUpdate) GetRichPresenceEnabledStateNotification ¶
func (m *StateUpdate) GetRichPresenceEnabledStateNotification() *RichPresenceEnabledStateNotification
func (*StateUpdate) GetSelfPresenceNotification ¶
func (m *StateUpdate) GetSelfPresenceNotification() *SelfPresenceNotification
func (*StateUpdate) GetStateUpdate ¶
func (m *StateUpdate) GetStateUpdate() isStateUpdate_StateUpdate
func (*StateUpdate) GetStateUpdateHeader ¶
func (m *StateUpdate) GetStateUpdateHeader() *StateUpdateHeader
func (*StateUpdate) GetTypingNotification ¶
func (m *StateUpdate) GetTypingNotification() *SetTypingNotification
func (*StateUpdate) GetViewModification ¶
func (m *StateUpdate) GetViewModification() *ConversationViewModification
func (*StateUpdate) GetWatermarkNotification ¶
func (m *StateUpdate) GetWatermarkNotification() *WatermarkNotification
func (*StateUpdate) ProtoMessage ¶
func (*StateUpdate) ProtoMessage()
func (*StateUpdate) Reset ¶
func (m *StateUpdate) Reset()
func (*StateUpdate) String ¶
func (m *StateUpdate) String() string
type StateUpdateHeader ¶
type StateUpdateHeader struct { ActiveClientState *ActiveClientState `protobuf:"varint,1,opt,name=active_client_state,enum=ActiveClientState" json:"active_client_state,omitempty"` RequestTraceId *string `protobuf:"bytes,3,opt,name=request_trace_id" json:"request_trace_id,omitempty"` NotificationSettings *NotificationSettings `protobuf:"bytes,4,opt,name=notification_settings" json:"notification_settings,omitempty"` CurrentServerTime *uint64 `protobuf:"varint,5,opt,name=current_server_time" json:"current_server_time,omitempty"` XXX_unrecognized []byte `json:"-"` }
Header for StateUpdate messages.
func (*StateUpdateHeader) GetActiveClientState ¶
func (m *StateUpdateHeader) GetActiveClientState() ActiveClientState
func (*StateUpdateHeader) GetCurrentServerTime ¶
func (m *StateUpdateHeader) GetCurrentServerTime() uint64
func (*StateUpdateHeader) GetNotificationSettings ¶
func (m *StateUpdateHeader) GetNotificationSettings() *NotificationSettings
func (*StateUpdateHeader) GetRequestTraceId ¶
func (m *StateUpdateHeader) GetRequestTraceId() string
func (*StateUpdateHeader) ProtoMessage ¶
func (*StateUpdateHeader) ProtoMessage()
func (*StateUpdateHeader) Reset ¶
func (m *StateUpdateHeader) Reset()
func (*StateUpdateHeader) String ¶
func (m *StateUpdateHeader) String() string
type StateUpdate_BlockNotification ¶
type StateUpdate_BlockNotification struct {
BlockNotification *BlockNotification `protobuf:"bytes,17,opt,name=block_notification,oneof"`
}
type StateUpdate_ConversationNotification ¶
type StateUpdate_ConversationNotification struct {
ConversationNotification *ConversationNotification `protobuf:"bytes,2,opt,name=conversation_notification,oneof"`
}
type StateUpdate_DeleteNotification ¶
type StateUpdate_DeleteNotification struct {
DeleteNotification *DeleteActionNotification `protobuf:"bytes,15,opt,name=delete_notification,oneof"`
}
type StateUpdate_EasterEggNotification ¶
type StateUpdate_EasterEggNotification struct {
EasterEggNotification *EasterEggNotification `protobuf:"bytes,12,opt,name=easter_egg_notification,oneof"`
}
type StateUpdate_EventNotification ¶
type StateUpdate_EventNotification struct {
EventNotification *EventNotification `protobuf:"bytes,3,opt,name=event_notification,oneof"`
}
type StateUpdate_FocusNotification ¶
type StateUpdate_FocusNotification struct {
FocusNotification *SetFocusNotification `protobuf:"bytes,4,opt,name=focus_notification,oneof"`
}
type StateUpdate_NotificationLevelNotification ¶
type StateUpdate_NotificationLevelNotification struct {
NotificationLevelNotification *SetConversationNotificationLevelNotification `protobuf:"bytes,6,opt,name=notification_level_notification,oneof"`
}
type StateUpdate_NotificationSettingNotification ¶
type StateUpdate_NotificationSettingNotification struct {
NotificationSettingNotification *SetNotificationSettingNotification `protobuf:"bytes,19,opt,name=notification_setting_notification,oneof"`
}
type StateUpdate_PresenceNotification ¶
type StateUpdate_PresenceNotification struct {
PresenceNotification *PresenceNotification `protobuf:"bytes,16,opt,name=presence_notification,oneof"`
}
type StateUpdate_ReplyToInviteNotification ¶
type StateUpdate_ReplyToInviteNotification struct {
ReplyToInviteNotification *ReplyToInviteNotification `protobuf:"bytes,7,opt,name=reply_to_invite_notification,oneof"`
}
type StateUpdate_RichPresenceEnabledStateNotification ¶
type StateUpdate_RichPresenceEnabledStateNotification struct {
RichPresenceEnabledStateNotification *RichPresenceEnabledStateNotification `protobuf:"bytes,20,opt,name=rich_presence_enabled_state_notification,oneof"`
}
type StateUpdate_SelfPresenceNotification ¶
type StateUpdate_SelfPresenceNotification struct {
SelfPresenceNotification *SelfPresenceNotification `protobuf:"bytes,14,opt,name=self_presence_notification,oneof"`
}
type StateUpdate_TypingNotification ¶
type StateUpdate_TypingNotification struct {
TypingNotification *SetTypingNotification `protobuf:"bytes,5,opt,name=typing_notification,oneof"`
}
type StateUpdate_ViewModification ¶
type StateUpdate_ViewModification struct {
ViewModification *ConversationViewModification `protobuf:"bytes,11,opt,name=view_modification,oneof"`
}
type StateUpdate_WatermarkNotification ¶
type StateUpdate_WatermarkNotification struct {
WatermarkNotification *WatermarkNotification `protobuf:"bytes,8,opt,name=watermark_notification,oneof"`
}
type SuggestedContact ¶
type SuggestedContact struct { Entity *Entity `protobuf:"bytes,1,opt,name=entity" json:"entity,omitempty"` InvitationStatus *InvitationStatus `protobuf:"varint,2,opt,name=invitation_status,enum=InvitationStatus" json:"invitation_status,omitempty"` XXX_unrecognized []byte `json:"-"` }
func (*SuggestedContact) GetEntity ¶
func (m *SuggestedContact) GetEntity() *Entity
func (*SuggestedContact) GetInvitationStatus ¶
func (m *SuggestedContact) GetInvitationStatus() InvitationStatus
func (*SuggestedContact) ProtoMessage ¶
func (*SuggestedContact) ProtoMessage()
func (*SuggestedContact) Reset ¶
func (m *SuggestedContact) Reset()
func (*SuggestedContact) String ¶
func (m *SuggestedContact) String() string
type SuggestedContactGroup ¶
type SuggestedContactGroup struct { HashMatched *bool `protobuf:"varint,1,opt,name=hash_matched" json:"hash_matched,omitempty"` // A 4-byte hash. Hash []byte `protobuf:"bytes,2,opt,name=hash" json:"hash,omitempty"` Contact []*SuggestedContact `protobuf:"bytes,3,rep,name=contact" json:"contact,omitempty"` XXX_unrecognized []byte `json:"-"` }
func (*SuggestedContactGroup) GetContact ¶
func (m *SuggestedContactGroup) GetContact() []*SuggestedContact
func (*SuggestedContactGroup) GetHash ¶
func (m *SuggestedContactGroup) GetHash() []byte
func (*SuggestedContactGroup) GetHashMatched ¶
func (m *SuggestedContactGroup) GetHashMatched() bool
func (*SuggestedContactGroup) ProtoMessage ¶
func (*SuggestedContactGroup) ProtoMessage()
func (*SuggestedContactGroup) Reset ¶
func (m *SuggestedContactGroup) Reset()
func (*SuggestedContactGroup) String ¶
func (m *SuggestedContactGroup) String() string
type SuggestedContactGroupHash ¶
type SuggestedContactGroupHash struct { // Number of results to return from this group. MaxResults *uint64 `protobuf:"varint,1,opt,name=max_results" json:"max_results,omitempty"` // A 4-byte hash. Hash []byte `protobuf:"bytes,2,opt,name=hash" json:"hash,omitempty"` XXX_unrecognized []byte `json:"-"` }
func (*SuggestedContactGroupHash) GetHash ¶
func (m *SuggestedContactGroupHash) GetHash() []byte
func (*SuggestedContactGroupHash) GetMaxResults ¶
func (m *SuggestedContactGroupHash) GetMaxResults() uint64
func (*SuggestedContactGroupHash) ProtoMessage ¶
func (*SuggestedContactGroupHash) ProtoMessage()
func (*SuggestedContactGroupHash) Reset ¶
func (m *SuggestedContactGroupHash) Reset()
func (*SuggestedContactGroupHash) String ¶
func (m *SuggestedContactGroupHash) String() string
type SyncAllNewEventsRequest ¶
type SyncAllNewEventsRequest struct { RequestHeader *RequestHeader `protobuf:"bytes,1,opt,name=request_header" json:"request_header,omitempty"` // Timestamp after which to return all new events. LastSyncTimestamp *uint64 `protobuf:"varint,2,opt,name=last_sync_timestamp" json:"last_sync_timestamp,omitempty"` MaxResponseSizeBytes *uint64 `protobuf:"varint,8,opt,name=max_response_size_bytes" json:"max_response_size_bytes,omitempty"` XXX_unrecognized []byte `json:"-"` }
func (*SyncAllNewEventsRequest) GetLastSyncTimestamp ¶
func (m *SyncAllNewEventsRequest) GetLastSyncTimestamp() uint64
func (*SyncAllNewEventsRequest) GetMaxResponseSizeBytes ¶
func (m *SyncAllNewEventsRequest) GetMaxResponseSizeBytes() uint64
func (*SyncAllNewEventsRequest) GetRequestHeader ¶
func (m *SyncAllNewEventsRequest) GetRequestHeader() *RequestHeader
func (*SyncAllNewEventsRequest) ProtoMessage ¶
func (*SyncAllNewEventsRequest) ProtoMessage()
func (*SyncAllNewEventsRequest) Reset ¶
func (m *SyncAllNewEventsRequest) Reset()
func (*SyncAllNewEventsRequest) String ¶
func (m *SyncAllNewEventsRequest) String() string
type SyncAllNewEventsResponse ¶
type SyncAllNewEventsResponse struct { ResponseHeader *ResponseHeader `protobuf:"bytes,1,opt,name=response_header" json:"response_header,omitempty"` SyncTimestamp *uint64 `protobuf:"varint,2,opt,name=sync_timestamp" json:"sync_timestamp,omitempty"` ConversationState []*ConversationState `protobuf:"bytes,3,rep,name=conversation_state" json:"conversation_state,omitempty"` XXX_unrecognized []byte `json:"-"` }
func (*SyncAllNewEventsResponse) GetConversationState ¶
func (m *SyncAllNewEventsResponse) GetConversationState() []*ConversationState
func (*SyncAllNewEventsResponse) GetResponseHeader ¶
func (m *SyncAllNewEventsResponse) GetResponseHeader() *ResponseHeader
func (*SyncAllNewEventsResponse) GetSyncTimestamp ¶
func (m *SyncAllNewEventsResponse) GetSyncTimestamp() uint64
func (*SyncAllNewEventsResponse) ProtoMessage ¶
func (*SyncAllNewEventsResponse) ProtoMessage()
func (*SyncAllNewEventsResponse) Reset ¶
func (m *SyncAllNewEventsResponse) Reset()
func (*SyncAllNewEventsResponse) String ¶
func (m *SyncAllNewEventsResponse) String() string
type SyncFilter ¶
type SyncFilter int32
const ( SyncFilter_SYNC_FILTER_UNKNOWN SyncFilter = 0 SyncFilter_SYNC_FILTER_INBOX SyncFilter = 1 SyncFilter_SYNC_FILTER_ARCHIVED SyncFilter = 2 )
func (SyncFilter) Enum ¶
func (x SyncFilter) Enum() *SyncFilter
func (SyncFilter) String ¶
func (x SyncFilter) String() string
func (*SyncFilter) UnmarshalJSON ¶
func (x *SyncFilter) UnmarshalJSON(data []byte) error
type SyncRecentConversationsRequest ¶
type SyncRecentConversationsRequest struct { RequestHeader *RequestHeader `protobuf:"bytes,1,opt,name=request_header" json:"request_header,omitempty"` MaxConversations *uint64 `protobuf:"varint,3,opt,name=max_conversations" json:"max_conversations,omitempty"` MaxEventsPerConversation *uint64 `protobuf:"varint,4,opt,name=max_events_per_conversation" json:"max_events_per_conversation,omitempty"` SyncFilter []SyncFilter `protobuf:"varint,5,rep,name=sync_filter,enum=SyncFilter" json:"sync_filter,omitempty"` XXX_unrecognized []byte `json:"-"` }
func (*SyncRecentConversationsRequest) GetMaxConversations ¶
func (m *SyncRecentConversationsRequest) GetMaxConversations() uint64
func (*SyncRecentConversationsRequest) GetMaxEventsPerConversation ¶
func (m *SyncRecentConversationsRequest) GetMaxEventsPerConversation() uint64
func (*SyncRecentConversationsRequest) GetRequestHeader ¶
func (m *SyncRecentConversationsRequest) GetRequestHeader() *RequestHeader
func (*SyncRecentConversationsRequest) GetSyncFilter ¶
func (m *SyncRecentConversationsRequest) GetSyncFilter() []SyncFilter
func (*SyncRecentConversationsRequest) ProtoMessage ¶
func (*SyncRecentConversationsRequest) ProtoMessage()
func (*SyncRecentConversationsRequest) Reset ¶
func (m *SyncRecentConversationsRequest) Reset()
func (*SyncRecentConversationsRequest) String ¶
func (m *SyncRecentConversationsRequest) String() string
type SyncRecentConversationsResponse ¶
type SyncRecentConversationsResponse struct { ResponseHeader *ResponseHeader `protobuf:"bytes,1,opt,name=response_header" json:"response_header,omitempty"` SyncTimestamp *uint64 `protobuf:"varint,2,opt,name=sync_timestamp" json:"sync_timestamp,omitempty"` ConversationState []*ConversationState `protobuf:"bytes,3,rep,name=conversation_state" json:"conversation_state,omitempty"` XXX_unrecognized []byte `json:"-"` }
func (*SyncRecentConversationsResponse) GetConversationState ¶
func (m *SyncRecentConversationsResponse) GetConversationState() []*ConversationState
func (*SyncRecentConversationsResponse) GetResponseHeader ¶
func (m *SyncRecentConversationsResponse) GetResponseHeader() *ResponseHeader
func (*SyncRecentConversationsResponse) GetSyncTimestamp ¶
func (m *SyncRecentConversationsResponse) GetSyncTimestamp() uint64
func (*SyncRecentConversationsResponse) ProtoMessage ¶
func (*SyncRecentConversationsResponse) ProtoMessage()
func (*SyncRecentConversationsResponse) Reset ¶
func (m *SyncRecentConversationsResponse) Reset()
func (*SyncRecentConversationsResponse) String ¶
func (m *SyncRecentConversationsResponse) String() string
type TypingType ¶
type TypingType int32
const ( TypingType_TYPING_TYPE_UNKNOWN TypingType = 0 // Started typing. TypingType_TYPING_TYPE_STARTED TypingType = 1 // Stopped typing with inputted text. TypingType_TYPING_TYPE_PAUSED TypingType = 2 // Stopped typing with no inputted text. TypingType_TYPING_TYPE_STOPPED TypingType = 3 )
func (TypingType) Enum ¶
func (x TypingType) Enum() *TypingType
func (TypingType) String ¶
func (x TypingType) String() string
func (*TypingType) UnmarshalJSON ¶
func (x *TypingType) UnmarshalJSON(data []byte) error
type UpdateWatermarkRequest ¶
type UpdateWatermarkRequest struct { RequestHeader *RequestHeader `protobuf:"bytes,1,opt,name=request_header" json:"request_header,omitempty"` ConversationId *ConversationId `protobuf:"bytes,2,opt,name=conversation_id" json:"conversation_id,omitempty"` LastReadTimestamp *uint64 `protobuf:"varint,3,opt,name=last_read_timestamp" json:"last_read_timestamp,omitempty"` XXX_unrecognized []byte `json:"-"` }
func (*UpdateWatermarkRequest) GetConversationId ¶
func (m *UpdateWatermarkRequest) GetConversationId() *ConversationId
func (*UpdateWatermarkRequest) GetLastReadTimestamp ¶
func (m *UpdateWatermarkRequest) GetLastReadTimestamp() uint64
func (*UpdateWatermarkRequest) GetRequestHeader ¶
func (m *UpdateWatermarkRequest) GetRequestHeader() *RequestHeader
func (*UpdateWatermarkRequest) ProtoMessage ¶
func (*UpdateWatermarkRequest) ProtoMessage()
func (*UpdateWatermarkRequest) Reset ¶
func (m *UpdateWatermarkRequest) Reset()
func (*UpdateWatermarkRequest) String ¶
func (m *UpdateWatermarkRequest) String() string
type UpdateWatermarkResponse ¶
type UpdateWatermarkResponse struct { ResponseHeader *ResponseHeader `protobuf:"bytes,1,opt,name=response_header" json:"response_header,omitempty"` XXX_unrecognized []byte `json:"-"` }
func (*UpdateWatermarkResponse) GetResponseHeader ¶
func (m *UpdateWatermarkResponse) GetResponseHeader() *ResponseHeader
func (*UpdateWatermarkResponse) ProtoMessage ¶
func (*UpdateWatermarkResponse) ProtoMessage()
func (*UpdateWatermarkResponse) Reset ¶
func (m *UpdateWatermarkResponse) Reset()
func (*UpdateWatermarkResponse) String ¶
func (m *UpdateWatermarkResponse) String() string
type UserConversationState ¶
type UserConversationState struct { ClientGeneratedId *string `protobuf:"bytes,2,opt,name=client_generated_id" json:"client_generated_id,omitempty"` SelfReadState *UserReadState `protobuf:"bytes,7,opt,name=self_read_state" json:"self_read_state,omitempty"` Status *ConversationStatus `protobuf:"varint,8,opt,name=status,enum=ConversationStatus" json:"status,omitempty"` NotificationLevel *NotificationLevel `protobuf:"varint,9,opt,name=notification_level,enum=NotificationLevel" json:"notification_level,omitempty"` View []ConversationView `protobuf:"varint,10,rep,name=view,enum=ConversationView" json:"view,omitempty"` InviterId *ParticipantId `protobuf:"bytes,11,opt,name=inviter_id" json:"inviter_id,omitempty"` InviteTimestamp *uint64 `protobuf:"varint,12,opt,name=invite_timestamp" json:"invite_timestamp,omitempty"` SortTimestamp *uint64 `protobuf:"varint,13,opt,name=sort_timestamp" json:"sort_timestamp,omitempty"` ActiveTimestamp *uint64 `protobuf:"varint,14,opt,name=active_timestamp" json:"active_timestamp,omitempty"` InviteAffinity *InvitationAffinity `protobuf:"varint,15,opt,name=invite_affinity,enum=InvitationAffinity" json:"invite_affinity,omitempty"` DeliveryMediumOption []*DeliveryMediumOption `protobuf:"bytes,17,rep,name=delivery_medium_option" json:"delivery_medium_option,omitempty"` XXX_unrecognized []byte `json:"-"` }
func (*UserConversationState) GetActiveTimestamp ¶
func (m *UserConversationState) GetActiveTimestamp() uint64
func (*UserConversationState) GetClientGeneratedId ¶
func (m *UserConversationState) GetClientGeneratedId() string
func (*UserConversationState) GetDeliveryMediumOption ¶
func (m *UserConversationState) GetDeliveryMediumOption() []*DeliveryMediumOption
func (*UserConversationState) GetInviteAffinity ¶
func (m *UserConversationState) GetInviteAffinity() InvitationAffinity
func (*UserConversationState) GetInviteTimestamp ¶
func (m *UserConversationState) GetInviteTimestamp() uint64
func (*UserConversationState) GetInviterId ¶
func (m *UserConversationState) GetInviterId() *ParticipantId
func (*UserConversationState) GetNotificationLevel ¶
func (m *UserConversationState) GetNotificationLevel() NotificationLevel
func (*UserConversationState) GetSelfReadState ¶
func (m *UserConversationState) GetSelfReadState() *UserReadState
func (*UserConversationState) GetSortTimestamp ¶
func (m *UserConversationState) GetSortTimestamp() uint64
func (*UserConversationState) GetStatus ¶
func (m *UserConversationState) GetStatus() ConversationStatus
func (*UserConversationState) GetView ¶
func (m *UserConversationState) GetView() []ConversationView
func (*UserConversationState) ProtoMessage ¶
func (*UserConversationState) ProtoMessage()
func (*UserConversationState) Reset ¶
func (m *UserConversationState) Reset()
func (*UserConversationState) String ¶
func (m *UserConversationState) String() string
type UserEventState ¶
type UserEventState struct { UserId *ParticipantId `protobuf:"bytes,1,opt,name=user_id" json:"user_id,omitempty"` ClientGeneratedId *uint64 `protobuf:"varint,2,opt,name=client_generated_id" json:"client_generated_id,omitempty"` NotificationLevel *NotificationLevel `protobuf:"varint,3,opt,name=notification_level,enum=NotificationLevel" json:"notification_level,omitempty"` XXX_unrecognized []byte `json:"-"` }
func (*UserEventState) GetClientGeneratedId ¶
func (m *UserEventState) GetClientGeneratedId() uint64
func (*UserEventState) GetNotificationLevel ¶
func (m *UserEventState) GetNotificationLevel() NotificationLevel
func (*UserEventState) GetUserId ¶
func (m *UserEventState) GetUserId() *ParticipantId
func (*UserEventState) ProtoMessage ¶
func (*UserEventState) ProtoMessage()
func (*UserEventState) Reset ¶
func (m *UserEventState) Reset()
func (*UserEventState) String ¶
func (m *UserEventState) String() string
type UserReadState ¶
type UserReadState struct { ParticipantId *ParticipantId `protobuf:"bytes,1,opt,name=participant_id" json:"participant_id,omitempty"` LatestReadTimestamp *uint64 `protobuf:"varint,2,opt,name=latest_read_timestamp" json:"latest_read_timestamp,omitempty"` XXX_unrecognized []byte `json:"-"` }
func (*UserReadState) GetLatestReadTimestamp ¶
func (m *UserReadState) GetLatestReadTimestamp() uint64
func (*UserReadState) GetParticipantId ¶
func (m *UserReadState) GetParticipantId() *ParticipantId
func (*UserReadState) ProtoMessage ¶
func (*UserReadState) ProtoMessage()
func (*UserReadState) Reset ¶
func (m *UserReadState) Reset()
func (*UserReadState) String ¶
func (m *UserReadState) String() string
type WatermarkNotification ¶
type WatermarkNotification struct { SenderId *ParticipantId `protobuf:"bytes,1,opt,name=sender_id" json:"sender_id,omitempty"` ConversationId *ConversationId `protobuf:"bytes,2,opt,name=conversation_id" json:"conversation_id,omitempty"` LatestReadTimestamp *uint64 `protobuf:"varint,3,opt,name=latest_read_timestamp" json:"latest_read_timestamp,omitempty"` XXX_unrecognized []byte `json:"-"` }
func (*WatermarkNotification) GetConversationId ¶
func (m *WatermarkNotification) GetConversationId() *ConversationId
func (*WatermarkNotification) GetLatestReadTimestamp ¶
func (m *WatermarkNotification) GetLatestReadTimestamp() uint64
func (*WatermarkNotification) GetSenderId ¶
func (m *WatermarkNotification) GetSenderId() *ParticipantId
func (*WatermarkNotification) ProtoMessage ¶
func (*WatermarkNotification) ProtoMessage()
func (*WatermarkNotification) Reset ¶
func (m *WatermarkNotification) Reset()
func (*WatermarkNotification) String ¶
func (m *WatermarkNotification) String() string