Documentation ¶
Index ¶
- Constants
- Variables
- func RegisterProjectServiceServer(s grpc.ServiceRegistrar, srv ProjectServiceServer)
- func RegisterTalkServiceServer(s grpc.ServiceRegistrar, srv TalkServiceServer)
- type AnyMatchFilter
- func (*AnyMatchFilter) Descriptor() ([]byte, []int)deprecated
- func (x *AnyMatchFilter) GetValues() []string
- func (*AnyMatchFilter) ProtoMessage()
- func (x *AnyMatchFilter) ProtoReflect() protoreflect.Message
- func (x *AnyMatchFilter) Reset()
- func (m *AnyMatchFilter) SetValues(v []string)
- func (x *AnyMatchFilter) String() string
- type AudioChunk
- type AudioMetadata
- func (*AudioMetadata) Descriptor() ([]byte, []int)deprecated
- func (m *AudioMetadata) GetAudioFormat() isAudioMetadata_AudioFormat
- func (x *AudioMetadata) GetContainerAudio() *ContainerAudio
- func (x *AudioMetadata) GetRawAudio() *RawAudio
- func (*AudioMetadata) ProtoMessage()
- func (x *AudioMetadata) ProtoReflect() protoreflect.Message
- func (x *AudioMetadata) Reset()
- func (m *AudioMetadata) SetAudioFormat(v AudioMetadata_AudioFormat)
- func (m *AudioMetadata) SetContainerAudio(v *ContainerAudio)
- func (m *AudioMetadata) SetRawAudio(v *RawAudio)
- func (x *AudioMetadata) String() string
- type AudioMetadata_AudioFormat
- type AudioMetadata_ContainerAudio
- type AudioMetadata_RawAudio
- type AudioRequest
- func (*AudioRequest) Descriptor() ([]byte, []int)deprecated
- func (x *AudioRequest) GetAudioData() *AudioChunk
- func (x *AudioRequest) GetAudioMetadata() *AudioMetadata
- func (*AudioRequest) ProtoMessage()
- func (x *AudioRequest) ProtoReflect() protoreflect.Message
- func (x *AudioRequest) Reset()
- func (m *AudioRequest) SetAudioData(v *AudioChunk)
- func (m *AudioRequest) SetAudioMetadata(v *AudioMetadata)
- func (x *AudioRequest) String() string
- type AudioStreamingRequest
- func (*AudioStreamingRequest) Descriptor() ([]byte, []int)deprecated
- func (m *AudioStreamingRequest) GetAudioEvent() isAudioStreamingRequest_AudioEvent
- func (x *AudioStreamingRequest) GetAudioMetadata() *AudioMetadata
- func (x *AudioStreamingRequest) GetChunk() *AudioChunk
- func (*AudioStreamingRequest) ProtoMessage()
- func (x *AudioStreamingRequest) ProtoReflect() protoreflect.Message
- func (x *AudioStreamingRequest) Reset()
- func (m *AudioStreamingRequest) SetAudioEvent(v AudioStreamingRequest_AudioEvent)
- func (m *AudioStreamingRequest) SetAudioMetadata(v *AudioMetadata)
- func (m *AudioStreamingRequest) SetChunk(v *AudioChunk)
- func (x *AudioStreamingRequest) String() string
- type AudioStreamingRequest_AudioEvent
- type AudioStreamingRequest_AudioMetadata
- type AudioStreamingRequest_Chunk
- type BooleanFilter
- func (*BooleanFilter) Descriptor() ([]byte, []int)deprecated
- func (x *BooleanFilter) GetValue() bool
- func (*BooleanFilter) ProtoMessage()
- func (x *BooleanFilter) ProtoReflect() protoreflect.Message
- func (x *BooleanFilter) Reset()
- func (m *BooleanFilter) SetValue(v bool)
- func (x *BooleanFilter) String() string
- type BoundsInclusive
- func (*BoundsInclusive) Descriptor() ([]byte, []int)deprecated
- func (x *BoundsInclusive) GetFromInclusive() bool
- func (x *BoundsInclusive) GetToInclusive() bool
- func (*BoundsInclusive) ProtoMessage()
- func (x *BoundsInclusive) ProtoReflect() protoreflect.Message
- func (x *BoundsInclusive) Reset()
- func (m *BoundsInclusive) SetFromInclusive(v bool)
- func (m *BoundsInclusive) SetToInclusive(v bool)
- func (x *BoundsInclusive) String() string
- type ContainerAudio
- func (*ContainerAudio) Descriptor() ([]byte, []int)deprecated
- func (x *ContainerAudio) GetContainerAudioType() ContainerAudio_ContainerAudioType
- func (*ContainerAudio) ProtoMessage()
- func (x *ContainerAudio) ProtoReflect() protoreflect.Message
- func (x *ContainerAudio) Reset()
- func (m *ContainerAudio) SetContainerAudioType(v ContainerAudio_ContainerAudioType)
- func (x *ContainerAudio) String() string
- type ContainerAudio_ContainerAudioType
- func (ContainerAudio_ContainerAudioType) Descriptor() protoreflect.EnumDescriptor
- func (x ContainerAudio_ContainerAudioType) Enum() *ContainerAudio_ContainerAudioType
- func (ContainerAudio_ContainerAudioType) EnumDescriptor() ([]byte, []int)deprecated
- func (x ContainerAudio_ContainerAudioType) Number() protoreflect.EnumNumber
- func (x ContainerAudio_ContainerAudioType) String() string
- func (ContainerAudio_ContainerAudioType) Type() protoreflect.EnumType
- type CreateProjectMetadata
- func (*CreateProjectMetadata) Descriptor() ([]byte, []int)deprecated
- func (x *CreateProjectMetadata) GetId() string
- func (*CreateProjectMetadata) ProtoMessage()
- func (x *CreateProjectMetadata) ProtoReflect() protoreflect.Message
- func (x *CreateProjectMetadata) Reset()
- func (m *CreateProjectMetadata) SetId(v string)
- func (x *CreateProjectMetadata) String() string
- type CreateProjectRequest
- func (*CreateProjectRequest) Descriptor() ([]byte, []int)deprecated
- func (x *CreateProjectRequest) GetConnectionId() string
- func (x *CreateProjectRequest) GetDescription() string
- func (x *CreateProjectRequest) GetFilters() []*FieldFilter
- func (x *CreateProjectRequest) GetName() string
- func (*CreateProjectRequest) ProtoMessage()
- func (x *CreateProjectRequest) ProtoReflect() protoreflect.Message
- func (x *CreateProjectRequest) Reset()
- func (m *CreateProjectRequest) SetConnectionId(v string)
- func (m *CreateProjectRequest) SetDescription(v string)
- func (m *CreateProjectRequest) SetFilters(v []*FieldFilter)
- func (m *CreateProjectRequest) SetName(v string)
- func (x *CreateProjectRequest) String() string
- type DateRangeFilter
- func (*DateRangeFilter) Descriptor() ([]byte, []int)deprecated
- func (x *DateRangeFilter) GetBoundsInclusive() *BoundsInclusive
- func (x *DateRangeFilter) GetFromValue() *timestamppb.Timestamp
- func (x *DateRangeFilter) GetToValue() *timestamppb.Timestamp
- func (*DateRangeFilter) ProtoMessage()
- func (x *DateRangeFilter) ProtoReflect() protoreflect.Message
- func (x *DateRangeFilter) Reset()
- func (m *DateRangeFilter) SetBoundsInclusive(v *BoundsInclusive)
- func (m *DateRangeFilter) SetFromValue(v *timestamppb.Timestamp)
- func (m *DateRangeFilter) SetToValue(v *timestamppb.Timestamp)
- func (x *DateRangeFilter) String() string
- type DoubleRangeFilter
- func (*DoubleRangeFilter) Descriptor() ([]byte, []int)deprecated
- func (x *DoubleRangeFilter) GetBoundsInclusive() *BoundsInclusive
- func (x *DoubleRangeFilter) GetFromValue() *wrapperspb.DoubleValue
- func (x *DoubleRangeFilter) GetToValue() *wrapperspb.DoubleValue
- func (*DoubleRangeFilter) ProtoMessage()
- func (x *DoubleRangeFilter) ProtoReflect() protoreflect.Message
- func (x *DoubleRangeFilter) Reset()
- func (m *DoubleRangeFilter) SetBoundsInclusive(v *BoundsInclusive)
- func (m *DoubleRangeFilter) SetFromValue(v *wrapperspb.DoubleValue)
- func (m *DoubleRangeFilter) SetToValue(v *wrapperspb.DoubleValue)
- func (x *DoubleRangeFilter) String() string
- type DurationRangeFilter
- func (*DurationRangeFilter) Descriptor() ([]byte, []int)deprecated
- func (x *DurationRangeFilter) GetBoundsInclusive() *BoundsInclusive
- func (x *DurationRangeFilter) GetFromValue() *durationpb.Duration
- func (x *DurationRangeFilter) GetToValue() *durationpb.Duration
- func (*DurationRangeFilter) ProtoMessage()
- func (x *DurationRangeFilter) ProtoReflect() protoreflect.Message
- func (x *DurationRangeFilter) Reset()
- func (m *DurationRangeFilter) SetBoundsInclusive(v *BoundsInclusive)
- func (m *DurationRangeFilter) SetFromValue(v *durationpb.Duration)
- func (m *DurationRangeFilter) SetToValue(v *durationpb.Duration)
- func (x *DurationRangeFilter) String() string
- type Field
- func (*Field) Descriptor() ([]byte, []int)deprecated
- func (x *Field) GetName() string
- func (x *Field) GetType() FieldType
- func (x *Field) GetValue() string
- func (*Field) ProtoMessage()
- func (x *Field) ProtoReflect() protoreflect.Message
- func (x *Field) Reset()
- func (m *Field) SetName(v string)
- func (m *Field) SetType(v FieldType)
- func (m *Field) SetValue(v string)
- func (x *Field) String() string
- type FieldFilter
- func (*FieldFilter) Descriptor() ([]byte, []int)deprecated
- func (x *FieldFilter) GetFieldValue() string
- func (x *FieldFilter) GetKey() string
- func (*FieldFilter) ProtoMessage()
- func (x *FieldFilter) ProtoReflect() protoreflect.Message
- func (x *FieldFilter) Reset()
- func (m *FieldFilter) SetFieldValue(v string)
- func (m *FieldFilter) SetKey(v string)
- func (x *FieldFilter) String() string
- type FieldType
- type Filter
- func (*Filter) Descriptor() ([]byte, []int)deprecated
- func (x *Filter) GetAnyMatch() *AnyMatchFilter
- func (x *Filter) GetBooleanMatch() *BooleanFilter
- func (x *Filter) GetChannelNumber() *wrapperspb.Int64Value
- func (x *Filter) GetDateRange() *DateRangeFilter
- func (x *Filter) GetDoubleRange() *DoubleRangeFilter
- func (x *Filter) GetDurationRange() *DurationRangeFilter
- func (m *Filter) GetFilter() isFilter_Filter
- func (x *Filter) GetIntRange() *IntRangeFilter
- func (x *Filter) GetInverse() bool
- func (x *Filter) GetKey() string
- func (*Filter) ProtoMessage()
- func (x *Filter) ProtoReflect() protoreflect.Message
- func (x *Filter) Reset()
- func (m *Filter) SetAnyMatch(v *AnyMatchFilter)
- func (m *Filter) SetBooleanMatch(v *BooleanFilter)
- func (m *Filter) SetChannelNumber(v *wrapperspb.Int64Value)
- func (m *Filter) SetDateRange(v *DateRangeFilter)
- func (m *Filter) SetDoubleRange(v *DoubleRangeFilter)
- func (m *Filter) SetDurationRange(v *DurationRangeFilter)
- func (m *Filter) SetFilter(v Filter_Filter)
- func (m *Filter) SetIntRange(v *IntRangeFilter)
- func (m *Filter) SetInverse(v bool)
- func (m *Filter) SetKey(v string)
- func (x *Filter) String() string
- type Filter_AnyMatch
- type Filter_BooleanMatch
- type Filter_DateRange
- type Filter_DoubleRange
- type Filter_DurationRange
- type Filter_Filter
- type Filter_IntRange
- type GetTalkRequest
- func (*GetTalkRequest) Descriptor() ([]byte, []int)deprecated
- func (x *GetTalkRequest) GetConnectionId() string
- func (x *GetTalkRequest) GetOrganizationId() string
- func (x *GetTalkRequest) GetProjectId() string
- func (x *GetTalkRequest) GetResultsMask() *fieldmaskpb.FieldMask
- func (x *GetTalkRequest) GetSpaceId() string
- func (x *GetTalkRequest) GetTalkIds() []string
- func (*GetTalkRequest) ProtoMessage()
- func (x *GetTalkRequest) ProtoReflect() protoreflect.Message
- func (x *GetTalkRequest) Reset()
- func (m *GetTalkRequest) SetConnectionId(v string)
- func (m *GetTalkRequest) SetOrganizationId(v string)
- func (m *GetTalkRequest) SetProjectId(v string)
- func (m *GetTalkRequest) SetResultsMask(v *fieldmaskpb.FieldMask)
- func (m *GetTalkRequest) SetSpaceId(v string)
- func (m *GetTalkRequest) SetTalkIds(v []string)
- func (x *GetTalkRequest) String() string
- type GetTalkResponse
- func (*GetTalkResponse) Descriptor() ([]byte, []int)deprecated
- func (x *GetTalkResponse) GetTalk() []*Talk
- func (*GetTalkResponse) ProtoMessage()
- func (x *GetTalkResponse) ProtoReflect() protoreflect.Message
- func (x *GetTalkResponse) Reset()
- func (m *GetTalkResponse) SetTalk(v []*Talk)
- func (x *GetTalkResponse) String() string
- type IntRangeFilter
- func (*IntRangeFilter) Descriptor() ([]byte, []int)deprecated
- func (x *IntRangeFilter) GetBoundsInclusive() *BoundsInclusive
- func (x *IntRangeFilter) GetFromValue() *wrapperspb.Int64Value
- func (x *IntRangeFilter) GetToValue() *wrapperspb.Int64Value
- func (*IntRangeFilter) ProtoMessage()
- func (x *IntRangeFilter) ProtoReflect() protoreflect.Message
- func (x *IntRangeFilter) Reset()
- func (m *IntRangeFilter) SetBoundsInclusive(v *BoundsInclusive)
- func (m *IntRangeFilter) SetFromValue(v *wrapperspb.Int64Value)
- func (m *IntRangeFilter) SetToValue(v *wrapperspb.Int64Value)
- func (x *IntRangeFilter) String() string
- type Message
- func (*Message) Descriptor() ([]byte, []int)deprecated
- func (m *Message) GetPayload() isMessage_Payload
- func (x *Message) GetText() *TextPayload
- func (x *Message) GetTimestamp() *timestamppb.Timestamp
- func (x *Message) GetUserId() string
- func (*Message) ProtoMessage()
- func (x *Message) ProtoReflect() protoreflect.Message
- func (x *Message) Reset()
- func (m *Message) SetPayload(v Message_Payload)
- func (m *Message) SetText(v *TextPayload)
- func (m *Message) SetTimestamp(v *timestamppb.Timestamp)
- func (m *Message) SetUserId(v string)
- func (x *Message) String() string
- type Message_Payload
- type Message_Text
- type Project
- func (*Project) Descriptor() ([]byte, []int)deprecated
- func (x *Project) GetConnectionId() string
- func (x *Project) GetCreatedAt() *timestamppb.Timestamp
- func (x *Project) GetCreatedBy() string
- func (x *Project) GetDescription() string
- func (x *Project) GetFilters() []*FieldFilter
- func (x *Project) GetId() string
- func (x *Project) GetModifiedAt() *timestamppb.Timestamp
- func (x *Project) GetModifiedBy() string
- func (x *Project) GetName() string
- func (*Project) ProtoMessage()
- func (x *Project) ProtoReflect() protoreflect.Message
- func (x *Project) Reset()
- func (m *Project) SetConnectionId(v string)
- func (m *Project) SetCreatedAt(v *timestamppb.Timestamp)
- func (m *Project) SetCreatedBy(v string)
- func (m *Project) SetDescription(v string)
- func (m *Project) SetFilters(v []*FieldFilter)
- func (m *Project) SetId(v string)
- func (m *Project) SetModifiedAt(v *timestamppb.Timestamp)
- func (m *Project) SetModifiedBy(v string)
- func (m *Project) SetName(v string)
- func (x *Project) String() string
- type ProjectServiceClient
- type ProjectServiceServer
- type Query
- func (*Query) Descriptor() ([]byte, []int)deprecated
- func (x *Query) GetChannelNumber() *wrapperspb.Int64Value
- func (x *Query) GetInverse() bool
- func (x *Query) GetText() string
- func (*Query) ProtoMessage()
- func (x *Query) ProtoReflect() protoreflect.Message
- func (x *Query) Reset()
- func (m *Query) SetChannelNumber(v *wrapperspb.Int64Value)
- func (m *Query) SetInverse(v bool)
- func (m *Query) SetText(v string)
- func (x *Query) String() string
- type RawAudio
- func (*RawAudio) Descriptor() ([]byte, []int)deprecated
- func (x *RawAudio) GetAudioChannelCount() int64
- func (x *RawAudio) GetAudioEncoding() RawAudio_AudioEncoding
- func (x *RawAudio) GetSampleRateHertz() int64
- func (*RawAudio) ProtoMessage()
- func (x *RawAudio) ProtoReflect() protoreflect.Message
- func (x *RawAudio) Reset()
- func (m *RawAudio) SetAudioChannelCount(v int64)
- func (m *RawAudio) SetAudioEncoding(v RawAudio_AudioEncoding)
- func (m *RawAudio) SetSampleRateHertz(v int64)
- func (x *RawAudio) String() string
- type RawAudio_AudioEncoding
- func (RawAudio_AudioEncoding) Descriptor() protoreflect.EnumDescriptor
- func (x RawAudio_AudioEncoding) Enum() *RawAudio_AudioEncoding
- func (RawAudio_AudioEncoding) EnumDescriptor() ([]byte, []int)deprecated
- func (x RawAudio_AudioEncoding) Number() protoreflect.EnumNumber
- func (x RawAudio_AudioEncoding) String() string
- func (RawAudio_AudioEncoding) Type() protoreflect.EnumType
- type SearchTalkRequest
- func (*SearchTalkRequest) Descriptor() ([]byte, []int)deprecated
- func (x *SearchTalkRequest) GetConnectionId() string
- func (x *SearchTalkRequest) GetFilters() []*Filter
- func (x *SearchTalkRequest) GetOrganizationId() string
- func (x *SearchTalkRequest) GetPageSize() int64
- func (x *SearchTalkRequest) GetPageToken() string
- func (x *SearchTalkRequest) GetProjectId() string
- func (x *SearchTalkRequest) GetQuery() *Query
- func (x *SearchTalkRequest) GetSortData() *SortData
- func (x *SearchTalkRequest) GetSpaceId() string
- func (*SearchTalkRequest) ProtoMessage()
- func (x *SearchTalkRequest) ProtoReflect() protoreflect.Message
- func (x *SearchTalkRequest) Reset()
- func (m *SearchTalkRequest) SetConnectionId(v string)
- func (m *SearchTalkRequest) SetFilters(v []*Filter)
- func (m *SearchTalkRequest) SetOrganizationId(v string)
- func (m *SearchTalkRequest) SetPageSize(v int64)
- func (m *SearchTalkRequest) SetPageToken(v string)
- func (m *SearchTalkRequest) SetProjectId(v string)
- func (m *SearchTalkRequest) SetQuery(v *Query)
- func (m *SearchTalkRequest) SetSortData(v *SortData)
- func (m *SearchTalkRequest) SetSpaceId(v string)
- func (x *SearchTalkRequest) String() string
- type SearchTalkResponse
- func (*SearchTalkResponse) Descriptor() ([]byte, []int)deprecated
- func (x *SearchTalkResponse) GetNextPageToken() string
- func (x *SearchTalkResponse) GetTalkIds() []string
- func (x *SearchTalkResponse) GetTalksCount() int64
- func (*SearchTalkResponse) ProtoMessage()
- func (x *SearchTalkResponse) ProtoReflect() protoreflect.Message
- func (x *SearchTalkResponse) Reset()
- func (m *SearchTalkResponse) SetNextPageToken(v string)
- func (m *SearchTalkResponse) SetTalkIds(v []string)
- func (m *SearchTalkResponse) SetTalksCount(v int64)
- func (x *SearchTalkResponse) String() string
- type SortData
- type SortField
- func (*SortField) Descriptor() ([]byte, []int)deprecated
- func (x *SortField) GetField() string
- func (x *SortField) GetOrder() SortOrder
- func (x *SortField) GetPosition() int64
- func (*SortField) ProtoMessage()
- func (x *SortField) ProtoReflect() protoreflect.Message
- func (x *SortField) Reset()
- func (m *SortField) SetField(v string)
- func (m *SortField) SetOrder(v SortOrder)
- func (m *SortField) SetPosition(v int64)
- func (x *SortField) String() string
- type SortOrder
- type StreamTalkRequest
- func (*StreamTalkRequest) Descriptor() ([]byte, []int)deprecated
- func (x *StreamTalkRequest) GetAudio() *AudioStreamingRequest
- func (m *StreamTalkRequest) GetEvent() isStreamTalkRequest_Event
- func (x *StreamTalkRequest) GetMetadata() *TalkMetadata
- func (*StreamTalkRequest) ProtoMessage()
- func (x *StreamTalkRequest) ProtoReflect() protoreflect.Message
- func (x *StreamTalkRequest) Reset()
- func (m *StreamTalkRequest) SetAudio(v *AudioStreamingRequest)
- func (m *StreamTalkRequest) SetEvent(v StreamTalkRequest_Event)
- func (m *StreamTalkRequest) SetMetadata(v *TalkMetadata)
- func (x *StreamTalkRequest) String() string
- type StreamTalkRequest_Audio
- type StreamTalkRequest_Event
- type StreamTalkRequest_Metadata
- type Talk
- func (*Talk) Descriptor() ([]byte, []int)deprecated
- func (x *Talk) GetConnectionId() string
- func (x *Talk) GetConversationStatistics() *analysis.ConversationStatistics
- func (x *Talk) GetCreatedAt() *timestamppb.Timestamp
- func (x *Talk) GetCreatedBy() string
- func (x *Talk) GetId() string
- func (x *Talk) GetInterruptsStatistics() *analysis.InterruptsStatistics
- func (x *Talk) GetModifiedAt() *timestamppb.Timestamp
- func (x *Talk) GetModifiedBy() string
- func (x *Talk) GetOrganizationId() string
- func (x *Talk) GetPoints() *analysis.Points
- func (x *Talk) GetProjectIds() []string
- func (x *Talk) GetSilenceStatistics() *analysis.SilenceStatistics
- func (x *Talk) GetSpaceId() string
- func (x *Talk) GetSpeechStatistics() *analysis.SpeechStatistics
- func (x *Talk) GetSummarization() *analysis.Summarization
- func (x *Talk) GetTalkFields() []*Field
- func (x *Talk) GetTextClassifiers() *analysis.TextClassifiers
- func (x *Talk) GetTranscription() *analysis.Transcription
- func (*Talk) ProtoMessage()
- func (x *Talk) ProtoReflect() protoreflect.Message
- func (x *Talk) Reset()
- func (m *Talk) SetConnectionId(v string)
- func (m *Talk) SetConversationStatistics(v *analysis.ConversationStatistics)
- func (m *Talk) SetCreatedAt(v *timestamppb.Timestamp)
- func (m *Talk) SetCreatedBy(v string)
- func (m *Talk) SetId(v string)
- func (m *Talk) SetInterruptsStatistics(v *analysis.InterruptsStatistics)
- func (m *Talk) SetModifiedAt(v *timestamppb.Timestamp)
- func (m *Talk) SetModifiedBy(v string)
- func (m *Talk) SetOrganizationId(v string)
- func (m *Talk) SetPoints(v *analysis.Points)
- func (m *Talk) SetProjectIds(v []string)
- func (m *Talk) SetSilenceStatistics(v *analysis.SilenceStatistics)
- func (m *Talk) SetSpaceId(v string)
- func (m *Talk) SetSpeechStatistics(v *analysis.SpeechStatistics)
- func (m *Talk) SetSummarization(v *analysis.Summarization)
- func (m *Talk) SetTalkFields(v []*Field)
- func (m *Talk) SetTextClassifiers(v *analysis.TextClassifiers)
- func (m *Talk) SetTranscription(v *analysis.Transcription)
- func (x *Talk) String() string
- type TalkMetadata
- func (*TalkMetadata) Descriptor() ([]byte, []int)deprecated
- func (x *TalkMetadata) GetConnectionId() string
- func (x *TalkMetadata) GetFields() map[string]string
- func (x *TalkMetadata) GetUsers() []*UserMetadata
- func (*TalkMetadata) ProtoMessage()
- func (x *TalkMetadata) ProtoReflect() protoreflect.Message
- func (x *TalkMetadata) Reset()
- func (m *TalkMetadata) SetConnectionId(v string)
- func (m *TalkMetadata) SetFields(v map[string]string)
- func (m *TalkMetadata) SetUsers(v []*UserMetadata)
- func (x *TalkMetadata) String() string
- type TalkServiceClient
- type TalkServiceServer
- type TalkService_UploadAsStreamClient
- type TalkService_UploadAsStreamServer
- type TextContent
- func (*TextContent) Descriptor() ([]byte, []int)deprecated
- func (x *TextContent) GetMessages() []*Message
- func (*TextContent) ProtoMessage()
- func (x *TextContent) ProtoReflect() protoreflect.Message
- func (x *TextContent) Reset()
- func (m *TextContent) SetMessages(v []*Message)
- func (x *TextContent) String() string
- type TextPayload
- type UnimplementedProjectServiceServer
- type UnimplementedTalkServiceServer
- func (UnimplementedTalkServiceServer) Get(context.Context, *GetTalkRequest) (*GetTalkResponse, error)
- func (UnimplementedTalkServiceServer) Search(context.Context, *SearchTalkRequest) (*SearchTalkResponse, error)
- func (UnimplementedTalkServiceServer) Upload(context.Context, *UploadTalkRequest) (*UploadTalkResponse, error)
- func (UnimplementedTalkServiceServer) UploadAsStream(grpc.ClientStreamingServer[StreamTalkRequest, UploadTalkResponse]) error
- func (UnimplementedTalkServiceServer) UploadText(context.Context, *UploadTextRequest) (*UploadTextResponse, error)
- type UnsafeProjectServiceServer
- type UnsafeTalkServiceServer
- type UploadTalkRequest
- func (*UploadTalkRequest) Descriptor() ([]byte, []int)deprecated
- func (x *UploadTalkRequest) GetAudio() *AudioRequest
- func (x *UploadTalkRequest) GetMetadata() *TalkMetadata
- func (*UploadTalkRequest) ProtoMessage()
- func (x *UploadTalkRequest) ProtoReflect() protoreflect.Message
- func (x *UploadTalkRequest) Reset()
- func (m *UploadTalkRequest) SetAudio(v *AudioRequest)
- func (m *UploadTalkRequest) SetMetadata(v *TalkMetadata)
- func (x *UploadTalkRequest) String() string
- type UploadTalkResponse
- func (*UploadTalkResponse) Descriptor() ([]byte, []int)deprecated
- func (x *UploadTalkResponse) GetTalkId() string
- func (*UploadTalkResponse) ProtoMessage()
- func (x *UploadTalkResponse) ProtoReflect() protoreflect.Message
- func (x *UploadTalkResponse) Reset()
- func (m *UploadTalkResponse) SetTalkId(v string)
- func (x *UploadTalkResponse) String() string
- type UploadTextRequest
- func (*UploadTextRequest) Descriptor() ([]byte, []int)deprecated
- func (x *UploadTextRequest) GetMetadata() *TalkMetadata
- func (x *UploadTextRequest) GetTextContent() *TextContent
- func (*UploadTextRequest) ProtoMessage()
- func (x *UploadTextRequest) ProtoReflect() protoreflect.Message
- func (x *UploadTextRequest) Reset()
- func (m *UploadTextRequest) SetMetadata(v *TalkMetadata)
- func (m *UploadTextRequest) SetTextContent(v *TextContent)
- func (x *UploadTextRequest) String() string
- type UploadTextResponse
- func (*UploadTextResponse) Descriptor() ([]byte, []int)deprecated
- func (x *UploadTextResponse) GetTalkId() string
- func (*UploadTextResponse) ProtoMessage()
- func (x *UploadTextResponse) ProtoReflect() protoreflect.Message
- func (x *UploadTextResponse) Reset()
- func (m *UploadTextResponse) SetTalkId(v string)
- func (x *UploadTextResponse) String() string
- type UserMetadata
- func (*UserMetadata) Descriptor() ([]byte, []int)deprecated
- func (x *UserMetadata) GetFields() map[string]string
- func (x *UserMetadata) GetId() string
- func (x *UserMetadata) GetRole() UserRole
- func (*UserMetadata) ProtoMessage()
- func (x *UserMetadata) ProtoReflect() protoreflect.Message
- func (x *UserMetadata) Reset()
- func (m *UserMetadata) SetFields(v map[string]string)
- func (m *UserMetadata) SetId(v string)
- func (m *UserMetadata) SetRole(v UserRole)
- func (x *UserMetadata) String() string
- type UserRole
Constants ¶
const ( TalkService_UploadAsStream_FullMethodName = "/yandex.cloud.speechsense.v1.TalkService/UploadAsStream" TalkService_Upload_FullMethodName = "/yandex.cloud.speechsense.v1.TalkService/Upload" TalkService_UploadText_FullMethodName = "/yandex.cloud.speechsense.v1.TalkService/UploadText" TalkService_Search_FullMethodName = "/yandex.cloud.speechsense.v1.TalkService/Search" TalkService_Get_FullMethodName = "/yandex.cloud.speechsense.v1.TalkService/Get" )
const (
ProjectService_Create_FullMethodName = "/yandex.cloud.speechsense.v1.ProjectService/Create"
)
Variables ¶
var ( RawAudio_AudioEncoding_name = map[int32]string{ 0: "AUDIO_ENCODING_UNSPECIFIED", 1: "AUDIO_ENCODING_LINEAR16_PCM", } RawAudio_AudioEncoding_value = map[string]int32{ "AUDIO_ENCODING_UNSPECIFIED": 0, "AUDIO_ENCODING_LINEAR16_PCM": 1, } )
Enum value maps for RawAudio_AudioEncoding.
var ( ContainerAudio_ContainerAudioType_name = map[int32]string{ 0: "CONTAINER_AUDIO_TYPE_UNSPECIFIED", 1: "CONTAINER_AUDIO_TYPE_WAV", 2: "CONTAINER_AUDIO_TYPE_OGG_OPUS", 3: "CONTAINER_AUDIO_TYPE_MP3", } ContainerAudio_ContainerAudioType_value = map[string]int32{ "CONTAINER_AUDIO_TYPE_UNSPECIFIED": 0, "CONTAINER_AUDIO_TYPE_WAV": 1, "CONTAINER_AUDIO_TYPE_OGG_OPUS": 2, "CONTAINER_AUDIO_TYPE_MP3": 3, } )
Enum value maps for ContainerAudio_ContainerAudioType.
var ( SortOrder_name = map[int32]string{ 0: "SORT_ORDER_UNSPECIFIED", 1: "SORT_ORDER_ASC", 2: "SORT_ORDER_DESC", } SortOrder_value = map[string]int32{ "SORT_ORDER_UNSPECIFIED": 0, "SORT_ORDER_ASC": 1, "SORT_ORDER_DESC": 2, } )
Enum value maps for SortOrder.
var ( FieldType_name = map[int32]string{ 0: "FIELD_TYPE_UNSPECIFIED", 1: "FIELD_TYPE_STRING", 2: "FIELD_TYPE_NUMBER", 3: "FIELD_TYPE_DECIMAL", 4: "FIELD_TYPE_BOOLEAN", 5: "FIELD_TYPE_DATE", 6: "FIELD_TYPE_JSON", } FieldType_value = map[string]int32{ "FIELD_TYPE_UNSPECIFIED": 0, "FIELD_TYPE_STRING": 1, "FIELD_TYPE_NUMBER": 2, "FIELD_TYPE_DECIMAL": 3, "FIELD_TYPE_BOOLEAN": 4, "FIELD_TYPE_DATE": 5, "FIELD_TYPE_JSON": 6, } )
Enum value maps for FieldType.
var ( UserRole_name = map[int32]string{ 0: "USER_ROLE_UNSPECIFIED", 1: "USER_ROLE_OPERATOR", 2: "USER_ROLE_CLIENT", 3: "USER_ROLE_BOT", } UserRole_value = map[string]int32{ "USER_ROLE_UNSPECIFIED": 0, "USER_ROLE_OPERATOR": 1, "USER_ROLE_CLIENT": 2, "USER_ROLE_BOT": 3, } )
Enum value maps for UserRole.
var File_yandex_cloud_speechsense_v1_audio_proto protoreflect.FileDescriptor
var File_yandex_cloud_speechsense_v1_project_proto protoreflect.FileDescriptor
var File_yandex_cloud_speechsense_v1_project_service_proto protoreflect.FileDescriptor
var File_yandex_cloud_speechsense_v1_search_proto protoreflect.FileDescriptor
var File_yandex_cloud_speechsense_v1_talk_proto protoreflect.FileDescriptor
var File_yandex_cloud_speechsense_v1_talk_service_proto protoreflect.FileDescriptor
var File_yandex_cloud_speechsense_v1_text_proto protoreflect.FileDescriptor
var ProjectService_ServiceDesc = grpc.ServiceDesc{ ServiceName: "yandex.cloud.speechsense.v1.ProjectService", HandlerType: (*ProjectServiceServer)(nil), Methods: []grpc.MethodDesc{ { MethodName: "Create", Handler: _ProjectService_Create_Handler, }, }, Streams: []grpc.StreamDesc{}, Metadata: "yandex/cloud/speechsense/v1/project_service.proto", }
ProjectService_ServiceDesc is the grpc.ServiceDesc for ProjectService service. It's only intended for direct use with grpc.RegisterService, and not to be introspected or modified (even as a copy)
var TalkService_ServiceDesc = grpc.ServiceDesc{ ServiceName: "yandex.cloud.speechsense.v1.TalkService", HandlerType: (*TalkServiceServer)(nil), Methods: []grpc.MethodDesc{ { MethodName: "Upload", Handler: _TalkService_Upload_Handler, }, { MethodName: "UploadText", Handler: _TalkService_UploadText_Handler, }, { MethodName: "Search", Handler: _TalkService_Search_Handler, }, { MethodName: "Get", Handler: _TalkService_Get_Handler, }, }, Streams: []grpc.StreamDesc{ { StreamName: "UploadAsStream", Handler: _TalkService_UploadAsStream_Handler, ClientStreams: true, }, }, Metadata: "yandex/cloud/speechsense/v1/talk_service.proto", }
TalkService_ServiceDesc is the grpc.ServiceDesc for TalkService service. It's only intended for direct use with grpc.RegisterService, and not to be introspected or modified (even as a copy)
Functions ¶
func RegisterProjectServiceServer ¶
func RegisterProjectServiceServer(s grpc.ServiceRegistrar, srv ProjectServiceServer)
func RegisterTalkServiceServer ¶
func RegisterTalkServiceServer(s grpc.ServiceRegistrar, srv TalkServiceServer)
Types ¶
type AnyMatchFilter ¶
type AnyMatchFilter struct { // values list to match with "OR" operator Values []string `protobuf:"bytes,1,rep,name=values,proto3" json:"values,omitempty"` // contains filtered or unexported fields }
func (*AnyMatchFilter) Descriptor
deprecated
func (*AnyMatchFilter) Descriptor() ([]byte, []int)
Deprecated: Use AnyMatchFilter.ProtoReflect.Descriptor instead.
func (*AnyMatchFilter) GetValues ¶
func (x *AnyMatchFilter) GetValues() []string
func (*AnyMatchFilter) ProtoMessage ¶
func (*AnyMatchFilter) ProtoMessage()
func (*AnyMatchFilter) ProtoReflect ¶
func (x *AnyMatchFilter) ProtoReflect() protoreflect.Message
func (*AnyMatchFilter) Reset ¶
func (x *AnyMatchFilter) Reset()
func (*AnyMatchFilter) SetValues ¶
func (m *AnyMatchFilter) SetValues(v []string)
func (*AnyMatchFilter) String ¶
func (x *AnyMatchFilter) String() string
type AudioChunk ¶
type AudioChunk struct { // Bytes with audio data. Data []byte `protobuf:"bytes,1,opt,name=data,proto3" json:"data,omitempty"` // contains filtered or unexported fields }
Data chunk with audio.
func (*AudioChunk) Descriptor
deprecated
func (*AudioChunk) Descriptor() ([]byte, []int)
Deprecated: Use AudioChunk.ProtoReflect.Descriptor instead.
func (*AudioChunk) GetData ¶
func (x *AudioChunk) GetData() []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) SetData ¶
func (m *AudioChunk) SetData(v []byte)
func (*AudioChunk) String ¶
func (x *AudioChunk) String() string
type AudioMetadata ¶
type AudioMetadata struct { // Types that are assignable to AudioFormat: // // *AudioMetadata_RawAudio // *AudioMetadata_ContainerAudio AudioFormat isAudioMetadata_AudioFormat `protobuf_oneof:"AudioFormat"` // contains filtered or unexported fields }
Audio format options.
func (*AudioMetadata) Descriptor
deprecated
func (*AudioMetadata) Descriptor() ([]byte, []int)
Deprecated: Use AudioMetadata.ProtoReflect.Descriptor instead.
func (*AudioMetadata) GetAudioFormat ¶
func (m *AudioMetadata) GetAudioFormat() isAudioMetadata_AudioFormat
func (*AudioMetadata) GetContainerAudio ¶
func (x *AudioMetadata) GetContainerAudio() *ContainerAudio
func (*AudioMetadata) GetRawAudio ¶
func (x *AudioMetadata) GetRawAudio() *RawAudio
func (*AudioMetadata) ProtoMessage ¶
func (*AudioMetadata) ProtoMessage()
func (*AudioMetadata) ProtoReflect ¶
func (x *AudioMetadata) ProtoReflect() protoreflect.Message
func (*AudioMetadata) Reset ¶
func (x *AudioMetadata) Reset()
func (*AudioMetadata) SetAudioFormat ¶
func (m *AudioMetadata) SetAudioFormat(v AudioMetadata_AudioFormat)
func (*AudioMetadata) SetContainerAudio ¶
func (m *AudioMetadata) SetContainerAudio(v *ContainerAudio)
func (*AudioMetadata) SetRawAudio ¶
func (m *AudioMetadata) SetRawAudio(v *RawAudio)
func (*AudioMetadata) String ¶
func (x *AudioMetadata) String() string
type AudioMetadata_AudioFormat ¶
type AudioMetadata_AudioFormat = isAudioMetadata_AudioFormat
type AudioMetadata_ContainerAudio ¶
type AudioMetadata_ContainerAudio struct { // Audio is wrapped in container. ContainerAudio *ContainerAudio `protobuf:"bytes,2,opt,name=container_audio,json=containerAudio,proto3,oneof"` }
type AudioMetadata_RawAudio ¶
type AudioMetadata_RawAudio struct { // Audio without container. RawAudio *RawAudio `protobuf:"bytes,1,opt,name=raw_audio,json=rawAudio,proto3,oneof"` }
type AudioRequest ¶
type AudioRequest struct { // audio metadata AudioMetadata *AudioMetadata `protobuf:"bytes,1,opt,name=audio_metadata,json=audioMetadata,proto3" json:"audio_metadata,omitempty"` // Bytes with audio data. AudioData *AudioChunk `protobuf:"bytes,2,opt,name=audio_data,json=audioData,proto3" json:"audio_data,omitempty"` // contains filtered or unexported fields }
request for sending small audios (< 128 mb) in one go
func (*AudioRequest) Descriptor
deprecated
func (*AudioRequest) Descriptor() ([]byte, []int)
Deprecated: Use AudioRequest.ProtoReflect.Descriptor instead.
func (*AudioRequest) GetAudioData ¶
func (x *AudioRequest) GetAudioData() *AudioChunk
func (*AudioRequest) GetAudioMetadata ¶
func (x *AudioRequest) GetAudioMetadata() *AudioMetadata
func (*AudioRequest) ProtoMessage ¶
func (*AudioRequest) ProtoMessage()
func (*AudioRequest) ProtoReflect ¶
func (x *AudioRequest) ProtoReflect() protoreflect.Message
func (*AudioRequest) Reset ¶
func (x *AudioRequest) Reset()
func (*AudioRequest) SetAudioData ¶
func (m *AudioRequest) SetAudioData(v *AudioChunk)
func (*AudioRequest) SetAudioMetadata ¶
func (m *AudioRequest) SetAudioMetadata(v *AudioMetadata)
func (*AudioRequest) String ¶
func (x *AudioRequest) String() string
type AudioStreamingRequest ¶
type AudioStreamingRequest struct { // Types that are assignable to AudioEvent: // // *AudioStreamingRequest_AudioMetadata // *AudioStreamingRequest_Chunk AudioEvent isAudioStreamingRequest_AudioEvent `protobuf_oneof:"AudioEvent"` // contains filtered or unexported fields }
Streaming audio request First message should be audio metadata. The next messages are audio data chunks.
func (*AudioStreamingRequest) Descriptor
deprecated
func (*AudioStreamingRequest) Descriptor() ([]byte, []int)
Deprecated: Use AudioStreamingRequest.ProtoReflect.Descriptor instead.
func (*AudioStreamingRequest) GetAudioEvent ¶
func (m *AudioStreamingRequest) GetAudioEvent() isAudioStreamingRequest_AudioEvent
func (*AudioStreamingRequest) GetAudioMetadata ¶
func (x *AudioStreamingRequest) GetAudioMetadata() *AudioMetadata
func (*AudioStreamingRequest) GetChunk ¶
func (x *AudioStreamingRequest) GetChunk() *AudioChunk
func (*AudioStreamingRequest) ProtoMessage ¶
func (*AudioStreamingRequest) ProtoMessage()
func (*AudioStreamingRequest) ProtoReflect ¶
func (x *AudioStreamingRequest) ProtoReflect() protoreflect.Message
func (*AudioStreamingRequest) Reset ¶
func (x *AudioStreamingRequest) Reset()
func (*AudioStreamingRequest) SetAudioEvent ¶
func (m *AudioStreamingRequest) SetAudioEvent(v AudioStreamingRequest_AudioEvent)
func (*AudioStreamingRequest) SetAudioMetadata ¶
func (m *AudioStreamingRequest) SetAudioMetadata(v *AudioMetadata)
func (*AudioStreamingRequest) SetChunk ¶
func (m *AudioStreamingRequest) SetChunk(v *AudioChunk)
func (*AudioStreamingRequest) String ¶
func (x *AudioStreamingRequest) String() string
type AudioStreamingRequest_AudioEvent ¶
type AudioStreamingRequest_AudioEvent = isAudioStreamingRequest_AudioEvent
type AudioStreamingRequest_AudioMetadata ¶
type AudioStreamingRequest_AudioMetadata struct { // Session options. Should be the first message from user. AudioMetadata *AudioMetadata `protobuf:"bytes,1,opt,name=audio_metadata,json=audioMetadata,proto3,oneof"` }
type AudioStreamingRequest_Chunk ¶
type AudioStreamingRequest_Chunk struct { // Chunk with audio data. Chunk *AudioChunk `protobuf:"bytes,2,opt,name=chunk,proto3,oneof"` }
type BooleanFilter ¶
type BooleanFilter struct { Value bool `protobuf:"varint,1,opt,name=value,proto3" json:"value,omitempty"` // contains filtered or unexported fields }
func (*BooleanFilter) Descriptor
deprecated
func (*BooleanFilter) Descriptor() ([]byte, []int)
Deprecated: Use BooleanFilter.ProtoReflect.Descriptor instead.
func (*BooleanFilter) GetValue ¶
func (x *BooleanFilter) GetValue() bool
func (*BooleanFilter) ProtoMessage ¶
func (*BooleanFilter) ProtoMessage()
func (*BooleanFilter) ProtoReflect ¶
func (x *BooleanFilter) ProtoReflect() protoreflect.Message
func (*BooleanFilter) Reset ¶
func (x *BooleanFilter) Reset()
func (*BooleanFilter) SetValue ¶
func (m *BooleanFilter) SetValue(v bool)
func (*BooleanFilter) String ¶
func (x *BooleanFilter) String() string
type BoundsInclusive ¶
type BoundsInclusive struct { // include from bound FromInclusive bool `protobuf:"varint,1,opt,name=from_inclusive,json=fromInclusive,proto3" json:"from_inclusive,omitempty"` // include to bound ToInclusive bool `protobuf:"varint,2,opt,name=to_inclusive,json=toInclusive,proto3" json:"to_inclusive,omitempty"` // contains filtered or unexported fields }
indicates whether to include range boundaries
func (*BoundsInclusive) Descriptor
deprecated
func (*BoundsInclusive) Descriptor() ([]byte, []int)
Deprecated: Use BoundsInclusive.ProtoReflect.Descriptor instead.
func (*BoundsInclusive) GetFromInclusive ¶
func (x *BoundsInclusive) GetFromInclusive() bool
func (*BoundsInclusive) GetToInclusive ¶
func (x *BoundsInclusive) GetToInclusive() bool
func (*BoundsInclusive) ProtoMessage ¶
func (*BoundsInclusive) ProtoMessage()
func (*BoundsInclusive) ProtoReflect ¶
func (x *BoundsInclusive) ProtoReflect() protoreflect.Message
func (*BoundsInclusive) Reset ¶
func (x *BoundsInclusive) Reset()
func (*BoundsInclusive) SetFromInclusive ¶
func (m *BoundsInclusive) SetFromInclusive(v bool)
func (*BoundsInclusive) SetToInclusive ¶
func (m *BoundsInclusive) SetToInclusive(v bool)
func (*BoundsInclusive) String ¶
func (x *BoundsInclusive) String() string
type ContainerAudio ¶
type ContainerAudio struct { // Type of audio container. ContainerAudioType ContainerAudio_ContainerAudioType `` /* 185-byte string literal not displayed */ // contains filtered or unexported fields }
Audio with fixed type in container. Used in AudioFormat options.
func (*ContainerAudio) Descriptor
deprecated
func (*ContainerAudio) Descriptor() ([]byte, []int)
Deprecated: Use ContainerAudio.ProtoReflect.Descriptor instead.
func (*ContainerAudio) GetContainerAudioType ¶
func (x *ContainerAudio) GetContainerAudioType() ContainerAudio_ContainerAudioType
func (*ContainerAudio) ProtoMessage ¶
func (*ContainerAudio) ProtoMessage()
func (*ContainerAudio) ProtoReflect ¶
func (x *ContainerAudio) ProtoReflect() protoreflect.Message
func (*ContainerAudio) Reset ¶
func (x *ContainerAudio) Reset()
func (*ContainerAudio) SetContainerAudioType ¶
func (m *ContainerAudio) SetContainerAudioType(v ContainerAudio_ContainerAudioType)
func (*ContainerAudio) String ¶
func (x *ContainerAudio) String() string
type ContainerAudio_ContainerAudioType ¶
type ContainerAudio_ContainerAudioType int32
const ( ContainerAudio_CONTAINER_AUDIO_TYPE_UNSPECIFIED ContainerAudio_ContainerAudioType = 0 // Audio bit depth 16-bit signed little-endian (Linear PCM). ContainerAudio_CONTAINER_AUDIO_TYPE_WAV ContainerAudio_ContainerAudioType = 1 // Data is encoded using the OPUS audio codec and compressed using the OGG container format. ContainerAudio_CONTAINER_AUDIO_TYPE_OGG_OPUS ContainerAudio_ContainerAudioType = 2 // Data is encoded using MPEG-1/2 Layer III and compressed using the MP3 container format. ContainerAudio_CONTAINER_AUDIO_TYPE_MP3 ContainerAudio_ContainerAudioType = 3 )
func (ContainerAudio_ContainerAudioType) Descriptor ¶
func (ContainerAudio_ContainerAudioType) Descriptor() protoreflect.EnumDescriptor
func (ContainerAudio_ContainerAudioType) Enum ¶
func (x ContainerAudio_ContainerAudioType) Enum() *ContainerAudio_ContainerAudioType
func (ContainerAudio_ContainerAudioType) EnumDescriptor
deprecated
func (ContainerAudio_ContainerAudioType) EnumDescriptor() ([]byte, []int)
Deprecated: Use ContainerAudio_ContainerAudioType.Descriptor instead.
func (ContainerAudio_ContainerAudioType) Number ¶
func (x ContainerAudio_ContainerAudioType) Number() protoreflect.EnumNumber
func (ContainerAudio_ContainerAudioType) String ¶
func (x ContainerAudio_ContainerAudioType) String() string
func (ContainerAudio_ContainerAudioType) Type ¶
func (ContainerAudio_ContainerAudioType) Type() protoreflect.EnumType
type CreateProjectMetadata ¶
type CreateProjectMetadata struct { Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"` // contains filtered or unexported fields }
func (*CreateProjectMetadata) Descriptor
deprecated
func (*CreateProjectMetadata) Descriptor() ([]byte, []int)
Deprecated: Use CreateProjectMetadata.ProtoReflect.Descriptor instead.
func (*CreateProjectMetadata) GetId ¶
func (x *CreateProjectMetadata) GetId() string
func (*CreateProjectMetadata) ProtoMessage ¶
func (*CreateProjectMetadata) ProtoMessage()
func (*CreateProjectMetadata) ProtoReflect ¶
func (x *CreateProjectMetadata) ProtoReflect() protoreflect.Message
func (*CreateProjectMetadata) Reset ¶
func (x *CreateProjectMetadata) Reset()
func (*CreateProjectMetadata) SetId ¶
func (m *CreateProjectMetadata) SetId(v string)
func (*CreateProjectMetadata) String ¶
func (x *CreateProjectMetadata) String() string
type CreateProjectRequest ¶
type CreateProjectRequest struct { // project name Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` // id of connection the project should belong too ConnectionId string `protobuf:"bytes,2,opt,name=connection_id,json=connectionId,proto3" json:"connection_id,omitempty"` // project description Description string `protobuf:"bytes,3,opt,name=description,proto3" json:"description,omitempty"` // project filters Filters []*FieldFilter `protobuf:"bytes,4,rep,name=filters,proto3" json:"filters,omitempty"` // contains filtered or unexported fields }
func (*CreateProjectRequest) Descriptor
deprecated
func (*CreateProjectRequest) Descriptor() ([]byte, []int)
Deprecated: Use CreateProjectRequest.ProtoReflect.Descriptor instead.
func (*CreateProjectRequest) GetConnectionId ¶
func (x *CreateProjectRequest) GetConnectionId() string
func (*CreateProjectRequest) GetDescription ¶
func (x *CreateProjectRequest) GetDescription() string
func (*CreateProjectRequest) GetFilters ¶
func (x *CreateProjectRequest) GetFilters() []*FieldFilter
func (*CreateProjectRequest) GetName ¶
func (x *CreateProjectRequest) GetName() string
func (*CreateProjectRequest) ProtoMessage ¶
func (*CreateProjectRequest) ProtoMessage()
func (*CreateProjectRequest) ProtoReflect ¶
func (x *CreateProjectRequest) ProtoReflect() protoreflect.Message
func (*CreateProjectRequest) Reset ¶
func (x *CreateProjectRequest) Reset()
func (*CreateProjectRequest) SetConnectionId ¶
func (m *CreateProjectRequest) SetConnectionId(v string)
func (*CreateProjectRequest) SetDescription ¶
func (m *CreateProjectRequest) SetDescription(v string)
func (*CreateProjectRequest) SetFilters ¶
func (m *CreateProjectRequest) SetFilters(v []*FieldFilter)
func (*CreateProjectRequest) SetName ¶
func (m *CreateProjectRequest) SetName(v string)
func (*CreateProjectRequest) String ¶
func (x *CreateProjectRequest) String() string
type DateRangeFilter ¶
type DateRangeFilter struct { FromValue *timestamppb.Timestamp `protobuf:"bytes,1,opt,name=from_value,json=fromValue,proto3" json:"from_value,omitempty"` ToValue *timestamppb.Timestamp `protobuf:"bytes,2,opt,name=to_value,json=toValue,proto3" json:"to_value,omitempty"` BoundsInclusive *BoundsInclusive `protobuf:"bytes,3,opt,name=bounds_inclusive,json=boundsInclusive,proto3" json:"bounds_inclusive,omitempty"` // contains filtered or unexported fields }
func (*DateRangeFilter) Descriptor
deprecated
func (*DateRangeFilter) Descriptor() ([]byte, []int)
Deprecated: Use DateRangeFilter.ProtoReflect.Descriptor instead.
func (*DateRangeFilter) GetBoundsInclusive ¶
func (x *DateRangeFilter) GetBoundsInclusive() *BoundsInclusive
func (*DateRangeFilter) GetFromValue ¶
func (x *DateRangeFilter) GetFromValue() *timestamppb.Timestamp
func (*DateRangeFilter) GetToValue ¶
func (x *DateRangeFilter) GetToValue() *timestamppb.Timestamp
func (*DateRangeFilter) ProtoMessage ¶
func (*DateRangeFilter) ProtoMessage()
func (*DateRangeFilter) ProtoReflect ¶
func (x *DateRangeFilter) ProtoReflect() protoreflect.Message
func (*DateRangeFilter) Reset ¶
func (x *DateRangeFilter) Reset()
func (*DateRangeFilter) SetBoundsInclusive ¶
func (m *DateRangeFilter) SetBoundsInclusive(v *BoundsInclusive)
func (*DateRangeFilter) SetFromValue ¶
func (m *DateRangeFilter) SetFromValue(v *timestamppb.Timestamp)
func (*DateRangeFilter) SetToValue ¶
func (m *DateRangeFilter) SetToValue(v *timestamppb.Timestamp)
func (*DateRangeFilter) String ¶
func (x *DateRangeFilter) String() string
type DoubleRangeFilter ¶
type DoubleRangeFilter struct { FromValue *wrapperspb.DoubleValue `protobuf:"bytes,1,opt,name=from_value,json=fromValue,proto3" json:"from_value,omitempty"` ToValue *wrapperspb.DoubleValue `protobuf:"bytes,2,opt,name=to_value,json=toValue,proto3" json:"to_value,omitempty"` BoundsInclusive *BoundsInclusive `protobuf:"bytes,3,opt,name=bounds_inclusive,json=boundsInclusive,proto3" json:"bounds_inclusive,omitempty"` // contains filtered or unexported fields }
func (*DoubleRangeFilter) Descriptor
deprecated
func (*DoubleRangeFilter) Descriptor() ([]byte, []int)
Deprecated: Use DoubleRangeFilter.ProtoReflect.Descriptor instead.
func (*DoubleRangeFilter) GetBoundsInclusive ¶
func (x *DoubleRangeFilter) GetBoundsInclusive() *BoundsInclusive
func (*DoubleRangeFilter) GetFromValue ¶
func (x *DoubleRangeFilter) GetFromValue() *wrapperspb.DoubleValue
func (*DoubleRangeFilter) GetToValue ¶
func (x *DoubleRangeFilter) GetToValue() *wrapperspb.DoubleValue
func (*DoubleRangeFilter) ProtoMessage ¶
func (*DoubleRangeFilter) ProtoMessage()
func (*DoubleRangeFilter) ProtoReflect ¶
func (x *DoubleRangeFilter) ProtoReflect() protoreflect.Message
func (*DoubleRangeFilter) Reset ¶
func (x *DoubleRangeFilter) Reset()
func (*DoubleRangeFilter) SetBoundsInclusive ¶
func (m *DoubleRangeFilter) SetBoundsInclusive(v *BoundsInclusive)
func (*DoubleRangeFilter) SetFromValue ¶
func (m *DoubleRangeFilter) SetFromValue(v *wrapperspb.DoubleValue)
func (*DoubleRangeFilter) SetToValue ¶
func (m *DoubleRangeFilter) SetToValue(v *wrapperspb.DoubleValue)
func (*DoubleRangeFilter) String ¶
func (x *DoubleRangeFilter) String() string
type DurationRangeFilter ¶
type DurationRangeFilter struct { FromValue *durationpb.Duration `protobuf:"bytes,1,opt,name=from_value,json=fromValue,proto3" json:"from_value,omitempty"` ToValue *durationpb.Duration `protobuf:"bytes,2,opt,name=to_value,json=toValue,proto3" json:"to_value,omitempty"` BoundsInclusive *BoundsInclusive `protobuf:"bytes,3,opt,name=bounds_inclusive,json=boundsInclusive,proto3" json:"bounds_inclusive,omitempty"` // contains filtered or unexported fields }
func (*DurationRangeFilter) Descriptor
deprecated
func (*DurationRangeFilter) Descriptor() ([]byte, []int)
Deprecated: Use DurationRangeFilter.ProtoReflect.Descriptor instead.
func (*DurationRangeFilter) GetBoundsInclusive ¶
func (x *DurationRangeFilter) GetBoundsInclusive() *BoundsInclusive
func (*DurationRangeFilter) GetFromValue ¶
func (x *DurationRangeFilter) GetFromValue() *durationpb.Duration
func (*DurationRangeFilter) GetToValue ¶
func (x *DurationRangeFilter) GetToValue() *durationpb.Duration
func (*DurationRangeFilter) ProtoMessage ¶
func (*DurationRangeFilter) ProtoMessage()
func (*DurationRangeFilter) ProtoReflect ¶
func (x *DurationRangeFilter) ProtoReflect() protoreflect.Message
func (*DurationRangeFilter) Reset ¶
func (x *DurationRangeFilter) Reset()
func (*DurationRangeFilter) SetBoundsInclusive ¶
func (m *DurationRangeFilter) SetBoundsInclusive(v *BoundsInclusive)
func (*DurationRangeFilter) SetFromValue ¶
func (m *DurationRangeFilter) SetFromValue(v *durationpb.Duration)
func (*DurationRangeFilter) SetToValue ¶
func (m *DurationRangeFilter) SetToValue(v *durationpb.Duration)
func (*DurationRangeFilter) String ¶
func (x *DurationRangeFilter) String() string
type Field ¶
type Field struct { // name of the field Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` // field value Value string `protobuf:"bytes,2,opt,name=value,proto3" json:"value,omitempty"` // field type Type FieldType `protobuf:"varint,3,opt,name=type,proto3,enum=yandex.cloud.speechsense.v1.FieldType" json:"type,omitempty"` // contains filtered or unexported fields }
connection field value
func (*Field) Descriptor
deprecated
func (*Field) ProtoMessage ¶
func (*Field) ProtoMessage()
func (*Field) ProtoReflect ¶
func (x *Field) ProtoReflect() protoreflect.Message
type FieldFilter ¶
type FieldFilter struct { // connection metadata field key Key string `protobuf:"bytes,1,opt,name=key,proto3" json:"key,omitempty"` // connection metadata field value FieldValue string `protobuf:"bytes,2,opt,name=field_value,json=fieldValue,proto3" json:"field_value,omitempty"` // contains filtered or unexported fields }
simple filters to match talks based on their connection metadata
func (*FieldFilter) Descriptor
deprecated
func (*FieldFilter) Descriptor() ([]byte, []int)
Deprecated: Use FieldFilter.ProtoReflect.Descriptor instead.
func (*FieldFilter) GetFieldValue ¶
func (x *FieldFilter) GetFieldValue() string
func (*FieldFilter) GetKey ¶
func (x *FieldFilter) GetKey() string
func (*FieldFilter) ProtoMessage ¶
func (*FieldFilter) ProtoMessage()
func (*FieldFilter) ProtoReflect ¶
func (x *FieldFilter) ProtoReflect() protoreflect.Message
func (*FieldFilter) Reset ¶
func (x *FieldFilter) Reset()
func (*FieldFilter) SetFieldValue ¶
func (m *FieldFilter) SetFieldValue(v string)
func (*FieldFilter) SetKey ¶
func (m *FieldFilter) SetKey(v string)
func (*FieldFilter) String ¶
func (x *FieldFilter) String() string
type FieldType ¶
type FieldType int32
connection field type
const ( FieldType_FIELD_TYPE_UNSPECIFIED FieldType = 0 FieldType_FIELD_TYPE_STRING FieldType = 1 FieldType_FIELD_TYPE_NUMBER FieldType = 2 FieldType_FIELD_TYPE_DECIMAL FieldType = 3 FieldType_FIELD_TYPE_BOOLEAN FieldType = 4 FieldType_FIELD_TYPE_DATE FieldType = 5 FieldType_FIELD_TYPE_JSON FieldType = 6 )
func (FieldType) Descriptor ¶
func (FieldType) Descriptor() protoreflect.EnumDescriptor
func (FieldType) EnumDescriptor
deprecated
func (FieldType) Number ¶
func (x FieldType) Number() protoreflect.EnumNumber
func (FieldType) Type ¶
func (FieldType) Type() protoreflect.EnumType
type Filter ¶
type Filter struct { // metadata key (user.some_key / system.created_at / analysis.speechkit.duration) Key string `protobuf:"bytes,1,opt,name=key,proto3" json:"key,omitempty"` // Types that are assignable to Filter: // // *Filter_AnyMatch // *Filter_IntRange // *Filter_DoubleRange // *Filter_DateRange // *Filter_DurationRange // *Filter_BooleanMatch Filter isFilter_Filter `protobuf_oneof:"filter"` Inverse bool `protobuf:"varint,7,opt,name=inverse,proto3" json:"inverse,omitempty"` // channel number to apply filter for, starting with 0. applies to all channels if not specified ChannelNumber *wrapperspb.Int64Value `protobuf:"bytes,8,opt,name=channel_number,json=channelNumber,proto3" json:"channel_number,omitempty"` // contains filtered or unexported fields }
func (*Filter) Descriptor
deprecated
func (*Filter) GetAnyMatch ¶
func (x *Filter) GetAnyMatch() *AnyMatchFilter
func (*Filter) GetBooleanMatch ¶
func (x *Filter) GetBooleanMatch() *BooleanFilter
func (*Filter) GetChannelNumber ¶
func (x *Filter) GetChannelNumber() *wrapperspb.Int64Value
func (*Filter) GetDateRange ¶
func (x *Filter) GetDateRange() *DateRangeFilter
func (*Filter) GetDoubleRange ¶
func (x *Filter) GetDoubleRange() *DoubleRangeFilter
func (*Filter) GetDurationRange ¶
func (x *Filter) GetDurationRange() *DurationRangeFilter
func (*Filter) GetIntRange ¶
func (x *Filter) GetIntRange() *IntRangeFilter
func (*Filter) GetInverse ¶
func (*Filter) ProtoMessage ¶
func (*Filter) ProtoMessage()
func (*Filter) ProtoReflect ¶
func (x *Filter) ProtoReflect() protoreflect.Message
func (*Filter) SetAnyMatch ¶
func (m *Filter) SetAnyMatch(v *AnyMatchFilter)
func (*Filter) SetBooleanMatch ¶
func (m *Filter) SetBooleanMatch(v *BooleanFilter)
func (*Filter) SetChannelNumber ¶
func (m *Filter) SetChannelNumber(v *wrapperspb.Int64Value)
func (*Filter) SetDateRange ¶
func (m *Filter) SetDateRange(v *DateRangeFilter)
func (*Filter) SetDoubleRange ¶
func (m *Filter) SetDoubleRange(v *DoubleRangeFilter)
func (*Filter) SetDurationRange ¶
func (m *Filter) SetDurationRange(v *DurationRangeFilter)
func (*Filter) SetFilter ¶
func (m *Filter) SetFilter(v Filter_Filter)
func (*Filter) SetIntRange ¶
func (m *Filter) SetIntRange(v *IntRangeFilter)
func (*Filter) SetInverse ¶
type Filter_AnyMatch ¶
type Filter_AnyMatch struct { // find talk matched by any text filters AnyMatch *AnyMatchFilter `protobuf:"bytes,2,opt,name=any_match,json=anyMatch,proto3,oneof"` }
type Filter_BooleanMatch ¶
type Filter_BooleanMatch struct { // find talks with value equals boolean BooleanMatch *BooleanFilter `protobuf:"bytes,9,opt,name=boolean_match,json=booleanMatch,proto3,oneof"` }
type Filter_DateRange ¶
type Filter_DateRange struct { // find talks with value from date range DateRange *DateRangeFilter `protobuf:"bytes,5,opt,name=date_range,json=dateRange,proto3,oneof"` }
type Filter_DoubleRange ¶
type Filter_DoubleRange struct { // find talks with value from double range DoubleRange *DoubleRangeFilter `protobuf:"bytes,4,opt,name=double_range,json=doubleRange,proto3,oneof"` }
type Filter_DurationRange ¶
type Filter_DurationRange struct { // find talks with value from duration range DurationRange *DurationRangeFilter `protobuf:"bytes,6,opt,name=duration_range,json=durationRange,proto3,oneof"` }
type Filter_Filter ¶
type Filter_Filter = isFilter_Filter
type Filter_IntRange ¶
type Filter_IntRange struct { // find talks with value from int range IntRange *IntRangeFilter `protobuf:"bytes,3,opt,name=int_range,json=intRange,proto3,oneof"` }
type GetTalkRequest ¶
type GetTalkRequest struct { // id of organization OrganizationId string `protobuf:"bytes,1,opt,name=organization_id,json=organizationId,proto3" json:"organization_id,omitempty"` // id of space SpaceId string `protobuf:"bytes,2,opt,name=space_id,json=spaceId,proto3" json:"space_id,omitempty"` // id of connection to search data ConnectionId string `protobuf:"bytes,3,opt,name=connection_id,json=connectionId,proto3" json:"connection_id,omitempty"` // id of project to search data ProjectId string `protobuf:"bytes,4,opt,name=project_id,json=projectId,proto3" json:"project_id,omitempty"` // ids of talks to return. Requesting too many talks may result in "message exceeds maximum size" error. // Up to 100 of talks per request is recommended. TalkIds []string `protobuf:"bytes,5,rep,name=talk_ids,json=talkIds,proto3" json:"talk_ids,omitempty"` // All types of analysis will be returned if not set. ResultsMask *fieldmaskpb.FieldMask `protobuf:"bytes,6,opt,name=results_mask,json=resultsMask,proto3" json:"results_mask,omitempty"` // contains filtered or unexported fields }
func (*GetTalkRequest) Descriptor
deprecated
func (*GetTalkRequest) Descriptor() ([]byte, []int)
Deprecated: Use GetTalkRequest.ProtoReflect.Descriptor instead.
func (*GetTalkRequest) GetConnectionId ¶
func (x *GetTalkRequest) GetConnectionId() string
func (*GetTalkRequest) GetOrganizationId ¶
func (x *GetTalkRequest) GetOrganizationId() string
func (*GetTalkRequest) GetProjectId ¶
func (x *GetTalkRequest) GetProjectId() string
func (*GetTalkRequest) GetResultsMask ¶
func (x *GetTalkRequest) GetResultsMask() *fieldmaskpb.FieldMask
func (*GetTalkRequest) GetSpaceId ¶
func (x *GetTalkRequest) GetSpaceId() string
func (*GetTalkRequest) GetTalkIds ¶
func (x *GetTalkRequest) GetTalkIds() []string
func (*GetTalkRequest) ProtoMessage ¶
func (*GetTalkRequest) ProtoMessage()
func (*GetTalkRequest) ProtoReflect ¶
func (x *GetTalkRequest) ProtoReflect() protoreflect.Message
func (*GetTalkRequest) Reset ¶
func (x *GetTalkRequest) Reset()
func (*GetTalkRequest) SetConnectionId ¶
func (m *GetTalkRequest) SetConnectionId(v string)
func (*GetTalkRequest) SetOrganizationId ¶
func (m *GetTalkRequest) SetOrganizationId(v string)
func (*GetTalkRequest) SetProjectId ¶
func (m *GetTalkRequest) SetProjectId(v string)
func (*GetTalkRequest) SetResultsMask ¶
func (m *GetTalkRequest) SetResultsMask(v *fieldmaskpb.FieldMask)
func (*GetTalkRequest) SetSpaceId ¶
func (m *GetTalkRequest) SetSpaceId(v string)
func (*GetTalkRequest) SetTalkIds ¶
func (m *GetTalkRequest) SetTalkIds(v []string)
func (*GetTalkRequest) String ¶
func (x *GetTalkRequest) String() string
type GetTalkResponse ¶
type GetTalkResponse struct { Talk []*Talk `protobuf:"bytes,1,rep,name=talk,proto3" json:"talk,omitempty"` // contains filtered or unexported fields }
func (*GetTalkResponse) Descriptor
deprecated
func (*GetTalkResponse) Descriptor() ([]byte, []int)
Deprecated: Use GetTalkResponse.ProtoReflect.Descriptor instead.
func (*GetTalkResponse) GetTalk ¶
func (x *GetTalkResponse) GetTalk() []*Talk
func (*GetTalkResponse) ProtoMessage ¶
func (*GetTalkResponse) ProtoMessage()
func (*GetTalkResponse) ProtoReflect ¶
func (x *GetTalkResponse) ProtoReflect() protoreflect.Message
func (*GetTalkResponse) Reset ¶
func (x *GetTalkResponse) Reset()
func (*GetTalkResponse) SetTalk ¶
func (m *GetTalkResponse) SetTalk(v []*Talk)
func (*GetTalkResponse) String ¶
func (x *GetTalkResponse) String() string
type IntRangeFilter ¶
type IntRangeFilter struct { FromValue *wrapperspb.Int64Value `protobuf:"bytes,1,opt,name=from_value,json=fromValue,proto3" json:"from_value,omitempty"` ToValue *wrapperspb.Int64Value `protobuf:"bytes,2,opt,name=to_value,json=toValue,proto3" json:"to_value,omitempty"` BoundsInclusive *BoundsInclusive `protobuf:"bytes,3,opt,name=bounds_inclusive,json=boundsInclusive,proto3" json:"bounds_inclusive,omitempty"` // contains filtered or unexported fields }
func (*IntRangeFilter) Descriptor
deprecated
func (*IntRangeFilter) Descriptor() ([]byte, []int)
Deprecated: Use IntRangeFilter.ProtoReflect.Descriptor instead.
func (*IntRangeFilter) GetBoundsInclusive ¶
func (x *IntRangeFilter) GetBoundsInclusive() *BoundsInclusive
func (*IntRangeFilter) GetFromValue ¶
func (x *IntRangeFilter) GetFromValue() *wrapperspb.Int64Value
func (*IntRangeFilter) GetToValue ¶
func (x *IntRangeFilter) GetToValue() *wrapperspb.Int64Value
func (*IntRangeFilter) ProtoMessage ¶
func (*IntRangeFilter) ProtoMessage()
func (*IntRangeFilter) ProtoReflect ¶
func (x *IntRangeFilter) ProtoReflect() protoreflect.Message
func (*IntRangeFilter) Reset ¶
func (x *IntRangeFilter) Reset()
func (*IntRangeFilter) SetBoundsInclusive ¶
func (m *IntRangeFilter) SetBoundsInclusive(v *BoundsInclusive)
func (*IntRangeFilter) SetFromValue ¶
func (m *IntRangeFilter) SetFromValue(v *wrapperspb.Int64Value)
func (*IntRangeFilter) SetToValue ¶
func (m *IntRangeFilter) SetToValue(v *wrapperspb.Int64Value)
func (*IntRangeFilter) String ¶
func (x *IntRangeFilter) String() string
type Message ¶
type Message struct { UserId string `protobuf:"bytes,1,opt,name=user_id,json=userId,proto3" json:"user_id,omitempty"` Timestamp *timestamppb.Timestamp `protobuf:"bytes,2,opt,name=timestamp,proto3" json:"timestamp,omitempty"` // Types that are assignable to Payload: // // *Message_Text Payload isMessage_Payload `protobuf_oneof:"payload"` // contains filtered or unexported fields }
func (*Message) Descriptor
deprecated
func (*Message) GetPayload ¶
func (m *Message) GetPayload() isMessage_Payload
func (*Message) GetText ¶
func (x *Message) GetText() *TextPayload
func (*Message) GetTimestamp ¶
func (x *Message) GetTimestamp() *timestamppb.Timestamp
func (*Message) ProtoMessage ¶
func (*Message) ProtoMessage()
func (*Message) ProtoReflect ¶
func (x *Message) ProtoReflect() protoreflect.Message
func (*Message) SetPayload ¶
func (m *Message) SetPayload(v Message_Payload)
func (*Message) SetText ¶
func (m *Message) SetText(v *TextPayload)
func (*Message) SetTimestamp ¶
func (m *Message) SetTimestamp(v *timestamppb.Timestamp)
type Message_Payload ¶
type Message_Payload = isMessage_Payload
type Message_Text ¶
type Message_Text struct {
Text *TextPayload `protobuf:"bytes,3,opt,name=text,proto3,oneof"`
}
type Project ¶
type Project struct { Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"` Name string `protobuf:"bytes,2,opt,name=name,proto3" json:"name,omitempty"` ConnectionId string `protobuf:"bytes,3,opt,name=connection_id,json=connectionId,proto3" json:"connection_id,omitempty"` Description string `protobuf:"bytes,4,opt,name=description,proto3" json:"description,omitempty"` CreatedBy string `protobuf:"bytes,5,opt,name=created_by,json=createdBy,proto3" json:"created_by,omitempty"` CreatedAt *timestamppb.Timestamp `protobuf:"bytes,6,opt,name=created_at,json=createdAt,proto3" json:"created_at,omitempty"` ModifiedBy string `protobuf:"bytes,7,opt,name=modified_by,json=modifiedBy,proto3" json:"modified_by,omitempty"` ModifiedAt *timestamppb.Timestamp `protobuf:"bytes,8,opt,name=modified_at,json=modifiedAt,proto3" json:"modified_at,omitempty"` Filters []*FieldFilter `protobuf:"bytes,9,rep,name=filters,proto3" json:"filters,omitempty"` // contains filtered or unexported fields }
func (*Project) Descriptor
deprecated
func (*Project) GetConnectionId ¶
func (*Project) GetCreatedAt ¶
func (x *Project) GetCreatedAt() *timestamppb.Timestamp
func (*Project) GetCreatedBy ¶
func (*Project) GetDescription ¶
func (*Project) GetFilters ¶
func (x *Project) GetFilters() []*FieldFilter
func (*Project) GetModifiedAt ¶
func (x *Project) GetModifiedAt() *timestamppb.Timestamp
func (*Project) GetModifiedBy ¶
func (*Project) ProtoMessage ¶
func (*Project) ProtoMessage()
func (*Project) ProtoReflect ¶
func (x *Project) ProtoReflect() protoreflect.Message
func (*Project) SetConnectionId ¶
func (*Project) SetCreatedAt ¶
func (m *Project) SetCreatedAt(v *timestamppb.Timestamp)
func (*Project) SetCreatedBy ¶
func (*Project) SetDescription ¶
func (*Project) SetFilters ¶
func (m *Project) SetFilters(v []*FieldFilter)
func (*Project) SetModifiedAt ¶
func (m *Project) SetModifiedAt(v *timestamppb.Timestamp)
func (*Project) SetModifiedBy ¶
type ProjectServiceClient ¶
type ProjectServiceClient interface { // rpc for creating speechsense project Create(ctx context.Context, in *CreateProjectRequest, opts ...grpc.CallOption) (*operation.Operation, error) }
ProjectServiceClient is the client API for ProjectService service.
For semantics around ctx use and closing/ending streaming RPCs, please refer to https://pkg.go.dev/google.golang.org/grpc/?tab=doc#ClientConn.NewStream.
func NewProjectServiceClient ¶
func NewProjectServiceClient(cc grpc.ClientConnInterface) ProjectServiceClient
type ProjectServiceServer ¶
type ProjectServiceServer interface { // rpc for creating speechsense project Create(context.Context, *CreateProjectRequest) (*operation.Operation, error) }
ProjectServiceServer is the server API for ProjectService service. All implementations should embed UnimplementedProjectServiceServer for forward compatibility.
type Query ¶
type Query struct { Text string `protobuf:"bytes,1,opt,name=text,proto3" json:"text,omitempty"` // should or should NOT match Inverse bool `protobuf:"varint,2,opt,name=inverse,proto3" json:"inverse,omitempty"` // id of channel to search ("1", "2", ..., any channel if not set) ChannelNumber *wrapperspb.Int64Value `protobuf:"bytes,3,opt,name=channel_number,json=channelNumber,proto3" json:"channel_number,omitempty"` // contains filtered or unexported fields }
func (*Query) Descriptor
deprecated
func (*Query) GetChannelNumber ¶
func (x *Query) GetChannelNumber() *wrapperspb.Int64Value
func (*Query) GetInverse ¶
func (*Query) ProtoMessage ¶
func (*Query) ProtoMessage()
func (*Query) ProtoReflect ¶
func (x *Query) ProtoReflect() protoreflect.Message
func (*Query) SetChannelNumber ¶
func (m *Query) SetChannelNumber(v *wrapperspb.Int64Value)
func (*Query) SetInverse ¶
type RawAudio ¶
type RawAudio struct { // Type of audio encoding AudioEncoding RawAudio_AudioEncoding `` /* 157-byte string literal not displayed */ // PCM sample rate SampleRateHertz int64 `protobuf:"varint,2,opt,name=sample_rate_hertz,json=sampleRateHertz,proto3" json:"sample_rate_hertz,omitempty"` // PCM channel count. AudioChannelCount int64 `protobuf:"varint,3,opt,name=audio_channel_count,json=audioChannelCount,proto3" json:"audio_channel_count,omitempty"` // contains filtered or unexported fields }
RAW Audio format spec (no container to infer type). Used in AudioFormat options.
func (*RawAudio) Descriptor
deprecated
func (*RawAudio) GetAudioChannelCount ¶
func (*RawAudio) GetAudioEncoding ¶
func (x *RawAudio) GetAudioEncoding() RawAudio_AudioEncoding
func (*RawAudio) GetSampleRateHertz ¶
func (*RawAudio) ProtoMessage ¶
func (*RawAudio) ProtoMessage()
func (*RawAudio) ProtoReflect ¶
func (x *RawAudio) ProtoReflect() protoreflect.Message
func (*RawAudio) SetAudioChannelCount ¶
func (*RawAudio) SetAudioEncoding ¶
func (m *RawAudio) SetAudioEncoding(v RawAudio_AudioEncoding)
func (*RawAudio) SetSampleRateHertz ¶
type RawAudio_AudioEncoding ¶
type RawAudio_AudioEncoding int32
const ( RawAudio_AUDIO_ENCODING_UNSPECIFIED RawAudio_AudioEncoding = 0 // Audio bit depth 16-bit signed little-endian (Linear PCM). RawAudio_AUDIO_ENCODING_LINEAR16_PCM RawAudio_AudioEncoding = 1 )
func (RawAudio_AudioEncoding) Descriptor ¶
func (RawAudio_AudioEncoding) Descriptor() protoreflect.EnumDescriptor
func (RawAudio_AudioEncoding) Enum ¶
func (x RawAudio_AudioEncoding) Enum() *RawAudio_AudioEncoding
func (RawAudio_AudioEncoding) EnumDescriptor
deprecated
func (RawAudio_AudioEncoding) EnumDescriptor() ([]byte, []int)
Deprecated: Use RawAudio_AudioEncoding.Descriptor instead.
func (RawAudio_AudioEncoding) Number ¶
func (x RawAudio_AudioEncoding) Number() protoreflect.EnumNumber
func (RawAudio_AudioEncoding) String ¶
func (x RawAudio_AudioEncoding) String() string
func (RawAudio_AudioEncoding) Type ¶
func (RawAudio_AudioEncoding) Type() protoreflect.EnumType
type SearchTalkRequest ¶
type SearchTalkRequest struct { // id of organization OrganizationId string `protobuf:"bytes,1,opt,name=organization_id,json=organizationId,proto3" json:"organization_id,omitempty"` // id of space SpaceId string `protobuf:"bytes,2,opt,name=space_id,json=spaceId,proto3" json:"space_id,omitempty"` // id of connection ConnectionId string `protobuf:"bytes,3,opt,name=connection_id,json=connectionId,proto3" json:"connection_id,omitempty"` // id of project ProjectId string `protobuf:"bytes,4,opt,name=project_id,json=projectId,proto3" json:"project_id,omitempty"` // metadata keys filters (user and system) Filters []*Filter `protobuf:"bytes,5,rep,name=filters,proto3" json:"filters,omitempty"` // Full-text search query Query *Query `protobuf:"bytes,6,opt,name=query,proto3" json:"query,omitempty"` // page size, from 1 to 1000, default 100 PageSize int64 `protobuf:"varint,7,opt,name=page_size,json=pageSize,proto3" json:"page_size,omitempty"` // next page token, if page is not first PageToken string `protobuf:"bytes,8,opt,name=page_token,json=pageToken,proto3" json:"page_token,omitempty"` // talks sorting options SortData *SortData `protobuf:"bytes,9,opt,name=sort_data,json=sortData,proto3" json:"sort_data,omitempty"` // contains filtered or unexported fields }
func (*SearchTalkRequest) Descriptor
deprecated
func (*SearchTalkRequest) Descriptor() ([]byte, []int)
Deprecated: Use SearchTalkRequest.ProtoReflect.Descriptor instead.
func (*SearchTalkRequest) GetConnectionId ¶
func (x *SearchTalkRequest) GetConnectionId() string
func (*SearchTalkRequest) GetFilters ¶
func (x *SearchTalkRequest) GetFilters() []*Filter
func (*SearchTalkRequest) GetOrganizationId ¶
func (x *SearchTalkRequest) GetOrganizationId() string
func (*SearchTalkRequest) GetPageSize ¶
func (x *SearchTalkRequest) GetPageSize() int64
func (*SearchTalkRequest) GetPageToken ¶
func (x *SearchTalkRequest) GetPageToken() string
func (*SearchTalkRequest) GetProjectId ¶
func (x *SearchTalkRequest) GetProjectId() string
func (*SearchTalkRequest) GetQuery ¶
func (x *SearchTalkRequest) GetQuery() *Query
func (*SearchTalkRequest) GetSortData ¶
func (x *SearchTalkRequest) GetSortData() *SortData
func (*SearchTalkRequest) GetSpaceId ¶
func (x *SearchTalkRequest) GetSpaceId() string
func (*SearchTalkRequest) ProtoMessage ¶
func (*SearchTalkRequest) ProtoMessage()
func (*SearchTalkRequest) ProtoReflect ¶
func (x *SearchTalkRequest) ProtoReflect() protoreflect.Message
func (*SearchTalkRequest) Reset ¶
func (x *SearchTalkRequest) Reset()
func (*SearchTalkRequest) SetConnectionId ¶
func (m *SearchTalkRequest) SetConnectionId(v string)
func (*SearchTalkRequest) SetFilters ¶
func (m *SearchTalkRequest) SetFilters(v []*Filter)
func (*SearchTalkRequest) SetOrganizationId ¶
func (m *SearchTalkRequest) SetOrganizationId(v string)
func (*SearchTalkRequest) SetPageSize ¶
func (m *SearchTalkRequest) SetPageSize(v int64)
func (*SearchTalkRequest) SetPageToken ¶
func (m *SearchTalkRequest) SetPageToken(v string)
func (*SearchTalkRequest) SetProjectId ¶
func (m *SearchTalkRequest) SetProjectId(v string)
func (*SearchTalkRequest) SetQuery ¶
func (m *SearchTalkRequest) SetQuery(v *Query)
func (*SearchTalkRequest) SetSortData ¶
func (m *SearchTalkRequest) SetSortData(v *SortData)
func (*SearchTalkRequest) SetSpaceId ¶
func (m *SearchTalkRequest) SetSpaceId(v string)
func (*SearchTalkRequest) String ¶
func (x *SearchTalkRequest) String() string
type SearchTalkResponse ¶
type SearchTalkResponse struct { // page results entries TalkIds []string `protobuf:"bytes,1,rep,name=talk_ids,json=talkIds,proto3" json:"talk_ids,omitempty"` // total documents matched TalksCount int64 `protobuf:"varint,2,opt,name=talks_count,json=talksCount,proto3" json:"talks_count,omitempty"` // page token for next request NextPageToken string `protobuf:"bytes,3,opt,name=next_page_token,json=nextPageToken,proto3" json:"next_page_token,omitempty"` // contains filtered or unexported fields }
func (*SearchTalkResponse) Descriptor
deprecated
func (*SearchTalkResponse) Descriptor() ([]byte, []int)
Deprecated: Use SearchTalkResponse.ProtoReflect.Descriptor instead.
func (*SearchTalkResponse) GetNextPageToken ¶
func (x *SearchTalkResponse) GetNextPageToken() string
func (*SearchTalkResponse) GetTalkIds ¶
func (x *SearchTalkResponse) GetTalkIds() []string
func (*SearchTalkResponse) GetTalksCount ¶
func (x *SearchTalkResponse) GetTalksCount() int64
func (*SearchTalkResponse) ProtoMessage ¶
func (*SearchTalkResponse) ProtoMessage()
func (*SearchTalkResponse) ProtoReflect ¶
func (x *SearchTalkResponse) ProtoReflect() protoreflect.Message
func (*SearchTalkResponse) Reset ¶
func (x *SearchTalkResponse) Reset()
func (*SearchTalkResponse) SetNextPageToken ¶
func (m *SearchTalkResponse) SetNextPageToken(v string)
func (*SearchTalkResponse) SetTalkIds ¶
func (m *SearchTalkResponse) SetTalkIds(v []string)
func (*SearchTalkResponse) SetTalksCount ¶
func (m *SearchTalkResponse) SetTalksCount(v int64)
func (*SearchTalkResponse) String ¶
func (x *SearchTalkResponse) String() string
type SortData ¶
type SortData struct { Fields []*SortField `protobuf:"bytes,1,rep,name=fields,proto3" json:"fields,omitempty"` // contains filtered or unexported fields }
func (*SortData) Descriptor
deprecated
func (*SortData) ProtoMessage ¶
func (*SortData) ProtoMessage()
func (*SortData) ProtoReflect ¶
func (x *SortData) ProtoReflect() protoreflect.Message
type SortField ¶
type SortField struct { // sorting key Field string `protobuf:"bytes,1,opt,name=field,proto3" json:"field,omitempty"` // sorting order by current `field` Order SortOrder `protobuf:"varint,2,opt,name=order,proto3,enum=yandex.cloud.speechsense.v1.SortOrder" json:"order,omitempty"` // number of field in comparing order (sort by key1 (position = 0), then key2 (position = 1), then key3...) Position int64 `protobuf:"varint,3,opt,name=position,proto3" json:"position,omitempty"` // contains filtered or unexported fields }
func (*SortField) Descriptor
deprecated
func (*SortField) GetPosition ¶
func (*SortField) ProtoMessage ¶
func (*SortField) ProtoMessage()
func (*SortField) ProtoReflect ¶
func (x *SortField) ProtoReflect() protoreflect.Message
func (*SortField) SetPosition ¶
type SortOrder ¶
type SortOrder int32
func (SortOrder) Descriptor ¶
func (SortOrder) Descriptor() protoreflect.EnumDescriptor
func (SortOrder) EnumDescriptor
deprecated
func (SortOrder) Number ¶
func (x SortOrder) Number() protoreflect.EnumNumber
func (SortOrder) Type ¶
func (SortOrder) Type() protoreflect.EnumType
type StreamTalkRequest ¶
type StreamTalkRequest struct { // Types that are assignable to Event: // // *StreamTalkRequest_Metadata // *StreamTalkRequest_Audio Event isStreamTalkRequest_Event `protobuf_oneof:"Event"` // contains filtered or unexported fields }
streaming request to create audio dialog
func (*StreamTalkRequest) Descriptor
deprecated
func (*StreamTalkRequest) Descriptor() ([]byte, []int)
Deprecated: Use StreamTalkRequest.ProtoReflect.Descriptor instead.
func (*StreamTalkRequest) GetAudio ¶
func (x *StreamTalkRequest) GetAudio() *AudioStreamingRequest
func (*StreamTalkRequest) GetEvent ¶
func (m *StreamTalkRequest) GetEvent() isStreamTalkRequest_Event
func (*StreamTalkRequest) GetMetadata ¶
func (x *StreamTalkRequest) GetMetadata() *TalkMetadata
func (*StreamTalkRequest) ProtoMessage ¶
func (*StreamTalkRequest) ProtoMessage()
func (*StreamTalkRequest) ProtoReflect ¶
func (x *StreamTalkRequest) ProtoReflect() protoreflect.Message
func (*StreamTalkRequest) Reset ¶
func (x *StreamTalkRequest) Reset()
func (*StreamTalkRequest) SetAudio ¶
func (m *StreamTalkRequest) SetAudio(v *AudioStreamingRequest)
func (*StreamTalkRequest) SetEvent ¶
func (m *StreamTalkRequest) SetEvent(v StreamTalkRequest_Event)
func (*StreamTalkRequest) SetMetadata ¶
func (m *StreamTalkRequest) SetMetadata(v *TalkMetadata)
func (*StreamTalkRequest) String ¶
func (x *StreamTalkRequest) String() string
type StreamTalkRequest_Audio ¶
type StreamTalkRequest_Audio struct { // audio metadata or chunk Audio *AudioStreamingRequest `protobuf:"bytes,2,opt,name=audio,proto3,oneof"` }
type StreamTalkRequest_Event ¶
type StreamTalkRequest_Event = isStreamTalkRequest_Event
type StreamTalkRequest_Metadata ¶
type StreamTalkRequest_Metadata struct { // talk document metadata containing channel id and channel field values Metadata *TalkMetadata `protobuf:"bytes,1,opt,name=metadata,proto3,oneof"` }
type Talk ¶
type Talk struct { // talk id Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"` OrganizationId string `protobuf:"bytes,2,opt,name=organization_id,json=organizationId,proto3" json:"organization_id,omitempty"` SpaceId string `protobuf:"bytes,3,opt,name=space_id,json=spaceId,proto3" json:"space_id,omitempty"` ConnectionId string `protobuf:"bytes,4,opt,name=connection_id,json=connectionId,proto3" json:"connection_id,omitempty"` ProjectIds []string `protobuf:"bytes,5,rep,name=project_ids,json=projectIds,proto3" json:"project_ids,omitempty"` // audition info CreatedBy string `protobuf:"bytes,6,opt,name=created_by,json=createdBy,proto3" json:"created_by,omitempty"` CreatedAt *timestamppb.Timestamp `protobuf:"bytes,7,opt,name=created_at,json=createdAt,proto3" json:"created_at,omitempty"` ModifiedBy string `protobuf:"bytes,8,opt,name=modified_by,json=modifiedBy,proto3" json:"modified_by,omitempty"` ModifiedAt *timestamppb.Timestamp `protobuf:"bytes,9,opt,name=modified_at,json=modifiedAt,proto3" json:"modified_at,omitempty"` // key-value representation of talk fields with values TalkFields []*Field `protobuf:"bytes,10,rep,name=talk_fields,json=talkFields,proto3" json:"talk_fields,omitempty"` // various ml analysis results Transcription *analysis.Transcription `protobuf:"bytes,11,opt,name=transcription,proto3" json:"transcription,omitempty"` SpeechStatistics *analysis.SpeechStatistics `protobuf:"bytes,12,opt,name=speech_statistics,json=speechStatistics,proto3" json:"speech_statistics,omitempty"` SilenceStatistics *analysis.SilenceStatistics `protobuf:"bytes,13,opt,name=silence_statistics,json=silenceStatistics,proto3" json:"silence_statistics,omitempty"` InterruptsStatistics *analysis.InterruptsStatistics `protobuf:"bytes,14,opt,name=interrupts_statistics,json=interruptsStatistics,proto3" json:"interrupts_statistics,omitempty"` ConversationStatistics *analysis.ConversationStatistics `` /* 128-byte string literal not displayed */ Points *analysis.Points `protobuf:"bytes,16,opt,name=points,proto3" json:"points,omitempty"` TextClassifiers *analysis.TextClassifiers `protobuf:"bytes,17,opt,name=text_classifiers,json=textClassifiers,proto3" json:"text_classifiers,omitempty"` Summarization *analysis.Summarization `protobuf:"bytes,18,opt,name=summarization,proto3" json:"summarization,omitempty"` // contains filtered or unexported fields }
func (*Talk) Descriptor
deprecated
func (*Talk) GetConnectionId ¶
func (*Talk) GetConversationStatistics ¶
func (x *Talk) GetConversationStatistics() *analysis.ConversationStatistics
func (*Talk) GetCreatedAt ¶
func (x *Talk) GetCreatedAt() *timestamppb.Timestamp
func (*Talk) GetCreatedBy ¶
func (*Talk) GetInterruptsStatistics ¶
func (x *Talk) GetInterruptsStatistics() *analysis.InterruptsStatistics
func (*Talk) GetModifiedAt ¶
func (x *Talk) GetModifiedAt() *timestamppb.Timestamp
func (*Talk) GetModifiedBy ¶
func (*Talk) GetOrganizationId ¶
func (*Talk) GetProjectIds ¶
func (*Talk) GetSilenceStatistics ¶
func (x *Talk) GetSilenceStatistics() *analysis.SilenceStatistics
func (*Talk) GetSpaceId ¶
func (*Talk) GetSpeechStatistics ¶
func (x *Talk) GetSpeechStatistics() *analysis.SpeechStatistics
func (*Talk) GetSummarization ¶
func (x *Talk) GetSummarization() *analysis.Summarization
func (*Talk) GetTalkFields ¶
func (*Talk) GetTextClassifiers ¶
func (x *Talk) GetTextClassifiers() *analysis.TextClassifiers
func (*Talk) GetTranscription ¶
func (x *Talk) GetTranscription() *analysis.Transcription
func (*Talk) ProtoMessage ¶
func (*Talk) ProtoMessage()
func (*Talk) ProtoReflect ¶
func (x *Talk) ProtoReflect() protoreflect.Message
func (*Talk) SetConnectionId ¶
func (*Talk) SetConversationStatistics ¶
func (m *Talk) SetConversationStatistics(v *analysis.ConversationStatistics)
func (*Talk) SetCreatedAt ¶
func (m *Talk) SetCreatedAt(v *timestamppb.Timestamp)
func (*Talk) SetCreatedBy ¶
func (*Talk) SetInterruptsStatistics ¶
func (m *Talk) SetInterruptsStatistics(v *analysis.InterruptsStatistics)
func (*Talk) SetModifiedAt ¶
func (m *Talk) SetModifiedAt(v *timestamppb.Timestamp)
func (*Talk) SetModifiedBy ¶
func (*Talk) SetOrganizationId ¶
func (*Talk) SetProjectIds ¶
func (*Talk) SetSilenceStatistics ¶
func (m *Talk) SetSilenceStatistics(v *analysis.SilenceStatistics)
func (*Talk) SetSpaceId ¶
func (*Talk) SetSpeechStatistics ¶
func (m *Talk) SetSpeechStatistics(v *analysis.SpeechStatistics)
func (*Talk) SetSummarization ¶
func (m *Talk) SetSummarization(v *analysis.Summarization)
func (*Talk) SetTalkFields ¶
func (*Talk) SetTextClassifiers ¶
func (m *Talk) SetTextClassifiers(v *analysis.TextClassifiers)
func (*Talk) SetTranscription ¶
func (m *Talk) SetTranscription(v *analysis.Transcription)
type TalkMetadata ¶
type TalkMetadata struct { // id of connection this talk belongs too ConnectionId string `protobuf:"bytes,1,opt,name=connection_id,json=connectionId,proto3" json:"connection_id,omitempty"` // channel defined fields Fields map[string]string `` /* 153-byte string literal not displayed */ // per user specific metadata Users []*UserMetadata `protobuf:"bytes,3,rep,name=users,proto3" json:"users,omitempty"` // contains filtered or unexported fields }
func (*TalkMetadata) Descriptor
deprecated
func (*TalkMetadata) Descriptor() ([]byte, []int)
Deprecated: Use TalkMetadata.ProtoReflect.Descriptor instead.
func (*TalkMetadata) GetConnectionId ¶
func (x *TalkMetadata) GetConnectionId() string
func (*TalkMetadata) GetFields ¶
func (x *TalkMetadata) GetFields() map[string]string
func (*TalkMetadata) GetUsers ¶
func (x *TalkMetadata) GetUsers() []*UserMetadata
func (*TalkMetadata) ProtoMessage ¶
func (*TalkMetadata) ProtoMessage()
func (*TalkMetadata) ProtoReflect ¶
func (x *TalkMetadata) ProtoReflect() protoreflect.Message
func (*TalkMetadata) Reset ¶
func (x *TalkMetadata) Reset()
func (*TalkMetadata) SetConnectionId ¶
func (m *TalkMetadata) SetConnectionId(v string)
func (*TalkMetadata) SetFields ¶
func (m *TalkMetadata) SetFields(v map[string]string)
func (*TalkMetadata) SetUsers ¶
func (m *TalkMetadata) SetUsers(v []*UserMetadata)
func (*TalkMetadata) String ¶
func (x *TalkMetadata) String() string
type TalkServiceClient ¶
type TalkServiceClient interface { // rpc for streaming talk documents. First message should contain Talk related metadata, // second - audio metadata, others should contain audio bytes in chunks UploadAsStream(ctx context.Context, opts ...grpc.CallOption) (grpc.ClientStreamingClient[StreamTalkRequest, UploadTalkResponse], error) // rpc for uploading talk document as single message Upload(ctx context.Context, in *UploadTalkRequest, opts ...grpc.CallOption) (*UploadTalkResponse, error) // rpc for uploading text talk document UploadText(ctx context.Context, in *UploadTextRequest, opts ...grpc.CallOption) (*UploadTextResponse, error) // rpc for searching talks. will return ids only Search(ctx context.Context, in *SearchTalkRequest, opts ...grpc.CallOption) (*SearchTalkResponse, error) // rpc for bulk get Get(ctx context.Context, in *GetTalkRequest, opts ...grpc.CallOption) (*GetTalkResponse, error) }
TalkServiceClient is the client API for TalkService service.
For semantics around ctx use and closing/ending streaming RPCs, please refer to https://pkg.go.dev/google.golang.org/grpc/?tab=doc#ClientConn.NewStream.
func NewTalkServiceClient ¶
func NewTalkServiceClient(cc grpc.ClientConnInterface) TalkServiceClient
type TalkServiceServer ¶
type TalkServiceServer interface { // rpc for streaming talk documents. First message should contain Talk related metadata, // second - audio metadata, others should contain audio bytes in chunks UploadAsStream(grpc.ClientStreamingServer[StreamTalkRequest, UploadTalkResponse]) error // rpc for uploading talk document as single message Upload(context.Context, *UploadTalkRequest) (*UploadTalkResponse, error) // rpc for uploading text talk document UploadText(context.Context, *UploadTextRequest) (*UploadTextResponse, error) // rpc for searching talks. will return ids only Search(context.Context, *SearchTalkRequest) (*SearchTalkResponse, error) // rpc for bulk get Get(context.Context, *GetTalkRequest) (*GetTalkResponse, error) }
TalkServiceServer is the server API for TalkService service. All implementations should embed UnimplementedTalkServiceServer for forward compatibility.
type TalkService_UploadAsStreamClient ¶
type TalkService_UploadAsStreamClient = grpc.ClientStreamingClient[StreamTalkRequest, UploadTalkResponse]
This type alias is provided for backwards compatibility with existing code that references the prior non-generic stream type by name.
type TalkService_UploadAsStreamServer ¶
type TalkService_UploadAsStreamServer = grpc.ClientStreamingServer[StreamTalkRequest, UploadTalkResponse]
This type alias is provided for backwards compatibility with existing code that references the prior non-generic stream type by name.
type TextContent ¶
type TextContent struct { Messages []*Message `protobuf:"bytes,1,rep,name=messages,proto3" json:"messages,omitempty"` // contains filtered or unexported fields }
func (*TextContent) Descriptor
deprecated
func (*TextContent) Descriptor() ([]byte, []int)
Deprecated: Use TextContent.ProtoReflect.Descriptor instead.
func (*TextContent) GetMessages ¶
func (x *TextContent) GetMessages() []*Message
func (*TextContent) ProtoMessage ¶
func (*TextContent) ProtoMessage()
func (*TextContent) ProtoReflect ¶
func (x *TextContent) ProtoReflect() protoreflect.Message
func (*TextContent) Reset ¶
func (x *TextContent) Reset()
func (*TextContent) SetMessages ¶
func (m *TextContent) SetMessages(v []*Message)
func (*TextContent) String ¶
func (x *TextContent) String() string
type TextPayload ¶
type TextPayload struct { Text string `protobuf:"bytes,1,opt,name=text,proto3" json:"text,omitempty"` // contains filtered or unexported fields }
func (*TextPayload) Descriptor
deprecated
func (*TextPayload) Descriptor() ([]byte, []int)
Deprecated: Use TextPayload.ProtoReflect.Descriptor instead.
func (*TextPayload) GetText ¶
func (x *TextPayload) GetText() string
func (*TextPayload) ProtoMessage ¶
func (*TextPayload) ProtoMessage()
func (*TextPayload) ProtoReflect ¶
func (x *TextPayload) ProtoReflect() protoreflect.Message
func (*TextPayload) Reset ¶
func (x *TextPayload) Reset()
func (*TextPayload) SetText ¶
func (m *TextPayload) SetText(v string)
func (*TextPayload) String ¶
func (x *TextPayload) String() string
type UnimplementedProjectServiceServer ¶
type UnimplementedProjectServiceServer struct{}
UnimplementedProjectServiceServer should be embedded to have forward compatible implementations.
NOTE: this should be embedded by value instead of pointer to avoid a nil pointer dereference when methods are called.
func (UnimplementedProjectServiceServer) Create ¶
func (UnimplementedProjectServiceServer) Create(context.Context, *CreateProjectRequest) (*operation.Operation, error)
type UnimplementedTalkServiceServer ¶
type UnimplementedTalkServiceServer struct{}
UnimplementedTalkServiceServer should be embedded to have forward compatible implementations.
NOTE: this should be embedded by value instead of pointer to avoid a nil pointer dereference when methods are called.
func (UnimplementedTalkServiceServer) Get ¶
func (UnimplementedTalkServiceServer) Get(context.Context, *GetTalkRequest) (*GetTalkResponse, error)
func (UnimplementedTalkServiceServer) Search ¶
func (UnimplementedTalkServiceServer) Search(context.Context, *SearchTalkRequest) (*SearchTalkResponse, error)
func (UnimplementedTalkServiceServer) Upload ¶
func (UnimplementedTalkServiceServer) Upload(context.Context, *UploadTalkRequest) (*UploadTalkResponse, error)
func (UnimplementedTalkServiceServer) UploadAsStream ¶
func (UnimplementedTalkServiceServer) UploadAsStream(grpc.ClientStreamingServer[StreamTalkRequest, UploadTalkResponse]) error
func (UnimplementedTalkServiceServer) UploadText ¶
func (UnimplementedTalkServiceServer) UploadText(context.Context, *UploadTextRequest) (*UploadTextResponse, error)
type UnsafeProjectServiceServer ¶
type UnsafeProjectServiceServer interface {
// contains filtered or unexported methods
}
UnsafeProjectServiceServer may be embedded to opt out of forward compatibility for this service. Use of this interface is not recommended, as added methods to ProjectServiceServer will result in compilation errors.
type UnsafeTalkServiceServer ¶
type UnsafeTalkServiceServer interface {
// contains filtered or unexported methods
}
UnsafeTalkServiceServer may be embedded to opt out of forward compatibility for this service. Use of this interface is not recommended, as added methods to TalkServiceServer will result in compilation errors.
type UploadTalkRequest ¶
type UploadTalkRequest struct { Metadata *TalkMetadata `protobuf:"bytes,1,opt,name=metadata,proto3" json:"metadata,omitempty"` // audio payload Audio *AudioRequest `protobuf:"bytes,2,opt,name=audio,proto3" json:"audio,omitempty"` // contains filtered or unexported fields }
request to create audio dialog
func (*UploadTalkRequest) Descriptor
deprecated
func (*UploadTalkRequest) Descriptor() ([]byte, []int)
Deprecated: Use UploadTalkRequest.ProtoReflect.Descriptor instead.
func (*UploadTalkRequest) GetAudio ¶
func (x *UploadTalkRequest) GetAudio() *AudioRequest
func (*UploadTalkRequest) GetMetadata ¶
func (x *UploadTalkRequest) GetMetadata() *TalkMetadata
func (*UploadTalkRequest) ProtoMessage ¶
func (*UploadTalkRequest) ProtoMessage()
func (*UploadTalkRequest) ProtoReflect ¶
func (x *UploadTalkRequest) ProtoReflect() protoreflect.Message
func (*UploadTalkRequest) Reset ¶
func (x *UploadTalkRequest) Reset()
func (*UploadTalkRequest) SetAudio ¶
func (m *UploadTalkRequest) SetAudio(v *AudioRequest)
func (*UploadTalkRequest) SetMetadata ¶
func (m *UploadTalkRequest) SetMetadata(v *TalkMetadata)
func (*UploadTalkRequest) String ¶
func (x *UploadTalkRequest) String() string
type UploadTalkResponse ¶
type UploadTalkResponse struct { // id of created talk document TalkId string `protobuf:"bytes,1,opt,name=talk_id,json=talkId,proto3" json:"talk_id,omitempty"` // contains filtered or unexported fields }
func (*UploadTalkResponse) Descriptor
deprecated
func (*UploadTalkResponse) Descriptor() ([]byte, []int)
Deprecated: Use UploadTalkResponse.ProtoReflect.Descriptor instead.
func (*UploadTalkResponse) GetTalkId ¶
func (x *UploadTalkResponse) GetTalkId() string
func (*UploadTalkResponse) ProtoMessage ¶
func (*UploadTalkResponse) ProtoMessage()
func (*UploadTalkResponse) ProtoReflect ¶
func (x *UploadTalkResponse) ProtoReflect() protoreflect.Message
func (*UploadTalkResponse) Reset ¶
func (x *UploadTalkResponse) Reset()
func (*UploadTalkResponse) SetTalkId ¶
func (m *UploadTalkResponse) SetTalkId(v string)
func (*UploadTalkResponse) String ¶
func (x *UploadTalkResponse) String() string
type UploadTextRequest ¶
type UploadTextRequest struct { Metadata *TalkMetadata `protobuf:"bytes,1,opt,name=metadata,proto3" json:"metadata,omitempty"` TextContent *TextContent `protobuf:"bytes,2,opt,name=text_content,json=textContent,proto3" json:"text_content,omitempty"` // contains filtered or unexported fields }
request to create text based dialog
func (*UploadTextRequest) Descriptor
deprecated
func (*UploadTextRequest) Descriptor() ([]byte, []int)
Deprecated: Use UploadTextRequest.ProtoReflect.Descriptor instead.
func (*UploadTextRequest) GetMetadata ¶
func (x *UploadTextRequest) GetMetadata() *TalkMetadata
func (*UploadTextRequest) GetTextContent ¶
func (x *UploadTextRequest) GetTextContent() *TextContent
func (*UploadTextRequest) ProtoMessage ¶
func (*UploadTextRequest) ProtoMessage()
func (*UploadTextRequest) ProtoReflect ¶
func (x *UploadTextRequest) ProtoReflect() protoreflect.Message
func (*UploadTextRequest) Reset ¶
func (x *UploadTextRequest) Reset()
func (*UploadTextRequest) SetMetadata ¶
func (m *UploadTextRequest) SetMetadata(v *TalkMetadata)
func (*UploadTextRequest) SetTextContent ¶
func (m *UploadTextRequest) SetTextContent(v *TextContent)
func (*UploadTextRequest) String ¶
func (x *UploadTextRequest) String() string
type UploadTextResponse ¶
type UploadTextResponse struct { // id of created talk document TalkId string `protobuf:"bytes,1,opt,name=talk_id,json=talkId,proto3" json:"talk_id,omitempty"` // contains filtered or unexported fields }
func (*UploadTextResponse) Descriptor
deprecated
func (*UploadTextResponse) Descriptor() ([]byte, []int)
Deprecated: Use UploadTextResponse.ProtoReflect.Descriptor instead.
func (*UploadTextResponse) GetTalkId ¶
func (x *UploadTextResponse) GetTalkId() string
func (*UploadTextResponse) ProtoMessage ¶
func (*UploadTextResponse) ProtoMessage()
func (*UploadTextResponse) ProtoReflect ¶
func (x *UploadTextResponse) ProtoReflect() protoreflect.Message
func (*UploadTextResponse) Reset ¶
func (x *UploadTextResponse) Reset()
func (*UploadTextResponse) SetTalkId ¶
func (m *UploadTextResponse) SetTalkId(v string)
func (*UploadTextResponse) String ¶
func (x *UploadTextResponse) String() string
type UserMetadata ¶
type UserMetadata struct { Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"` Role UserRole `protobuf:"varint,2,opt,name=role,proto3,enum=yandex.cloud.speechsense.v1.UserRole" json:"role,omitempty"` Fields map[string]string `` /* 153-byte string literal not displayed */ // contains filtered or unexported fields }
func (*UserMetadata) Descriptor
deprecated
func (*UserMetadata) Descriptor() ([]byte, []int)
Deprecated: Use UserMetadata.ProtoReflect.Descriptor instead.
func (*UserMetadata) GetFields ¶
func (x *UserMetadata) GetFields() map[string]string
func (*UserMetadata) GetId ¶
func (x *UserMetadata) GetId() string
func (*UserMetadata) GetRole ¶
func (x *UserMetadata) GetRole() UserRole
func (*UserMetadata) ProtoMessage ¶
func (*UserMetadata) ProtoMessage()
func (*UserMetadata) ProtoReflect ¶
func (x *UserMetadata) ProtoReflect() protoreflect.Message
func (*UserMetadata) Reset ¶
func (x *UserMetadata) Reset()
func (*UserMetadata) SetFields ¶
func (m *UserMetadata) SetFields(v map[string]string)
func (*UserMetadata) SetId ¶
func (m *UserMetadata) SetId(v string)
func (*UserMetadata) SetRole ¶
func (m *UserMetadata) SetRole(v UserRole)
func (*UserMetadata) String ¶
func (x *UserMetadata) String() string
type UserRole ¶
type UserRole int32
func (UserRole) Descriptor ¶
func (UserRole) Descriptor() protoreflect.EnumDescriptor
func (UserRole) EnumDescriptor
deprecated
func (UserRole) Number ¶
func (x UserRole) Number() protoreflect.EnumNumber
func (UserRole) Type ¶
func (UserRole) Type() protoreflect.EnumType