public static class FoldersSettings.Builder extends ClientSettings.Builder<FoldersSettings,FoldersSettings.Builder>
Builder for FoldersSettings.
Constructors
protected Builder(ClientContext clientContext)
Parameter
protected Builder(FoldersSettings settings)
Parameter
protected Builder(FoldersStubSettings.Builder stubSettings)
Parameter
Methods
public FoldersSettings.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.
Parameter
Returns
public FoldersSettings build()
Returns
Overrides
Exceptions
public OperationCallSettings.Builder<CreateFolderRequest,Folder,CreateFolderMetadata> createFolderOperationSettings()
Returns the builder for the settings used for calls to createFolder.
Returns
public UnaryCallSettings.Builder<CreateFolderRequest,Operation> createFolderSettings()
Returns the builder for the settings used for calls to createFolder.
Returns
public OperationCallSettings.Builder<DeleteFolderRequest,Folder,DeleteFolderMetadata> deleteFolderOperationSettings()
Returns the builder for the settings used for calls to deleteFolder.
Returns
public UnaryCallSettings.Builder<DeleteFolderRequest,Operation> deleteFolderSettings()
Returns the builder for the settings used for calls to deleteFolder.
Returns
public UnaryCallSettings.Builder<GetFolderRequest,Folder> getFolderSettings()
Returns the builder for the settings used for calls to getFolder.
Returns
public UnaryCallSettings.Builder<GetIamPolicyRequest,Policy> getIamPolicySettings()
Returns the builder for the settings used for calls to getIamPolicy.
Returns
Type | Description |
Builder<com.google.iam.v1.GetIamPolicyRequest,com.google.iam.v1.Policy> | |
public FoldersStubSettings.Builder getStubSettingsBuilder()
Returns
public PagedCallSettings.Builder<ListFoldersRequest,ListFoldersResponse,FoldersClient.ListFoldersPagedResponse> listFoldersSettings()
Returns the builder for the settings used for calls to listFolders.
Returns
public OperationCallSettings.Builder<MoveFolderRequest,Folder,MoveFolderMetadata> moveFolderOperationSettings()
Returns the builder for the settings used for calls to moveFolder.
Returns
public UnaryCallSettings.Builder<MoveFolderRequest,Operation> moveFolderSettings()
Returns the builder for the settings used for calls to moveFolder.
Returns
public PagedCallSettings.Builder<SearchFoldersRequest,SearchFoldersResponse,FoldersClient.SearchFoldersPagedResponse> searchFoldersSettings()
Returns the builder for the settings used for calls to searchFolders.
Returns
public UnaryCallSettings.Builder<SetIamPolicyRequest,Policy> setIamPolicySettings()
Returns the builder for the settings used for calls to setIamPolicy.
Returns
Type | Description |
Builder<com.google.iam.v1.SetIamPolicyRequest,com.google.iam.v1.Policy> | |
public UnaryCallSettings.Builder<TestIamPermissionsRequest,TestIamPermissionsResponse> testIamPermissionsSettings()
Returns the builder for the settings used for calls to testIamPermissions.
Returns
Type | Description |
Builder<com.google.iam.v1.TestIamPermissionsRequest,com.google.iam.v1.TestIamPermissionsResponse> | |
public OperationCallSettings.Builder<UndeleteFolderRequest,Folder,UndeleteFolderMetadata> undeleteFolderOperationSettings()
Returns the builder for the settings used for calls to undeleteFolder.
Returns
public UnaryCallSettings.Builder<UndeleteFolderRequest,Operation> undeleteFolderSettings()
Returns the builder for the settings used for calls to undeleteFolder.
Returns
public OperationCallSettings.Builder<UpdateFolderRequest,Folder,UpdateFolderMetadata> updateFolderOperationSettings()
Returns the builder for the settings used for calls to updateFolder.
Returns
public UnaryCallSettings.Builder<UpdateFolderRequest,Operation> updateFolderSettings()
Returns the builder for the settings used for calls to updateFolder.
Returns