Class FoldersStubSettings.Builder
- java.lang.Object
-
- com.google.api.gax.rpc.StubSettings.Builder<FoldersStubSettings,FoldersStubSettings.Builder>
-
- com.google.cloud.resourcemanager.v3.stub.FoldersStubSettings.Builder
-
- Enclosing class:
- FoldersStubSettings
public static class FoldersStubSettings.Builder extends com.google.api.gax.rpc.StubSettings.Builder<FoldersStubSettings,FoldersStubSettings.Builder>
Builder for FoldersStubSettings.
-
-
Constructor Summary
Constructors Modifier Constructor Description protected
Builder()
protected
Builder(com.google.api.gax.rpc.ClientContext clientContext)
protected
Builder(FoldersStubSettings settings)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description FoldersStubSettings.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.FoldersStubSettings
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.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.common.collect.ImmutableList<com.google.api.gax.rpc.UnaryCallSettings.Builder<?,?>>
unaryMethodSettingsBuilders()
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.StubSettings.Builder
applyToAllUnaryMethods, getBackgroundExecutorProvider, getClock, getCredentialsProvider, getEndpoint, getExecutorProvider, getGdchApiAudience, getHeaderProvider, getInternalHeaderProvider, getMtlsEndpoint, getQuotaProjectId, getStreamWatchdogCheckInterval, getStreamWatchdogProvider, getTracerFactory, getTransportChannelProvider, self, setBackgroundExecutorProvider, setClock, setCredentialsProvider, setEndpoint, setExecutorProvider, setGdchApiAudience, setHeaderProvider, setInternalHeaderProvider, setMtlsEndpoint, setQuotaProjectId, setStreamWatchdogCheckInterval, setStreamWatchdogProvider, setSwitchToMtlsEndpointAllowed, setTracerFactory, setTransportChannelProvider, toString
-
-
-
-
Constructor Detail
-
Builder
protected Builder()
-
Builder
protected Builder(com.google.api.gax.rpc.ClientContext clientContext)
-
Builder
protected Builder(FoldersStubSettings settings)
-
-
Method Detail
-
applyToAllUnaryMethods
public FoldersStubSettings.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.
-
unaryMethodSettingsBuilders
public com.google.common.collect.ImmutableList<com.google.api.gax.rpc.UnaryCallSettings.Builder<?,?>> unaryMethodSettingsBuilders()
-
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
@BetaApi("The surface for use by generated code is not stable yet and may change in the future.") 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
@BetaApi("The surface for use by generated code is not stable yet and may change in the future.") 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
@BetaApi("The surface for use by generated code is not stable yet and may change in the future.") 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
@BetaApi("The surface for use by generated code is not stable yet and may change in the future.") 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
@BetaApi("The surface for use by generated code is not stable yet and may change in the future.") 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 FoldersStubSettings build() throws IOException
- Specified by:
build
in classcom.google.api.gax.rpc.StubSettings.Builder<FoldersStubSettings,FoldersStubSettings.Builder>
- Throws:
IOException
-
-