Class HttpJsonEventarcStub
- java.lang.Object
-
- com.google.cloud.eventarc.v1.stub.EventarcStub
-
- com.google.cloud.eventarc.v1.stub.HttpJsonEventarcStub
-
- All Implemented Interfaces:
com.google.api.gax.core.BackgroundResource
,AutoCloseable
@Generated("by gapic-generator-java") @BetaApi public class HttpJsonEventarcStub extends EventarcStub
REST stub implementation for the Eventarc service API.This class is for advanced usage and reflects the underlying API directly.
-
-
Constructor Summary
Constructors Modifier Constructor Description protected
HttpJsonEventarcStub(EventarcStubSettings settings, com.google.api.gax.rpc.ClientContext clientContext)
Constructs an instance of HttpJsonEventarcStub, using the given settings.protected
HttpJsonEventarcStub(EventarcStubSettings settings, com.google.api.gax.rpc.ClientContext clientContext, com.google.api.gax.httpjson.HttpJsonStubCallableFactory callableFactory)
Constructs an instance of HttpJsonEventarcStub, 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 HttpJsonEventarcStub
create(com.google.api.gax.rpc.ClientContext clientContext)
static HttpJsonEventarcStub
create(com.google.api.gax.rpc.ClientContext clientContext, com.google.api.gax.httpjson.HttpJsonStubCallableFactory callableFactory)
static HttpJsonEventarcStub
create(EventarcStubSettings settings)
com.google.api.gax.rpc.UnaryCallable<CreateChannelRequest,com.google.longrunning.Operation>
createChannelCallable()
com.google.api.gax.rpc.UnaryCallable<CreateChannelConnectionRequest,com.google.longrunning.Operation>
createChannelConnectionCallable()
com.google.api.gax.rpc.OperationCallable<CreateChannelConnectionRequest,ChannelConnection,OperationMetadata>
createChannelConnectionOperationCallable()
com.google.api.gax.rpc.OperationCallable<CreateChannelRequest,Channel,OperationMetadata>
createChannelOperationCallable()
com.google.api.gax.rpc.UnaryCallable<CreateTriggerRequest,com.google.longrunning.Operation>
createTriggerCallable()
com.google.api.gax.rpc.OperationCallable<CreateTriggerRequest,Trigger,OperationMetadata>
createTriggerOperationCallable()
com.google.api.gax.rpc.UnaryCallable<DeleteChannelRequest,com.google.longrunning.Operation>
deleteChannelCallable()
com.google.api.gax.rpc.UnaryCallable<DeleteChannelConnectionRequest,com.google.longrunning.Operation>
deleteChannelConnectionCallable()
com.google.api.gax.rpc.OperationCallable<DeleteChannelConnectionRequest,ChannelConnection,OperationMetadata>
deleteChannelConnectionOperationCallable()
com.google.api.gax.rpc.OperationCallable<DeleteChannelRequest,Channel,OperationMetadata>
deleteChannelOperationCallable()
com.google.api.gax.rpc.UnaryCallable<DeleteTriggerRequest,com.google.longrunning.Operation>
deleteTriggerCallable()
com.google.api.gax.rpc.OperationCallable<DeleteTriggerRequest,Trigger,OperationMetadata>
deleteTriggerOperationCallable()
com.google.api.gax.rpc.UnaryCallable<GetChannelRequest,Channel>
getChannelCallable()
com.google.api.gax.rpc.UnaryCallable<GetChannelConnectionRequest,ChannelConnection>
getChannelConnectionCallable()
com.google.api.gax.rpc.UnaryCallable<GetGoogleChannelConfigRequest,GoogleChannelConfig>
getGoogleChannelConfigCallable()
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()
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()
com.google.api.gax.rpc.UnaryCallable<GetProviderRequest,Provider>
getProviderCallable()
com.google.api.gax.rpc.UnaryCallable<GetTriggerRequest,Trigger>
getTriggerCallable()
boolean
isShutdown()
boolean
isTerminated()
com.google.api.gax.rpc.UnaryCallable<ListChannelConnectionsRequest,ListChannelConnectionsResponse>
listChannelConnectionsCallable()
com.google.api.gax.rpc.UnaryCallable<ListChannelConnectionsRequest,EventarcClient.ListChannelConnectionsPagedResponse>
listChannelConnectionsPagedCallable()
com.google.api.gax.rpc.UnaryCallable<ListChannelsRequest,ListChannelsResponse>
listChannelsCallable()
com.google.api.gax.rpc.UnaryCallable<ListChannelsRequest,EventarcClient.ListChannelsPagedResponse>
listChannelsPagedCallable()
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,EventarcClient.ListLocationsPagedResponse>
listLocationsPagedCallable()
com.google.api.gax.rpc.UnaryCallable<ListProvidersRequest,ListProvidersResponse>
listProvidersCallable()
com.google.api.gax.rpc.UnaryCallable<ListProvidersRequest,EventarcClient.ListProvidersPagedResponse>
listProvidersPagedCallable()
com.google.api.gax.rpc.UnaryCallable<ListTriggersRequest,ListTriggersResponse>
listTriggersCallable()
com.google.api.gax.rpc.UnaryCallable<ListTriggersRequest,EventarcClient.ListTriggersPagedResponse>
listTriggersPagedCallable()
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<UpdateChannelRequest,com.google.longrunning.Operation>
updateChannelCallable()
com.google.api.gax.rpc.OperationCallable<UpdateChannelRequest,Channel,OperationMetadata>
updateChannelOperationCallable()
com.google.api.gax.rpc.UnaryCallable<UpdateGoogleChannelConfigRequest,GoogleChannelConfig>
updateGoogleChannelConfigCallable()
com.google.api.gax.rpc.UnaryCallable<UpdateTriggerRequest,com.google.longrunning.Operation>
updateTriggerCallable()
com.google.api.gax.rpc.OperationCallable<UpdateTriggerRequest,Trigger,OperationMetadata>
updateTriggerOperationCallable()
-
Methods inherited from class com.google.cloud.eventarc.v1.stub.EventarcStub
getOperationsStub
-
-
-
-
Constructor Detail
-
HttpJsonEventarcStub
protected HttpJsonEventarcStub(EventarcStubSettings settings, com.google.api.gax.rpc.ClientContext clientContext) throws IOException
Constructs an instance of HttpJsonEventarcStub, 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
-
HttpJsonEventarcStub
protected HttpJsonEventarcStub(EventarcStubSettings settings, com.google.api.gax.rpc.ClientContext clientContext, com.google.api.gax.httpjson.HttpJsonStubCallableFactory callableFactory) throws IOException
Constructs an instance of HttpJsonEventarcStub, 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 HttpJsonEventarcStub create(EventarcStubSettings settings) throws IOException
- Throws:
IOException
-
create
public static final HttpJsonEventarcStub create(com.google.api.gax.rpc.ClientContext clientContext) throws IOException
- Throws:
IOException
-
create
public static final HttpJsonEventarcStub 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 classEventarcStub
-
getTriggerCallable
public com.google.api.gax.rpc.UnaryCallable<GetTriggerRequest,Trigger> getTriggerCallable()
- Overrides:
getTriggerCallable
in classEventarcStub
-
listTriggersCallable
public com.google.api.gax.rpc.UnaryCallable<ListTriggersRequest,ListTriggersResponse> listTriggersCallable()
- Overrides:
listTriggersCallable
in classEventarcStub
-
listTriggersPagedCallable
public com.google.api.gax.rpc.UnaryCallable<ListTriggersRequest,EventarcClient.ListTriggersPagedResponse> listTriggersPagedCallable()
- Overrides:
listTriggersPagedCallable
in classEventarcStub
-
createTriggerCallable
public com.google.api.gax.rpc.UnaryCallable<CreateTriggerRequest,com.google.longrunning.Operation> createTriggerCallable()
- Overrides:
createTriggerCallable
in classEventarcStub
-
createTriggerOperationCallable
public com.google.api.gax.rpc.OperationCallable<CreateTriggerRequest,Trigger,OperationMetadata> createTriggerOperationCallable()
- Overrides:
createTriggerOperationCallable
in classEventarcStub
-
updateTriggerCallable
public com.google.api.gax.rpc.UnaryCallable<UpdateTriggerRequest,com.google.longrunning.Operation> updateTriggerCallable()
- Overrides:
updateTriggerCallable
in classEventarcStub
-
updateTriggerOperationCallable
public com.google.api.gax.rpc.OperationCallable<UpdateTriggerRequest,Trigger,OperationMetadata> updateTriggerOperationCallable()
- Overrides:
updateTriggerOperationCallable
in classEventarcStub
-
deleteTriggerCallable
public com.google.api.gax.rpc.UnaryCallable<DeleteTriggerRequest,com.google.longrunning.Operation> deleteTriggerCallable()
- Overrides:
deleteTriggerCallable
in classEventarcStub
-
deleteTriggerOperationCallable
public com.google.api.gax.rpc.OperationCallable<DeleteTriggerRequest,Trigger,OperationMetadata> deleteTriggerOperationCallable()
- Overrides:
deleteTriggerOperationCallable
in classEventarcStub
-
getChannelCallable
public com.google.api.gax.rpc.UnaryCallable<GetChannelRequest,Channel> getChannelCallable()
- Overrides:
getChannelCallable
in classEventarcStub
-
listChannelsCallable
public com.google.api.gax.rpc.UnaryCallable<ListChannelsRequest,ListChannelsResponse> listChannelsCallable()
- Overrides:
listChannelsCallable
in classEventarcStub
-
listChannelsPagedCallable
public com.google.api.gax.rpc.UnaryCallable<ListChannelsRequest,EventarcClient.ListChannelsPagedResponse> listChannelsPagedCallable()
- Overrides:
listChannelsPagedCallable
in classEventarcStub
-
createChannelCallable
public com.google.api.gax.rpc.UnaryCallable<CreateChannelRequest,com.google.longrunning.Operation> createChannelCallable()
- Overrides:
createChannelCallable
in classEventarcStub
-
createChannelOperationCallable
public com.google.api.gax.rpc.OperationCallable<CreateChannelRequest,Channel,OperationMetadata> createChannelOperationCallable()
- Overrides:
createChannelOperationCallable
in classEventarcStub
-
updateChannelCallable
public com.google.api.gax.rpc.UnaryCallable<UpdateChannelRequest,com.google.longrunning.Operation> updateChannelCallable()
- Overrides:
updateChannelCallable
in classEventarcStub
-
updateChannelOperationCallable
public com.google.api.gax.rpc.OperationCallable<UpdateChannelRequest,Channel,OperationMetadata> updateChannelOperationCallable()
- Overrides:
updateChannelOperationCallable
in classEventarcStub
-
deleteChannelCallable
public com.google.api.gax.rpc.UnaryCallable<DeleteChannelRequest,com.google.longrunning.Operation> deleteChannelCallable()
- Overrides:
deleteChannelCallable
in classEventarcStub
-
deleteChannelOperationCallable
public com.google.api.gax.rpc.OperationCallable<DeleteChannelRequest,Channel,OperationMetadata> deleteChannelOperationCallable()
- Overrides:
deleteChannelOperationCallable
in classEventarcStub
-
getProviderCallable
public com.google.api.gax.rpc.UnaryCallable<GetProviderRequest,Provider> getProviderCallable()
- Overrides:
getProviderCallable
in classEventarcStub
-
listProvidersCallable
public com.google.api.gax.rpc.UnaryCallable<ListProvidersRequest,ListProvidersResponse> listProvidersCallable()
- Overrides:
listProvidersCallable
in classEventarcStub
-
listProvidersPagedCallable
public com.google.api.gax.rpc.UnaryCallable<ListProvidersRequest,EventarcClient.ListProvidersPagedResponse> listProvidersPagedCallable()
- Overrides:
listProvidersPagedCallable
in classEventarcStub
-
getChannelConnectionCallable
public com.google.api.gax.rpc.UnaryCallable<GetChannelConnectionRequest,ChannelConnection> getChannelConnectionCallable()
- Overrides:
getChannelConnectionCallable
in classEventarcStub
-
listChannelConnectionsCallable
public com.google.api.gax.rpc.UnaryCallable<ListChannelConnectionsRequest,ListChannelConnectionsResponse> listChannelConnectionsCallable()
- Overrides:
listChannelConnectionsCallable
in classEventarcStub
-
listChannelConnectionsPagedCallable
public com.google.api.gax.rpc.UnaryCallable<ListChannelConnectionsRequest,EventarcClient.ListChannelConnectionsPagedResponse> listChannelConnectionsPagedCallable()
- Overrides:
listChannelConnectionsPagedCallable
in classEventarcStub
-
createChannelConnectionCallable
public com.google.api.gax.rpc.UnaryCallable<CreateChannelConnectionRequest,com.google.longrunning.Operation> createChannelConnectionCallable()
- Overrides:
createChannelConnectionCallable
in classEventarcStub
-
createChannelConnectionOperationCallable
public com.google.api.gax.rpc.OperationCallable<CreateChannelConnectionRequest,ChannelConnection,OperationMetadata> createChannelConnectionOperationCallable()
- Overrides:
createChannelConnectionOperationCallable
in classEventarcStub
-
deleteChannelConnectionCallable
public com.google.api.gax.rpc.UnaryCallable<DeleteChannelConnectionRequest,com.google.longrunning.Operation> deleteChannelConnectionCallable()
- Overrides:
deleteChannelConnectionCallable
in classEventarcStub
-
deleteChannelConnectionOperationCallable
public com.google.api.gax.rpc.OperationCallable<DeleteChannelConnectionRequest,ChannelConnection,OperationMetadata> deleteChannelConnectionOperationCallable()
- Overrides:
deleteChannelConnectionOperationCallable
in classEventarcStub
-
getGoogleChannelConfigCallable
public com.google.api.gax.rpc.UnaryCallable<GetGoogleChannelConfigRequest,GoogleChannelConfig> getGoogleChannelConfigCallable()
- Overrides:
getGoogleChannelConfigCallable
in classEventarcStub
-
updateGoogleChannelConfigCallable
public com.google.api.gax.rpc.UnaryCallable<UpdateGoogleChannelConfigRequest,GoogleChannelConfig> updateGoogleChannelConfigCallable()
- Overrides:
updateGoogleChannelConfigCallable
in classEventarcStub
-
listLocationsCallable
public com.google.api.gax.rpc.UnaryCallable<com.google.cloud.location.ListLocationsRequest,com.google.cloud.location.ListLocationsResponse> listLocationsCallable()
- Overrides:
listLocationsCallable
in classEventarcStub
-
listLocationsPagedCallable
public com.google.api.gax.rpc.UnaryCallable<com.google.cloud.location.ListLocationsRequest,EventarcClient.ListLocationsPagedResponse> listLocationsPagedCallable()
- Overrides:
listLocationsPagedCallable
in classEventarcStub
-
getLocationCallable
public com.google.api.gax.rpc.UnaryCallable<com.google.cloud.location.GetLocationRequest,com.google.cloud.location.Location> getLocationCallable()
- Overrides:
getLocationCallable
in classEventarcStub
-
setIamPolicyCallable
public com.google.api.gax.rpc.UnaryCallable<com.google.iam.v1.SetIamPolicyRequest,com.google.iam.v1.Policy> setIamPolicyCallable()
- Overrides:
setIamPolicyCallable
in classEventarcStub
-
getIamPolicyCallable
public com.google.api.gax.rpc.UnaryCallable<com.google.iam.v1.GetIamPolicyRequest,com.google.iam.v1.Policy> getIamPolicyCallable()
- Overrides:
getIamPolicyCallable
in classEventarcStub
-
testIamPermissionsCallable
public com.google.api.gax.rpc.UnaryCallable<com.google.iam.v1.TestIamPermissionsRequest,com.google.iam.v1.TestIamPermissionsResponse> testIamPermissionsCallable()
- Overrides:
testIamPermissionsCallable
in classEventarcStub
-
close
public final void close()
- Specified by:
close
in interfaceAutoCloseable
- Specified by:
close
in classEventarcStub
-
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
-
-