Class ConnectionServiceGrpc (2.57.0)

public final class ConnectionServiceGrpc

Manages external data source connections and credentials.

Inheritance

java.lang.Object > ConnectionServiceGrpc

Static Fields

SERVICE_NAME

public static final String SERVICE_NAME
Field Value
Type Description
String

Static Methods

bindService(ConnectionServiceGrpc.AsyncService service)

public static final ServerServiceDefinition bindService(ConnectionServiceGrpc.AsyncService service)
Parameter
Name Description
service ConnectionServiceGrpc.AsyncService
Returns
Type Description
io.grpc.ServerServiceDefinition

getCreateConnectionMethod()

public static MethodDescriptor<ConnectionProto.CreateConnectionRequest,ConnectionProto.Connection> getCreateConnectionMethod()
Returns
Type Description
io.grpc.MethodDescriptor<CreateConnectionRequest,Connection>

getDeleteConnectionMethod()

public static MethodDescriptor<ConnectionProto.DeleteConnectionRequest,Empty> getDeleteConnectionMethod()
Returns
Type Description
io.grpc.MethodDescriptor<DeleteConnectionRequest,Empty>

getGetConnectionMethod()

public static MethodDescriptor<ConnectionProto.GetConnectionRequest,ConnectionProto.Connection> getGetConnectionMethod()
Returns
Type Description
io.grpc.MethodDescriptor<GetConnectionRequest,Connection>

getGetIamPolicyMethod()

public static MethodDescriptor<GetIamPolicyRequest,Policy> getGetIamPolicyMethod()
Returns
Type Description
io.grpc.MethodDescriptor<com.google.iam.v1.GetIamPolicyRequest,com.google.iam.v1.Policy>

getListConnectionsMethod()

public static MethodDescriptor<ConnectionProto.ListConnectionsRequest,ConnectionProto.ListConnectionsResponse> getListConnectionsMethod()
Returns
Type Description
io.grpc.MethodDescriptor<ListConnectionsRequest,ListConnectionsResponse>

getServiceDescriptor()

public static ServiceDescriptor getServiceDescriptor()
Returns
Type Description
io.grpc.ServiceDescriptor

getSetIamPolicyMethod()

public static MethodDescriptor<SetIamPolicyRequest,Policy> getSetIamPolicyMethod()
Returns
Type Description
io.grpc.MethodDescriptor<com.google.iam.v1.SetIamPolicyRequest,com.google.iam.v1.Policy>

getTestIamPermissionsMethod()

public static MethodDescriptor<TestIamPermissionsRequest,TestIamPermissionsResponse> getTestIamPermissionsMethod()
Returns
Type Description
io.grpc.MethodDescriptor<com.google.iam.v1.TestIamPermissionsRequest,com.google.iam.v1.TestIamPermissionsResponse>

getUpdateConnectionCredentialMethod()

public static MethodDescriptor<ConnectionProto.UpdateConnectionCredentialRequest,Empty> getUpdateConnectionCredentialMethod()
Returns
Type Description
io.grpc.MethodDescriptor<UpdateConnectionCredentialRequest,Empty>

getUpdateConnectionMethod()

public static MethodDescriptor<ConnectionProto.UpdateConnectionRequest,ConnectionProto.Connection> getUpdateConnectionMethod()
Returns
Type Description
io.grpc.MethodDescriptor<UpdateConnectionRequest,Connection>

newBlockingStub(Channel channel)

public static ConnectionServiceGrpc.ConnectionServiceBlockingStub newBlockingStub(Channel channel)

Creates a new blocking-style stub that supports unary and streaming output calls on the service

Parameter
Name Description
channel io.grpc.Channel
Returns
Type Description
ConnectionServiceGrpc.ConnectionServiceBlockingStub

newFutureStub(Channel channel)

public static ConnectionServiceGrpc.ConnectionServiceFutureStub newFutureStub(Channel channel)

Creates a new ListenableFuture-style stub that supports unary calls on the service

Parameter
Name Description
channel io.grpc.Channel
Returns
Type Description
ConnectionServiceGrpc.ConnectionServiceFutureStub

newStub(Channel channel)

public static ConnectionServiceGrpc.ConnectionServiceStub newStub(Channel channel)

Creates a new async stub that supports all call types for the service

Parameter
Name Description
channel io.grpc.Channel
Returns
Type Description
ConnectionServiceGrpc.ConnectionServiceStub