packets

package
v0.0.0-...-9572309 Latest Latest
Warning

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

Go to latest
Published: Jun 10, 2023 License: MIT Imports: 7 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (
	Playback_name = map[int32]string{
		0: "UNSPECIFIED",
		1: "INTERACTION",
		2: "INTERACTION_END",
		3: "UTTERANCE",
	}
	Playback_value = map[string]int32{
		"UNSPECIFIED":     0,
		"INTERACTION":     1,
		"INTERACTION_END": 2,
		"UTTERANCE":       3,
	}
)

Enum value maps for Playback.

View Source
var (
	Actor_Type_name = map[int32]string{
		0: "UNKNOWN",
		1: "PLAYER",
		2: "AGENT",
	}
	Actor_Type_value = map[string]int32{
		"UNKNOWN": 0,
		"PLAYER":  1,
		"AGENT":   2,
	}
)

Enum value maps for Actor_Type.

View Source
var (
	TextEvent_SourceType_name = map[int32]string{
		0: "UNKNOWN",
		1: "SPEECH_TO_TEXT",
		2: "TYPED_IN",
		3: "GENERATED",
		4: "FILLER",
	}
	TextEvent_SourceType_value = map[string]int32{
		"UNKNOWN":        0,
		"SPEECH_TO_TEXT": 1,
		"TYPED_IN":       2,
		"GENERATED":      3,
		"FILLER":         4,
	}
)

Enum value maps for TextEvent_SourceType.

View Source
var (
	ControlEvent_Action_name = map[int32]string{
		0: "UNKNOWN",
		1: "AUDIO_SESSION_START",
		2: "AUDIO_SESSION_END",
		3: "INTERACTION_END",
		4: "TTS_PLAYBACK_START",
		5: "TTS_PLAYBACK_END",
		6: "TTS_PLAYBACK_MUTE",
		7: "TTS_PLAYBACK_UNMUTE",
		8: "WARNING",
		9: "SESSION_END",
	}
	ControlEvent_Action_value = map[string]int32{
		"UNKNOWN":             0,
		"AUDIO_SESSION_START": 1,
		"AUDIO_SESSION_END":   2,
		"INTERACTION_END":     3,
		"TTS_PLAYBACK_START":  4,
		"TTS_PLAYBACK_END":    5,
		"TTS_PLAYBACK_MUTE":   6,
		"TTS_PLAYBACK_UNMUTE": 7,
		"WARNING":             8,
		"SESSION_END":         9,
	}
)

Enum value maps for ControlEvent_Action.

View Source
var (
	GestureEvent_Type_name = map[int32]string{
		0: "GREETING",
		1: "FAREWELL",
		2: "AGREEMENT",
		3: "DISAGREEMENT",
		4: "GRATITUDE",
		5: "CELEBRATION",
		6: "BOREDOM",
		7: "UNCERTAINTY",
	}
	GestureEvent_Type_value = map[string]int32{
		"GREETING":     0,
		"FAREWELL":     1,
		"AGREEMENT":    2,
		"DISAGREEMENT": 3,
		"GRATITUDE":    4,
		"CELEBRATION":  5,
		"BOREDOM":      6,
		"UNCERTAINTY":  7,
	}
)

Enum value maps for GestureEvent_Type.

View Source
var (
	EmotionEvent_SpaffCode_name = map[int32]string{
		0:  "NEUTRAL",
		1:  "DISGUST",
		2:  "CONTEMPT",
		3:  "BELLIGERENCE",
		4:  "DOMINEERING",
		5:  "CRITICISM",
		6:  "ANGER",
		7:  "TENSION",
		8:  "TENSE_HUMOR",
		9:  "DEFENSIVENESS",
		10: "WHINING",
		11: "SADNESS",
		12: "STONEWALLING",
		13: "INTEREST",
		14: "VALIDATION",
		15: "AFFECTION",
		16: "HUMOR",
		17: "SURPRISE",
		18: "JOY",
	}
	EmotionEvent_SpaffCode_value = map[string]int32{
		"NEUTRAL":       0,
		"DISGUST":       1,
		"CONTEMPT":      2,
		"BELLIGERENCE":  3,
		"DOMINEERING":   4,
		"CRITICISM":     5,
		"ANGER":         6,
		"TENSION":       7,
		"TENSE_HUMOR":   8,
		"DEFENSIVENESS": 9,
		"WHINING":       10,
		"SADNESS":       11,
		"STONEWALLING":  12,
		"INTEREST":      13,
		"VALIDATION":    14,
		"AFFECTION":     15,
		"HUMOR":         16,
		"SURPRISE":      17,
		"JOY":           18,
	}
)

Enum value maps for EmotionEvent_SpaffCode.

View Source
var (
	EmotionEvent_Strength_name = map[int32]string{
		0: "UNSPECIFIED",
		1: "WEAK",
		2: "STRONG",
		3: "NORMAL",
	}
	EmotionEvent_Strength_value = map[string]int32{
		"UNSPECIFIED": 0,
		"WEAK":        1,
		"STRONG":      2,
		"NORMAL":      3,
	}
)

Enum value maps for EmotionEvent_Strength.

View Source
var (
	DataChunk_DataType_name = map[int32]string{
		0: "UNSPECIFIED",
		1: "AUDIO",
		2: "ANIMATION",
		3: "SILENCE",
		4: "STATE",
	}
	DataChunk_DataType_value = map[string]int32{
		"UNSPECIFIED": 0,
		"AUDIO":       1,
		"ANIMATION":   2,
		"SILENCE":     3,
		"STATE":       4,
	}
)

Enum value maps for DataChunk_DataType.

View Source
var File_packets_proto protoreflect.FileDescriptor

Functions

This section is empty.

Types

type ActionEvent

type ActionEvent struct {

	// Types that are assignable to Action:
	//
	//	*ActionEvent_NarratedAction
	Action   isActionEvent_Action `protobuf_oneof:"Action"`
	Playback Playback             `protobuf:"varint,2,opt,name=playback,proto3,enum=ai.inworld.packets.Playback" json:"playback,omitempty"`
	// contains filtered or unexported fields
}

func (*ActionEvent) Descriptor deprecated

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

Deprecated: Use ActionEvent.ProtoReflect.Descriptor instead.

func (*ActionEvent) GetAction

func (m *ActionEvent) GetAction() isActionEvent_Action

func (*ActionEvent) GetNarratedAction

func (x *ActionEvent) GetNarratedAction() *NarratedAction

func (*ActionEvent) GetPlayback

func (x *ActionEvent) GetPlayback() Playback

func (*ActionEvent) ProtoMessage

func (*ActionEvent) ProtoMessage()

func (*ActionEvent) ProtoReflect

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

func (*ActionEvent) Reset

func (x *ActionEvent) Reset()

func (*ActionEvent) String

func (x *ActionEvent) String() string

type ActionEvent_NarratedAction

type ActionEvent_NarratedAction struct {
	NarratedAction *NarratedAction `protobuf:"bytes,1,opt,name=narratedAction,proto3,oneof"`
}

type Actor

type Actor struct {
	Type Actor_Type `protobuf:"varint,1,opt,name=type,proto3,enum=ai.inworld.packets.Actor_Type" json:"type,omitempty"`
	Name string     `protobuf:"bytes,2,opt,name=name,proto3" json:"name,omitempty"`
	// contains filtered or unexported fields
}

func (*Actor) Descriptor deprecated

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

Deprecated: Use Actor.ProtoReflect.Descriptor instead.

func (*Actor) GetName

func (x *Actor) GetName() string

func (*Actor) GetType

func (x *Actor) GetType() Actor_Type

func (*Actor) ProtoMessage

func (*Actor) ProtoMessage()

func (*Actor) ProtoReflect

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

func (*Actor) Reset

func (x *Actor) Reset()

func (*Actor) String

func (x *Actor) String() string

type Actor_Type

type Actor_Type int32
const (
	Actor_UNKNOWN Actor_Type = 0
	Actor_PLAYER  Actor_Type = 1
	Actor_AGENT   Actor_Type = 2
)

func (Actor_Type) Descriptor

func (Actor_Type) Descriptor() protoreflect.EnumDescriptor

func (Actor_Type) Enum

func (x Actor_Type) Enum() *Actor_Type

func (Actor_Type) EnumDescriptor deprecated

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

Deprecated: Use Actor_Type.Descriptor instead.

func (Actor_Type) Number

func (x Actor_Type) Number() protoreflect.EnumNumber

func (Actor_Type) String

func (x Actor_Type) String() string

func (Actor_Type) Type

type AdditionalPhonemeInfo

type AdditionalPhonemeInfo struct {
	Phoneme     string               `protobuf:"bytes,1,opt,name=phoneme,proto3" json:"phoneme,omitempty"`
	StartOffset *durationpb.Duration `protobuf:"bytes,2,opt,name=startOffset,proto3,oneof" json:"startOffset,omitempty"`
	// contains filtered or unexported fields
}

func (*AdditionalPhonemeInfo) Descriptor deprecated

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

Deprecated: Use AdditionalPhonemeInfo.ProtoReflect.Descriptor instead.

func (*AdditionalPhonemeInfo) GetPhoneme

func (x *AdditionalPhonemeInfo) GetPhoneme() string

func (*AdditionalPhonemeInfo) GetStartOffset

func (x *AdditionalPhonemeInfo) GetStartOffset() *durationpb.Duration

func (*AdditionalPhonemeInfo) ProtoMessage

func (*AdditionalPhonemeInfo) ProtoMessage()

func (*AdditionalPhonemeInfo) ProtoReflect

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

func (*AdditionalPhonemeInfo) Reset

func (x *AdditionalPhonemeInfo) Reset()

func (*AdditionalPhonemeInfo) String

func (x *AdditionalPhonemeInfo) String() string

type ApplyResponse

type ApplyResponse struct {
	PacketId *PacketId `protobuf:"bytes,1,opt,name=packetId,proto3,oneof" json:"packetId,omitempty"`
	// contains filtered or unexported fields
}

func (*ApplyResponse) Descriptor deprecated

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

Deprecated: Use ApplyResponse.ProtoReflect.Descriptor instead.

func (*ApplyResponse) GetPacketId

func (x *ApplyResponse) GetPacketId() *PacketId

func (*ApplyResponse) ProtoMessage

func (*ApplyResponse) ProtoMessage()

func (*ApplyResponse) ProtoReflect

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

func (*ApplyResponse) Reset

func (x *ApplyResponse) Reset()

func (*ApplyResponse) String

func (x *ApplyResponse) String() string

type AudioChunk

type AudioChunk struct {
	Chunk []byte `protobuf:"bytes,1,opt,name=chunk,proto3" json:"chunk,omitempty"`
	// contains filtered or unexported fields
}

func (*AudioChunk) Descriptor deprecated

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

Deprecated: Use AudioChunk.ProtoReflect.Descriptor instead.

func (*AudioChunk) GetChunk

func (x *AudioChunk) GetChunk() []byte

func (*AudioChunk) ProtoMessage

func (*AudioChunk) ProtoMessage()

func (*AudioChunk) ProtoReflect

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

func (*AudioChunk) Reset

func (x *AudioChunk) Reset()

func (*AudioChunk) String

func (x *AudioChunk) String() string

type CancelResponses

type CancelResponses struct {
	InteractionId   string   `protobuf:"bytes,1,opt,name=interactionId,proto3" json:"interactionId,omitempty"`
	UtteranceIdList []string `protobuf:"bytes,2,rep,name=utteranceIdList,proto3" json:"utteranceIdList,omitempty"`
	// contains filtered or unexported fields
}

func (*CancelResponses) Descriptor deprecated

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

Deprecated: Use CancelResponses.ProtoReflect.Descriptor instead.

func (*CancelResponses) GetInteractionId

func (x *CancelResponses) GetInteractionId() string

func (*CancelResponses) GetUtteranceIdList

func (x *CancelResponses) GetUtteranceIdList() []string

func (*CancelResponses) ProtoMessage

func (*CancelResponses) ProtoMessage()

func (*CancelResponses) ProtoReflect

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

func (*CancelResponses) Reset

func (x *CancelResponses) Reset()

func (*CancelResponses) String

func (x *CancelResponses) String() string

type CancelResponsesEvent

type CancelResponsesEvent struct {
	InteractionId   string   `protobuf:"bytes,1,opt,name=interactionId,proto3" json:"interactionId,omitempty"`
	UtteranceIdList []string `protobuf:"bytes,2,rep,name=utteranceIdList,proto3" json:"utteranceIdList,omitempty"`
	// contains filtered or unexported fields
}

func (*CancelResponsesEvent) Descriptor deprecated

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

Deprecated: Use CancelResponsesEvent.ProtoReflect.Descriptor instead.

func (*CancelResponsesEvent) GetInteractionId

func (x *CancelResponsesEvent) GetInteractionId() string

func (*CancelResponsesEvent) GetUtteranceIdList

func (x *CancelResponsesEvent) GetUtteranceIdList() []string

func (*CancelResponsesEvent) ProtoMessage

func (*CancelResponsesEvent) ProtoMessage()

func (*CancelResponsesEvent) ProtoReflect

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

func (*CancelResponsesEvent) Reset

func (x *CancelResponsesEvent) Reset()

func (*CancelResponsesEvent) String

func (x *CancelResponsesEvent) String() string

type ControlEvent

type ControlEvent struct {
	Action      ControlEvent_Action `protobuf:"varint,1,opt,name=action,proto3,enum=ai.inworld.packets.ControlEvent_Action" json:"action,omitempty"`
	Description string              `protobuf:"bytes,2,opt,name=description,proto3" json:"description,omitempty"`
	Payload     *structpb.Struct    `protobuf:"bytes,3,opt,name=payload,proto3,oneof" json:"payload,omitempty"`
	// contains filtered or unexported fields
}

func (*ControlEvent) Descriptor deprecated

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

Deprecated: Use ControlEvent.ProtoReflect.Descriptor instead.

func (*ControlEvent) GetAction

func (x *ControlEvent) GetAction() ControlEvent_Action

func (*ControlEvent) GetDescription

func (x *ControlEvent) GetDescription() string

func (*ControlEvent) GetPayload

func (x *ControlEvent) GetPayload() *structpb.Struct

func (*ControlEvent) ProtoMessage

func (*ControlEvent) ProtoMessage()

func (*ControlEvent) ProtoReflect

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

func (*ControlEvent) Reset

func (x *ControlEvent) Reset()

func (*ControlEvent) String

func (x *ControlEvent) String() string

type ControlEvent_Action

type ControlEvent_Action int32
const (
	ControlEvent_UNKNOWN             ControlEvent_Action = 0
	ControlEvent_AUDIO_SESSION_START ControlEvent_Action = 1
	ControlEvent_AUDIO_SESSION_END   ControlEvent_Action = 2
	ControlEvent_INTERACTION_END     ControlEvent_Action = 3
	ControlEvent_TTS_PLAYBACK_START  ControlEvent_Action = 4
	ControlEvent_TTS_PLAYBACK_END    ControlEvent_Action = 5
	ControlEvent_TTS_PLAYBACK_MUTE   ControlEvent_Action = 6
	ControlEvent_TTS_PLAYBACK_UNMUTE ControlEvent_Action = 7
	ControlEvent_WARNING             ControlEvent_Action = 8
	ControlEvent_SESSION_END         ControlEvent_Action = 9
)

func (ControlEvent_Action) Descriptor

func (ControlEvent_Action) Enum

func (ControlEvent_Action) EnumDescriptor deprecated

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

Deprecated: Use ControlEvent_Action.Descriptor instead.

func (ControlEvent_Action) Number

func (ControlEvent_Action) String

func (x ControlEvent_Action) String() string

func (ControlEvent_Action) Type

type CustomEvent

type CustomEvent struct {
	Name           string                   `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
	Playback       Playback                 `protobuf:"varint,2,opt,name=playback,proto3,enum=ai.inworld.packets.Playback" json:"playback,omitempty"`
	ParametersList []*CustomEvent_Parameter `protobuf:"bytes,3,rep,name=parametersList,proto3" json:"parametersList,omitempty"`
	// contains filtered or unexported fields
}

func (*CustomEvent) Descriptor deprecated

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

Deprecated: Use CustomEvent.ProtoReflect.Descriptor instead.

func (*CustomEvent) GetName

func (x *CustomEvent) GetName() string

func (*CustomEvent) GetParametersList

func (x *CustomEvent) GetParametersList() []*CustomEvent_Parameter

func (*CustomEvent) GetPlayback

func (x *CustomEvent) GetPlayback() Playback

func (*CustomEvent) ProtoMessage

func (*CustomEvent) ProtoMessage()

func (*CustomEvent) ProtoReflect

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

func (*CustomEvent) Reset

func (x *CustomEvent) Reset()

func (*CustomEvent) String

func (x *CustomEvent) String() string

type CustomEvent_Parameter

type CustomEvent_Parameter struct {
	Name  string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
	Value string `protobuf:"bytes,2,opt,name=value,proto3" json:"value,omitempty"`
	// contains filtered or unexported fields
}

func (*CustomEvent_Parameter) Descriptor deprecated

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

Deprecated: Use CustomEvent_Parameter.ProtoReflect.Descriptor instead.

func (*CustomEvent_Parameter) GetName

func (x *CustomEvent_Parameter) GetName() string

func (*CustomEvent_Parameter) GetValue

func (x *CustomEvent_Parameter) GetValue() string

func (*CustomEvent_Parameter) ProtoMessage

func (*CustomEvent_Parameter) ProtoMessage()

func (*CustomEvent_Parameter) ProtoReflect

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

func (*CustomEvent_Parameter) Reset

func (x *CustomEvent_Parameter) Reset()

func (*CustomEvent_Parameter) String

func (x *CustomEvent_Parameter) String() string

type DataChunk

type DataChunk struct {

	// Types that are assignable to Data:
	//
	//	*DataChunk_Chunk
	//	*DataChunk_DurationMs
	Data                      isDataChunk_Data         `protobuf_oneof:"Data"`
	Type                      DataChunk_DataType       `protobuf:"varint,2,opt,name=type,proto3,enum=ai.inworld.packets.DataChunk_DataType" json:"type,omitempty"`
	AdditionalPhonemeInfoList []*AdditionalPhonemeInfo `protobuf:"bytes,4,rep,name=additionalPhonemeInfoList,proto3" json:"additionalPhonemeInfoList,omitempty"`
	// contains filtered or unexported fields
}

func (*DataChunk) Descriptor deprecated

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

Deprecated: Use DataChunk.ProtoReflect.Descriptor instead.

func (*DataChunk) GetAdditionalPhonemeInfoList

func (x *DataChunk) GetAdditionalPhonemeInfoList() []*AdditionalPhonemeInfo

func (*DataChunk) GetChunk

func (x *DataChunk) GetChunk() []byte

func (*DataChunk) GetData

func (m *DataChunk) GetData() isDataChunk_Data

func (*DataChunk) GetDurationMs

func (x *DataChunk) GetDurationMs() int64

func (*DataChunk) GetType

func (x *DataChunk) GetType() DataChunk_DataType

func (*DataChunk) ProtoMessage

func (*DataChunk) ProtoMessage()

func (*DataChunk) ProtoReflect

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

func (*DataChunk) Reset

func (x *DataChunk) Reset()

func (*DataChunk) String

func (x *DataChunk) String() string

type DataChunk_Chunk

type DataChunk_Chunk struct {
	Chunk []byte `protobuf:"bytes,1,opt,name=chunk,proto3,oneof"`
}

type DataChunk_DataType

type DataChunk_DataType int32
const (
	DataChunk_UNSPECIFIED DataChunk_DataType = 0
	DataChunk_AUDIO       DataChunk_DataType = 1
	DataChunk_ANIMATION   DataChunk_DataType = 2
	DataChunk_SILENCE     DataChunk_DataType = 3
	DataChunk_STATE       DataChunk_DataType = 4
)

func (DataChunk_DataType) Descriptor

func (DataChunk_DataType) Enum

func (DataChunk_DataType) EnumDescriptor deprecated

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

Deprecated: Use DataChunk_DataType.Descriptor instead.

func (DataChunk_DataType) Number

func (DataChunk_DataType) String

func (x DataChunk_DataType) String() string

func (DataChunk_DataType) Type

type DataChunk_DurationMs

type DataChunk_DurationMs struct {
	DurationMs int64 `protobuf:"varint,3,opt,name=durationMs,proto3,oneof"`
}

type EmotionEvent

type EmotionEvent struct {
	Joy      float32                `protobuf:"fixed32,1,opt,name=joy,proto3" json:"joy,omitempty"`
	Fear     float32                `protobuf:"fixed32,2,opt,name=fear,proto3" json:"fear,omitempty"`
	Trust    float32                `protobuf:"fixed32,3,opt,name=trust,proto3" json:"trust,omitempty"`
	Surprise float32                `protobuf:"fixed32,4,opt,name=surprise,proto3" json:"surprise,omitempty"`
	Behavior EmotionEvent_SpaffCode `protobuf:"varint,5,opt,name=behavior,proto3,enum=ai.inworld.packets.EmotionEvent_SpaffCode" json:"behavior,omitempty"`
	Strength EmotionEvent_Strength  `protobuf:"varint,6,opt,name=strength,proto3,enum=ai.inworld.packets.EmotionEvent_Strength" json:"strength,omitempty"`
	// contains filtered or unexported fields
}

func (*EmotionEvent) Descriptor deprecated

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

Deprecated: Use EmotionEvent.ProtoReflect.Descriptor instead.

func (*EmotionEvent) GetBehavior

func (x *EmotionEvent) GetBehavior() EmotionEvent_SpaffCode

func (*EmotionEvent) GetFear

func (x *EmotionEvent) GetFear() float32

func (*EmotionEvent) GetJoy

func (x *EmotionEvent) GetJoy() float32

func (*EmotionEvent) GetStrength

func (x *EmotionEvent) GetStrength() EmotionEvent_Strength

func (*EmotionEvent) GetSurprise

func (x *EmotionEvent) GetSurprise() float32

func (*EmotionEvent) GetTrust

func (x *EmotionEvent) GetTrust() float32

func (*EmotionEvent) ProtoMessage

func (*EmotionEvent) ProtoMessage()

func (*EmotionEvent) ProtoReflect

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

func (*EmotionEvent) Reset

func (x *EmotionEvent) Reset()

func (*EmotionEvent) String

func (x *EmotionEvent) String() string

type EmotionEvent_SpaffCode

type EmotionEvent_SpaffCode int32
const (
	EmotionEvent_NEUTRAL       EmotionEvent_SpaffCode = 0
	EmotionEvent_DISGUST       EmotionEvent_SpaffCode = 1
	EmotionEvent_CONTEMPT      EmotionEvent_SpaffCode = 2
	EmotionEvent_BELLIGERENCE  EmotionEvent_SpaffCode = 3
	EmotionEvent_DOMINEERING   EmotionEvent_SpaffCode = 4
	EmotionEvent_CRITICISM     EmotionEvent_SpaffCode = 5
	EmotionEvent_ANGER         EmotionEvent_SpaffCode = 6
	EmotionEvent_TENSION       EmotionEvent_SpaffCode = 7
	EmotionEvent_TENSE_HUMOR   EmotionEvent_SpaffCode = 8
	EmotionEvent_DEFENSIVENESS EmotionEvent_SpaffCode = 9
	EmotionEvent_WHINING       EmotionEvent_SpaffCode = 10
	EmotionEvent_SADNESS       EmotionEvent_SpaffCode = 11
	EmotionEvent_STONEWALLING  EmotionEvent_SpaffCode = 12
	EmotionEvent_INTEREST      EmotionEvent_SpaffCode = 13
	EmotionEvent_VALIDATION    EmotionEvent_SpaffCode = 14
	EmotionEvent_AFFECTION     EmotionEvent_SpaffCode = 15
	EmotionEvent_HUMOR         EmotionEvent_SpaffCode = 16
	EmotionEvent_SURPRISE      EmotionEvent_SpaffCode = 17
	EmotionEvent_JOY           EmotionEvent_SpaffCode = 18
)

func (EmotionEvent_SpaffCode) Descriptor

func (EmotionEvent_SpaffCode) Enum

func (EmotionEvent_SpaffCode) EnumDescriptor deprecated

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

Deprecated: Use EmotionEvent_SpaffCode.Descriptor instead.

func (EmotionEvent_SpaffCode) Number

func (EmotionEvent_SpaffCode) String

func (x EmotionEvent_SpaffCode) String() string

func (EmotionEvent_SpaffCode) Type

type EmotionEvent_Strength

type EmotionEvent_Strength int32
const (
	EmotionEvent_UNSPECIFIED EmotionEvent_Strength = 0
	EmotionEvent_WEAK        EmotionEvent_Strength = 1
	EmotionEvent_STRONG      EmotionEvent_Strength = 2
	EmotionEvent_NORMAL      EmotionEvent_Strength = 3
)

func (EmotionEvent_Strength) Descriptor

func (EmotionEvent_Strength) Enum

func (EmotionEvent_Strength) EnumDescriptor deprecated

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

Deprecated: Use EmotionEvent_Strength.Descriptor instead.

func (EmotionEvent_Strength) Number

func (EmotionEvent_Strength) String

func (x EmotionEvent_Strength) String() string

func (EmotionEvent_Strength) Type

type GestureEvent

type GestureEvent struct {
	Type     GestureEvent_Type `protobuf:"varint,1,opt,name=type,proto3,enum=ai.inworld.packets.GestureEvent_Type" json:"type,omitempty"`
	Playback Playback          `protobuf:"varint,2,opt,name=playback,proto3,enum=ai.inworld.packets.Playback" json:"playback,omitempty"`
	// contains filtered or unexported fields
}

func (*GestureEvent) Descriptor deprecated

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

Deprecated: Use GestureEvent.ProtoReflect.Descriptor instead.

func (*GestureEvent) GetPlayback

func (x *GestureEvent) GetPlayback() Playback

func (*GestureEvent) GetType

func (x *GestureEvent) GetType() GestureEvent_Type

func (*GestureEvent) ProtoMessage

func (*GestureEvent) ProtoMessage()

func (*GestureEvent) ProtoReflect

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

func (*GestureEvent) Reset

func (x *GestureEvent) Reset()

func (*GestureEvent) String

func (x *GestureEvent) String() string

type GestureEvent_Type

type GestureEvent_Type int32
const (
	GestureEvent_GREETING     GestureEvent_Type = 0
	GestureEvent_FAREWELL     GestureEvent_Type = 1
	GestureEvent_AGREEMENT    GestureEvent_Type = 2
	GestureEvent_DISAGREEMENT GestureEvent_Type = 3
	GestureEvent_GRATITUDE    GestureEvent_Type = 4
	GestureEvent_CELEBRATION  GestureEvent_Type = 5
	GestureEvent_BOREDOM      GestureEvent_Type = 6
	GestureEvent_UNCERTAINTY  GestureEvent_Type = 7
)

func (GestureEvent_Type) Descriptor

func (GestureEvent_Type) Enum

func (GestureEvent_Type) EnumDescriptor deprecated

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

Deprecated: Use GestureEvent_Type.Descriptor instead.

func (GestureEvent_Type) Number

func (GestureEvent_Type) String

func (x GestureEvent_Type) String() string

func (GestureEvent_Type) Type

type InworldPacket

type InworldPacket struct {
	Timestamp   *timestamppb.Timestamp `protobuf:"bytes,1,opt,name=timestamp,proto3,oneof" json:"timestamp,omitempty"`
	Routing     *Routing               `protobuf:"bytes,6,opt,name=routing,proto3,oneof" json:"routing,omitempty"`
	OldPacketId string                 `protobuf:"bytes,7,opt,name=oldPacketId,proto3" json:"oldPacketId,omitempty"`
	PacketId    *PacketId              `protobuf:"bytes,9,opt,name=packetId,proto3,oneof" json:"packetId,omitempty"`
	// Types that are assignable to Packet:
	//
	//	*InworldPacket_Text
	//	*InworldPacket_Control
	//	*InworldPacket_AudioChunk
	//	*InworldPacket_Gesture
	//	*InworldPacket_Custom
	//	*InworldPacket_Cancelresponses
	//	*InworldPacket_Emotion
	//	*InworldPacket_DataChunk
	//	*InworldPacket_Action
	//	*InworldPacket_Mutation
	//	*InworldPacket_LoadSceneOutput
	Packet isInworldPacket_Packet `protobuf_oneof:"Packet"`
	// contains filtered or unexported fields
}

func (*InworldPacket) Descriptor deprecated

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

Deprecated: Use InworldPacket.ProtoReflect.Descriptor instead.

func (*InworldPacket) GetAction

func (x *InworldPacket) GetAction() *ActionEvent

func (*InworldPacket) GetAudioChunk

func (x *InworldPacket) GetAudioChunk() *AudioChunk

func (*InworldPacket) GetCancelresponses

func (x *InworldPacket) GetCancelresponses() *CancelResponsesEvent

func (*InworldPacket) GetControl

func (x *InworldPacket) GetControl() *ControlEvent

func (*InworldPacket) GetCustom

func (x *InworldPacket) GetCustom() *CustomEvent

func (*InworldPacket) GetDataChunk

func (x *InworldPacket) GetDataChunk() *DataChunk

func (*InworldPacket) GetEmotion

func (x *InworldPacket) GetEmotion() *EmotionEvent

func (*InworldPacket) GetGesture

func (x *InworldPacket) GetGesture() *GestureEvent

func (*InworldPacket) GetLoadSceneOutput

func (x *InworldPacket) GetLoadSceneOutput() *LoadSceneOutputEvent

func (*InworldPacket) GetMutation

func (x *InworldPacket) GetMutation() *MutationEvent

func (*InworldPacket) GetOldPacketId

func (x *InworldPacket) GetOldPacketId() string

func (*InworldPacket) GetPacket

func (m *InworldPacket) GetPacket() isInworldPacket_Packet

func (*InworldPacket) GetPacketId

func (x *InworldPacket) GetPacketId() *PacketId

func (*InworldPacket) GetRouting

func (x *InworldPacket) GetRouting() *Routing

func (*InworldPacket) GetText

func (x *InworldPacket) GetText() *TextEvent

func (*InworldPacket) GetTimestamp

func (x *InworldPacket) GetTimestamp() *timestamppb.Timestamp

func (*InworldPacket) ProtoMessage

func (*InworldPacket) ProtoMessage()

func (*InworldPacket) ProtoReflect

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

func (*InworldPacket) Reset

func (x *InworldPacket) Reset()

func (*InworldPacket) String

func (x *InworldPacket) String() string

type InworldPacket_Action

type InworldPacket_Action struct {
	Action *ActionEvent `protobuf:"bytes,13,opt,name=action,proto3,oneof"`
}

type InworldPacket_AudioChunk

type InworldPacket_AudioChunk struct {
	AudioChunk *AudioChunk `protobuf:"bytes,4,opt,name=audioChunk,proto3,oneof"`
}

type InworldPacket_Cancelresponses

type InworldPacket_Cancelresponses struct {
	Cancelresponses *CancelResponsesEvent `protobuf:"bytes,10,opt,name=cancelresponses,proto3,oneof"`
}

type InworldPacket_Control

type InworldPacket_Control struct {
	Control *ControlEvent `protobuf:"bytes,3,opt,name=control,proto3,oneof"`
}

type InworldPacket_Custom

type InworldPacket_Custom struct {
	Custom *CustomEvent `protobuf:"bytes,8,opt,name=custom,proto3,oneof"`
}

type InworldPacket_DataChunk

type InworldPacket_DataChunk struct {
	DataChunk *DataChunk `protobuf:"bytes,12,opt,name=dataChunk,proto3,oneof"`
}

type InworldPacket_Emotion

type InworldPacket_Emotion struct {
	Emotion *EmotionEvent `protobuf:"bytes,11,opt,name=emotion,proto3,oneof"`
}

type InworldPacket_Gesture

type InworldPacket_Gesture struct {
	Gesture *GestureEvent `protobuf:"bytes,5,opt,name=gesture,proto3,oneof"`
}

type InworldPacket_LoadSceneOutput

type InworldPacket_LoadSceneOutput struct {
	LoadSceneOutput *LoadSceneOutputEvent `protobuf:"bytes,16,opt,name=loadSceneOutput,proto3,oneof"`
}

type InworldPacket_Mutation

type InworldPacket_Mutation struct {
	Mutation *MutationEvent `protobuf:"bytes,15,opt,name=mutation,proto3,oneof"`
}

type InworldPacket_Text

type InworldPacket_Text struct {
	Text *TextEvent `protobuf:"bytes,2,opt,name=text,proto3,oneof"`
}

type LoadScene

type LoadScene struct {
	Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
	// contains filtered or unexported fields
}

func (*LoadScene) Descriptor deprecated

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

Deprecated: Use LoadScene.ProtoReflect.Descriptor instead.

func (*LoadScene) GetName

func (x *LoadScene) GetName() string

func (*LoadScene) ProtoMessage

func (*LoadScene) ProtoMessage()

func (*LoadScene) ProtoReflect

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

func (*LoadScene) Reset

func (x *LoadScene) Reset()

func (*LoadScene) String

func (x *LoadScene) String() string

type LoadSceneOutputEvent

type LoadSceneOutputEvent struct {
	AgentsList []*LoadSceneOutputEvent_Agent `protobuf:"bytes,1,rep,name=agentsList,proto3" json:"agentsList,omitempty"`
	// contains filtered or unexported fields
}

func (*LoadSceneOutputEvent) Descriptor deprecated

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

Deprecated: Use LoadSceneOutputEvent.ProtoReflect.Descriptor instead.

func (*LoadSceneOutputEvent) GetAgentsList

func (x *LoadSceneOutputEvent) GetAgentsList() []*LoadSceneOutputEvent_Agent

func (*LoadSceneOutputEvent) ProtoMessage

func (*LoadSceneOutputEvent) ProtoMessage()

func (*LoadSceneOutputEvent) ProtoReflect

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

func (*LoadSceneOutputEvent) Reset

func (x *LoadSceneOutputEvent) Reset()

func (*LoadSceneOutputEvent) String

func (x *LoadSceneOutputEvent) String() string

type LoadSceneOutputEvent_Agent

type LoadSceneOutputEvent_Agent struct {
	AgentId   string `protobuf:"bytes,1,opt,name=agentId,proto3" json:"agentId,omitempty"`
	BrainName string `protobuf:"bytes,2,opt,name=brainName,proto3" json:"brainName,omitempty"`
	GivenName string `protobuf:"bytes,3,opt,name=givenName,proto3" json:"givenName,omitempty"`
	// contains filtered or unexported fields
}

func (*LoadSceneOutputEvent_Agent) Descriptor deprecated

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

Deprecated: Use LoadSceneOutputEvent_Agent.ProtoReflect.Descriptor instead.

func (*LoadSceneOutputEvent_Agent) GetAgentId

func (x *LoadSceneOutputEvent_Agent) GetAgentId() string

func (*LoadSceneOutputEvent_Agent) GetBrainName

func (x *LoadSceneOutputEvent_Agent) GetBrainName() string

func (*LoadSceneOutputEvent_Agent) GetGivenName

func (x *LoadSceneOutputEvent_Agent) GetGivenName() string

func (*LoadSceneOutputEvent_Agent) ProtoMessage

func (*LoadSceneOutputEvent_Agent) ProtoMessage()

func (*LoadSceneOutputEvent_Agent) ProtoReflect

func (*LoadSceneOutputEvent_Agent) Reset

func (x *LoadSceneOutputEvent_Agent) Reset()

func (*LoadSceneOutputEvent_Agent) String

func (x *LoadSceneOutputEvent_Agent) String() string

type MutationEvent

type MutationEvent struct {

	// Types that are assignable to Mutation:
	//
	//	*MutationEvent_CancelResponses
	//	*MutationEvent_RegenerateResponse
	//	*MutationEvent_ApplyResponse
	//	*MutationEvent_LoadScene
	Mutation isMutationEvent_Mutation `protobuf_oneof:"Mutation"`
	// contains filtered or unexported fields
}

func (*MutationEvent) Descriptor deprecated

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

Deprecated: Use MutationEvent.ProtoReflect.Descriptor instead.

func (*MutationEvent) GetApplyResponse

func (x *MutationEvent) GetApplyResponse() *ApplyResponse

func (*MutationEvent) GetCancelResponses

func (x *MutationEvent) GetCancelResponses() *CancelResponses

func (*MutationEvent) GetLoadScene

func (x *MutationEvent) GetLoadScene() *LoadScene

func (*MutationEvent) GetMutation

func (m *MutationEvent) GetMutation() isMutationEvent_Mutation

func (*MutationEvent) GetRegenerateResponse

func (x *MutationEvent) GetRegenerateResponse() *RegenerateResponse

func (*MutationEvent) ProtoMessage

func (*MutationEvent) ProtoMessage()

func (*MutationEvent) ProtoReflect

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

func (*MutationEvent) Reset

func (x *MutationEvent) Reset()

func (*MutationEvent) String

func (x *MutationEvent) String() string

type MutationEvent_ApplyResponse

type MutationEvent_ApplyResponse struct {
	ApplyResponse *ApplyResponse `protobuf:"bytes,3,opt,name=applyResponse,proto3,oneof"`
}

type MutationEvent_CancelResponses

type MutationEvent_CancelResponses struct {
	CancelResponses *CancelResponses `protobuf:"bytes,1,opt,name=cancelResponses,proto3,oneof"`
}

type MutationEvent_LoadScene

type MutationEvent_LoadScene struct {
	LoadScene *LoadScene `protobuf:"bytes,4,opt,name=loadScene,proto3,oneof"`
}

type MutationEvent_RegenerateResponse

type MutationEvent_RegenerateResponse struct {
	RegenerateResponse *RegenerateResponse `protobuf:"bytes,2,opt,name=regenerateResponse,proto3,oneof"`
}

type NarratedAction

type NarratedAction struct {
	Content string `protobuf:"bytes,1,opt,name=content,proto3" json:"content,omitempty"`
	// contains filtered or unexported fields
}

func (*NarratedAction) Descriptor deprecated

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

Deprecated: Use NarratedAction.ProtoReflect.Descriptor instead.

func (*NarratedAction) GetContent

func (x *NarratedAction) GetContent() string

func (*NarratedAction) ProtoMessage

func (*NarratedAction) ProtoMessage()

func (*NarratedAction) ProtoReflect

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

func (*NarratedAction) Reset

func (x *NarratedAction) Reset()

func (*NarratedAction) String

func (x *NarratedAction) String() string

type PacketId

type PacketId struct {
	PacketId      string `protobuf:"bytes,1,opt,name=packetId,proto3" json:"packetId,omitempty"`
	UtteranceId   string `protobuf:"bytes,2,opt,name=utteranceId,proto3" json:"utteranceId,omitempty"`
	InteractionId string `protobuf:"bytes,3,opt,name=interactionId,proto3" json:"interactionId,omitempty"`
	// contains filtered or unexported fields
}

func (*PacketId) Descriptor deprecated

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

Deprecated: Use PacketId.ProtoReflect.Descriptor instead.

func (*PacketId) GetInteractionId

func (x *PacketId) GetInteractionId() string

func (*PacketId) GetPacketId

func (x *PacketId) GetPacketId() string

func (*PacketId) GetUtteranceId

func (x *PacketId) GetUtteranceId() string

func (*PacketId) ProtoMessage

func (*PacketId) ProtoMessage()

func (*PacketId) ProtoReflect

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

func (*PacketId) Reset

func (x *PacketId) Reset()

func (*PacketId) String

func (x *PacketId) String() string

type Playback

type Playback int32
const (
	Playback_UNSPECIFIED     Playback = 0
	Playback_INTERACTION     Playback = 1
	Playback_INTERACTION_END Playback = 2
	Playback_UTTERANCE       Playback = 3
)

func (Playback) Descriptor

func (Playback) Descriptor() protoreflect.EnumDescriptor

func (Playback) Enum

func (x Playback) Enum() *Playback

func (Playback) EnumDescriptor deprecated

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

Deprecated: Use Playback.Descriptor instead.

func (Playback) Number

func (x Playback) Number() protoreflect.EnumNumber

func (Playback) String

func (x Playback) String() string

func (Playback) Type

type RegenerateResponse

type RegenerateResponse struct {
	InteractionId string `protobuf:"bytes,1,opt,name=interactionId,proto3" json:"interactionId,omitempty"`
	// contains filtered or unexported fields
}

func (*RegenerateResponse) Descriptor deprecated

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

Deprecated: Use RegenerateResponse.ProtoReflect.Descriptor instead.

func (*RegenerateResponse) GetInteractionId

func (x *RegenerateResponse) GetInteractionId() string

func (*RegenerateResponse) ProtoMessage

func (*RegenerateResponse) ProtoMessage()

func (*RegenerateResponse) ProtoReflect

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

func (*RegenerateResponse) Reset

func (x *RegenerateResponse) Reset()

func (*RegenerateResponse) String

func (x *RegenerateResponse) String() string

type Routing

type Routing struct {
	Source *Actor `protobuf:"bytes,1,opt,name=source,proto3,oneof" json:"source,omitempty"`
	Target *Actor `protobuf:"bytes,2,opt,name=target,proto3,oneof" json:"target,omitempty"`
	// contains filtered or unexported fields
}

func (*Routing) Descriptor deprecated

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

Deprecated: Use Routing.ProtoReflect.Descriptor instead.

func (*Routing) GetSource

func (x *Routing) GetSource() *Actor

func (*Routing) GetTarget

func (x *Routing) GetTarget() *Actor

func (*Routing) ProtoMessage

func (*Routing) ProtoMessage()

func (*Routing) ProtoReflect

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

func (*Routing) Reset

func (x *Routing) Reset()

func (*Routing) String

func (x *Routing) String() string

type TextEvent

type TextEvent struct {
	Text       string               `protobuf:"bytes,1,opt,name=text,proto3" json:"text,omitempty"`
	SourceType TextEvent_SourceType `protobuf:"varint,2,opt,name=sourceType,proto3,enum=ai.inworld.packets.TextEvent_SourceType" json:"sourceType,omitempty"`
	Final      bool                 `protobuf:"varint,3,opt,name=final,proto3" json:"final,omitempty"`
	// contains filtered or unexported fields
}

func (*TextEvent) Descriptor deprecated

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

Deprecated: Use TextEvent.ProtoReflect.Descriptor instead.

func (*TextEvent) GetFinal

func (x *TextEvent) GetFinal() bool

func (*TextEvent) GetSourceType

func (x *TextEvent) GetSourceType() TextEvent_SourceType

func (*TextEvent) GetText

func (x *TextEvent) GetText() string

func (*TextEvent) ProtoMessage

func (*TextEvent) ProtoMessage()

func (*TextEvent) ProtoReflect

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

func (*TextEvent) Reset

func (x *TextEvent) Reset()

func (*TextEvent) String

func (x *TextEvent) String() string

type TextEvent_SourceType

type TextEvent_SourceType int32
const (
	TextEvent_UNKNOWN        TextEvent_SourceType = 0
	TextEvent_SPEECH_TO_TEXT TextEvent_SourceType = 1
	TextEvent_TYPED_IN       TextEvent_SourceType = 2
	TextEvent_GENERATED      TextEvent_SourceType = 3
	TextEvent_FILLER         TextEvent_SourceType = 4
)

func (TextEvent_SourceType) Descriptor

func (TextEvent_SourceType) Enum

func (TextEvent_SourceType) EnumDescriptor deprecated

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

Deprecated: Use TextEvent_SourceType.Descriptor instead.

func (TextEvent_SourceType) Number

func (TextEvent_SourceType) String

func (x TextEvent_SourceType) String() string

func (TextEvent_SourceType) Type

Jump to

Keyboard shortcuts

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