All Downloads are FREE. Search and download functionalities are using the official Maven repository.

com.google.cloud.networkservices.v1.stub.GrpcDepServiceStub Maven / Gradle / Ivy

Go to download

Network Services API Google Cloud offers a broad portfolio of networking services built on top of planet-scale infrastructure that leverages automation, advanced AI, and programmability, enabling enterprises to connect, scale, secure, modernize and optimize their infrastructure.

The newest version!
/*
 * Copyright 2024 Google LLC
 *
 * Licensed under the Apache License, Version 2.0 (the "License");
 * you may not use this file except in compliance with the License.
 * You may obtain a copy of the License at
 *
 *      https://www.apache.org/licenses/LICENSE-2.0
 *
 * Unless required by applicable law or agreed to in writing, software
 * distributed under the License is distributed on an "AS IS" BASIS,
 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
 * See the License for the specific language governing permissions and
 * limitations under the License.
 */

package com.google.cloud.networkservices.v1.stub;

import static com.google.cloud.networkservices.v1.DepServiceClient.ListLbRouteExtensionsPagedResponse;
import static com.google.cloud.networkservices.v1.DepServiceClient.ListLbTrafficExtensionsPagedResponse;
import static com.google.cloud.networkservices.v1.DepServiceClient.ListLocationsPagedResponse;

import com.google.api.gax.core.BackgroundResource;
import com.google.api.gax.core.BackgroundResourceAggregation;
import com.google.api.gax.grpc.GrpcCallSettings;
import com.google.api.gax.grpc.GrpcStubCallableFactory;
import com.google.api.gax.rpc.ClientContext;
import com.google.api.gax.rpc.OperationCallable;
import com.google.api.gax.rpc.RequestParamsBuilder;
import com.google.api.gax.rpc.UnaryCallable;
import com.google.cloud.location.GetLocationRequest;
import com.google.cloud.location.ListLocationsRequest;
import com.google.cloud.location.ListLocationsResponse;
import com.google.cloud.location.Location;
import com.google.cloud.networkservices.v1.CreateLbRouteExtensionRequest;
import com.google.cloud.networkservices.v1.CreateLbTrafficExtensionRequest;
import com.google.cloud.networkservices.v1.DeleteLbRouteExtensionRequest;
import com.google.cloud.networkservices.v1.DeleteLbTrafficExtensionRequest;
import com.google.cloud.networkservices.v1.GetLbRouteExtensionRequest;
import com.google.cloud.networkservices.v1.GetLbTrafficExtensionRequest;
import com.google.cloud.networkservices.v1.LbRouteExtension;
import com.google.cloud.networkservices.v1.LbTrafficExtension;
import com.google.cloud.networkservices.v1.ListLbRouteExtensionsRequest;
import com.google.cloud.networkservices.v1.ListLbRouteExtensionsResponse;
import com.google.cloud.networkservices.v1.ListLbTrafficExtensionsRequest;
import com.google.cloud.networkservices.v1.ListLbTrafficExtensionsResponse;
import com.google.cloud.networkservices.v1.OperationMetadata;
import com.google.cloud.networkservices.v1.UpdateLbRouteExtensionRequest;
import com.google.cloud.networkservices.v1.UpdateLbTrafficExtensionRequest;
import com.google.iam.v1.GetIamPolicyRequest;
import com.google.iam.v1.Policy;
import com.google.iam.v1.SetIamPolicyRequest;
import com.google.iam.v1.TestIamPermissionsRequest;
import com.google.iam.v1.TestIamPermissionsResponse;
import com.google.longrunning.Operation;
import com.google.longrunning.stub.GrpcOperationsStub;
import com.google.protobuf.Empty;
import io.grpc.MethodDescriptor;
import io.grpc.protobuf.ProtoUtils;
import java.io.IOException;
import java.util.concurrent.TimeUnit;
import javax.annotation.Generated;

// AUTO-GENERATED DOCUMENTATION AND CLASS.
/**
 * gRPC stub implementation for the DepService service API.
 *
 * 

This class is for advanced usage and reflects the underlying API directly. */ @Generated("by gapic-generator-java") public class GrpcDepServiceStub extends DepServiceStub { private static final MethodDescriptor< ListLbTrafficExtensionsRequest, ListLbTrafficExtensionsResponse> listLbTrafficExtensionsMethodDescriptor = MethodDescriptor .newBuilder() .setType(MethodDescriptor.MethodType.UNARY) .setFullMethodName( "google.cloud.networkservices.v1.DepService/ListLbTrafficExtensions") .setRequestMarshaller( ProtoUtils.marshaller(ListLbTrafficExtensionsRequest.getDefaultInstance())) .setResponseMarshaller( ProtoUtils.marshaller(ListLbTrafficExtensionsResponse.getDefaultInstance())) .build(); private static final MethodDescriptor getLbTrafficExtensionMethodDescriptor = MethodDescriptor.newBuilder() .setType(MethodDescriptor.MethodType.UNARY) .setFullMethodName("google.cloud.networkservices.v1.DepService/GetLbTrafficExtension") .setRequestMarshaller( ProtoUtils.marshaller(GetLbTrafficExtensionRequest.getDefaultInstance())) .setResponseMarshaller(ProtoUtils.marshaller(LbTrafficExtension.getDefaultInstance())) .build(); private static final MethodDescriptor createLbTrafficExtensionMethodDescriptor = MethodDescriptor.newBuilder() .setType(MethodDescriptor.MethodType.UNARY) .setFullMethodName( "google.cloud.networkservices.v1.DepService/CreateLbTrafficExtension") .setRequestMarshaller( ProtoUtils.marshaller(CreateLbTrafficExtensionRequest.getDefaultInstance())) .setResponseMarshaller(ProtoUtils.marshaller(Operation.getDefaultInstance())) .build(); private static final MethodDescriptor updateLbTrafficExtensionMethodDescriptor = MethodDescriptor.newBuilder() .setType(MethodDescriptor.MethodType.UNARY) .setFullMethodName( "google.cloud.networkservices.v1.DepService/UpdateLbTrafficExtension") .setRequestMarshaller( ProtoUtils.marshaller(UpdateLbTrafficExtensionRequest.getDefaultInstance())) .setResponseMarshaller(ProtoUtils.marshaller(Operation.getDefaultInstance())) .build(); private static final MethodDescriptor deleteLbTrafficExtensionMethodDescriptor = MethodDescriptor.newBuilder() .setType(MethodDescriptor.MethodType.UNARY) .setFullMethodName( "google.cloud.networkservices.v1.DepService/DeleteLbTrafficExtension") .setRequestMarshaller( ProtoUtils.marshaller(DeleteLbTrafficExtensionRequest.getDefaultInstance())) .setResponseMarshaller(ProtoUtils.marshaller(Operation.getDefaultInstance())) .build(); private static final MethodDescriptor listLbRouteExtensionsMethodDescriptor = MethodDescriptor.newBuilder() .setType(MethodDescriptor.MethodType.UNARY) .setFullMethodName("google.cloud.networkservices.v1.DepService/ListLbRouteExtensions") .setRequestMarshaller( ProtoUtils.marshaller(ListLbRouteExtensionsRequest.getDefaultInstance())) .setResponseMarshaller( ProtoUtils.marshaller(ListLbRouteExtensionsResponse.getDefaultInstance())) .build(); private static final MethodDescriptor getLbRouteExtensionMethodDescriptor = MethodDescriptor.newBuilder() .setType(MethodDescriptor.MethodType.UNARY) .setFullMethodName("google.cloud.networkservices.v1.DepService/GetLbRouteExtension") .setRequestMarshaller( ProtoUtils.marshaller(GetLbRouteExtensionRequest.getDefaultInstance())) .setResponseMarshaller(ProtoUtils.marshaller(LbRouteExtension.getDefaultInstance())) .build(); private static final MethodDescriptor createLbRouteExtensionMethodDescriptor = MethodDescriptor.newBuilder() .setType(MethodDescriptor.MethodType.UNARY) .setFullMethodName( "google.cloud.networkservices.v1.DepService/CreateLbRouteExtension") .setRequestMarshaller( ProtoUtils.marshaller(CreateLbRouteExtensionRequest.getDefaultInstance())) .setResponseMarshaller(ProtoUtils.marshaller(Operation.getDefaultInstance())) .build(); private static final MethodDescriptor updateLbRouteExtensionMethodDescriptor = MethodDescriptor.newBuilder() .setType(MethodDescriptor.MethodType.UNARY) .setFullMethodName( "google.cloud.networkservices.v1.DepService/UpdateLbRouteExtension") .setRequestMarshaller( ProtoUtils.marshaller(UpdateLbRouteExtensionRequest.getDefaultInstance())) .setResponseMarshaller(ProtoUtils.marshaller(Operation.getDefaultInstance())) .build(); private static final MethodDescriptor deleteLbRouteExtensionMethodDescriptor = MethodDescriptor.newBuilder() .setType(MethodDescriptor.MethodType.UNARY) .setFullMethodName( "google.cloud.networkservices.v1.DepService/DeleteLbRouteExtension") .setRequestMarshaller( ProtoUtils.marshaller(DeleteLbRouteExtensionRequest.getDefaultInstance())) .setResponseMarshaller(ProtoUtils.marshaller(Operation.getDefaultInstance())) .build(); private static final MethodDescriptor listLocationsMethodDescriptor = MethodDescriptor.newBuilder() .setType(MethodDescriptor.MethodType.UNARY) .setFullMethodName("google.cloud.location.Locations/ListLocations") .setRequestMarshaller( ProtoUtils.marshaller(ListLocationsRequest.getDefaultInstance())) .setResponseMarshaller( ProtoUtils.marshaller(ListLocationsResponse.getDefaultInstance())) .build(); private static final MethodDescriptor getLocationMethodDescriptor = MethodDescriptor.newBuilder() .setType(MethodDescriptor.MethodType.UNARY) .setFullMethodName("google.cloud.location.Locations/GetLocation") .setRequestMarshaller(ProtoUtils.marshaller(GetLocationRequest.getDefaultInstance())) .setResponseMarshaller(ProtoUtils.marshaller(Location.getDefaultInstance())) .build(); private static final MethodDescriptor setIamPolicyMethodDescriptor = MethodDescriptor.newBuilder() .setType(MethodDescriptor.MethodType.UNARY) .setFullMethodName("google.iam.v1.IAMPolicy/SetIamPolicy") .setRequestMarshaller(ProtoUtils.marshaller(SetIamPolicyRequest.getDefaultInstance())) .setResponseMarshaller(ProtoUtils.marshaller(Policy.getDefaultInstance())) .build(); private static final MethodDescriptor getIamPolicyMethodDescriptor = MethodDescriptor.newBuilder() .setType(MethodDescriptor.MethodType.UNARY) .setFullMethodName("google.iam.v1.IAMPolicy/GetIamPolicy") .setRequestMarshaller(ProtoUtils.marshaller(GetIamPolicyRequest.getDefaultInstance())) .setResponseMarshaller(ProtoUtils.marshaller(Policy.getDefaultInstance())) .build(); private static final MethodDescriptor testIamPermissionsMethodDescriptor = MethodDescriptor.newBuilder() .setType(MethodDescriptor.MethodType.UNARY) .setFullMethodName("google.iam.v1.IAMPolicy/TestIamPermissions") .setRequestMarshaller( ProtoUtils.marshaller(TestIamPermissionsRequest.getDefaultInstance())) .setResponseMarshaller( ProtoUtils.marshaller(TestIamPermissionsResponse.getDefaultInstance())) .build(); private final UnaryCallable listLbTrafficExtensionsCallable; private final UnaryCallable listLbTrafficExtensionsPagedCallable; private final UnaryCallable getLbTrafficExtensionCallable; private final UnaryCallable createLbTrafficExtensionCallable; private final OperationCallable< CreateLbTrafficExtensionRequest, LbTrafficExtension, OperationMetadata> createLbTrafficExtensionOperationCallable; private final UnaryCallable updateLbTrafficExtensionCallable; private final OperationCallable< UpdateLbTrafficExtensionRequest, LbTrafficExtension, OperationMetadata> updateLbTrafficExtensionOperationCallable; private final UnaryCallable deleteLbTrafficExtensionCallable; private final OperationCallable deleteLbTrafficExtensionOperationCallable; private final UnaryCallable listLbRouteExtensionsCallable; private final UnaryCallable listLbRouteExtensionsPagedCallable; private final UnaryCallable getLbRouteExtensionCallable; private final UnaryCallable createLbRouteExtensionCallable; private final OperationCallable< CreateLbRouteExtensionRequest, LbRouteExtension, OperationMetadata> createLbRouteExtensionOperationCallable; private final UnaryCallable updateLbRouteExtensionCallable; private final OperationCallable< UpdateLbRouteExtensionRequest, LbRouteExtension, OperationMetadata> updateLbRouteExtensionOperationCallable; private final UnaryCallable deleteLbRouteExtensionCallable; private final OperationCallable deleteLbRouteExtensionOperationCallable; private final UnaryCallable listLocationsCallable; private final UnaryCallable listLocationsPagedCallable; private final UnaryCallable getLocationCallable; private final UnaryCallable setIamPolicyCallable; private final UnaryCallable getIamPolicyCallable; private final UnaryCallable testIamPermissionsCallable; private final BackgroundResource backgroundResources; private final GrpcOperationsStub operationsStub; private final GrpcStubCallableFactory callableFactory; public static final GrpcDepServiceStub create(DepServiceStubSettings settings) throws IOException { return new GrpcDepServiceStub(settings, ClientContext.create(settings)); } public static final GrpcDepServiceStub create(ClientContext clientContext) throws IOException { return new GrpcDepServiceStub(DepServiceStubSettings.newBuilder().build(), clientContext); } public static final GrpcDepServiceStub create( ClientContext clientContext, GrpcStubCallableFactory callableFactory) throws IOException { return new GrpcDepServiceStub( DepServiceStubSettings.newBuilder().build(), clientContext, callableFactory); } /** * Constructs an instance of GrpcDepServiceStub, using the given settings. This is protected so * that it is easy to make a subclass, but otherwise, the static factory methods should be * preferred. */ protected GrpcDepServiceStub(DepServiceStubSettings settings, ClientContext clientContext) throws IOException { this(settings, clientContext, new GrpcDepServiceCallableFactory()); } /** * Constructs an instance of GrpcDepServiceStub, using the given settings. This is protected so * that it is easy to make a subclass, but otherwise, the static factory methods should be * preferred. */ protected GrpcDepServiceStub( DepServiceStubSettings settings, ClientContext clientContext, GrpcStubCallableFactory callableFactory) throws IOException { this.callableFactory = callableFactory; this.operationsStub = GrpcOperationsStub.create(clientContext, callableFactory); GrpcCallSettings listLbTrafficExtensionsTransportSettings = GrpcCallSettings .newBuilder() .setMethodDescriptor(listLbTrafficExtensionsMethodDescriptor) .setParamsExtractor( request -> { RequestParamsBuilder builder = RequestParamsBuilder.create(); builder.add("parent", String.valueOf(request.getParent())); return builder.build(); }) .build(); GrpcCallSettings getLbTrafficExtensionTransportSettings = GrpcCallSettings.newBuilder() .setMethodDescriptor(getLbTrafficExtensionMethodDescriptor) .setParamsExtractor( request -> { RequestParamsBuilder builder = RequestParamsBuilder.create(); builder.add("name", String.valueOf(request.getName())); return builder.build(); }) .build(); GrpcCallSettings createLbTrafficExtensionTransportSettings = GrpcCallSettings.newBuilder() .setMethodDescriptor(createLbTrafficExtensionMethodDescriptor) .setParamsExtractor( request -> { RequestParamsBuilder builder = RequestParamsBuilder.create(); builder.add("parent", String.valueOf(request.getParent())); return builder.build(); }) .build(); GrpcCallSettings updateLbTrafficExtensionTransportSettings = GrpcCallSettings.newBuilder() .setMethodDescriptor(updateLbTrafficExtensionMethodDescriptor) .setParamsExtractor( request -> { RequestParamsBuilder builder = RequestParamsBuilder.create(); builder.add( "lb_traffic_extension.name", String.valueOf(request.getLbTrafficExtension().getName())); return builder.build(); }) .build(); GrpcCallSettings deleteLbTrafficExtensionTransportSettings = GrpcCallSettings.newBuilder() .setMethodDescriptor(deleteLbTrafficExtensionMethodDescriptor) .setParamsExtractor( request -> { RequestParamsBuilder builder = RequestParamsBuilder.create(); builder.add("name", String.valueOf(request.getName())); return builder.build(); }) .build(); GrpcCallSettings listLbRouteExtensionsTransportSettings = GrpcCallSettings .newBuilder() .setMethodDescriptor(listLbRouteExtensionsMethodDescriptor) .setParamsExtractor( request -> { RequestParamsBuilder builder = RequestParamsBuilder.create(); builder.add("parent", String.valueOf(request.getParent())); return builder.build(); }) .build(); GrpcCallSettings getLbRouteExtensionTransportSettings = GrpcCallSettings.newBuilder() .setMethodDescriptor(getLbRouteExtensionMethodDescriptor) .setParamsExtractor( request -> { RequestParamsBuilder builder = RequestParamsBuilder.create(); builder.add("name", String.valueOf(request.getName())); return builder.build(); }) .build(); GrpcCallSettings createLbRouteExtensionTransportSettings = GrpcCallSettings.newBuilder() .setMethodDescriptor(createLbRouteExtensionMethodDescriptor) .setParamsExtractor( request -> { RequestParamsBuilder builder = RequestParamsBuilder.create(); builder.add("parent", String.valueOf(request.getParent())); return builder.build(); }) .build(); GrpcCallSettings updateLbRouteExtensionTransportSettings = GrpcCallSettings.newBuilder() .setMethodDescriptor(updateLbRouteExtensionMethodDescriptor) .setParamsExtractor( request -> { RequestParamsBuilder builder = RequestParamsBuilder.create(); builder.add( "lb_route_extension.name", String.valueOf(request.getLbRouteExtension().getName())); return builder.build(); }) .build(); GrpcCallSettings deleteLbRouteExtensionTransportSettings = GrpcCallSettings.newBuilder() .setMethodDescriptor(deleteLbRouteExtensionMethodDescriptor) .setParamsExtractor( request -> { RequestParamsBuilder builder = RequestParamsBuilder.create(); builder.add("name", String.valueOf(request.getName())); return builder.build(); }) .build(); GrpcCallSettings listLocationsTransportSettings = GrpcCallSettings.newBuilder() .setMethodDescriptor(listLocationsMethodDescriptor) .setParamsExtractor( request -> { RequestParamsBuilder builder = RequestParamsBuilder.create(); builder.add("name", String.valueOf(request.getName())); return builder.build(); }) .build(); GrpcCallSettings getLocationTransportSettings = GrpcCallSettings.newBuilder() .setMethodDescriptor(getLocationMethodDescriptor) .setParamsExtractor( request -> { RequestParamsBuilder builder = RequestParamsBuilder.create(); builder.add("name", String.valueOf(request.getName())); return builder.build(); }) .build(); GrpcCallSettings setIamPolicyTransportSettings = GrpcCallSettings.newBuilder() .setMethodDescriptor(setIamPolicyMethodDescriptor) .setParamsExtractor( request -> { RequestParamsBuilder builder = RequestParamsBuilder.create(); builder.add("resource", String.valueOf(request.getResource())); return builder.build(); }) .build(); GrpcCallSettings getIamPolicyTransportSettings = GrpcCallSettings.newBuilder() .setMethodDescriptor(getIamPolicyMethodDescriptor) .setParamsExtractor( request -> { RequestParamsBuilder builder = RequestParamsBuilder.create(); builder.add("resource", String.valueOf(request.getResource())); return builder.build(); }) .build(); GrpcCallSettings testIamPermissionsTransportSettings = GrpcCallSettings.newBuilder() .setMethodDescriptor(testIamPermissionsMethodDescriptor) .setParamsExtractor( request -> { RequestParamsBuilder builder = RequestParamsBuilder.create(); builder.add("resource", String.valueOf(request.getResource())); return builder.build(); }) .build(); this.listLbTrafficExtensionsCallable = callableFactory.createUnaryCallable( listLbTrafficExtensionsTransportSettings, settings.listLbTrafficExtensionsSettings(), clientContext); this.listLbTrafficExtensionsPagedCallable = callableFactory.createPagedCallable( listLbTrafficExtensionsTransportSettings, settings.listLbTrafficExtensionsSettings(), clientContext); this.getLbTrafficExtensionCallable = callableFactory.createUnaryCallable( getLbTrafficExtensionTransportSettings, settings.getLbTrafficExtensionSettings(), clientContext); this.createLbTrafficExtensionCallable = callableFactory.createUnaryCallable( createLbTrafficExtensionTransportSettings, settings.createLbTrafficExtensionSettings(), clientContext); this.createLbTrafficExtensionOperationCallable = callableFactory.createOperationCallable( createLbTrafficExtensionTransportSettings, settings.createLbTrafficExtensionOperationSettings(), clientContext, operationsStub); this.updateLbTrafficExtensionCallable = callableFactory.createUnaryCallable( updateLbTrafficExtensionTransportSettings, settings.updateLbTrafficExtensionSettings(), clientContext); this.updateLbTrafficExtensionOperationCallable = callableFactory.createOperationCallable( updateLbTrafficExtensionTransportSettings, settings.updateLbTrafficExtensionOperationSettings(), clientContext, operationsStub); this.deleteLbTrafficExtensionCallable = callableFactory.createUnaryCallable( deleteLbTrafficExtensionTransportSettings, settings.deleteLbTrafficExtensionSettings(), clientContext); this.deleteLbTrafficExtensionOperationCallable = callableFactory.createOperationCallable( deleteLbTrafficExtensionTransportSettings, settings.deleteLbTrafficExtensionOperationSettings(), clientContext, operationsStub); this.listLbRouteExtensionsCallable = callableFactory.createUnaryCallable( listLbRouteExtensionsTransportSettings, settings.listLbRouteExtensionsSettings(), clientContext); this.listLbRouteExtensionsPagedCallable = callableFactory.createPagedCallable( listLbRouteExtensionsTransportSettings, settings.listLbRouteExtensionsSettings(), clientContext); this.getLbRouteExtensionCallable = callableFactory.createUnaryCallable( getLbRouteExtensionTransportSettings, settings.getLbRouteExtensionSettings(), clientContext); this.createLbRouteExtensionCallable = callableFactory.createUnaryCallable( createLbRouteExtensionTransportSettings, settings.createLbRouteExtensionSettings(), clientContext); this.createLbRouteExtensionOperationCallable = callableFactory.createOperationCallable( createLbRouteExtensionTransportSettings, settings.createLbRouteExtensionOperationSettings(), clientContext, operationsStub); this.updateLbRouteExtensionCallable = callableFactory.createUnaryCallable( updateLbRouteExtensionTransportSettings, settings.updateLbRouteExtensionSettings(), clientContext); this.updateLbRouteExtensionOperationCallable = callableFactory.createOperationCallable( updateLbRouteExtensionTransportSettings, settings.updateLbRouteExtensionOperationSettings(), clientContext, operationsStub); this.deleteLbRouteExtensionCallable = callableFactory.createUnaryCallable( deleteLbRouteExtensionTransportSettings, settings.deleteLbRouteExtensionSettings(), clientContext); this.deleteLbRouteExtensionOperationCallable = callableFactory.createOperationCallable( deleteLbRouteExtensionTransportSettings, settings.deleteLbRouteExtensionOperationSettings(), clientContext, operationsStub); this.listLocationsCallable = callableFactory.createUnaryCallable( listLocationsTransportSettings, settings.listLocationsSettings(), clientContext); this.listLocationsPagedCallable = callableFactory.createPagedCallable( listLocationsTransportSettings, settings.listLocationsSettings(), clientContext); this.getLocationCallable = callableFactory.createUnaryCallable( getLocationTransportSettings, settings.getLocationSettings(), clientContext); this.setIamPolicyCallable = callableFactory.createUnaryCallable( setIamPolicyTransportSettings, settings.setIamPolicySettings(), clientContext); this.getIamPolicyCallable = callableFactory.createUnaryCallable( getIamPolicyTransportSettings, settings.getIamPolicySettings(), clientContext); this.testIamPermissionsCallable = callableFactory.createUnaryCallable( testIamPermissionsTransportSettings, settings.testIamPermissionsSettings(), clientContext); this.backgroundResources = new BackgroundResourceAggregation(clientContext.getBackgroundResources()); } public GrpcOperationsStub getOperationsStub() { return operationsStub; } @Override public UnaryCallable listLbTrafficExtensionsCallable() { return listLbTrafficExtensionsCallable; } @Override public UnaryCallable listLbTrafficExtensionsPagedCallable() { return listLbTrafficExtensionsPagedCallable; } @Override public UnaryCallable getLbTrafficExtensionCallable() { return getLbTrafficExtensionCallable; } @Override public UnaryCallable createLbTrafficExtensionCallable() { return createLbTrafficExtensionCallable; } @Override public OperationCallable createLbTrafficExtensionOperationCallable() { return createLbTrafficExtensionOperationCallable; } @Override public UnaryCallable updateLbTrafficExtensionCallable() { return updateLbTrafficExtensionCallable; } @Override public OperationCallable updateLbTrafficExtensionOperationCallable() { return updateLbTrafficExtensionOperationCallable; } @Override public UnaryCallable deleteLbTrafficExtensionCallable() { return deleteLbTrafficExtensionCallable; } @Override public OperationCallable deleteLbTrafficExtensionOperationCallable() { return deleteLbTrafficExtensionOperationCallable; } @Override public UnaryCallable listLbRouteExtensionsCallable() { return listLbRouteExtensionsCallable; } @Override public UnaryCallable listLbRouteExtensionsPagedCallable() { return listLbRouteExtensionsPagedCallable; } @Override public UnaryCallable getLbRouteExtensionCallable() { return getLbRouteExtensionCallable; } @Override public UnaryCallable createLbRouteExtensionCallable() { return createLbRouteExtensionCallable; } @Override public OperationCallable createLbRouteExtensionOperationCallable() { return createLbRouteExtensionOperationCallable; } @Override public UnaryCallable updateLbRouteExtensionCallable() { return updateLbRouteExtensionCallable; } @Override public OperationCallable updateLbRouteExtensionOperationCallable() { return updateLbRouteExtensionOperationCallable; } @Override public UnaryCallable deleteLbRouteExtensionCallable() { return deleteLbRouteExtensionCallable; } @Override public OperationCallable deleteLbRouteExtensionOperationCallable() { return deleteLbRouteExtensionOperationCallable; } @Override public UnaryCallable listLocationsCallable() { return listLocationsCallable; } @Override public UnaryCallable listLocationsPagedCallable() { return listLocationsPagedCallable; } @Override public UnaryCallable getLocationCallable() { return getLocationCallable; } @Override public UnaryCallable setIamPolicyCallable() { return setIamPolicyCallable; } @Override public UnaryCallable getIamPolicyCallable() { return getIamPolicyCallable; } @Override public UnaryCallable testIamPermissionsCallable() { return testIamPermissionsCallable; } @Override public final void close() { try { backgroundResources.close(); } catch (RuntimeException e) { throw e; } catch (Exception e) { throw new IllegalStateException("Failed to close resource", e); } } @Override public void shutdown() { backgroundResources.shutdown(); } @Override public boolean isShutdown() { return backgroundResources.isShutdown(); } @Override public boolean isTerminated() { return backgroundResources.isTerminated(); } @Override public void shutdownNow() { backgroundResources.shutdownNow(); } @Override public boolean awaitTermination(long duration, TimeUnit unit) throws InterruptedException { return backgroundResources.awaitTermination(duration, unit); } }





© 2015 - 2024 Weber Informatics LLC | Privacy Policy