public Builder setEventTypesValue(int index, int value) {
        ensureEventTypesIsMutable();
        eventTypes_.set(index, value);
        onChanged();
        return this;
      }
<pre>
Event types for which a notification is desired. If empty, send
notifications for all event types.
</pre>

<code>repeated .google.storagetransfer.v1.NotificationConfig.EventType event_types = 2;
</code>

@param index The index to set the value at.
@param value The enum numeric value on the wire for eventTypes 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