Class RegistrySettings.Builder (0.44.0)

public static class RegistrySettings.Builder extends ClientSettings.Builder<RegistrySettings,RegistrySettings.Builder>

Builder for RegistrySettings.

Inheritance

java.lang.Object > ClientSettings.Builder > RegistrySettings.Builder

Constructors

Builder()

protected Builder()

Builder(ClientContext clientContext)

protected Builder(ClientContext clientContext)
Parameter
Name Description
clientContext ClientContext

Builder(RegistrySettings settings)

protected Builder(RegistrySettings settings)
Parameter
Name Description
settings RegistrySettings

Builder(RegistryStubSettings.Builder stubSettings)

protected Builder(RegistryStubSettings.Builder stubSettings)
Parameter
Name Description
stubSettings RegistryStubSettings.Builder

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
Name Description
settingsUpdater ApiFunction<Builder<?,?>,java.lang.Void>
Returns
Type Description
RegistrySettings.Builder

build()

public RegistrySettings build()
Returns
Type Description
RegistrySettings
Overrides
Exceptions
Type Description
IOException

createApiDeploymentSettings()

public UnaryCallSettings.Builder<CreateApiDeploymentRequest,ApiDeployment> createApiDeploymentSettings()

Returns the builder for the settings used for calls to createApiDeployment.

Returns
Type Description
Builder<CreateApiDeploymentRequest,ApiDeployment>

createApiSettings()

public UnaryCallSettings.Builder<CreateApiRequest,Api> createApiSettings()

Returns the builder for the settings used for calls to createApi.

Returns
Type Description
Builder<CreateApiRequest,Api>

createApiSpecSettings()

public UnaryCallSettings.Builder<CreateApiSpecRequest,ApiSpec> createApiSpecSettings()

Returns the builder for the settings used for calls to createApiSpec.

Returns
Type Description
Builder<CreateApiSpecRequest,ApiSpec>

createApiVersionSettings()

public UnaryCallSettings.Builder<CreateApiVersionRequest,ApiVersion> createApiVersionSettings()

Returns the builder for the settings used for calls to createApiVersion.

Returns
Type Description
Builder<CreateApiVersionRequest,ApiVersion>

createArtifactSettings()

public UnaryCallSettings.Builder<CreateArtifactRequest,Artifact> createArtifactSettings()

Returns the builder for the settings used for calls to createArtifact.

Returns
Type Description
Builder<CreateArtifactRequest,Artifact>

deleteApiDeploymentRevisionSettings()

public UnaryCallSettings.Builder<DeleteApiDeploymentRevisionRequest,ApiDeployment> deleteApiDeploymentRevisionSettings()

Returns the builder for the settings used for calls to deleteApiDeploymentRevision.

Returns
Type Description
Builder<DeleteApiDeploymentRevisionRequest,ApiDeployment>

deleteApiDeploymentSettings()

public UnaryCallSettings.Builder<DeleteApiDeploymentRequest,Empty> deleteApiDeploymentSettings()

Returns the builder for the settings used for calls to deleteApiDeployment.

Returns
Type Description
Builder<DeleteApiDeploymentRequest,Empty>

deleteApiSettings()

public UnaryCallSettings.Builder<DeleteApiRequest,Empty> deleteApiSettings()

Returns the builder for the settings used for calls to deleteApi.

Returns
Type Description
Builder<DeleteApiRequest,Empty>

deleteApiSpecRevisionSettings()

public UnaryCallSettings.Builder<DeleteApiSpecRevisionRequest,ApiSpec> deleteApiSpecRevisionSettings()

Returns the builder for the settings used for calls to deleteApiSpecRevision.

Returns
Type Description
Builder<DeleteApiSpecRevisionRequest,ApiSpec>

deleteApiSpecSettings()

public UnaryCallSettings.Builder<DeleteApiSpecRequest,Empty> deleteApiSpecSettings()

Returns the builder for the settings used for calls to deleteApiSpec.

Returns
Type Description
Builder<DeleteApiSpecRequest,Empty>

deleteApiVersionSettings()

public UnaryCallSettings.Builder<DeleteApiVersionRequest,Empty> deleteApiVersionSettings()

Returns the builder for the settings used for calls to deleteApiVersion.

Returns
Type Description
Builder<DeleteApiVersionRequest,Empty>

deleteArtifactSettings()

public UnaryCallSettings.Builder<DeleteArtifactRequest,Empty> deleteArtifactSettings()

Returns the builder for the settings used for calls to deleteArtifact.

Returns
Type Description
Builder<DeleteArtifactRequest,Empty>

getApiDeploymentSettings()

public UnaryCallSettings.Builder<GetApiDeploymentRequest,ApiDeployment> getApiDeploymentSettings()

Returns the builder for the settings used for calls to getApiDeployment.

Returns
Type Description
Builder<GetApiDeploymentRequest,ApiDeployment>

getApiSettings()

public UnaryCallSettings.Builder<GetApiRequest,Api> getApiSettings()

Returns the builder for the settings used for calls to getApi.

Returns
Type Description
Builder<GetApiRequest,Api>

getApiSpecContentsSettings()

public UnaryCallSettings.Builder<GetApiSpecContentsRequest,HttpBody> getApiSpecContentsSettings()

Returns the builder for the settings used for calls to getApiSpecContents.

Returns
Type Description
Builder<GetApiSpecContentsRequest,com.google.api.HttpBody>

getApiSpecSettings()

public UnaryCallSettings.Builder<GetApiSpecRequest,ApiSpec> getApiSpecSettings()

Returns the builder for the settings used for calls to getApiSpec.

Returns
Type Description
Builder<GetApiSpecRequest,ApiSpec>

getApiVersionSettings()

public UnaryCallSettings.Builder<GetApiVersionRequest,ApiVersion> getApiVersionSettings()

Returns the builder for the settings used for calls to getApiVersion.

Returns
Type Description
Builder<GetApiVersionRequest,ApiVersion>

getArtifactContentsSettings()

public UnaryCallSettings.Builder<GetArtifactContentsRequest,HttpBody> getArtifactContentsSettings()

Returns the builder for the settings used for calls to getArtifactContents.

Returns
Type Description
Builder<GetArtifactContentsRequest,com.google.api.HttpBody>

getArtifactSettings()

public UnaryCallSettings.Builder<GetArtifactRequest,Artifact> getArtifactSettings()

Returns the builder for the settings used for calls to getArtifact.

Returns
Type Description
Builder<GetArtifactRequest,Artifact>

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
Type Description
RegistryStubSettings.Builder

listApiDeploymentRevisionsSettings()

public PagedCallSettings.Builder<ListApiDeploymentRevisionsRequest,ListApiDeploymentRevisionsResponse,RegistryClient.ListApiDeploymentRevisionsPagedResponse> listApiDeploymentRevisionsSettings()

Returns the builder for the settings used for calls to listApiDeploymentRevisions.

Returns
Type Description
Builder<ListApiDeploymentRevisionsRequest,ListApiDeploymentRevisionsResponse,ListApiDeploymentRevisionsPagedResponse>

listApiDeploymentsSettings()

public PagedCallSettings.Builder<ListApiDeploymentsRequest,ListApiDeploymentsResponse,RegistryClient.ListApiDeploymentsPagedResponse> listApiDeploymentsSettings()

Returns the builder for the settings used for calls to listApiDeployments.

Returns
Type Description
Builder<ListApiDeploymentsRequest,ListApiDeploymentsResponse,ListApiDeploymentsPagedResponse>

listApiSpecRevisionsSettings()

public PagedCallSettings.Builder<ListApiSpecRevisionsRequest,ListApiSpecRevisionsResponse,RegistryClient.ListApiSpecRevisionsPagedResponse> listApiSpecRevisionsSettings()

Returns the builder for the settings used for calls to listApiSpecRevisions.

Returns
Type Description
Builder<ListApiSpecRevisionsRequest,ListApiSpecRevisionsResponse,ListApiSpecRevisionsPagedResponse>

listApiSpecsSettings()

public PagedCallSettings.Builder<ListApiSpecsRequest,ListApiSpecsResponse,RegistryClient.ListApiSpecsPagedResponse> listApiSpecsSettings()

Returns the builder for the settings used for calls to listApiSpecs.

Returns
Type Description
Builder<ListApiSpecsRequest,ListApiSpecsResponse,ListApiSpecsPagedResponse>

listApiVersionsSettings()

public PagedCallSettings.Builder<ListApiVersionsRequest,ListApiVersionsResponse,RegistryClient.ListApiVersionsPagedResponse> listApiVersionsSettings()

Returns the builder for the settings used for calls to listApiVersions.

Returns
Type Description
Builder<ListApiVersionsRequest,ListApiVersionsResponse,ListApiVersionsPagedResponse>

listApisSettings()

public PagedCallSettings.Builder<ListApisRequest,ListApisResponse,RegistryClient.ListApisPagedResponse> listApisSettings()

Returns the builder for the settings used for calls to listApis.

Returns
Type Description
Builder<ListApisRequest,ListApisResponse,ListApisPagedResponse>

listArtifactsSettings()

public PagedCallSettings.Builder<ListArtifactsRequest,ListArtifactsResponse,RegistryClient.ListArtifactsPagedResponse> listArtifactsSettings()

Returns the builder for the settings used for calls to listArtifacts.

Returns
Type Description
Builder<ListArtifactsRequest,ListArtifactsResponse,ListArtifactsPagedResponse>

listLocationsSettings()

public PagedCallSettings.Builder<ListLocationsRequest,ListLocationsResponse,RegistryClient.ListLocationsPagedResponse> listLocationsSettings()

Returns the builder for the settings used for calls to listLocations.

Returns
Type Description
Builder<com.google.cloud.location.ListLocationsRequest,com.google.cloud.location.ListLocationsResponse,ListLocationsPagedResponse>

replaceArtifactSettings()

public UnaryCallSettings.Builder<ReplaceArtifactRequest,Artifact> replaceArtifactSettings()

Returns the builder for the settings used for calls to replaceArtifact.

Returns
Type Description
Builder<ReplaceArtifactRequest,Artifact>

rollbackApiDeploymentSettings()

public UnaryCallSettings.Builder<RollbackApiDeploymentRequest,ApiDeployment> rollbackApiDeploymentSettings()

Returns the builder for the settings used for calls to rollbackApiDeployment.

Returns
Type Description
Builder<RollbackApiDeploymentRequest,ApiDeployment>

rollbackApiSpecSettings()

public UnaryCallSettings.Builder<RollbackApiSpecRequest,ApiSpec> rollbackApiSpecSettings()

Returns the builder for the settings used for calls to rollbackApiSpec.

Returns
Type Description
Builder<RollbackApiSpecRequest,ApiSpec>

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
Type Description
Builder<TagApiDeploymentRevisionRequest,ApiDeployment>

tagApiSpecRevisionSettings()

public UnaryCallSettings.Builder<TagApiSpecRevisionRequest,ApiSpec> tagApiSpecRevisionSettings()

Returns the builder for the settings used for calls to tagApiSpecRevision.

Returns
Type Description
Builder<TagApiSpecRevisionRequest,ApiSpec>

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
Type Description
Builder<UpdateApiDeploymentRequest,ApiDeployment>

updateApiSettings()

public UnaryCallSettings.Builder<UpdateApiRequest,Api> updateApiSettings()

Returns the builder for the settings used for calls to updateApi.

Returns
Type Description
Builder<UpdateApiRequest,Api>

updateApiSpecSettings()

public UnaryCallSettings.Builder<UpdateApiSpecRequest,ApiSpec> updateApiSpecSettings()

Returns the builder for the settings used for calls to updateApiSpec.

Returns
Type Description
Builder<UpdateApiSpecRequest,ApiSpec>

updateApiVersionSettings()

public UnaryCallSettings.Builder<UpdateApiVersionRequest,ApiVersion> updateApiVersionSettings()

Returns the builder for the settings used for calls to updateApiVersion.

Returns
Type Description
Builder<UpdateApiVersionRequest,ApiVersion>