Package com.google.dataflow.v1beta3
Enum DefaultPackageSet
- All Implemented Interfaces:
com.google.protobuf.Internal.EnumLite,com.google.protobuf.ProtocolMessageEnum,Serializable,Comparable<DefaultPackageSet>
@Generated
public enum DefaultPackageSet
extends Enum<DefaultPackageSet>
implements com.google.protobuf.ProtocolMessageEnum
The default set of packages to be staged on a pool of workers.Protobuf enum
google.dataflow.v1beta3.DefaultPackageSet-
Enum Constant Summary
Enum ConstantsEnum ConstantDescriptionStage packages typically useful to workers written in Java.Indicates that no packages should be staged at the worker unless explicitly specified by the job.Stage packages typically useful to workers written in Python.The default set of packages to stage is unknown, or unspecified. -
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final intStage packages typically useful to workers written in Java.static final intIndicates that no packages should be staged at the worker unless explicitly specified by the job.static final intStage packages typically useful to workers written in Python.static final intThe default set of packages to stage is unknown, or unspecified. -
Method Summary
Modifier and TypeMethodDescriptionstatic DefaultPackageSetforNumber(int value) static com.google.protobuf.Descriptors.EnumDescriptorfinal com.google.protobuf.Descriptors.EnumDescriptorfinal intfinal com.google.protobuf.Descriptors.EnumValueDescriptorstatic com.google.protobuf.Internal.EnumLiteMap<DefaultPackageSet>static DefaultPackageSetvalueOf(int value) Deprecated.static DefaultPackageSetvalueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc) Returns the enum constant of this type with the specified name.static DefaultPackageSetReturns the enum constant of this type with the specified name.static DefaultPackageSet[]values()Returns an array containing the constants of this enum type, in the order they are declared.
-
Enum Constant Details
-
DEFAULT_PACKAGE_SET_UNKNOWN
The default set of packages to stage is unknown, or unspecified.
DEFAULT_PACKAGE_SET_UNKNOWN = 0; -
DEFAULT_PACKAGE_SET_NONE
Indicates that no packages should be staged at the worker unless explicitly specified by the job.
DEFAULT_PACKAGE_SET_NONE = 1; -
DEFAULT_PACKAGE_SET_JAVA
Stage packages typically useful to workers written in Java.
DEFAULT_PACKAGE_SET_JAVA = 2; -
DEFAULT_PACKAGE_SET_PYTHON
Stage packages typically useful to workers written in Python.
DEFAULT_PACKAGE_SET_PYTHON = 3; -
UNRECOGNIZED
-
-
Field Details
-
DEFAULT_PACKAGE_SET_UNKNOWN_VALUE
public static final int DEFAULT_PACKAGE_SET_UNKNOWN_VALUEThe default set of packages to stage is unknown, or unspecified.
DEFAULT_PACKAGE_SET_UNKNOWN = 0;- See Also:
-
DEFAULT_PACKAGE_SET_NONE_VALUE
public static final int DEFAULT_PACKAGE_SET_NONE_VALUEIndicates that no packages should be staged at the worker unless explicitly specified by the job.
DEFAULT_PACKAGE_SET_NONE = 1;- See Also:
-
DEFAULT_PACKAGE_SET_JAVA_VALUE
public static final int DEFAULT_PACKAGE_SET_JAVA_VALUEStage packages typically useful to workers written in Java.
DEFAULT_PACKAGE_SET_JAVA = 2;- See Also:
-
DEFAULT_PACKAGE_SET_PYTHON_VALUE
public static final int DEFAULT_PACKAGE_SET_PYTHON_VALUEStage packages typically useful to workers written in Python.
DEFAULT_PACKAGE_SET_PYTHON = 3;- 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
-