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 Details

    • SYNC_CODE_UNSPECIFIED

      public static final SyncState.SyncCode SYNC_CODE_UNSPECIFIED
       Config Sync cannot determine a sync code
       
      SYNC_CODE_UNSPECIFIED = 0;
    • SYNCED

      public static final SyncState.SyncCode SYNCED
       Config Sync successfully synced the git Repo with the cluster
       
      SYNCED = 1;
    • PENDING

      public static final SyncState.SyncCode PENDING
       Config Sync is in the progress of syncing a new change
       
      PENDING = 2;
    • ERROR

      public static final SyncState.SyncCode ERROR
       Indicates an error configuring Config Sync, and user action is required
       
      ERROR = 3;
    • NOT_CONFIGURED

      public static final SyncState.SyncCode NOT_CONFIGURED
       Config Sync has been installed but not configured
       
      NOT_CONFIGURED = 4;
    • NOT_INSTALLED

      public static final SyncState.SyncCode NOT_INSTALLED
       Config Sync has not been installed
       
      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 Details

    • SYNC_CODE_UNSPECIFIED_VALUE

      public static final int SYNC_CODE_UNSPECIFIED_VALUE
       Config Sync cannot determine a sync code
       
      SYNC_CODE_UNSPECIFIED = 0;
      See Also:
    • SYNCED_VALUE

      public static final int SYNCED_VALUE
       Config Sync successfully synced the git Repo with the cluster
       
      SYNCED = 1;
      See Also:
    • PENDING_VALUE

      public static final int PENDING_VALUE
       Config Sync is in the progress of syncing a new change
       
      PENDING = 2;
      See Also:
    • ERROR_VALUE

      public static final int ERROR_VALUE
       Indicates an error configuring Config Sync, and user action is required
       
      ERROR = 3;
      See Also:
    • NOT_CONFIGURED_VALUE

      public static final int NOT_CONFIGURED_VALUE
       Config Sync has been installed but not configured
       
      NOT_CONFIGURED = 4;
      See Also:
    • NOT_INSTALLED_VALUE

      public static final int NOT_INSTALLED_VALUE
       Config Sync has not been installed
       
      NOT_INSTALLED = 5;
      See Also:
    • UNAUTHORIZED_VALUE

      public static final int UNAUTHORIZED_VALUE
       Error authorizing with the cluster
       
      UNAUTHORIZED = 6;
      See Also:
    • UNREACHABLE_VALUE

      public static final int UNREACHABLE_VALUE
       Cluster could not be reached
       
      UNREACHABLE = 7;
      See Also:
  • Method Details

    • values

      public static SyncState.SyncCode[] 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

      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 name
      NullPointerException - if the argument is null
    • getNumber

      public final int getNumber()
      Specified by:
      getNumber in interface com.google.protobuf.Internal.EnumLite
      Specified by:
      getNumber in interface com.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 name
      NullPointerException - 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:
      getValueDescriptor in interface com.google.protobuf.ProtocolMessageEnum
    • getDescriptorForType

      public final com.google.protobuf.Descriptors.EnumDescriptor getDescriptorForType()
      Specified by:
      getDescriptorForType in interface com.google.protobuf.ProtocolMessageEnum
    • getDescriptor

      public static 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 name
      NullPointerException - if the argument is null