public static class FoldersStubSettings.Builder extends StubSettings.Builder<FoldersStubSettings,FoldersStubSettings.Builder>
Builder for FoldersStubSettings.
Constructors
protected Builder(ClientContext clientContext)
protected Builder(FoldersStubSettings settings)
Methods
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.
public FoldersStubSettings build()
Overrides
public OperationCallSettings.Builder<CreateFolderRequest,Folder,CreateFolderMetadata> createFolderOperationSettings()
Beta
The surface for use by generated code is not stable yet and may change in the future.
This feature is covered by the Pre-GA Offerings Terms of the Terms of Service. Pre-GA libraries might have limited support, and changes to pre-GA libraries might not be compatible with other pre-GA versions. For more information, see the launch stage descriptions.
Returns the builder for the settings used for calls to createFolder.
public UnaryCallSettings.Builder<CreateFolderRequest,Operation> createFolderSettings()
Returns the builder for the settings used for calls to createFolder.
public OperationCallSettings.Builder<DeleteFolderRequest,Folder,DeleteFolderMetadata> deleteFolderOperationSettings()
Beta
The surface for use by generated code is not stable yet and may change in the future.
This feature is covered by the Pre-GA Offerings Terms of the Terms of Service. Pre-GA libraries might have limited support, and changes to pre-GA libraries might not be compatible with other pre-GA versions. For more information, see the launch stage descriptions.
Returns the builder for the settings used for calls to deleteFolder.
public UnaryCallSettings.Builder<DeleteFolderRequest,Operation> deleteFolderSettings()
Returns the builder for the settings used for calls to deleteFolder.
public String getEndpoint()
Returns the endpoint set by the user or the the service's default endpoint.
Overrides
public UnaryCallSettings.Builder<GetFolderRequest,Folder> getFolderSettings()
Returns the builder for the settings used for calls to getFolder.
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 PagedCallSettings.Builder<ListFoldersRequest,ListFoldersResponse,FoldersClient.ListFoldersPagedResponse> listFoldersSettings()
Returns the builder for the settings used for calls to listFolders.
public OperationCallSettings.Builder<MoveFolderRequest,Folder,MoveFolderMetadata> moveFolderOperationSettings()
Beta
The surface for use by generated code is not stable yet and may change in the future.
This feature is covered by the Pre-GA Offerings Terms of the Terms of Service. Pre-GA libraries might have limited support, and changes to pre-GA libraries might not be compatible with other pre-GA versions. For more information, see the launch stage descriptions.
Returns the builder for the settings used for calls to moveFolder.
public UnaryCallSettings.Builder<MoveFolderRequest,Operation> moveFolderSettings()
Returns the builder for the settings used for calls to moveFolder.
public PagedCallSettings.Builder<SearchFoldersRequest,SearchFoldersResponse,FoldersClient.SearchFoldersPagedResponse> searchFoldersSettings()
Returns the builder for the settings used for calls to searchFolders.
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 ImmutableList<UnaryCallSettings.Builder<?,?>> unaryMethodSettingsBuilders()
Returns Type Description com.google.common.collect.ImmutableList <Builder <? ,? >>
public OperationCallSettings.Builder<UndeleteFolderRequest,Folder,UndeleteFolderMetadata> undeleteFolderOperationSettings()
Beta
The surface for use by generated code is not stable yet and may change in the future.
This feature is covered by the Pre-GA Offerings Terms of the Terms of Service. Pre-GA libraries might have limited support, and changes to pre-GA libraries might not be compatible with other pre-GA versions. For more information, see the launch stage descriptions.
Returns the builder for the settings used for calls to undeleteFolder.
public UnaryCallSettings.Builder<UndeleteFolderRequest,Operation> undeleteFolderSettings()
Returns the builder for the settings used for calls to undeleteFolder.
public OperationCallSettings.Builder<UpdateFolderRequest,Folder,UpdateFolderMetadata> updateFolderOperationSettings()
Beta
The surface for use by generated code is not stable yet and may change in the future.
This feature is covered by the Pre-GA Offerings Terms of the Terms of Service. Pre-GA libraries might have limited support, and changes to pre-GA libraries might not be compatible with other pre-GA versions. For more information, see the launch stage descriptions.
Returns the builder for the settings used for calls to updateFolder.
public UnaryCallSettings.Builder<UpdateFolderRequest,Operation> updateFolderSettings()
Returns the builder for the settings used for calls to updateFolder.