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.retail.v2.stub; 18 19 import com.google.api.HttpBody; 20 import com.google.api.gax.core.BackgroundResource; 21 import com.google.api.gax.rpc.OperationCallable; 22 import com.google.api.gax.rpc.UnaryCallable; 23 import com.google.cloud.retail.v2.CollectUserEventRequest; 24 import com.google.cloud.retail.v2.ImportMetadata; 25 import com.google.cloud.retail.v2.ImportUserEventsRequest; 26 import com.google.cloud.retail.v2.ImportUserEventsResponse; 27 import com.google.cloud.retail.v2.PurgeMetadata; 28 import com.google.cloud.retail.v2.PurgeUserEventsRequest; 29 import com.google.cloud.retail.v2.PurgeUserEventsResponse; 30 import com.google.cloud.retail.v2.RejoinUserEventsMetadata; 31 import com.google.cloud.retail.v2.RejoinUserEventsRequest; 32 import com.google.cloud.retail.v2.RejoinUserEventsResponse; 33 import com.google.cloud.retail.v2.UserEvent; 34 import com.google.cloud.retail.v2.WriteUserEventRequest; 35 import com.google.longrunning.Operation; 36 import com.google.longrunning.stub.OperationsStub; 37 import javax.annotation.Generated; 38 39 // AUTO-GENERATED DOCUMENTATION AND CLASS. 40 /** 41 * Base stub class for the UserEventService service API. 42 * 43 * <p>This class is for advanced usage and reflects the underlying API directly. 44 */ 45 @Generated("by gapic-generator-java") 46 public abstract class UserEventServiceStub implements BackgroundResource { 47 getOperationsStub()48 public OperationsStub getOperationsStub() { 49 return null; 50 } 51 getHttpJsonOperationsStub()52 public com.google.api.gax.httpjson.longrunning.stub.OperationsStub getHttpJsonOperationsStub() { 53 return null; 54 } 55 writeUserEventCallable()56 public UnaryCallable<WriteUserEventRequest, UserEvent> writeUserEventCallable() { 57 throw new UnsupportedOperationException("Not implemented: writeUserEventCallable()"); 58 } 59 collectUserEventCallable()60 public UnaryCallable<CollectUserEventRequest, HttpBody> collectUserEventCallable() { 61 throw new UnsupportedOperationException("Not implemented: collectUserEventCallable()"); 62 } 63 64 public OperationCallable<PurgeUserEventsRequest, PurgeUserEventsResponse, PurgeMetadata> purgeUserEventsOperationCallable()65 purgeUserEventsOperationCallable() { 66 throw new UnsupportedOperationException("Not implemented: purgeUserEventsOperationCallable()"); 67 } 68 purgeUserEventsCallable()69 public UnaryCallable<PurgeUserEventsRequest, Operation> purgeUserEventsCallable() { 70 throw new UnsupportedOperationException("Not implemented: purgeUserEventsCallable()"); 71 } 72 73 public OperationCallable<ImportUserEventsRequest, ImportUserEventsResponse, ImportMetadata> importUserEventsOperationCallable()74 importUserEventsOperationCallable() { 75 throw new UnsupportedOperationException("Not implemented: importUserEventsOperationCallable()"); 76 } 77 importUserEventsCallable()78 public UnaryCallable<ImportUserEventsRequest, Operation> importUserEventsCallable() { 79 throw new UnsupportedOperationException("Not implemented: importUserEventsCallable()"); 80 } 81 82 public OperationCallable< 83 RejoinUserEventsRequest, RejoinUserEventsResponse, RejoinUserEventsMetadata> rejoinUserEventsOperationCallable()84 rejoinUserEventsOperationCallable() { 85 throw new UnsupportedOperationException("Not implemented: rejoinUserEventsOperationCallable()"); 86 } 87 rejoinUserEventsCallable()88 public UnaryCallable<RejoinUserEventsRequest, Operation> rejoinUserEventsCallable() { 89 throw new UnsupportedOperationException("Not implemented: rejoinUserEventsCallable()"); 90 } 91 92 @Override close()93 public abstract void close(); 94 } 95