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

com.google.cloud.bigquery.connection.v1beta1.ConnectionServiceGrpc Maven / Gradle / Ivy

There is a newer version: 0.65.0
Show newest version
/*
 * Copyright 2023 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.bigquery.connection.v1beta1;

import static io.grpc.MethodDescriptor.generateFullMethodName;

/**
 *
 *
 * 
 * Manages external data source connections and credentials.
 * 
*/ @javax.annotation.Generated( value = "by gRPC proto compiler", comments = "Source: google/cloud/bigquery/connection/v1beta1/connection.proto") @io.grpc.stub.annotations.GrpcGenerated public final class ConnectionServiceGrpc { private ConnectionServiceGrpc() {} public static final java.lang.String SERVICE_NAME = "google.cloud.bigquery.connection.v1beta1.ConnectionService"; // Static method descriptors that strictly reflect the proto. private static volatile io.grpc.MethodDescriptor< com.google.cloud.bigquery.connection.v1beta1.ConnectionProto.CreateConnectionRequest, com.google.cloud.bigquery.connection.v1beta1.ConnectionProto.Connection> getCreateConnectionMethod; @io.grpc.stub.annotations.RpcMethod( fullMethodName = SERVICE_NAME + '/' + "CreateConnection", requestType = com.google.cloud.bigquery.connection.v1beta1.ConnectionProto.CreateConnectionRequest .class, responseType = com.google.cloud.bigquery.connection.v1beta1.ConnectionProto.Connection.class, methodType = io.grpc.MethodDescriptor.MethodType.UNARY) public static io.grpc.MethodDescriptor< com.google.cloud.bigquery.connection.v1beta1.ConnectionProto.CreateConnectionRequest, com.google.cloud.bigquery.connection.v1beta1.ConnectionProto.Connection> getCreateConnectionMethod() { io.grpc.MethodDescriptor< com.google.cloud.bigquery.connection.v1beta1.ConnectionProto.CreateConnectionRequest, com.google.cloud.bigquery.connection.v1beta1.ConnectionProto.Connection> getCreateConnectionMethod; if ((getCreateConnectionMethod = ConnectionServiceGrpc.getCreateConnectionMethod) == null) { synchronized (ConnectionServiceGrpc.class) { if ((getCreateConnectionMethod = ConnectionServiceGrpc.getCreateConnectionMethod) == null) { ConnectionServiceGrpc.getCreateConnectionMethod = getCreateConnectionMethod = io.grpc.MethodDescriptor . newBuilder() .setType(io.grpc.MethodDescriptor.MethodType.UNARY) .setFullMethodName(generateFullMethodName(SERVICE_NAME, "CreateConnection")) .setSampledToLocalTracing(true) .setRequestMarshaller( io.grpc.protobuf.ProtoUtils.marshaller( com.google.cloud.bigquery.connection.v1beta1.ConnectionProto .CreateConnectionRequest.getDefaultInstance())) .setResponseMarshaller( io.grpc.protobuf.ProtoUtils.marshaller( com.google.cloud.bigquery.connection.v1beta1.ConnectionProto .Connection.getDefaultInstance())) .setSchemaDescriptor( new ConnectionServiceMethodDescriptorSupplier("CreateConnection")) .build(); } } } return getCreateConnectionMethod; } private static volatile io.grpc.MethodDescriptor< com.google.cloud.bigquery.connection.v1beta1.ConnectionProto.GetConnectionRequest, com.google.cloud.bigquery.connection.v1beta1.ConnectionProto.Connection> getGetConnectionMethod; @io.grpc.stub.annotations.RpcMethod( fullMethodName = SERVICE_NAME + '/' + "GetConnection", requestType = com.google.cloud.bigquery.connection.v1beta1.ConnectionProto.GetConnectionRequest.class, responseType = com.google.cloud.bigquery.connection.v1beta1.ConnectionProto.Connection.class, methodType = io.grpc.MethodDescriptor.MethodType.UNARY) public static io.grpc.MethodDescriptor< com.google.cloud.bigquery.connection.v1beta1.ConnectionProto.GetConnectionRequest, com.google.cloud.bigquery.connection.v1beta1.ConnectionProto.Connection> getGetConnectionMethod() { io.grpc.MethodDescriptor< com.google.cloud.bigquery.connection.v1beta1.ConnectionProto.GetConnectionRequest, com.google.cloud.bigquery.connection.v1beta1.ConnectionProto.Connection> getGetConnectionMethod; if ((getGetConnectionMethod = ConnectionServiceGrpc.getGetConnectionMethod) == null) { synchronized (ConnectionServiceGrpc.class) { if ((getGetConnectionMethod = ConnectionServiceGrpc.getGetConnectionMethod) == null) { ConnectionServiceGrpc.getGetConnectionMethod = getGetConnectionMethod = io.grpc.MethodDescriptor . newBuilder() .setType(io.grpc.MethodDescriptor.MethodType.UNARY) .setFullMethodName(generateFullMethodName(SERVICE_NAME, "GetConnection")) .setSampledToLocalTracing(true) .setRequestMarshaller( io.grpc.protobuf.ProtoUtils.marshaller( com.google.cloud.bigquery.connection.v1beta1.ConnectionProto .GetConnectionRequest.getDefaultInstance())) .setResponseMarshaller( io.grpc.protobuf.ProtoUtils.marshaller( com.google.cloud.bigquery.connection.v1beta1.ConnectionProto .Connection.getDefaultInstance())) .setSchemaDescriptor( new ConnectionServiceMethodDescriptorSupplier("GetConnection")) .build(); } } } return getGetConnectionMethod; } private static volatile io.grpc.MethodDescriptor< com.google.cloud.bigquery.connection.v1beta1.ConnectionProto.ListConnectionsRequest, com.google.cloud.bigquery.connection.v1beta1.ConnectionProto.ListConnectionsResponse> getListConnectionsMethod; @io.grpc.stub.annotations.RpcMethod( fullMethodName = SERVICE_NAME + '/' + "ListConnections", requestType = com.google.cloud.bigquery.connection.v1beta1.ConnectionProto.ListConnectionsRequest.class, responseType = com.google.cloud.bigquery.connection.v1beta1.ConnectionProto.ListConnectionsResponse .class, methodType = io.grpc.MethodDescriptor.MethodType.UNARY) public static io.grpc.MethodDescriptor< com.google.cloud.bigquery.connection.v1beta1.ConnectionProto.ListConnectionsRequest, com.google.cloud.bigquery.connection.v1beta1.ConnectionProto.ListConnectionsResponse> getListConnectionsMethod() { io.grpc.MethodDescriptor< com.google.cloud.bigquery.connection.v1beta1.ConnectionProto.ListConnectionsRequest, com.google.cloud.bigquery.connection.v1beta1.ConnectionProto.ListConnectionsResponse> getListConnectionsMethod; if ((getListConnectionsMethod = ConnectionServiceGrpc.getListConnectionsMethod) == null) { synchronized (ConnectionServiceGrpc.class) { if ((getListConnectionsMethod = ConnectionServiceGrpc.getListConnectionsMethod) == null) { ConnectionServiceGrpc.getListConnectionsMethod = getListConnectionsMethod = io.grpc.MethodDescriptor . newBuilder() .setType(io.grpc.MethodDescriptor.MethodType.UNARY) .setFullMethodName(generateFullMethodName(SERVICE_NAME, "ListConnections")) .setSampledToLocalTracing(true) .setRequestMarshaller( io.grpc.protobuf.ProtoUtils.marshaller( com.google.cloud.bigquery.connection.v1beta1.ConnectionProto .ListConnectionsRequest.getDefaultInstance())) .setResponseMarshaller( io.grpc.protobuf.ProtoUtils.marshaller( com.google.cloud.bigquery.connection.v1beta1.ConnectionProto .ListConnectionsResponse.getDefaultInstance())) .setSchemaDescriptor( new ConnectionServiceMethodDescriptorSupplier("ListConnections")) .build(); } } } return getListConnectionsMethod; } private static volatile io.grpc.MethodDescriptor< com.google.cloud.bigquery.connection.v1beta1.ConnectionProto.UpdateConnectionRequest, com.google.cloud.bigquery.connection.v1beta1.ConnectionProto.Connection> getUpdateConnectionMethod; @io.grpc.stub.annotations.RpcMethod( fullMethodName = SERVICE_NAME + '/' + "UpdateConnection", requestType = com.google.cloud.bigquery.connection.v1beta1.ConnectionProto.UpdateConnectionRequest .class, responseType = com.google.cloud.bigquery.connection.v1beta1.ConnectionProto.Connection.class, methodType = io.grpc.MethodDescriptor.MethodType.UNARY) public static io.grpc.MethodDescriptor< com.google.cloud.bigquery.connection.v1beta1.ConnectionProto.UpdateConnectionRequest, com.google.cloud.bigquery.connection.v1beta1.ConnectionProto.Connection> getUpdateConnectionMethod() { io.grpc.MethodDescriptor< com.google.cloud.bigquery.connection.v1beta1.ConnectionProto.UpdateConnectionRequest, com.google.cloud.bigquery.connection.v1beta1.ConnectionProto.Connection> getUpdateConnectionMethod; if ((getUpdateConnectionMethod = ConnectionServiceGrpc.getUpdateConnectionMethod) == null) { synchronized (ConnectionServiceGrpc.class) { if ((getUpdateConnectionMethod = ConnectionServiceGrpc.getUpdateConnectionMethod) == null) { ConnectionServiceGrpc.getUpdateConnectionMethod = getUpdateConnectionMethod = io.grpc.MethodDescriptor . newBuilder() .setType(io.grpc.MethodDescriptor.MethodType.UNARY) .setFullMethodName(generateFullMethodName(SERVICE_NAME, "UpdateConnection")) .setSampledToLocalTracing(true) .setRequestMarshaller( io.grpc.protobuf.ProtoUtils.marshaller( com.google.cloud.bigquery.connection.v1beta1.ConnectionProto .UpdateConnectionRequest.getDefaultInstance())) .setResponseMarshaller( io.grpc.protobuf.ProtoUtils.marshaller( com.google.cloud.bigquery.connection.v1beta1.ConnectionProto .Connection.getDefaultInstance())) .setSchemaDescriptor( new ConnectionServiceMethodDescriptorSupplier("UpdateConnection")) .build(); } } } return getUpdateConnectionMethod; } private static volatile io.grpc.MethodDescriptor< com.google.cloud.bigquery.connection.v1beta1.ConnectionProto .UpdateConnectionCredentialRequest, com.google.protobuf.Empty> getUpdateConnectionCredentialMethod; @io.grpc.stub.annotations.RpcMethod( fullMethodName = SERVICE_NAME + '/' + "UpdateConnectionCredential", requestType = com.google.cloud.bigquery.connection.v1beta1.ConnectionProto .UpdateConnectionCredentialRequest.class, responseType = com.google.protobuf.Empty.class, methodType = io.grpc.MethodDescriptor.MethodType.UNARY) public static io.grpc.MethodDescriptor< com.google.cloud.bigquery.connection.v1beta1.ConnectionProto .UpdateConnectionCredentialRequest, com.google.protobuf.Empty> getUpdateConnectionCredentialMethod() { io.grpc.MethodDescriptor< com.google.cloud.bigquery.connection.v1beta1.ConnectionProto .UpdateConnectionCredentialRequest, com.google.protobuf.Empty> getUpdateConnectionCredentialMethod; if ((getUpdateConnectionCredentialMethod = ConnectionServiceGrpc.getUpdateConnectionCredentialMethod) == null) { synchronized (ConnectionServiceGrpc.class) { if ((getUpdateConnectionCredentialMethod = ConnectionServiceGrpc.getUpdateConnectionCredentialMethod) == null) { ConnectionServiceGrpc.getUpdateConnectionCredentialMethod = getUpdateConnectionCredentialMethod = io.grpc.MethodDescriptor . newBuilder() .setType(io.grpc.MethodDescriptor.MethodType.UNARY) .setFullMethodName( generateFullMethodName(SERVICE_NAME, "UpdateConnectionCredential")) .setSampledToLocalTracing(true) .setRequestMarshaller( io.grpc.protobuf.ProtoUtils.marshaller( com.google.cloud.bigquery.connection.v1beta1.ConnectionProto .UpdateConnectionCredentialRequest.getDefaultInstance())) .setResponseMarshaller( io.grpc.protobuf.ProtoUtils.marshaller( com.google.protobuf.Empty.getDefaultInstance())) .setSchemaDescriptor( new ConnectionServiceMethodDescriptorSupplier( "UpdateConnectionCredential")) .build(); } } } return getUpdateConnectionCredentialMethod; } private static volatile io.grpc.MethodDescriptor< com.google.cloud.bigquery.connection.v1beta1.ConnectionProto.DeleteConnectionRequest, com.google.protobuf.Empty> getDeleteConnectionMethod; @io.grpc.stub.annotations.RpcMethod( fullMethodName = SERVICE_NAME + '/' + "DeleteConnection", requestType = com.google.cloud.bigquery.connection.v1beta1.ConnectionProto.DeleteConnectionRequest .class, responseType = com.google.protobuf.Empty.class, methodType = io.grpc.MethodDescriptor.MethodType.UNARY) public static io.grpc.MethodDescriptor< com.google.cloud.bigquery.connection.v1beta1.ConnectionProto.DeleteConnectionRequest, com.google.protobuf.Empty> getDeleteConnectionMethod() { io.grpc.MethodDescriptor< com.google.cloud.bigquery.connection.v1beta1.ConnectionProto.DeleteConnectionRequest, com.google.protobuf.Empty> getDeleteConnectionMethod; if ((getDeleteConnectionMethod = ConnectionServiceGrpc.getDeleteConnectionMethod) == null) { synchronized (ConnectionServiceGrpc.class) { if ((getDeleteConnectionMethod = ConnectionServiceGrpc.getDeleteConnectionMethod) == null) { ConnectionServiceGrpc.getDeleteConnectionMethod = getDeleteConnectionMethod = io.grpc.MethodDescriptor . newBuilder() .setType(io.grpc.MethodDescriptor.MethodType.UNARY) .setFullMethodName(generateFullMethodName(SERVICE_NAME, "DeleteConnection")) .setSampledToLocalTracing(true) .setRequestMarshaller( io.grpc.protobuf.ProtoUtils.marshaller( com.google.cloud.bigquery.connection.v1beta1.ConnectionProto .DeleteConnectionRequest.getDefaultInstance())) .setResponseMarshaller( io.grpc.protobuf.ProtoUtils.marshaller( com.google.protobuf.Empty.getDefaultInstance())) .setSchemaDescriptor( new ConnectionServiceMethodDescriptorSupplier("DeleteConnection")) .build(); } } } return getDeleteConnectionMethod; } private static volatile io.grpc.MethodDescriptor< com.google.iam.v1.GetIamPolicyRequest, com.google.iam.v1.Policy> getGetIamPolicyMethod; @io.grpc.stub.annotations.RpcMethod( fullMethodName = SERVICE_NAME + '/' + "GetIamPolicy", requestType = com.google.iam.v1.GetIamPolicyRequest.class, responseType = com.google.iam.v1.Policy.class, methodType = io.grpc.MethodDescriptor.MethodType.UNARY) public static io.grpc.MethodDescriptor< com.google.iam.v1.GetIamPolicyRequest, com.google.iam.v1.Policy> getGetIamPolicyMethod() { io.grpc.MethodDescriptor getGetIamPolicyMethod; if ((getGetIamPolicyMethod = ConnectionServiceGrpc.getGetIamPolicyMethod) == null) { synchronized (ConnectionServiceGrpc.class) { if ((getGetIamPolicyMethod = ConnectionServiceGrpc.getGetIamPolicyMethod) == null) { ConnectionServiceGrpc.getGetIamPolicyMethod = getGetIamPolicyMethod = io.grpc.MethodDescriptor .newBuilder() .setType(io.grpc.MethodDescriptor.MethodType.UNARY) .setFullMethodName(generateFullMethodName(SERVICE_NAME, "GetIamPolicy")) .setSampledToLocalTracing(true) .setRequestMarshaller( io.grpc.protobuf.ProtoUtils.marshaller( com.google.iam.v1.GetIamPolicyRequest.getDefaultInstance())) .setResponseMarshaller( io.grpc.protobuf.ProtoUtils.marshaller( com.google.iam.v1.Policy.getDefaultInstance())) .setSchemaDescriptor( new ConnectionServiceMethodDescriptorSupplier("GetIamPolicy")) .build(); } } } return getGetIamPolicyMethod; } private static volatile io.grpc.MethodDescriptor< com.google.iam.v1.SetIamPolicyRequest, com.google.iam.v1.Policy> getSetIamPolicyMethod; @io.grpc.stub.annotations.RpcMethod( fullMethodName = SERVICE_NAME + '/' + "SetIamPolicy", requestType = com.google.iam.v1.SetIamPolicyRequest.class, responseType = com.google.iam.v1.Policy.class, methodType = io.grpc.MethodDescriptor.MethodType.UNARY) public static io.grpc.MethodDescriptor< com.google.iam.v1.SetIamPolicyRequest, com.google.iam.v1.Policy> getSetIamPolicyMethod() { io.grpc.MethodDescriptor getSetIamPolicyMethod; if ((getSetIamPolicyMethod = ConnectionServiceGrpc.getSetIamPolicyMethod) == null) { synchronized (ConnectionServiceGrpc.class) { if ((getSetIamPolicyMethod = ConnectionServiceGrpc.getSetIamPolicyMethod) == null) { ConnectionServiceGrpc.getSetIamPolicyMethod = getSetIamPolicyMethod = io.grpc.MethodDescriptor .newBuilder() .setType(io.grpc.MethodDescriptor.MethodType.UNARY) .setFullMethodName(generateFullMethodName(SERVICE_NAME, "SetIamPolicy")) .setSampledToLocalTracing(true) .setRequestMarshaller( io.grpc.protobuf.ProtoUtils.marshaller( com.google.iam.v1.SetIamPolicyRequest.getDefaultInstance())) .setResponseMarshaller( io.grpc.protobuf.ProtoUtils.marshaller( com.google.iam.v1.Policy.getDefaultInstance())) .setSchemaDescriptor( new ConnectionServiceMethodDescriptorSupplier("SetIamPolicy")) .build(); } } } return getSetIamPolicyMethod; } private static volatile io.grpc.MethodDescriptor< com.google.iam.v1.TestIamPermissionsRequest, com.google.iam.v1.TestIamPermissionsResponse> getTestIamPermissionsMethod; @io.grpc.stub.annotations.RpcMethod( fullMethodName = SERVICE_NAME + '/' + "TestIamPermissions", requestType = com.google.iam.v1.TestIamPermissionsRequest.class, responseType = com.google.iam.v1.TestIamPermissionsResponse.class, methodType = io.grpc.MethodDescriptor.MethodType.UNARY) public static io.grpc.MethodDescriptor< com.google.iam.v1.TestIamPermissionsRequest, com.google.iam.v1.TestIamPermissionsResponse> getTestIamPermissionsMethod() { io.grpc.MethodDescriptor< com.google.iam.v1.TestIamPermissionsRequest, com.google.iam.v1.TestIamPermissionsResponse> getTestIamPermissionsMethod; if ((getTestIamPermissionsMethod = ConnectionServiceGrpc.getTestIamPermissionsMethod) == null) { synchronized (ConnectionServiceGrpc.class) { if ((getTestIamPermissionsMethod = ConnectionServiceGrpc.getTestIamPermissionsMethod) == null) { ConnectionServiceGrpc.getTestIamPermissionsMethod = getTestIamPermissionsMethod = io.grpc.MethodDescriptor . newBuilder() .setType(io.grpc.MethodDescriptor.MethodType.UNARY) .setFullMethodName(generateFullMethodName(SERVICE_NAME, "TestIamPermissions")) .setSampledToLocalTracing(true) .setRequestMarshaller( io.grpc.protobuf.ProtoUtils.marshaller( com.google.iam.v1.TestIamPermissionsRequest.getDefaultInstance())) .setResponseMarshaller( io.grpc.protobuf.ProtoUtils.marshaller( com.google.iam.v1.TestIamPermissionsResponse.getDefaultInstance())) .setSchemaDescriptor( new ConnectionServiceMethodDescriptorSupplier("TestIamPermissions")) .build(); } } } return getTestIamPermissionsMethod; } /** Creates a new async stub that supports all call types for the service */ public static ConnectionServiceStub newStub(io.grpc.Channel channel) { io.grpc.stub.AbstractStub.StubFactory factory = new io.grpc.stub.AbstractStub.StubFactory() { @java.lang.Override public ConnectionServiceStub newStub( io.grpc.Channel channel, io.grpc.CallOptions callOptions) { return new ConnectionServiceStub(channel, callOptions); } }; return ConnectionServiceStub.newStub(factory, channel); } /** * Creates a new blocking-style stub that supports unary and streaming output calls on the service */ public static ConnectionServiceBlockingStub newBlockingStub(io.grpc.Channel channel) { io.grpc.stub.AbstractStub.StubFactory factory = new io.grpc.stub.AbstractStub.StubFactory() { @java.lang.Override public ConnectionServiceBlockingStub newStub( io.grpc.Channel channel, io.grpc.CallOptions callOptions) { return new ConnectionServiceBlockingStub(channel, callOptions); } }; return ConnectionServiceBlockingStub.newStub(factory, channel); } /** Creates a new ListenableFuture-style stub that supports unary calls on the service */ public static ConnectionServiceFutureStub newFutureStub(io.grpc.Channel channel) { io.grpc.stub.AbstractStub.StubFactory factory = new io.grpc.stub.AbstractStub.StubFactory() { @java.lang.Override public ConnectionServiceFutureStub newStub( io.grpc.Channel channel, io.grpc.CallOptions callOptions) { return new ConnectionServiceFutureStub(channel, callOptions); } }; return ConnectionServiceFutureStub.newStub(factory, channel); } /** * * *
   * Manages external data source connections and credentials.
   * 
*/ public interface AsyncService { /** * * *
     * Creates a new connection.
     * 
*/ default void createConnection( com.google.cloud.bigquery.connection.v1beta1.ConnectionProto.CreateConnectionRequest request, io.grpc.stub.StreamObserver< com.google.cloud.bigquery.connection.v1beta1.ConnectionProto.Connection> responseObserver) { io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall( getCreateConnectionMethod(), responseObserver); } /** * * *
     * Returns specified connection.
     * 
*/ default void getConnection( com.google.cloud.bigquery.connection.v1beta1.ConnectionProto.GetConnectionRequest request, io.grpc.stub.StreamObserver< com.google.cloud.bigquery.connection.v1beta1.ConnectionProto.Connection> responseObserver) { io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall( getGetConnectionMethod(), responseObserver); } /** * * *
     * Returns a list of connections in the given project.
     * 
*/ default void listConnections( com.google.cloud.bigquery.connection.v1beta1.ConnectionProto.ListConnectionsRequest request, io.grpc.stub.StreamObserver< com.google.cloud.bigquery.connection.v1beta1.ConnectionProto .ListConnectionsResponse> responseObserver) { io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall( getListConnectionsMethod(), responseObserver); } /** * * *
     * Updates the specified connection. For security reasons, also resets
     * credential if connection properties are in the update field mask.
     * 
*/ default void updateConnection( com.google.cloud.bigquery.connection.v1beta1.ConnectionProto.UpdateConnectionRequest request, io.grpc.stub.StreamObserver< com.google.cloud.bigquery.connection.v1beta1.ConnectionProto.Connection> responseObserver) { io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall( getUpdateConnectionMethod(), responseObserver); } /** * * *
     * Sets the credential for the specified connection.
     * 
*/ default void updateConnectionCredential( com.google.cloud.bigquery.connection.v1beta1.ConnectionProto .UpdateConnectionCredentialRequest request, io.grpc.stub.StreamObserver responseObserver) { io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall( getUpdateConnectionCredentialMethod(), responseObserver); } /** * * *
     * Deletes connection and associated credential.
     * 
*/ default void deleteConnection( com.google.cloud.bigquery.connection.v1beta1.ConnectionProto.DeleteConnectionRequest request, io.grpc.stub.StreamObserver responseObserver) { io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall( getDeleteConnectionMethod(), responseObserver); } /** * * *
     * Gets the access control policy for a resource.
     * Returns an empty policy if the resource exists and does not have a policy
     * set.
     * 
*/ default void getIamPolicy( com.google.iam.v1.GetIamPolicyRequest request, io.grpc.stub.StreamObserver responseObserver) { io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall( getGetIamPolicyMethod(), responseObserver); } /** * * *
     * Sets the access control policy on the specified resource. Replaces any
     * existing policy.
     * Can return `NOT_FOUND`, `INVALID_ARGUMENT`, and `PERMISSION_DENIED` errors.
     * 
*/ default void setIamPolicy( com.google.iam.v1.SetIamPolicyRequest request, io.grpc.stub.StreamObserver responseObserver) { io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall( getSetIamPolicyMethod(), responseObserver); } /** * * *
     * Returns permissions that a caller has on the specified resource.
     * If the resource does not exist, this will return an empty set of
     * permissions, not a `NOT_FOUND` error.
     * Note: This operation is designed to be used for building permission-aware
     * UIs and command-line tools, not for authorization checking. This operation
     * may "fail open" without warning.
     * 
*/ default void testIamPermissions( com.google.iam.v1.TestIamPermissionsRequest request, io.grpc.stub.StreamObserver responseObserver) { io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall( getTestIamPermissionsMethod(), responseObserver); } } /** * Base class for the server implementation of the service ConnectionService. * *
   * Manages external data source connections and credentials.
   * 
*/ public abstract static class ConnectionServiceImplBase implements io.grpc.BindableService, AsyncService { @java.lang.Override public final io.grpc.ServerServiceDefinition bindService() { return ConnectionServiceGrpc.bindService(this); } } /** * A stub to allow clients to do asynchronous rpc calls to service ConnectionService. * *
   * Manages external data source connections and credentials.
   * 
*/ public static final class ConnectionServiceStub extends io.grpc.stub.AbstractAsyncStub { private ConnectionServiceStub(io.grpc.Channel channel, io.grpc.CallOptions callOptions) { super(channel, callOptions); } @java.lang.Override protected ConnectionServiceStub build( io.grpc.Channel channel, io.grpc.CallOptions callOptions) { return new ConnectionServiceStub(channel, callOptions); } /** * * *
     * Creates a new connection.
     * 
*/ public void createConnection( com.google.cloud.bigquery.connection.v1beta1.ConnectionProto.CreateConnectionRequest request, io.grpc.stub.StreamObserver< com.google.cloud.bigquery.connection.v1beta1.ConnectionProto.Connection> responseObserver) { io.grpc.stub.ClientCalls.asyncUnaryCall( getChannel().newCall(getCreateConnectionMethod(), getCallOptions()), request, responseObserver); } /** * * *
     * Returns specified connection.
     * 
*/ public void getConnection( com.google.cloud.bigquery.connection.v1beta1.ConnectionProto.GetConnectionRequest request, io.grpc.stub.StreamObserver< com.google.cloud.bigquery.connection.v1beta1.ConnectionProto.Connection> responseObserver) { io.grpc.stub.ClientCalls.asyncUnaryCall( getChannel().newCall(getGetConnectionMethod(), getCallOptions()), request, responseObserver); } /** * * *
     * Returns a list of connections in the given project.
     * 
*/ public void listConnections( com.google.cloud.bigquery.connection.v1beta1.ConnectionProto.ListConnectionsRequest request, io.grpc.stub.StreamObserver< com.google.cloud.bigquery.connection.v1beta1.ConnectionProto .ListConnectionsResponse> responseObserver) { io.grpc.stub.ClientCalls.asyncUnaryCall( getChannel().newCall(getListConnectionsMethod(), getCallOptions()), request, responseObserver); } /** * * *
     * Updates the specified connection. For security reasons, also resets
     * credential if connection properties are in the update field mask.
     * 
*/ public void updateConnection( com.google.cloud.bigquery.connection.v1beta1.ConnectionProto.UpdateConnectionRequest request, io.grpc.stub.StreamObserver< com.google.cloud.bigquery.connection.v1beta1.ConnectionProto.Connection> responseObserver) { io.grpc.stub.ClientCalls.asyncUnaryCall( getChannel().newCall(getUpdateConnectionMethod(), getCallOptions()), request, responseObserver); } /** * * *
     * Sets the credential for the specified connection.
     * 
*/ public void updateConnectionCredential( com.google.cloud.bigquery.connection.v1beta1.ConnectionProto .UpdateConnectionCredentialRequest request, io.grpc.stub.StreamObserver responseObserver) { io.grpc.stub.ClientCalls.asyncUnaryCall( getChannel().newCall(getUpdateConnectionCredentialMethod(), getCallOptions()), request, responseObserver); } /** * * *
     * Deletes connection and associated credential.
     * 
*/ public void deleteConnection( com.google.cloud.bigquery.connection.v1beta1.ConnectionProto.DeleteConnectionRequest request, io.grpc.stub.StreamObserver responseObserver) { io.grpc.stub.ClientCalls.asyncUnaryCall( getChannel().newCall(getDeleteConnectionMethod(), getCallOptions()), request, responseObserver); } /** * * *
     * Gets the access control policy for a resource.
     * Returns an empty policy if the resource exists and does not have a policy
     * set.
     * 
*/ public void getIamPolicy( com.google.iam.v1.GetIamPolicyRequest request, io.grpc.stub.StreamObserver responseObserver) { io.grpc.stub.ClientCalls.asyncUnaryCall( getChannel().newCall(getGetIamPolicyMethod(), getCallOptions()), request, responseObserver); } /** * * *
     * Sets the access control policy on the specified resource. Replaces any
     * existing policy.
     * Can return `NOT_FOUND`, `INVALID_ARGUMENT`, and `PERMISSION_DENIED` errors.
     * 
*/ public void setIamPolicy( com.google.iam.v1.SetIamPolicyRequest request, io.grpc.stub.StreamObserver responseObserver) { io.grpc.stub.ClientCalls.asyncUnaryCall( getChannel().newCall(getSetIamPolicyMethod(), getCallOptions()), request, responseObserver); } /** * * *
     * Returns permissions that a caller has on the specified resource.
     * If the resource does not exist, this will return an empty set of
     * permissions, not a `NOT_FOUND` error.
     * Note: This operation is designed to be used for building permission-aware
     * UIs and command-line tools, not for authorization checking. This operation
     * may "fail open" without warning.
     * 
*/ public void testIamPermissions( com.google.iam.v1.TestIamPermissionsRequest request, io.grpc.stub.StreamObserver responseObserver) { io.grpc.stub.ClientCalls.asyncUnaryCall( getChannel().newCall(getTestIamPermissionsMethod(), getCallOptions()), request, responseObserver); } } /** * A stub to allow clients to do synchronous rpc calls to service ConnectionService. * *
   * Manages external data source connections and credentials.
   * 
*/ public static final class ConnectionServiceBlockingStub extends io.grpc.stub.AbstractBlockingStub { private ConnectionServiceBlockingStub( io.grpc.Channel channel, io.grpc.CallOptions callOptions) { super(channel, callOptions); } @java.lang.Override protected ConnectionServiceBlockingStub build( io.grpc.Channel channel, io.grpc.CallOptions callOptions) { return new ConnectionServiceBlockingStub(channel, callOptions); } /** * * *
     * Creates a new connection.
     * 
*/ public com.google.cloud.bigquery.connection.v1beta1.ConnectionProto.Connection createConnection( com.google.cloud.bigquery.connection.v1beta1.ConnectionProto.CreateConnectionRequest request) { return io.grpc.stub.ClientCalls.blockingUnaryCall( getChannel(), getCreateConnectionMethod(), getCallOptions(), request); } /** * * *
     * Returns specified connection.
     * 
*/ public com.google.cloud.bigquery.connection.v1beta1.ConnectionProto.Connection getConnection( com.google.cloud.bigquery.connection.v1beta1.ConnectionProto.GetConnectionRequest request) { return io.grpc.stub.ClientCalls.blockingUnaryCall( getChannel(), getGetConnectionMethod(), getCallOptions(), request); } /** * * *
     * Returns a list of connections in the given project.
     * 
*/ public com.google.cloud.bigquery.connection.v1beta1.ConnectionProto.ListConnectionsResponse listConnections( com.google.cloud.bigquery.connection.v1beta1.ConnectionProto.ListConnectionsRequest request) { return io.grpc.stub.ClientCalls.blockingUnaryCall( getChannel(), getListConnectionsMethod(), getCallOptions(), request); } /** * * *
     * Updates the specified connection. For security reasons, also resets
     * credential if connection properties are in the update field mask.
     * 
*/ public com.google.cloud.bigquery.connection.v1beta1.ConnectionProto.Connection updateConnection( com.google.cloud.bigquery.connection.v1beta1.ConnectionProto.UpdateConnectionRequest request) { return io.grpc.stub.ClientCalls.blockingUnaryCall( getChannel(), getUpdateConnectionMethod(), getCallOptions(), request); } /** * * *
     * Sets the credential for the specified connection.
     * 
*/ public com.google.protobuf.Empty updateConnectionCredential( com.google.cloud.bigquery.connection.v1beta1.ConnectionProto .UpdateConnectionCredentialRequest request) { return io.grpc.stub.ClientCalls.blockingUnaryCall( getChannel(), getUpdateConnectionCredentialMethod(), getCallOptions(), request); } /** * * *
     * Deletes connection and associated credential.
     * 
*/ public com.google.protobuf.Empty deleteConnection( com.google.cloud.bigquery.connection.v1beta1.ConnectionProto.DeleteConnectionRequest request) { return io.grpc.stub.ClientCalls.blockingUnaryCall( getChannel(), getDeleteConnectionMethod(), getCallOptions(), request); } /** * * *
     * Gets the access control policy for a resource.
     * Returns an empty policy if the resource exists and does not have a policy
     * set.
     * 
*/ public com.google.iam.v1.Policy getIamPolicy(com.google.iam.v1.GetIamPolicyRequest request) { return io.grpc.stub.ClientCalls.blockingUnaryCall( getChannel(), getGetIamPolicyMethod(), getCallOptions(), request); } /** * * *
     * Sets the access control policy on the specified resource. Replaces any
     * existing policy.
     * Can return `NOT_FOUND`, `INVALID_ARGUMENT`, and `PERMISSION_DENIED` errors.
     * 
*/ public com.google.iam.v1.Policy setIamPolicy(com.google.iam.v1.SetIamPolicyRequest request) { return io.grpc.stub.ClientCalls.blockingUnaryCall( getChannel(), getSetIamPolicyMethod(), getCallOptions(), request); } /** * * *
     * Returns permissions that a caller has on the specified resource.
     * If the resource does not exist, this will return an empty set of
     * permissions, not a `NOT_FOUND` error.
     * Note: This operation is designed to be used for building permission-aware
     * UIs and command-line tools, not for authorization checking. This operation
     * may "fail open" without warning.
     * 
*/ public com.google.iam.v1.TestIamPermissionsResponse testIamPermissions( com.google.iam.v1.TestIamPermissionsRequest request) { return io.grpc.stub.ClientCalls.blockingUnaryCall( getChannel(), getTestIamPermissionsMethod(), getCallOptions(), request); } } /** * A stub to allow clients to do ListenableFuture-style rpc calls to service ConnectionService. * *
   * Manages external data source connections and credentials.
   * 
*/ public static final class ConnectionServiceFutureStub extends io.grpc.stub.AbstractFutureStub { private ConnectionServiceFutureStub(io.grpc.Channel channel, io.grpc.CallOptions callOptions) { super(channel, callOptions); } @java.lang.Override protected ConnectionServiceFutureStub build( io.grpc.Channel channel, io.grpc.CallOptions callOptions) { return new ConnectionServiceFutureStub(channel, callOptions); } /** * * *
     * Creates a new connection.
     * 
*/ public com.google.common.util.concurrent.ListenableFuture< com.google.cloud.bigquery.connection.v1beta1.ConnectionProto.Connection> createConnection( com.google.cloud.bigquery.connection.v1beta1.ConnectionProto.CreateConnectionRequest request) { return io.grpc.stub.ClientCalls.futureUnaryCall( getChannel().newCall(getCreateConnectionMethod(), getCallOptions()), request); } /** * * *
     * Returns specified connection.
     * 
*/ public com.google.common.util.concurrent.ListenableFuture< com.google.cloud.bigquery.connection.v1beta1.ConnectionProto.Connection> getConnection( com.google.cloud.bigquery.connection.v1beta1.ConnectionProto.GetConnectionRequest request) { return io.grpc.stub.ClientCalls.futureUnaryCall( getChannel().newCall(getGetConnectionMethod(), getCallOptions()), request); } /** * * *
     * Returns a list of connections in the given project.
     * 
*/ public com.google.common.util.concurrent.ListenableFuture< com.google.cloud.bigquery.connection.v1beta1.ConnectionProto.ListConnectionsResponse> listConnections( com.google.cloud.bigquery.connection.v1beta1.ConnectionProto.ListConnectionsRequest request) { return io.grpc.stub.ClientCalls.futureUnaryCall( getChannel().newCall(getListConnectionsMethod(), getCallOptions()), request); } /** * * *
     * Updates the specified connection. For security reasons, also resets
     * credential if connection properties are in the update field mask.
     * 
*/ public com.google.common.util.concurrent.ListenableFuture< com.google.cloud.bigquery.connection.v1beta1.ConnectionProto.Connection> updateConnection( com.google.cloud.bigquery.connection.v1beta1.ConnectionProto.UpdateConnectionRequest request) { return io.grpc.stub.ClientCalls.futureUnaryCall( getChannel().newCall(getUpdateConnectionMethod(), getCallOptions()), request); } /** * * *
     * Sets the credential for the specified connection.
     * 
*/ public com.google.common.util.concurrent.ListenableFuture updateConnectionCredential( com.google.cloud.bigquery.connection.v1beta1.ConnectionProto .UpdateConnectionCredentialRequest request) { return io.grpc.stub.ClientCalls.futureUnaryCall( getChannel().newCall(getUpdateConnectionCredentialMethod(), getCallOptions()), request); } /** * * *
     * Deletes connection and associated credential.
     * 
*/ public com.google.common.util.concurrent.ListenableFuture deleteConnection( com.google.cloud.bigquery.connection.v1beta1.ConnectionProto.DeleteConnectionRequest request) { return io.grpc.stub.ClientCalls.futureUnaryCall( getChannel().newCall(getDeleteConnectionMethod(), getCallOptions()), request); } /** * * *
     * Gets the access control policy for a resource.
     * Returns an empty policy if the resource exists and does not have a policy
     * set.
     * 
*/ public com.google.common.util.concurrent.ListenableFuture getIamPolicy(com.google.iam.v1.GetIamPolicyRequest request) { return io.grpc.stub.ClientCalls.futureUnaryCall( getChannel().newCall(getGetIamPolicyMethod(), getCallOptions()), request); } /** * * *
     * Sets the access control policy on the specified resource. Replaces any
     * existing policy.
     * Can return `NOT_FOUND`, `INVALID_ARGUMENT`, and `PERMISSION_DENIED` errors.
     * 
*/ public com.google.common.util.concurrent.ListenableFuture setIamPolicy(com.google.iam.v1.SetIamPolicyRequest request) { return io.grpc.stub.ClientCalls.futureUnaryCall( getChannel().newCall(getSetIamPolicyMethod(), getCallOptions()), request); } /** * * *
     * Returns permissions that a caller has on the specified resource.
     * If the resource does not exist, this will return an empty set of
     * permissions, not a `NOT_FOUND` error.
     * Note: This operation is designed to be used for building permission-aware
     * UIs and command-line tools, not for authorization checking. This operation
     * may "fail open" without warning.
     * 
*/ public com.google.common.util.concurrent.ListenableFuture< com.google.iam.v1.TestIamPermissionsResponse> testIamPermissions(com.google.iam.v1.TestIamPermissionsRequest request) { return io.grpc.stub.ClientCalls.futureUnaryCall( getChannel().newCall(getTestIamPermissionsMethod(), getCallOptions()), request); } } private static final int METHODID_CREATE_CONNECTION = 0; private static final int METHODID_GET_CONNECTION = 1; private static final int METHODID_LIST_CONNECTIONS = 2; private static final int METHODID_UPDATE_CONNECTION = 3; private static final int METHODID_UPDATE_CONNECTION_CREDENTIAL = 4; private static final int METHODID_DELETE_CONNECTION = 5; private static final int METHODID_GET_IAM_POLICY = 6; private static final int METHODID_SET_IAM_POLICY = 7; private static final int METHODID_TEST_IAM_PERMISSIONS = 8; private static final class MethodHandlers implements io.grpc.stub.ServerCalls.UnaryMethod, io.grpc.stub.ServerCalls.ServerStreamingMethod, io.grpc.stub.ServerCalls.ClientStreamingMethod, io.grpc.stub.ServerCalls.BidiStreamingMethod { private final AsyncService serviceImpl; private final int methodId; MethodHandlers(AsyncService serviceImpl, int methodId) { this.serviceImpl = serviceImpl; this.methodId = methodId; } @java.lang.Override @java.lang.SuppressWarnings("unchecked") public void invoke(Req request, io.grpc.stub.StreamObserver responseObserver) { switch (methodId) { case METHODID_CREATE_CONNECTION: serviceImpl.createConnection( (com.google.cloud.bigquery.connection.v1beta1.ConnectionProto.CreateConnectionRequest) request, (io.grpc.stub.StreamObserver< com.google.cloud.bigquery.connection.v1beta1.ConnectionProto.Connection>) responseObserver); break; case METHODID_GET_CONNECTION: serviceImpl.getConnection( (com.google.cloud.bigquery.connection.v1beta1.ConnectionProto.GetConnectionRequest) request, (io.grpc.stub.StreamObserver< com.google.cloud.bigquery.connection.v1beta1.ConnectionProto.Connection>) responseObserver); break; case METHODID_LIST_CONNECTIONS: serviceImpl.listConnections( (com.google.cloud.bigquery.connection.v1beta1.ConnectionProto.ListConnectionsRequest) request, (io.grpc.stub.StreamObserver< com.google.cloud.bigquery.connection.v1beta1.ConnectionProto .ListConnectionsResponse>) responseObserver); break; case METHODID_UPDATE_CONNECTION: serviceImpl.updateConnection( (com.google.cloud.bigquery.connection.v1beta1.ConnectionProto.UpdateConnectionRequest) request, (io.grpc.stub.StreamObserver< com.google.cloud.bigquery.connection.v1beta1.ConnectionProto.Connection>) responseObserver); break; case METHODID_UPDATE_CONNECTION_CREDENTIAL: serviceImpl.updateConnectionCredential( (com.google.cloud.bigquery.connection.v1beta1.ConnectionProto .UpdateConnectionCredentialRequest) request, (io.grpc.stub.StreamObserver) responseObserver); break; case METHODID_DELETE_CONNECTION: serviceImpl.deleteConnection( (com.google.cloud.bigquery.connection.v1beta1.ConnectionProto.DeleteConnectionRequest) request, (io.grpc.stub.StreamObserver) responseObserver); break; case METHODID_GET_IAM_POLICY: serviceImpl.getIamPolicy( (com.google.iam.v1.GetIamPolicyRequest) request, (io.grpc.stub.StreamObserver) responseObserver); break; case METHODID_SET_IAM_POLICY: serviceImpl.setIamPolicy( (com.google.iam.v1.SetIamPolicyRequest) request, (io.grpc.stub.StreamObserver) responseObserver); break; case METHODID_TEST_IAM_PERMISSIONS: serviceImpl.testIamPermissions( (com.google.iam.v1.TestIamPermissionsRequest) request, (io.grpc.stub.StreamObserver) responseObserver); break; default: throw new AssertionError(); } } @java.lang.Override @java.lang.SuppressWarnings("unchecked") public io.grpc.stub.StreamObserver invoke( io.grpc.stub.StreamObserver responseObserver) { switch (methodId) { default: throw new AssertionError(); } } } public static final io.grpc.ServerServiceDefinition bindService(AsyncService service) { return io.grpc.ServerServiceDefinition.builder(getServiceDescriptor()) .addMethod( getCreateConnectionMethod(), io.grpc.stub.ServerCalls.asyncUnaryCall( new MethodHandlers< com.google.cloud.bigquery.connection.v1beta1.ConnectionProto .CreateConnectionRequest, com.google.cloud.bigquery.connection.v1beta1.ConnectionProto.Connection>( service, METHODID_CREATE_CONNECTION))) .addMethod( getGetConnectionMethod(), io.grpc.stub.ServerCalls.asyncUnaryCall( new MethodHandlers< com.google.cloud.bigquery.connection.v1beta1.ConnectionProto .GetConnectionRequest, com.google.cloud.bigquery.connection.v1beta1.ConnectionProto.Connection>( service, METHODID_GET_CONNECTION))) .addMethod( getListConnectionsMethod(), io.grpc.stub.ServerCalls.asyncUnaryCall( new MethodHandlers< com.google.cloud.bigquery.connection.v1beta1.ConnectionProto .ListConnectionsRequest, com.google.cloud.bigquery.connection.v1beta1.ConnectionProto .ListConnectionsResponse>(service, METHODID_LIST_CONNECTIONS))) .addMethod( getUpdateConnectionMethod(), io.grpc.stub.ServerCalls.asyncUnaryCall( new MethodHandlers< com.google.cloud.bigquery.connection.v1beta1.ConnectionProto .UpdateConnectionRequest, com.google.cloud.bigquery.connection.v1beta1.ConnectionProto.Connection>( service, METHODID_UPDATE_CONNECTION))) .addMethod( getUpdateConnectionCredentialMethod(), io.grpc.stub.ServerCalls.asyncUnaryCall( new MethodHandlers< com.google.cloud.bigquery.connection.v1beta1.ConnectionProto .UpdateConnectionCredentialRequest, com.google.protobuf.Empty>(service, METHODID_UPDATE_CONNECTION_CREDENTIAL))) .addMethod( getDeleteConnectionMethod(), io.grpc.stub.ServerCalls.asyncUnaryCall( new MethodHandlers< com.google.cloud.bigquery.connection.v1beta1.ConnectionProto .DeleteConnectionRequest, com.google.protobuf.Empty>(service, METHODID_DELETE_CONNECTION))) .addMethod( getGetIamPolicyMethod(), io.grpc.stub.ServerCalls.asyncUnaryCall( new MethodHandlers( service, METHODID_GET_IAM_POLICY))) .addMethod( getSetIamPolicyMethod(), io.grpc.stub.ServerCalls.asyncUnaryCall( new MethodHandlers( service, METHODID_SET_IAM_POLICY))) .addMethod( getTestIamPermissionsMethod(), io.grpc.stub.ServerCalls.asyncUnaryCall( new MethodHandlers< com.google.iam.v1.TestIamPermissionsRequest, com.google.iam.v1.TestIamPermissionsResponse>( service, METHODID_TEST_IAM_PERMISSIONS))) .build(); } private abstract static class ConnectionServiceBaseDescriptorSupplier implements io.grpc.protobuf.ProtoFileDescriptorSupplier, io.grpc.protobuf.ProtoServiceDescriptorSupplier { ConnectionServiceBaseDescriptorSupplier() {} @java.lang.Override public com.google.protobuf.Descriptors.FileDescriptor getFileDescriptor() { return com.google.cloud.bigquery.connection.v1beta1.ConnectionProto.getDescriptor(); } @java.lang.Override public com.google.protobuf.Descriptors.ServiceDescriptor getServiceDescriptor() { return getFileDescriptor().findServiceByName("ConnectionService"); } } private static final class ConnectionServiceFileDescriptorSupplier extends ConnectionServiceBaseDescriptorSupplier { ConnectionServiceFileDescriptorSupplier() {} } private static final class ConnectionServiceMethodDescriptorSupplier extends ConnectionServiceBaseDescriptorSupplier implements io.grpc.protobuf.ProtoMethodDescriptorSupplier { private final java.lang.String methodName; ConnectionServiceMethodDescriptorSupplier(java.lang.String methodName) { this.methodName = methodName; } @java.lang.Override public com.google.protobuf.Descriptors.MethodDescriptor getMethodDescriptor() { return getServiceDescriptor().findMethodByName(methodName); } } private static volatile io.grpc.ServiceDescriptor serviceDescriptor; public static io.grpc.ServiceDescriptor getServiceDescriptor() { io.grpc.ServiceDescriptor result = serviceDescriptor; if (result == null) { synchronized (ConnectionServiceGrpc.class) { result = serviceDescriptor; if (result == null) { serviceDescriptor = result = io.grpc.ServiceDescriptor.newBuilder(SERVICE_NAME) .setSchemaDescriptor(new ConnectionServiceFileDescriptorSupplier()) .addMethod(getCreateConnectionMethod()) .addMethod(getGetConnectionMethod()) .addMethod(getListConnectionsMethod()) .addMethod(getUpdateConnectionMethod()) .addMethod(getUpdateConnectionCredentialMethod()) .addMethod(getDeleteConnectionMethod()) .addMethod(getGetIamPolicyMethod()) .addMethod(getSetIamPolicyMethod()) .addMethod(getTestIamPermissionsMethod()) .build(); } } } return result; } }




© 2015 - 2025 Weber Informatics LLC | Privacy Policy