Class FoldersSettings.Builder
- java.lang.Object
-
- com.google.api.gax.rpc.ClientSettings.Builder<FoldersSettings,FoldersSettings.Builder>
-
- com.google.cloud.resourcemanager.v3.FoldersSettings.Builder
-
- Enclosing class:
- FoldersSettings
public static class FoldersSettings.Builder extends com.google.api.gax.rpc.ClientSettings.Builder<FoldersSettings,FoldersSettings.Builder>
Builder for FoldersSettings.
-
-
Constructor Summary
Constructors Modifier Constructor Description protected
Builder()
protected
Builder(com.google.api.gax.rpc.ClientContext clientContext)
protected
Builder(FoldersSettings settings)
protected
Builder(FoldersStubSettings.Builder stubSettings)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description FoldersSettings.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.FoldersSettings
build()
com.google.api.gax.rpc.OperationCallSettings.Builder<CreateFolderRequest,Folder,CreateFolderMetadata>
createFolderOperationSettings()
Returns the builder for the settings used for calls to createFolder.com.google.api.gax.rpc.UnaryCallSettings.Builder<CreateFolderRequest,com.google.longrunning.Operation>
createFolderSettings()
Returns the builder for the settings used for calls to createFolder.com.google.api.gax.rpc.OperationCallSettings.Builder<DeleteFolderRequest,Folder,DeleteFolderMetadata>
deleteFolderOperationSettings()
Returns the builder for the settings used for calls to deleteFolder.com.google.api.gax.rpc.UnaryCallSettings.Builder<DeleteFolderRequest,com.google.longrunning.Operation>
deleteFolderSettings()
Returns the builder for the settings used for calls to deleteFolder.com.google.api.gax.rpc.UnaryCallSettings.Builder<GetFolderRequest,Folder>
getFolderSettings()
Returns the builder for the settings used for calls to getFolder.com.google.api.gax.rpc.UnaryCallSettings.Builder<com.google.iam.v1.GetIamPolicyRequest,com.google.iam.v1.Policy>
getIamPolicySettings()
Returns the builder for the settings used for calls to getIamPolicy.FoldersStubSettings.Builder
getStubSettingsBuilder()
com.google.api.gax.rpc.PagedCallSettings.Builder<ListFoldersRequest,ListFoldersResponse,FoldersClient.ListFoldersPagedResponse>
listFoldersSettings()
Returns the builder for the settings used for calls to listFolders.com.google.api.gax.rpc.OperationCallSettings.Builder<MoveFolderRequest,Folder,MoveFolderMetadata>
moveFolderOperationSettings()
Returns the builder for the settings used for calls to moveFolder.com.google.api.gax.rpc.UnaryCallSettings.Builder<MoveFolderRequest,com.google.longrunning.Operation>
moveFolderSettings()
Returns the builder for the settings used for calls to moveFolder.com.google.api.gax.rpc.PagedCallSettings.Builder<SearchFoldersRequest,SearchFoldersResponse,FoldersClient.SearchFoldersPagedResponse>
searchFoldersSettings()
Returns the builder for the settings used for calls to searchFolders.com.google.api.gax.rpc.UnaryCallSettings.Builder<com.google.iam.v1.SetIamPolicyRequest,com.google.iam.v1.Policy>
setIamPolicySettings()
Returns the builder for the settings used for calls to setIamPolicy.com.google.api.gax.rpc.UnaryCallSettings.Builder<com.google.iam.v1.TestIamPermissionsRequest,com.google.iam.v1.TestIamPermissionsResponse>
testIamPermissionsSettings()
Returns the builder for the settings used for calls to testIamPermissions.com.google.api.gax.rpc.OperationCallSettings.Builder<UndeleteFolderRequest,Folder,UndeleteFolderMetadata>
undeleteFolderOperationSettings()
Returns the builder for the settings used for calls to undeleteFolder.com.google.api.gax.rpc.UnaryCallSettings.Builder<UndeleteFolderRequest,com.google.longrunning.Operation>
undeleteFolderSettings()
Returns the builder for the settings used for calls to undeleteFolder.com.google.api.gax.rpc.OperationCallSettings.Builder<UpdateFolderRequest,Folder,UpdateFolderMetadata>
updateFolderOperationSettings()
Returns the builder for the settings used for calls to updateFolder.com.google.api.gax.rpc.UnaryCallSettings.Builder<UpdateFolderRequest,com.google.longrunning.Operation>
updateFolderSettings()
Returns the builder for the settings used for calls to updateFolder.-
Methods inherited from class com.google.api.gax.rpc.ClientSettings.Builder
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, setWatchdogCheckInterval, setWatchdogProvider, toString
-
-
-
-
Constructor Detail
-
Builder
protected Builder() throws IOException
- Throws:
IOException
-
Builder
protected Builder(com.google.api.gax.rpc.ClientContext clientContext)
-
Builder
protected Builder(FoldersSettings settings)
-
Builder
protected Builder(FoldersStubSettings.Builder stubSettings)
-
-
Method Detail
-
getStubSettingsBuilder
public FoldersStubSettings.Builder getStubSettingsBuilder()
-
applyToAllUnaryMethods
public FoldersSettings.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.
-
getFolderSettings
public com.google.api.gax.rpc.UnaryCallSettings.Builder<GetFolderRequest,Folder> getFolderSettings()
Returns the builder for the settings used for calls to getFolder.
-
listFoldersSettings
public com.google.api.gax.rpc.PagedCallSettings.Builder<ListFoldersRequest,ListFoldersResponse,FoldersClient.ListFoldersPagedResponse> listFoldersSettings()
Returns the builder for the settings used for calls to listFolders.
-
searchFoldersSettings
public com.google.api.gax.rpc.PagedCallSettings.Builder<SearchFoldersRequest,SearchFoldersResponse,FoldersClient.SearchFoldersPagedResponse> searchFoldersSettings()
Returns the builder for the settings used for calls to searchFolders.
-
createFolderSettings
public com.google.api.gax.rpc.UnaryCallSettings.Builder<CreateFolderRequest,com.google.longrunning.Operation> createFolderSettings()
Returns the builder for the settings used for calls to createFolder.
-
createFolderOperationSettings
public com.google.api.gax.rpc.OperationCallSettings.Builder<CreateFolderRequest,Folder,CreateFolderMetadata> createFolderOperationSettings()
Returns the builder for the settings used for calls to createFolder.
-
updateFolderSettings
public com.google.api.gax.rpc.UnaryCallSettings.Builder<UpdateFolderRequest,com.google.longrunning.Operation> updateFolderSettings()
Returns the builder for the settings used for calls to updateFolder.
-
updateFolderOperationSettings
public com.google.api.gax.rpc.OperationCallSettings.Builder<UpdateFolderRequest,Folder,UpdateFolderMetadata> updateFolderOperationSettings()
Returns the builder for the settings used for calls to updateFolder.
-
moveFolderSettings
public com.google.api.gax.rpc.UnaryCallSettings.Builder<MoveFolderRequest,com.google.longrunning.Operation> moveFolderSettings()
Returns the builder for the settings used for calls to moveFolder.
-
moveFolderOperationSettings
public com.google.api.gax.rpc.OperationCallSettings.Builder<MoveFolderRequest,Folder,MoveFolderMetadata> moveFolderOperationSettings()
Returns the builder for the settings used for calls to moveFolder.
-
deleteFolderSettings
public com.google.api.gax.rpc.UnaryCallSettings.Builder<DeleteFolderRequest,com.google.longrunning.Operation> deleteFolderSettings()
Returns the builder for the settings used for calls to deleteFolder.
-
deleteFolderOperationSettings
public com.google.api.gax.rpc.OperationCallSettings.Builder<DeleteFolderRequest,Folder,DeleteFolderMetadata> deleteFolderOperationSettings()
Returns the builder for the settings used for calls to deleteFolder.
-
undeleteFolderSettings
public com.google.api.gax.rpc.UnaryCallSettings.Builder<UndeleteFolderRequest,com.google.longrunning.Operation> undeleteFolderSettings()
Returns the builder for the settings used for calls to undeleteFolder.
-
undeleteFolderOperationSettings
public com.google.api.gax.rpc.OperationCallSettings.Builder<UndeleteFolderRequest,Folder,UndeleteFolderMetadata> undeleteFolderOperationSettings()
Returns the builder for the settings used for calls to undeleteFolder.
-
getIamPolicySettings
public com.google.api.gax.rpc.UnaryCallSettings.Builder<com.google.iam.v1.GetIamPolicyRequest,com.google.iam.v1.Policy> getIamPolicySettings()
Returns the builder for the settings used for calls to getIamPolicy.
-
setIamPolicySettings
public com.google.api.gax.rpc.UnaryCallSettings.Builder<com.google.iam.v1.SetIamPolicyRequest,com.google.iam.v1.Policy> setIamPolicySettings()
Returns the builder for the settings used for calls to setIamPolicy.
-
testIamPermissionsSettings
public com.google.api.gax.rpc.UnaryCallSettings.Builder<com.google.iam.v1.TestIamPermissionsRequest,com.google.iam.v1.TestIamPermissionsResponse> testIamPermissionsSettings()
Returns the builder for the settings used for calls to testIamPermissions.
-
build
public FoldersSettings build() throws IOException
- Specified by:
build
in classcom.google.api.gax.rpc.ClientSettings.Builder<FoldersSettings,FoldersSettings.Builder>
- Throws:
IOException
-
-