• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1 /*
2  * Copyright 2022 Google LLC
3  *
4  * Licensed under the Apache License, Version 2.0 (the "License");
5  * you may not use this file except in compliance with the License.
6  * You may obtain a copy of the License at
7  *
8  *      https://www.apache.org/licenses/LICENSE-2.0
9  *
10  * Unless required by applicable law or agreed to in writing, software
11  * distributed under the License is distributed on an "AS IS" BASIS,
12  * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13  * See the License for the specific language governing permissions and
14  * limitations under the License.
15  */
16 
17 package com.google.cloud.language.v1.stub;
18 
19 import com.google.api.gax.core.BackgroundResource;
20 import com.google.api.gax.rpc.UnaryCallable;
21 import com.google.cloud.language.v1.AnalyzeEntitiesRequest;
22 import com.google.cloud.language.v1.AnalyzeEntitiesResponse;
23 import com.google.cloud.language.v1.AnalyzeEntitySentimentRequest;
24 import com.google.cloud.language.v1.AnalyzeEntitySentimentResponse;
25 import com.google.cloud.language.v1.AnalyzeSentimentRequest;
26 import com.google.cloud.language.v1.AnalyzeSentimentResponse;
27 import com.google.cloud.language.v1.AnalyzeSyntaxRequest;
28 import com.google.cloud.language.v1.AnalyzeSyntaxResponse;
29 import com.google.cloud.language.v1.AnnotateTextRequest;
30 import com.google.cloud.language.v1.AnnotateTextResponse;
31 import com.google.cloud.language.v1.ClassifyTextRequest;
32 import com.google.cloud.language.v1.ClassifyTextResponse;
33 import javax.annotation.Generated;
34 
35 // AUTO-GENERATED DOCUMENTATION AND CLASS.
36 /**
37  * Base stub class for the LanguageService service API.
38  *
39  * <p>This class is for advanced usage and reflects the underlying API directly.
40  */
41 @Generated("by gapic-generator-java")
42 public abstract class LanguageServiceStub implements BackgroundResource {
43 
44   public UnaryCallable<AnalyzeSentimentRequest, AnalyzeSentimentResponse>
analyzeSentimentCallable()45       analyzeSentimentCallable() {
46     throw new UnsupportedOperationException("Not implemented: analyzeSentimentCallable()");
47   }
48 
analyzeEntitiesCallable()49   public UnaryCallable<AnalyzeEntitiesRequest, AnalyzeEntitiesResponse> analyzeEntitiesCallable() {
50     throw new UnsupportedOperationException("Not implemented: analyzeEntitiesCallable()");
51   }
52 
53   public UnaryCallable<AnalyzeEntitySentimentRequest, AnalyzeEntitySentimentResponse>
analyzeEntitySentimentCallable()54       analyzeEntitySentimentCallable() {
55     throw new UnsupportedOperationException("Not implemented: analyzeEntitySentimentCallable()");
56   }
57 
analyzeSyntaxCallable()58   public UnaryCallable<AnalyzeSyntaxRequest, AnalyzeSyntaxResponse> analyzeSyntaxCallable() {
59     throw new UnsupportedOperationException("Not implemented: analyzeSyntaxCallable()");
60   }
61 
classifyTextCallable()62   public UnaryCallable<ClassifyTextRequest, ClassifyTextResponse> classifyTextCallable() {
63     throw new UnsupportedOperationException("Not implemented: classifyTextCallable()");
64   }
65 
annotateTextCallable()66   public UnaryCallable<AnnotateTextRequest, AnnotateTextResponse> annotateTextCallable() {
67     throw new UnsupportedOperationException("Not implemented: annotateTextCallable()");
68   }
69 
70   @Override
close()71   public abstract void close();
72 }
73