Enum SyncState.SyncCode
java.lang.Object
java.lang.Enum<SyncState.SyncCode>
com.google.cloud.gkehub.configmanagement.v1beta.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 Config Sync's status of syncing configs to a cluster.Protobuf enum
google.cloud.gkehub.configmanagement.v1beta.SyncState.SyncCode-
Enum Constant Summary
Enum ConstantsEnum ConstantDescriptionIndicates an error configuring Config Sync, and user action is requiredConfig Sync has been installed but not configuredConfig Sync has not been installedConfig Sync is in the progress of syncing a new changeConfig Sync cannot determine a sync codeConfig Sync 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 Config Sync, and user action is requiredstatic final intConfig Sync has been installed but not configuredstatic final intConfig Sync has not been installedstatic final intConfig Sync is in the progress of syncing a new changestatic final intConfig Sync cannot determine a sync codestatic final intConfig Sync 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
Config Sync cannot determine a sync code
SYNC_CODE_UNSPECIFIED = 0; -
SYNCED
Config Sync successfully synced the git Repo with the cluster
SYNCED = 1; -
PENDING
Config Sync is in the progress of syncing a new change
PENDING = 2; -
ERROR
Indicates an error configuring Config Sync, and user action is required
ERROR = 3; -
NOT_CONFIGURED
Config Sync has been installed but not configured
NOT_CONFIGURED = 4; -
NOT_INSTALLED
Config Sync has not been installed
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_VALUEConfig Sync cannot determine a sync code
SYNC_CODE_UNSPECIFIED = 0;- See Also:
-
SYNCED_VALUE
public static final int SYNCED_VALUEConfig Sync successfully synced the git Repo with the cluster
SYNCED = 1;- See Also:
-
PENDING_VALUE
public static final int PENDING_VALUEConfig Sync is in the progress of syncing a new change
PENDING = 2;- See Also:
-
ERROR_VALUE
public static final int ERROR_VALUEIndicates an error configuring Config Sync, and user action is required
ERROR = 3;- See Also:
-
NOT_CONFIGURED_VALUE
public static final int NOT_CONFIGURED_VALUEConfig Sync has been installed but not configured
NOT_CONFIGURED = 4;- See Also:
-
NOT_INSTALLED_VALUE
public static final int NOT_INSTALLED_VALUEConfig Sync has not been installed
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
-