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