Send feedback
Enum Subscription.State (1.119.1)
Stay organized with collections
Save and categorize content based on your preferences.
Version 1.119.1 keyboard_arrow_down
public enum Subscription . State extends Enum<Subscription . State> implements ProtocolMessageEnum
Possible states for a subscription.
Protobuf enum google.pubsub.v1.Subscription.State
Static Fields
Name Description ACTIVE The subscription can actively receive messages
ACTIVE = 1;
ACTIVE_VALUE The subscription can actively receive messages
ACTIVE = 1;
RESOURCE_ERROR The subscription cannot receive messages because of an error with the
resource to which it pushes messages. See the more detailed error state
in the corresponding configuration.
RESOURCE_ERROR = 2;
RESOURCE_ERROR_VALUE The subscription cannot receive messages because of an error with the
resource to which it pushes messages. See the more detailed error state
in the corresponding configuration.
RESOURCE_ERROR = 2;
STATE_UNSPECIFIED Default value. This value is unused.
STATE_UNSPECIFIED = 0;
STATE_UNSPECIFIED_VALUE Default value. This value is unused.
STATE_UNSPECIFIED = 0;
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 2024-09-10 UTC.
[{
"type": "thumb-down",
"id": "hardToUnderstand",
"label":"Hard to understand"
},{
"type": "thumb-down",
"id": "incorrectInformationOrSampleCode",
"label":"Incorrect information or sample code"
},{
"type": "thumb-down",
"id": "missingTheInformationSamplesINeed",
"label":"Missing the information/samples I need"
},{
"type": "thumb-down",
"id": "otherDown",
"label":"Other"
}]
[{
"type": "thumb-up",
"id": "easyToUnderstand",
"label":"Easy to understand"
},{
"type": "thumb-up",
"id": "solvedMyProblem",
"label":"Solved my problem"
},{
"type": "thumb-up",
"id": "otherUp",
"label":"Other"
}]
Need to tell us more?
{"lastModified": "Last updated 2024-09-10 UTC."}