public Builder mergeFrom(
          com.google.storagetransfer.v1.proto.TransferTypes.NotificationConfig other) {
        if (other
            == com.google.storagetransfer.v1.proto.TransferTypes.NotificationConfig
                .getDefaultInstance()) return this;
        if (!other.getPubsubTopic().isEmpty()) {
          pubsubTopic_ = other.pubsubTopic_;
          bitField0_ |= 0x00000001;
          onChanged();
        }
        if (!other.eventTypes_.isEmpty()) {
          if (eventTypes_.isEmpty()) {
            eventTypes_ = other.eventTypes_;
            bitField0_ = (bitField0_ & ~0x00000002);
          } else {
            ensureEventTypesIsMutable();
            eventTypes_.addAll(other.eventTypes_);
          }
          onChanged();
        }
        if (other.payloadFormat_ != 0) {
          setPayloadFormatValue(other.getPayloadFormatValue());
        }
        this.mergeUnknownFields(other.getUnknownFields());
        onChanged();
        return this;
      }
<pre>
Specification to configure notifications published to Pub/Sub.
Notifications are published to the customer-provided topic using the
following `PubsubMessage.attributes`:

* `"eventType"`: one of the
[EventType][google.storagetransfer.v1.NotificationConfig.EventType] values
* `"payloadFormat"`: one of the
[PayloadFormat][google.storagetransfer.v1.NotificationConfig.PayloadFormat]
values
* `"projectId"`: the
[project_id][google.storagetransfer.v1.TransferOperation.project_id] of the
`TransferOperation`
* `"transferJobName"`: the
[transfer_job_name][google.storagetransfer.v1.TransferOperation.transfer_job_name]
of the `TransferOperation`
* `"transferOperationName"`: the
[name][google.storagetransfer.v1.TransferOperation.name] of the
`TransferOperation`

The `PubsubMessage.data` contains a
[TransferOperation][google.storagetransfer.v1.TransferOperation] resource
formatted according to the specified `PayloadFormat`.
</pre>

Protobuf type {@code google.storagetransfer.v1.NotificationConfig}
java-storage-transfer/proto-google-cloud-storage-transfer-v1/src/main/java/com/google/storagetransfer/v1/proto/TransferTypes.java