Class ProjectsStubSettings.Builder
- java.lang.Object
-
- com.google.api.gax.rpc.StubSettings.Builder<ProjectsStubSettings,ProjectsStubSettings.Builder>
-
- com.google.cloud.resourcemanager.v3.stub.ProjectsStubSettings.Builder
-
- Enclosing class:
- ProjectsStubSettings
public static class ProjectsStubSettings.Builder extends com.google.api.gax.rpc.StubSettings.Builder<ProjectsStubSettings,ProjectsStubSettings.Builder>
Builder for ProjectsStubSettings.
-
-
Constructor Summary
Constructors Modifier Constructor Description protected
Builder()
protected
Builder(com.google.api.gax.rpc.ClientContext clientContext)
protected
Builder(ProjectsStubSettings settings)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description ProjectsStubSettings.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.ProjectsStubSettings
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.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.common.collect.ImmutableList<com.google.api.gax.rpc.UnaryCallSettings.Builder<?,?>>
unaryMethodSettingsBuilders()
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.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(ProjectsStubSettings settings)
-
-
Method Detail
-
applyToAllUnaryMethods
public ProjectsStubSettings.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()
-
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
@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<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
@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<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
@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<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
@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<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
@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<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 ProjectsStubSettings build() throws IOException
- Specified by:
build
in classcom.google.api.gax.rpc.StubSettings.Builder<ProjectsStubSettings,ProjectsStubSettings.Builder>
- Throws:
IOException
-
-