Package com.google.dataflow.v1beta3
Enum ParameterType
- java.lang.Object
-
- java.lang.Enum<ParameterType>
-
- com.google.dataflow.v1beta3.ParameterType
-
- All Implemented Interfaces:
com.google.protobuf.Internal.EnumLite,com.google.protobuf.ProtocolMessageEnum,Serializable,Comparable<ParameterType>
public enum ParameterType extends Enum<ParameterType> implements com.google.protobuf.ProtocolMessageEnum
ParameterType specifies what kind of input we need for this parameter.
Protobuf enumgoogle.dataflow.v1beta3.ParameterType
-
-
Enum Constant Summary
Enum Constants Enum Constant Description DEFAULTDefault input type.GCS_READ_BUCKETThe parameter specifies a Cloud Storage Bucket to read from.GCS_READ_FILEThe parameter specifies a Cloud Storage file path to read from.GCS_READ_FOLDERThe parameter specifies a Cloud Storage folder path to read from.GCS_WRITE_BUCKETThe parameter specifies a Cloud Storage Bucket to write to.GCS_WRITE_FILEThe parameter specifies a Cloud Storage file path to write to.GCS_WRITE_FOLDERThe parameter specifies a Cloud Storage folder to write to.PUBSUB_SUBSCRIPTIONThe parameter specifies a Pub/Sub Subscription.PUBSUB_TOPICThe parameter specifies a Pub/Sub Topic.TEXTThe parameter specifies generic text input.UNRECOGNIZED
-
Field Summary
Fields Modifier and Type Field Description static intDEFAULT_VALUEDefault input type.static intGCS_READ_BUCKET_VALUEThe parameter specifies a Cloud Storage Bucket to read from.static intGCS_READ_FILE_VALUEThe parameter specifies a Cloud Storage file path to read from.static intGCS_READ_FOLDER_VALUEThe parameter specifies a Cloud Storage folder path to read from.static intGCS_WRITE_BUCKET_VALUEThe parameter specifies a Cloud Storage Bucket to write to.static intGCS_WRITE_FILE_VALUEThe parameter specifies a Cloud Storage file path to write to.static intGCS_WRITE_FOLDER_VALUEThe parameter specifies a Cloud Storage folder to write to.static intPUBSUB_SUBSCRIPTION_VALUEThe parameter specifies a Pub/Sub Subscription.static intPUBSUB_TOPIC_VALUEThe parameter specifies a Pub/Sub Topic.static intTEXT_VALUEThe parameter specifies generic text input.
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Deprecated Methods Modifier and Type Method Description static ParameterTypeforNumber(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<ParameterType>internalGetValueMap()static ParameterTypevalueOf(int value)Deprecated.static ParameterTypevalueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc)Returns the enum constant of this type with the specified name.static ParameterTypevalueOf(String name)Returns the enum constant of this type with the specified name.static ParameterType[]values()Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
DEFAULT
public static final ParameterType DEFAULT
Default input type.
DEFAULT = 0;
-
TEXT
public static final ParameterType TEXT
The parameter specifies generic text input.
TEXT = 1;
-
GCS_READ_BUCKET
public static final ParameterType GCS_READ_BUCKET
The parameter specifies a Cloud Storage Bucket to read from.
GCS_READ_BUCKET = 2;
-
GCS_WRITE_BUCKET
public static final ParameterType GCS_WRITE_BUCKET
The parameter specifies a Cloud Storage Bucket to write to.
GCS_WRITE_BUCKET = 3;
-
GCS_READ_FILE
public static final ParameterType GCS_READ_FILE
The parameter specifies a Cloud Storage file path to read from.
GCS_READ_FILE = 4;
-
GCS_WRITE_FILE
public static final ParameterType GCS_WRITE_FILE
The parameter specifies a Cloud Storage file path to write to.
GCS_WRITE_FILE = 5;
-
GCS_READ_FOLDER
public static final ParameterType GCS_READ_FOLDER
The parameter specifies a Cloud Storage folder path to read from.
GCS_READ_FOLDER = 6;
-
GCS_WRITE_FOLDER
public static final ParameterType GCS_WRITE_FOLDER
The parameter specifies a Cloud Storage folder to write to.
GCS_WRITE_FOLDER = 7;
-
PUBSUB_TOPIC
public static final ParameterType PUBSUB_TOPIC
The parameter specifies a Pub/Sub Topic.
PUBSUB_TOPIC = 8;
-
PUBSUB_SUBSCRIPTION
public static final ParameterType PUBSUB_SUBSCRIPTION
The parameter specifies a Pub/Sub Subscription.
PUBSUB_SUBSCRIPTION = 9;
-
UNRECOGNIZED
public static final ParameterType UNRECOGNIZED
-
-
Field Detail
-
DEFAULT_VALUE
public static final int DEFAULT_VALUE
Default input type.
DEFAULT = 0;- See Also:
- Constant Field Values
-
TEXT_VALUE
public static final int TEXT_VALUE
The parameter specifies generic text input.
TEXT = 1;- See Also:
- Constant Field Values
-
GCS_READ_BUCKET_VALUE
public static final int GCS_READ_BUCKET_VALUE
The parameter specifies a Cloud Storage Bucket to read from.
GCS_READ_BUCKET = 2;- See Also:
- Constant Field Values
-
GCS_WRITE_BUCKET_VALUE
public static final int GCS_WRITE_BUCKET_VALUE
The parameter specifies a Cloud Storage Bucket to write to.
GCS_WRITE_BUCKET = 3;- See Also:
- Constant Field Values
-
GCS_READ_FILE_VALUE
public static final int GCS_READ_FILE_VALUE
The parameter specifies a Cloud Storage file path to read from.
GCS_READ_FILE = 4;- See Also:
- Constant Field Values
-
GCS_WRITE_FILE_VALUE
public static final int GCS_WRITE_FILE_VALUE
The parameter specifies a Cloud Storage file path to write to.
GCS_WRITE_FILE = 5;- See Also:
- Constant Field Values
-
GCS_READ_FOLDER_VALUE
public static final int GCS_READ_FOLDER_VALUE
The parameter specifies a Cloud Storage folder path to read from.
GCS_READ_FOLDER = 6;- See Also:
- Constant Field Values
-
GCS_WRITE_FOLDER_VALUE
public static final int GCS_WRITE_FOLDER_VALUE
The parameter specifies a Cloud Storage folder to write to.
GCS_WRITE_FOLDER = 7;- See Also:
- Constant Field Values
-
PUBSUB_TOPIC_VALUE
public static final int PUBSUB_TOPIC_VALUE
The parameter specifies a Pub/Sub Topic.
PUBSUB_TOPIC = 8;- See Also:
- Constant Field Values
-
PUBSUB_SUBSCRIPTION_VALUE
public static final int PUBSUB_SUBSCRIPTION_VALUE
The parameter specifies a Pub/Sub Subscription.
PUBSUB_SUBSCRIPTION = 9;- See Also:
- Constant Field Values
-
-
Method Detail
-
values
public static ParameterType[] 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 (ParameterType c : ParameterType.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static ParameterType 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 ParameterType 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 ParameterType 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<ParameterType> 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 ParameterType 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
-
-