private void buildPartialOneofs(com.google.apps.events.subscriptions.v1.Subscription result) {
      result.expirationCase_ = expirationCase_;
      result.expiration_ = this.expiration_;
      if (expirationCase_ == 13 && expireTimeBuilder_ != null) {
        result.expiration_ = expireTimeBuilder_.build();
      }
      if (expirationCase_ == 14 && ttlBuilder_ != null) {
        result.expiration_ = ttlBuilder_.build();
      }
    }
<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