Package com.google.cloud.run.v2
Class ServicesSettings.Builder
- java.lang.Object
-
- com.google.api.gax.rpc.ClientSettings.Builder<ServicesSettings,ServicesSettings.Builder>
-
- com.google.cloud.run.v2.ServicesSettings.Builder
-
- Enclosing class:
- ServicesSettings
public static class ServicesSettings.Builder extends com.google.api.gax.rpc.ClientSettings.Builder<ServicesSettings,ServicesSettings.Builder>
Builder for ServicesSettings.
-
-
Constructor Summary
Constructors Modifier Constructor Description protected
Builder()
protected
Builder(com.google.api.gax.rpc.ClientContext clientContext)
protected
Builder(ServicesSettings settings)
protected
Builder(ServicesStubSettings.Builder stubSettings)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description ServicesSettings.Builder
applyToAllUnaryMethods(com.google.api.core.ApiFunction<com.google.api.gax.rpc.UnaryCallSettings.Builder<?,?>,Void> settingsUpdater)
Applies the given settings updater function to all of the unary API methods in this service.ServicesSettings
build()
com.google.api.gax.rpc.OperationCallSettings.Builder<CreateServiceRequest,Service,Service>
createServiceOperationSettings()
Returns the builder for the settings used for calls to createService.com.google.api.gax.rpc.UnaryCallSettings.Builder<CreateServiceRequest,com.google.longrunning.Operation>
createServiceSettings()
Returns the builder for the settings used for calls to createService.com.google.api.gax.rpc.OperationCallSettings.Builder<DeleteServiceRequest,Service,Service>
deleteServiceOperationSettings()
Returns the builder for the settings used for calls to deleteService.com.google.api.gax.rpc.UnaryCallSettings.Builder<DeleteServiceRequest,com.google.longrunning.Operation>
deleteServiceSettings()
Returns the builder for the settings used for calls to deleteService.com.google.api.gax.rpc.UnaryCallSettings.Builder<com.google.iam.v1.GetIamPolicyRequest,com.google.iam.v1.Policy>
getIamPolicySettings()
Returns the builder for the settings used for calls to getIamPolicy.com.google.api.gax.rpc.UnaryCallSettings.Builder<GetServiceRequest,Service>
getServiceSettings()
Returns the builder for the settings used for calls to getService.ServicesStubSettings.Builder
getStubSettingsBuilder()
com.google.api.gax.rpc.PagedCallSettings.Builder<ListServicesRequest,ListServicesResponse,ServicesClient.ListServicesPagedResponse>
listServicesSettings()
Returns the builder for the settings used for calls to listServices.com.google.api.gax.rpc.UnaryCallSettings.Builder<com.google.iam.v1.SetIamPolicyRequest,com.google.iam.v1.Policy>
setIamPolicySettings()
Returns the builder for the settings used for calls to setIamPolicy.com.google.api.gax.rpc.UnaryCallSettings.Builder<com.google.iam.v1.TestIamPermissionsRequest,com.google.iam.v1.TestIamPermissionsResponse>
testIamPermissionsSettings()
Returns the builder for the settings used for calls to testIamPermissions.com.google.api.gax.rpc.OperationCallSettings.Builder<UpdateServiceRequest,Service,Service>
updateServiceOperationSettings()
Returns the builder for the settings used for calls to updateService.com.google.api.gax.rpc.UnaryCallSettings.Builder<UpdateServiceRequest,com.google.longrunning.Operation>
updateServiceSettings()
Returns the builder for the settings used for calls to updateService.-
Methods inherited from class com.google.api.gax.rpc.ClientSettings.Builder
applyToAllUnaryMethods, getBackgroundExecutorProvider, getClock, getCredentialsProvider, getEndpoint, getExecutorProvider, getGdchApiAudience, getHeaderProvider, getInternalHeaderProvider, getQuotaProjectId, getStubSettings, getTransportChannelProvider, getWatchdogCheckInterval, getWatchdogProvider, self, setBackgroundExecutorProvider, setClock, setCredentialsProvider, setEndpoint, setExecutorProvider, setGdchApiAudience, setHeaderProvider, setInternalHeaderProvider, setQuotaProjectId, setTransportChannelProvider, setWatchdogCheckInterval, setWatchdogProvider, toString
-
-
-
-
Constructor Detail
-
Builder
protected Builder() throws IOException
- Throws:
IOException
-
Builder
protected Builder(com.google.api.gax.rpc.ClientContext clientContext)
-
Builder
protected Builder(ServicesSettings settings)
-
Builder
protected Builder(ServicesStubSettings.Builder stubSettings)
-
-
Method Detail
-
getStubSettingsBuilder
public ServicesStubSettings.Builder getStubSettingsBuilder()
-
applyToAllUnaryMethods
public ServicesSettings.Builder applyToAllUnaryMethods(com.google.api.core.ApiFunction<com.google.api.gax.rpc.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.
-
createServiceSettings
public com.google.api.gax.rpc.UnaryCallSettings.Builder<CreateServiceRequest,com.google.longrunning.Operation> createServiceSettings()
Returns the builder for the settings used for calls to createService.
-
createServiceOperationSettings
public com.google.api.gax.rpc.OperationCallSettings.Builder<CreateServiceRequest,Service,Service> createServiceOperationSettings()
Returns the builder for the settings used for calls to createService.
-
getServiceSettings
public com.google.api.gax.rpc.UnaryCallSettings.Builder<GetServiceRequest,Service> getServiceSettings()
Returns the builder for the settings used for calls to getService.
-
listServicesSettings
public com.google.api.gax.rpc.PagedCallSettings.Builder<ListServicesRequest,ListServicesResponse,ServicesClient.ListServicesPagedResponse> listServicesSettings()
Returns the builder for the settings used for calls to listServices.
-
updateServiceSettings
public com.google.api.gax.rpc.UnaryCallSettings.Builder<UpdateServiceRequest,com.google.longrunning.Operation> updateServiceSettings()
Returns the builder for the settings used for calls to updateService.
-
updateServiceOperationSettings
public com.google.api.gax.rpc.OperationCallSettings.Builder<UpdateServiceRequest,Service,Service> updateServiceOperationSettings()
Returns the builder for the settings used for calls to updateService.
-
deleteServiceSettings
public com.google.api.gax.rpc.UnaryCallSettings.Builder<DeleteServiceRequest,com.google.longrunning.Operation> deleteServiceSettings()
Returns the builder for the settings used for calls to deleteService.
-
deleteServiceOperationSettings
public com.google.api.gax.rpc.OperationCallSettings.Builder<DeleteServiceRequest,Service,Service> deleteServiceOperationSettings()
Returns the builder for the settings used for calls to deleteService.
-
getIamPolicySettings
public com.google.api.gax.rpc.UnaryCallSettings.Builder<com.google.iam.v1.GetIamPolicyRequest,com.google.iam.v1.Policy> getIamPolicySettings()
Returns the builder for the settings used for calls to getIamPolicy.
-
setIamPolicySettings
public com.google.api.gax.rpc.UnaryCallSettings.Builder<com.google.iam.v1.SetIamPolicyRequest,com.google.iam.v1.Policy> setIamPolicySettings()
Returns the builder for the settings used for calls to setIamPolicy.
-
testIamPermissionsSettings
public com.google.api.gax.rpc.UnaryCallSettings.Builder<com.google.iam.v1.TestIamPermissionsRequest,com.google.iam.v1.TestIamPermissionsResponse> testIamPermissionsSettings()
Returns the builder for the settings used for calls to testIamPermissions.
-
build
public ServicesSettings build() throws IOException
- Specified by:
build
in classcom.google.api.gax.rpc.ClientSettings.Builder<ServicesSettings,ServicesSettings.Builder>
- Throws:
IOException
-
-