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