Enum SyncState.SyncCode
java.lang.Object
java.lang.Enum<SyncState.SyncCode>
com.google.cloud.gkehub.configmanagement.v1alpha.SyncState.SyncCode
- All Implemented Interfaces:
com.google.protobuf.Internal.EnumLite,com.google.protobuf.ProtocolMessageEnum,Serializable,Comparable<SyncState.SyncCode>
- Enclosing class:
- SyncState
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 Summary
Enum ConstantsEnum ConstantDescriptionIndicates an error configuring ACM, and user action is requiredACM has been installed (operator manifest deployed), but not configured.ACM has not been installed (no operator pod found)ACM is in the progress of syncing a new changeACM cannot determine a sync codeACM successfully synced the git Repo with the clusterError authorizing with the clusterCluster could not be reached -
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final intIndicates an error configuring ACM, and user action is requiredstatic final intACM has been installed (operator manifest deployed), but not configured.static final intACM has not been installed (no operator pod found)static final intACM is in the progress of syncing a new changestatic final intACM cannot determine a sync codestatic final intACM successfully synced the git Repo with the clusterstatic final intError authorizing with the clusterstatic final intCluster could not be reached -
Method Summary
Modifier and TypeMethodDescriptionstatic SyncState.SyncCodeforNumber(int value) static com.google.protobuf.Descriptors.EnumDescriptorfinal com.google.protobuf.Descriptors.EnumDescriptorfinal intfinal com.google.protobuf.Descriptors.EnumValueDescriptorstatic com.google.protobuf.Internal.EnumLiteMap<SyncState.SyncCode>static SyncState.SyncCodevalueOf(int value) Deprecated.static SyncState.SyncCodevalueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc) Returns the enum constant of this type with the specified name.static SyncState.SyncCodeReturns 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.
-
Enum Constant Details
-
SYNC_CODE_UNSPECIFIED
ACM cannot determine a sync code
SYNC_CODE_UNSPECIFIED = 0; -
SYNCED
ACM successfully synced the git Repo with the cluster
SYNCED = 1; -
PENDING
ACM is in the progress of syncing a new change
PENDING = 2; -
ERROR
Indicates an error configuring ACM, and user action is required
ERROR = 3; -
NOT_CONFIGURED
ACM has been installed (operator manifest deployed), but not configured.
NOT_CONFIGURED = 4; -
NOT_INSTALLED
ACM has not been installed (no operator pod found)
NOT_INSTALLED = 5; -
UNAUTHORIZED
Error authorizing with the cluster
UNAUTHORIZED = 6; -
UNREACHABLE
Cluster could not be reached
UNREACHABLE = 7; -
UNRECOGNIZED
-
-
Field Details
-
SYNC_CODE_UNSPECIFIED_VALUE
public static final int SYNC_CODE_UNSPECIFIED_VALUEACM cannot determine a sync code
SYNC_CODE_UNSPECIFIED = 0;- See Also:
-
SYNCED_VALUE
public static final int SYNCED_VALUEACM successfully synced the git Repo with the cluster
SYNCED = 1;- See Also:
-
PENDING_VALUE
public static final int PENDING_VALUEACM is in the progress of syncing a new change
PENDING = 2;- See Also:
-
ERROR_VALUE
public static final int ERROR_VALUEIndicates an error configuring ACM, and user action is required
ERROR = 3;- See Also:
-
NOT_CONFIGURED_VALUE
public static final int NOT_CONFIGURED_VALUEACM has been installed (operator manifest deployed), but not configured.
NOT_CONFIGURED = 4;- See Also:
-
NOT_INSTALLED_VALUE
public static final int NOT_INSTALLED_VALUEACM has not been installed (no operator pod found)
NOT_INSTALLED = 5;- See Also:
-
UNAUTHORIZED_VALUE
public static final int UNAUTHORIZED_VALUEError authorizing with the cluster
UNAUTHORIZED = 6;- See Also:
-
UNREACHABLE_VALUE
public static final int UNREACHABLE_VALUECluster could not be reached
UNREACHABLE = 7;- See Also:
-
-
Method Details
-
values
Returns an array containing the constants of this enum type, in the order they are declared.- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)- Parameters:
name- the name of the enum constant to be returned.- Returns:
- the enum constant with the specified name
- Throws:
IllegalArgumentException- if this enum type has no constant with the specified nameNullPointerException- if the argument is null
-
getNumber
public final int getNumber()- Specified by:
getNumberin interfacecom.google.protobuf.Internal.EnumLite- Specified by:
getNumberin interfacecom.google.protobuf.ProtocolMessageEnum
-
valueOf
Deprecated.Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)- Parameters:
value- the name of the enum constant to be returned.- Returns:
- the enum constant with the specified name
- Throws:
IllegalArgumentException- if this enum type has no constant with the specified nameNullPointerException- if the argument is null
-
forNumber
- Parameters:
value- The numeric wire value of the corresponding enum entry.- Returns:
- The enum associated with the given numeric wire value.
-
internalGetValueMap
-
getValueDescriptor
public final com.google.protobuf.Descriptors.EnumValueDescriptor getValueDescriptor()- Specified by:
getValueDescriptorin interfacecom.google.protobuf.ProtocolMessageEnum
-
getDescriptorForType
public final com.google.protobuf.Descriptors.EnumDescriptor getDescriptorForType()- Specified by:
getDescriptorForTypein interfacecom.google.protobuf.ProtocolMessageEnum
-
getDescriptor
public static com.google.protobuf.Descriptors.EnumDescriptor getDescriptor() -
valueOf
Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)- Parameters:
desc- the name of the enum constant to be returned.- Returns:
- the enum constant with the specified name
- Throws:
IllegalArgumentException- if this enum type has no constant with the specified nameNullPointerException- if the argument is null
-