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.
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()
createLbRouteExtensionCallable()
public UnaryCallable<CreateLbRouteExtensionRequest,Operation> createLbRouteExtensionCallable()
Returns | |
---|---|
Type | Description |
UnaryCallable<CreateLbRouteExtensionRequest,Operation> |
createLbRouteExtensionOperationCallable()
public OperationCallable<CreateLbRouteExtensionRequest,LbRouteExtension,OperationMetadata> createLbRouteExtensionOperationCallable()
Returns | |
---|---|
Type | Description |
OperationCallable<CreateLbRouteExtensionRequest,LbRouteExtension,OperationMetadata> |
createLbTrafficExtensionCallable()
public UnaryCallable<CreateLbTrafficExtensionRequest,Operation> createLbTrafficExtensionCallable()
Returns | |
---|---|
Type | Description |
UnaryCallable<CreateLbTrafficExtensionRequest,Operation> |
createLbTrafficExtensionOperationCallable()
public OperationCallable<CreateLbTrafficExtensionRequest,LbTrafficExtension,OperationMetadata> createLbTrafficExtensionOperationCallable()
Returns | |
---|---|
Type | Description |
OperationCallable<CreateLbTrafficExtensionRequest,LbTrafficExtension,OperationMetadata> |
deleteLbRouteExtensionCallable()
public UnaryCallable<DeleteLbRouteExtensionRequest,Operation> deleteLbRouteExtensionCallable()
Returns | |
---|---|
Type | Description |
UnaryCallable<DeleteLbRouteExtensionRequest,Operation> |
deleteLbRouteExtensionOperationCallable()
public OperationCallable<DeleteLbRouteExtensionRequest,Empty,OperationMetadata> deleteLbRouteExtensionOperationCallable()
Returns | |
---|---|
Type | Description |
OperationCallable<DeleteLbRouteExtensionRequest,Empty,OperationMetadata> |
deleteLbTrafficExtensionCallable()
public UnaryCallable<DeleteLbTrafficExtensionRequest,Operation> deleteLbTrafficExtensionCallable()
Returns | |
---|---|
Type | Description |
UnaryCallable<DeleteLbTrafficExtensionRequest,Operation> |
deleteLbTrafficExtensionOperationCallable()
public OperationCallable<DeleteLbTrafficExtensionRequest,Empty,OperationMetadata> deleteLbTrafficExtensionOperationCallable()
Returns | |
---|---|
Type | Description |
OperationCallable<DeleteLbTrafficExtensionRequest,Empty,OperationMetadata> |
getHttpJsonOperationsStub()
public HttpJsonOperationsStub getHttpJsonOperationsStub()
Returns | |
---|---|
Type | Description |
HttpJsonOperationsStub |
getIamPolicyCallable()
public UnaryCallable<GetIamPolicyRequest,Policy> getIamPolicyCallable()
Returns | |
---|---|
Type | Description |
UnaryCallable<com.google.iam.v1.GetIamPolicyRequest,com.google.iam.v1.Policy> |
getLbRouteExtensionCallable()
public UnaryCallable<GetLbRouteExtensionRequest,LbRouteExtension> getLbRouteExtensionCallable()
Returns | |
---|---|
Type | Description |
UnaryCallable<GetLbRouteExtensionRequest,LbRouteExtension> |
getLbTrafficExtensionCallable()
public UnaryCallable<GetLbTrafficExtensionRequest,LbTrafficExtension> getLbTrafficExtensionCallable()
Returns | |
---|---|
Type | Description |
UnaryCallable<GetLbTrafficExtensionRequest,LbTrafficExtension> |
getLocationCallable()
public UnaryCallable<GetLocationRequest,Location> getLocationCallable()
Returns | |
---|---|
Type | Description |
UnaryCallable<com.google.cloud.location.GetLocationRequest,com.google.cloud.location.Location> |
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> |
listLbRouteExtensionsPagedCallable()
public UnaryCallable<ListLbRouteExtensionsRequest,DepServiceClient.ListLbRouteExtensionsPagedResponse> listLbRouteExtensionsPagedCallable()
Returns | |
---|---|
Type | Description |
UnaryCallable<ListLbRouteExtensionsRequest,ListLbRouteExtensionsPagedResponse> |
listLbTrafficExtensionsCallable()
public UnaryCallable<ListLbTrafficExtensionsRequest,ListLbTrafficExtensionsResponse> listLbTrafficExtensionsCallable()
Returns | |
---|---|
Type | Description |
UnaryCallable<ListLbTrafficExtensionsRequest,ListLbTrafficExtensionsResponse> |
listLbTrafficExtensionsPagedCallable()
public UnaryCallable<ListLbTrafficExtensionsRequest,DepServiceClient.ListLbTrafficExtensionsPagedResponse> listLbTrafficExtensionsPagedCallable()
Returns | |
---|---|
Type | Description |
UnaryCallable<ListLbTrafficExtensionsRequest,ListLbTrafficExtensionsPagedResponse> |
listLocationsCallable()
public UnaryCallable<ListLocationsRequest,ListLocationsResponse> listLocationsCallable()
Returns | |
---|---|
Type | Description |
UnaryCallable<com.google.cloud.location.ListLocationsRequest,com.google.cloud.location.ListLocationsResponse> |
listLocationsPagedCallable()
public UnaryCallable<ListLocationsRequest,DepServiceClient.ListLocationsPagedResponse> listLocationsPagedCallable()
Returns | |
---|---|
Type | Description |
UnaryCallable<com.google.cloud.location.ListLocationsRequest,ListLocationsPagedResponse> |
setIamPolicyCallable()
public UnaryCallable<SetIamPolicyRequest,Policy> setIamPolicyCallable()
Returns | |
---|---|
Type | Description |
UnaryCallable<com.google.iam.v1.SetIamPolicyRequest,com.google.iam.v1.Policy> |
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> |
updateLbRouteExtensionCallable()
public UnaryCallable<UpdateLbRouteExtensionRequest,Operation> updateLbRouteExtensionCallable()
Returns | |
---|---|
Type | Description |
UnaryCallable<UpdateLbRouteExtensionRequest,Operation> |
updateLbRouteExtensionOperationCallable()
public OperationCallable<UpdateLbRouteExtensionRequest,LbRouteExtension,OperationMetadata> updateLbRouteExtensionOperationCallable()
Returns | |
---|---|
Type | Description |
OperationCallable<UpdateLbRouteExtensionRequest,LbRouteExtension,OperationMetadata> |
updateLbTrafficExtensionCallable()
public UnaryCallable<UpdateLbTrafficExtensionRequest,Operation> updateLbTrafficExtensionCallable()
Returns | |
---|---|
Type | Description |
UnaryCallable<UpdateLbTrafficExtensionRequest,Operation> |
updateLbTrafficExtensionOperationCallable()
public OperationCallable<UpdateLbTrafficExtensionRequest,LbTrafficExtension,OperationMetadata> updateLbTrafficExtensionOperationCallable()
Returns | |
---|---|
Type | Description |
OperationCallable<UpdateLbTrafficExtensionRequest,LbTrafficExtension,OperationMetadata> |