pb

package
v0.57.0 Latest Latest
Warning

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

Go to latest
Published: Feb 12, 2022 License: Apache-2.0 Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var File_proto_c2s_v1_resourceinfo_proto protoreflect.FileDescriptor

Functions

This section is empty.

Types

type ResourceInfo

type ResourceInfo struct {

	// instance_id indicates what instance registered this resource.
	InstanceId string `protobuf:"bytes,1,opt,name=instance_id,json=instanceId,proto3" json:"instance_id,omitempty"`
	// domain is the resource associated domain.
	Domain string `protobuf:"bytes,2,opt,name=domain,proto3" json:"domain,omitempty"`
	// info is the resource additional context info.
	Info map[string]string `` /* 149-byte string literal not displayed */
	// presence is the resource last received presence.
	Presence *stravaganza.PBElement `protobuf:"bytes,4,opt,name=presence,proto3" json:"presence,omitempty"`
	// contains filtered or unexported fields
}

ResourceInfo represents resource associated info content.

func (*ResourceInfo) Descriptor deprecated

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

Deprecated: Use ResourceInfo.ProtoReflect.Descriptor instead.

func (*ResourceInfo) GetDomain

func (x *ResourceInfo) GetDomain() string

func (*ResourceInfo) GetInfo

func (x *ResourceInfo) GetInfo() map[string]string

func (*ResourceInfo) GetInstanceId

func (x *ResourceInfo) GetInstanceId() string

func (*ResourceInfo) GetPresence

func (x *ResourceInfo) GetPresence() *stravaganza.PBElement

func (*ResourceInfo) ProtoMessage

func (*ResourceInfo) ProtoMessage()

func (*ResourceInfo) ProtoReflect

func (x *ResourceInfo) ProtoReflect() protoreflect.Message

func (*ResourceInfo) Reset

func (x *ResourceInfo) Reset()

func (*ResourceInfo) String

func (x *ResourceInfo) String() string

Jump to

Keyboard shortcuts

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