Class GrpcConfigStub (0.1.0)

public class GrpcConfigStub extends ConfigStub

gRPC stub implementation for the Config service API.

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

Inheritance

java.lang.Object > ConfigStub > GrpcConfigStub

Static Methods

create(ClientContext clientContext)

public static final GrpcConfigStub create(ClientContext clientContext)
Parameter
Name Description
clientContext ClientContext
Returns
Type Description
GrpcConfigStub
Exceptions
Type Description
IOException

create(ClientContext clientContext, GrpcStubCallableFactory callableFactory)

public static final GrpcConfigStub create(ClientContext clientContext, GrpcStubCallableFactory callableFactory)
Parameters
Name Description
clientContext ClientContext
callableFactory GrpcStubCallableFactory
Returns
Type Description
GrpcConfigStub
Exceptions
Type Description
IOException

create(ConfigStubSettings settings)

public static final GrpcConfigStub create(ConfigStubSettings settings)
Parameter
Name Description
settings ConfigStubSettings
Returns
Type Description
GrpcConfigStub
Exceptions
Type Description
IOException

Constructors

GrpcConfigStub(ConfigStubSettings settings, ClientContext clientContext)

protected GrpcConfigStub(ConfigStubSettings settings, ClientContext clientContext)

Constructs an instance of GrpcConfigStub, 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
Name Description
settings ConfigStubSettings
clientContext ClientContext

GrpcConfigStub(ConfigStubSettings settings, ClientContext clientContext, GrpcStubCallableFactory callableFactory)

protected GrpcConfigStub(ConfigStubSettings settings, ClientContext clientContext, GrpcStubCallableFactory callableFactory)

Constructs an instance of GrpcConfigStub, 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
Name Description
settings ConfigStubSettings
clientContext ClientContext
callableFactory GrpcStubCallableFactory

Methods

awaitTermination(long duration, TimeUnit unit)

public boolean awaitTermination(long duration, TimeUnit unit)
Parameters
Name Description
duration long
unit TimeUnit
Returns
Type Description
boolean
Exceptions
Type Description
InterruptedException

close()

public final void close()
Overrides

createCloudControlCallable()

public UnaryCallable<CreateCloudControlRequest,CloudControl> createCloudControlCallable()
Returns
Type Description
UnaryCallable<CreateCloudControlRequest,CloudControl>
Overrides

createFrameworkCallable()

public UnaryCallable<CreateFrameworkRequest,Framework> createFrameworkCallable()
Returns
Type Description
UnaryCallable<CreateFrameworkRequest,Framework>
Overrides

deleteCloudControlCallable()

public UnaryCallable<DeleteCloudControlRequest,Empty> deleteCloudControlCallable()
Returns
Type Description
UnaryCallable<DeleteCloudControlRequest,Empty>
Overrides

deleteFrameworkCallable()

public UnaryCallable<DeleteFrameworkRequest,Empty> deleteFrameworkCallable()
Returns
Type Description
UnaryCallable<DeleteFrameworkRequest,Empty>
Overrides

getCloudControlCallable()

public UnaryCallable<GetCloudControlRequest,CloudControl> getCloudControlCallable()
Returns
Type Description
UnaryCallable<GetCloudControlRequest,CloudControl>
Overrides

getFrameworkCallable()

public UnaryCallable<GetFrameworkRequest,Framework> getFrameworkCallable()
Returns
Type Description
UnaryCallable<GetFrameworkRequest,Framework>
Overrides

getLocationCallable()

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

getOperationsStub()

public GrpcOperationsStub getOperationsStub()
Returns
Type Description
GrpcOperationsStub

isShutdown()

public boolean isShutdown()
Returns
Type Description
boolean

isTerminated()

public boolean isTerminated()
Returns
Type Description
boolean

listCloudControlsCallable()

public UnaryCallable<ListCloudControlsRequest,ListCloudControlsResponse> listCloudControlsCallable()
Returns
Type Description
UnaryCallable<ListCloudControlsRequest,ListCloudControlsResponse>
Overrides

listCloudControlsPagedCallable()

public UnaryCallable<ListCloudControlsRequest,ConfigClient.ListCloudControlsPagedResponse> listCloudControlsPagedCallable()
Returns
Type Description
UnaryCallable<ListCloudControlsRequest,ListCloudControlsPagedResponse>
Overrides

listFrameworksCallable()

public UnaryCallable<ListFrameworksRequest,ListFrameworksResponse> listFrameworksCallable()
Returns
Type Description
UnaryCallable<ListFrameworksRequest,ListFrameworksResponse>
Overrides

listFrameworksPagedCallable()

public UnaryCallable<ListFrameworksRequest,ConfigClient.ListFrameworksPagedResponse> listFrameworksPagedCallable()
Returns
Type Description
UnaryCallable<ListFrameworksRequest,ListFrameworksPagedResponse>
Overrides

listLocationsCallable()

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

listLocationsPagedCallable()

public UnaryCallable<ListLocationsRequest,ConfigClient.ListLocationsPagedResponse> listLocationsPagedCallable()
Returns
Type Description
UnaryCallable<com.google.cloud.location.ListLocationsRequest,ListLocationsPagedResponse>
Overrides

shutdown()

public void shutdown()

shutdownNow()

public void shutdownNow()

updateCloudControlCallable()

public UnaryCallable<UpdateCloudControlRequest,CloudControl> updateCloudControlCallable()
Returns
Type Description
UnaryCallable<UpdateCloudControlRequest,CloudControl>
Overrides

updateFrameworkCallable()

public UnaryCallable<UpdateFrameworkRequest,Framework> updateFrameworkCallable()
Returns
Type Description
UnaryCallable<UpdateFrameworkRequest,Framework>
Overrides