Class GrpcAnalyticsHubServiceStub
- java.lang.Object
-
- com.google.cloud.bigquery.dataexchange.v1beta1.stub.AnalyticsHubServiceStub
-
- com.google.cloud.bigquery.dataexchange.v1beta1.stub.GrpcAnalyticsHubServiceStub
-
- All Implemented Interfaces:
com.google.api.gax.core.BackgroundResource
,AutoCloseable
@BetaApi @Generated("by gapic-generator-java") public class GrpcAnalyticsHubServiceStub extends AnalyticsHubServiceStub
gRPC stub implementation for the AnalyticsHubService service API.This class is for advanced usage and reflects the underlying API directly.
-
-
Constructor Summary
Constructors Modifier Constructor Description protected
GrpcAnalyticsHubServiceStub(AnalyticsHubServiceStubSettings settings, com.google.api.gax.rpc.ClientContext clientContext)
Constructs an instance of GrpcAnalyticsHubServiceStub, using the given settings.protected
GrpcAnalyticsHubServiceStub(AnalyticsHubServiceStubSettings settings, com.google.api.gax.rpc.ClientContext clientContext, com.google.api.gax.grpc.GrpcStubCallableFactory callableFactory)
Constructs an instance of GrpcAnalyticsHubServiceStub, 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 GrpcAnalyticsHubServiceStub
create(com.google.api.gax.rpc.ClientContext clientContext)
static GrpcAnalyticsHubServiceStub
create(com.google.api.gax.rpc.ClientContext clientContext, com.google.api.gax.grpc.GrpcStubCallableFactory callableFactory)
static GrpcAnalyticsHubServiceStub
create(AnalyticsHubServiceStubSettings settings)
com.google.api.gax.rpc.UnaryCallable<CreateDataExchangeRequest,DataExchange>
createDataExchangeCallable()
com.google.api.gax.rpc.UnaryCallable<CreateListingRequest,Listing>
createListingCallable()
com.google.api.gax.rpc.UnaryCallable<DeleteDataExchangeRequest,com.google.protobuf.Empty>
deleteDataExchangeCallable()
com.google.api.gax.rpc.UnaryCallable<DeleteListingRequest,com.google.protobuf.Empty>
deleteListingCallable()
com.google.api.gax.rpc.UnaryCallable<GetDataExchangeRequest,DataExchange>
getDataExchangeCallable()
com.google.api.gax.rpc.UnaryCallable<com.google.iam.v1.GetIamPolicyRequest,com.google.iam.v1.Policy>
getIamPolicyCallable()
com.google.api.gax.rpc.UnaryCallable<GetListingRequest,Listing>
getListingCallable()
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<ListDataExchangesRequest,ListDataExchangesResponse>
listDataExchangesCallable()
com.google.api.gax.rpc.UnaryCallable<ListDataExchangesRequest,AnalyticsHubServiceClient.ListDataExchangesPagedResponse>
listDataExchangesPagedCallable()
com.google.api.gax.rpc.UnaryCallable<ListListingsRequest,ListListingsResponse>
listListingsCallable()
com.google.api.gax.rpc.UnaryCallable<ListListingsRequest,AnalyticsHubServiceClient.ListListingsPagedResponse>
listListingsPagedCallable()
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,AnalyticsHubServiceClient.ListLocationsPagedResponse>
listLocationsPagedCallable()
com.google.api.gax.rpc.UnaryCallable<ListOrgDataExchangesRequest,ListOrgDataExchangesResponse>
listOrgDataExchangesCallable()
com.google.api.gax.rpc.UnaryCallable<ListOrgDataExchangesRequest,AnalyticsHubServiceClient.ListOrgDataExchangesPagedResponse>
listOrgDataExchangesPagedCallable()
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<SubscribeListingRequest,SubscribeListingResponse>
subscribeListingCallable()
com.google.api.gax.rpc.UnaryCallable<com.google.iam.v1.TestIamPermissionsRequest,com.google.iam.v1.TestIamPermissionsResponse>
testIamPermissionsCallable()
com.google.api.gax.rpc.UnaryCallable<UpdateDataExchangeRequest,DataExchange>
updateDataExchangeCallable()
com.google.api.gax.rpc.UnaryCallable<UpdateListingRequest,Listing>
updateListingCallable()
-
-
-
Constructor Detail
-
GrpcAnalyticsHubServiceStub
protected GrpcAnalyticsHubServiceStub(AnalyticsHubServiceStubSettings settings, com.google.api.gax.rpc.ClientContext clientContext) throws IOException
Constructs an instance of GrpcAnalyticsHubServiceStub, 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
-
GrpcAnalyticsHubServiceStub
protected GrpcAnalyticsHubServiceStub(AnalyticsHubServiceStubSettings settings, com.google.api.gax.rpc.ClientContext clientContext, com.google.api.gax.grpc.GrpcStubCallableFactory callableFactory) throws IOException
Constructs an instance of GrpcAnalyticsHubServiceStub, 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 GrpcAnalyticsHubServiceStub create(AnalyticsHubServiceStubSettings settings) throws IOException
- Throws:
IOException
-
create
public static final GrpcAnalyticsHubServiceStub create(com.google.api.gax.rpc.ClientContext clientContext) throws IOException
- Throws:
IOException
-
create
public static final GrpcAnalyticsHubServiceStub create(com.google.api.gax.rpc.ClientContext clientContext, com.google.api.gax.grpc.GrpcStubCallableFactory callableFactory) throws IOException
- Throws:
IOException
-
getOperationsStub
public com.google.longrunning.stub.GrpcOperationsStub getOperationsStub()
-
listDataExchangesCallable
public com.google.api.gax.rpc.UnaryCallable<ListDataExchangesRequest,ListDataExchangesResponse> listDataExchangesCallable()
- Overrides:
listDataExchangesCallable
in classAnalyticsHubServiceStub
-
listDataExchangesPagedCallable
public com.google.api.gax.rpc.UnaryCallable<ListDataExchangesRequest,AnalyticsHubServiceClient.ListDataExchangesPagedResponse> listDataExchangesPagedCallable()
- Overrides:
listDataExchangesPagedCallable
in classAnalyticsHubServiceStub
-
listOrgDataExchangesCallable
public com.google.api.gax.rpc.UnaryCallable<ListOrgDataExchangesRequest,ListOrgDataExchangesResponse> listOrgDataExchangesCallable()
- Overrides:
listOrgDataExchangesCallable
in classAnalyticsHubServiceStub
-
listOrgDataExchangesPagedCallable
public com.google.api.gax.rpc.UnaryCallable<ListOrgDataExchangesRequest,AnalyticsHubServiceClient.ListOrgDataExchangesPagedResponse> listOrgDataExchangesPagedCallable()
- Overrides:
listOrgDataExchangesPagedCallable
in classAnalyticsHubServiceStub
-
getDataExchangeCallable
public com.google.api.gax.rpc.UnaryCallable<GetDataExchangeRequest,DataExchange> getDataExchangeCallable()
- Overrides:
getDataExchangeCallable
in classAnalyticsHubServiceStub
-
createDataExchangeCallable
public com.google.api.gax.rpc.UnaryCallable<CreateDataExchangeRequest,DataExchange> createDataExchangeCallable()
- Overrides:
createDataExchangeCallable
in classAnalyticsHubServiceStub
-
updateDataExchangeCallable
public com.google.api.gax.rpc.UnaryCallable<UpdateDataExchangeRequest,DataExchange> updateDataExchangeCallable()
- Overrides:
updateDataExchangeCallable
in classAnalyticsHubServiceStub
-
deleteDataExchangeCallable
public com.google.api.gax.rpc.UnaryCallable<DeleteDataExchangeRequest,com.google.protobuf.Empty> deleteDataExchangeCallable()
- Overrides:
deleteDataExchangeCallable
in classAnalyticsHubServiceStub
-
listListingsCallable
public com.google.api.gax.rpc.UnaryCallable<ListListingsRequest,ListListingsResponse> listListingsCallable()
- Overrides:
listListingsCallable
in classAnalyticsHubServiceStub
-
listListingsPagedCallable
public com.google.api.gax.rpc.UnaryCallable<ListListingsRequest,AnalyticsHubServiceClient.ListListingsPagedResponse> listListingsPagedCallable()
- Overrides:
listListingsPagedCallable
in classAnalyticsHubServiceStub
-
getListingCallable
public com.google.api.gax.rpc.UnaryCallable<GetListingRequest,Listing> getListingCallable()
- Overrides:
getListingCallable
in classAnalyticsHubServiceStub
-
createListingCallable
public com.google.api.gax.rpc.UnaryCallable<CreateListingRequest,Listing> createListingCallable()
- Overrides:
createListingCallable
in classAnalyticsHubServiceStub
-
updateListingCallable
public com.google.api.gax.rpc.UnaryCallable<UpdateListingRequest,Listing> updateListingCallable()
- Overrides:
updateListingCallable
in classAnalyticsHubServiceStub
-
deleteListingCallable
public com.google.api.gax.rpc.UnaryCallable<DeleteListingRequest,com.google.protobuf.Empty> deleteListingCallable()
- Overrides:
deleteListingCallable
in classAnalyticsHubServiceStub
-
subscribeListingCallable
public com.google.api.gax.rpc.UnaryCallable<SubscribeListingRequest,SubscribeListingResponse> subscribeListingCallable()
- Overrides:
subscribeListingCallable
in classAnalyticsHubServiceStub
-
getIamPolicyCallable
public com.google.api.gax.rpc.UnaryCallable<com.google.iam.v1.GetIamPolicyRequest,com.google.iam.v1.Policy> getIamPolicyCallable()
- Overrides:
getIamPolicyCallable
in classAnalyticsHubServiceStub
-
setIamPolicyCallable
public com.google.api.gax.rpc.UnaryCallable<com.google.iam.v1.SetIamPolicyRequest,com.google.iam.v1.Policy> setIamPolicyCallable()
- Overrides:
setIamPolicyCallable
in classAnalyticsHubServiceStub
-
testIamPermissionsCallable
public com.google.api.gax.rpc.UnaryCallable<com.google.iam.v1.TestIamPermissionsRequest,com.google.iam.v1.TestIamPermissionsResponse> testIamPermissionsCallable()
- Overrides:
testIamPermissionsCallable
in classAnalyticsHubServiceStub
-
listLocationsCallable
public com.google.api.gax.rpc.UnaryCallable<com.google.cloud.location.ListLocationsRequest,com.google.cloud.location.ListLocationsResponse> listLocationsCallable()
- Overrides:
listLocationsCallable
in classAnalyticsHubServiceStub
-
listLocationsPagedCallable
public com.google.api.gax.rpc.UnaryCallable<com.google.cloud.location.ListLocationsRequest,AnalyticsHubServiceClient.ListLocationsPagedResponse> listLocationsPagedCallable()
- Overrides:
listLocationsPagedCallable
in classAnalyticsHubServiceStub
-
getLocationCallable
public com.google.api.gax.rpc.UnaryCallable<com.google.cloud.location.GetLocationRequest,com.google.cloud.location.Location> getLocationCallable()
- Overrides:
getLocationCallable
in classAnalyticsHubServiceStub
-
close
public final void close()
- Specified by:
close
in interfaceAutoCloseable
- Specified by:
close
in classAnalyticsHubServiceStub
-
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
-
-