Class AgentsSettings.Builder

    • Method Detail

      • applyToAllUnaryMethods

        public AgentsSettings.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.

      • getAgentSettings

        public com.google.api.gax.rpc.UnaryCallSettings.Builder<GetAgentRequest,​Agent> getAgentSettings()
        Returns the builder for the settings used for calls to getAgent.
      • setAgentSettings

        public com.google.api.gax.rpc.UnaryCallSettings.Builder<SetAgentRequest,​Agent> setAgentSettings()
        Returns the builder for the settings used for calls to setAgent.
      • deleteAgentSettings

        public com.google.api.gax.rpc.UnaryCallSettings.Builder<DeleteAgentRequest,​com.google.protobuf.Empty> deleteAgentSettings()
        Returns the builder for the settings used for calls to deleteAgent.
      • trainAgentSettings

        public com.google.api.gax.rpc.UnaryCallSettings.Builder<TrainAgentRequest,​com.google.longrunning.Operation> trainAgentSettings()
        Returns the builder for the settings used for calls to trainAgent.
      • trainAgentOperationSettings

        public com.google.api.gax.rpc.OperationCallSettings.Builder<TrainAgentRequest,​com.google.protobuf.Empty,​com.google.protobuf.Struct> trainAgentOperationSettings()
        Returns the builder for the settings used for calls to trainAgent.
      • exportAgentSettings

        public com.google.api.gax.rpc.UnaryCallSettings.Builder<ExportAgentRequest,​com.google.longrunning.Operation> exportAgentSettings()
        Returns the builder for the settings used for calls to exportAgent.
      • exportAgentOperationSettings

        public com.google.api.gax.rpc.OperationCallSettings.Builder<ExportAgentRequest,​ExportAgentResponse,​com.google.protobuf.Struct> exportAgentOperationSettings()
        Returns the builder for the settings used for calls to exportAgent.
      • importAgentSettings

        public com.google.api.gax.rpc.UnaryCallSettings.Builder<ImportAgentRequest,​com.google.longrunning.Operation> importAgentSettings()
        Returns the builder for the settings used for calls to importAgent.
      • importAgentOperationSettings

        public com.google.api.gax.rpc.OperationCallSettings.Builder<ImportAgentRequest,​com.google.protobuf.Empty,​com.google.protobuf.Struct> importAgentOperationSettings()
        Returns the builder for the settings used for calls to importAgent.
      • restoreAgentSettings

        public com.google.api.gax.rpc.UnaryCallSettings.Builder<RestoreAgentRequest,​com.google.longrunning.Operation> restoreAgentSettings()
        Returns the builder for the settings used for calls to restoreAgent.
      • restoreAgentOperationSettings

        public com.google.api.gax.rpc.OperationCallSettings.Builder<RestoreAgentRequest,​com.google.protobuf.Empty,​com.google.protobuf.Struct> restoreAgentOperationSettings()
        Returns the builder for the settings used for calls to restoreAgent.
      • getValidationResultSettings

        public com.google.api.gax.rpc.UnaryCallSettings.Builder<GetValidationResultRequest,​ValidationResult> getValidationResultSettings()
        Returns the builder for the settings used for calls to getValidationResult.
      • listLocationsSettings

        public com.google.api.gax.rpc.PagedCallSettings.Builder<com.google.cloud.location.ListLocationsRequest,​com.google.cloud.location.ListLocationsResponse,​AgentsClient.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.