Class FoldersSettings.Builder (1.44.0)

public static class FoldersSettings.Builder extends ClientSettings.Builder<FoldersSettings,FoldersSettings.Builder>

Builder for FoldersSettings.

Inheritance

java.lang.Object > ClientSettings.Builder > FoldersSettings.Builder

Constructors

Builder()

protected Builder()

Builder(ClientContext clientContext)

protected Builder(ClientContext clientContext)
Parameter
Name Description
clientContext ClientContext

Builder(FoldersSettings settings)

protected Builder(FoldersSettings settings)
Parameter
Name Description
settings FoldersSettings

Builder(FoldersStubSettings.Builder stubSettings)

protected Builder(FoldersStubSettings.Builder stubSettings)
Parameter
Name Description
stubSettings FoldersStubSettings.Builder

Methods

applyToAllUnaryMethods(ApiFunction<UnaryCallSettings.Builder<?,?>,Void> settingsUpdater)

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
Name Description
settingsUpdater ApiFunction<Builder<?,?>,java.lang.Void>
Returns
Type Description
FoldersSettings.Builder

build()

public FoldersSettings build()
Returns
Type Description
FoldersSettings
Overrides
Exceptions
Type Description
IOException

createFolderOperationSettings()

public OperationCallSettings.Builder<CreateFolderRequest,Folder,CreateFolderMetadata> createFolderOperationSettings()

Returns the builder for the settings used for calls to createFolder.

Returns
Type Description
Builder<CreateFolderRequest,Folder,CreateFolderMetadata>

createFolderSettings()

public UnaryCallSettings.Builder<CreateFolderRequest,Operation> createFolderSettings()

Returns the builder for the settings used for calls to createFolder.

Returns
Type Description
Builder<CreateFolderRequest,Operation>

deleteFolderOperationSettings()

public OperationCallSettings.Builder<DeleteFolderRequest,Folder,DeleteFolderMetadata> deleteFolderOperationSettings()

Returns the builder for the settings used for calls to deleteFolder.

Returns
Type Description
Builder<DeleteFolderRequest,Folder,DeleteFolderMetadata>

deleteFolderSettings()

public UnaryCallSettings.Builder<DeleteFolderRequest,Operation> deleteFolderSettings()

Returns the builder for the settings used for calls to deleteFolder.

Returns
Type Description
Builder<DeleteFolderRequest,Operation>

getFolderSettings()

public UnaryCallSettings.Builder<GetFolderRequest,Folder> getFolderSettings()

Returns the builder for the settings used for calls to getFolder.

Returns
Type Description
Builder<GetFolderRequest,Folder>

getIamPolicySettings()

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>

getStubSettingsBuilder()

public FoldersStubSettings.Builder getStubSettingsBuilder()
Returns
Type Description
FoldersStubSettings.Builder

listFoldersSettings()

public PagedCallSettings.Builder<ListFoldersRequest,ListFoldersResponse,FoldersClient.ListFoldersPagedResponse> listFoldersSettings()

Returns the builder for the settings used for calls to listFolders.

Returns
Type Description
Builder<ListFoldersRequest,ListFoldersResponse,ListFoldersPagedResponse>

moveFolderOperationSettings()

public OperationCallSettings.Builder<MoveFolderRequest,Folder,MoveFolderMetadata> moveFolderOperationSettings()

Returns the builder for the settings used for calls to moveFolder.

Returns
Type Description
Builder<MoveFolderRequest,Folder,MoveFolderMetadata>

moveFolderSettings()

public UnaryCallSettings.Builder<MoveFolderRequest,Operation> moveFolderSettings()

Returns the builder for the settings used for calls to moveFolder.

Returns
Type Description
Builder<MoveFolderRequest,Operation>

searchFoldersSettings()

public PagedCallSettings.Builder<SearchFoldersRequest,SearchFoldersResponse,FoldersClient.SearchFoldersPagedResponse> searchFoldersSettings()

Returns the builder for the settings used for calls to searchFolders.

Returns
Type Description
Builder<SearchFoldersRequest,SearchFoldersResponse,SearchFoldersPagedResponse>

setIamPolicySettings()

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>

testIamPermissionsSettings()

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>

undeleteFolderOperationSettings()

public OperationCallSettings.Builder<UndeleteFolderRequest,Folder,UndeleteFolderMetadata> undeleteFolderOperationSettings()

Returns the builder for the settings used for calls to undeleteFolder.

Returns
Type Description
Builder<UndeleteFolderRequest,Folder,UndeleteFolderMetadata>

undeleteFolderSettings()

public UnaryCallSettings.Builder<UndeleteFolderRequest,Operation> undeleteFolderSettings()

Returns the builder for the settings used for calls to undeleteFolder.

Returns
Type Description
Builder<UndeleteFolderRequest,Operation>

updateFolderOperationSettings()

public OperationCallSettings.Builder<UpdateFolderRequest,Folder,UpdateFolderMetadata> updateFolderOperationSettings()

Returns the builder for the settings used for calls to updateFolder.

Returns
Type Description
Builder<UpdateFolderRequest,Folder,UpdateFolderMetadata>

updateFolderSettings()

public UnaryCallSettings.Builder<UpdateFolderRequest,Operation> updateFolderSettings()

Returns the builder for the settings used for calls to updateFolder.

Returns
Type Description
Builder<UpdateFolderRequest,Operation>