Class HttpJsonEventarcStub (1.34.0)

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.

Inheritance

java.lang.Object > EventarcStub > HttpJsonEventarcStub

Static Methods

create(ClientContext clientContext)

public static final HttpJsonEventarcStub create(ClientContext clientContext)
Parameter
NameDescription
clientContextClientContext
Returns
TypeDescription
HttpJsonEventarcStub
Exceptions
TypeDescription
IOException

create(ClientContext clientContext, HttpJsonStubCallableFactory callableFactory)

public static final HttpJsonEventarcStub create(ClientContext clientContext, HttpJsonStubCallableFactory callableFactory)
Parameters
NameDescription
clientContextClientContext
callableFactoryHttpJsonStubCallableFactory
Returns
TypeDescription
HttpJsonEventarcStub
Exceptions
TypeDescription
IOException

create(EventarcStubSettings settings)

public static final HttpJsonEventarcStub create(EventarcStubSettings settings)
Parameter
NameDescription
settingsEventarcStubSettings
Returns
TypeDescription
HttpJsonEventarcStub
Exceptions
TypeDescription
IOException

getMethodDescriptors()

public static List<ApiMethodDescriptor> getMethodDescriptors()
Returns
TypeDescription
List<ApiMethodDescriptor>

Constructors

HttpJsonEventarcStub(EventarcStubSettings settings, ClientContext clientContext)

protected HttpJsonEventarcStub(EventarcStubSettings settings, ClientContext clientContext)

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.

Parameters
NameDescription
settingsEventarcStubSettings
clientContextClientContext

HttpJsonEventarcStub(EventarcStubSettings settings, ClientContext clientContext, HttpJsonStubCallableFactory callableFactory)

protected HttpJsonEventarcStub(EventarcStubSettings settings, ClientContext clientContext, HttpJsonStubCallableFactory callableFactory)

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.

Parameters
NameDescription
settingsEventarcStubSettings
clientContextClientContext
callableFactoryHttpJsonStubCallableFactory

Methods

awaitTermination(long duration, TimeUnit unit)

public boolean awaitTermination(long duration, TimeUnit unit)
Parameters
NameDescription
durationlong
unitTimeUnit
Returns
TypeDescription
boolean
Exceptions
TypeDescription
InterruptedException

close()

public final void close()
Overrides

createChannelCallable()

public UnaryCallable<CreateChannelRequest,Operation> createChannelCallable()
Returns
TypeDescription
UnaryCallable<CreateChannelRequest,Operation>
Overrides

createChannelConnectionCallable()

public UnaryCallable<CreateChannelConnectionRequest,Operation> createChannelConnectionCallable()
Returns
TypeDescription
UnaryCallable<CreateChannelConnectionRequest,Operation>
Overrides

createChannelConnectionOperationCallable()

public OperationCallable<CreateChannelConnectionRequest,ChannelConnection,OperationMetadata> createChannelConnectionOperationCallable()
Returns
TypeDescription
OperationCallable<CreateChannelConnectionRequest,ChannelConnection,OperationMetadata>
Overrides

createChannelOperationCallable()

public OperationCallable<CreateChannelRequest,Channel,OperationMetadata> createChannelOperationCallable()
Returns
TypeDescription
OperationCallable<CreateChannelRequest,Channel,OperationMetadata>
Overrides

createTriggerCallable()

public UnaryCallable<CreateTriggerRequest,Operation> createTriggerCallable()
Returns
TypeDescription
UnaryCallable<CreateTriggerRequest,Operation>
Overrides

createTriggerOperationCallable()

public OperationCallable<CreateTriggerRequest,Trigger,OperationMetadata> createTriggerOperationCallable()
Returns
TypeDescription
OperationCallable<CreateTriggerRequest,Trigger,OperationMetadata>
Overrides

deleteChannelCallable()

public UnaryCallable<DeleteChannelRequest,Operation> deleteChannelCallable()
Returns
TypeDescription
UnaryCallable<DeleteChannelRequest,Operation>
Overrides

deleteChannelConnectionCallable()

public UnaryCallable<DeleteChannelConnectionRequest,Operation> deleteChannelConnectionCallable()
Returns
TypeDescription
UnaryCallable<DeleteChannelConnectionRequest,Operation>
Overrides

deleteChannelConnectionOperationCallable()

public OperationCallable<DeleteChannelConnectionRequest,ChannelConnection,OperationMetadata> deleteChannelConnectionOperationCallable()
Returns
TypeDescription
OperationCallable<DeleteChannelConnectionRequest,ChannelConnection,OperationMetadata>
Overrides

deleteChannelOperationCallable()

public OperationCallable<DeleteChannelRequest,Channel,OperationMetadata> deleteChannelOperationCallable()
Returns
TypeDescription
OperationCallable<DeleteChannelRequest,Channel,OperationMetadata>
Overrides

deleteTriggerCallable()

public UnaryCallable<DeleteTriggerRequest,Operation> deleteTriggerCallable()
Returns
TypeDescription
UnaryCallable<DeleteTriggerRequest,Operation>
Overrides

deleteTriggerOperationCallable()

public OperationCallable<DeleteTriggerRequest,Trigger,OperationMetadata> deleteTriggerOperationCallable()
Returns
TypeDescription
OperationCallable<DeleteTriggerRequest,Trigger,OperationMetadata>
Overrides

getChannelCallable()

public UnaryCallable<GetChannelRequest,Channel> getChannelCallable()
Returns
TypeDescription
UnaryCallable<GetChannelRequest,Channel>
Overrides

getChannelConnectionCallable()

public UnaryCallable<GetChannelConnectionRequest,ChannelConnection> getChannelConnectionCallable()
Returns
TypeDescription
UnaryCallable<GetChannelConnectionRequest,ChannelConnection>
Overrides

getGoogleChannelConfigCallable()

public UnaryCallable<GetGoogleChannelConfigRequest,GoogleChannelConfig> getGoogleChannelConfigCallable()
Returns
TypeDescription
UnaryCallable<GetGoogleChannelConfigRequest,GoogleChannelConfig>
Overrides

getHttpJsonOperationsStub()

public HttpJsonOperationsStub getHttpJsonOperationsStub()
Returns
TypeDescription
HttpJsonOperationsStub
Overrides

getIamPolicyCallable()

public UnaryCallable<GetIamPolicyRequest,Policy> getIamPolicyCallable()
Returns
TypeDescription
UnaryCallable<com.google.iam.v1.GetIamPolicyRequest,com.google.iam.v1.Policy>
Overrides

getLocationCallable()

public UnaryCallable<GetLocationRequest,Location> getLocationCallable()
Returns
TypeDescription
UnaryCallable<com.google.cloud.location.GetLocationRequest,com.google.cloud.location.Location>
Overrides

getProviderCallable()

public UnaryCallable<GetProviderRequest,Provider> getProviderCallable()
Returns
TypeDescription
UnaryCallable<GetProviderRequest,Provider>
Overrides

getTriggerCallable()

public UnaryCallable<GetTriggerRequest,Trigger> getTriggerCallable()
Returns
TypeDescription
UnaryCallable<GetTriggerRequest,Trigger>
Overrides

isShutdown()

public boolean isShutdown()
Returns
TypeDescription
boolean

isTerminated()

public boolean isTerminated()
Returns
TypeDescription
boolean

listChannelConnectionsCallable()

public UnaryCallable<ListChannelConnectionsRequest,ListChannelConnectionsResponse> listChannelConnectionsCallable()
Returns
TypeDescription
UnaryCallable<ListChannelConnectionsRequest,ListChannelConnectionsResponse>
Overrides

listChannelConnectionsPagedCallable()

public UnaryCallable<ListChannelConnectionsRequest,EventarcClient.ListChannelConnectionsPagedResponse> listChannelConnectionsPagedCallable()
Returns
TypeDescription
UnaryCallable<ListChannelConnectionsRequest,ListChannelConnectionsPagedResponse>
Overrides

listChannelsCallable()

public UnaryCallable<ListChannelsRequest,ListChannelsResponse> listChannelsCallable()
Returns
TypeDescription
UnaryCallable<ListChannelsRequest,ListChannelsResponse>
Overrides

listChannelsPagedCallable()

public UnaryCallable<ListChannelsRequest,EventarcClient.ListChannelsPagedResponse> listChannelsPagedCallable()
Returns
TypeDescription
UnaryCallable<ListChannelsRequest,ListChannelsPagedResponse>
Overrides

listLocationsCallable()

public UnaryCallable<ListLocationsRequest,ListLocationsResponse> listLocationsCallable()
Returns
TypeDescription
UnaryCallable<com.google.cloud.location.ListLocationsRequest,com.google.cloud.location.ListLocationsResponse>
Overrides

listLocationsPagedCallable()

public UnaryCallable<ListLocationsRequest,EventarcClient.ListLocationsPagedResponse> listLocationsPagedCallable()
Returns
TypeDescription
UnaryCallable<com.google.cloud.location.ListLocationsRequest,ListLocationsPagedResponse>
Overrides

listProvidersCallable()

public UnaryCallable<ListProvidersRequest,ListProvidersResponse> listProvidersCallable()
Returns
TypeDescription
UnaryCallable<ListProvidersRequest,ListProvidersResponse>
Overrides

listProvidersPagedCallable()

public UnaryCallable<ListProvidersRequest,EventarcClient.ListProvidersPagedResponse> listProvidersPagedCallable()
Returns
TypeDescription
UnaryCallable<ListProvidersRequest,ListProvidersPagedResponse>
Overrides

listTriggersCallable()

public UnaryCallable<ListTriggersRequest,ListTriggersResponse> listTriggersCallable()
Returns
TypeDescription
UnaryCallable<ListTriggersRequest,ListTriggersResponse>
Overrides

listTriggersPagedCallable()

public UnaryCallable<ListTriggersRequest,EventarcClient.ListTriggersPagedResponse> listTriggersPagedCallable()
Returns
TypeDescription
UnaryCallable<ListTriggersRequest,ListTriggersPagedResponse>
Overrides

setIamPolicyCallable()

public UnaryCallable<SetIamPolicyRequest,Policy> setIamPolicyCallable()
Returns
TypeDescription
UnaryCallable<com.google.iam.v1.SetIamPolicyRequest,com.google.iam.v1.Policy>
Overrides

shutdown()

public void shutdown()

shutdownNow()

public void shutdownNow()

testIamPermissionsCallable()

public UnaryCallable<TestIamPermissionsRequest,TestIamPermissionsResponse> testIamPermissionsCallable()
Returns
TypeDescription
UnaryCallable<com.google.iam.v1.TestIamPermissionsRequest,com.google.iam.v1.TestIamPermissionsResponse>
Overrides

updateChannelCallable()

public UnaryCallable<UpdateChannelRequest,Operation> updateChannelCallable()
Returns
TypeDescription
UnaryCallable<UpdateChannelRequest,Operation>
Overrides

updateChannelOperationCallable()

public OperationCallable<UpdateChannelRequest,Channel,OperationMetadata> updateChannelOperationCallable()
Returns
TypeDescription
OperationCallable<UpdateChannelRequest,Channel,OperationMetadata>
Overrides

updateGoogleChannelConfigCallable()

public UnaryCallable<UpdateGoogleChannelConfigRequest,GoogleChannelConfig> updateGoogleChannelConfigCallable()
Returns
TypeDescription
UnaryCallable<UpdateGoogleChannelConfigRequest,GoogleChannelConfig>
Overrides

updateTriggerCallable()

public UnaryCallable<UpdateTriggerRequest,Operation> updateTriggerCallable()
Returns
TypeDescription
UnaryCallable<UpdateTriggerRequest,Operation>
Overrides

updateTriggerOperationCallable()

public OperationCallable<UpdateTriggerRequest,Trigger,OperationMetadata> updateTriggerOperationCallable()
Returns
TypeDescription
OperationCallable<UpdateTriggerRequest,Trigger,OperationMetadata>
Overrides