Class HttpJsonDepServiceStub (0.11.0)

public class HttpJsonDepServiceStub extends DepServiceStub

REST stub implementation for the DepService service API.

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

Inheritance

java.lang.Object > DepServiceStub > HttpJsonDepServiceStub

Static Methods

create(ClientContext clientContext)

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

create(ClientContext clientContext, HttpJsonStubCallableFactory callableFactory)

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

create(DepServiceStubSettings settings)

public static final HttpJsonDepServiceStub create(DepServiceStubSettings settings)
Parameter
Name Description
settings DepServiceStubSettings
Returns
Type Description
HttpJsonDepServiceStub
Exceptions
Type Description
IOException

getMethodDescriptors()

public static List<ApiMethodDescriptor> getMethodDescriptors()
Returns
Type Description
List<ApiMethodDescriptor>

Constructors

HttpJsonDepServiceStub(DepServiceStubSettings settings, ClientContext clientContext)

protected HttpJsonDepServiceStub(DepServiceStubSettings settings, ClientContext clientContext)

Constructs an instance of HttpJsonDepServiceStub, 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 DepServiceStubSettings
clientContext ClientContext

HttpJsonDepServiceStub(DepServiceStubSettings settings, ClientContext clientContext, HttpJsonStubCallableFactory callableFactory)

protected HttpJsonDepServiceStub(DepServiceStubSettings settings, ClientContext clientContext, HttpJsonStubCallableFactory callableFactory)

Constructs an instance of HttpJsonDepServiceStub, 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 DepServiceStubSettings
clientContext ClientContext
callableFactory HttpJsonStubCallableFactory

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

createLbRouteExtensionCallable()

public UnaryCallable<CreateLbRouteExtensionRequest,Operation> createLbRouteExtensionCallable()
Returns
Type Description
UnaryCallable<CreateLbRouteExtensionRequest,Operation>
Overrides

createLbRouteExtensionOperationCallable()

public OperationCallable<CreateLbRouteExtensionRequest,LbRouteExtension,OperationMetadata> createLbRouteExtensionOperationCallable()
Returns
Type Description
OperationCallable<CreateLbRouteExtensionRequest,LbRouteExtension,OperationMetadata>
Overrides

createLbTrafficExtensionCallable()

public UnaryCallable<CreateLbTrafficExtensionRequest,Operation> createLbTrafficExtensionCallable()
Returns
Type Description
UnaryCallable<CreateLbTrafficExtensionRequest,Operation>
Overrides

createLbTrafficExtensionOperationCallable()

public OperationCallable<CreateLbTrafficExtensionRequest,LbTrafficExtension,OperationMetadata> createLbTrafficExtensionOperationCallable()
Returns
Type Description
OperationCallable<CreateLbTrafficExtensionRequest,LbTrafficExtension,OperationMetadata>
Overrides

deleteLbRouteExtensionCallable()

public UnaryCallable<DeleteLbRouteExtensionRequest,Operation> deleteLbRouteExtensionCallable()
Returns
Type Description
UnaryCallable<DeleteLbRouteExtensionRequest,Operation>
Overrides

deleteLbRouteExtensionOperationCallable()

public OperationCallable<DeleteLbRouteExtensionRequest,Empty,OperationMetadata> deleteLbRouteExtensionOperationCallable()
Returns
Type Description
OperationCallable<DeleteLbRouteExtensionRequest,Empty,OperationMetadata>
Overrides

deleteLbTrafficExtensionCallable()

public UnaryCallable<DeleteLbTrafficExtensionRequest,Operation> deleteLbTrafficExtensionCallable()
Returns
Type Description
UnaryCallable<DeleteLbTrafficExtensionRequest,Operation>
Overrides

deleteLbTrafficExtensionOperationCallable()

public OperationCallable<DeleteLbTrafficExtensionRequest,Empty,OperationMetadata> deleteLbTrafficExtensionOperationCallable()
Returns
Type Description
OperationCallable<DeleteLbTrafficExtensionRequest,Empty,OperationMetadata>
Overrides

getHttpJsonOperationsStub()

public HttpJsonOperationsStub getHttpJsonOperationsStub()
Returns
Type Description
HttpJsonOperationsStub
Overrides

getIamPolicyCallable()

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

getLbRouteExtensionCallable()

public UnaryCallable<GetLbRouteExtensionRequest,LbRouteExtension> getLbRouteExtensionCallable()
Returns
Type Description
UnaryCallable<GetLbRouteExtensionRequest,LbRouteExtension>
Overrides

getLbTrafficExtensionCallable()

public UnaryCallable<GetLbTrafficExtensionRequest,LbTrafficExtension> getLbTrafficExtensionCallable()
Returns
Type Description
UnaryCallable<GetLbTrafficExtensionRequest,LbTrafficExtension>
Overrides

getLocationCallable()

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

isShutdown()

public boolean isShutdown()
Returns
Type Description
boolean

isTerminated()

public boolean isTerminated()
Returns
Type Description
boolean

listLbRouteExtensionsCallable()

public UnaryCallable<ListLbRouteExtensionsRequest,ListLbRouteExtensionsResponse> listLbRouteExtensionsCallable()
Returns
Type Description
UnaryCallable<ListLbRouteExtensionsRequest,ListLbRouteExtensionsResponse>
Overrides

listLbRouteExtensionsPagedCallable()

public UnaryCallable<ListLbRouteExtensionsRequest,DepServiceClient.ListLbRouteExtensionsPagedResponse> listLbRouteExtensionsPagedCallable()
Returns
Type Description
UnaryCallable<ListLbRouteExtensionsRequest,ListLbRouteExtensionsPagedResponse>
Overrides

listLbTrafficExtensionsCallable()

public UnaryCallable<ListLbTrafficExtensionsRequest,ListLbTrafficExtensionsResponse> listLbTrafficExtensionsCallable()
Returns
Type Description
UnaryCallable<ListLbTrafficExtensionsRequest,ListLbTrafficExtensionsResponse>
Overrides

listLbTrafficExtensionsPagedCallable()

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

setIamPolicyCallable()

public UnaryCallable<SetIamPolicyRequest,Policy> setIamPolicyCallable()
Returns
Type Description
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
Type Description
UnaryCallable<com.google.iam.v1.TestIamPermissionsRequest,com.google.iam.v1.TestIamPermissionsResponse>
Overrides

updateLbRouteExtensionCallable()

public UnaryCallable<UpdateLbRouteExtensionRequest,Operation> updateLbRouteExtensionCallable()
Returns
Type Description
UnaryCallable<UpdateLbRouteExtensionRequest,Operation>
Overrides

updateLbRouteExtensionOperationCallable()

public OperationCallable<UpdateLbRouteExtensionRequest,LbRouteExtension,OperationMetadata> updateLbRouteExtensionOperationCallable()
Returns
Type Description
OperationCallable<UpdateLbRouteExtensionRequest,LbRouteExtension,OperationMetadata>
Overrides

updateLbTrafficExtensionCallable()

public UnaryCallable<UpdateLbTrafficExtensionRequest,Operation> updateLbTrafficExtensionCallable()
Returns
Type Description
UnaryCallable<UpdateLbTrafficExtensionRequest,Operation>
Overrides

updateLbTrafficExtensionOperationCallable()

public OperationCallable<UpdateLbTrafficExtensionRequest,LbTrafficExtension,OperationMetadata> updateLbTrafficExtensionOperationCallable()
Returns
Type Description
OperationCallable<UpdateLbTrafficExtensionRequest,LbTrafficExtension,OperationMetadata>
Overrides