Class ServicesStubSettings.Builder

    • Constructor Detail

      • Builder

        protected Builder()
      • Builder

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

      • applyToAllUnaryMethods

        public ServicesStubSettings.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()
      • getServiceSettings

        public com.google.api.gax.rpc.UnaryCallSettings.Builder<GetServiceRequest,​Service> getServiceSettings()
        Returns the builder for the settings used for calls to getService.
      • updateServiceSettings

        public com.google.api.gax.rpc.UnaryCallSettings.Builder<UpdateServiceRequest,​com.google.longrunning.Operation> updateServiceSettings()
        Returns the builder for the settings used for calls to updateService.
      • updateServiceOperationSettings

        @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<UpdateServiceRequest,​Service,​OperationMetadataV1> updateServiceOperationSettings()
        Returns the builder for the settings used for calls to updateService.
      • deleteServiceSettings

        public com.google.api.gax.rpc.UnaryCallSettings.Builder<DeleteServiceRequest,​com.google.longrunning.Operation> deleteServiceSettings()
        Returns the builder for the settings used for calls to deleteService.
      • deleteServiceOperationSettings

        @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<DeleteServiceRequest,​com.google.protobuf.Empty,​OperationMetadataV1> deleteServiceOperationSettings()
        Returns the builder for the settings used for calls to deleteService.