@Generated(value="by gapic-generator-java") public class GrpcContentServiceStub extends ContentServiceStub
This class is for advanced usage and reflects the underlying API directly.
| Modifier | Constructor and Description |
|---|---|
protected |
GrpcContentServiceStub(ContentServiceStubSettings settings,
com.google.api.gax.rpc.ClientContext clientContext)
Constructs an instance of GrpcContentServiceStub, using the given settings.
|
protected |
GrpcContentServiceStub(ContentServiceStubSettings settings,
com.google.api.gax.rpc.ClientContext clientContext,
com.google.api.gax.grpc.GrpcStubCallableFactory callableFactory)
Constructs an instance of GrpcContentServiceStub, using the given settings.
|
| Modifier and Type | Method and Description |
|---|---|
boolean |
awaitTermination(long duration,
TimeUnit unit) |
void |
close() |
static GrpcContentServiceStub |
create(com.google.api.gax.rpc.ClientContext clientContext) |
static GrpcContentServiceStub |
create(com.google.api.gax.rpc.ClientContext clientContext,
com.google.api.gax.grpc.GrpcStubCallableFactory callableFactory) |
static GrpcContentServiceStub |
create(ContentServiceStubSettings settings) |
com.google.api.gax.rpc.UnaryCallable<CreateContentRequest,Content> |
createContentCallable() |
com.google.api.gax.rpc.UnaryCallable<DeleteContentRequest,com.google.protobuf.Empty> |
deleteContentCallable() |
com.google.api.gax.rpc.UnaryCallable<GetContentRequest,Content> |
getContentCallable() |
com.google.api.gax.rpc.UnaryCallable<com.google.iam.v1.GetIamPolicyRequest,com.google.iam.v1.Policy> |
getIamPolicyCallable() |
com.google.api.gax.rpc.UnaryCallable<com.google.cloud.location.GetLocationRequest,com.google.cloud.location.Location> |
getLocationCallable() |
com.google.longrunning.stub.GrpcOperationsStub |
getOperationsStub() |
boolean |
isShutdown() |
boolean |
isTerminated() |
com.google.api.gax.rpc.UnaryCallable<ListContentRequest,ListContentResponse> |
listContentCallable() |
com.google.api.gax.rpc.UnaryCallable<ListContentRequest,ContentServiceClient.ListContentPagedResponse> |
listContentPagedCallable() |
com.google.api.gax.rpc.UnaryCallable<com.google.cloud.location.ListLocationsRequest,com.google.cloud.location.ListLocationsResponse> |
listLocationsCallable() |
com.google.api.gax.rpc.UnaryCallable<com.google.cloud.location.ListLocationsRequest,ContentServiceClient.ListLocationsPagedResponse> |
listLocationsPagedCallable() |
com.google.api.gax.rpc.UnaryCallable<com.google.iam.v1.SetIamPolicyRequest,com.google.iam.v1.Policy> |
setIamPolicyCallable() |
void |
shutdown() |
void |
shutdownNow() |
com.google.api.gax.rpc.UnaryCallable<com.google.iam.v1.TestIamPermissionsRequest,com.google.iam.v1.TestIamPermissionsResponse> |
testIamPermissionsCallable() |
com.google.api.gax.rpc.UnaryCallable<UpdateContentRequest,Content> |
updateContentCallable() |
protected GrpcContentServiceStub(ContentServiceStubSettings settings, com.google.api.gax.rpc.ClientContext clientContext) throws IOException
IOExceptionprotected GrpcContentServiceStub(ContentServiceStubSettings settings, com.google.api.gax.rpc.ClientContext clientContext, com.google.api.gax.grpc.GrpcStubCallableFactory callableFactory) throws IOException
IOExceptionpublic static final GrpcContentServiceStub create(ContentServiceStubSettings settings) throws IOException
IOExceptionpublic static final GrpcContentServiceStub create(com.google.api.gax.rpc.ClientContext clientContext) throws IOException
IOExceptionpublic static final GrpcContentServiceStub create(com.google.api.gax.rpc.ClientContext clientContext, com.google.api.gax.grpc.GrpcStubCallableFactory callableFactory) throws IOException
IOExceptionpublic com.google.longrunning.stub.GrpcOperationsStub getOperationsStub()
public com.google.api.gax.rpc.UnaryCallable<CreateContentRequest,Content> createContentCallable()
createContentCallable in class ContentServiceStubpublic com.google.api.gax.rpc.UnaryCallable<UpdateContentRequest,Content> updateContentCallable()
updateContentCallable in class ContentServiceStubpublic com.google.api.gax.rpc.UnaryCallable<DeleteContentRequest,com.google.protobuf.Empty> deleteContentCallable()
deleteContentCallable in class ContentServiceStubpublic com.google.api.gax.rpc.UnaryCallable<GetContentRequest,Content> getContentCallable()
getContentCallable in class ContentServiceStubpublic com.google.api.gax.rpc.UnaryCallable<com.google.iam.v1.GetIamPolicyRequest,com.google.iam.v1.Policy> getIamPolicyCallable()
getIamPolicyCallable in class ContentServiceStubpublic com.google.api.gax.rpc.UnaryCallable<com.google.iam.v1.SetIamPolicyRequest,com.google.iam.v1.Policy> setIamPolicyCallable()
setIamPolicyCallable in class ContentServiceStubpublic com.google.api.gax.rpc.UnaryCallable<com.google.iam.v1.TestIamPermissionsRequest,com.google.iam.v1.TestIamPermissionsResponse> testIamPermissionsCallable()
testIamPermissionsCallable in class ContentServiceStubpublic com.google.api.gax.rpc.UnaryCallable<ListContentRequest,ListContentResponse> listContentCallable()
listContentCallable in class ContentServiceStubpublic com.google.api.gax.rpc.UnaryCallable<ListContentRequest,ContentServiceClient.ListContentPagedResponse> listContentPagedCallable()
listContentPagedCallable in class ContentServiceStubpublic com.google.api.gax.rpc.UnaryCallable<com.google.cloud.location.ListLocationsRequest,com.google.cloud.location.ListLocationsResponse> listLocationsCallable()
listLocationsCallable in class ContentServiceStubpublic com.google.api.gax.rpc.UnaryCallable<com.google.cloud.location.ListLocationsRequest,ContentServiceClient.ListLocationsPagedResponse> listLocationsPagedCallable()
listLocationsPagedCallable in class ContentServiceStubpublic com.google.api.gax.rpc.UnaryCallable<com.google.cloud.location.GetLocationRequest,com.google.cloud.location.Location> getLocationCallable()
getLocationCallable in class ContentServiceStubpublic final void close()
close in interface AutoCloseableclose in class ContentServiceStubpublic void shutdown()
public boolean isShutdown()
public boolean isTerminated()
public void shutdownNow()
public boolean awaitTermination(long duration,
TimeUnit unit)
throws InterruptedException
InterruptedExceptionCopyright © 2023 Google LLC. All rights reserved.