@Generated(value="by gapic-generator") @BetaApi(value="A restructuring of stub classes is planned, so this may break in the future") public class HttpJsonFirewallStub extends FirewallStub
This class is for advanced usage and reflects the underlying API directly.
Modifier and Type | Field and Description |
---|---|
static com.google.api.gax.httpjson.ApiMethodDescriptor<DeleteFirewallHttpRequest,Operation> |
deleteFirewallMethodDescriptor |
static com.google.api.gax.httpjson.ApiMethodDescriptor<GetFirewallHttpRequest,Firewall> |
getFirewallMethodDescriptor |
static com.google.api.gax.httpjson.ApiMethodDescriptor<InsertFirewallHttpRequest,Operation> |
insertFirewallMethodDescriptor |
static com.google.api.gax.httpjson.ApiMethodDescriptor<ListFirewallsHttpRequest,FirewallList> |
listFirewallsMethodDescriptor |
static com.google.api.gax.httpjson.ApiMethodDescriptor<PatchFirewallHttpRequest,Operation> |
patchFirewallMethodDescriptor |
static com.google.api.gax.httpjson.ApiMethodDescriptor<UpdateFirewallHttpRequest,Operation> |
updateFirewallMethodDescriptor |
Modifier | Constructor and Description |
---|---|
protected |
HttpJsonFirewallStub(FirewallStubSettings settings,
com.google.api.gax.rpc.ClientContext clientContext)
Constructs an instance of HttpJsonFirewallStub, using the given settings.
|
protected |
HttpJsonFirewallStub(FirewallStubSettings settings,
com.google.api.gax.rpc.ClientContext clientContext,
com.google.api.gax.httpjson.HttpJsonStubCallableFactory callableFactory)
Constructs an instance of HttpJsonFirewallStub, using the given settings.
|
Modifier and Type | Method and Description |
---|---|
boolean |
awaitTermination(long duration,
TimeUnit unit) |
void |
close() |
static HttpJsonFirewallStub |
create(com.google.api.gax.rpc.ClientContext clientContext) |
static HttpJsonFirewallStub |
create(com.google.api.gax.rpc.ClientContext clientContext,
com.google.api.gax.httpjson.HttpJsonStubCallableFactory callableFactory) |
static HttpJsonFirewallStub |
create(FirewallStubSettings settings) |
com.google.api.gax.rpc.UnaryCallable<DeleteFirewallHttpRequest,Operation> |
deleteFirewallCallable() |
com.google.api.gax.rpc.UnaryCallable<GetFirewallHttpRequest,Firewall> |
getFirewallCallable() |
com.google.api.gax.rpc.UnaryCallable<InsertFirewallHttpRequest,Operation> |
insertFirewallCallable() |
boolean |
isShutdown() |
boolean |
isTerminated() |
com.google.api.gax.rpc.UnaryCallable<ListFirewallsHttpRequest,FirewallList> |
listFirewallsCallable() |
com.google.api.gax.rpc.UnaryCallable<ListFirewallsHttpRequest,FirewallClient.ListFirewallsPagedResponse> |
listFirewallsPagedCallable() |
com.google.api.gax.rpc.UnaryCallable<PatchFirewallHttpRequest,Operation> |
patchFirewallCallable() |
void |
shutdown() |
void |
shutdownNow() |
com.google.api.gax.rpc.UnaryCallable<UpdateFirewallHttpRequest,Operation> |
updateFirewallCallable() |
@InternalApi public static final com.google.api.gax.httpjson.ApiMethodDescriptor<DeleteFirewallHttpRequest,Operation> deleteFirewallMethodDescriptor
@InternalApi public static final com.google.api.gax.httpjson.ApiMethodDescriptor<GetFirewallHttpRequest,Firewall> getFirewallMethodDescriptor
@InternalApi public static final com.google.api.gax.httpjson.ApiMethodDescriptor<InsertFirewallHttpRequest,Operation> insertFirewallMethodDescriptor
@InternalApi public static final com.google.api.gax.httpjson.ApiMethodDescriptor<ListFirewallsHttpRequest,FirewallList> listFirewallsMethodDescriptor
@InternalApi public static final com.google.api.gax.httpjson.ApiMethodDescriptor<PatchFirewallHttpRequest,Operation> patchFirewallMethodDescriptor
@InternalApi public static final com.google.api.gax.httpjson.ApiMethodDescriptor<UpdateFirewallHttpRequest,Operation> updateFirewallMethodDescriptor
protected HttpJsonFirewallStub(FirewallStubSettings settings, com.google.api.gax.rpc.ClientContext clientContext) throws IOException
IOException
protected HttpJsonFirewallStub(FirewallStubSettings settings, com.google.api.gax.rpc.ClientContext clientContext, com.google.api.gax.httpjson.HttpJsonStubCallableFactory callableFactory) throws IOException
IOException
public static final HttpJsonFirewallStub create(FirewallStubSettings settings) throws IOException
IOException
public static final HttpJsonFirewallStub create(com.google.api.gax.rpc.ClientContext clientContext) throws IOException
IOException
public static final HttpJsonFirewallStub create(com.google.api.gax.rpc.ClientContext clientContext, com.google.api.gax.httpjson.HttpJsonStubCallableFactory callableFactory) throws IOException
IOException
@BetaApi public com.google.api.gax.rpc.UnaryCallable<DeleteFirewallHttpRequest,Operation> deleteFirewallCallable()
deleteFirewallCallable
in class FirewallStub
@BetaApi public com.google.api.gax.rpc.UnaryCallable<GetFirewallHttpRequest,Firewall> getFirewallCallable()
getFirewallCallable
in class FirewallStub
@BetaApi public com.google.api.gax.rpc.UnaryCallable<InsertFirewallHttpRequest,Operation> insertFirewallCallable()
insertFirewallCallable
in class FirewallStub
@BetaApi public com.google.api.gax.rpc.UnaryCallable<ListFirewallsHttpRequest,FirewallClient.ListFirewallsPagedResponse> listFirewallsPagedCallable()
listFirewallsPagedCallable
in class FirewallStub
@BetaApi public com.google.api.gax.rpc.UnaryCallable<ListFirewallsHttpRequest,FirewallList> listFirewallsCallable()
listFirewallsCallable
in class FirewallStub
@BetaApi public com.google.api.gax.rpc.UnaryCallable<PatchFirewallHttpRequest,Operation> patchFirewallCallable()
patchFirewallCallable
in class FirewallStub
@BetaApi public com.google.api.gax.rpc.UnaryCallable<UpdateFirewallHttpRequest,Operation> updateFirewallCallable()
updateFirewallCallable
in class FirewallStub
public final void close()
close
in interface AutoCloseable
close
in class FirewallStub
public void shutdown()
public boolean isShutdown()
public boolean isTerminated()
public void shutdownNow()
public boolean awaitTermination(long duration, TimeUnit unit) throws InterruptedException
InterruptedException
Copyright © 2019 Google LLC. All rights reserved.