| /external/google-cloud-java/java-speech/google-cloud-speech/src/main/java/com/google/cloud/speech/v2/ |
| D | SpeechClient.java | 60 * try (SpeechClient speechClient = SpeechClient.create()) { 62 * Recognizer response = speechClient.getRecognizer(name); 66 * <p>Note: close() needs to be called on the SpeechClient object to clean up resources such as 104 * SpeechClient speechClient = SpeechClient.create(speechSettings); 116 * SpeechClient speechClient = SpeechClient.create(speechSettings); 129 * SpeechClient speechClient = SpeechClient.create(speechSettings); 135 public class SpeechClient implements BackgroundResource { class 141 /** Constructs an instance of SpeechClient with default settings. */ 142 public static final SpeechClient create() throws IOException { in create() 147 * Constructs an instance of SpeechClient, using the given settings. The channels are created [all …]
|
| D | package-info.java | 22 * <p>======================= SpeechClient ======================= 26 * <p>Sample for SpeechClient: 34 * try (SpeechClient speechClient = SpeechClient.create()) { 36 * Recognizer response = speechClient.getRecognizer(name);
|
| /external/google-cloud-java/java-speech/google-cloud-speech/src/main/java/com/google/cloud/speech/v1/ |
| D | SpeechClient.java | 46 * try (SpeechClient speechClient = SpeechClient.create()) { 49 * RecognizeResponse response = speechClient.recognize(config, audio); 53 * <p>Note: close() needs to be called on the SpeechClient object to clean up resources such as 91 * SpeechClient speechClient = SpeechClient.create(speechSettings); 103 * SpeechClient speechClient = SpeechClient.create(speechSettings); 116 * SpeechClient speechClient = SpeechClient.create(speechSettings); 122 public class SpeechClient implements BackgroundResource { class 128 /** Constructs an instance of SpeechClient with default settings. */ 129 public static final SpeechClient create() throws IOException { in create() 134 * Constructs an instance of SpeechClient, using the given settings. The channels are created [all …]
|
| D | package-info.java | 22 * <p>======================= SpeechClient ======================= 26 * <p>Sample for SpeechClient: 34 * try (SpeechClient speechClient = SpeechClient.create()) { 37 * RecognizeResponse response = speechClient.recognize(config, audio);
|
| /external/google-cloud-java/java-speech/google-cloud-speech/src/main/java/com/google/cloud/speech/v1p1beta1/ |
| D | SpeechClient.java | 46 * try (SpeechClient speechClient = SpeechClient.create()) { 49 * RecognizeResponse response = speechClient.recognize(config, audio); 53 * <p>Note: close() needs to be called on the SpeechClient object to clean up resources such as 91 * SpeechClient speechClient = SpeechClient.create(speechSettings); 103 * SpeechClient speechClient = SpeechClient.create(speechSettings); 116 * SpeechClient speechClient = SpeechClient.create(speechSettings); 123 public class SpeechClient implements BackgroundResource { class 129 /** Constructs an instance of SpeechClient with default settings. */ 130 public static final SpeechClient create() throws IOException { in create() 135 * Constructs an instance of SpeechClient, using the given settings. The channels are created [all …]
|
| D | package-info.java | 22 * <p>======================= SpeechClient ======================= 26 * <p>Sample for SpeechClient: 34 * try (SpeechClient speechClient = SpeechClient.create()) { 37 * RecognizeResponse response = speechClient.recognize(config, audio);
|
| /external/google-cloud-java/java-speech/google-cloud-speech/src/test/java/com/google/cloud/speech/v1/it/ |
| D | ITSpeechTest.java | 27 import com.google.cloud.speech.v1.SpeechClient; 44 private static SpeechClient speechClient; field in ITSpeechTest 66 speechClient = SpeechClient.create(settingsBuilder.build()); in setupClass() 71 speechClient.close(); in tearDownClass() 76 RecognizeResponse response = speechClient.recognize(config(2), audio()); in syncRecognize() 87 speechClient.longRunningRecognizeAsync(config(2), audio()).get(); in longrunningRecognize() 108 speechClient.streamingRecognizeCallable().bidiStreamingCall(responseObserver); in streamingRecognize()
|
| /external/google-cloud-java/java-speech/samples/snippets/generated/com/google/cloud/speech/v2/speech/getrecognizer/ |
| D | SyncGetRecognizerRecognizername.java | 22 import com.google.cloud.speech.v2.SpeechClient; 36 try (SpeechClient speechClient = SpeechClient.create()) { in syncGetRecognizerRecognizername() argument 38 Recognizer response = speechClient.getRecognizer(name); in syncGetRecognizerRecognizername()
|
| /external/google-cloud-java/java-speech/samples/snippets/generated/com/google/cloud/speech/v2/speech/getconfig/ |
| D | SyncGetConfigConfigname.java | 22 import com.google.cloud.speech.v2.SpeechClient; 36 try (SpeechClient speechClient = SpeechClient.create()) { in syncGetConfigConfigname() argument 38 Config response = speechClient.getConfig(name); in syncGetConfigConfigname()
|
| D | SyncGetConfigString.java | 22 import com.google.cloud.speech.v2.SpeechClient; 36 try (SpeechClient speechClient = SpeechClient.create()) { in syncGetConfigString() argument 38 Config response = speechClient.getConfig(name); in syncGetConfigString()
|
| D | SyncGetConfig.java | 23 import com.google.cloud.speech.v2.SpeechClient; 37 try (SpeechClient speechClient = SpeechClient.create()) { in syncGetConfig() argument 42 Config response = speechClient.getConfig(request); in syncGetConfig()
|
| /external/google-cloud-java/java-speech/samples/snippets/generated/com/google/cloud/speech/v2/speech/getphraseset/ |
| D | SyncGetPhraseSetPhrasesetname.java | 22 import com.google.cloud.speech.v2.SpeechClient; 36 try (SpeechClient speechClient = SpeechClient.create()) { in syncGetPhraseSetPhrasesetname() argument 38 PhraseSet response = speechClient.getPhraseSet(name); in syncGetPhraseSetPhrasesetname()
|
| D | SyncGetPhraseSet.java | 23 import com.google.cloud.speech.v2.SpeechClient; 37 try (SpeechClient speechClient = SpeechClient.create()) { in syncGetPhraseSet() argument 42 PhraseSet response = speechClient.getPhraseSet(request); in syncGetPhraseSet()
|
| /external/google-cloud-java/java-speech/samples/snippets/generated/com/google/cloud/speech/v2/speech/getlocation/ |
| D | SyncGetLocation.java | 22 import com.google.cloud.speech.v2.SpeechClient; 36 try (SpeechClient speechClient = SpeechClient.create()) { in syncGetLocation() argument 38 Location response = speechClient.getLocation(request); in syncGetLocation()
|
| /external/google-cloud-java/java-speech/samples/snippets/generated/com/google/cloud/speech/v2/speech/getcustomclass/ |
| D | SyncGetCustomClassCustomclassname.java | 22 import com.google.cloud.speech.v2.SpeechClient; 36 try (SpeechClient speechClient = SpeechClient.create()) { in syncGetCustomClassCustomclassname() argument 38 CustomClass response = speechClient.getCustomClass(name); in syncGetCustomClassCustomclassname()
|
| D | SyncGetCustomClassString.java | 22 import com.google.cloud.speech.v2.SpeechClient; 36 try (SpeechClient speechClient = SpeechClient.create()) { in syncGetCustomClassString() argument 38 CustomClass response = speechClient.getCustomClass(name); in syncGetCustomClassString()
|
| /external/google-cloud-java/java-speech/samples/snippets/generated/com/google/cloud/speech/v2/speech/undeletecustomclass/ |
| D | SyncUndeleteCustomClassCustomclassname.java | 22 import com.google.cloud.speech.v2.SpeechClient; 36 try (SpeechClient speechClient = SpeechClient.create()) { in syncUndeleteCustomClassCustomclassname() argument 38 CustomClass response = speechClient.undeleteCustomClassAsync(name).get(); in syncUndeleteCustomClassCustomclassname()
|
| D | SyncUndeleteCustomClassString.java | 22 import com.google.cloud.speech.v2.SpeechClient; 36 try (SpeechClient speechClient = SpeechClient.create()) { in syncUndeleteCustomClassString() argument 38 CustomClass response = speechClient.undeleteCustomClassAsync(name).get(); in syncUndeleteCustomClassString()
|
| /external/google-cloud-java/java-speech/samples/snippets/generated/com/google/cloud/speech/v2/speech/createcustomclass/ |
| D | SyncCreateCustomClassStringCustomclassString.java | 22 import com.google.cloud.speech.v2.SpeechClient; 36 try (SpeechClient speechClient = SpeechClient.create()) { in syncCreateCustomClassStringCustomclassString() argument 41 speechClient.createCustomClassAsync(parent, customClass, customClassId).get(); in syncCreateCustomClassStringCustomclassString()
|
| /external/google-cloud-java/java-speech/samples/snippets/generated/com/google/cloud/speech/v2/speech/listphrasesets/ |
| D | SyncListPhraseSetsLocationname.java | 22 import com.google.cloud.speech.v2.SpeechClient; 36 try (SpeechClient speechClient = SpeechClient.create()) { in syncListPhraseSetsLocationname() argument 38 for (PhraseSet element : speechClient.listPhraseSets(parent).iterateAll()) { in syncListPhraseSetsLocationname()
|
| D | SyncListPhraseSetsString.java | 22 import com.google.cloud.speech.v2.SpeechClient; 36 try (SpeechClient speechClient = SpeechClient.create()) { in syncListPhraseSetsString() argument 38 for (PhraseSet element : speechClient.listPhraseSets(parent).iterateAll()) { in syncListPhraseSetsString()
|
| /external/google-cloud-java/java-speech/samples/snippets/generated/com/google/cloud/speech/v1/speech/recognize/ |
| D | SyncRecognizeRecognitionconfigRecognitionaudio.java | 23 import com.google.cloud.speech.v1.SpeechClient; 37 try (SpeechClient speechClient = SpeechClient.create()) { in syncRecognizeRecognitionconfigRecognitionaudio() argument 40 RecognizeResponse response = speechClient.recognize(config, audio); in syncRecognizeRecognitionconfigRecognitionaudio()
|
| /external/google-cloud-java/java-speech/samples/snippets/generated/com/google/cloud/speech/v2/speech/deletecustomclass/ |
| D | SyncDeleteCustomClassString.java | 22 import com.google.cloud.speech.v2.SpeechClient; 36 try (SpeechClient speechClient = SpeechClient.create()) { in syncDeleteCustomClassString() argument 38 CustomClass response = speechClient.deleteCustomClassAsync(name).get(); in syncDeleteCustomClassString()
|
| /external/google-cloud-java/java-speech/samples/snippets/generated/com/google/cloud/speech/v2/speech/createrecognizer/ |
| D | SyncCreateRecognizerStringRecognizerString.java | 22 import com.google.cloud.speech.v2.SpeechClient; 36 try (SpeechClient speechClient = SpeechClient.create()) { in syncCreateRecognizerStringRecognizerString() argument 41 speechClient.createRecognizerAsync(parent, recognizer, recognizerId).get(); in syncCreateRecognizerStringRecognizerString()
|
| /external/google-cloud-java/java-speech/samples/snippets/generated/com/google/cloud/speech/v2/speech/undeleterecognizer/ |
| D | SyncUndeleteRecognizerRecognizername.java | 22 import com.google.cloud.speech.v2.SpeechClient; 36 try (SpeechClient speechClient = SpeechClient.create()) { in syncUndeleteRecognizerRecognizername() argument 38 Recognizer response = speechClient.undeleteRecognizerAsync(name).get(); in syncUndeleteRecognizerRecognizername()
|