public Builder setState(com.google.apps.events.subscriptions.v1.Subscription.State value) {
      if (value == null) {
        throw new NullPointerException();
      }
      bitField0_ |= 0x00000100;
      state_ = value.getNumber();
      onChanged();
      return this;
    }
<pre>
Output only. The state of the subscription. Determines whether the
subscription can receive events and deliver them to the notification
endpoint.
</pre>

<code>
.google.apps.events.subscriptions.v1.Subscription.State state = 8 [(.google.api.field_behavior) = OUTPUT_ONLY];
</code>

@param value The state to set.
@return This builder for chaining.
java-workspaceevents/proto-google-cloud-workspaceevents-v1/src/main/java/com/google/apps/events/subscriptions/v1/Subscription.java