File tree 4 files changed +22
-17
lines changed
java/com/examples/cloud/speech
proto/google/speech/v1beta1
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.
25
25
<url >https://cloud.google.com/speech/</url >
26
26
<inceptionYear >2016</inceptionYear >
27
27
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
+
28
36
<licenses >
29
37
<license >
30
38
<name >Apache 2</name >
@@ -38,13 +46,6 @@ limitations under the License.
38
46
<url >http://www.google.com</url >
39
47
</organization >
40
48
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
-
48
49
<properties >
49
50
<project .build.sourceEncoding>UTF-8</project .build.sourceEncoding>
50
51
</properties >
Original file line number Diff line number Diff line change 16
16
17
17
package com .examples .cloud .speech ;
18
18
19
- import com .google .auth .oauth2 .GoogleCredentials ;
20
19
import com .google .cloud .speech .v1beta1 .RecognitionConfig ;
21
20
import com .google .cloud .speech .v1beta1 .RecognitionConfig .AudioEncoding ;
22
21
import com .google .cloud .speech .v1beta1 .SpeechGrpc ;
28
27
29
28
import io .grpc .ManagedChannel ;
30
29
import io .grpc .Status ;
31
- import io .grpc .auth .ClientAuthInterceptor ;
32
- import io .grpc .netty .NegotiationType ;
33
- import io .grpc .netty .NettyChannelBuilder ;
34
30
import io .grpc .stub .StreamObserver ;
35
31
36
32
import org .apache .commons .cli .CommandLine ;
46
42
import java .util .Arrays ;
47
43
import java .util .List ;
48
44
import java .util .concurrent .CountDownLatch ;
49
- import java .util .concurrent .Executors ;
50
45
import java .util .concurrent .TimeUnit ;
51
46
import java .util .logging .Level ;
52
47
import java .util .logging .Logger ;
Original file line number Diff line number Diff line change 16
16
17
17
package com .examples .cloud .speech ;
18
18
19
- import com .google .auth .oauth2 .GoogleCredentials ;
20
19
import com .google .cloud .speech .v1beta1 .RecognitionAudio ;
21
20
import com .google .cloud .speech .v1beta1 .RecognitionConfig ;
22
21
import com .google .cloud .speech .v1beta1 .RecognitionConfig .AudioEncoding ;
27
26
28
27
import io .grpc .ManagedChannel ;
29
28
import io .grpc .StatusRuntimeException ;
30
- import io .grpc .auth .ClientAuthInterceptor ;
31
- import io .grpc .netty .NegotiationType ;
32
- import io .grpc .netty .NettyChannelBuilder ;
33
29
34
30
import org .apache .commons .cli .CommandLine ;
35
31
import org .apache .commons .cli .CommandLineParser ;
42
38
import java .net .URI ;
43
39
import java .util .Arrays ;
44
40
import java .util .List ;
45
- import java .util .concurrent .Executors ;
46
41
import java .util .concurrent .TimeUnit ;
47
42
import java .util .logging .Level ;
48
43
import 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
+
1
15
syntax = "proto3" ;
2
16
3
17
package google.cloud.speech.v1beta1 ;
You can’t perform that action at this time.
0 commit comments