Class ProjectsSettings.Builder
- java.lang.Object
-
- com.google.api.gax.rpc.ClientSettings.Builder<ProjectsSettings,ProjectsSettings.Builder>
-
- com.google.cloud.resourcemanager.v3.ProjectsSettings.Builder
-
- Enclosing class:
- ProjectsSettings
public static class ProjectsSettings.Builder extends com.google.api.gax.rpc.ClientSettings.Builder<ProjectsSettings,ProjectsSettings.Builder>
Builder for ProjectsSettings.
-
-
Constructor Summary
Constructors Modifier Constructor Description protected
Builder()
protected
Builder(com.google.api.gax.rpc.ClientContext clientContext)
protected
Builder(ProjectsSettings settings)
protected
Builder(ProjectsStubSettings.Builder stubSettings)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description ProjectsSettings.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.ProjectsSettings
build()
com.google.api.gax.rpc.OperationCallSettings.Builder<CreateProjectRequest,Project,CreateProjectMetadata>
createProjectOperationSettings()
Returns the builder for the settings used for calls to createProject.com.google.api.gax.rpc.UnaryCallSettings.Builder<CreateProjectRequest,com.google.longrunning.Operation>
createProjectSettings()
Returns the builder for the settings used for calls to createProject.com.google.api.gax.rpc.OperationCallSettings.Builder<DeleteProjectRequest,Project,DeleteProjectMetadata>
deleteProjectOperationSettings()
Returns the builder for the settings used for calls to deleteProject.com.google.api.gax.rpc.UnaryCallSettings.Builder<DeleteProjectRequest,com.google.longrunning.Operation>
deleteProjectSettings()
Returns the builder for the settings used for calls to deleteProject.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.UnaryCallSettings.Builder<GetProjectRequest,Project>
getProjectSettings()
Returns the builder for the settings used for calls to getProject.ProjectsStubSettings.Builder
getStubSettingsBuilder()
com.google.api.gax.rpc.PagedCallSettings.Builder<ListProjectsRequest,ListProjectsResponse,ProjectsClient.ListProjectsPagedResponse>
listProjectsSettings()
Returns the builder for the settings used for calls to listProjects.com.google.api.gax.rpc.OperationCallSettings.Builder<MoveProjectRequest,Project,MoveProjectMetadata>
moveProjectOperationSettings()
Returns the builder for the settings used for calls to moveProject.com.google.api.gax.rpc.UnaryCallSettings.Builder<MoveProjectRequest,com.google.longrunning.Operation>
moveProjectSettings()
Returns the builder for the settings used for calls to moveProject.com.google.api.gax.rpc.PagedCallSettings.Builder<SearchProjectsRequest,SearchProjectsResponse,ProjectsClient.SearchProjectsPagedResponse>
searchProjectsSettings()
Returns the builder for the settings used for calls to searchProjects.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.api.gax.rpc.OperationCallSettings.Builder<UndeleteProjectRequest,Project,UndeleteProjectMetadata>
undeleteProjectOperationSettings()
Returns the builder for the settings used for calls to undeleteProject.com.google.api.gax.rpc.UnaryCallSettings.Builder<UndeleteProjectRequest,com.google.longrunning.Operation>
undeleteProjectSettings()
Returns the builder for the settings used for calls to undeleteProject.com.google.api.gax.rpc.OperationCallSettings.Builder<UpdateProjectRequest,Project,UpdateProjectMetadata>
updateProjectOperationSettings()
Returns the builder for the settings used for calls to updateProject.com.google.api.gax.rpc.UnaryCallSettings.Builder<UpdateProjectRequest,com.google.longrunning.Operation>
updateProjectSettings()
Returns the builder for the settings used for calls to updateProject.-
Methods inherited from class com.google.api.gax.rpc.ClientSettings.Builder
applyToAllUnaryMethods, getBackgroundExecutorProvider, getClock, getCredentialsProvider, getEndpoint, getExecutorProvider, getGdchApiAudience, getHeaderProvider, getInternalHeaderProvider, getQuotaProjectId, getStubSettings, getTransportChannelProvider, getWatchdogCheckInterval, getWatchdogProvider, self, setBackgroundExecutorProvider, setClock, setCredentialsProvider, setEndpoint, setExecutorProvider, setGdchApiAudience, setHeaderProvider, setInternalHeaderProvider, setQuotaProjectId, setTransportChannelProvider, setWatchdogCheckInterval, setWatchdogProvider, toString
-
-
-
-
Constructor Detail
-
Builder
protected Builder() throws IOException
- Throws:
IOException
-
Builder
protected Builder(com.google.api.gax.rpc.ClientContext clientContext)
-
Builder
protected Builder(ProjectsSettings settings)
-
Builder
protected Builder(ProjectsStubSettings.Builder stubSettings)
-
-
Method Detail
-
getStubSettingsBuilder
public ProjectsStubSettings.Builder getStubSettingsBuilder()
-
applyToAllUnaryMethods
public ProjectsSettings.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.
-
getProjectSettings
public com.google.api.gax.rpc.UnaryCallSettings.Builder<GetProjectRequest,Project> getProjectSettings()
Returns the builder for the settings used for calls to getProject.
-
listProjectsSettings
public com.google.api.gax.rpc.PagedCallSettings.Builder<ListProjectsRequest,ListProjectsResponse,ProjectsClient.ListProjectsPagedResponse> listProjectsSettings()
Returns the builder for the settings used for calls to listProjects.
-
searchProjectsSettings
public com.google.api.gax.rpc.PagedCallSettings.Builder<SearchProjectsRequest,SearchProjectsResponse,ProjectsClient.SearchProjectsPagedResponse> searchProjectsSettings()
Returns the builder for the settings used for calls to searchProjects.
-
createProjectSettings
public com.google.api.gax.rpc.UnaryCallSettings.Builder<CreateProjectRequest,com.google.longrunning.Operation> createProjectSettings()
Returns the builder for the settings used for calls to createProject.
-
createProjectOperationSettings
public com.google.api.gax.rpc.OperationCallSettings.Builder<CreateProjectRequest,Project,CreateProjectMetadata> createProjectOperationSettings()
Returns the builder for the settings used for calls to createProject.
-
updateProjectSettings
public com.google.api.gax.rpc.UnaryCallSettings.Builder<UpdateProjectRequest,com.google.longrunning.Operation> updateProjectSettings()
Returns the builder for the settings used for calls to updateProject.
-
updateProjectOperationSettings
public com.google.api.gax.rpc.OperationCallSettings.Builder<UpdateProjectRequest,Project,UpdateProjectMetadata> updateProjectOperationSettings()
Returns the builder for the settings used for calls to updateProject.
-
moveProjectSettings
public com.google.api.gax.rpc.UnaryCallSettings.Builder<MoveProjectRequest,com.google.longrunning.Operation> moveProjectSettings()
Returns the builder for the settings used for calls to moveProject.
-
moveProjectOperationSettings
public com.google.api.gax.rpc.OperationCallSettings.Builder<MoveProjectRequest,Project,MoveProjectMetadata> moveProjectOperationSettings()
Returns the builder for the settings used for calls to moveProject.
-
deleteProjectSettings
public com.google.api.gax.rpc.UnaryCallSettings.Builder<DeleteProjectRequest,com.google.longrunning.Operation> deleteProjectSettings()
Returns the builder for the settings used for calls to deleteProject.
-
deleteProjectOperationSettings
public com.google.api.gax.rpc.OperationCallSettings.Builder<DeleteProjectRequest,Project,DeleteProjectMetadata> deleteProjectOperationSettings()
Returns the builder for the settings used for calls to deleteProject.
-
undeleteProjectSettings
public com.google.api.gax.rpc.UnaryCallSettings.Builder<UndeleteProjectRequest,com.google.longrunning.Operation> undeleteProjectSettings()
Returns the builder for the settings used for calls to undeleteProject.
-
undeleteProjectOperationSettings
public com.google.api.gax.rpc.OperationCallSettings.Builder<UndeleteProjectRequest,Project,UndeleteProjectMetadata> undeleteProjectOperationSettings()
Returns the builder for the settings used for calls to undeleteProject.
-
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 ProjectsSettings build() throws IOException
- Specified by:
build
in classcom.google.api.gax.rpc.ClientSettings.Builder<ProjectsSettings,ProjectsSettings.Builder>
- Throws:
IOException
-
-