Class FoldersStubSettings.Builder (1.14.0)

public static class FoldersStubSettings.Builder extends StubSettings.Builder<FoldersStubSettings,FoldersStubSettings.Builder>

Builder for FoldersStubSettings.

Inheritance

java.lang.Object > StubSettings.Builder > FoldersStubSettings.Builder

Constructors

Builder()

protected Builder()

Builder(ClientContext clientContext)

protected Builder(ClientContext clientContext)
Parameter
NameDescription
clientContextClientContext

Builder(FoldersStubSettings settings)

protected Builder(FoldersStubSettings settings)
Parameter
NameDescription
settingsFoldersStubSettings

Methods

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

public FoldersStubSettings.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
NameDescription
settingsUpdaterApiFunction<Builder<?,?>,java.lang.Void>
Returns
TypeDescription
FoldersStubSettings.Builder

build()

public FoldersStubSettings build()
Returns
TypeDescription
FoldersStubSettings
Overrides Exceptions
TypeDescription
IOException

createFolderOperationSettings()

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

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

Returns
TypeDescription
Builder<CreateFolderRequest,Folder,CreateFolderMetadata>

createFolderSettings()

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

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

Returns
TypeDescription
Builder<CreateFolderRequest,Operation>

deleteFolderOperationSettings()

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

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

Returns
TypeDescription
Builder<DeleteFolderRequest,Folder,DeleteFolderMetadata>

deleteFolderSettings()

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

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

Returns
TypeDescription
Builder<DeleteFolderRequest,Operation>

getFolderSettings()

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

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

Returns
TypeDescription
Builder<GetFolderRequest,Folder>

getIamPolicySettings()

public UnaryCallSettings.Builder<GetIamPolicyRequest,Policy> getIamPolicySettings()

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

Returns
TypeDescription
Builder<com.google.iam.v1.GetIamPolicyRequest,com.google.iam.v1.Policy>

listFoldersSettings()

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

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

Returns
TypeDescription
Builder<ListFoldersRequest,ListFoldersResponse,ListFoldersPagedResponse>

moveFolderOperationSettings()

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

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

Returns
TypeDescription
Builder<MoveFolderRequest,Folder,MoveFolderMetadata>

moveFolderSettings()

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

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

Returns
TypeDescription
Builder<MoveFolderRequest,Operation>

searchFoldersSettings()

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

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

Returns
TypeDescription
Builder<SearchFoldersRequest,SearchFoldersResponse,SearchFoldersPagedResponse>

setIamPolicySettings()

public UnaryCallSettings.Builder<SetIamPolicyRequest,Policy> setIamPolicySettings()

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

Returns
TypeDescription
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
TypeDescription
Builder<com.google.iam.v1.TestIamPermissionsRequest,com.google.iam.v1.TestIamPermissionsResponse>

unaryMethodSettingsBuilders()

public ImmutableList<UnaryCallSettings.Builder<?,?>> unaryMethodSettingsBuilders()
Returns
TypeDescription
com.google.common.collect.ImmutableList<Builder<?,?>>

undeleteFolderOperationSettings()

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

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

Returns
TypeDescription
Builder<UndeleteFolderRequest,Folder,UndeleteFolderMetadata>

undeleteFolderSettings()

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

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

Returns
TypeDescription
Builder<UndeleteFolderRequest,Operation>

updateFolderOperationSettings()

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

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

Returns
TypeDescription
Builder<UpdateFolderRequest,Folder,UpdateFolderMetadata>

updateFolderSettings()

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

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

Returns
TypeDescription
Builder<UpdateFolderRequest,Operation>