Class GrpcEkmServiceStub (2.17.0)

public class GrpcEkmServiceStub extends EkmServiceStub

gRPC stub implementation for the EkmService service API.

This class is for advanced usage and reflects the underlying API directly.

Inheritance

java.lang.Object > EkmServiceStub > GrpcEkmServiceStub

Static Methods

create(ClientContext clientContext)

public static final GrpcEkmServiceStub create(ClientContext clientContext)
Parameter
NameDescription
clientContextClientContext
Returns
TypeDescription
GrpcEkmServiceStub
Exceptions
TypeDescription
IOException

create(ClientContext clientContext, GrpcStubCallableFactory callableFactory)

public static final GrpcEkmServiceStub create(ClientContext clientContext, GrpcStubCallableFactory callableFactory)
Parameters
NameDescription
clientContextClientContext
callableFactoryGrpcStubCallableFactory
Returns
TypeDescription
GrpcEkmServiceStub
Exceptions
TypeDescription
IOException

create(EkmServiceStubSettings settings)

public static final GrpcEkmServiceStub create(EkmServiceStubSettings settings)
Parameter
NameDescription
settingsEkmServiceStubSettings
Returns
TypeDescription
GrpcEkmServiceStub
Exceptions
TypeDescription
IOException

Constructors

GrpcEkmServiceStub(EkmServiceStubSettings settings, ClientContext clientContext)

protected GrpcEkmServiceStub(EkmServiceStubSettings settings, ClientContext clientContext)

Constructs an instance of GrpcEkmServiceStub, 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.

Parameters
NameDescription
settingsEkmServiceStubSettings
clientContextClientContext

GrpcEkmServiceStub(EkmServiceStubSettings settings, ClientContext clientContext, GrpcStubCallableFactory callableFactory)

protected GrpcEkmServiceStub(EkmServiceStubSettings settings, ClientContext clientContext, GrpcStubCallableFactory callableFactory)

Constructs an instance of GrpcEkmServiceStub, 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.

Parameters
NameDescription
settingsEkmServiceStubSettings
clientContextClientContext
callableFactoryGrpcStubCallableFactory

Methods

awaitTermination(long duration, TimeUnit unit)

public boolean awaitTermination(long duration, TimeUnit unit)
Parameters
NameDescription
durationlong
unitTimeUnit
Returns
TypeDescription
boolean
Exceptions
TypeDescription
InterruptedException

close()

public final void close()
Overrides

createEkmConnectionCallable()

public UnaryCallable<CreateEkmConnectionRequest,EkmConnection> createEkmConnectionCallable()
Returns
TypeDescription
UnaryCallable<CreateEkmConnectionRequest,EkmConnection>
Overrides

getEkmConfigCallable()

public UnaryCallable<GetEkmConfigRequest,EkmConfig> getEkmConfigCallable()
Returns
TypeDescription
UnaryCallable<GetEkmConfigRequest,EkmConfig>
Overrides

getEkmConnectionCallable()

public UnaryCallable<GetEkmConnectionRequest,EkmConnection> getEkmConnectionCallable()
Returns
TypeDescription
UnaryCallable<GetEkmConnectionRequest,EkmConnection>
Overrides

getIamPolicyCallable()

public UnaryCallable<GetIamPolicyRequest,Policy> getIamPolicyCallable()
Returns
TypeDescription
UnaryCallable<com.google.iam.v1.GetIamPolicyRequest,com.google.iam.v1.Policy>
Overrides

getLocationCallable()

public UnaryCallable<GetLocationRequest,Location> getLocationCallable()
Returns
TypeDescription
UnaryCallable<com.google.cloud.location.GetLocationRequest,com.google.cloud.location.Location>
Overrides

getOperationsStub()

public GrpcOperationsStub getOperationsStub()
Returns
TypeDescription
GrpcOperationsStub

isShutdown()

public boolean isShutdown()
Returns
TypeDescription
boolean

isTerminated()

public boolean isTerminated()
Returns
TypeDescription
boolean

listEkmConnectionsCallable()

public UnaryCallable<ListEkmConnectionsRequest,ListEkmConnectionsResponse> listEkmConnectionsCallable()
Returns
TypeDescription
UnaryCallable<ListEkmConnectionsRequest,ListEkmConnectionsResponse>
Overrides

listEkmConnectionsPagedCallable()

public UnaryCallable<ListEkmConnectionsRequest,EkmServiceClient.ListEkmConnectionsPagedResponse> listEkmConnectionsPagedCallable()
Returns
TypeDescription
UnaryCallable<ListEkmConnectionsRequest,ListEkmConnectionsPagedResponse>
Overrides

listLocationsCallable()

public UnaryCallable<ListLocationsRequest,ListLocationsResponse> listLocationsCallable()
Returns
TypeDescription
UnaryCallable<com.google.cloud.location.ListLocationsRequest,com.google.cloud.location.ListLocationsResponse>
Overrides

listLocationsPagedCallable()

public UnaryCallable<ListLocationsRequest,EkmServiceClient.ListLocationsPagedResponse> listLocationsPagedCallable()
Returns
TypeDescription
UnaryCallable<com.google.cloud.location.ListLocationsRequest,ListLocationsPagedResponse>
Overrides

setIamPolicyCallable()

public UnaryCallable<SetIamPolicyRequest,Policy> setIamPolicyCallable()
Returns
TypeDescription
UnaryCallable<com.google.iam.v1.SetIamPolicyRequest,com.google.iam.v1.Policy>
Overrides

shutdown()

public void shutdown()

shutdownNow()

public void shutdownNow()

testIamPermissionsCallable()

public UnaryCallable<TestIamPermissionsRequest,TestIamPermissionsResponse> testIamPermissionsCallable()
Returns
TypeDescription
UnaryCallable<com.google.iam.v1.TestIamPermissionsRequest,com.google.iam.v1.TestIamPermissionsResponse>
Overrides

updateEkmConfigCallable()

public UnaryCallable<UpdateEkmConfigRequest,EkmConfig> updateEkmConfigCallable()
Returns
TypeDescription
UnaryCallable<UpdateEkmConfigRequest,EkmConfig>
Overrides

updateEkmConnectionCallable()

public UnaryCallable<UpdateEkmConnectionRequest,EkmConnection> updateEkmConnectionCallable()
Returns
TypeDescription
UnaryCallable<UpdateEkmConnectionRequest,EkmConnection>
Overrides