Class ConnectionServiceGrpc (2.25.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
TypeDescription
String

Static Methods

bindService(ConnectionServiceGrpc.AsyncService service)

public static final ServerServiceDefinition bindService(ConnectionServiceGrpc.AsyncService service)
Parameter
NameDescription
serviceConnectionServiceGrpc.AsyncService
Returns
TypeDescription
io.grpc.ServerServiceDefinition

getCreateConnectionMethod()

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

getDeleteConnectionMethod()

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

getGetConnectionMethod()

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

getGetIamPolicyMethod()

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

getListConnectionsMethod()

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

getServiceDescriptor()

public static ServiceDescriptor getServiceDescriptor()
Returns
TypeDescription
io.grpc.ServiceDescriptor

getSetIamPolicyMethod()

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

getTestIamPermissionsMethod()

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

getUpdateConnectionCredentialMethod()

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

getUpdateConnectionMethod()

public static MethodDescriptor<ConnectionProto.UpdateConnectionRequest,ConnectionProto.Connection> getUpdateConnectionMethod()
Returns
TypeDescription
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
NameDescription
channelio.grpc.Channel
Returns
TypeDescription
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
NameDescription
channelio.grpc.Channel
Returns
TypeDescription
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
NameDescription
channelio.grpc.Channel
Returns
TypeDescription
ConnectionServiceGrpc.ConnectionServiceStub