Class ServiceUsageStubSettings.Builder

    • Constructor Detail

      • Builder

        protected Builder()
      • Builder

        protected Builder​(com.google.api.gax.rpc.ClientContext clientContext)
    • Method Detail

      • applyToAllUnaryMethods

        public ServiceUsageStubSettings.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()
      • enableServiceSettings

        @Deprecated
        public com.google.api.gax.rpc.UnaryCallSettings.Builder<EnableServiceRequest,​com.google.longrunning.Operation> enableServiceSettings()
        Deprecated.
        This method is deprecated and will be removed in the next major version update.
        Returns the builder for the settings used for calls to enableService.
      • enableServiceOperationSettings

        @BetaApi("The surface for use by generated code is not stable yet and may change in the future.")
        public com.google.api.gax.rpc.OperationCallSettings.Builder<EnableServiceRequest,​com.google.protobuf.Empty,​OperationMetadata> enableServiceOperationSettings()
        Returns the builder for the settings used for calls to enableService.
      • disableServiceSettings

        @Deprecated
        public com.google.api.gax.rpc.UnaryCallSettings.Builder<DisableServiceRequest,​com.google.longrunning.Operation> disableServiceSettings()
        Deprecated.
        This method is deprecated and will be removed in the next major version update.
        Returns the builder for the settings used for calls to disableService.
      • disableServiceOperationSettings

        @BetaApi("The surface for use by generated code is not stable yet and may change in the future.")
        public com.google.api.gax.rpc.OperationCallSettings.Builder<DisableServiceRequest,​com.google.protobuf.Empty,​OperationMetadata> disableServiceOperationSettings()
        Returns the builder for the settings used for calls to disableService.
      • getServiceSettings

        @Deprecated
        public com.google.api.gax.rpc.UnaryCallSettings.Builder<GetServiceRequest,​Service> getServiceSettings()
        Deprecated.
        This method is deprecated and will be removed in the next major version update.
        Returns the builder for the settings used for calls to getService.
      • batchEnableServicesSettings

        @Deprecated
        public com.google.api.gax.rpc.UnaryCallSettings.Builder<BatchEnableServicesRequest,​com.google.longrunning.Operation> batchEnableServicesSettings()
        Deprecated.
        This method is deprecated and will be removed in the next major version update.
        Returns the builder for the settings used for calls to batchEnableServices.
      • batchEnableServicesOperationSettings

        @BetaApi("The surface for use by generated code is not stable yet and may change in the future.")
        public com.google.api.gax.rpc.OperationCallSettings.Builder<BatchEnableServicesRequest,​com.google.protobuf.Empty,​OperationMetadata> batchEnableServicesOperationSettings()
        Returns the builder for the settings used for calls to batchEnableServices.
      • getConsumerQuotaMetricSettings

        public com.google.api.gax.rpc.UnaryCallSettings.Builder<GetConsumerQuotaMetricRequest,​ConsumerQuotaMetric> getConsumerQuotaMetricSettings()
        Returns the builder for the settings used for calls to getConsumerQuotaMetric.
      • getConsumerQuotaLimitSettings

        public com.google.api.gax.rpc.UnaryCallSettings.Builder<GetConsumerQuotaLimitRequest,​ConsumerQuotaLimit> getConsumerQuotaLimitSettings()
        Returns the builder for the settings used for calls to getConsumerQuotaLimit.
      • createAdminOverrideSettings

        public com.google.api.gax.rpc.UnaryCallSettings.Builder<CreateAdminOverrideRequest,​com.google.longrunning.Operation> createAdminOverrideSettings()
        Returns the builder for the settings used for calls to createAdminOverride.
      • createAdminOverrideOperationSettings

        @BetaApi("The surface for use by generated code is not stable yet and may change in the future.")
        public com.google.api.gax.rpc.OperationCallSettings.Builder<CreateAdminOverrideRequest,​QuotaOverride,​OperationMetadata> createAdminOverrideOperationSettings()
        Returns the builder for the settings used for calls to createAdminOverride.
      • updateAdminOverrideSettings

        public com.google.api.gax.rpc.UnaryCallSettings.Builder<UpdateAdminOverrideRequest,​com.google.longrunning.Operation> updateAdminOverrideSettings()
        Returns the builder for the settings used for calls to updateAdminOverride.
      • updateAdminOverrideOperationSettings

        @BetaApi("The surface for use by generated code is not stable yet and may change in the future.")
        public com.google.api.gax.rpc.OperationCallSettings.Builder<UpdateAdminOverrideRequest,​QuotaOverride,​OperationMetadata> updateAdminOverrideOperationSettings()
        Returns the builder for the settings used for calls to updateAdminOverride.
      • deleteAdminOverrideSettings

        public com.google.api.gax.rpc.UnaryCallSettings.Builder<DeleteAdminOverrideRequest,​com.google.longrunning.Operation> deleteAdminOverrideSettings()
        Returns the builder for the settings used for calls to deleteAdminOverride.
      • deleteAdminOverrideOperationSettings

        @BetaApi("The surface for use by generated code is not stable yet and may change in the future.")
        public com.google.api.gax.rpc.OperationCallSettings.Builder<DeleteAdminOverrideRequest,​com.google.protobuf.Empty,​OperationMetadata> deleteAdminOverrideOperationSettings()
        Returns the builder for the settings used for calls to deleteAdminOverride.
      • importAdminOverridesSettings

        public com.google.api.gax.rpc.UnaryCallSettings.Builder<ImportAdminOverridesRequest,​com.google.longrunning.Operation> importAdminOverridesSettings()
        Returns the builder for the settings used for calls to importAdminOverrides.
      • createConsumerOverrideSettings

        public com.google.api.gax.rpc.UnaryCallSettings.Builder<CreateConsumerOverrideRequest,​com.google.longrunning.Operation> createConsumerOverrideSettings()
        Returns the builder for the settings used for calls to createConsumerOverride.
      • createConsumerOverrideOperationSettings

        @BetaApi("The surface for use by generated code is not stable yet and may change in the future.")
        public com.google.api.gax.rpc.OperationCallSettings.Builder<CreateConsumerOverrideRequest,​QuotaOverride,​OperationMetadata> createConsumerOverrideOperationSettings()
        Returns the builder for the settings used for calls to createConsumerOverride.
      • updateConsumerOverrideSettings

        public com.google.api.gax.rpc.UnaryCallSettings.Builder<UpdateConsumerOverrideRequest,​com.google.longrunning.Operation> updateConsumerOverrideSettings()
        Returns the builder for the settings used for calls to updateConsumerOverride.
      • updateConsumerOverrideOperationSettings

        @BetaApi("The surface for use by generated code is not stable yet and may change in the future.")
        public com.google.api.gax.rpc.OperationCallSettings.Builder<UpdateConsumerOverrideRequest,​QuotaOverride,​OperationMetadata> updateConsumerOverrideOperationSettings()
        Returns the builder for the settings used for calls to updateConsumerOverride.
      • deleteConsumerOverrideSettings

        public com.google.api.gax.rpc.UnaryCallSettings.Builder<DeleteConsumerOverrideRequest,​com.google.longrunning.Operation> deleteConsumerOverrideSettings()
        Returns the builder for the settings used for calls to deleteConsumerOverride.
      • deleteConsumerOverrideOperationSettings

        @BetaApi("The surface for use by generated code is not stable yet and may change in the future.")
        public com.google.api.gax.rpc.OperationCallSettings.Builder<DeleteConsumerOverrideRequest,​com.google.protobuf.Empty,​OperationMetadata> deleteConsumerOverrideOperationSettings()
        Returns the builder for the settings used for calls to deleteConsumerOverride.
      • importConsumerOverridesSettings

        public com.google.api.gax.rpc.UnaryCallSettings.Builder<ImportConsumerOverridesRequest,​com.google.longrunning.Operation> importConsumerOverridesSettings()
        Returns the builder for the settings used for calls to importConsumerOverrides.
      • generateServiceIdentitySettings

        public com.google.api.gax.rpc.UnaryCallSettings.Builder<GenerateServiceIdentityRequest,​com.google.longrunning.Operation> generateServiceIdentitySettings()
        Returns the builder for the settings used for calls to generateServiceIdentity.
      • generateServiceIdentityOperationSettings

        @BetaApi("The surface for use by generated code is not stable yet and may change in the future.")
        public com.google.api.gax.rpc.OperationCallSettings.Builder<GenerateServiceIdentityRequest,​ServiceIdentity,​com.google.protobuf.Empty> generateServiceIdentityOperationSettings()
        Returns the builder for the settings used for calls to generateServiceIdentity.