public Builder setErrorCode(com.google.rpc.Code value) {
      if (value == null) {
        throw new NullPointerException();
      }
      bitField0_ |= 0x00000001;
      errorCode_ = value.getNumber();
      onChanged();
      return this;
    }
<pre>
Required. The canonical error code.
</pre>

<code>.google.rpc.Code error_code = 1 [(.google.api.field_behavior) = REQUIRED];</code>

@param value The errorCode to set.
@return This builder for chaining.
java-storagebatchoperations/proto-google-cloud-storagebatchoperations-v1/src/main/java/com/google/cloud/storagebatchoperations/v1/ErrorSummary.java