Enum Class EnvironmentInfo.HostingEnvironment.HostingEnvironmentType

java.lang.Object
java.lang.Enum<EnvironmentInfo.HostingEnvironment.HostingEnvironmentType>
io.temporal.api.worker.v1.EnvironmentInfo.HostingEnvironment.HostingEnvironmentType
All Implemented Interfaces:
com.google.protobuf.Internal.EnumLite, com.google.protobuf.ProtocolMessageEnum, Serializable, Comparable<EnvironmentInfo.HostingEnvironment.HostingEnvironmentType>, Constable
Enclosing class:
EnvironmentInfo.HostingEnvironment

public static enum EnvironmentInfo.HostingEnvironment.HostingEnvironmentType extends Enum<EnvironmentInfo.HostingEnvironment.HostingEnvironmentType> implements com.google.protobuf.ProtocolMessageEnum
 What kind of hosting environment we're running in. This list is about what can actually be
 detected reliably and is unrelated to what SDKs can actually run in.
 
Protobuf enum temporal.api.worker.v1.EnvironmentInfo.HostingEnvironment.HostingEnvironmentType
  • Enum Constant Details

  • Field Details

    • HOSTING_ENVIRONMENT_TYPE_UNSPECIFIED_VALUE

      public static final int HOSTING_ENVIRONMENT_TYPE_UNSPECIFIED_VALUE
       Should never actually be set, exists to follow convention of having a default.
       SDKs should just leave `hosting_environments` empty if none can be determined.
       
      HOSTING_ENVIRONMENT_TYPE_UNSPECIFIED = 0;
      See Also:
    • HOSTING_ENVIRONMENT_TYPE_DOCKER_VALUE

      public static final int HOSTING_ENVIRONMENT_TYPE_DOCKER_VALUE
       Should always be in the list if we're running inside a docker container
       
      HOSTING_ENVIRONMENT_TYPE_DOCKER = 1;
      See Also:
    • HOSTING_ENVIRONMENT_TYPE_K8S_VALUE

      public static final int HOSTING_ENVIRONMENT_TYPE_K8S_VALUE
       Should always be in the list if we're running inside any k8s environment
       
      HOSTING_ENVIRONMENT_TYPE_K8S = 2;
      See Also:
    • HOSTING_ENVIRONMENT_TYPE_AWS_LAMBDA_VALUE

      public static final int HOSTING_ENVIRONMENT_TYPE_AWS_LAMBDA_VALUE
       Detect via `AWS_LAMBDA_FUNCTION_NAME`
       
      HOSTING_ENVIRONMENT_TYPE_AWS_LAMBDA = 3;
      See Also:
    • HOSTING_ENVIRONMENT_TYPE_AWS_ECS_VALUE

      public static final int HOSTING_ENVIRONMENT_TYPE_AWS_ECS_VALUE
       Detect via `ECS_CONTAINER_METADATA_URI_V4` or `ECS_CONTAINER_METADATA_URI`
       
      HOSTING_ENVIRONMENT_TYPE_AWS_ECS = 4;
      See Also:
    • HOSTING_ENVIRONMENT_TYPE_GOOGLE_CLOUD_RUN_VALUE

      public static final int HOSTING_ENVIRONMENT_TYPE_GOOGLE_CLOUD_RUN_VALUE
       Detect via `K_SERVICE`
       
      HOSTING_ENVIRONMENT_TYPE_GOOGLE_CLOUD_RUN = 6;
      See Also:
    • HOSTING_ENVIRONMENT_TYPE_GOOGLE_APP_ENGINE_VALUE

      public static final int HOSTING_ENVIRONMENT_TYPE_GOOGLE_APP_ENGINE_VALUE
       Detect via `GAE_SERVICE`
       
      HOSTING_ENVIRONMENT_TYPE_GOOGLE_APP_ENGINE = 7;
      See Also:
    • HOSTING_ENVIRONMENT_TYPE_AZURE_APP_SERVICE_VALUE

      public static final int HOSTING_ENVIRONMENT_TYPE_AZURE_APP_SERVICE_VALUE
       Detect via `WEBSITE_SITE_NAME`
       
      HOSTING_ENVIRONMENT_TYPE_AZURE_APP_SERVICE = 8;
      See Also:
    • HOSTING_ENVIRONMENT_TYPE_AZURE_FUNCTIONS_VALUE

      public static final int HOSTING_ENVIRONMENT_TYPE_AZURE_FUNCTIONS_VALUE
       Detect via `FUNCTIONS_EXTENSION_VERSION`
       
      HOSTING_ENVIRONMENT_TYPE_AZURE_FUNCTIONS = 9;
      See Also:
    • HOSTING_ENVIRONMENT_TYPE_AZURE_CONTAINER_APPS_VALUE

      public static final int HOSTING_ENVIRONMENT_TYPE_AZURE_CONTAINER_APPS_VALUE
       Detect via `CONTAINER_APP_NAME`
       
      HOSTING_ENVIRONMENT_TYPE_AZURE_CONTAINER_APPS = 10;
      See Also:
  • Method Details

    • values

      Returns an array containing the constants of this enum class, in the order they are declared.
      Returns:
      an array containing the constants of this enum class, in the order they are declared
    • valueOf

      Returns the enum constant of this class with the specified name. The string must match exactly an identifier used to declare an enum constant in this class. (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 class 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.
      Returns the enum constant of this class with the specified name. The string must match exactly an identifier used to declare an enum constant in this class. (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 class has no constant with the specified name
      NullPointerException - if the argument is null
    • forNumber

      public static EnvironmentInfo.HostingEnvironment.HostingEnvironmentType 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<EnvironmentInfo.HostingEnvironment.HostingEnvironmentType> 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 final com.google.protobuf.Descriptors.EnumDescriptor getDescriptor()
    • valueOf

      public static EnvironmentInfo.HostingEnvironment.HostingEnvironmentType valueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc)
      Returns the enum constant of this class with the specified name. The string must match exactly an identifier used to declare an enum constant in this class. (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 class has no constant with the specified name
      NullPointerException - if the argument is null