public Builder mergeFrom(com.google.apps.events.subscriptions.v1.Subscription other) {
      if (other == com.google.apps.events.subscriptions.v1.Subscription.getDefaultInstance())
        return this;
      if (!other.getName().isEmpty()) {
        name_ = other.name_;
        bitField0_ |= 0x00000004;
        onChanged();
      }
      if (!other.getUid().isEmpty()) {
        uid_ = other.uid_;
        bitField0_ |= 0x00000008;
        onChanged();
      }
      if (!other.getTargetResource().isEmpty()) {
        targetResource_ = other.targetResource_;
        bitField0_ |= 0x00000010;
        onChanged();
      }
      if (!other.eventTypes_.isEmpty()) {
        if (eventTypes_.isEmpty()) {
          eventTypes_ = other.eventTypes_;
          bitField0_ |= 0x00000020;
        } else {
          ensureEventTypesIsMutable();
          eventTypes_.addAll(other.eventTypes_);
        }
        onChanged();
      }
      if (other.hasPayloadOptions()) {
        mergePayloadOptions(other.getPayloadOptions());
      }
      if (other.hasNotificationEndpoint()) {
        mergeNotificationEndpoint(other.getNotificationEndpoint());
      }
      if (other.state_ != 0) {
        setStateValue(other.getStateValue());
      }
      if (other.suspensionReason_ != 0) {
        setSuspensionReasonValue(other.getSuspensionReasonValue());
      }
      if (!other.getAuthority().isEmpty()) {
        authority_ = other.authority_;
        bitField0_ |= 0x00000400;
        onChanged();
      }
      if (other.hasCreateTime()) {
        mergeCreateTime(other.getCreateTime());
      }
      if (other.hasUpdateTime()) {
        mergeUpdateTime(other.getUpdateTime());
      }
      if (other.getReconciling() != false) {
        setReconciling(other.getReconciling());
      }
      if (!other.getEtag().isEmpty()) {
        etag_ = other.etag_;
        bitField0_ |= 0x00004000;
        onChanged();
      }
      switch (other.getExpirationCase()) {
        case EXPIRE_TIME:
          {
            mergeExpireTime(other.getExpireTime());
            break;
          }
        case TTL:
          {
            mergeTtl(other.getTtl());
            break;
          }
        case EXPIRATION_NOT_SET:
          {
            break;
          }
      }
      this.mergeUnknownFields(other.getUnknownFields());
      onChanged();
      return this;
    }
<pre>
A subscription to receive events about a Google Workspace resource. To learn
more about subscriptions, see the [Google Workspace Events API
overview](https://developers.google.com/workspace/events).
</pre>

Protobuf type {@code google.apps.events.subscriptions.v1.Subscription}
java-workspaceevents/proto-google-cloud-workspaceevents-v1/src/main/java/com/google/apps/events/subscriptions/v1/Subscription.java