package mediatranslation

import "google.golang.org/genproto/googleapis/cloud/mediatranslation/v1beta1"

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

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

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

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

Types

type SpeechTranslationServiceClient

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

func NewSpeechTranslationServiceClient(cc grpc.ClientConnInterface) SpeechTranslationServiceClient

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

type SpeechTranslationServiceServer

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

type StreamingTranslateSpeechConfig = src.StreamingTranslateSpeechConfig

Config used for streaming translation.

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

type StreamingTranslateSpeechRequest

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

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

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

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

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

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

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

Source Files

alias.go

Version
v0.0.0-20250219182151-9fdb1cabc7b2 (latest)
Published
Feb 19, 2025
Platform
linux/amd64
Imports
2 packages
Last checked
50 minutes ago

Tools for package owners.