Package viam.app.v1
Enum Class AppOuterClass.ModuleSourceType
- All Implemented Interfaces:
com.google.protobuf.Internal.EnumLite,Serializable,Comparable<AppOuterClass.ModuleSourceType>,Constable
- Enclosing class:
AppOuterClass
public static enum AppOuterClass.ModuleSourceType
extends Enum<AppOuterClass.ModuleSourceType>
implements com.google.protobuf.Internal.EnumLite
Protobuf enum
viam.app.v1.ModuleSourceType-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>> -
Enum Constant Summary
Enum ConstantsEnum ConstantDescriptionModule source code is stored externally, such as in github.MODULE_SOURCE_TYPE_UNSPECIFIED = 0;Module source code is versioned and managed within Viam. -
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final intModule source code is stored externally, such as in github.static final intMODULE_SOURCE_TYPE_UNSPECIFIED = 0;static final intModule source code is versioned and managed within Viam. -
Method Summary
Modifier and TypeMethodDescriptionforNumber(int value) final intstatic com.google.protobuf.Internal.EnumLiteMap<AppOuterClass.ModuleSourceType> static com.google.protobuf.Internal.EnumVerifiervalueOf(int value) Deprecated.Returns the enum constant of this class with the specified name.static AppOuterClass.ModuleSourceType[]values()Returns an array containing the constants of this enum class, in the order they are declared.
-
Enum Constant Details
-
MODULE_SOURCE_TYPE_UNSPECIFIED
MODULE_SOURCE_TYPE_UNSPECIFIED = 0; -
MODULE_SOURCE_TYPE_EXTERNAL
Module source code is stored externally, such as in github.
MODULE_SOURCE_TYPE_EXTERNAL = 1; -
MODULE_SOURCE_TYPE_VIAM_HOSTED
Module source code is versioned and managed within Viam.
MODULE_SOURCE_TYPE_VIAM_HOSTED = 2; -
UNRECOGNIZED
-
-
Field Details
-
MODULE_SOURCE_TYPE_UNSPECIFIED_VALUE
public static final int MODULE_SOURCE_TYPE_UNSPECIFIED_VALUEMODULE_SOURCE_TYPE_UNSPECIFIED = 0;- See Also:
-
MODULE_SOURCE_TYPE_EXTERNAL_VALUE
public static final int MODULE_SOURCE_TYPE_EXTERNAL_VALUEModule source code is stored externally, such as in github.
MODULE_SOURCE_TYPE_EXTERNAL = 1;- See Also:
-
MODULE_SOURCE_TYPE_VIAM_HOSTED_VALUE
public static final int MODULE_SOURCE_TYPE_VIAM_HOSTED_VALUEModule source code is versioned and managed within Viam.
MODULE_SOURCE_TYPE_VIAM_HOSTED = 2;- 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 nameNullPointerException- if the argument is null
-
getNumber
public final int getNumber()- Specified by:
getNumberin interfacecom.google.protobuf.Internal.EnumLite
-
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 nameNullPointerException- if the argument is null
-
forNumber
-
internalGetValueMap
public static com.google.protobuf.Internal.EnumLiteMap<AppOuterClass.ModuleSourceType> internalGetValueMap() -
internalGetVerifier
public static com.google.protobuf.Internal.EnumVerifier internalGetVerifier()
-