public static class RegistrySettings.Builder extends ClientSettings.Builder<RegistrySettings,RegistrySettings.Builder>
Builder for RegistrySettings.
Constructors
Builder()
Builder(ClientContext clientContext)
protected Builder(ClientContext clientContext)
Parameter
Builder(RegistrySettings settings)
protected Builder(RegistrySettings settings)
Parameter
Builder(RegistryStubSettings.Builder stubSettings)
protected Builder(RegistryStubSettings.Builder stubSettings)
Parameter
Methods
applyToAllUnaryMethods(ApiFunction<UnaryCallSettings.Builder<?,?>,Void> settingsUpdater)
public RegistrySettings.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
Returns
build()
public RegistrySettings build()
Returns
Overrides
Exceptions
createApiDeploymentSettings()
public UnaryCallSettings.Builder<CreateApiDeploymentRequest,ApiDeployment> createApiDeploymentSettings()
Returns the builder for the settings used for calls to createApiDeployment.
Returns
createApiSettings()
public UnaryCallSettings.Builder<CreateApiRequest,Api> createApiSettings()
Returns the builder for the settings used for calls to createApi.
Returns
createApiSpecSettings()
public UnaryCallSettings.Builder<CreateApiSpecRequest,ApiSpec> createApiSpecSettings()
Returns the builder for the settings used for calls to createApiSpec.
Returns
createApiVersionSettings()
public UnaryCallSettings.Builder<CreateApiVersionRequest,ApiVersion> createApiVersionSettings()
Returns the builder for the settings used for calls to createApiVersion.
Returns
createArtifactSettings()
public UnaryCallSettings.Builder<CreateArtifactRequest,Artifact> createArtifactSettings()
Returns the builder for the settings used for calls to createArtifact.
Returns
deleteApiDeploymentRevisionSettings()
public UnaryCallSettings.Builder<DeleteApiDeploymentRevisionRequest,ApiDeployment> deleteApiDeploymentRevisionSettings()
Returns the builder for the settings used for calls to deleteApiDeploymentRevision.
Returns
deleteApiDeploymentSettings()
public UnaryCallSettings.Builder<DeleteApiDeploymentRequest,Empty> deleteApiDeploymentSettings()
Returns the builder for the settings used for calls to deleteApiDeployment.
Returns
deleteApiSettings()
public UnaryCallSettings.Builder<DeleteApiRequest,Empty> deleteApiSettings()
Returns the builder for the settings used for calls to deleteApi.
Returns
deleteApiSpecRevisionSettings()
public UnaryCallSettings.Builder<DeleteApiSpecRevisionRequest,ApiSpec> deleteApiSpecRevisionSettings()
Returns the builder for the settings used for calls to deleteApiSpecRevision.
Returns
deleteApiSpecSettings()
public UnaryCallSettings.Builder<DeleteApiSpecRequest,Empty> deleteApiSpecSettings()
Returns the builder for the settings used for calls to deleteApiSpec.
Returns
deleteApiVersionSettings()
public UnaryCallSettings.Builder<DeleteApiVersionRequest,Empty> deleteApiVersionSettings()
Returns the builder for the settings used for calls to deleteApiVersion.
Returns
deleteArtifactSettings()
public UnaryCallSettings.Builder<DeleteArtifactRequest,Empty> deleteArtifactSettings()
Returns the builder for the settings used for calls to deleteArtifact.
Returns
getApiDeploymentSettings()
public UnaryCallSettings.Builder<GetApiDeploymentRequest,ApiDeployment> getApiDeploymentSettings()
Returns the builder for the settings used for calls to getApiDeployment.
Returns
getApiSettings()
public UnaryCallSettings.Builder<GetApiRequest,Api> getApiSettings()
Returns the builder for the settings used for calls to getApi.
Returns
getApiSpecContentsSettings()
public UnaryCallSettings.Builder<GetApiSpecContentsRequest,HttpBody> getApiSpecContentsSettings()
Returns the builder for the settings used for calls to getApiSpecContents.
Returns
getApiSpecSettings()
public UnaryCallSettings.Builder<GetApiSpecRequest,ApiSpec> getApiSpecSettings()
Returns the builder for the settings used for calls to getApiSpec.
Returns
getApiVersionSettings()
public UnaryCallSettings.Builder<GetApiVersionRequest,ApiVersion> getApiVersionSettings()
Returns the builder for the settings used for calls to getApiVersion.
Returns
getArtifactContentsSettings()
public UnaryCallSettings.Builder<GetArtifactContentsRequest,HttpBody> getArtifactContentsSettings()
Returns the builder for the settings used for calls to getArtifactContents.
Returns
getArtifactSettings()
public UnaryCallSettings.Builder<GetArtifactRequest,Artifact> getArtifactSettings()
Returns the builder for the settings used for calls to getArtifact.
Returns
getIamPolicySettings()
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> | |
getLocationSettings()
public UnaryCallSettings.Builder<GetLocationRequest,Location> getLocationSettings()
Returns the builder for the settings used for calls to getLocation.
Returns
Type | Description |
Builder<com.google.cloud.location.GetLocationRequest,com.google.cloud.location.Location> | |
getStubSettingsBuilder()
public RegistryStubSettings.Builder getStubSettingsBuilder()
Returns
listApiDeploymentRevisionsSettings()
public PagedCallSettings.Builder<ListApiDeploymentRevisionsRequest,ListApiDeploymentRevisionsResponse,RegistryClient.ListApiDeploymentRevisionsPagedResponse> listApiDeploymentRevisionsSettings()
Returns the builder for the settings used for calls to listApiDeploymentRevisions.
Returns
listApiDeploymentsSettings()
public PagedCallSettings.Builder<ListApiDeploymentsRequest,ListApiDeploymentsResponse,RegistryClient.ListApiDeploymentsPagedResponse> listApiDeploymentsSettings()
Returns the builder for the settings used for calls to listApiDeployments.
Returns
listApiSpecRevisionsSettings()
public PagedCallSettings.Builder<ListApiSpecRevisionsRequest,ListApiSpecRevisionsResponse,RegistryClient.ListApiSpecRevisionsPagedResponse> listApiSpecRevisionsSettings()
Returns the builder for the settings used for calls to listApiSpecRevisions.
Returns
listApiSpecsSettings()
public PagedCallSettings.Builder<ListApiSpecsRequest,ListApiSpecsResponse,RegistryClient.ListApiSpecsPagedResponse> listApiSpecsSettings()
Returns the builder for the settings used for calls to listApiSpecs.
Returns
listApiVersionsSettings()
public PagedCallSettings.Builder<ListApiVersionsRequest,ListApiVersionsResponse,RegistryClient.ListApiVersionsPagedResponse> listApiVersionsSettings()
Returns the builder for the settings used for calls to listApiVersions.
Returns
listApisSettings()
public PagedCallSettings.Builder<ListApisRequest,ListApisResponse,RegistryClient.ListApisPagedResponse> listApisSettings()
Returns the builder for the settings used for calls to listApis.
Returns
listArtifactsSettings()
public PagedCallSettings.Builder<ListArtifactsRequest,ListArtifactsResponse,RegistryClient.ListArtifactsPagedResponse> listArtifactsSettings()
Returns the builder for the settings used for calls to listArtifacts.
Returns
listLocationsSettings()
public PagedCallSettings.Builder<ListLocationsRequest,ListLocationsResponse,RegistryClient.ListLocationsPagedResponse> listLocationsSettings()
Returns the builder for the settings used for calls to listLocations.
Returns
replaceArtifactSettings()
public UnaryCallSettings.Builder<ReplaceArtifactRequest,Artifact> replaceArtifactSettings()
Returns the builder for the settings used for calls to replaceArtifact.
Returns
rollbackApiDeploymentSettings()
public UnaryCallSettings.Builder<RollbackApiDeploymentRequest,ApiDeployment> rollbackApiDeploymentSettings()
Returns the builder for the settings used for calls to rollbackApiDeployment.
Returns
rollbackApiSpecSettings()
public UnaryCallSettings.Builder<RollbackApiSpecRequest,ApiSpec> rollbackApiSpecSettings()
Returns the builder for the settings used for calls to rollbackApiSpec.
Returns
setIamPolicySettings()
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> | |
tagApiDeploymentRevisionSettings()
public UnaryCallSettings.Builder<TagApiDeploymentRevisionRequest,ApiDeployment> tagApiDeploymentRevisionSettings()
Returns the builder for the settings used for calls to tagApiDeploymentRevision.
Returns
tagApiSpecRevisionSettings()
public UnaryCallSettings.Builder<TagApiSpecRevisionRequest,ApiSpec> tagApiSpecRevisionSettings()
Returns the builder for the settings used for calls to tagApiSpecRevision.
Returns
testIamPermissionsSettings()
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> | |
updateApiDeploymentSettings()
public UnaryCallSettings.Builder<UpdateApiDeploymentRequest,ApiDeployment> updateApiDeploymentSettings()
Returns the builder for the settings used for calls to updateApiDeployment.
Returns
updateApiSettings()
public UnaryCallSettings.Builder<UpdateApiRequest,Api> updateApiSettings()
Returns the builder for the settings used for calls to updateApi.
Returns
updateApiSpecSettings()
public UnaryCallSettings.Builder<UpdateApiSpecRequest,ApiSpec> updateApiSpecSettings()
Returns the builder for the settings used for calls to updateApiSpec.
Returns
updateApiVersionSettings()
public UnaryCallSettings.Builder<UpdateApiVersionRequest,ApiVersion> updateApiVersionSettings()
Returns the builder for the settings used for calls to updateApiVersion.
Returns