Class EventarcStubSettings.Builder (1.40.0)

public static class EventarcStubSettings.Builder extends StubSettings.Builder<EventarcStubSettings,EventarcStubSettings.Builder>

Builder for EventarcStubSettings.

Inheritance

java.lang.Object > StubSettings.Builder > EventarcStubSettings.Builder

Constructors

Builder()

protected Builder()

Builder(ClientContext clientContext)

protected Builder(ClientContext clientContext)
Parameter
NameDescription
clientContextClientContext

Builder(EventarcStubSettings settings)

protected Builder(EventarcStubSettings settings)
Parameter
NameDescription
settingsEventarcStubSettings

Methods

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

public EventarcStubSettings.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
EventarcStubSettings.Builder

build()

public EventarcStubSettings build()
Returns
TypeDescription
EventarcStubSettings
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>

getEndpoint()

public String getEndpoint()

Returns the endpoint set by the user or the the service's default endpoint.

Returns
TypeDescription
String
Overrides

getGoogleChannelConfigSettings()

public UnaryCallSettings.Builder<GetGoogleChannelConfigRequest,GoogleChannelConfig> getGoogleChannelConfigSettings()

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

Returns
TypeDescription
Builder<GetGoogleChannelConfigRequest,GoogleChannelConfig>

getIamPolicySettings()

public UnaryCallSettings.Builder<GetIamPolicyRequest,Policy> getIamPolicySettings()

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

Returns
TypeDescription
Builder<com.google.iam.v1.GetIamPolicyRequest,com.google.iam.v1.Policy>

getLocationSettings()

public UnaryCallSettings.Builder<GetLocationRequest,Location> getLocationSettings()

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

Returns
TypeDescription
Builder<com.google.cloud.location.GetLocationRequest,com.google.cloud.location.Location>

getProviderSettings()

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

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

Returns
TypeDescription
Builder<GetProviderRequest,Provider>

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>

listLocationsSettings()

public PagedCallSettings.Builder<ListLocationsRequest,ListLocationsResponse,EventarcClient.ListLocationsPagedResponse> listLocationsSettings()

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

Returns
TypeDescription
Builder<com.google.cloud.location.ListLocationsRequest,com.google.cloud.location.ListLocationsResponse,ListLocationsPagedResponse>

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>

setIamPolicySettings()

public UnaryCallSettings.Builder<SetIamPolicyRequest,Policy> setIamPolicySettings()

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

Returns
TypeDescription
Builder<com.google.iam.v1.SetIamPolicyRequest,com.google.iam.v1.Policy>

testIamPermissionsSettings()

public UnaryCallSettings.Builder<TestIamPermissionsRequest,TestIamPermissionsResponse> testIamPermissionsSettings()

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

Returns
TypeDescription
Builder<com.google.iam.v1.TestIamPermissionsRequest,com.google.iam.v1.TestIamPermissionsResponse>

unaryMethodSettingsBuilders()

public ImmutableList<UnaryCallSettings.Builder<?,?>> unaryMethodSettingsBuilders()
Returns
TypeDescription
com.google.common.collect.ImmutableList<Builder<?,?>>

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>

updateGoogleChannelConfigSettings()

public UnaryCallSettings.Builder<UpdateGoogleChannelConfigRequest,GoogleChannelConfig> updateGoogleChannelConfigSettings()

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

Returns
TypeDescription
Builder<UpdateGoogleChannelConfigRequest,GoogleChannelConfig>

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>