Package com.google.cloud.kms.v1
Class EkmServiceSettings.Builder
- java.lang.Object
-
- com.google.api.gax.rpc.ClientSettings.Builder<EkmServiceSettings,EkmServiceSettings.Builder>
-
- com.google.cloud.kms.v1.EkmServiceSettings.Builder
-
- Enclosing class:
- EkmServiceSettings
public static class EkmServiceSettings.Builder extends com.google.api.gax.rpc.ClientSettings.Builder<EkmServiceSettings,EkmServiceSettings.Builder>
Builder for EkmServiceSettings.
-
-
Constructor Summary
Constructors Modifier Constructor Description protected
Builder()
protected
Builder(com.google.api.gax.rpc.ClientContext clientContext)
protected
Builder(EkmServiceSettings settings)
protected
Builder(EkmServiceStubSettings.Builder stubSettings)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description EkmServiceSettings.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.EkmServiceSettings
build()
com.google.api.gax.rpc.UnaryCallSettings.Builder<CreateEkmConnectionRequest,EkmConnection>
createEkmConnectionSettings()
Returns the builder for the settings used for calls to createEkmConnection.com.google.api.gax.rpc.UnaryCallSettings.Builder<GetEkmConfigRequest,EkmConfig>
getEkmConfigSettings()
Returns the builder for the settings used for calls to getEkmConfig.com.google.api.gax.rpc.UnaryCallSettings.Builder<GetEkmConnectionRequest,EkmConnection>
getEkmConnectionSettings()
Returns the builder for the settings used for calls to getEkmConnection.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<com.google.cloud.location.GetLocationRequest,com.google.cloud.location.Location>
getLocationSettings()
Returns the builder for the settings used for calls to getLocation.EkmServiceStubSettings.Builder
getStubSettingsBuilder()
com.google.api.gax.rpc.PagedCallSettings.Builder<ListEkmConnectionsRequest,ListEkmConnectionsResponse,EkmServiceClient.ListEkmConnectionsPagedResponse>
listEkmConnectionsSettings()
Returns the builder for the settings used for calls to listEkmConnections.com.google.api.gax.rpc.PagedCallSettings.Builder<com.google.cloud.location.ListLocationsRequest,com.google.cloud.location.ListLocationsResponse,EkmServiceClient.ListLocationsPagedResponse>
listLocationsSettings()
Returns the builder for the settings used for calls to listLocations.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.UnaryCallSettings.Builder<UpdateEkmConfigRequest,EkmConfig>
updateEkmConfigSettings()
Returns the builder for the settings used for calls to updateEkmConfig.com.google.api.gax.rpc.UnaryCallSettings.Builder<UpdateEkmConnectionRequest,EkmConnection>
updateEkmConnectionSettings()
Returns the builder for the settings used for calls to updateEkmConnection.com.google.api.gax.rpc.UnaryCallSettings.Builder<VerifyConnectivityRequest,VerifyConnectivityResponse>
verifyConnectivitySettings()
Returns the builder for the settings used for calls to verifyConnectivity.-
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(EkmServiceSettings settings)
-
Builder
protected Builder(EkmServiceStubSettings.Builder stubSettings)
-
-
Method Detail
-
getStubSettingsBuilder
public EkmServiceStubSettings.Builder getStubSettingsBuilder()
-
applyToAllUnaryMethods
public EkmServiceSettings.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.
-
listEkmConnectionsSettings
public com.google.api.gax.rpc.PagedCallSettings.Builder<ListEkmConnectionsRequest,ListEkmConnectionsResponse,EkmServiceClient.ListEkmConnectionsPagedResponse> listEkmConnectionsSettings()
Returns the builder for the settings used for calls to listEkmConnections.
-
getEkmConnectionSettings
public com.google.api.gax.rpc.UnaryCallSettings.Builder<GetEkmConnectionRequest,EkmConnection> getEkmConnectionSettings()
Returns the builder for the settings used for calls to getEkmConnection.
-
createEkmConnectionSettings
public com.google.api.gax.rpc.UnaryCallSettings.Builder<CreateEkmConnectionRequest,EkmConnection> createEkmConnectionSettings()
Returns the builder for the settings used for calls to createEkmConnection.
-
updateEkmConnectionSettings
public com.google.api.gax.rpc.UnaryCallSettings.Builder<UpdateEkmConnectionRequest,EkmConnection> updateEkmConnectionSettings()
Returns the builder for the settings used for calls to updateEkmConnection.
-
getEkmConfigSettings
public com.google.api.gax.rpc.UnaryCallSettings.Builder<GetEkmConfigRequest,EkmConfig> getEkmConfigSettings()
Returns the builder for the settings used for calls to getEkmConfig.
-
updateEkmConfigSettings
public com.google.api.gax.rpc.UnaryCallSettings.Builder<UpdateEkmConfigRequest,EkmConfig> updateEkmConfigSettings()
Returns the builder for the settings used for calls to updateEkmConfig.
-
verifyConnectivitySettings
public com.google.api.gax.rpc.UnaryCallSettings.Builder<VerifyConnectivityRequest,VerifyConnectivityResponse> verifyConnectivitySettings()
Returns the builder for the settings used for calls to verifyConnectivity.
-
listLocationsSettings
public com.google.api.gax.rpc.PagedCallSettings.Builder<com.google.cloud.location.ListLocationsRequest,com.google.cloud.location.ListLocationsResponse,EkmServiceClient.ListLocationsPagedResponse> listLocationsSettings()
Returns the builder for the settings used for calls to listLocations.
-
getLocationSettings
public com.google.api.gax.rpc.UnaryCallSettings.Builder<com.google.cloud.location.GetLocationRequest,com.google.cloud.location.Location> getLocationSettings()
Returns the builder for the settings used for calls to getLocation.
-
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.
-
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.
-
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 EkmServiceSettings build() throws IOException
- Specified by:
build
in classcom.google.api.gax.rpc.ClientSettings.Builder<EkmServiceSettings,EkmServiceSettings.Builder>
- Throws:
IOException
-
-