public static enum SyncState.SyncCode extends Enum<SyncState.SyncCode> implements com.google.protobuf.ProtocolMessageEnum
An enum representing an ACM's status syncing configs to a clusterProtobuf enum
google.cloud.gkehub.configmanagement.v1alpha.SyncState.SyncCode| Enum Constant and Description |
|---|
ERROR
Indicates an error configuring ACM, and user action is required
|
NOT_CONFIGURED
ACM has been installed (operator manifest deployed),
but not configured.
|
NOT_INSTALLED
ACM has not been installed (no operator pod found)
|
PENDING
ACM is in the progress of syncing a new change
|
SYNC_CODE_UNSPECIFIED
ACM cannot determine a sync code
|
SYNCED
ACM successfully synced the git Repo with the cluster
|
UNAUTHORIZED
Error authorizing with the cluster
|
UNREACHABLE
Cluster could not be reached
|
UNRECOGNIZED |
| Modifier and Type | Field and Description |
|---|---|
static int |
ERROR_VALUE
Indicates an error configuring ACM, and user action is required
|
static int |
NOT_CONFIGURED_VALUE
ACM has been installed (operator manifest deployed),
but not configured.
|
static int |
NOT_INSTALLED_VALUE
ACM has not been installed (no operator pod found)
|
static int |
PENDING_VALUE
ACM is in the progress of syncing a new change
|
static int |
SYNC_CODE_UNSPECIFIED_VALUE
ACM cannot determine a sync code
|
static int |
SYNCED_VALUE
ACM successfully synced the git Repo with the cluster
|
static int |
UNAUTHORIZED_VALUE
Error authorizing with the cluster
|
static int |
UNREACHABLE_VALUE
Cluster could not be reached
|
| Modifier and Type | Method and Description |
|---|---|
static SyncState.SyncCode |
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<SyncState.SyncCode> |
internalGetValueMap() |
static SyncState.SyncCode |
valueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc) |
static SyncState.SyncCode |
valueOf(int value)
Deprecated.
Use
forNumber(int) instead. |
static SyncState.SyncCode |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static SyncState.SyncCode[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final SyncState.SyncCode SYNC_CODE_UNSPECIFIED
ACM cannot determine a sync code
SYNC_CODE_UNSPECIFIED = 0;public static final SyncState.SyncCode SYNCED
ACM successfully synced the git Repo with the cluster
SYNCED = 1;public static final SyncState.SyncCode PENDING
ACM is in the progress of syncing a new change
PENDING = 2;public static final SyncState.SyncCode ERROR
Indicates an error configuring ACM, and user action is required
ERROR = 3;public static final SyncState.SyncCode NOT_CONFIGURED
ACM has been installed (operator manifest deployed), but not configured.
NOT_CONFIGURED = 4;public static final SyncState.SyncCode NOT_INSTALLED
ACM has not been installed (no operator pod found)
NOT_INSTALLED = 5;public static final SyncState.SyncCode UNAUTHORIZED
Error authorizing with the cluster
UNAUTHORIZED = 6;public static final SyncState.SyncCode UNREACHABLE
Cluster could not be reached
UNREACHABLE = 7;public static final SyncState.SyncCode UNRECOGNIZED
public static final int SYNC_CODE_UNSPECIFIED_VALUE
ACM cannot determine a sync code
SYNC_CODE_UNSPECIFIED = 0;public static final int SYNCED_VALUE
ACM successfully synced the git Repo with the cluster
SYNCED = 1;public static final int PENDING_VALUE
ACM is in the progress of syncing a new change
PENDING = 2;public static final int ERROR_VALUE
Indicates an error configuring ACM, and user action is required
ERROR = 3;public static final int NOT_CONFIGURED_VALUE
ACM has been installed (operator manifest deployed), but not configured.
NOT_CONFIGURED = 4;public static final int NOT_INSTALLED_VALUE
ACM has not been installed (no operator pod found)
NOT_INSTALLED = 5;public static final int UNAUTHORIZED_VALUE
Error authorizing with the cluster
UNAUTHORIZED = 6;public static final int UNREACHABLE_VALUE
Cluster could not be reached
UNREACHABLE = 7;public static SyncState.SyncCode[] values()
for (SyncState.SyncCode c : SyncState.SyncCode.values()) System.out.println(c);
public static SyncState.SyncCode 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 SyncState.SyncCode valueOf(int value)
forNumber(int) instead.value - The numeric wire value of the corresponding enum entry.public static SyncState.SyncCode forNumber(int value)
value - The numeric wire value of the corresponding enum entry.public static com.google.protobuf.Internal.EnumLiteMap<SyncState.SyncCode> 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 SyncState.SyncCode valueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc)
Copyright © 2024 Google LLC. All rights reserved.