Package com.google.api.apikeys.v2
Class ApiKeysSettings.Builder
java.lang.Object
com.google.api.gax.rpc.ClientSettings.Builder<ApiKeysSettings,ApiKeysSettings.Builder>
com.google.api.apikeys.v2.ApiKeysSettings.Builder
- Enclosing class:
- ApiKeysSettings
public static class ApiKeysSettings.Builder
extends ClientSettings.Builder<ApiKeysSettings,ApiKeysSettings.Builder>
Builder for ApiKeysSettings.
-
Constructor Summary
ConstructorsModifierConstructorDescriptionprotectedBuilder()protectedBuilder(ApiKeysSettings settings) protectedBuilder(ApiKeysStubSettings.Builder stubSettings) protectedBuilder(ClientContext clientContext) -
Method Summary
Modifier and TypeMethodDescriptionapplyToAllUnaryMethods(ApiFunction<UnaryCallSettings.Builder<?, ?>, Void> settingsUpdater) Applies the given settings updater function to all of the unary API methods in this service.build()OperationCallSettings.Builder<CreateKeyRequest,Key, com.google.protobuf.Empty> Returns the builder for the settings used for calls to createKey.Returns the builder for the settings used for calls to createKey.OperationCallSettings.Builder<DeleteKeyRequest,Key, com.google.protobuf.Empty> Returns the builder for the settings used for calls to deleteKey.Returns the builder for the settings used for calls to deleteKey.Returns the builder for the settings used for calls to getKey.Returns the builder for the settings used for calls to getKeyString.Returns the builder for the settings used for calls to listKeys.Returns the builder for the settings used for calls to lookupKey.OperationCallSettings.Builder<UndeleteKeyRequest,Key, com.google.protobuf.Empty> Returns the builder for the settings used for calls to undeleteKey.Returns the builder for the settings used for calls to undeleteKey.OperationCallSettings.Builder<UpdateKeyRequest,Key, com.google.protobuf.Empty> Returns the builder for the settings used for calls to updateKey.Returns the builder for the settings used for calls to updateKey.Methods inherited from class com.google.api.gax.rpc.ClientSettings.Builder
applyToAllUnaryMethods, getApiKey, getBackgroundExecutorProvider, getClock, getCredentialsProvider, getEndpoint, getExecutorProvider, getGdchApiAudience, getHeaderProvider, getInternalHeaderProvider, getQuotaProjectId, getStubSettings, getTransportChannelProvider, getWatchdogCheckInterval, getWatchdogCheckIntervalDuration, getWatchdogProvider, self, setApiKey, setBackgroundExecutorProvider, setClock, setCredentialsProvider, setEndpoint, setExecutorProvider, setGdchApiAudience, setHeaderProvider, setInternalHeaderProvider, setQuotaProjectId, setTransportChannelProvider, setUniverseDomain, setWatchdogCheckInterval, setWatchdogCheckIntervalDuration, setWatchdogProvider, toString
-
Constructor Details
-
Builder
- Throws:
IOException
-
Builder
-
Builder
-
Builder
-
-
Method Details
-
getStubSettingsBuilder
-
applyToAllUnaryMethods
public ApiKeysSettings.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.
-
createKeySettings
Returns the builder for the settings used for calls to createKey. -
createKeyOperationSettings
public OperationCallSettings.Builder<CreateKeyRequest,Key, createKeyOperationSettings()com.google.protobuf.Empty> Returns the builder for the settings used for calls to createKey. -
listKeysSettings
public PagedCallSettings.Builder<ListKeysRequest,ListKeysResponse, listKeysSettings()ApiKeysClient.ListKeysPagedResponse> Returns the builder for the settings used for calls to listKeys. -
getKeySettings
Returns the builder for the settings used for calls to getKey. -
getKeyStringSettings
Returns the builder for the settings used for calls to getKeyString. -
updateKeySettings
Returns the builder for the settings used for calls to updateKey. -
updateKeyOperationSettings
public OperationCallSettings.Builder<UpdateKeyRequest,Key, updateKeyOperationSettings()com.google.protobuf.Empty> Returns the builder for the settings used for calls to updateKey. -
deleteKeySettings
Returns the builder for the settings used for calls to deleteKey. -
deleteKeyOperationSettings
public OperationCallSettings.Builder<DeleteKeyRequest,Key, deleteKeyOperationSettings()com.google.protobuf.Empty> Returns the builder for the settings used for calls to deleteKey. -
undeleteKeySettings
Returns the builder for the settings used for calls to undeleteKey. -
undeleteKeyOperationSettings
public OperationCallSettings.Builder<UndeleteKeyRequest,Key, undeleteKeyOperationSettings()com.google.protobuf.Empty> Returns the builder for the settings used for calls to undeleteKey. -
lookupKeySettings
Returns the builder for the settings used for calls to lookupKey. -
build
- Specified by:
buildin classClientSettings.Builder<ApiKeysSettings,ApiKeysSettings.Builder> - Throws:
IOException
-