Class MemoryBankServiceSettings.Builder
java.lang.Object
com.google.api.gax.rpc.ClientSettings.Builder<MemoryBankServiceSettings,MemoryBankServiceSettings.Builder>
com.google.cloud.aiplatform.v1beta1.MemoryBankServiceSettings.Builder
- Enclosing class:
- MemoryBankServiceSettings
public static class MemoryBankServiceSettings.Builder
extends ClientSettings.Builder<MemoryBankServiceSettings,MemoryBankServiceSettings.Builder>
Builder for MemoryBankServiceSettings.
-
Constructor Summary
ConstructorsModifierConstructorDescriptionprotectedBuilder()protectedBuilder(ClientContext clientContext) protectedBuilder(MemoryBankServiceSettings settings) protectedBuilder(MemoryBankServiceStubSettings.Builder stubSettings) -
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()Returns the builder for the settings used for calls to createMemory.Returns the builder for the settings used for calls to createMemory.OperationCallSettings.Builder<DeleteMemoryRequest,com.google.protobuf.Empty, DeleteMemoryOperationMetadata> Returns the builder for the settings used for calls to deleteMemory.Returns the builder for the settings used for calls to deleteMemory.OperationCallSettings.Builder<GenerateMemoriesRequest,GenerateMemoriesResponse, GenerateMemoriesOperationMetadata> Returns the builder for the settings used for calls to generateMemories.Returns the builder for the settings used for calls to generateMemories.Returns the builder for the settings used for calls to getIamPolicy.Returns the builder for the settings used for calls to getLocation.Returns the builder for the settings used for calls to getMemory.PagedCallSettings.Builder<ListLocationsRequest,ListLocationsResponse, MemoryBankServiceClient.ListLocationsPagedResponse> Returns the builder for the settings used for calls to listLocations.PagedCallSettings.Builder<ListMemoriesRequest,ListMemoriesResponse, MemoryBankServiceClient.ListMemoriesPagedResponse> Returns the builder for the settings used for calls to listMemories.Returns the builder for the settings used for calls to retrieveMemories.Returns the builder for the settings used for calls to setIamPolicy.Returns the builder for the settings used for calls to testIamPermissions.Returns the builder for the settings used for calls to updateMemory.Returns the builder for the settings used for calls to updateMemory.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 MemoryBankServiceSettings.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.
-
createMemorySettings
Returns the builder for the settings used for calls to createMemory. -
createMemoryOperationSettings
public OperationCallSettings.Builder<CreateMemoryRequest,Memory, createMemoryOperationSettings()CreateMemoryOperationMetadata> Returns the builder for the settings used for calls to createMemory. -
getMemorySettings
Returns the builder for the settings used for calls to getMemory. -
updateMemorySettings
Returns the builder for the settings used for calls to updateMemory. -
updateMemoryOperationSettings
public OperationCallSettings.Builder<UpdateMemoryRequest,Memory, updateMemoryOperationSettings()UpdateMemoryOperationMetadata> Returns the builder for the settings used for calls to updateMemory. -
listMemoriesSettings
public PagedCallSettings.Builder<ListMemoriesRequest,ListMemoriesResponse, listMemoriesSettings()MemoryBankServiceClient.ListMemoriesPagedResponse> Returns the builder for the settings used for calls to listMemories. -
deleteMemorySettings
Returns the builder for the settings used for calls to deleteMemory. -
deleteMemoryOperationSettings
public OperationCallSettings.Builder<DeleteMemoryRequest,com.google.protobuf.Empty, deleteMemoryOperationSettings()DeleteMemoryOperationMetadata> Returns the builder for the settings used for calls to deleteMemory. -
generateMemoriesSettings
Returns the builder for the settings used for calls to generateMemories. -
generateMemoriesOperationSettings
public OperationCallSettings.Builder<GenerateMemoriesRequest,GenerateMemoriesResponse, generateMemoriesOperationSettings()GenerateMemoriesOperationMetadata> Returns the builder for the settings used for calls to generateMemories. -
retrieveMemoriesSettings
public UnaryCallSettings.Builder<RetrieveMemoriesRequest,RetrieveMemoriesResponse> retrieveMemoriesSettings()Returns the builder for the settings used for calls to retrieveMemories. -
listLocationsSettings
public PagedCallSettings.Builder<ListLocationsRequest,ListLocationsResponse, listLocationsSettings()MemoryBankServiceClient.ListLocationsPagedResponse> Returns the builder for the settings used for calls to listLocations. -
getLocationSettings
Returns the builder for the settings used for calls to getLocation. -
setIamPolicySettings
Returns the builder for the settings used for calls to setIamPolicy. -
getIamPolicySettings
Returns the builder for the settings used for calls to getIamPolicy. -
testIamPermissionsSettings
public UnaryCallSettings.Builder<TestIamPermissionsRequest,TestIamPermissionsResponse> testIamPermissionsSettings()Returns the builder for the settings used for calls to testIamPermissions. -
build
- Specified by:
buildin classClientSettings.Builder<MemoryBankServiceSettings,MemoryBankServiceSettings.Builder> - Throws:
IOException
-