stt

package
v0.0.0-...-aeb3b05 Latest Latest
Warning

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

Go to latest
Published: Dec 20, 2024 License: MIT Imports: 12 Imported by: 4

Documentation

Index

Constants

View Source
const (
	SttService_LongRunningRecognize_FullMethodName = "/yandex.cloud.ai.stt.v2.SttService/LongRunningRecognize"
	SttService_StreamingRecognize_FullMethodName   = "/yandex.cloud.ai.stt.v2.SttService/StreamingRecognize"
)

Variables

View Source
var (
	RecognitionSpec_AudioEncoding_name = map[int32]string{
		0: "AUDIO_ENCODING_UNSPECIFIED",
		1: "LINEAR16_PCM",
		2: "OGG_OPUS",
		3: "MP3",
	}
	RecognitionSpec_AudioEncoding_value = map[string]int32{
		"AUDIO_ENCODING_UNSPECIFIED": 0,
		"LINEAR16_PCM":               1,
		"OGG_OPUS":                   2,
		"MP3":                        3,
	}
)

Enum value maps for RecognitionSpec_AudioEncoding.

View Source
var File_yandex_cloud_ai_stt_v2_stt_service_proto protoreflect.FileDescriptor
View Source
var SttService_ServiceDesc = grpc.ServiceDesc{
	ServiceName: "yandex.cloud.ai.stt.v2.SttService",
	HandlerType: (*SttServiceServer)(nil),
	Methods: []grpc.MethodDesc{
		{
			MethodName: "LongRunningRecognize",
			Handler:    _SttService_LongRunningRecognize_Handler,
		},
	},
	Streams: []grpc.StreamDesc{
		{
			StreamName:    "StreamingRecognize",
			Handler:       _SttService_StreamingRecognize_Handler,
			ServerStreams: true,
			ClientStreams: true,
		},
	},
	Metadata: "yandex/cloud/ai/stt/v2/stt_service.proto",
}

SttService_ServiceDesc is the grpc.ServiceDesc for SttService service. It's only intended for direct use with grpc.RegisterService, and not to be introspected or modified (even as a copy)

Functions

func RegisterSttServiceServer

func RegisterSttServiceServer(s grpc.ServiceRegistrar, srv SttServiceServer)

Types

type LongRunningRecognitionRequest

type LongRunningRecognitionRequest struct {
	Config *RecognitionConfig `protobuf:"bytes,1,opt,name=config,proto3" json:"config,omitempty"`
	Audio  *RecognitionAudio  `protobuf:"bytes,2,opt,name=audio,proto3" json:"audio,omitempty"`
	// contains filtered or unexported fields
}

func (*LongRunningRecognitionRequest) Descriptor deprecated

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

Deprecated: Use LongRunningRecognitionRequest.ProtoReflect.Descriptor instead.

func (*LongRunningRecognitionRequest) GetAudio

func (*LongRunningRecognitionRequest) GetConfig

func (*LongRunningRecognitionRequest) ProtoMessage

func (*LongRunningRecognitionRequest) ProtoMessage()

func (*LongRunningRecognitionRequest) ProtoReflect

func (*LongRunningRecognitionRequest) Reset

func (x *LongRunningRecognitionRequest) Reset()

func (*LongRunningRecognitionRequest) SetAudio

func (*LongRunningRecognitionRequest) SetConfig

func (*LongRunningRecognitionRequest) String

type LongRunningRecognitionResponse

type LongRunningRecognitionResponse struct {
	Chunks []*SpeechRecognitionResult `protobuf:"bytes,1,rep,name=chunks,proto3" json:"chunks,omitempty"`
	// contains filtered or unexported fields
}

func (*LongRunningRecognitionResponse) Descriptor deprecated

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

Deprecated: Use LongRunningRecognitionResponse.ProtoReflect.Descriptor instead.

func (*LongRunningRecognitionResponse) GetChunks

func (*LongRunningRecognitionResponse) ProtoMessage

func (*LongRunningRecognitionResponse) ProtoMessage()

func (*LongRunningRecognitionResponse) ProtoReflect

func (*LongRunningRecognitionResponse) Reset

func (x *LongRunningRecognitionResponse) Reset()

func (*LongRunningRecognitionResponse) SetChunks

func (*LongRunningRecognitionResponse) String

type RecognitionAudio

type RecognitionAudio struct {

	// Types that are assignable to AudioSource:
	//
	//	*RecognitionAudio_Content
	//	*RecognitionAudio_Uri
	AudioSource isRecognitionAudio_AudioSource `protobuf_oneof:"audio_source"`
	// contains filtered or unexported fields
}

func (*RecognitionAudio) Descriptor deprecated

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

Deprecated: Use RecognitionAudio.ProtoReflect.Descriptor instead.

func (*RecognitionAudio) GetAudioSource

func (m *RecognitionAudio) GetAudioSource() isRecognitionAudio_AudioSource

func (*RecognitionAudio) GetContent

func (x *RecognitionAudio) GetContent() []byte

func (*RecognitionAudio) GetUri

func (x *RecognitionAudio) GetUri() string

func (*RecognitionAudio) ProtoMessage

func (*RecognitionAudio) ProtoMessage()

func (*RecognitionAudio) ProtoReflect

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

func (*RecognitionAudio) Reset

func (x *RecognitionAudio) Reset()

func (*RecognitionAudio) SetAudioSource

func (m *RecognitionAudio) SetAudioSource(v RecognitionAudio_AudioSource)

func (*RecognitionAudio) SetContent

func (m *RecognitionAudio) SetContent(v []byte)

func (*RecognitionAudio) SetUri

func (m *RecognitionAudio) SetUri(v string)

func (*RecognitionAudio) String

func (x *RecognitionAudio) String() string

type RecognitionAudio_AudioSource

type RecognitionAudio_AudioSource = isRecognitionAudio_AudioSource

type RecognitionAudio_Content

type RecognitionAudio_Content struct {
	Content []byte `protobuf:"bytes,1,opt,name=content,proto3,oneof"`
}

type RecognitionAudio_Uri

type RecognitionAudio_Uri struct {
	Uri string `protobuf:"bytes,2,opt,name=uri,proto3,oneof"`
}

type RecognitionConfig

type RecognitionConfig struct {
	Specification *RecognitionSpec `protobuf:"bytes,1,opt,name=specification,proto3" json:"specification,omitempty"`
	FolderId      string           `protobuf:"bytes,2,opt,name=folder_id,json=folderId,proto3" json:"folder_id,omitempty"`
	// contains filtered or unexported fields
}

func (*RecognitionConfig) Descriptor deprecated

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

Deprecated: Use RecognitionConfig.ProtoReflect.Descriptor instead.

func (*RecognitionConfig) GetFolderId

func (x *RecognitionConfig) GetFolderId() string

func (*RecognitionConfig) GetSpecification

func (x *RecognitionConfig) GetSpecification() *RecognitionSpec

func (*RecognitionConfig) ProtoMessage

func (*RecognitionConfig) ProtoMessage()

func (*RecognitionConfig) ProtoReflect

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

func (*RecognitionConfig) Reset

func (x *RecognitionConfig) Reset()

func (*RecognitionConfig) SetFolderId

func (m *RecognitionConfig) SetFolderId(v string)

func (*RecognitionConfig) SetSpecification

func (m *RecognitionConfig) SetSpecification(v *RecognitionSpec)

func (*RecognitionConfig) String

func (x *RecognitionConfig) String() string

type RecognitionSpec

type RecognitionSpec struct {
	AudioEncoding RecognitionSpec_AudioEncoding `` /* 159-byte string literal not displayed */
	// 8000, 16000, 48000 only for pcm
	SampleRateHertz int64 `protobuf:"varint,2,opt,name=sample_rate_hertz,json=sampleRateHertz,proto3" json:"sample_rate_hertz,omitempty"`
	// code in BCP-47
	LanguageCode    string `protobuf:"bytes,3,opt,name=language_code,json=languageCode,proto3" json:"language_code,omitempty"`
	ProfanityFilter bool   `protobuf:"varint,4,opt,name=profanity_filter,json=profanityFilter,proto3" json:"profanity_filter,omitempty"`
	Model           string `protobuf:"bytes,5,opt,name=model,proto3" json:"model,omitempty"`
	// If set true, tentative hypotheses may be returned as they become available (final=false flag)
	// If false or omitted, only final=true result(s) are returned.
	// Makes sense only for StreamingRecognize requests.
	PartialResults  bool `protobuf:"varint,7,opt,name=partial_results,json=partialResults,proto3" json:"partial_results,omitempty"`
	SingleUtterance bool `protobuf:"varint,8,opt,name=single_utterance,json=singleUtterance,proto3" json:"single_utterance,omitempty"`
	// Used only for long running recognize.
	AudioChannelCount int64 `protobuf:"varint,9,opt,name=audio_channel_count,json=audioChannelCount,proto3" json:"audio_channel_count,omitempty"`
	// This mark allows disable normalization text
	RawResults bool `protobuf:"varint,10,opt,name=raw_results,json=rawResults,proto3" json:"raw_results,omitempty"`
	// Rewrite text in literature style (default: false)
	LiteratureText bool `protobuf:"varint,11,opt,name=literature_text,json=literatureText,proto3" json:"literature_text,omitempty"`
	// contains filtered or unexported fields
}

func (*RecognitionSpec) Descriptor deprecated

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

Deprecated: Use RecognitionSpec.ProtoReflect.Descriptor instead.

func (*RecognitionSpec) GetAudioChannelCount

func (x *RecognitionSpec) GetAudioChannelCount() int64

func (*RecognitionSpec) GetAudioEncoding

func (x *RecognitionSpec) GetAudioEncoding() RecognitionSpec_AudioEncoding

func (*RecognitionSpec) GetLanguageCode

func (x *RecognitionSpec) GetLanguageCode() string

func (*RecognitionSpec) GetLiteratureText

func (x *RecognitionSpec) GetLiteratureText() bool

func (*RecognitionSpec) GetModel

func (x *RecognitionSpec) GetModel() string

func (*RecognitionSpec) GetPartialResults

func (x *RecognitionSpec) GetPartialResults() bool

func (*RecognitionSpec) GetProfanityFilter

func (x *RecognitionSpec) GetProfanityFilter() bool

func (*RecognitionSpec) GetRawResults

func (x *RecognitionSpec) GetRawResults() bool

func (*RecognitionSpec) GetSampleRateHertz

func (x *RecognitionSpec) GetSampleRateHertz() int64

func (*RecognitionSpec) GetSingleUtterance

func (x *RecognitionSpec) GetSingleUtterance() bool

func (*RecognitionSpec) ProtoMessage

func (*RecognitionSpec) ProtoMessage()

func (*RecognitionSpec) ProtoReflect

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

func (*RecognitionSpec) Reset

func (x *RecognitionSpec) Reset()

func (*RecognitionSpec) SetAudioChannelCount

func (m *RecognitionSpec) SetAudioChannelCount(v int64)

func (*RecognitionSpec) SetAudioEncoding

func (m *RecognitionSpec) SetAudioEncoding(v RecognitionSpec_AudioEncoding)

func (*RecognitionSpec) SetLanguageCode

func (m *RecognitionSpec) SetLanguageCode(v string)

func (*RecognitionSpec) SetLiteratureText

func (m *RecognitionSpec) SetLiteratureText(v bool)

func (*RecognitionSpec) SetModel

func (m *RecognitionSpec) SetModel(v string)

func (*RecognitionSpec) SetPartialResults

func (m *RecognitionSpec) SetPartialResults(v bool)

func (*RecognitionSpec) SetProfanityFilter

func (m *RecognitionSpec) SetProfanityFilter(v bool)

func (*RecognitionSpec) SetRawResults

func (m *RecognitionSpec) SetRawResults(v bool)

func (*RecognitionSpec) SetSampleRateHertz

func (m *RecognitionSpec) SetSampleRateHertz(v int64)

func (*RecognitionSpec) SetSingleUtterance

func (m *RecognitionSpec) SetSingleUtterance(v bool)

func (*RecognitionSpec) String

func (x *RecognitionSpec) String() string

type RecognitionSpec_AudioEncoding

type RecognitionSpec_AudioEncoding int32
const (
	RecognitionSpec_AUDIO_ENCODING_UNSPECIFIED RecognitionSpec_AudioEncoding = 0
	// 16-bit signed little-endian (Linear PCM)
	RecognitionSpec_LINEAR16_PCM RecognitionSpec_AudioEncoding = 1
	RecognitionSpec_OGG_OPUS     RecognitionSpec_AudioEncoding = 2
	// transcription only
	RecognitionSpec_MP3 RecognitionSpec_AudioEncoding = 3
)

func (RecognitionSpec_AudioEncoding) Descriptor

func (RecognitionSpec_AudioEncoding) Enum

func (RecognitionSpec_AudioEncoding) EnumDescriptor deprecated

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

Deprecated: Use RecognitionSpec_AudioEncoding.Descriptor instead.

func (RecognitionSpec_AudioEncoding) Number

func (RecognitionSpec_AudioEncoding) String

func (RecognitionSpec_AudioEncoding) Type

type SpeechRecognitionAlternative

type SpeechRecognitionAlternative struct {
	Text       string      `protobuf:"bytes,1,opt,name=text,proto3" json:"text,omitempty"`
	Confidence float32     `protobuf:"fixed32,2,opt,name=confidence,proto3" json:"confidence,omitempty"`
	Words      []*WordInfo `protobuf:"bytes,3,rep,name=words,proto3" json:"words,omitempty"`
	// contains filtered or unexported fields
}

func (*SpeechRecognitionAlternative) Descriptor deprecated

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

Deprecated: Use SpeechRecognitionAlternative.ProtoReflect.Descriptor instead.

func (*SpeechRecognitionAlternative) GetConfidence

func (x *SpeechRecognitionAlternative) GetConfidence() float32

func (*SpeechRecognitionAlternative) GetText

func (x *SpeechRecognitionAlternative) GetText() string

func (*SpeechRecognitionAlternative) GetWords

func (x *SpeechRecognitionAlternative) GetWords() []*WordInfo

func (*SpeechRecognitionAlternative) ProtoMessage

func (*SpeechRecognitionAlternative) ProtoMessage()

func (*SpeechRecognitionAlternative) ProtoReflect

func (*SpeechRecognitionAlternative) Reset

func (x *SpeechRecognitionAlternative) Reset()

func (*SpeechRecognitionAlternative) SetConfidence

func (m *SpeechRecognitionAlternative) SetConfidence(v float32)

func (*SpeechRecognitionAlternative) SetText

func (m *SpeechRecognitionAlternative) SetText(v string)

func (*SpeechRecognitionAlternative) SetWords

func (m *SpeechRecognitionAlternative) SetWords(v []*WordInfo)

func (*SpeechRecognitionAlternative) String

type SpeechRecognitionChunk

type SpeechRecognitionChunk struct {
	Alternatives []*SpeechRecognitionAlternative `protobuf:"bytes,1,rep,name=alternatives,proto3" json:"alternatives,omitempty"`
	// This flag shows that the received chunk contains a part of the recognized text that won't be changed.
	Final bool `protobuf:"varint,2,opt,name=final,proto3" json:"final,omitempty"`
	// This flag shows that the received chunk is the end of an utterance.
	EndOfUtterance bool `protobuf:"varint,3,opt,name=end_of_utterance,json=endOfUtterance,proto3" json:"end_of_utterance,omitempty"`
	// contains filtered or unexported fields
}

func (*SpeechRecognitionChunk) Descriptor deprecated

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

Deprecated: Use SpeechRecognitionChunk.ProtoReflect.Descriptor instead.

func (*SpeechRecognitionChunk) GetAlternatives

func (x *SpeechRecognitionChunk) GetAlternatives() []*SpeechRecognitionAlternative

func (*SpeechRecognitionChunk) GetEndOfUtterance

func (x *SpeechRecognitionChunk) GetEndOfUtterance() bool

func (*SpeechRecognitionChunk) GetFinal

func (x *SpeechRecognitionChunk) GetFinal() bool

func (*SpeechRecognitionChunk) ProtoMessage

func (*SpeechRecognitionChunk) ProtoMessage()

func (*SpeechRecognitionChunk) ProtoReflect

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

func (*SpeechRecognitionChunk) Reset

func (x *SpeechRecognitionChunk) Reset()

func (*SpeechRecognitionChunk) SetAlternatives

func (m *SpeechRecognitionChunk) SetAlternatives(v []*SpeechRecognitionAlternative)

func (*SpeechRecognitionChunk) SetEndOfUtterance

func (m *SpeechRecognitionChunk) SetEndOfUtterance(v bool)

func (*SpeechRecognitionChunk) SetFinal

func (m *SpeechRecognitionChunk) SetFinal(v bool)

func (*SpeechRecognitionChunk) String

func (x *SpeechRecognitionChunk) String() string

type SpeechRecognitionResult

type SpeechRecognitionResult struct {
	Alternatives []*SpeechRecognitionAlternative `protobuf:"bytes,1,rep,name=alternatives,proto3" json:"alternatives,omitempty"`
	ChannelTag   int64                           `protobuf:"varint,2,opt,name=channel_tag,json=channelTag,proto3" json:"channel_tag,omitempty"`
	// contains filtered or unexported fields
}

func (*SpeechRecognitionResult) Descriptor deprecated

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

Deprecated: Use SpeechRecognitionResult.ProtoReflect.Descriptor instead.

func (*SpeechRecognitionResult) GetAlternatives

func (x *SpeechRecognitionResult) GetAlternatives() []*SpeechRecognitionAlternative

func (*SpeechRecognitionResult) GetChannelTag

func (x *SpeechRecognitionResult) GetChannelTag() int64

func (*SpeechRecognitionResult) ProtoMessage

func (*SpeechRecognitionResult) ProtoMessage()

func (*SpeechRecognitionResult) ProtoReflect

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

func (*SpeechRecognitionResult) Reset

func (x *SpeechRecognitionResult) Reset()

func (*SpeechRecognitionResult) SetAlternatives

func (m *SpeechRecognitionResult) SetAlternatives(v []*SpeechRecognitionAlternative)

func (*SpeechRecognitionResult) SetChannelTag

func (m *SpeechRecognitionResult) SetChannelTag(v int64)

func (*SpeechRecognitionResult) String

func (x *SpeechRecognitionResult) String() string

type StreamingRecognitionRequest

type StreamingRecognitionRequest struct {

	// Types that are assignable to StreamingRequest:
	//
	//	*StreamingRecognitionRequest_Config
	//	*StreamingRecognitionRequest_AudioContent
	StreamingRequest isStreamingRecognitionRequest_StreamingRequest `protobuf_oneof:"streaming_request"`
	// contains filtered or unexported fields
}

func (*StreamingRecognitionRequest) Descriptor deprecated

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

Deprecated: Use StreamingRecognitionRequest.ProtoReflect.Descriptor instead.

func (*StreamingRecognitionRequest) GetAudioContent

func (x *StreamingRecognitionRequest) GetAudioContent() []byte

func (*StreamingRecognitionRequest) GetConfig

func (*StreamingRecognitionRequest) GetStreamingRequest

func (m *StreamingRecognitionRequest) GetStreamingRequest() isStreamingRecognitionRequest_StreamingRequest

func (*StreamingRecognitionRequest) ProtoMessage

func (*StreamingRecognitionRequest) ProtoMessage()

func (*StreamingRecognitionRequest) ProtoReflect

func (*StreamingRecognitionRequest) Reset

func (x *StreamingRecognitionRequest) Reset()

func (*StreamingRecognitionRequest) SetAudioContent

func (m *StreamingRecognitionRequest) SetAudioContent(v []byte)

func (*StreamingRecognitionRequest) SetConfig

func (*StreamingRecognitionRequest) SetStreamingRequest

func (*StreamingRecognitionRequest) String

func (x *StreamingRecognitionRequest) String() string

type StreamingRecognitionRequest_AudioContent

type StreamingRecognitionRequest_AudioContent struct {
	AudioContent []byte `protobuf:"bytes,2,opt,name=audio_content,json=audioContent,proto3,oneof"`
}

type StreamingRecognitionRequest_Config

type StreamingRecognitionRequest_Config struct {
	Config *RecognitionConfig `protobuf:"bytes,1,opt,name=config,proto3,oneof"`
}

type StreamingRecognitionRequest_StreamingRequest

type StreamingRecognitionRequest_StreamingRequest = isStreamingRecognitionRequest_StreamingRequest

type StreamingRecognitionResponse

type StreamingRecognitionResponse struct {
	Chunks []*SpeechRecognitionChunk `protobuf:"bytes,1,rep,name=chunks,proto3" json:"chunks,omitempty"`
	// contains filtered or unexported fields
}

func (*StreamingRecognitionResponse) Descriptor deprecated

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

Deprecated: Use StreamingRecognitionResponse.ProtoReflect.Descriptor instead.

func (*StreamingRecognitionResponse) GetChunks

func (*StreamingRecognitionResponse) ProtoMessage

func (*StreamingRecognitionResponse) ProtoMessage()

func (*StreamingRecognitionResponse) ProtoReflect

func (*StreamingRecognitionResponse) Reset

func (x *StreamingRecognitionResponse) Reset()

func (*StreamingRecognitionResponse) SetChunks

func (*StreamingRecognitionResponse) String

type SttServiceClient

type SttServiceClient interface {
	LongRunningRecognize(ctx context.Context, in *LongRunningRecognitionRequest, opts ...grpc.CallOption) (*operation.Operation, error)
	StreamingRecognize(ctx context.Context, opts ...grpc.CallOption) (grpc.BidiStreamingClient[StreamingRecognitionRequest, StreamingRecognitionResponse], error)
}

SttServiceClient is the client API for SttService 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 NewSttServiceClient

func NewSttServiceClient(cc grpc.ClientConnInterface) SttServiceClient

type SttServiceServer

SttServiceServer is the server API for SttService service. All implementations should embed UnimplementedSttServiceServer for forward compatibility.

type SttService_StreamingRecognizeClient

This type alias is provided for backwards compatibility with existing code that references the prior non-generic stream type by name.

type SttService_StreamingRecognizeServer

This type alias is provided for backwards compatibility with existing code that references the prior non-generic stream type by name.

type UnimplementedSttServiceServer

type UnimplementedSttServiceServer struct{}

UnimplementedSttServiceServer 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 (UnimplementedSttServiceServer) LongRunningRecognize

type UnsafeSttServiceServer

type UnsafeSttServiceServer interface {
	// contains filtered or unexported methods
}

UnsafeSttServiceServer may be embedded to opt out of forward compatibility for this service. Use of this interface is not recommended, as added methods to SttServiceServer will result in compilation errors.

type WordInfo

type WordInfo struct {
	StartTime  *durationpb.Duration `protobuf:"bytes,1,opt,name=start_time,json=startTime,proto3" json:"start_time,omitempty"`
	EndTime    *durationpb.Duration `protobuf:"bytes,2,opt,name=end_time,json=endTime,proto3" json:"end_time,omitempty"`
	Word       string               `protobuf:"bytes,3,opt,name=word,proto3" json:"word,omitempty"`
	Confidence float32              `protobuf:"fixed32,4,opt,name=confidence,proto3" json:"confidence,omitempty"`
	// contains filtered or unexported fields
}

func (*WordInfo) Descriptor deprecated

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

Deprecated: Use WordInfo.ProtoReflect.Descriptor instead.

func (*WordInfo) GetConfidence

func (x *WordInfo) GetConfidence() float32

func (*WordInfo) GetEndTime

func (x *WordInfo) GetEndTime() *durationpb.Duration

func (*WordInfo) GetStartTime

func (x *WordInfo) GetStartTime() *durationpb.Duration

func (*WordInfo) GetWord

func (x *WordInfo) GetWord() string

func (*WordInfo) ProtoMessage

func (*WordInfo) ProtoMessage()

func (*WordInfo) ProtoReflect

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

func (*WordInfo) Reset

func (x *WordInfo) Reset()

func (*WordInfo) SetConfidence

func (m *WordInfo) SetConfidence(v float32)

func (*WordInfo) SetEndTime

func (m *WordInfo) SetEndTime(v *durationpb.Duration)

func (*WordInfo) SetStartTime

func (m *WordInfo) SetStartTime(v *durationpb.Duration)

func (*WordInfo) SetWord

func (m *WordInfo) SetWord(v string)

func (*WordInfo) String

func (x *WordInfo) String() string

Jump to

Keyboard shortcuts

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