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 DEFAULT
Default input type.GCS_READ_BUCKET
The parameter specifies a Cloud Storage Bucket to read from.GCS_READ_FILE
The parameter specifies a Cloud Storage file path to read from.GCS_READ_FOLDER
The parameter specifies a Cloud Storage folder path to read from.GCS_WRITE_BUCKET
The parameter specifies a Cloud Storage Bucket to write to.GCS_WRITE_FILE
The parameter specifies a Cloud Storage file path to write to.GCS_WRITE_FOLDER
The parameter specifies a Cloud Storage folder to write to.PUBSUB_SUBSCRIPTION
The parameter specifies a Pub/Sub Subscription.PUBSUB_TOPIC
The parameter specifies a Pub/Sub Topic.TEXT
The parameter specifies generic text input.UNRECOGNIZED
-
Field Summary
Fields Modifier and Type Field Description static int
DEFAULT_VALUE
Default input type.static int
GCS_READ_BUCKET_VALUE
The parameter specifies a Cloud Storage Bucket to read from.static int
GCS_READ_FILE_VALUE
The parameter specifies a Cloud Storage file path to read from.static int
GCS_READ_FOLDER_VALUE
The parameter specifies a Cloud Storage folder path to read from.static int
GCS_WRITE_BUCKET_VALUE
The parameter specifies a Cloud Storage Bucket to write to.static int
GCS_WRITE_FILE_VALUE
The parameter specifies a Cloud Storage file path to write to.static int
GCS_WRITE_FOLDER_VALUE
The parameter specifies a Cloud Storage folder to write to.static int
PUBSUB_SUBSCRIPTION_VALUE
The parameter specifies a Pub/Sub Subscription.static int
PUBSUB_TOPIC_VALUE
The parameter specifies a Pub/Sub Topic.static int
TEXT_VALUE
The parameter specifies generic text input.
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Deprecated Methods Modifier and Type Method Description static ParameterType
forNumber(int value)
static com.google.protobuf.Descriptors.EnumDescriptor
getDescriptor()
com.google.protobuf.Descriptors.EnumDescriptor
getDescriptorForType()
int
getNumber()
com.google.protobuf.Descriptors.EnumValueDescriptor
getValueDescriptor()
static com.google.protobuf.Internal.EnumLiteMap<ParameterType>
internalGetValueMap()
static ParameterType
valueOf(int value)
Deprecated.static ParameterType
valueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc)
Returns the enum constant of this type with the specified name.static ParameterType
valueOf(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:
getNumber
in interfacecom.google.protobuf.Internal.EnumLite
- Specified by:
getNumber
in 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:
getValueDescriptor
in interfacecom.google.protobuf.ProtocolMessageEnum
-
getDescriptorForType
public final com.google.protobuf.Descriptors.EnumDescriptor getDescriptorForType()
- Specified by:
getDescriptorForType
in 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
-
-