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.osconfig.v1.stub; 18 19 import static com.google.cloud.osconfig.v1.OsConfigServiceClient.ListPatchDeploymentsPagedResponse; 20 import static com.google.cloud.osconfig.v1.OsConfigServiceClient.ListPatchJobInstanceDetailsPagedResponse; 21 import static com.google.cloud.osconfig.v1.OsConfigServiceClient.ListPatchJobsPagedResponse; 22 23 import com.google.api.gax.core.BackgroundResource; 24 import com.google.api.gax.rpc.UnaryCallable; 25 import com.google.cloud.osconfig.v1.PatchDeployments; 26 import com.google.cloud.osconfig.v1.PatchJobs; 27 import com.google.protobuf.Empty; 28 import javax.annotation.Generated; 29 30 // AUTO-GENERATED DOCUMENTATION AND CLASS. 31 /** 32 * Base stub class for the OsConfigService service API. 33 * 34 * <p>This class is for advanced usage and reflects the underlying API directly. 35 */ 36 @Generated("by gapic-generator-java") 37 public abstract class OsConfigServiceStub implements BackgroundResource { 38 39 public UnaryCallable<PatchJobs.ExecutePatchJobRequest, PatchJobs.PatchJob> executePatchJobCallable()40 executePatchJobCallable() { 41 throw new UnsupportedOperationException("Not implemented: executePatchJobCallable()"); 42 } 43 getPatchJobCallable()44 public UnaryCallable<PatchJobs.GetPatchJobRequest, PatchJobs.PatchJob> getPatchJobCallable() { 45 throw new UnsupportedOperationException("Not implemented: getPatchJobCallable()"); 46 } 47 48 public UnaryCallable<PatchJobs.CancelPatchJobRequest, PatchJobs.PatchJob> cancelPatchJobCallable()49 cancelPatchJobCallable() { 50 throw new UnsupportedOperationException("Not implemented: cancelPatchJobCallable()"); 51 } 52 53 public UnaryCallable<PatchJobs.ListPatchJobsRequest, ListPatchJobsPagedResponse> listPatchJobsPagedCallable()54 listPatchJobsPagedCallable() { 55 throw new UnsupportedOperationException("Not implemented: listPatchJobsPagedCallable()"); 56 } 57 58 public UnaryCallable<PatchJobs.ListPatchJobsRequest, PatchJobs.ListPatchJobsResponse> listPatchJobsCallable()59 listPatchJobsCallable() { 60 throw new UnsupportedOperationException("Not implemented: listPatchJobsCallable()"); 61 } 62 63 public UnaryCallable< 64 PatchJobs.ListPatchJobInstanceDetailsRequest, ListPatchJobInstanceDetailsPagedResponse> listPatchJobInstanceDetailsPagedCallable()65 listPatchJobInstanceDetailsPagedCallable() { 66 throw new UnsupportedOperationException( 67 "Not implemented: listPatchJobInstanceDetailsPagedCallable()"); 68 } 69 70 public UnaryCallable< 71 PatchJobs.ListPatchJobInstanceDetailsRequest, 72 PatchJobs.ListPatchJobInstanceDetailsResponse> listPatchJobInstanceDetailsCallable()73 listPatchJobInstanceDetailsCallable() { 74 throw new UnsupportedOperationException( 75 "Not implemented: listPatchJobInstanceDetailsCallable()"); 76 } 77 78 public UnaryCallable< 79 PatchDeployments.CreatePatchDeploymentRequest, PatchDeployments.PatchDeployment> createPatchDeploymentCallable()80 createPatchDeploymentCallable() { 81 throw new UnsupportedOperationException("Not implemented: createPatchDeploymentCallable()"); 82 } 83 84 public UnaryCallable<PatchDeployments.GetPatchDeploymentRequest, PatchDeployments.PatchDeployment> getPatchDeploymentCallable()85 getPatchDeploymentCallable() { 86 throw new UnsupportedOperationException("Not implemented: getPatchDeploymentCallable()"); 87 } 88 89 public UnaryCallable< 90 PatchDeployments.ListPatchDeploymentsRequest, ListPatchDeploymentsPagedResponse> listPatchDeploymentsPagedCallable()91 listPatchDeploymentsPagedCallable() { 92 throw new UnsupportedOperationException("Not implemented: listPatchDeploymentsPagedCallable()"); 93 } 94 95 public UnaryCallable< 96 PatchDeployments.ListPatchDeploymentsRequest, 97 PatchDeployments.ListPatchDeploymentsResponse> listPatchDeploymentsCallable()98 listPatchDeploymentsCallable() { 99 throw new UnsupportedOperationException("Not implemented: listPatchDeploymentsCallable()"); 100 } 101 102 public UnaryCallable<PatchDeployments.DeletePatchDeploymentRequest, Empty> deletePatchDeploymentCallable()103 deletePatchDeploymentCallable() { 104 throw new UnsupportedOperationException("Not implemented: deletePatchDeploymentCallable()"); 105 } 106 107 public UnaryCallable< 108 PatchDeployments.UpdatePatchDeploymentRequest, PatchDeployments.PatchDeployment> updatePatchDeploymentCallable()109 updatePatchDeploymentCallable() { 110 throw new UnsupportedOperationException("Not implemented: updatePatchDeploymentCallable()"); 111 } 112 113 public UnaryCallable< 114 PatchDeployments.PausePatchDeploymentRequest, PatchDeployments.PatchDeployment> pausePatchDeploymentCallable()115 pausePatchDeploymentCallable() { 116 throw new UnsupportedOperationException("Not implemented: pausePatchDeploymentCallable()"); 117 } 118 119 public UnaryCallable< 120 PatchDeployments.ResumePatchDeploymentRequest, PatchDeployments.PatchDeployment> resumePatchDeploymentCallable()121 resumePatchDeploymentCallable() { 122 throw new UnsupportedOperationException("Not implemented: resumePatchDeploymentCallable()"); 123 } 124 125 @Override close()126 public abstract void close(); 127 } 128