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.cx.v3.stub; 18 19 import static com.google.cloud.dialogflow.cx.v3.VersionsClient.ListLocationsPagedResponse; 20 import static com.google.cloud.dialogflow.cx.v3.VersionsClient.ListVersionsPagedResponse; 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.cx.v3.CompareVersionsRequest; 26 import com.google.cloud.dialogflow.cx.v3.CompareVersionsResponse; 27 import com.google.cloud.dialogflow.cx.v3.CreateVersionOperationMetadata; 28 import com.google.cloud.dialogflow.cx.v3.CreateVersionRequest; 29 import com.google.cloud.dialogflow.cx.v3.DeleteVersionRequest; 30 import com.google.cloud.dialogflow.cx.v3.GetVersionRequest; 31 import com.google.cloud.dialogflow.cx.v3.ListVersionsRequest; 32 import com.google.cloud.dialogflow.cx.v3.ListVersionsResponse; 33 import com.google.cloud.dialogflow.cx.v3.LoadVersionRequest; 34 import com.google.cloud.dialogflow.cx.v3.UpdateVersionRequest; 35 import com.google.cloud.dialogflow.cx.v3.Version; 36 import com.google.cloud.location.GetLocationRequest; 37 import com.google.cloud.location.ListLocationsRequest; 38 import com.google.cloud.location.ListLocationsResponse; 39 import com.google.cloud.location.Location; 40 import com.google.longrunning.Operation; 41 import com.google.longrunning.stub.OperationsStub; 42 import com.google.protobuf.Empty; 43 import com.google.protobuf.Struct; 44 import javax.annotation.Generated; 45 46 // AUTO-GENERATED DOCUMENTATION AND CLASS. 47 /** 48 * Base stub class for the Versions service API. 49 * 50 * <p>This class is for advanced usage and reflects the underlying API directly. 51 */ 52 @Generated("by gapic-generator-java") 53 public abstract class VersionsStub implements BackgroundResource { 54 getOperationsStub()55 public OperationsStub getOperationsStub() { 56 return null; 57 } 58 getHttpJsonOperationsStub()59 public com.google.api.gax.httpjson.longrunning.stub.OperationsStub getHttpJsonOperationsStub() { 60 return null; 61 } 62 listVersionsPagedCallable()63 public UnaryCallable<ListVersionsRequest, ListVersionsPagedResponse> listVersionsPagedCallable() { 64 throw new UnsupportedOperationException("Not implemented: listVersionsPagedCallable()"); 65 } 66 listVersionsCallable()67 public UnaryCallable<ListVersionsRequest, ListVersionsResponse> listVersionsCallable() { 68 throw new UnsupportedOperationException("Not implemented: listVersionsCallable()"); 69 } 70 getVersionCallable()71 public UnaryCallable<GetVersionRequest, Version> getVersionCallable() { 72 throw new UnsupportedOperationException("Not implemented: getVersionCallable()"); 73 } 74 75 public OperationCallable<CreateVersionRequest, Version, CreateVersionOperationMetadata> createVersionOperationCallable()76 createVersionOperationCallable() { 77 throw new UnsupportedOperationException("Not implemented: createVersionOperationCallable()"); 78 } 79 createVersionCallable()80 public UnaryCallable<CreateVersionRequest, Operation> createVersionCallable() { 81 throw new UnsupportedOperationException("Not implemented: createVersionCallable()"); 82 } 83 updateVersionCallable()84 public UnaryCallable<UpdateVersionRequest, Version> updateVersionCallable() { 85 throw new UnsupportedOperationException("Not implemented: updateVersionCallable()"); 86 } 87 deleteVersionCallable()88 public UnaryCallable<DeleteVersionRequest, Empty> deleteVersionCallable() { 89 throw new UnsupportedOperationException("Not implemented: deleteVersionCallable()"); 90 } 91 loadVersionOperationCallable()92 public OperationCallable<LoadVersionRequest, Empty, Struct> loadVersionOperationCallable() { 93 throw new UnsupportedOperationException("Not implemented: loadVersionOperationCallable()"); 94 } 95 loadVersionCallable()96 public UnaryCallable<LoadVersionRequest, Operation> loadVersionCallable() { 97 throw new UnsupportedOperationException("Not implemented: loadVersionCallable()"); 98 } 99 compareVersionsCallable()100 public UnaryCallable<CompareVersionsRequest, CompareVersionsResponse> compareVersionsCallable() { 101 throw new UnsupportedOperationException("Not implemented: compareVersionsCallable()"); 102 } 103 104 public UnaryCallable<ListLocationsRequest, ListLocationsPagedResponse> listLocationsPagedCallable()105 listLocationsPagedCallable() { 106 throw new UnsupportedOperationException("Not implemented: listLocationsPagedCallable()"); 107 } 108 listLocationsCallable()109 public UnaryCallable<ListLocationsRequest, ListLocationsResponse> listLocationsCallable() { 110 throw new UnsupportedOperationException("Not implemented: listLocationsCallable()"); 111 } 112 getLocationCallable()113 public UnaryCallable<GetLocationRequest, Location> getLocationCallable() { 114 throw new UnsupportedOperationException("Not implemented: getLocationCallable()"); 115 } 116 117 @Override close()118 public abstract void close(); 119 } 120