Class HttpJsonServiceManagerStub
- java.lang.Object
-
- com.google.cloud.api.servicemanagement.v1.stub.ServiceManagerStub
-
- com.google.cloud.api.servicemanagement.v1.stub.HttpJsonServiceManagerStub
-
- All Implemented Interfaces:
com.google.api.gax.core.BackgroundResource
,AutoCloseable
@Generated("by gapic-generator-java") @BetaApi public class HttpJsonServiceManagerStub extends ServiceManagerStub
REST stub implementation for the ServiceManager service API.This class is for advanced usage and reflects the underlying API directly.
-
-
Constructor Summary
Constructors Modifier Constructor Description protected
HttpJsonServiceManagerStub(ServiceManagerStubSettings settings, com.google.api.gax.rpc.ClientContext clientContext)
Constructs an instance of HttpJsonServiceManagerStub, using the given settings.protected
HttpJsonServiceManagerStub(ServiceManagerStubSettings settings, com.google.api.gax.rpc.ClientContext clientContext, com.google.api.gax.httpjson.HttpJsonStubCallableFactory callableFactory)
Constructs an instance of HttpJsonServiceManagerStub, using the given settings.
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description boolean
awaitTermination(long duration, TimeUnit unit)
void
close()
static HttpJsonServiceManagerStub
create(com.google.api.gax.rpc.ClientContext clientContext)
static HttpJsonServiceManagerStub
create(com.google.api.gax.rpc.ClientContext clientContext, com.google.api.gax.httpjson.HttpJsonStubCallableFactory callableFactory)
static HttpJsonServiceManagerStub
create(ServiceManagerStubSettings settings)
com.google.api.gax.rpc.UnaryCallable<CreateServiceRequest,com.google.longrunning.Operation>
createServiceCallable()
com.google.api.gax.rpc.UnaryCallable<CreateServiceConfigRequest,com.google.api.Service>
createServiceConfigCallable()
com.google.api.gax.rpc.OperationCallable<CreateServiceRequest,ManagedService,OperationMetadata>
createServiceOperationCallable()
com.google.api.gax.rpc.UnaryCallable<CreateServiceRolloutRequest,com.google.longrunning.Operation>
createServiceRolloutCallable()
com.google.api.gax.rpc.OperationCallable<CreateServiceRolloutRequest,Rollout,OperationMetadata>
createServiceRolloutOperationCallable()
com.google.api.gax.rpc.UnaryCallable<DeleteServiceRequest,com.google.longrunning.Operation>
deleteServiceCallable()
com.google.api.gax.rpc.OperationCallable<DeleteServiceRequest,com.google.protobuf.Empty,OperationMetadata>
deleteServiceOperationCallable()
com.google.api.gax.rpc.UnaryCallable<GenerateConfigReportRequest,GenerateConfigReportResponse>
generateConfigReportCallable()
com.google.api.gax.httpjson.longrunning.stub.HttpJsonOperationsStub
getHttpJsonOperationsStub()
com.google.api.gax.rpc.UnaryCallable<com.google.iam.v1.GetIamPolicyRequest,com.google.iam.v1.Policy>
getIamPolicyCallable()
static List<com.google.api.gax.httpjson.ApiMethodDescriptor>
getMethodDescriptors()
com.google.api.gax.rpc.UnaryCallable<GetServiceRequest,ManagedService>
getServiceCallable()
com.google.api.gax.rpc.UnaryCallable<GetServiceConfigRequest,com.google.api.Service>
getServiceConfigCallable()
com.google.api.gax.rpc.UnaryCallable<GetServiceRolloutRequest,Rollout>
getServiceRolloutCallable()
boolean
isShutdown()
boolean
isTerminated()
com.google.api.gax.rpc.UnaryCallable<ListServiceConfigsRequest,ListServiceConfigsResponse>
listServiceConfigsCallable()
com.google.api.gax.rpc.UnaryCallable<ListServiceConfigsRequest,ServiceManagerClient.ListServiceConfigsPagedResponse>
listServiceConfigsPagedCallable()
com.google.api.gax.rpc.UnaryCallable<ListServiceRolloutsRequest,ListServiceRolloutsResponse>
listServiceRolloutsCallable()
com.google.api.gax.rpc.UnaryCallable<ListServiceRolloutsRequest,ServiceManagerClient.ListServiceRolloutsPagedResponse>
listServiceRolloutsPagedCallable()
com.google.api.gax.rpc.UnaryCallable<ListServicesRequest,ListServicesResponse>
listServicesCallable()
com.google.api.gax.rpc.UnaryCallable<ListServicesRequest,ServiceManagerClient.ListServicesPagedResponse>
listServicesPagedCallable()
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<SubmitConfigSourceRequest,com.google.longrunning.Operation>
submitConfigSourceCallable()
com.google.api.gax.rpc.OperationCallable<SubmitConfigSourceRequest,SubmitConfigSourceResponse,OperationMetadata>
submitConfigSourceOperationCallable()
com.google.api.gax.rpc.UnaryCallable<com.google.iam.v1.TestIamPermissionsRequest,com.google.iam.v1.TestIamPermissionsResponse>
testIamPermissionsCallable()
com.google.api.gax.rpc.UnaryCallable<UndeleteServiceRequest,com.google.longrunning.Operation>
undeleteServiceCallable()
com.google.api.gax.rpc.OperationCallable<UndeleteServiceRequest,UndeleteServiceResponse,OperationMetadata>
undeleteServiceOperationCallable()
-
Methods inherited from class com.google.cloud.api.servicemanagement.v1.stub.ServiceManagerStub
getOperationsStub
-
-
-
-
Constructor Detail
-
HttpJsonServiceManagerStub
protected HttpJsonServiceManagerStub(ServiceManagerStubSettings settings, com.google.api.gax.rpc.ClientContext clientContext) throws IOException
Constructs an instance of HttpJsonServiceManagerStub, 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
-
HttpJsonServiceManagerStub
protected HttpJsonServiceManagerStub(ServiceManagerStubSettings settings, com.google.api.gax.rpc.ClientContext clientContext, com.google.api.gax.httpjson.HttpJsonStubCallableFactory callableFactory) throws IOException
Constructs an instance of HttpJsonServiceManagerStub, 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 HttpJsonServiceManagerStub create(ServiceManagerStubSettings settings) throws IOException
- Throws:
IOException
-
create
public static final HttpJsonServiceManagerStub create(com.google.api.gax.rpc.ClientContext clientContext) throws IOException
- Throws:
IOException
-
create
public static final HttpJsonServiceManagerStub 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()
-
getHttpJsonOperationsStub
public com.google.api.gax.httpjson.longrunning.stub.HttpJsonOperationsStub getHttpJsonOperationsStub()
- Overrides:
getHttpJsonOperationsStub
in classServiceManagerStub
-
listServicesCallable
public com.google.api.gax.rpc.UnaryCallable<ListServicesRequest,ListServicesResponse> listServicesCallable()
- Overrides:
listServicesCallable
in classServiceManagerStub
-
listServicesPagedCallable
public com.google.api.gax.rpc.UnaryCallable<ListServicesRequest,ServiceManagerClient.ListServicesPagedResponse> listServicesPagedCallable()
- Overrides:
listServicesPagedCallable
in classServiceManagerStub
-
getServiceCallable
public com.google.api.gax.rpc.UnaryCallable<GetServiceRequest,ManagedService> getServiceCallable()
- Overrides:
getServiceCallable
in classServiceManagerStub
-
createServiceCallable
public com.google.api.gax.rpc.UnaryCallable<CreateServiceRequest,com.google.longrunning.Operation> createServiceCallable()
- Overrides:
createServiceCallable
in classServiceManagerStub
-
createServiceOperationCallable
public com.google.api.gax.rpc.OperationCallable<CreateServiceRequest,ManagedService,OperationMetadata> createServiceOperationCallable()
- Overrides:
createServiceOperationCallable
in classServiceManagerStub
-
deleteServiceCallable
public com.google.api.gax.rpc.UnaryCallable<DeleteServiceRequest,com.google.longrunning.Operation> deleteServiceCallable()
- Overrides:
deleteServiceCallable
in classServiceManagerStub
-
deleteServiceOperationCallable
public com.google.api.gax.rpc.OperationCallable<DeleteServiceRequest,com.google.protobuf.Empty,OperationMetadata> deleteServiceOperationCallable()
- Overrides:
deleteServiceOperationCallable
in classServiceManagerStub
-
undeleteServiceCallable
public com.google.api.gax.rpc.UnaryCallable<UndeleteServiceRequest,com.google.longrunning.Operation> undeleteServiceCallable()
- Overrides:
undeleteServiceCallable
in classServiceManagerStub
-
undeleteServiceOperationCallable
public com.google.api.gax.rpc.OperationCallable<UndeleteServiceRequest,UndeleteServiceResponse,OperationMetadata> undeleteServiceOperationCallable()
- Overrides:
undeleteServiceOperationCallable
in classServiceManagerStub
-
listServiceConfigsCallable
public com.google.api.gax.rpc.UnaryCallable<ListServiceConfigsRequest,ListServiceConfigsResponse> listServiceConfigsCallable()
- Overrides:
listServiceConfigsCallable
in classServiceManagerStub
-
listServiceConfigsPagedCallable
public com.google.api.gax.rpc.UnaryCallable<ListServiceConfigsRequest,ServiceManagerClient.ListServiceConfigsPagedResponse> listServiceConfigsPagedCallable()
- Overrides:
listServiceConfigsPagedCallable
in classServiceManagerStub
-
getServiceConfigCallable
public com.google.api.gax.rpc.UnaryCallable<GetServiceConfigRequest,com.google.api.Service> getServiceConfigCallable()
- Overrides:
getServiceConfigCallable
in classServiceManagerStub
-
createServiceConfigCallable
public com.google.api.gax.rpc.UnaryCallable<CreateServiceConfigRequest,com.google.api.Service> createServiceConfigCallable()
- Overrides:
createServiceConfigCallable
in classServiceManagerStub
-
submitConfigSourceCallable
public com.google.api.gax.rpc.UnaryCallable<SubmitConfigSourceRequest,com.google.longrunning.Operation> submitConfigSourceCallable()
- Overrides:
submitConfigSourceCallable
in classServiceManagerStub
-
submitConfigSourceOperationCallable
public com.google.api.gax.rpc.OperationCallable<SubmitConfigSourceRequest,SubmitConfigSourceResponse,OperationMetadata> submitConfigSourceOperationCallable()
- Overrides:
submitConfigSourceOperationCallable
in classServiceManagerStub
-
listServiceRolloutsCallable
public com.google.api.gax.rpc.UnaryCallable<ListServiceRolloutsRequest,ListServiceRolloutsResponse> listServiceRolloutsCallable()
- Overrides:
listServiceRolloutsCallable
in classServiceManagerStub
-
listServiceRolloutsPagedCallable
public com.google.api.gax.rpc.UnaryCallable<ListServiceRolloutsRequest,ServiceManagerClient.ListServiceRolloutsPagedResponse> listServiceRolloutsPagedCallable()
- Overrides:
listServiceRolloutsPagedCallable
in classServiceManagerStub
-
getServiceRolloutCallable
public com.google.api.gax.rpc.UnaryCallable<GetServiceRolloutRequest,Rollout> getServiceRolloutCallable()
- Overrides:
getServiceRolloutCallable
in classServiceManagerStub
-
createServiceRolloutCallable
public com.google.api.gax.rpc.UnaryCallable<CreateServiceRolloutRequest,com.google.longrunning.Operation> createServiceRolloutCallable()
- Overrides:
createServiceRolloutCallable
in classServiceManagerStub
-
createServiceRolloutOperationCallable
public com.google.api.gax.rpc.OperationCallable<CreateServiceRolloutRequest,Rollout,OperationMetadata> createServiceRolloutOperationCallable()
- Overrides:
createServiceRolloutOperationCallable
in classServiceManagerStub
-
generateConfigReportCallable
public com.google.api.gax.rpc.UnaryCallable<GenerateConfigReportRequest,GenerateConfigReportResponse> generateConfigReportCallable()
- Overrides:
generateConfigReportCallable
in classServiceManagerStub
-
setIamPolicyCallable
public com.google.api.gax.rpc.UnaryCallable<com.google.iam.v1.SetIamPolicyRequest,com.google.iam.v1.Policy> setIamPolicyCallable()
- Overrides:
setIamPolicyCallable
in classServiceManagerStub
-
getIamPolicyCallable
public com.google.api.gax.rpc.UnaryCallable<com.google.iam.v1.GetIamPolicyRequest,com.google.iam.v1.Policy> getIamPolicyCallable()
- Overrides:
getIamPolicyCallable
in classServiceManagerStub
-
testIamPermissionsCallable
public com.google.api.gax.rpc.UnaryCallable<com.google.iam.v1.TestIamPermissionsRequest,com.google.iam.v1.TestIamPermissionsResponse> testIamPermissionsCallable()
- Overrides:
testIamPermissionsCallable
in classServiceManagerStub
-
close
public final void close()
- Specified by:
close
in interfaceAutoCloseable
- Specified by:
close
in classServiceManagerStub
-
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
-
-