Class EventarcSettings.Builder (1.5.0)

public static class EventarcSettings.Builder extends ClientSettings.Builder<EventarcSettings,EventarcSettings.Builder>

Builder for EventarcSettings.

Inheritance

java.lang.Object > ClientSettings.Builder > EventarcSettings.Builder

Constructors

Builder()

protected Builder()

Builder(ClientContext clientContext)

protected Builder(ClientContext clientContext)
Parameter
NameDescription
clientContextClientContext

Builder(EventarcSettings settings)

protected Builder(EventarcSettings settings)
Parameter
NameDescription
settingsEventarcSettings

Builder(EventarcStubSettings.Builder stubSettings)

protected Builder(EventarcStubSettings.Builder stubSettings)
Parameter
NameDescription
stubSettingsEventarcStubSettings.Builder

Methods

applyToAllUnaryMethods(ApiFunction<UnaryCallSettings.Builder<?,?>,Void> settingsUpdater)

public EventarcSettings.Builder applyToAllUnaryMethods(ApiFunction<UnaryCallSettings.Builder<?,?>,Void> settingsUpdater)

Applies the given settings updater function to all of the unary API methods in this service.

Note: This method does not support applying settings to streaming methods.

Parameter
NameDescription
settingsUpdaterApiFunction<Builder<?,?>,java.lang.Void>
Returns
TypeDescription
EventarcSettings.Builder

build()

public EventarcSettings build()
Returns
TypeDescription
EventarcSettings
Overrides Exceptions
TypeDescription
IOException

createChannelConnectionOperationSettings()

public OperationCallSettings.Builder<CreateChannelConnectionRequest,ChannelConnection,OperationMetadata> createChannelConnectionOperationSettings()

Returns the builder for the settings used for calls to createChannelConnection.

Returns
TypeDescription
Builder<CreateChannelConnectionRequest,ChannelConnection,OperationMetadata>

createChannelConnectionSettings()

public UnaryCallSettings.Builder<CreateChannelConnectionRequest,Operation> createChannelConnectionSettings()

Returns the builder for the settings used for calls to createChannelConnection.

Returns
TypeDescription
Builder<CreateChannelConnectionRequest,Operation>

createChannelOperationSettings()

public OperationCallSettings.Builder<CreateChannelRequest,Channel,OperationMetadata> createChannelOperationSettings()

Returns the builder for the settings used for calls to createChannel.

Returns
TypeDescription
Builder<CreateChannelRequest,Channel,OperationMetadata>

createChannelSettings()

public UnaryCallSettings.Builder<CreateChannelRequest,Operation> createChannelSettings()

Returns the builder for the settings used for calls to createChannel.

Returns
TypeDescription
Builder<CreateChannelRequest,Operation>

createTriggerOperationSettings()

public OperationCallSettings.Builder<CreateTriggerRequest,Trigger,OperationMetadata> createTriggerOperationSettings()

Returns the builder for the settings used for calls to createTrigger.

Returns
TypeDescription
Builder<CreateTriggerRequest,Trigger,OperationMetadata>

createTriggerSettings()

public UnaryCallSettings.Builder<CreateTriggerRequest,Operation> createTriggerSettings()

Returns the builder for the settings used for calls to createTrigger.

Returns
TypeDescription
Builder<CreateTriggerRequest,Operation>

deleteChannelConnectionOperationSettings()

public OperationCallSettings.Builder<DeleteChannelConnectionRequest,ChannelConnection,OperationMetadata> deleteChannelConnectionOperationSettings()

Returns the builder for the settings used for calls to deleteChannelConnection.

Returns
TypeDescription
Builder<DeleteChannelConnectionRequest,ChannelConnection,OperationMetadata>

deleteChannelConnectionSettings()

public UnaryCallSettings.Builder<DeleteChannelConnectionRequest,Operation> deleteChannelConnectionSettings()

Returns the builder for the settings used for calls to deleteChannelConnection.

Returns
TypeDescription
Builder<DeleteChannelConnectionRequest,Operation>

deleteChannelOperationSettings()

public OperationCallSettings.Builder<DeleteChannelRequest,Channel,OperationMetadata> deleteChannelOperationSettings()

Returns the builder for the settings used for calls to deleteChannel.

Returns
TypeDescription
Builder<DeleteChannelRequest,Channel,OperationMetadata>

deleteChannelSettings()

public UnaryCallSettings.Builder<DeleteChannelRequest,Operation> deleteChannelSettings()

Returns the builder for the settings used for calls to deleteChannel.

Returns
TypeDescription
Builder<DeleteChannelRequest,Operation>

deleteTriggerOperationSettings()

public OperationCallSettings.Builder<DeleteTriggerRequest,Trigger,OperationMetadata> deleteTriggerOperationSettings()

Returns the builder for the settings used for calls to deleteTrigger.

Returns
TypeDescription
Builder<DeleteTriggerRequest,Trigger,OperationMetadata>

deleteTriggerSettings()

public UnaryCallSettings.Builder<DeleteTriggerRequest,Operation> deleteTriggerSettings()

Returns the builder for the settings used for calls to deleteTrigger.

Returns
TypeDescription
Builder<DeleteTriggerRequest,Operation>

getChannelConnectionSettings()

public UnaryCallSettings.Builder<GetChannelConnectionRequest,ChannelConnection> getChannelConnectionSettings()

Returns the builder for the settings used for calls to getChannelConnection.

Returns
TypeDescription
Builder<GetChannelConnectionRequest,ChannelConnection>

getChannelSettings()

public UnaryCallSettings.Builder<GetChannelRequest,Channel> getChannelSettings()

Returns the builder for the settings used for calls to getChannel.

Returns
TypeDescription
Builder<GetChannelRequest,Channel>

getProviderSettings()

public UnaryCallSettings.Builder<GetProviderRequest,Provider> getProviderSettings()

Returns the builder for the settings used for calls to getProvider.

Returns
TypeDescription
Builder<GetProviderRequest,Provider>

getStubSettingsBuilder()

public EventarcStubSettings.Builder getStubSettingsBuilder()
Returns
TypeDescription
EventarcStubSettings.Builder

getTriggerSettings()

public UnaryCallSettings.Builder<GetTriggerRequest,Trigger> getTriggerSettings()

Returns the builder for the settings used for calls to getTrigger.

Returns
TypeDescription
Builder<GetTriggerRequest,Trigger>

listChannelConnectionsSettings()

public PagedCallSettings.Builder<ListChannelConnectionsRequest,ListChannelConnectionsResponse,EventarcClient.ListChannelConnectionsPagedResponse> listChannelConnectionsSettings()

Returns the builder for the settings used for calls to listChannelConnections.

Returns
TypeDescription
Builder<ListChannelConnectionsRequest,ListChannelConnectionsResponse,ListChannelConnectionsPagedResponse>

listChannelsSettings()

public PagedCallSettings.Builder<ListChannelsRequest,ListChannelsResponse,EventarcClient.ListChannelsPagedResponse> listChannelsSettings()

Returns the builder for the settings used for calls to listChannels.

Returns
TypeDescription
Builder<ListChannelsRequest,ListChannelsResponse,ListChannelsPagedResponse>

listProvidersSettings()

public PagedCallSettings.Builder<ListProvidersRequest,ListProvidersResponse,EventarcClient.ListProvidersPagedResponse> listProvidersSettings()

Returns the builder for the settings used for calls to listProviders.

Returns
TypeDescription
Builder<ListProvidersRequest,ListProvidersResponse,ListProvidersPagedResponse>

listTriggersSettings()

public PagedCallSettings.Builder<ListTriggersRequest,ListTriggersResponse,EventarcClient.ListTriggersPagedResponse> listTriggersSettings()

Returns the builder for the settings used for calls to listTriggers.

Returns
TypeDescription
Builder<ListTriggersRequest,ListTriggersResponse,ListTriggersPagedResponse>

updateChannelOperationSettings()

public OperationCallSettings.Builder<UpdateChannelRequest,Channel,OperationMetadata> updateChannelOperationSettings()

Returns the builder for the settings used for calls to updateChannel.

Returns
TypeDescription
Builder<UpdateChannelRequest,Channel,OperationMetadata>

updateChannelSettings()

public UnaryCallSettings.Builder<UpdateChannelRequest,Operation> updateChannelSettings()

Returns the builder for the settings used for calls to updateChannel.

Returns
TypeDescription
Builder<UpdateChannelRequest,Operation>

updateTriggerOperationSettings()

public OperationCallSettings.Builder<UpdateTriggerRequest,Trigger,OperationMetadata> updateTriggerOperationSettings()

Returns the builder for the settings used for calls to updateTrigger.

Returns
TypeDescription
Builder<UpdateTriggerRequest,Trigger,OperationMetadata>

updateTriggerSettings()

public UnaryCallSettings.Builder<UpdateTriggerRequest,Operation> updateTriggerSettings()

Returns the builder for the settings used for calls to updateTrigger.

Returns
TypeDescription
Builder<UpdateTriggerRequest,Operation>