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.aiplatform.v1.stub; 18 19 import static com.google.cloud.aiplatform.v1.DatasetServiceClient.ListAnnotationsPagedResponse; 20 import static com.google.cloud.aiplatform.v1.DatasetServiceClient.ListDataItemsPagedResponse; 21 import static com.google.cloud.aiplatform.v1.DatasetServiceClient.ListDatasetsPagedResponse; 22 import static com.google.cloud.aiplatform.v1.DatasetServiceClient.ListLocationsPagedResponse; 23 import static com.google.cloud.aiplatform.v1.DatasetServiceClient.ListSavedQueriesPagedResponse; 24 import static com.google.cloud.aiplatform.v1.DatasetServiceClient.SearchDataItemsPagedResponse; 25 26 import com.google.api.gax.core.BackgroundResource; 27 import com.google.api.gax.rpc.OperationCallable; 28 import com.google.api.gax.rpc.UnaryCallable; 29 import com.google.cloud.aiplatform.v1.AnnotationSpec; 30 import com.google.cloud.aiplatform.v1.CreateDatasetOperationMetadata; 31 import com.google.cloud.aiplatform.v1.CreateDatasetRequest; 32 import com.google.cloud.aiplatform.v1.Dataset; 33 import com.google.cloud.aiplatform.v1.DeleteDatasetRequest; 34 import com.google.cloud.aiplatform.v1.DeleteOperationMetadata; 35 import com.google.cloud.aiplatform.v1.ExportDataOperationMetadata; 36 import com.google.cloud.aiplatform.v1.ExportDataRequest; 37 import com.google.cloud.aiplatform.v1.ExportDataResponse; 38 import com.google.cloud.aiplatform.v1.GetAnnotationSpecRequest; 39 import com.google.cloud.aiplatform.v1.GetDatasetRequest; 40 import com.google.cloud.aiplatform.v1.ImportDataOperationMetadata; 41 import com.google.cloud.aiplatform.v1.ImportDataRequest; 42 import com.google.cloud.aiplatform.v1.ImportDataResponse; 43 import com.google.cloud.aiplatform.v1.ListAnnotationsRequest; 44 import com.google.cloud.aiplatform.v1.ListAnnotationsResponse; 45 import com.google.cloud.aiplatform.v1.ListDataItemsRequest; 46 import com.google.cloud.aiplatform.v1.ListDataItemsResponse; 47 import com.google.cloud.aiplatform.v1.ListDatasetsRequest; 48 import com.google.cloud.aiplatform.v1.ListDatasetsResponse; 49 import com.google.cloud.aiplatform.v1.ListSavedQueriesRequest; 50 import com.google.cloud.aiplatform.v1.ListSavedQueriesResponse; 51 import com.google.cloud.aiplatform.v1.SearchDataItemsRequest; 52 import com.google.cloud.aiplatform.v1.SearchDataItemsResponse; 53 import com.google.cloud.aiplatform.v1.UpdateDatasetRequest; 54 import com.google.cloud.location.GetLocationRequest; 55 import com.google.cloud.location.ListLocationsRequest; 56 import com.google.cloud.location.ListLocationsResponse; 57 import com.google.cloud.location.Location; 58 import com.google.iam.v1.GetIamPolicyRequest; 59 import com.google.iam.v1.Policy; 60 import com.google.iam.v1.SetIamPolicyRequest; 61 import com.google.iam.v1.TestIamPermissionsRequest; 62 import com.google.iam.v1.TestIamPermissionsResponse; 63 import com.google.longrunning.Operation; 64 import com.google.longrunning.stub.OperationsStub; 65 import com.google.protobuf.Empty; 66 import javax.annotation.Generated; 67 68 // AUTO-GENERATED DOCUMENTATION AND CLASS. 69 /** 70 * Base stub class for the DatasetService service API. 71 * 72 * <p>This class is for advanced usage and reflects the underlying API directly. 73 */ 74 @Generated("by gapic-generator-java") 75 public abstract class DatasetServiceStub implements BackgroundResource { 76 getOperationsStub()77 public OperationsStub getOperationsStub() { 78 throw new UnsupportedOperationException("Not implemented: getOperationsStub()"); 79 } 80 81 public OperationCallable<CreateDatasetRequest, Dataset, CreateDatasetOperationMetadata> createDatasetOperationCallable()82 createDatasetOperationCallable() { 83 throw new UnsupportedOperationException("Not implemented: createDatasetOperationCallable()"); 84 } 85 createDatasetCallable()86 public UnaryCallable<CreateDatasetRequest, Operation> createDatasetCallable() { 87 throw new UnsupportedOperationException("Not implemented: createDatasetCallable()"); 88 } 89 getDatasetCallable()90 public UnaryCallable<GetDatasetRequest, Dataset> getDatasetCallable() { 91 throw new UnsupportedOperationException("Not implemented: getDatasetCallable()"); 92 } 93 updateDatasetCallable()94 public UnaryCallable<UpdateDatasetRequest, Dataset> updateDatasetCallable() { 95 throw new UnsupportedOperationException("Not implemented: updateDatasetCallable()"); 96 } 97 listDatasetsPagedCallable()98 public UnaryCallable<ListDatasetsRequest, ListDatasetsPagedResponse> listDatasetsPagedCallable() { 99 throw new UnsupportedOperationException("Not implemented: listDatasetsPagedCallable()"); 100 } 101 listDatasetsCallable()102 public UnaryCallable<ListDatasetsRequest, ListDatasetsResponse> listDatasetsCallable() { 103 throw new UnsupportedOperationException("Not implemented: listDatasetsCallable()"); 104 } 105 106 public OperationCallable<DeleteDatasetRequest, Empty, DeleteOperationMetadata> deleteDatasetOperationCallable()107 deleteDatasetOperationCallable() { 108 throw new UnsupportedOperationException("Not implemented: deleteDatasetOperationCallable()"); 109 } 110 deleteDatasetCallable()111 public UnaryCallable<DeleteDatasetRequest, Operation> deleteDatasetCallable() { 112 throw new UnsupportedOperationException("Not implemented: deleteDatasetCallable()"); 113 } 114 115 public OperationCallable<ImportDataRequest, ImportDataResponse, ImportDataOperationMetadata> importDataOperationCallable()116 importDataOperationCallable() { 117 throw new UnsupportedOperationException("Not implemented: importDataOperationCallable()"); 118 } 119 importDataCallable()120 public UnaryCallable<ImportDataRequest, Operation> importDataCallable() { 121 throw new UnsupportedOperationException("Not implemented: importDataCallable()"); 122 } 123 124 public OperationCallable<ExportDataRequest, ExportDataResponse, ExportDataOperationMetadata> exportDataOperationCallable()125 exportDataOperationCallable() { 126 throw new UnsupportedOperationException("Not implemented: exportDataOperationCallable()"); 127 } 128 exportDataCallable()129 public UnaryCallable<ExportDataRequest, Operation> exportDataCallable() { 130 throw new UnsupportedOperationException("Not implemented: exportDataCallable()"); 131 } 132 133 public UnaryCallable<ListDataItemsRequest, ListDataItemsPagedResponse> listDataItemsPagedCallable()134 listDataItemsPagedCallable() { 135 throw new UnsupportedOperationException("Not implemented: listDataItemsPagedCallable()"); 136 } 137 listDataItemsCallable()138 public UnaryCallable<ListDataItemsRequest, ListDataItemsResponse> listDataItemsCallable() { 139 throw new UnsupportedOperationException("Not implemented: listDataItemsCallable()"); 140 } 141 142 public UnaryCallable<SearchDataItemsRequest, SearchDataItemsPagedResponse> searchDataItemsPagedCallable()143 searchDataItemsPagedCallable() { 144 throw new UnsupportedOperationException("Not implemented: searchDataItemsPagedCallable()"); 145 } 146 searchDataItemsCallable()147 public UnaryCallable<SearchDataItemsRequest, SearchDataItemsResponse> searchDataItemsCallable() { 148 throw new UnsupportedOperationException("Not implemented: searchDataItemsCallable()"); 149 } 150 151 public UnaryCallable<ListSavedQueriesRequest, ListSavedQueriesPagedResponse> listSavedQueriesPagedCallable()152 listSavedQueriesPagedCallable() { 153 throw new UnsupportedOperationException("Not implemented: listSavedQueriesPagedCallable()"); 154 } 155 156 public UnaryCallable<ListSavedQueriesRequest, ListSavedQueriesResponse> listSavedQueriesCallable()157 listSavedQueriesCallable() { 158 throw new UnsupportedOperationException("Not implemented: listSavedQueriesCallable()"); 159 } 160 getAnnotationSpecCallable()161 public UnaryCallable<GetAnnotationSpecRequest, AnnotationSpec> getAnnotationSpecCallable() { 162 throw new UnsupportedOperationException("Not implemented: getAnnotationSpecCallable()"); 163 } 164 165 public UnaryCallable<ListAnnotationsRequest, ListAnnotationsPagedResponse> listAnnotationsPagedCallable()166 listAnnotationsPagedCallable() { 167 throw new UnsupportedOperationException("Not implemented: listAnnotationsPagedCallable()"); 168 } 169 listAnnotationsCallable()170 public UnaryCallable<ListAnnotationsRequest, ListAnnotationsResponse> listAnnotationsCallable() { 171 throw new UnsupportedOperationException("Not implemented: listAnnotationsCallable()"); 172 } 173 174 public UnaryCallable<ListLocationsRequest, ListLocationsPagedResponse> listLocationsPagedCallable()175 listLocationsPagedCallable() { 176 throw new UnsupportedOperationException("Not implemented: listLocationsPagedCallable()"); 177 } 178 listLocationsCallable()179 public UnaryCallable<ListLocationsRequest, ListLocationsResponse> listLocationsCallable() { 180 throw new UnsupportedOperationException("Not implemented: listLocationsCallable()"); 181 } 182 getLocationCallable()183 public UnaryCallable<GetLocationRequest, Location> getLocationCallable() { 184 throw new UnsupportedOperationException("Not implemented: getLocationCallable()"); 185 } 186 setIamPolicyCallable()187 public UnaryCallable<SetIamPolicyRequest, Policy> setIamPolicyCallable() { 188 throw new UnsupportedOperationException("Not implemented: setIamPolicyCallable()"); 189 } 190 getIamPolicyCallable()191 public UnaryCallable<GetIamPolicyRequest, Policy> getIamPolicyCallable() { 192 throw new UnsupportedOperationException("Not implemented: getIamPolicyCallable()"); 193 } 194 195 public UnaryCallable<TestIamPermissionsRequest, TestIamPermissionsResponse> testIamPermissionsCallable()196 testIamPermissionsCallable() { 197 throw new UnsupportedOperationException("Not implemented: testIamPermissionsCallable()"); 198 } 199 200 @Override close()201 public abstract void close(); 202 } 203