Class GrpcParameterManagerStub (0.1.0)

public class GrpcParameterManagerStub extends ParameterManagerStub

gRPC stub implementation for the ParameterManager service API.

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

Inheritance

java.lang.Object > ParameterManagerStub > GrpcParameterManagerStub

Static Methods

create(ClientContext clientContext)

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

create(ClientContext clientContext, GrpcStubCallableFactory callableFactory)

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

create(ParameterManagerStubSettings settings)

public static final GrpcParameterManagerStub create(ParameterManagerStubSettings settings)
Parameter
Name Description
settings ParameterManagerStubSettings
Returns
Type Description
GrpcParameterManagerStub
Exceptions
Type Description
IOException

Constructors

GrpcParameterManagerStub(ParameterManagerStubSettings settings, ClientContext clientContext)

protected GrpcParameterManagerStub(ParameterManagerStubSettings settings, ClientContext clientContext)

Constructs an instance of GrpcParameterManagerStub, 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 ParameterManagerStubSettings
clientContext ClientContext

GrpcParameterManagerStub(ParameterManagerStubSettings settings, ClientContext clientContext, GrpcStubCallableFactory callableFactory)

protected GrpcParameterManagerStub(ParameterManagerStubSettings settings, ClientContext clientContext, GrpcStubCallableFactory callableFactory)

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

createParameterCallable()

public UnaryCallable<CreateParameterRequest,Parameter> createParameterCallable()
Returns
Type Description
UnaryCallable<CreateParameterRequest,Parameter>
Overrides

createParameterVersionCallable()

public UnaryCallable<CreateParameterVersionRequest,ParameterVersion> createParameterVersionCallable()
Returns
Type Description
UnaryCallable<CreateParameterVersionRequest,ParameterVersion>
Overrides

deleteParameterCallable()

public UnaryCallable<DeleteParameterRequest,Empty> deleteParameterCallable()
Returns
Type Description
UnaryCallable<DeleteParameterRequest,Empty>
Overrides

deleteParameterVersionCallable()

public UnaryCallable<DeleteParameterVersionRequest,Empty> deleteParameterVersionCallable()
Returns
Type Description
UnaryCallable<DeleteParameterVersionRequest,Empty>
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

getParameterCallable()

public UnaryCallable<GetParameterRequest,Parameter> getParameterCallable()
Returns
Type Description
UnaryCallable<GetParameterRequest,Parameter>
Overrides

getParameterVersionCallable()

public UnaryCallable<GetParameterVersionRequest,ParameterVersion> getParameterVersionCallable()
Returns
Type Description
UnaryCallable<GetParameterVersionRequest,ParameterVersion>
Overrides

isShutdown()

public boolean isShutdown()
Returns
Type Description
boolean

isTerminated()

public boolean isTerminated()
Returns
Type Description
boolean

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,ParameterManagerClient.ListLocationsPagedResponse> listLocationsPagedCallable()
Returns
Type Description
UnaryCallable<com.google.cloud.location.ListLocationsRequest,ListLocationsPagedResponse>
Overrides

listParameterVersionsCallable()

public UnaryCallable<ListParameterVersionsRequest,ListParameterVersionsResponse> listParameterVersionsCallable()
Returns
Type Description
UnaryCallable<ListParameterVersionsRequest,ListParameterVersionsResponse>
Overrides

listParameterVersionsPagedCallable()

public UnaryCallable<ListParameterVersionsRequest,ParameterManagerClient.ListParameterVersionsPagedResponse> listParameterVersionsPagedCallable()
Returns
Type Description
UnaryCallable<ListParameterVersionsRequest,ListParameterVersionsPagedResponse>
Overrides

listParametersCallable()

public UnaryCallable<ListParametersRequest,ListParametersResponse> listParametersCallable()
Returns
Type Description
UnaryCallable<ListParametersRequest,ListParametersResponse>
Overrides

listParametersPagedCallable()

public UnaryCallable<ListParametersRequest,ParameterManagerClient.ListParametersPagedResponse> listParametersPagedCallable()
Returns
Type Description
UnaryCallable<ListParametersRequest,ListParametersPagedResponse>
Overrides

renderParameterVersionCallable()

public UnaryCallable<RenderParameterVersionRequest,RenderParameterVersionResponse> renderParameterVersionCallable()
Returns
Type Description
UnaryCallable<RenderParameterVersionRequest,RenderParameterVersionResponse>
Overrides

shutdown()

public void shutdown()

shutdownNow()

public void shutdownNow()

updateParameterCallable()

public UnaryCallable<UpdateParameterRequest,Parameter> updateParameterCallable()
Returns
Type Description
UnaryCallable<UpdateParameterRequest,Parameter>
Overrides

updateParameterVersionCallable()

public UnaryCallable<UpdateParameterVersionRequest,ParameterVersion> updateParameterVersionCallable()
Returns
Type Description
UnaryCallable<UpdateParameterVersionRequest,ParameterVersion>
Overrides