error

public abstract BatchJob.Builder error(JobError error)

Setter for error.

error: Output only. Only populated when the job's state is JOB_STATE_FAILED or JOB_STATE_CANCELLED.


@CanIgnoreReturnValue()
public BatchJob.Builder error(JobError.Builder errorBuilder)

Setter for error builder.

error: Output only. Only populated when the job's state is JOB_STATE_FAILED or JOB_STATE_CANCELLED.