public enum CloudFunctionStatus extends Enum<CloudFunctionStatus> implements com.google.protobuf.ProtocolMessageEnum
Describes the current stage of a deployment.Protobuf enum
google.cloud.functions.v1.CloudFunctionStatus| Enum Constant and Description |
|---|
ACTIVE
Function has been successfully deployed and is serving.
|
CLOUD_FUNCTION_STATUS_UNSPECIFIED
Not specified.
|
DELETE_IN_PROGRESS
Function is being deleted.
|
DEPLOY_IN_PROGRESS
Function is being created or updated.
|
OFFLINE
Function deployment failed and the function isn’t serving.
|
UNKNOWN
Function deployment failed and the function serving state is undefined.
|
UNRECOGNIZED |
| Modifier and Type | Field and Description |
|---|---|
static int |
ACTIVE_VALUE
Function has been successfully deployed and is serving.
|
static int |
CLOUD_FUNCTION_STATUS_UNSPECIFIED_VALUE
Not specified.
|
static int |
DELETE_IN_PROGRESS_VALUE
Function is being deleted.
|
static int |
DEPLOY_IN_PROGRESS_VALUE
Function is being created or updated.
|
static int |
OFFLINE_VALUE
Function deployment failed and the function isn’t serving.
|
static int |
UNKNOWN_VALUE
Function deployment failed and the function serving state is undefined.
|
| Modifier and Type | Method and Description |
|---|---|
static CloudFunctionStatus |
forNumber(int value) |
static com.google.protobuf.Descriptors.EnumDescriptor |
getDescriptor() |
com.google.protobuf.Descriptors.EnumDescriptor |
getDescriptorForType() |
int |
getNumber() |
com.google.protobuf.Descriptors.EnumValueDescriptor |
getValueDescriptor() |
static com.google.protobuf.Internal.EnumLiteMap<CloudFunctionStatus> |
internalGetValueMap() |
static CloudFunctionStatus |
valueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc) |
static CloudFunctionStatus |
valueOf(int value)
Deprecated.
Use
forNumber(int) instead. |
static CloudFunctionStatus |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static CloudFunctionStatus[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final CloudFunctionStatus CLOUD_FUNCTION_STATUS_UNSPECIFIED
Not specified. Invalid state.
CLOUD_FUNCTION_STATUS_UNSPECIFIED = 0;public static final CloudFunctionStatus ACTIVE
Function has been successfully deployed and is serving.
ACTIVE = 1;public static final CloudFunctionStatus OFFLINE
Function deployment failed and the function isn’t serving.
OFFLINE = 2;public static final CloudFunctionStatus DEPLOY_IN_PROGRESS
Function is being created or updated.
DEPLOY_IN_PROGRESS = 3;public static final CloudFunctionStatus DELETE_IN_PROGRESS
Function is being deleted.
DELETE_IN_PROGRESS = 4;public static final CloudFunctionStatus UNKNOWN
Function deployment failed and the function serving state is undefined. The function should be updated or deleted to move it out of this state.
UNKNOWN = 5;public static final CloudFunctionStatus UNRECOGNIZED
public static final int CLOUD_FUNCTION_STATUS_UNSPECIFIED_VALUE
Not specified. Invalid state.
CLOUD_FUNCTION_STATUS_UNSPECIFIED = 0;public static final int ACTIVE_VALUE
Function has been successfully deployed and is serving.
ACTIVE = 1;public static final int OFFLINE_VALUE
Function deployment failed and the function isn’t serving.
OFFLINE = 2;public static final int DEPLOY_IN_PROGRESS_VALUE
Function is being created or updated.
DEPLOY_IN_PROGRESS = 3;public static final int DELETE_IN_PROGRESS_VALUE
Function is being deleted.
DELETE_IN_PROGRESS = 4;public static final int UNKNOWN_VALUE
Function deployment failed and the function serving state is undefined. The function should be updated or deleted to move it out of this state.
UNKNOWN = 5;public static CloudFunctionStatus[] values()
for (CloudFunctionStatus c : CloudFunctionStatus.values()) System.out.println(c);
public static CloudFunctionStatus valueOf(String name)
name - the name of the enum constant to be returned.IllegalArgumentException - if this enum type has no constant with the specified nameNullPointerException - if the argument is nullpublic final int getNumber()
getNumber in interface com.google.protobuf.Internal.EnumLitegetNumber in interface com.google.protobuf.ProtocolMessageEnum@Deprecated public static CloudFunctionStatus valueOf(int value)
forNumber(int) instead.value - The numeric wire value of the corresponding enum entry.public static CloudFunctionStatus forNumber(int value)
value - The numeric wire value of the corresponding enum entry.public static com.google.protobuf.Internal.EnumLiteMap<CloudFunctionStatus> internalGetValueMap()
public final com.google.protobuf.Descriptors.EnumValueDescriptor getValueDescriptor()
getValueDescriptor in interface com.google.protobuf.ProtocolMessageEnumpublic final com.google.protobuf.Descriptors.EnumDescriptor getDescriptorForType()
getDescriptorForType in interface com.google.protobuf.ProtocolMessageEnumpublic static final com.google.protobuf.Descriptors.EnumDescriptor getDescriptor()
public static CloudFunctionStatus valueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc)
Copyright © 2021 Google LLC. All rights reserved.