Package com.google.cloud.compute.v1.stub
Class HttpJsonGlobalPublicDelegatedPrefixesStub
- java.lang.Object
-
- com.google.cloud.compute.v1.stub.GlobalPublicDelegatedPrefixesStub
-
- com.google.cloud.compute.v1.stub.HttpJsonGlobalPublicDelegatedPrefixesStub
-
- All Implemented Interfaces:
com.google.api.gax.core.BackgroundResource
,AutoCloseable
@Generated("by gapic-generator-java") @BetaApi public class HttpJsonGlobalPublicDelegatedPrefixesStub extends GlobalPublicDelegatedPrefixesStub
REST stub implementation for the GlobalPublicDelegatedPrefixes service API.This class is for advanced usage and reflects the underlying API directly.
-
-
Constructor Summary
Constructors Modifier Constructor Description protected
HttpJsonGlobalPublicDelegatedPrefixesStub(GlobalPublicDelegatedPrefixesStubSettings settings, com.google.api.gax.rpc.ClientContext clientContext)
Constructs an instance of HttpJsonGlobalPublicDelegatedPrefixesStub, using the given settings.protected
HttpJsonGlobalPublicDelegatedPrefixesStub(GlobalPublicDelegatedPrefixesStubSettings settings, com.google.api.gax.rpc.ClientContext clientContext, com.google.api.gax.httpjson.HttpJsonStubCallableFactory callableFactory)
Constructs an instance of HttpJsonGlobalPublicDelegatedPrefixesStub, using the given settings.
-
Method Summary
-
-
-
Constructor Detail
-
HttpJsonGlobalPublicDelegatedPrefixesStub
protected HttpJsonGlobalPublicDelegatedPrefixesStub(GlobalPublicDelegatedPrefixesStubSettings settings, com.google.api.gax.rpc.ClientContext clientContext) throws IOException
Constructs an instance of HttpJsonGlobalPublicDelegatedPrefixesStub, 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.- Throws:
IOException
-
HttpJsonGlobalPublicDelegatedPrefixesStub
protected HttpJsonGlobalPublicDelegatedPrefixesStub(GlobalPublicDelegatedPrefixesStubSettings settings, com.google.api.gax.rpc.ClientContext clientContext, com.google.api.gax.httpjson.HttpJsonStubCallableFactory callableFactory) throws IOException
Constructs an instance of HttpJsonGlobalPublicDelegatedPrefixesStub, 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.- Throws:
IOException
-
-
Method Detail
-
create
public static final HttpJsonGlobalPublicDelegatedPrefixesStub create(GlobalPublicDelegatedPrefixesStubSettings settings) throws IOException
- Throws:
IOException
-
create
public static final HttpJsonGlobalPublicDelegatedPrefixesStub create(com.google.api.gax.rpc.ClientContext clientContext) throws IOException
- Throws:
IOException
-
create
public static final HttpJsonGlobalPublicDelegatedPrefixesStub create(com.google.api.gax.rpc.ClientContext clientContext, com.google.api.gax.httpjson.HttpJsonStubCallableFactory callableFactory) throws IOException
- Throws:
IOException
-
getMethodDescriptors
@InternalApi public static List<com.google.api.gax.httpjson.ApiMethodDescriptor> getMethodDescriptors()
-
deleteCallable
public com.google.api.gax.rpc.UnaryCallable<DeleteGlobalPublicDelegatedPrefixeRequest,Operation> deleteCallable()
- Overrides:
deleteCallable
in classGlobalPublicDelegatedPrefixesStub
-
deleteOperationCallable
public com.google.api.gax.rpc.OperationCallable<DeleteGlobalPublicDelegatedPrefixeRequest,Operation,Operation> deleteOperationCallable()
- Overrides:
deleteOperationCallable
in classGlobalPublicDelegatedPrefixesStub
-
getCallable
public com.google.api.gax.rpc.UnaryCallable<GetGlobalPublicDelegatedPrefixeRequest,PublicDelegatedPrefix> getCallable()
- Overrides:
getCallable
in classGlobalPublicDelegatedPrefixesStub
-
insertCallable
public com.google.api.gax.rpc.UnaryCallable<InsertGlobalPublicDelegatedPrefixeRequest,Operation> insertCallable()
- Overrides:
insertCallable
in classGlobalPublicDelegatedPrefixesStub
-
insertOperationCallable
public com.google.api.gax.rpc.OperationCallable<InsertGlobalPublicDelegatedPrefixeRequest,Operation,Operation> insertOperationCallable()
- Overrides:
insertOperationCallable
in classGlobalPublicDelegatedPrefixesStub
-
listCallable
public com.google.api.gax.rpc.UnaryCallable<ListGlobalPublicDelegatedPrefixesRequest,PublicDelegatedPrefixList> listCallable()
- Overrides:
listCallable
in classGlobalPublicDelegatedPrefixesStub
-
listPagedCallable
public com.google.api.gax.rpc.UnaryCallable<ListGlobalPublicDelegatedPrefixesRequest,GlobalPublicDelegatedPrefixesClient.ListPagedResponse> listPagedCallable()
- Overrides:
listPagedCallable
in classGlobalPublicDelegatedPrefixesStub
-
patchCallable
public com.google.api.gax.rpc.UnaryCallable<PatchGlobalPublicDelegatedPrefixeRequest,Operation> patchCallable()
- Overrides:
patchCallable
in classGlobalPublicDelegatedPrefixesStub
-
patchOperationCallable
public com.google.api.gax.rpc.OperationCallable<PatchGlobalPublicDelegatedPrefixeRequest,Operation,Operation> patchOperationCallable()
- Overrides:
patchOperationCallable
in classGlobalPublicDelegatedPrefixesStub
-
close
public final void close()
- Specified by:
close
in interfaceAutoCloseable
- Specified by:
close
in classGlobalPublicDelegatedPrefixesStub
-
shutdown
public void shutdown()
-
isShutdown
public boolean isShutdown()
-
isTerminated
public boolean isTerminated()
-
shutdownNow
public void shutdownNow()
-
awaitTermination
public boolean awaitTermination(long duration, TimeUnit unit) throws InterruptedException
- Throws:
InterruptedException
-
-