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.workflows.v1beta.stub; 18 19 import static com.google.cloud.workflows.v1beta.WorkflowsClient.ListWorkflowsPagedResponse; 20 21 import com.google.api.core.BetaApi; 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.workflows.v1beta.CreateWorkflowRequest; 26 import com.google.cloud.workflows.v1beta.DeleteWorkflowRequest; 27 import com.google.cloud.workflows.v1beta.GetWorkflowRequest; 28 import com.google.cloud.workflows.v1beta.ListWorkflowsRequest; 29 import com.google.cloud.workflows.v1beta.ListWorkflowsResponse; 30 import com.google.cloud.workflows.v1beta.OperationMetadata; 31 import com.google.cloud.workflows.v1beta.UpdateWorkflowRequest; 32 import com.google.cloud.workflows.v1beta.Workflow; 33 import com.google.longrunning.Operation; 34 import com.google.longrunning.stub.OperationsStub; 35 import com.google.protobuf.Empty; 36 import javax.annotation.Generated; 37 38 // AUTO-GENERATED DOCUMENTATION AND CLASS. 39 /** 40 * Base stub class for the Workflows service API. 41 * 42 * <p>This class is for advanced usage and reflects the underlying API directly. 43 */ 44 @BetaApi 45 @Generated("by gapic-generator-java") 46 public abstract class WorkflowsStub 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 56 public UnaryCallable<ListWorkflowsRequest, ListWorkflowsPagedResponse> listWorkflowsPagedCallable()57 listWorkflowsPagedCallable() { 58 throw new UnsupportedOperationException("Not implemented: listWorkflowsPagedCallable()"); 59 } 60 listWorkflowsCallable()61 public UnaryCallable<ListWorkflowsRequest, ListWorkflowsResponse> listWorkflowsCallable() { 62 throw new UnsupportedOperationException("Not implemented: listWorkflowsCallable()"); 63 } 64 getWorkflowCallable()65 public UnaryCallable<GetWorkflowRequest, Workflow> getWorkflowCallable() { 66 throw new UnsupportedOperationException("Not implemented: getWorkflowCallable()"); 67 } 68 69 public OperationCallable<CreateWorkflowRequest, Workflow, OperationMetadata> createWorkflowOperationCallable()70 createWorkflowOperationCallable() { 71 throw new UnsupportedOperationException("Not implemented: createWorkflowOperationCallable()"); 72 } 73 createWorkflowCallable()74 public UnaryCallable<CreateWorkflowRequest, Operation> createWorkflowCallable() { 75 throw new UnsupportedOperationException("Not implemented: createWorkflowCallable()"); 76 } 77 78 public OperationCallable<DeleteWorkflowRequest, Empty, OperationMetadata> deleteWorkflowOperationCallable()79 deleteWorkflowOperationCallable() { 80 throw new UnsupportedOperationException("Not implemented: deleteWorkflowOperationCallable()"); 81 } 82 deleteWorkflowCallable()83 public UnaryCallable<DeleteWorkflowRequest, Operation> deleteWorkflowCallable() { 84 throw new UnsupportedOperationException("Not implemented: deleteWorkflowCallable()"); 85 } 86 87 public OperationCallable<UpdateWorkflowRequest, Workflow, OperationMetadata> updateWorkflowOperationCallable()88 updateWorkflowOperationCallable() { 89 throw new UnsupportedOperationException("Not implemented: updateWorkflowOperationCallable()"); 90 } 91 updateWorkflowCallable()92 public UnaryCallable<UpdateWorkflowRequest, Operation> updateWorkflowCallable() { 93 throw new UnsupportedOperationException("Not implemented: updateWorkflowCallable()"); 94 } 95 96 @Override close()97 public abstract void close(); 98 } 99