public Builder setErrorCount(long value) {

        errorCount_ = value;
        bitField0_ |= 0x00000002;
        onChanged();
        return this;
      }
<pre>
Required. Count of this type of error.
</pre>

<code>int64 error_count = 2 [(.google.api.field_behavior) = REQUIRED];</code>

@param value The errorCount to set.
@return This builder for chaining.
java-storage-transfer/proto-google-cloud-storage-transfer-v1/src/main/java/com/google/storagetransfer/v1/proto/TransferTypes.java