Package com.viam.service.shell.v1
Enum Class Shell.CopyFilesSourceType
- All Implemented Interfaces:
com.google.protobuf.Internal.EnumLite
,Serializable
,Comparable<Shell.CopyFilesSourceType>
,Constable
- Enclosing class:
- Shell
public static enum Shell.CopyFilesSourceType
extends Enum<Shell.CopyFilesSourceType>
implements com.google.protobuf.Internal.EnumLite
CopyFilesSourceType indicates what will be copied. It's important to disambiguate the single directory case from the multiple files case in order to indicate that the user's intent is to copy a directory into a single location which may result in a new top-level directory versus the cause of multiples files that always go into the existing target destination.Protobuf enum
viam.service.shell.v1.CopyFilesSourceType
-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>>
-
Enum Constant Summary
Enum ConstantDescriptionCOPY_FILES_SOURCE_TYPE_MULTIPLE_FILES = 3;
COPY_FILES_SOURCE_TYPE_SINGLE_DIRECTORY = 2;
COPY_FILES_SOURCE_TYPE_SINGLE_FILE = 1;
COPY_FILES_SOURCE_TYPE_UNSPECIFIED = 0;
-
Field Summary
Modifier and TypeFieldDescriptionstatic final int
COPY_FILES_SOURCE_TYPE_MULTIPLE_FILES = 3;
static final int
COPY_FILES_SOURCE_TYPE_SINGLE_DIRECTORY = 2;
static final int
COPY_FILES_SOURCE_TYPE_SINGLE_FILE = 1;
static final int
COPY_FILES_SOURCE_TYPE_UNSPECIFIED = 0;
-
Method Summary
Modifier and TypeMethodDescriptionstatic Shell.CopyFilesSourceType
forNumber
(int value) final int
static com.google.protobuf.Internal.EnumLiteMap<Shell.CopyFilesSourceType>
static com.google.protobuf.Internal.EnumVerifier
static Shell.CopyFilesSourceType
valueOf
(int value) Deprecated.static Shell.CopyFilesSourceType
Returns the enum constant of this class with the specified name.static Shell.CopyFilesSourceType[]
values()
Returns an array containing the constants of this enum class, in the order they are declared.
-
Enum Constant Details
-
COPY_FILES_SOURCE_TYPE_UNSPECIFIED
COPY_FILES_SOURCE_TYPE_UNSPECIFIED = 0;
-
COPY_FILES_SOURCE_TYPE_SINGLE_FILE
COPY_FILES_SOURCE_TYPE_SINGLE_FILE = 1;
-
COPY_FILES_SOURCE_TYPE_SINGLE_DIRECTORY
COPY_FILES_SOURCE_TYPE_SINGLE_DIRECTORY = 2;
-
COPY_FILES_SOURCE_TYPE_MULTIPLE_FILES
COPY_FILES_SOURCE_TYPE_MULTIPLE_FILES = 3;
-
UNRECOGNIZED
-
-
Field Details
-
COPY_FILES_SOURCE_TYPE_UNSPECIFIED_VALUE
public static final int COPY_FILES_SOURCE_TYPE_UNSPECIFIED_VALUECOPY_FILES_SOURCE_TYPE_UNSPECIFIED = 0;
- See Also:
-
COPY_FILES_SOURCE_TYPE_SINGLE_FILE_VALUE
public static final int COPY_FILES_SOURCE_TYPE_SINGLE_FILE_VALUECOPY_FILES_SOURCE_TYPE_SINGLE_FILE = 1;
- See Also:
-
COPY_FILES_SOURCE_TYPE_SINGLE_DIRECTORY_VALUE
public static final int COPY_FILES_SOURCE_TYPE_SINGLE_DIRECTORY_VALUECOPY_FILES_SOURCE_TYPE_SINGLE_DIRECTORY = 2;
- See Also:
-
COPY_FILES_SOURCE_TYPE_MULTIPLE_FILES_VALUE
public static final int COPY_FILES_SOURCE_TYPE_MULTIPLE_FILES_VALUECOPY_FILES_SOURCE_TYPE_MULTIPLE_FILES = 3;
- 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:
getNumber
in 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<Shell.CopyFilesSourceType> internalGetValueMap() -
internalGetVerifier
public static com.google.protobuf.Internal.EnumVerifier internalGetVerifier()
-