@Generated(value="by gapic-generator") @BetaApi(value="A restructuring of stub classes is planned, so this may break in the future") public class GrpcPhishingProtectionServiceV1Beta1Stub extends PhishingProtectionServiceV1Beta1Stub
This class is for advanced usage and reflects the underlying API directly.
Modifier | Constructor and Description |
---|---|
protected |
GrpcPhishingProtectionServiceV1Beta1Stub(PhishingProtectionServiceV1Beta1StubSettings settings,
com.google.api.gax.rpc.ClientContext clientContext)
Constructs an instance of GrpcPhishingProtectionServiceV1Beta1Stub, using the given settings.
|
protected |
GrpcPhishingProtectionServiceV1Beta1Stub(PhishingProtectionServiceV1Beta1StubSettings settings,
com.google.api.gax.rpc.ClientContext clientContext,
com.google.api.gax.grpc.GrpcStubCallableFactory callableFactory)
Constructs an instance of GrpcPhishingProtectionServiceV1Beta1Stub, using the given settings.
|
Modifier and Type | Method and Description |
---|---|
boolean |
awaitTermination(long duration,
TimeUnit unit) |
void |
close() |
static GrpcPhishingProtectionServiceV1Beta1Stub |
create(com.google.api.gax.rpc.ClientContext clientContext) |
static GrpcPhishingProtectionServiceV1Beta1Stub |
create(com.google.api.gax.rpc.ClientContext clientContext,
com.google.api.gax.grpc.GrpcStubCallableFactory callableFactory) |
static GrpcPhishingProtectionServiceV1Beta1Stub |
create(PhishingProtectionServiceV1Beta1StubSettings settings) |
boolean |
isShutdown() |
boolean |
isTerminated() |
com.google.api.gax.rpc.UnaryCallable<ReportPhishingRequest,ReportPhishingResponse> |
reportPhishingCallable() |
void |
shutdown() |
void |
shutdownNow() |
protected GrpcPhishingProtectionServiceV1Beta1Stub(PhishingProtectionServiceV1Beta1StubSettings settings, com.google.api.gax.rpc.ClientContext clientContext) throws IOException
IOException
protected GrpcPhishingProtectionServiceV1Beta1Stub(PhishingProtectionServiceV1Beta1StubSettings settings, com.google.api.gax.rpc.ClientContext clientContext, com.google.api.gax.grpc.GrpcStubCallableFactory callableFactory) throws IOException
IOException
public static final GrpcPhishingProtectionServiceV1Beta1Stub create(PhishingProtectionServiceV1Beta1StubSettings settings) throws IOException
IOException
public static final GrpcPhishingProtectionServiceV1Beta1Stub create(com.google.api.gax.rpc.ClientContext clientContext) throws IOException
IOException
public static final GrpcPhishingProtectionServiceV1Beta1Stub create(com.google.api.gax.rpc.ClientContext clientContext, com.google.api.gax.grpc.GrpcStubCallableFactory callableFactory) throws IOException
IOException
public com.google.api.gax.rpc.UnaryCallable<ReportPhishingRequest,ReportPhishingResponse> reportPhishingCallable()
reportPhishingCallable
in class PhishingProtectionServiceV1Beta1Stub
public final void close()
close
in interface AutoCloseable
close
in class PhishingProtectionServiceV1Beta1Stub
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.