...

Source file src/google.golang.org/genproto/googleapis/cloud/speech/v1/alias.go

Documentation: google.golang.org/genproto/googleapis/cloud/speech/v1

     1  // Copyright 2022 Google LLC
     2  //
     3  // Licensed under the Apache License, Version 2.0 (the "License");
     4  // you may not use this file except in compliance with the License.
     5  // You may obtain a copy of the License at
     6  //
     7  //     http://www.apache.org/licenses/LICENSE-2.0
     8  //
     9  // Unless required by applicable law or agreed to in writing, software
    10  // distributed under the License is distributed on an "AS IS" BASIS,
    11  // WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
    12  // See the License for the specific language governing permissions and
    13  // limitations under the License.
    14  
    15  // Code generated by aliasgen. DO NOT EDIT.
    16  
    17  // Package speech aliases all exported identifiers in package
    18  // "cloud.google.com/go/speech/apiv1/speechpb".
    19  //
    20  // Deprecated: Please use types in: cloud.google.com/go/speech/apiv1/speechpb.
    21  // Please read https://github.com/googleapis/google-cloud-go/blob/main/migration.md
    22  // for more details.
    23  package speech
    24  
    25  import (
    26  	src "cloud.google.com/go/speech/apiv1/speechpb"
    27  	grpc "google.golang.org/grpc"
    28  )
    29  
    30  // Deprecated: Please use consts in: cloud.google.com/go/speech/apiv1/speechpb
    31  const (
    32  	RecognitionConfig_AMR                                 = src.RecognitionConfig_AMR
    33  	RecognitionConfig_AMR_WB                              = src.RecognitionConfig_AMR_WB
    34  	RecognitionConfig_ENCODING_UNSPECIFIED                = src.RecognitionConfig_ENCODING_UNSPECIFIED
    35  	RecognitionConfig_FLAC                                = src.RecognitionConfig_FLAC
    36  	RecognitionConfig_LINEAR16                            = src.RecognitionConfig_LINEAR16
    37  	RecognitionConfig_MULAW                               = src.RecognitionConfig_MULAW
    38  	RecognitionConfig_OGG_OPUS                            = src.RecognitionConfig_OGG_OPUS
    39  	RecognitionConfig_SPEEX_WITH_HEADER_BYTE              = src.RecognitionConfig_SPEEX_WITH_HEADER_BYTE
    40  	RecognitionConfig_WEBM_OPUS                           = src.RecognitionConfig_WEBM_OPUS
    41  	RecognitionMetadata_AUDIO                             = src.RecognitionMetadata_AUDIO
    42  	RecognitionMetadata_DICTATION                         = src.RecognitionMetadata_DICTATION
    43  	RecognitionMetadata_DISCUSSION                        = src.RecognitionMetadata_DISCUSSION
    44  	RecognitionMetadata_FARFIELD                          = src.RecognitionMetadata_FARFIELD
    45  	RecognitionMetadata_INTERACTION_TYPE_UNSPECIFIED      = src.RecognitionMetadata_INTERACTION_TYPE_UNSPECIFIED
    46  	RecognitionMetadata_MICROPHONE_DISTANCE_UNSPECIFIED   = src.RecognitionMetadata_MICROPHONE_DISTANCE_UNSPECIFIED
    47  	RecognitionMetadata_MIDFIELD                          = src.RecognitionMetadata_MIDFIELD
    48  	RecognitionMetadata_NEARFIELD                         = src.RecognitionMetadata_NEARFIELD
    49  	RecognitionMetadata_ORIGINAL_MEDIA_TYPE_UNSPECIFIED   = src.RecognitionMetadata_ORIGINAL_MEDIA_TYPE_UNSPECIFIED
    50  	RecognitionMetadata_OTHER_INDOOR_DEVICE               = src.RecognitionMetadata_OTHER_INDOOR_DEVICE
    51  	RecognitionMetadata_OTHER_OUTDOOR_DEVICE              = src.RecognitionMetadata_OTHER_OUTDOOR_DEVICE
    52  	RecognitionMetadata_PC                                = src.RecognitionMetadata_PC
    53  	RecognitionMetadata_PHONE_CALL                        = src.RecognitionMetadata_PHONE_CALL
    54  	RecognitionMetadata_PHONE_LINE                        = src.RecognitionMetadata_PHONE_LINE
    55  	RecognitionMetadata_PRESENTATION                      = src.RecognitionMetadata_PRESENTATION
    56  	RecognitionMetadata_PROFESSIONALLY_PRODUCED           = src.RecognitionMetadata_PROFESSIONALLY_PRODUCED
    57  	RecognitionMetadata_RECORDING_DEVICE_TYPE_UNSPECIFIED = src.RecognitionMetadata_RECORDING_DEVICE_TYPE_UNSPECIFIED
    58  	RecognitionMetadata_SMARTPHONE                        = src.RecognitionMetadata_SMARTPHONE
    59  	RecognitionMetadata_VEHICLE                           = src.RecognitionMetadata_VEHICLE
    60  	RecognitionMetadata_VIDEO                             = src.RecognitionMetadata_VIDEO
    61  	RecognitionMetadata_VOICEMAIL                         = src.RecognitionMetadata_VOICEMAIL
    62  	RecognitionMetadata_VOICE_COMMAND                     = src.RecognitionMetadata_VOICE_COMMAND
    63  	RecognitionMetadata_VOICE_SEARCH                      = src.RecognitionMetadata_VOICE_SEARCH
    64  	StreamingRecognizeResponse_END_OF_SINGLE_UTTERANCE    = src.StreamingRecognizeResponse_END_OF_SINGLE_UTTERANCE
    65  	StreamingRecognizeResponse_SPEECH_EVENT_UNSPECIFIED   = src.StreamingRecognizeResponse_SPEECH_EVENT_UNSPECIFIED
    66  )
    67  
    68  // Deprecated: Please use vars in: cloud.google.com/go/speech/apiv1/speechpb
    69  var (
    70  	File_google_cloud_speech_v1_cloud_speech_adaptation_proto = src.File_google_cloud_speech_v1_cloud_speech_adaptation_proto
    71  	File_google_cloud_speech_v1_cloud_speech_proto            = src.File_google_cloud_speech_v1_cloud_speech_proto
    72  	File_google_cloud_speech_v1_resource_proto                = src.File_google_cloud_speech_v1_resource_proto
    73  	RecognitionConfig_AudioEncoding_name                      = src.RecognitionConfig_AudioEncoding_name
    74  	RecognitionConfig_AudioEncoding_value                     = src.RecognitionConfig_AudioEncoding_value
    75  	RecognitionMetadata_InteractionType_name                  = src.RecognitionMetadata_InteractionType_name
    76  	RecognitionMetadata_InteractionType_value                 = src.RecognitionMetadata_InteractionType_value
    77  	RecognitionMetadata_MicrophoneDistance_name               = src.RecognitionMetadata_MicrophoneDistance_name
    78  	RecognitionMetadata_MicrophoneDistance_value              = src.RecognitionMetadata_MicrophoneDistance_value
    79  	RecognitionMetadata_OriginalMediaType_name                = src.RecognitionMetadata_OriginalMediaType_name
    80  	RecognitionMetadata_OriginalMediaType_value               = src.RecognitionMetadata_OriginalMediaType_value
    81  	RecognitionMetadata_RecordingDeviceType_name              = src.RecognitionMetadata_RecordingDeviceType_name
    82  	RecognitionMetadata_RecordingDeviceType_value             = src.RecognitionMetadata_RecordingDeviceType_value
    83  	StreamingRecognizeResponse_SpeechEventType_name           = src.StreamingRecognizeResponse_SpeechEventType_name
    84  	StreamingRecognizeResponse_SpeechEventType_value          = src.StreamingRecognizeResponse_SpeechEventType_value
    85  )
    86  
    87  // AdaptationClient is the client API for Adaptation service. For semantics
    88  // around ctx use and closing/ending streaming RPCs, please refer to
    89  // https://godoc.org/google.golang.org/grpc#ClientConn.NewStream.
    90  //
    91  // Deprecated: Please use types in: cloud.google.com/go/speech/apiv1/speechpb
    92  type AdaptationClient = src.AdaptationClient
    93  
    94  // AdaptationServer is the server API for Adaptation service.
    95  //
    96  // Deprecated: Please use types in: cloud.google.com/go/speech/apiv1/speechpb
    97  type AdaptationServer = src.AdaptationServer
    98  
    99  // Message sent by the client for the `CreateCustomClass` method.
   100  //
   101  // Deprecated: Please use types in: cloud.google.com/go/speech/apiv1/speechpb
   102  type CreateCustomClassRequest = src.CreateCustomClassRequest
   103  
   104  // Message sent by the client for the `CreatePhraseSet` method.
   105  //
   106  // Deprecated: Please use types in: cloud.google.com/go/speech/apiv1/speechpb
   107  type CreatePhraseSetRequest = src.CreatePhraseSetRequest
   108  
   109  // A set of words or phrases that represents a common concept likely to appear
   110  // in your audio, for example a list of passenger ship names. CustomClass items
   111  // can be substituted into placeholders that you set in PhraseSet phrases.
   112  //
   113  // Deprecated: Please use types in: cloud.google.com/go/speech/apiv1/speechpb
   114  type CustomClass = src.CustomClass
   115  
   116  // An item of the class.
   117  //
   118  // Deprecated: Please use types in: cloud.google.com/go/speech/apiv1/speechpb
   119  type CustomClass_ClassItem = src.CustomClass_ClassItem
   120  
   121  // Message sent by the client for the `DeleteCustomClass` method.
   122  //
   123  // Deprecated: Please use types in: cloud.google.com/go/speech/apiv1/speechpb
   124  type DeleteCustomClassRequest = src.DeleteCustomClassRequest
   125  
   126  // Message sent by the client for the `DeletePhraseSet` method.
   127  //
   128  // Deprecated: Please use types in: cloud.google.com/go/speech/apiv1/speechpb
   129  type DeletePhraseSetRequest = src.DeletePhraseSetRequest
   130  
   131  // Message sent by the client for the `GetCustomClass` method.
   132  //
   133  // Deprecated: Please use types in: cloud.google.com/go/speech/apiv1/speechpb
   134  type GetCustomClassRequest = src.GetCustomClassRequest
   135  
   136  // Message sent by the client for the `GetPhraseSet` method.
   137  //
   138  // Deprecated: Please use types in: cloud.google.com/go/speech/apiv1/speechpb
   139  type GetPhraseSetRequest = src.GetPhraseSetRequest
   140  
   141  // Message sent by the client for the `ListCustomClasses` method.
   142  //
   143  // Deprecated: Please use types in: cloud.google.com/go/speech/apiv1/speechpb
   144  type ListCustomClassesRequest = src.ListCustomClassesRequest
   145  
   146  // Message returned to the client by the `ListCustomClasses` method.
   147  //
   148  // Deprecated: Please use types in: cloud.google.com/go/speech/apiv1/speechpb
   149  type ListCustomClassesResponse = src.ListCustomClassesResponse
   150  
   151  // Message sent by the client for the `ListPhraseSet` method.
   152  //
   153  // Deprecated: Please use types in: cloud.google.com/go/speech/apiv1/speechpb
   154  type ListPhraseSetRequest = src.ListPhraseSetRequest
   155  
   156  // Message returned to the client by the `ListPhraseSet` method.
   157  //
   158  // Deprecated: Please use types in: cloud.google.com/go/speech/apiv1/speechpb
   159  type ListPhraseSetResponse = src.ListPhraseSetResponse
   160  
   161  // Describes the progress of a long-running `LongRunningRecognize` call. It is
   162  // included in the `metadata` field of the `Operation` returned by the
   163  // `GetOperation` call of the `google::longrunning::Operations` service.
   164  //
   165  // Deprecated: Please use types in: cloud.google.com/go/speech/apiv1/speechpb
   166  type LongRunningRecognizeMetadata = src.LongRunningRecognizeMetadata
   167  
   168  // The top-level message sent by the client for the `LongRunningRecognize`
   169  // method.
   170  //
   171  // Deprecated: Please use types in: cloud.google.com/go/speech/apiv1/speechpb
   172  type LongRunningRecognizeRequest = src.LongRunningRecognizeRequest
   173  
   174  // The only message returned to the client by the `LongRunningRecognize`
   175  // method. It contains the result as zero or more sequential
   176  // `SpeechRecognitionResult` messages. It is included in the `result.response`
   177  // field of the `Operation` returned by the `GetOperation` call of the
   178  // `google::longrunning::Operations` service.
   179  //
   180  // Deprecated: Please use types in: cloud.google.com/go/speech/apiv1/speechpb
   181  type LongRunningRecognizeResponse = src.LongRunningRecognizeResponse
   182  
   183  // Provides "hints" to the speech recognizer to favor specific words and
   184  // phrases in the results.
   185  //
   186  // Deprecated: Please use types in: cloud.google.com/go/speech/apiv1/speechpb
   187  type PhraseSet = src.PhraseSet
   188  
   189  // A phrases containing words and phrase "hints" so that the speech
   190  // recognition is more likely to recognize them. This can be used to improve
   191  // the accuracy for specific words and phrases, for example, if specific
   192  // commands are typically spoken by the user. This can also be used to add
   193  // additional words to the vocabulary of the recognizer. See [usage
   194  // limits](https://cloud.google.com/speech-to-text/quotas#content). List items
   195  // can also include pre-built or custom classes containing groups of words that
   196  // represent common concepts that occur in natural language. For example,
   197  // rather than providing a phrase hint for every month of the year (e.g. "i was
   198  // born in january", "i was born in febuary", ...), use the pre-built `$MONTH`
   199  // class improves the likelihood of correctly transcribing audio that includes
   200  // months (e.g. "i was born in $month"). To refer to pre-built classes, use the
   201  // class' symbol prepended with `$` e.g. `$MONTH`. To refer to custom classes
   202  // that were defined inline in the request, set the class's `custom_class_id`
   203  // to a string unique to all class resources and inline classes. Then use the
   204  // class' id wrapped in $`{...}` e.g. "${my-months}". To refer to custom
   205  // classes resources, use the class' id wrapped in `${}` (e.g. `${my-months}`).
   206  // Speech-to-Text supports three locations: `global`, `us` (US North America),
   207  // and `eu` (Europe). If you are calling the `speech.googleapis.com` endpoint,
   208  // use the `global` location. To specify a region, use a [regional
   209  // endpoint](/speech-to-text/docs/endpoints) with matching `us` or `eu`
   210  // location value.
   211  //
   212  // Deprecated: Please use types in: cloud.google.com/go/speech/apiv1/speechpb
   213  type PhraseSet_Phrase = src.PhraseSet_Phrase
   214  
   215  // Contains audio data in the encoding specified in the `RecognitionConfig`.
   216  // Either `content` or `uri` must be supplied. Supplying both or neither
   217  // returns
   218  // [google.rpc.Code.INVALID_ARGUMENT][google.rpc.Code.INVALID_ARGUMENT]. See
   219  // [content limits](https://cloud.google.com/speech-to-text/quotas#content).
   220  //
   221  // Deprecated: Please use types in: cloud.google.com/go/speech/apiv1/speechpb
   222  type RecognitionAudio = src.RecognitionAudio
   223  type RecognitionAudio_Content = src.RecognitionAudio_Content
   224  type RecognitionAudio_Uri = src.RecognitionAudio_Uri
   225  
   226  // Provides information to the recognizer that specifies how to process the
   227  // request.
   228  //
   229  // Deprecated: Please use types in: cloud.google.com/go/speech/apiv1/speechpb
   230  type RecognitionConfig = src.RecognitionConfig
   231  
   232  // The encoding of the audio data sent in the request. All encodings support
   233  // only 1 channel (mono) audio, unless the `audio_channel_count` and
   234  // `enable_separate_recognition_per_channel` fields are set. For best results,
   235  // the audio source should be captured and transmitted using a lossless
   236  // encoding (`FLAC` or `LINEAR16`). The accuracy of the speech recognition can
   237  // be reduced if lossy codecs are used to capture or transmit audio,
   238  // particularly if background noise is present. Lossy codecs include `MULAW`,
   239  // `AMR`, `AMR_WB`, `OGG_OPUS`, `SPEEX_WITH_HEADER_BYTE`, `MP3`, and
   240  // `WEBM_OPUS`. The `FLAC` and `WAV` audio file formats include a header that
   241  // describes the included audio content. You can request recognition for `WAV`
   242  // files that contain either `LINEAR16` or `MULAW` encoded audio. If you send
   243  // `FLAC` or `WAV` audio file format in your request, you do not need to
   244  // specify an `AudioEncoding`; the audio encoding format is determined from the
   245  // file header. If you specify an `AudioEncoding` when you send send `FLAC` or
   246  // `WAV` audio, the encoding configuration must match the encoding described in
   247  // the audio header; otherwise the request returns an
   248  // [google.rpc.Code.INVALID_ARGUMENT][google.rpc.Code.INVALID_ARGUMENT] error
   249  // code.
   250  //
   251  // Deprecated: Please use types in: cloud.google.com/go/speech/apiv1/speechpb
   252  type RecognitionConfig_AudioEncoding = src.RecognitionConfig_AudioEncoding
   253  
   254  // Description of audio data to be recognized. Deprecated: Do not use.
   255  //
   256  // Deprecated: Please use types in: cloud.google.com/go/speech/apiv1/speechpb
   257  type RecognitionMetadata = src.RecognitionMetadata
   258  
   259  // Use case categories that the audio recognition request can be described by.
   260  //
   261  // Deprecated: Please use types in: cloud.google.com/go/speech/apiv1/speechpb
   262  type RecognitionMetadata_InteractionType = src.RecognitionMetadata_InteractionType
   263  
   264  // Enumerates the types of capture settings describing an audio file.
   265  //
   266  // Deprecated: Please use types in: cloud.google.com/go/speech/apiv1/speechpb
   267  type RecognitionMetadata_MicrophoneDistance = src.RecognitionMetadata_MicrophoneDistance
   268  
   269  // The original media the speech was recorded on.
   270  //
   271  // Deprecated: Please use types in: cloud.google.com/go/speech/apiv1/speechpb
   272  type RecognitionMetadata_OriginalMediaType = src.RecognitionMetadata_OriginalMediaType
   273  
   274  // The type of device the speech was recorded with.
   275  //
   276  // Deprecated: Please use types in: cloud.google.com/go/speech/apiv1/speechpb
   277  type RecognitionMetadata_RecordingDeviceType = src.RecognitionMetadata_RecordingDeviceType
   278  
   279  // The top-level message sent by the client for the `Recognize` method.
   280  //
   281  // Deprecated: Please use types in: cloud.google.com/go/speech/apiv1/speechpb
   282  type RecognizeRequest = src.RecognizeRequest
   283  
   284  // The only message returned to the client by the `Recognize` method. It
   285  // contains the result as zero or more sequential `SpeechRecognitionResult`
   286  // messages.
   287  //
   288  // Deprecated: Please use types in: cloud.google.com/go/speech/apiv1/speechpb
   289  type RecognizeResponse = src.RecognizeResponse
   290  
   291  // Config to enable speaker diarization.
   292  //
   293  // Deprecated: Please use types in: cloud.google.com/go/speech/apiv1/speechpb
   294  type SpeakerDiarizationConfig = src.SpeakerDiarizationConfig
   295  
   296  // Speech adaptation configuration.
   297  //
   298  // Deprecated: Please use types in: cloud.google.com/go/speech/apiv1/speechpb
   299  type SpeechAdaptation = src.SpeechAdaptation
   300  
   301  // SpeechClient is the client API for Speech service. For semantics around ctx
   302  // use and closing/ending streaming RPCs, please refer to
   303  // https://godoc.org/google.golang.org/grpc#ClientConn.NewStream.
   304  //
   305  // Deprecated: Please use types in: cloud.google.com/go/speech/apiv1/speechpb
   306  type SpeechClient = src.SpeechClient
   307  
   308  // Provides "hints" to the speech recognizer to favor specific words and
   309  // phrases in the results.
   310  //
   311  // Deprecated: Please use types in: cloud.google.com/go/speech/apiv1/speechpb
   312  type SpeechContext = src.SpeechContext
   313  
   314  // Alternative hypotheses (a.k.a. n-best list).
   315  //
   316  // Deprecated: Please use types in: cloud.google.com/go/speech/apiv1/speechpb
   317  type SpeechRecognitionAlternative = src.SpeechRecognitionAlternative
   318  
   319  // A speech recognition result corresponding to a portion of the audio.
   320  //
   321  // Deprecated: Please use types in: cloud.google.com/go/speech/apiv1/speechpb
   322  type SpeechRecognitionResult = src.SpeechRecognitionResult
   323  
   324  // SpeechServer is the server API for Speech service.
   325  //
   326  // Deprecated: Please use types in: cloud.google.com/go/speech/apiv1/speechpb
   327  type SpeechServer = src.SpeechServer
   328  type Speech_StreamingRecognizeClient = src.Speech_StreamingRecognizeClient
   329  type Speech_StreamingRecognizeServer = src.Speech_StreamingRecognizeServer
   330  
   331  // Provides information to the recognizer that specifies how to process the
   332  // request.
   333  //
   334  // Deprecated: Please use types in: cloud.google.com/go/speech/apiv1/speechpb
   335  type StreamingRecognitionConfig = src.StreamingRecognitionConfig
   336  
   337  // A streaming speech recognition result corresponding to a portion of the
   338  // audio that is currently being processed.
   339  //
   340  // Deprecated: Please use types in: cloud.google.com/go/speech/apiv1/speechpb
   341  type StreamingRecognitionResult = src.StreamingRecognitionResult
   342  
   343  // The top-level message sent by the client for the `StreamingRecognize`
   344  // method. Multiple `StreamingRecognizeRequest` messages are sent. The first
   345  // message must contain a `streaming_config` message and must not contain
   346  // `audio_content`. All subsequent messages must contain `audio_content` and
   347  // must not contain a `streaming_config` message.
   348  //
   349  // Deprecated: Please use types in: cloud.google.com/go/speech/apiv1/speechpb
   350  type StreamingRecognizeRequest = src.StreamingRecognizeRequest
   351  type StreamingRecognizeRequest_AudioContent = src.StreamingRecognizeRequest_AudioContent
   352  type StreamingRecognizeRequest_StreamingConfig = src.StreamingRecognizeRequest_StreamingConfig
   353  
   354  // `StreamingRecognizeResponse` is the only message returned to the client by
   355  // `StreamingRecognize`. A series of zero or more `StreamingRecognizeResponse`
   356  // messages are streamed back to the client. If there is no recognizable audio,
   357  // and `single_utterance` is set to false, then no messages are streamed back
   358  // to the client. Here's an example of a series of
   359  // `StreamingRecognizeResponse`s that might be returned while processing audio:
   360  // 1. results { alternatives { transcript: "tube" } stability: 0.01 } 2.
   361  // results { alternatives { transcript: "to be a" } stability: 0.01 } 3.
   362  // results { alternatives { transcript: "to be" } stability: 0.9 } results {
   363  // alternatives { transcript: " or not to be" } stability: 0.01 } 4. results {
   364  // alternatives { transcript: "to be or not to be" confidence: 0.92 }
   365  // alternatives { transcript: "to bee or not to bee" } is_final: true } 5.
   366  // results { alternatives { transcript: " that's" } stability: 0.01 } 6.
   367  // results { alternatives { transcript: " that is" } stability: 0.9 } results {
   368  // alternatives { transcript: " the question" } stability: 0.01 } 7. results {
   369  // alternatives { transcript: " that is the question" confidence: 0.98 }
   370  // alternatives { transcript: " that was the question" } is_final: true }
   371  // Notes: - Only two of the above responses #4 and #7 contain final results;
   372  // they are indicated by `is_final: true`. Concatenating these together
   373  // generates the full transcript: "to be or not to be that is the question". -
   374  // The others contain interim `results`. #3 and #6 contain two interim
   375  // `results`: the first portion has a high stability and is less likely to
   376  // change; the second portion has a low stability and is very likely to change.
   377  // A UI designer might choose to show only high stability `results`. - The
   378  // specific `stability` and `confidence` values shown above are only for
   379  // illustrative purposes. Actual values may vary. - In each response, only one
   380  // of these fields will be set: `error`, `speech_event_type`, or one or more
   381  // (repeated) `results`.
   382  //
   383  // Deprecated: Please use types in: cloud.google.com/go/speech/apiv1/speechpb
   384  type StreamingRecognizeResponse = src.StreamingRecognizeResponse
   385  
   386  // Indicates the type of speech event.
   387  //
   388  // Deprecated: Please use types in: cloud.google.com/go/speech/apiv1/speechpb
   389  type StreamingRecognizeResponse_SpeechEventType = src.StreamingRecognizeResponse_SpeechEventType
   390  
   391  // Specifies an optional destination for the recognition results.
   392  //
   393  // Deprecated: Please use types in: cloud.google.com/go/speech/apiv1/speechpb
   394  type TranscriptOutputConfig = src.TranscriptOutputConfig
   395  type TranscriptOutputConfig_GcsUri = src.TranscriptOutputConfig_GcsUri
   396  
   397  // UnimplementedAdaptationServer can be embedded to have forward compatible
   398  // implementations.
   399  //
   400  // Deprecated: Please use types in: cloud.google.com/go/speech/apiv1/speechpb
   401  type UnimplementedAdaptationServer = src.UnimplementedAdaptationServer
   402  
   403  // UnimplementedSpeechServer can be embedded to have forward compatible
   404  // implementations.
   405  //
   406  // Deprecated: Please use types in: cloud.google.com/go/speech/apiv1/speechpb
   407  type UnimplementedSpeechServer = src.UnimplementedSpeechServer
   408  
   409  // Message sent by the client for the `UpdateCustomClass` method.
   410  //
   411  // Deprecated: Please use types in: cloud.google.com/go/speech/apiv1/speechpb
   412  type UpdateCustomClassRequest = src.UpdateCustomClassRequest
   413  
   414  // Message sent by the client for the `UpdatePhraseSet` method.
   415  //
   416  // Deprecated: Please use types in: cloud.google.com/go/speech/apiv1/speechpb
   417  type UpdatePhraseSetRequest = src.UpdatePhraseSetRequest
   418  
   419  // Word-specific information for recognized words.
   420  //
   421  // Deprecated: Please use types in: cloud.google.com/go/speech/apiv1/speechpb
   422  type WordInfo = src.WordInfo
   423  
   424  // Deprecated: Please use funcs in: cloud.google.com/go/speech/apiv1/speechpb
   425  func NewAdaptationClient(cc grpc.ClientConnInterface) AdaptationClient {
   426  	return src.NewAdaptationClient(cc)
   427  }
   428  
   429  // Deprecated: Please use funcs in: cloud.google.com/go/speech/apiv1/speechpb
   430  func NewSpeechClient(cc grpc.ClientConnInterface) SpeechClient { return src.NewSpeechClient(cc) }
   431  
   432  // Deprecated: Please use funcs in: cloud.google.com/go/speech/apiv1/speechpb
   433  func RegisterAdaptationServer(s *grpc.Server, srv AdaptationServer) {
   434  	src.RegisterAdaptationServer(s, srv)
   435  }
   436  
   437  // Deprecated: Please use funcs in: cloud.google.com/go/speech/apiv1/speechpb
   438  func RegisterSpeechServer(s *grpc.Server, srv SpeechServer) { src.RegisterSpeechServer(s, srv) }
   439  

View as plain text