mediatranslation

package
v0.0.0-...-8c6c420 Latest Latest
Warning

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

Go to latest
Published: Apr 15, 2024 License: Apache-2.0 Imports: 2 Imported by: 1

Documentation

Overview

Package mediatranslation aliases all exported identifiers in package "cloud.google.com/go/mediatranslation/apiv1beta1/mediatranslationpb".

Deprecated: Please use types in: cloud.google.com/go/mediatranslation/apiv1beta1/mediatranslationpb. Please read https://github.com/googleapis/google-cloud-go/blob/main/migration.md for more details.

Index

Constants

View Source
const (
	StreamingTranslateSpeechResponse_END_OF_SINGLE_UTTERANCE       = src.StreamingTranslateSpeechResponse_END_OF_SINGLE_UTTERANCE
	StreamingTranslateSpeechResponse_SPEECH_EVENT_TYPE_UNSPECIFIED = src.StreamingTranslateSpeechResponse_SPEECH_EVENT_TYPE_UNSPECIFIED
)

Deprecated: Please use consts in: cloud.google.com/go/mediatranslation/apiv1beta1/mediatranslationpb

Variables

View Source
var (
	File_google_cloud_mediatranslation_v1beta1_media_translation_proto = src.File_google_cloud_mediatranslation_v1beta1_media_translation_proto
	StreamingTranslateSpeechResponse_SpeechEventType_name              = src.StreamingTranslateSpeechResponse_SpeechEventType_name
	StreamingTranslateSpeechResponse_SpeechEventType_value             = src.StreamingTranslateSpeechResponse_SpeechEventType_value
)

Deprecated: Please use vars in: cloud.google.com/go/mediatranslation/apiv1beta1/mediatranslationpb

Functions

func RegisterSpeechTranslationServiceServer deprecated

func RegisterSpeechTranslationServiceServer(s *grpc.Server, srv SpeechTranslationServiceServer)

Deprecated: Please use funcs in: cloud.google.com/go/mediatranslation/apiv1beta1/mediatranslationpb

Types

type SpeechTranslationServiceClient deprecated

type SpeechTranslationServiceClient = src.SpeechTranslationServiceClient

SpeechTranslationServiceClient is the client API for SpeechTranslationService service. For semantics around ctx use and closing/ending streaming RPCs, please refer to https://godoc.org/google.golang.org/grpc#ClientConn.NewStream.

Deprecated: Please use types in: cloud.google.com/go/mediatranslation/apiv1beta1/mediatranslationpb

func NewSpeechTranslationServiceClient deprecated

func NewSpeechTranslationServiceClient(cc grpc.ClientConnInterface) SpeechTranslationServiceClient

Deprecated: Please use funcs in: cloud.google.com/go/mediatranslation/apiv1beta1/mediatranslationpb

type SpeechTranslationServiceServer deprecated

type SpeechTranslationServiceServer = src.SpeechTranslationServiceServer

SpeechTranslationServiceServer is the server API for SpeechTranslationService service.

Deprecated: Please use types in: cloud.google.com/go/mediatranslation/apiv1beta1/mediatranslationpb

type StreamingTranslateSpeechConfig deprecated

type StreamingTranslateSpeechConfig = src.StreamingTranslateSpeechConfig

Config used for streaming translation.

Deprecated: Please use types in: cloud.google.com/go/mediatranslation/apiv1beta1/mediatranslationpb

type StreamingTranslateSpeechRequest deprecated

type StreamingTranslateSpeechRequest = src.StreamingTranslateSpeechRequest

The top-level message sent by the client for the `StreamingTranslateSpeech` method. Multiple `StreamingTranslateSpeechRequest` messages are sent. The first message must contain a `streaming_config` message and must not contain `audio_content` data. All subsequent messages must contain `audio_content` data and must not contain a `streaming_config` message.

Deprecated: Please use types in: cloud.google.com/go/mediatranslation/apiv1beta1/mediatranslationpb

type StreamingTranslateSpeechRequest_AudioContent

type StreamingTranslateSpeechRequest_AudioContent = src.StreamingTranslateSpeechRequest_AudioContent

type StreamingTranslateSpeechResponse deprecated

type StreamingTranslateSpeechResponse = src.StreamingTranslateSpeechResponse

A streaming speech translation response corresponding to a portion of the audio currently processed.

Deprecated: Please use types in: cloud.google.com/go/mediatranslation/apiv1beta1/mediatranslationpb

type StreamingTranslateSpeechResponse_SpeechEventType deprecated

type StreamingTranslateSpeechResponse_SpeechEventType = src.StreamingTranslateSpeechResponse_SpeechEventType

Indicates the type of speech event.

Deprecated: Please use types in: cloud.google.com/go/mediatranslation/apiv1beta1/mediatranslationpb

type StreamingTranslateSpeechResult deprecated

type StreamingTranslateSpeechResult = src.StreamingTranslateSpeechResult

A streaming speech translation result corresponding to a portion of the audio that is currently being processed.

Deprecated: Please use types in: cloud.google.com/go/mediatranslation/apiv1beta1/mediatranslationpb

type StreamingTranslateSpeechResult_TextTranslationResult deprecated

type StreamingTranslateSpeechResult_TextTranslationResult = src.StreamingTranslateSpeechResult_TextTranslationResult

Text translation result.

Deprecated: Please use types in: cloud.google.com/go/mediatranslation/apiv1beta1/mediatranslationpb

type TranslateSpeechConfig deprecated

type TranslateSpeechConfig = src.TranslateSpeechConfig

Provides information to the speech translation that specifies how to process the request.

Deprecated: Please use types in: cloud.google.com/go/mediatranslation/apiv1beta1/mediatranslationpb

type UnimplementedSpeechTranslationServiceServer deprecated

type UnimplementedSpeechTranslationServiceServer = src.UnimplementedSpeechTranslationServiceServer

UnimplementedSpeechTranslationServiceServer can be embedded to have forward compatible implementations.

Deprecated: Please use types in: cloud.google.com/go/mediatranslation/apiv1beta1/mediatranslationpb

Jump to

Keyboard shortcuts

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