Class BatchServiceSettings.Builder

    • Method Detail

      • applyToAllUnaryMethods

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

      • createJobSettings

        public com.google.api.gax.rpc.UnaryCallSettings.Builder<CreateJobRequest,​Job> createJobSettings()
        Returns the builder for the settings used for calls to createJob.
      • getJobSettings

        public com.google.api.gax.rpc.UnaryCallSettings.Builder<GetJobRequest,​Job> getJobSettings()
        Returns the builder for the settings used for calls to getJob.
      • deleteJobSettings

        public com.google.api.gax.rpc.UnaryCallSettings.Builder<DeleteJobRequest,​com.google.longrunning.Operation> deleteJobSettings()
        Returns the builder for the settings used for calls to deleteJob.
      • deleteJobOperationSettings

        public com.google.api.gax.rpc.OperationCallSettings.Builder<DeleteJobRequest,​com.google.protobuf.Empty,​OperationMetadata> deleteJobOperationSettings()
        Returns the builder for the settings used for calls to deleteJob.
      • getTaskSettings

        public com.google.api.gax.rpc.UnaryCallSettings.Builder<GetTaskRequest,​Task> getTaskSettings()
        Returns the builder for the settings used for calls to getTask.
      • listLocationsSettings

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