Package com.google.dataflow.v1beta3
Enum DefaultPackageSet
- java.lang.Object
-
- java.lang.Enum<DefaultPackageSet>
-
- com.google.dataflow.v1beta3.DefaultPackageSet
-
- All Implemented Interfaces:
com.google.protobuf.Internal.EnumLite,com.google.protobuf.ProtocolMessageEnum,Serializable,Comparable<DefaultPackageSet>
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 enumgoogle.dataflow.v1beta3.DefaultPackageSet
-
-
Enum Constant Summary
Enum Constants Enum Constant Description DEFAULT_PACKAGE_SET_JAVAStage packages typically useful to workers written in Java.DEFAULT_PACKAGE_SET_NONEIndicates that no packages should be staged at the worker unless explicitly specified by the job.DEFAULT_PACKAGE_SET_PYTHONStage packages typically useful to workers written in Python.DEFAULT_PACKAGE_SET_UNKNOWNThe default set of packages to stage is unknown, or unspecified.UNRECOGNIZED
-
Field Summary
Fields Modifier and Type Field Description static intDEFAULT_PACKAGE_SET_JAVA_VALUEStage packages typically useful to workers written in Java.static intDEFAULT_PACKAGE_SET_NONE_VALUEIndicates that no packages should be staged at the worker unless explicitly specified by the job.static intDEFAULT_PACKAGE_SET_PYTHON_VALUEStage packages typically useful to workers written in Python.static intDEFAULT_PACKAGE_SET_UNKNOWN_VALUEThe default set of packages to stage is unknown, or unspecified.
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Deprecated Methods Modifier and Type Method Description static DefaultPackageSetforNumber(int value)static com.google.protobuf.Descriptors.EnumDescriptorgetDescriptor()com.google.protobuf.Descriptors.EnumDescriptorgetDescriptorForType()intgetNumber()com.google.protobuf.Descriptors.EnumValueDescriptorgetValueDescriptor()static com.google.protobuf.Internal.EnumLiteMap<DefaultPackageSet>internalGetValueMap()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 DefaultPackageSetvalueOf(String name)Returns 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 Detail
-
DEFAULT_PACKAGE_SET_UNKNOWN
public static final DefaultPackageSet DEFAULT_PACKAGE_SET_UNKNOWN
The default set of packages to stage is unknown, or unspecified.
DEFAULT_PACKAGE_SET_UNKNOWN = 0;
-
DEFAULT_PACKAGE_SET_NONE
public static final DefaultPackageSet 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
public static final DefaultPackageSet DEFAULT_PACKAGE_SET_JAVA
Stage packages typically useful to workers written in Java.
DEFAULT_PACKAGE_SET_JAVA = 2;
-
DEFAULT_PACKAGE_SET_PYTHON
public static final DefaultPackageSet DEFAULT_PACKAGE_SET_PYTHON
Stage packages typically useful to workers written in Python.
DEFAULT_PACKAGE_SET_PYTHON = 3;
-
UNRECOGNIZED
public static final DefaultPackageSet UNRECOGNIZED
-
-
Field Detail
-
DEFAULT_PACKAGE_SET_UNKNOWN_VALUE
public static final int DEFAULT_PACKAGE_SET_UNKNOWN_VALUE
The default set of packages to stage is unknown, or unspecified.
DEFAULT_PACKAGE_SET_UNKNOWN = 0;- See Also:
- Constant Field Values
-
DEFAULT_PACKAGE_SET_NONE_VALUE
public static final int DEFAULT_PACKAGE_SET_NONE_VALUE
Indicates that no packages should be staged at the worker unless explicitly specified by the job.
DEFAULT_PACKAGE_SET_NONE = 1;- See Also:
- Constant Field Values
-
DEFAULT_PACKAGE_SET_JAVA_VALUE
public static final int DEFAULT_PACKAGE_SET_JAVA_VALUE
Stage packages typically useful to workers written in Java.
DEFAULT_PACKAGE_SET_JAVA = 2;- See Also:
- Constant Field Values
-
DEFAULT_PACKAGE_SET_PYTHON_VALUE
public static final int DEFAULT_PACKAGE_SET_PYTHON_VALUE
Stage packages typically useful to workers written in Python.
DEFAULT_PACKAGE_SET_PYTHON = 3;- See Also:
- Constant Field Values
-
-
Method Detail
-
values
public static DefaultPackageSet[] values()
Returns an array containing the constants of this enum type, in the order they are declared. This method may be used to iterate over the constants as follows:for (DefaultPackageSet c : DefaultPackageSet.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static DefaultPackageSet 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 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 public static DefaultPackageSet 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 nameNullPointerException- if the argument is null
-
forNumber
public static DefaultPackageSet 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<DefaultPackageSet> 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 final com.google.protobuf.Descriptors.EnumDescriptor getDescriptor()
-
valueOf
public static DefaultPackageSet 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 nameNullPointerException- if the argument is null
-
-