Package com.google.api.apikeys.v2.stub
Class ApiKeysStubSettings.Builder
java.lang.Object
com.google.api.gax.rpc.StubSettings.Builder<ApiKeysStubSettings,ApiKeysStubSettings.Builder>
com.google.api.apikeys.v2.stub.ApiKeysStubSettings.Builder
- Enclosing class:
- ApiKeysStubSettings
public static class ApiKeysStubSettings.Builder
extends StubSettings.Builder<ApiKeysStubSettings,ApiKeysStubSettings.Builder>
Builder for ApiKeysStubSettings.
-
Constructor Summary
ConstructorsModifierConstructorDescriptionprotectedBuilder()protectedBuilder(ApiKeysStubSettings settings) 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.com.google.common.collect.ImmutableList<UnaryCallSettings.Builder<?,?>> 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.StubSettings.Builder
applyToAllUnaryMethods, getApiKey, getBackgroundExecutorProvider, getClock, getCredentialsProvider, getEndpoint, getExecutorProvider, getGdchApiAudience, getHeaderProvider, getInternalHeaderProvider, getMtlsEndpoint, getQuotaProjectId, getStreamWatchdogCheckInterval, getStreamWatchdogCheckIntervalDuration, getStreamWatchdogProvider, getTracerFactory, getTransportChannelProvider, self, setApiKey, setBackgroundExecutorProvider, setClock, setCredentialsProvider, setEndpoint, setExecutorProvider, setGdchApiAudience, setHeaderProvider, setInternalHeaderProvider, setMtlsEndpoint, setQuotaProjectId, setStreamWatchdogCheckInterval, setStreamWatchdogCheckIntervalDuration, setStreamWatchdogProvider, setSwitchToMtlsEndpointAllowed, setTracerFactory, setTransportChannelProvider, setUniverseDomain, toString
-
Constructor Details
-
Builder
protected Builder() -
Builder
-
Builder
-
-
Method Details
-
applyToAllUnaryMethods
public ApiKeysStubSettings.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.
-
unaryMethodSettingsBuilders
public com.google.common.collect.ImmutableList<UnaryCallSettings.Builder<?,?>> unaryMethodSettingsBuilders() -
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 classStubSettings.Builder<ApiKeysStubSettings,ApiKeysStubSettings.Builder> - Throws:
IOException
-