File tree Expand file tree Collapse file tree 4 files changed +22
-17
lines changed
java/com/examples/cloud/speech
proto/google/speech/v1beta1 Expand file tree Collapse file tree 4 files changed +22
-17
lines changed Original file line number Diff line number Diff line change @@ -25,6 +25,14 @@ limitations under the License.
2525 <url >https://cloud.google.com/speech/</url >
2626 <inceptionYear >2016</inceptionYear >
2727
28+ <!-- Parent defines plugins for checkstyle and unit testing. -->
29+ <parent >
30+ <groupId >com.google.cloud</groupId >
31+ <artifactId >shared-configuration</artifactId >
32+ <version >1.0.0</version >
33+ <relativePath >../../java-repo-tools</relativePath >
34+ </parent >
35+
2836 <licenses >
2937 <license >
3038 <name >Apache 2</name >
@@ -38,13 +46,6 @@ limitations under the License.
3846 <url >http://www.google.com</url >
3947 </organization >
4048
41- <parent >
42- <groupId >com.google.cloud</groupId >
43- <artifactId >doc-samples</artifactId >
44- <version >1.0.0</version >
45- <relativePath >../..</relativePath >
46- </parent >
47-
4849 <properties >
4950 <project .build.sourceEncoding>UTF-8</project .build.sourceEncoding>
5051 </properties >
Original file line number Diff line number Diff line change 1616
1717package com .examples .cloud .speech ;
1818
19- import com .google .auth .oauth2 .GoogleCredentials ;
2019import com .google .cloud .speech .v1beta1 .RecognitionConfig ;
2120import com .google .cloud .speech .v1beta1 .RecognitionConfig .AudioEncoding ;
2221import com .google .cloud .speech .v1beta1 .SpeechGrpc ;
2827
2928import io .grpc .ManagedChannel ;
3029import io .grpc .Status ;
31- import io .grpc .auth .ClientAuthInterceptor ;
32- import io .grpc .netty .NegotiationType ;
33- import io .grpc .netty .NettyChannelBuilder ;
3430import io .grpc .stub .StreamObserver ;
3531
3632import org .apache .commons .cli .CommandLine ;
4642import java .util .Arrays ;
4743import java .util .List ;
4844import java .util .concurrent .CountDownLatch ;
49- import java .util .concurrent .Executors ;
5045import java .util .concurrent .TimeUnit ;
5146import java .util .logging .Level ;
5247import java .util .logging .Logger ;
Original file line number Diff line number Diff line change 1616
1717package com .examples .cloud .speech ;
1818
19- import com .google .auth .oauth2 .GoogleCredentials ;
2019import com .google .cloud .speech .v1beta1 .RecognitionAudio ;
2120import com .google .cloud .speech .v1beta1 .RecognitionConfig ;
2221import com .google .cloud .speech .v1beta1 .RecognitionConfig .AudioEncoding ;
2726
2827import io .grpc .ManagedChannel ;
2928import io .grpc .StatusRuntimeException ;
30- import io .grpc .auth .ClientAuthInterceptor ;
31- import io .grpc .netty .NegotiationType ;
32- import io .grpc .netty .NettyChannelBuilder ;
3329
3430import org .apache .commons .cli .CommandLine ;
3531import org .apache .commons .cli .CommandLineParser ;
4238import java .net .URI ;
4339import java .util .Arrays ;
4440import java .util .List ;
45- import java .util .concurrent .Executors ;
4641import java .util .concurrent .TimeUnit ;
4742import java .util .logging .Level ;
4843import java .util .logging .Logger ;
Original file line number Diff line number Diff line change 1+ // Copyright 2016 Google Inc.
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+
115syntax = "proto3" ;
216
317package google.cloud.speech.v1beta1 ;
You can’t perform that action at this time.
0 commit comments