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
- Variables
- func RegisterSpeechTranslationServiceServer(s *grpc.Server, srv SpeechTranslationServiceServer)deprecated
- type SpeechTranslationServiceClientdeprecated
- type SpeechTranslationServiceServerdeprecated
- type SpeechTranslationService_StreamingTranslateSpeechClient
- type SpeechTranslationService_StreamingTranslateSpeechServer
- type StreamingTranslateSpeechConfigdeprecated
- type StreamingTranslateSpeechRequestdeprecated
- type StreamingTranslateSpeechRequest_AudioContent
- type StreamingTranslateSpeechRequest_StreamingConfig
- type StreamingTranslateSpeechResponsedeprecated
- type StreamingTranslateSpeechResponse_SpeechEventTypedeprecated
- type StreamingTranslateSpeechResultdeprecated
- type StreamingTranslateSpeechResult_TextTranslationResultdeprecated
- type StreamingTranslateSpeechResult_TextTranslationResult_
- type TranslateSpeechConfigdeprecated
- type UnimplementedSpeechTranslationServiceServerdeprecated
Constants ¶
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 ¶
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 SpeechTranslationService_StreamingTranslateSpeechClient ¶
type SpeechTranslationService_StreamingTranslateSpeechClient = src.SpeechTranslationService_StreamingTranslateSpeechClient
type SpeechTranslationService_StreamingTranslateSpeechServer ¶
type SpeechTranslationService_StreamingTranslateSpeechServer = src.SpeechTranslationService_StreamingTranslateSpeechServer
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 StreamingTranslateSpeechRequest_StreamingConfig ¶
type StreamingTranslateSpeechRequest_StreamingConfig = src.StreamingTranslateSpeechRequest_StreamingConfig
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 StreamingTranslateSpeechResult_TextTranslationResult_ ¶
type StreamingTranslateSpeechResult_TextTranslationResult_ = src.StreamingTranslateSpeechResult_TextTranslationResult_
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