public static class ApiKeysSettings.Builder extends com.google.api.gax.rpc.ClientSettings.Builder<ApiKeysSettings,ApiKeysSettings.Builder>
| Modifier | Constructor and Description |
|---|---|
protected |
Builder() |
protected |
Builder(ApiKeysSettings settings) |
protected |
Builder(ApiKeysStubSettings.Builder stubSettings) |
protected |
Builder(com.google.api.gax.rpc.ClientContext clientContext) |
| Modifier and Type | Method and Description |
|---|---|
ApiKeysSettings.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.
|
ApiKeysSettings |
build() |
com.google.api.gax.rpc.OperationCallSettings.Builder<CreateKeyRequest,Key,com.google.protobuf.Empty> |
createKeyOperationSettings()
Returns the builder for the settings used for calls to createKey.
|
com.google.api.gax.rpc.UnaryCallSettings.Builder<CreateKeyRequest,com.google.longrunning.Operation> |
createKeySettings()
Returns the builder for the settings used for calls to createKey.
|
com.google.api.gax.rpc.OperationCallSettings.Builder<DeleteKeyRequest,Key,com.google.protobuf.Empty> |
deleteKeyOperationSettings()
Returns the builder for the settings used for calls to deleteKey.
|
com.google.api.gax.rpc.UnaryCallSettings.Builder<DeleteKeyRequest,com.google.longrunning.Operation> |
deleteKeySettings()
Returns the builder for the settings used for calls to deleteKey.
|
com.google.api.gax.rpc.UnaryCallSettings.Builder<GetKeyRequest,Key> |
getKeySettings()
Returns the builder for the settings used for calls to getKey.
|
com.google.api.gax.rpc.UnaryCallSettings.Builder<GetKeyStringRequest,GetKeyStringResponse> |
getKeyStringSettings()
Returns the builder for the settings used for calls to getKeyString.
|
ApiKeysStubSettings.Builder |
getStubSettingsBuilder() |
com.google.api.gax.rpc.PagedCallSettings.Builder<ListKeysRequest,ListKeysResponse,ApiKeysClient.ListKeysPagedResponse> |
listKeysSettings()
Returns the builder for the settings used for calls to listKeys.
|
com.google.api.gax.rpc.UnaryCallSettings.Builder<LookupKeyRequest,LookupKeyResponse> |
lookupKeySettings()
Returns the builder for the settings used for calls to lookupKey.
|
com.google.api.gax.rpc.OperationCallSettings.Builder<UndeleteKeyRequest,Key,com.google.protobuf.Empty> |
undeleteKeyOperationSettings()
Returns the builder for the settings used for calls to undeleteKey.
|
com.google.api.gax.rpc.UnaryCallSettings.Builder<UndeleteKeyRequest,com.google.longrunning.Operation> |
undeleteKeySettings()
Returns the builder for the settings used for calls to undeleteKey.
|
com.google.api.gax.rpc.OperationCallSettings.Builder<UpdateKeyRequest,Key,com.google.protobuf.Empty> |
updateKeyOperationSettings()
Returns the builder for the settings used for calls to updateKey.
|
com.google.api.gax.rpc.UnaryCallSettings.Builder<UpdateKeyRequest,com.google.longrunning.Operation> |
updateKeySettings()
Returns the builder for the settings used for calls to updateKey.
|
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, setUniverseDomain, setWatchdogCheckInterval, setWatchdogProvider, toStringprotected Builder()
throws IOException
IOExceptionprotected Builder(com.google.api.gax.rpc.ClientContext clientContext)
protected Builder(ApiKeysSettings settings)
protected Builder(ApiKeysStubSettings.Builder stubSettings)
public ApiKeysStubSettings.Builder getStubSettingsBuilder()
public ApiKeysSettings.Builder applyToAllUnaryMethods(com.google.api.core.ApiFunction<com.google.api.gax.rpc.UnaryCallSettings.Builder<?,?>,Void> settingsUpdater)
Note: This method does not support applying settings to streaming methods.
public com.google.api.gax.rpc.UnaryCallSettings.Builder<CreateKeyRequest,com.google.longrunning.Operation> createKeySettings()
public com.google.api.gax.rpc.OperationCallSettings.Builder<CreateKeyRequest,Key,com.google.protobuf.Empty> createKeyOperationSettings()
public com.google.api.gax.rpc.PagedCallSettings.Builder<ListKeysRequest,ListKeysResponse,ApiKeysClient.ListKeysPagedResponse> listKeysSettings()
public com.google.api.gax.rpc.UnaryCallSettings.Builder<GetKeyRequest,Key> getKeySettings()
public com.google.api.gax.rpc.UnaryCallSettings.Builder<GetKeyStringRequest,GetKeyStringResponse> getKeyStringSettings()
public com.google.api.gax.rpc.UnaryCallSettings.Builder<UpdateKeyRequest,com.google.longrunning.Operation> updateKeySettings()
public com.google.api.gax.rpc.OperationCallSettings.Builder<UpdateKeyRequest,Key,com.google.protobuf.Empty> updateKeyOperationSettings()
public com.google.api.gax.rpc.UnaryCallSettings.Builder<DeleteKeyRequest,com.google.longrunning.Operation> deleteKeySettings()
public com.google.api.gax.rpc.OperationCallSettings.Builder<DeleteKeyRequest,Key,com.google.protobuf.Empty> deleteKeyOperationSettings()
public com.google.api.gax.rpc.UnaryCallSettings.Builder<UndeleteKeyRequest,com.google.longrunning.Operation> undeleteKeySettings()
public com.google.api.gax.rpc.OperationCallSettings.Builder<UndeleteKeyRequest,Key,com.google.protobuf.Empty> undeleteKeyOperationSettings()
public com.google.api.gax.rpc.UnaryCallSettings.Builder<LookupKeyRequest,LookupKeyResponse> lookupKeySettings()
public ApiKeysSettings build() throws IOException
build in class com.google.api.gax.rpc.ClientSettings.Builder<ApiKeysSettings,ApiKeysSettings.Builder>IOExceptionCopyright © 2024 Google LLC. All rights reserved.