public int getEventTypesCount() {
        return eventTypes_.size();
      }
<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>

@return The count of eventTypes.
java-storage-transfer/proto-google-cloud-storage-transfer-v1/src/main/java/com/google/storagetransfer/v1/proto/TransferTypes.java