Class HttpJsonEkmServiceStub (2.20.0)

public class HttpJsonEkmServiceStub extends EkmServiceStub

REST stub implementation for the EkmService service API.

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

Inheritance

java.lang.Object > EkmServiceStub > HttpJsonEkmServiceStub

Static Methods

create(ClientContext clientContext)

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

create(ClientContext clientContext, HttpJsonStubCallableFactory callableFactory)

public static final HttpJsonEkmServiceStub create(ClientContext clientContext, HttpJsonStubCallableFactory callableFactory)
Parameters
NameDescription
clientContextClientContext
callableFactoryHttpJsonStubCallableFactory
Returns
TypeDescription
HttpJsonEkmServiceStub
Exceptions
TypeDescription
IOException

create(EkmServiceStubSettings settings)

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

getMethodDescriptors()

public static List<ApiMethodDescriptor> getMethodDescriptors()
Returns
TypeDescription
List<ApiMethodDescriptor>

Constructors

HttpJsonEkmServiceStub(EkmServiceStubSettings settings, ClientContext clientContext)

protected HttpJsonEkmServiceStub(EkmServiceStubSettings settings, ClientContext clientContext)

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

HttpJsonEkmServiceStub(EkmServiceStubSettings settings, ClientContext clientContext, HttpJsonStubCallableFactory callableFactory)

protected HttpJsonEkmServiceStub(EkmServiceStubSettings settings, ClientContext clientContext, HttpJsonStubCallableFactory callableFactory)

Constructs an instance of HttpJsonEkmServiceStub, 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
callableFactoryHttpJsonStubCallableFactory

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

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