Enum SyncState.SyncCode
- java.lang.Object
-
- java.lang.Enum<SyncState.SyncCode>
-
- com.google.cloud.gkehub.configmanagement.v1.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 cluster
Protobuf enumgoogle.cloud.gkehub.configmanagement.v1.SyncState.SyncCode
-
-
Enum Constant Summary
Enum Constants Enum Constant Description ERRORIndicates an error configuring ACM, and user action is requiredNOT_CONFIGUREDACM has been installed (operator manifest deployed), but not configured.NOT_INSTALLEDACM has not been installed (no operator pod found)PENDINGACM is in the progress of syncing a new changeSYNC_CODE_UNSPECIFIEDACM cannot determine a sync codeSYNCEDACM successfully synced the git Repo with the clusterUNAUTHORIZEDError authorizing with the clusterUNREACHABLECluster could not be reachedUNRECOGNIZED
-
Field Summary
Fields Modifier and Type Field Description static intERROR_VALUEIndicates an error configuring ACM, and user action is requiredstatic intNOT_CONFIGURED_VALUEACM has been installed (operator manifest deployed), but not configured.static intNOT_INSTALLED_VALUEACM has not been installed (no operator pod found)static intPENDING_VALUEACM is in the progress of syncing a new changestatic intSYNC_CODE_UNSPECIFIED_VALUEACM cannot determine a sync codestatic intSYNCED_VALUEACM successfully synced the git Repo with the clusterstatic intUNAUTHORIZED_VALUEError authorizing with the clusterstatic intUNREACHABLE_VALUECluster could not be reached
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Deprecated Methods Modifier and Type Method Description static SyncState.SyncCodeforNumber(int value)static com.google.protobuf.Descriptors.EnumDescriptorgetDescriptor()com.google.protobuf.Descriptors.EnumDescriptorgetDescriptorForType()intgetNumber()com.google.protobuf.Descriptors.EnumValueDescriptorgetValueDescriptor()static com.google.protobuf.Internal.EnumLiteMap<SyncState.SyncCode>internalGetValueMap()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.SyncCodevalueOf(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.
-
-
-
Enum Constant Detail
-
SYNC_CODE_UNSPECIFIED
public static final SyncState.SyncCode SYNC_CODE_UNSPECIFIED
ACM cannot determine a sync code
SYNC_CODE_UNSPECIFIED = 0;
-
SYNCED
public static final SyncState.SyncCode SYNCED
ACM successfully synced the git Repo with the cluster
SYNCED = 1;
-
PENDING
public static final SyncState.SyncCode PENDING
ACM is in the progress of syncing a new change
PENDING = 2;
-
ERROR
public static final SyncState.SyncCode ERROR
Indicates an error configuring ACM, and user action is required
ERROR = 3;
-
NOT_CONFIGURED
public static final SyncState.SyncCode NOT_CONFIGURED
ACM has been installed (operator manifest deployed), but not configured.
NOT_CONFIGURED = 4;
-
NOT_INSTALLED
public static final SyncState.SyncCode NOT_INSTALLED
ACM has not been installed (no operator pod found)
NOT_INSTALLED = 5;
-
UNAUTHORIZED
public static final SyncState.SyncCode UNAUTHORIZED
Error authorizing with the cluster
UNAUTHORIZED = 6;
-
UNREACHABLE
public static final SyncState.SyncCode UNREACHABLE
Cluster could not be reached
UNREACHABLE = 7;
-
UNRECOGNIZED
public static final SyncState.SyncCode UNRECOGNIZED
-
-
Field Detail
-
SYNC_CODE_UNSPECIFIED_VALUE
public static final int SYNC_CODE_UNSPECIFIED_VALUE
ACM cannot determine a sync code
SYNC_CODE_UNSPECIFIED = 0;- See Also:
- Constant Field Values
-
SYNCED_VALUE
public static final int SYNCED_VALUE
ACM successfully synced the git Repo with the cluster
SYNCED = 1;- See Also:
- Constant Field Values
-
PENDING_VALUE
public static final int PENDING_VALUE
ACM is in the progress of syncing a new change
PENDING = 2;- See Also:
- Constant Field Values
-
ERROR_VALUE
public static final int ERROR_VALUE
Indicates an error configuring ACM, and user action is required
ERROR = 3;- See Also:
- Constant Field Values
-
NOT_CONFIGURED_VALUE
public static final int NOT_CONFIGURED_VALUE
ACM has been installed (operator manifest deployed), but not configured.
NOT_CONFIGURED = 4;- See Also:
- Constant Field Values
-
NOT_INSTALLED_VALUE
public static final int NOT_INSTALLED_VALUE
ACM has not been installed (no operator pod found)
NOT_INSTALLED = 5;- See Also:
- Constant Field Values
-
UNAUTHORIZED_VALUE
public static final int UNAUTHORIZED_VALUE
Error authorizing with the cluster
UNAUTHORIZED = 6;- See Also:
- Constant Field Values
-
UNREACHABLE_VALUE
public static final int UNREACHABLE_VALUE
Cluster could not be reached
UNREACHABLE = 7;- See Also:
- Constant Field Values
-
-
Method Detail
-
values
public static SyncState.SyncCode[] values()
Returns an array containing the constants of this enum type, in the order they are declared. This method may be used to iterate over the constants as follows:for (SyncState.SyncCode c : SyncState.SyncCode.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static SyncState.SyncCode valueOf(String name)
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 public static SyncState.SyncCode valueOf(int value)
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
public static SyncState.SyncCode forNumber(int value)
- Parameters:
value- The numeric wire value of the corresponding enum entry.- Returns:
- The enum associated with the given numeric wire value.
-
internalGetValueMap
public static com.google.protobuf.Internal.EnumLiteMap<SyncState.SyncCode> 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 final com.google.protobuf.Descriptors.EnumDescriptor getDescriptor()
-
valueOf
public static SyncState.SyncCode valueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc)
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
-
-