diff --git a/google-cloud-speech/src/main/java/com/google/cloud/speech/spi/v1beta1/PagedResponseWrappers.java b/google-cloud-speech/src/main/java/com/google/cloud/speech/spi/v1beta1/PagedResponseWrappers.java deleted file mode 100644 index b366b0ad8b58..000000000000 --- a/google-cloud-speech/src/main/java/com/google/cloud/speech/spi/v1beta1/PagedResponseWrappers.java +++ /dev/null @@ -1,29 +0,0 @@ -/* - * Copyright 2016, Google Inc. All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ -package com.google.cloud.speech.spi.v1beta1; - -import com.google.protobuf.ExperimentalApi; -import javax.annotation.Generated; - -// AUTO-GENERATED DOCUMENTATION AND CLASS -/** - * Wrapper class to contain paged response types for page streaming methods. Each static class - * inside this wrapper class is used as the return type of one of an API method that implements the - * page streaming pattern. - */ -@Generated("by GAPIC") -@ExperimentalApi -public class PagedResponseWrappers {} diff --git a/google-cloud-speech/src/main/java/com/google/cloud/speech/spi/v1beta1/SpeechClient.java b/google-cloud-speech/src/main/java/com/google/cloud/speech/spi/v1beta1/SpeechClient.java index c7a95d6c4734..a652215d5180 100644 --- a/google-cloud-speech/src/main/java/com/google/cloud/speech/spi/v1beta1/SpeechClient.java +++ b/google-cloud-speech/src/main/java/com/google/cloud/speech/spi/v1beta1/SpeechClient.java @@ -391,17 +391,17 @@ public final UnaryCallable asyncRecognizeCalla * try (SpeechClient speechClient = SpeechClient.create()) { * StreamObserver<StreamingRecognizeResponse> responseObserver = * new StreamObserver<StreamingRecognizeResponse>() { - * @Override + * {@literal @}Override * public void onNext(StreamingRecognizeResponse response) { * // Do something when receive a response * } * - * @Override + * {@literal @}Override * public void onError(Throwable t) { * // Add error-handling * } * - * @Override + * {@literal @}Override * public void onCompleted() { * // Do something when complete. * }