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.dialogflow.v2beta1.stub; 18 19 import static com.google.cloud.dialogflow.v2beta1.AgentsClient.ListLocationsPagedResponse; 20 import static com.google.cloud.dialogflow.v2beta1.AgentsClient.SearchAgentsPagedResponse; 21 22 import com.google.api.core.BetaApi; 23 import com.google.api.gax.core.BackgroundResource; 24 import com.google.api.gax.rpc.OperationCallable; 25 import com.google.api.gax.rpc.UnaryCallable; 26 import com.google.cloud.dialogflow.v2beta1.Agent; 27 import com.google.cloud.dialogflow.v2beta1.DeleteAgentRequest; 28 import com.google.cloud.dialogflow.v2beta1.ExportAgentRequest; 29 import com.google.cloud.dialogflow.v2beta1.ExportAgentResponse; 30 import com.google.cloud.dialogflow.v2beta1.GetAgentRequest; 31 import com.google.cloud.dialogflow.v2beta1.GetValidationResultRequest; 32 import com.google.cloud.dialogflow.v2beta1.ImportAgentRequest; 33 import com.google.cloud.dialogflow.v2beta1.RestoreAgentRequest; 34 import com.google.cloud.dialogflow.v2beta1.SearchAgentsRequest; 35 import com.google.cloud.dialogflow.v2beta1.SearchAgentsResponse; 36 import com.google.cloud.dialogflow.v2beta1.SetAgentRequest; 37 import com.google.cloud.dialogflow.v2beta1.TrainAgentRequest; 38 import com.google.cloud.dialogflow.v2beta1.ValidationResult; 39 import com.google.cloud.location.GetLocationRequest; 40 import com.google.cloud.location.ListLocationsRequest; 41 import com.google.cloud.location.ListLocationsResponse; 42 import com.google.cloud.location.Location; 43 import com.google.longrunning.Operation; 44 import com.google.longrunning.stub.OperationsStub; 45 import com.google.protobuf.Empty; 46 import com.google.protobuf.Struct; 47 import javax.annotation.Generated; 48 49 // AUTO-GENERATED DOCUMENTATION AND CLASS. 50 /** 51 * Base stub class for the Agents service API. 52 * 53 * <p>This class is for advanced usage and reflects the underlying API directly. 54 */ 55 @BetaApi 56 @Generated("by gapic-generator-java") 57 public abstract class AgentsStub implements BackgroundResource { 58 getOperationsStub()59 public OperationsStub getOperationsStub() { 60 return null; 61 } 62 getHttpJsonOperationsStub()63 public com.google.api.gax.httpjson.longrunning.stub.OperationsStub getHttpJsonOperationsStub() { 64 return null; 65 } 66 getAgentCallable()67 public UnaryCallable<GetAgentRequest, Agent> getAgentCallable() { 68 throw new UnsupportedOperationException("Not implemented: getAgentCallable()"); 69 } 70 setAgentCallable()71 public UnaryCallable<SetAgentRequest, Agent> setAgentCallable() { 72 throw new UnsupportedOperationException("Not implemented: setAgentCallable()"); 73 } 74 deleteAgentCallable()75 public UnaryCallable<DeleteAgentRequest, Empty> deleteAgentCallable() { 76 throw new UnsupportedOperationException("Not implemented: deleteAgentCallable()"); 77 } 78 searchAgentsPagedCallable()79 public UnaryCallable<SearchAgentsRequest, SearchAgentsPagedResponse> searchAgentsPagedCallable() { 80 throw new UnsupportedOperationException("Not implemented: searchAgentsPagedCallable()"); 81 } 82 searchAgentsCallable()83 public UnaryCallable<SearchAgentsRequest, SearchAgentsResponse> searchAgentsCallable() { 84 throw new UnsupportedOperationException("Not implemented: searchAgentsCallable()"); 85 } 86 trainAgentOperationCallable()87 public OperationCallable<TrainAgentRequest, Empty, Struct> trainAgentOperationCallable() { 88 throw new UnsupportedOperationException("Not implemented: trainAgentOperationCallable()"); 89 } 90 trainAgentCallable()91 public UnaryCallable<TrainAgentRequest, Operation> trainAgentCallable() { 92 throw new UnsupportedOperationException("Not implemented: trainAgentCallable()"); 93 } 94 95 public OperationCallable<ExportAgentRequest, ExportAgentResponse, Struct> exportAgentOperationCallable()96 exportAgentOperationCallable() { 97 throw new UnsupportedOperationException("Not implemented: exportAgentOperationCallable()"); 98 } 99 exportAgentCallable()100 public UnaryCallable<ExportAgentRequest, Operation> exportAgentCallable() { 101 throw new UnsupportedOperationException("Not implemented: exportAgentCallable()"); 102 } 103 importAgentOperationCallable()104 public OperationCallable<ImportAgentRequest, Empty, Struct> importAgentOperationCallable() { 105 throw new UnsupportedOperationException("Not implemented: importAgentOperationCallable()"); 106 } 107 importAgentCallable()108 public UnaryCallable<ImportAgentRequest, Operation> importAgentCallable() { 109 throw new UnsupportedOperationException("Not implemented: importAgentCallable()"); 110 } 111 restoreAgentOperationCallable()112 public OperationCallable<RestoreAgentRequest, Empty, Struct> restoreAgentOperationCallable() { 113 throw new UnsupportedOperationException("Not implemented: restoreAgentOperationCallable()"); 114 } 115 restoreAgentCallable()116 public UnaryCallable<RestoreAgentRequest, Operation> restoreAgentCallable() { 117 throw new UnsupportedOperationException("Not implemented: restoreAgentCallable()"); 118 } 119 getValidationResultCallable()120 public UnaryCallable<GetValidationResultRequest, ValidationResult> getValidationResultCallable() { 121 throw new UnsupportedOperationException("Not implemented: getValidationResultCallable()"); 122 } 123 124 public UnaryCallable<ListLocationsRequest, ListLocationsPagedResponse> listLocationsPagedCallable()125 listLocationsPagedCallable() { 126 throw new UnsupportedOperationException("Not implemented: listLocationsPagedCallable()"); 127 } 128 listLocationsCallable()129 public UnaryCallable<ListLocationsRequest, ListLocationsResponse> listLocationsCallable() { 130 throw new UnsupportedOperationException("Not implemented: listLocationsCallable()"); 131 } 132 getLocationCallable()133 public UnaryCallable<GetLocationRequest, Location> getLocationCallable() { 134 throw new UnsupportedOperationException("Not implemented: getLocationCallable()"); 135 } 136 137 @Override close()138 public abstract void close(); 139 } 140