Class CertificateManagerSettings


  • @Generated("by gapic-generator-java")
    public class CertificateManagerSettings
    extends com.google.api.gax.rpc.ClientSettings<CertificateManagerSettings>
    Settings class to configure an instance of CertificateManagerClient.

    The default instance has everything set to sensible defaults:

    • The default service address (certificatemanager.googleapis.com) and default port (443) are used.
    • Credentials are acquired automatically through Application Default Credentials.
    • Retries are configured for idempotent methods but not for non-idempotent methods.

    The builder of this class is recursive, so contained classes are themselves builders. When build() is called, the tree of builders is called to create the complete settings object.

    For example, to set the total timeout of getCertificate to 30 seconds:

    
     // This snippet has been automatically generated and should be regarded as a code template only.
     // It will require modifications to work:
     // - It may require correct/in-range values for request initialization.
     // - It may require specifying regional endpoints when creating the service client as shown in
     // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
     CertificateManagerSettings.Builder certificateManagerSettingsBuilder =
         CertificateManagerSettings.newBuilder();
     certificateManagerSettingsBuilder
         .getCertificateSettings()
         .setRetrySettings(
             certificateManagerSettingsBuilder
                 .getCertificateSettings()
                 .getRetrySettings()
                 .toBuilder()
                 .setTotalTimeout(Duration.ofSeconds(30))
                 .build());
     CertificateManagerSettings certificateManagerSettings =
         certificateManagerSettingsBuilder.build();
     
    • Method Detail

      • getCertificateSettings

        public com.google.api.gax.rpc.UnaryCallSettings<GetCertificateRequest,​Certificate> getCertificateSettings()
        Returns the object with the settings used for calls to getCertificate.
      • createCertificateSettings

        public com.google.api.gax.rpc.UnaryCallSettings<CreateCertificateRequest,​com.google.longrunning.Operation> createCertificateSettings()
        Returns the object with the settings used for calls to createCertificate.
      • createCertificateOperationSettings

        public com.google.api.gax.rpc.OperationCallSettings<CreateCertificateRequest,​Certificate,​OperationMetadata> createCertificateOperationSettings()
        Returns the object with the settings used for calls to createCertificate.
      • updateCertificateSettings

        public com.google.api.gax.rpc.UnaryCallSettings<UpdateCertificateRequest,​com.google.longrunning.Operation> updateCertificateSettings()
        Returns the object with the settings used for calls to updateCertificate.
      • updateCertificateOperationSettings

        public com.google.api.gax.rpc.OperationCallSettings<UpdateCertificateRequest,​Certificate,​OperationMetadata> updateCertificateOperationSettings()
        Returns the object with the settings used for calls to updateCertificate.
      • deleteCertificateSettings

        public com.google.api.gax.rpc.UnaryCallSettings<DeleteCertificateRequest,​com.google.longrunning.Operation> deleteCertificateSettings()
        Returns the object with the settings used for calls to deleteCertificate.
      • deleteCertificateOperationSettings

        public com.google.api.gax.rpc.OperationCallSettings<DeleteCertificateRequest,​com.google.protobuf.Empty,​OperationMetadata> deleteCertificateOperationSettings()
        Returns the object with the settings used for calls to deleteCertificate.
      • getCertificateMapSettings

        public com.google.api.gax.rpc.UnaryCallSettings<GetCertificateMapRequest,​CertificateMap> getCertificateMapSettings()
        Returns the object with the settings used for calls to getCertificateMap.
      • createCertificateMapSettings

        public com.google.api.gax.rpc.UnaryCallSettings<CreateCertificateMapRequest,​com.google.longrunning.Operation> createCertificateMapSettings()
        Returns the object with the settings used for calls to createCertificateMap.
      • updateCertificateMapSettings

        public com.google.api.gax.rpc.UnaryCallSettings<UpdateCertificateMapRequest,​com.google.longrunning.Operation> updateCertificateMapSettings()
        Returns the object with the settings used for calls to updateCertificateMap.
      • deleteCertificateMapSettings

        public com.google.api.gax.rpc.UnaryCallSettings<DeleteCertificateMapRequest,​com.google.longrunning.Operation> deleteCertificateMapSettings()
        Returns the object with the settings used for calls to deleteCertificateMap.
      • deleteCertificateMapOperationSettings

        public com.google.api.gax.rpc.OperationCallSettings<DeleteCertificateMapRequest,​com.google.protobuf.Empty,​OperationMetadata> deleteCertificateMapOperationSettings()
        Returns the object with the settings used for calls to deleteCertificateMap.
      • getCertificateMapEntrySettings

        public com.google.api.gax.rpc.UnaryCallSettings<GetCertificateMapEntryRequest,​CertificateMapEntry> getCertificateMapEntrySettings()
        Returns the object with the settings used for calls to getCertificateMapEntry.
      • createCertificateMapEntrySettings

        public com.google.api.gax.rpc.UnaryCallSettings<CreateCertificateMapEntryRequest,​com.google.longrunning.Operation> createCertificateMapEntrySettings()
        Returns the object with the settings used for calls to createCertificateMapEntry.
      • updateCertificateMapEntrySettings

        public com.google.api.gax.rpc.UnaryCallSettings<UpdateCertificateMapEntryRequest,​com.google.longrunning.Operation> updateCertificateMapEntrySettings()
        Returns the object with the settings used for calls to updateCertificateMapEntry.
      • deleteCertificateMapEntrySettings

        public com.google.api.gax.rpc.UnaryCallSettings<DeleteCertificateMapEntryRequest,​com.google.longrunning.Operation> deleteCertificateMapEntrySettings()
        Returns the object with the settings used for calls to deleteCertificateMapEntry.
      • deleteCertificateMapEntryOperationSettings

        public com.google.api.gax.rpc.OperationCallSettings<DeleteCertificateMapEntryRequest,​com.google.protobuf.Empty,​OperationMetadata> deleteCertificateMapEntryOperationSettings()
        Returns the object with the settings used for calls to deleteCertificateMapEntry.
      • getDnsAuthorizationSettings

        public com.google.api.gax.rpc.UnaryCallSettings<GetDnsAuthorizationRequest,​DnsAuthorization> getDnsAuthorizationSettings()
        Returns the object with the settings used for calls to getDnsAuthorization.
      • createDnsAuthorizationSettings

        public com.google.api.gax.rpc.UnaryCallSettings<CreateDnsAuthorizationRequest,​com.google.longrunning.Operation> createDnsAuthorizationSettings()
        Returns the object with the settings used for calls to createDnsAuthorization.
      • updateDnsAuthorizationSettings

        public com.google.api.gax.rpc.UnaryCallSettings<UpdateDnsAuthorizationRequest,​com.google.longrunning.Operation> updateDnsAuthorizationSettings()
        Returns the object with the settings used for calls to updateDnsAuthorization.
      • deleteDnsAuthorizationSettings

        public com.google.api.gax.rpc.UnaryCallSettings<DeleteDnsAuthorizationRequest,​com.google.longrunning.Operation> deleteDnsAuthorizationSettings()
        Returns the object with the settings used for calls to deleteDnsAuthorization.
      • deleteDnsAuthorizationOperationSettings

        public com.google.api.gax.rpc.OperationCallSettings<DeleteDnsAuthorizationRequest,​com.google.protobuf.Empty,​OperationMetadata> deleteDnsAuthorizationOperationSettings()
        Returns the object with the settings used for calls to deleteDnsAuthorization.
      • createCertificateIssuanceConfigSettings

        public com.google.api.gax.rpc.UnaryCallSettings<CreateCertificateIssuanceConfigRequest,​com.google.longrunning.Operation> createCertificateIssuanceConfigSettings()
        Returns the object with the settings used for calls to createCertificateIssuanceConfig.
      • deleteCertificateIssuanceConfigSettings

        public com.google.api.gax.rpc.UnaryCallSettings<DeleteCertificateIssuanceConfigRequest,​com.google.longrunning.Operation> deleteCertificateIssuanceConfigSettings()
        Returns the object with the settings used for calls to deleteCertificateIssuanceConfig.
      • deleteCertificateIssuanceConfigOperationSettings

        public com.google.api.gax.rpc.OperationCallSettings<DeleteCertificateIssuanceConfigRequest,​com.google.protobuf.Empty,​OperationMetadata> deleteCertificateIssuanceConfigOperationSettings()
        Returns the object with the settings used for calls to deleteCertificateIssuanceConfig.
      • listLocationsSettings

        public com.google.api.gax.rpc.PagedCallSettings<com.google.cloud.location.ListLocationsRequest,​com.google.cloud.location.ListLocationsResponse,​CertificateManagerClient.ListLocationsPagedResponse> listLocationsSettings()
        Returns the object with the settings used for calls to listLocations.
      • getLocationSettings

        public com.google.api.gax.rpc.UnaryCallSettings<com.google.cloud.location.GetLocationRequest,​com.google.cloud.location.Location> getLocationSettings()
        Returns the object with the settings used for calls to getLocation.
      • defaultExecutorProviderBuilder

        public static com.google.api.gax.core.InstantiatingExecutorProvider.Builder defaultExecutorProviderBuilder()
        Returns a builder for the default ExecutorProvider for this service.
      • getDefaultEndpoint

        public static String getDefaultEndpoint()
        Returns the default service endpoint.
      • getDefaultServiceScopes

        public static List<String> getDefaultServiceScopes()
        Returns the default service scopes.
      • defaultCredentialsProviderBuilder

        public static com.google.api.gax.core.GoogleCredentialsProvider.Builder defaultCredentialsProviderBuilder()
        Returns a builder for the default credentials for this service.
      • defaultGrpcTransportProviderBuilder

        public static com.google.api.gax.grpc.InstantiatingGrpcChannelProvider.Builder defaultGrpcTransportProviderBuilder()
        Returns a builder for the default gRPC ChannelProvider for this service.
      • defaultHttpJsonTransportProviderBuilder

        @BetaApi
        public static com.google.api.gax.httpjson.InstantiatingHttpJsonChannelProvider.Builder defaultHttpJsonTransportProviderBuilder()
        Returns a builder for the default REST ChannelProvider for this service.
      • defaultTransportChannelProvider

        public static com.google.api.gax.rpc.TransportChannelProvider defaultTransportChannelProvider()
      • defaultApiClientHeaderProviderBuilder

        @BetaApi("The surface for customizing headers is not stable yet and may change in the future.")
        public static com.google.api.gax.rpc.ApiClientHeaderProvider.Builder defaultApiClientHeaderProviderBuilder()