@Generated(value="by gapic-generator-java") public class HttpJsonContentServiceStub extends ContentServiceStub
This class is for advanced usage and reflects the underlying API directly.
| Modifier | Constructor and Description |
|---|---|
protected |
HttpJsonContentServiceStub(ContentServiceStubSettings settings,
com.google.api.gax.rpc.ClientContext clientContext)
Constructs an instance of HttpJsonContentServiceStub, using the given settings.
|
protected |
HttpJsonContentServiceStub(ContentServiceStubSettings settings,
com.google.api.gax.rpc.ClientContext clientContext,
com.google.api.gax.httpjson.HttpJsonStubCallableFactory callableFactory)
Constructs an instance of HttpJsonContentServiceStub, using the given settings.
|
| Modifier and Type | Method and Description |
|---|---|
boolean |
awaitTermination(long duration,
TimeUnit unit) |
void |
close() |
static HttpJsonContentServiceStub |
create(com.google.api.gax.rpc.ClientContext clientContext) |
static HttpJsonContentServiceStub |
create(com.google.api.gax.rpc.ClientContext clientContext,
com.google.api.gax.httpjson.HttpJsonStubCallableFactory callableFactory) |
static HttpJsonContentServiceStub |
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() |
static List<com.google.api.gax.httpjson.ApiMethodDescriptor> |
getMethodDescriptors() |
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 HttpJsonContentServiceStub(ContentServiceStubSettings settings, com.google.api.gax.rpc.ClientContext clientContext) throws IOException
IOExceptionprotected HttpJsonContentServiceStub(ContentServiceStubSettings settings, com.google.api.gax.rpc.ClientContext clientContext, com.google.api.gax.httpjson.HttpJsonStubCallableFactory callableFactory) throws IOException
IOExceptionpublic static final HttpJsonContentServiceStub create(ContentServiceStubSettings settings) throws IOException
IOExceptionpublic static final HttpJsonContentServiceStub create(com.google.api.gax.rpc.ClientContext clientContext) throws IOException
IOExceptionpublic static final HttpJsonContentServiceStub create(com.google.api.gax.rpc.ClientContext clientContext, com.google.api.gax.httpjson.HttpJsonStubCallableFactory callableFactory) throws IOException
IOException@InternalApi public static List<com.google.api.gax.httpjson.ApiMethodDescriptor> getMethodDescriptors()
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 © 2024 Google LLC. All rights reserved.