Send feedback
Enum Subscription.DeliveryConfig.DeliveryRequirement (1.15.13)
Stay organized with collections
Save and categorize content based on your preferences.
Version latestkeyboard_arrow_down
public enum Subscription . DeliveryConfig . DeliveryRequirement extends Enum<Subscription . DeliveryConfig . DeliveryRequirement > implements ProtocolMessageEnum
When this subscription should send messages to subscribers relative to
messages persistence in storage. For details, see Creating Lite
subscriptions .
Protobuf enum
google.cloud.pubsublite.v1.Subscription.DeliveryConfig.DeliveryRequirement
Static Fields
Name
Description
DELIVERY_REQUIREMENT_UNSPECIFIED
Default value. This value is unused.
DELIVERY_REQUIREMENT_UNSPECIFIED = 0;
DELIVERY_REQUIREMENT_UNSPECIFIED_VALUE
Default value. This value is unused.
DELIVERY_REQUIREMENT_UNSPECIFIED = 0;
DELIVER_AFTER_STORED
The server will not deliver a published message to subscribers until
the message has been successfully written to storage. This will result
in higher end-to-end latency, but consistent delivery.
DELIVER_AFTER_STORED = 2;
DELIVER_AFTER_STORED_VALUE
The server will not deliver a published message to subscribers until
the message has been successfully written to storage. This will result
in higher end-to-end latency, but consistent delivery.
DELIVER_AFTER_STORED = 2;
DELIVER_IMMEDIATELY
The server does not wait for a published message to be successfully
written to storage before delivering it to subscribers.
DELIVER_IMMEDIATELY = 1;
DELIVER_IMMEDIATELY_VALUE
The server does not wait for a published message to be successfully
written to storage before delivering it to subscribers.
DELIVER_IMMEDIATELY = 1;
UNRECOGNIZED
Static Methods
Name
Description
forNumber(int value)
getDescriptor()
internalGetValueMap()
valueOf(Descriptors.EnumValueDescriptor desc)
valueOf(int value)
Deprecated. Use #forNumber(int) instead.
valueOf(String name)
values()
Methods
Name
Description
getDescriptorForType()
getNumber()
getValueDescriptor()
Send feedback
Except as otherwise noted, the content of this page is licensed under the Creative Commons Attribution 4.0 License , and code samples are licensed under the Apache 2.0 License . For details, see the Google Developers Site Policies . Java is a registered trademark of Oracle and/or its affiliates.
Last updated 2025-08-28 UTC.
Need to tell us more?
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Hard to understand","hardToUnderstand","thumb-down"],["Incorrect information or sample code","incorrectInformationOrSampleCode","thumb-down"],["Missing the information/samples I need","missingTheInformationSamplesINeed","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2025-08-28 UTC."],[],[],null,["# Enum Subscription.DeliveryConfig.DeliveryRequirement (1.15.13)\n\nVersion latestkeyboard_arrow_down\n\n- [1.15.13 (latest)](/java/docs/reference/google-cloud-pubsublite/latest/com.google.cloud.pubsublite.proto.Subscription.DeliveryConfig.DeliveryRequirement)\n- [1.15.12](/java/docs/reference/google-cloud-pubsublite/1.15.12/com.google.cloud.pubsublite.proto.Subscription.DeliveryConfig.DeliveryRequirement)\n- [1.14.8](/java/docs/reference/google-cloud-pubsublite/1.14.8/com.google.cloud.pubsublite.proto.Subscription.DeliveryConfig.DeliveryRequirement)\n- [1.13.8](/java/docs/reference/google-cloud-pubsublite/1.13.8/com.google.cloud.pubsublite.proto.Subscription.DeliveryConfig.DeliveryRequirement)\n- [1.12.22](/java/docs/reference/google-cloud-pubsublite/1.12.22/com.google.cloud.pubsublite.proto.Subscription.DeliveryConfig.DeliveryRequirement)\n- [1.11.2](/java/docs/reference/google-cloud-pubsublite/1.11.2/com.google.cloud.pubsublite.proto.Subscription.DeliveryConfig.DeliveryRequirement)\n- [1.10.0](/java/docs/reference/google-cloud-pubsublite/1.10.0/com.google.cloud.pubsublite.proto.Subscription.DeliveryConfig.DeliveryRequirement)\n- [1.9.4](/java/docs/reference/google-cloud-pubsublite/1.9.4/com.google.cloud.pubsublite.proto.Subscription.DeliveryConfig.DeliveryRequirement)\n- [1.8.0](/java/docs/reference/google-cloud-pubsublite/1.8.0/com.google.cloud.pubsublite.proto.Subscription.DeliveryConfig.DeliveryRequirement)\n- [1.7.1](/java/docs/reference/google-cloud-pubsublite/1.7.1/com.google.cloud.pubsublite.proto.Subscription.DeliveryConfig.DeliveryRequirement)\n- [1.6.3](/java/docs/reference/google-cloud-pubsublite/1.6.3/com.google.cloud.pubsublite.proto.Subscription.DeliveryConfig.DeliveryRequirement)\n- [1.5.5](/java/docs/reference/google-cloud-pubsublite/1.5.5/com.google.cloud.pubsublite.proto.Subscription.DeliveryConfig.DeliveryRequirement)\n- [1.4.12](/java/docs/reference/google-cloud-pubsublite/1.4.12/com.google.cloud.pubsublite.proto.Subscription.DeliveryConfig.DeliveryRequirement) \n\n public enum Subscription.DeliveryConfig.DeliveryRequirement extends Enum\u003cSubscription.DeliveryConfig.DeliveryRequirement\u003e implements ProtocolMessageEnum\n\nWhen this subscription should send messages to subscribers relative to\nmessages persistence in storage. For details, see [Creating Lite\nsubscriptions](https://cloud.google.com/pubsub/lite/docs/subscriptions#creating_lite_subscriptions).\n\nProtobuf enum `\ngoogle.cloud.pubsublite.v1.Subscription.DeliveryConfig.DeliveryRequirement` \n\nImplements\n----------\n\n[ProtocolMessageEnum](https://cloud.google.com/java/docs/reference/protobuf/latest/com.google.protobuf.ProtocolMessageEnum.html) \n\nInherited Members\n-----------------\n\n[Enum.\\\u003cT\\\u003evalueOf(Class\\\u003cT\\\u003e,String)](https://docs.oracle.com/javase/8/docs/api/java/lang/Enum.html#valueOf-java.lang.Class-java.lang.String-) \n[Enum.clone()](https://docs.oracle.com/javase/8/docs/api/java/lang/Enum.html#clone--) \n[Enum.compareTo(E)](https://docs.oracle.com/javase/8/docs/api/java/lang/Enum.html#compareTo-E-) \n[Enum.equals(Object)](https://docs.oracle.com/javase/8/docs/api/java/lang/Enum.html#equals-java.lang.Object-) \n[Enum.finalize()](https://docs.oracle.com/javase/8/docs/api/java/lang/Enum.html#finalize--) \n[Enum.getDeclaringClass()](https://docs.oracle.com/javase/8/docs/api/java/lang/Enum.html#getDeclaringClass--) \n[Enum.hashCode()](https://docs.oracle.com/javase/8/docs/api/java/lang/Enum.html#hashCode--) \n[Enum.name()](https://docs.oracle.com/javase/8/docs/api/java/lang/Enum.html#name--) \n[Enum.ordinal()](https://docs.oracle.com/javase/8/docs/api/java/lang/Enum.html#ordinal--) \n[Enum.toString()](https://docs.oracle.com/javase/8/docs/api/java/lang/Enum.html#toString--) \n[Object.getClass()](https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html#getClass--) \n[Object.notify()](https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html#notify--) \n[Object.notifyAll()](https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html#notifyAll--) \n[Object.wait()](https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html#wait--) \n[Object.wait(long)](https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html#wait-long-) \n[Object.wait(long,int)](https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html#wait-long-int-)"]]