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 com.google.api.gax.rpc.StubSettings.Builder<ApiKeysStubSettings,ApiKeysStubSettings.Builder>
Builder for ApiKeysStubSettings.
-
-
Constructor Summary
Constructors Modifier Constructor Description protected
Builder()
protected
Builder(ApiKeysStubSettings settings)
protected
Builder(com.google.api.gax.rpc.ClientContext clientContext)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description ApiKeysStubSettings.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.ApiKeysStubSettings
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.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.common.collect.ImmutableList<com.google.api.gax.rpc.UnaryCallSettings.Builder<?,?>>
unaryMethodSettingsBuilders()
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.-
Methods inherited from class com.google.api.gax.rpc.StubSettings.Builder
applyToAllUnaryMethods, getBackgroundExecutorProvider, getClock, getCredentialsProvider, getEndpoint, getExecutorProvider, getGdchApiAudience, getHeaderProvider, getInternalHeaderProvider, getMtlsEndpoint, getQuotaProjectId, getStreamWatchdogCheckInterval, getStreamWatchdogProvider, getTracerFactory, getTransportChannelProvider, self, setBackgroundExecutorProvider, setClock, setCredentialsProvider, setEndpoint, setExecutorProvider, setGdchApiAudience, setHeaderProvider, setInternalHeaderProvider, setMtlsEndpoint, setQuotaProjectId, setStreamWatchdogCheckInterval, setStreamWatchdogProvider, setSwitchToMtlsEndpointAllowed, setTracerFactory, setTransportChannelProvider, toString
-
-
-
-
Constructor Detail
-
Builder
protected Builder()
-
Builder
protected Builder(com.google.api.gax.rpc.ClientContext clientContext)
-
Builder
protected Builder(ApiKeysStubSettings settings)
-
-
Method Detail
-
applyToAllUnaryMethods
public ApiKeysStubSettings.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.
-
unaryMethodSettingsBuilders
public com.google.common.collect.ImmutableList<com.google.api.gax.rpc.UnaryCallSettings.Builder<?,?>> unaryMethodSettingsBuilders()
-
createKeySettings
public com.google.api.gax.rpc.UnaryCallSettings.Builder<CreateKeyRequest,com.google.longrunning.Operation> createKeySettings()
Returns the builder for the settings used for calls to createKey.
-
createKeyOperationSettings
@BetaApi("The surface for use by generated code is not stable yet and may change in the future.") public 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.
-
listKeysSettings
public com.google.api.gax.rpc.PagedCallSettings.Builder<ListKeysRequest,ListKeysResponse,ApiKeysClient.ListKeysPagedResponse> listKeysSettings()
Returns the builder for the settings used for calls to listKeys.
-
getKeySettings
public com.google.api.gax.rpc.UnaryCallSettings.Builder<GetKeyRequest,Key> getKeySettings()
Returns the builder for the settings used for calls to getKey.
-
getKeyStringSettings
public com.google.api.gax.rpc.UnaryCallSettings.Builder<GetKeyStringRequest,GetKeyStringResponse> getKeyStringSettings()
Returns the builder for the settings used for calls to getKeyString.
-
updateKeySettings
public com.google.api.gax.rpc.UnaryCallSettings.Builder<UpdateKeyRequest,com.google.longrunning.Operation> updateKeySettings()
Returns the builder for the settings used for calls to updateKey.
-
updateKeyOperationSettings
@BetaApi("The surface for use by generated code is not stable yet and may change in the future.") public 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.
-
deleteKeySettings
public com.google.api.gax.rpc.UnaryCallSettings.Builder<DeleteKeyRequest,com.google.longrunning.Operation> deleteKeySettings()
Returns the builder for the settings used for calls to deleteKey.
-
deleteKeyOperationSettings
@BetaApi("The surface for use by generated code is not stable yet and may change in the future.") public 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.
-
undeleteKeySettings
public com.google.api.gax.rpc.UnaryCallSettings.Builder<UndeleteKeyRequest,com.google.longrunning.Operation> undeleteKeySettings()
Returns the builder for the settings used for calls to undeleteKey.
-
undeleteKeyOperationSettings
@BetaApi("The surface for use by generated code is not stable yet and may change in the future.") public 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.
-
lookupKeySettings
public com.google.api.gax.rpc.UnaryCallSettings.Builder<LookupKeyRequest,LookupKeyResponse> lookupKeySettings()
Returns the builder for the settings used for calls to lookupKey.
-
build
public ApiKeysStubSettings build() throws IOException
- Specified by:
build
in classcom.google.api.gax.rpc.StubSettings.Builder<ApiKeysStubSettings,ApiKeysStubSettings.Builder>
- Throws:
IOException
-
-