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