Package com.google.dataflow.v1beta3
Enum ParameterType
- All Implemented Interfaces:
com.google.protobuf.Internal.EnumLite,com.google.protobuf.ProtocolMessageEnum,Serializable,Comparable<ParameterType>
@Generated
public enum ParameterType
extends Enum<ParameterType>
implements com.google.protobuf.ProtocolMessageEnum
ParameterType specifies what kind of input we need for this parameter.Protobuf enum
google.dataflow.v1beta3.ParameterType-
Enum Constant Summary
Enum ConstantsEnum ConstantDescriptionThe parameter specifies a BigQuery table.The parameter specifies a boolean input.Default input type.The parameter specifies an enum input.The parameter specifies a Cloud Storage Bucket to read from.The parameter specifies a Cloud Storage file path to read from.The parameter specifies a Cloud Storage folder path to read from.The parameter specifies a Cloud Storage Bucket to write to.The parameter specifies a Cloud Storage file path to write to.The parameter specifies a Cloud Storage folder to write to.The parameter specifies a JavaScript UDF in Cloud Storage.The parameter specifies the fully-qualified name of an Apache Kafka topic.Deprecated.The parameter specifies the fully-qualified name of an Apache Kafka topic.The parameter specifies a KMS Key name.The parameter specifies a Machine Type.The parameter specifies a number input.The parameter specifies a Pub/Sub Subscription.The parameter specifies a Pub/Sub Topic.The parameter specifies a Service Account email.The parameter specifies generic text input.The parameter specifies a Worker Region.The parameter specifies a Worker Zone. -
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final intThe parameter specifies a BigQuery table.static final intThe parameter specifies a boolean input.static final intDefault input type.static final intThe parameter specifies an enum input.static final intThe parameter specifies a Cloud Storage Bucket to read from.static final intThe parameter specifies a Cloud Storage file path to read from.static final intThe parameter specifies a Cloud Storage folder path to read from.static final intThe parameter specifies a Cloud Storage Bucket to write to.static final intThe parameter specifies a Cloud Storage file path to write to.static final intThe parameter specifies a Cloud Storage folder to write to.static final intThe parameter specifies a JavaScript UDF in Cloud Storage.static final intThe parameter specifies the fully-qualified name of an Apache Kafka topic.static final intDeprecated.static final intThe parameter specifies the fully-qualified name of an Apache Kafka topic.static final intThe parameter specifies a KMS Key name.static final intThe parameter specifies a Machine Type.static final intThe parameter specifies a number input.static final intThe parameter specifies a Pub/Sub Subscription.static final intThe parameter specifies a Pub/Sub Topic.static final intThe parameter specifies a Service Account email.static final intThe parameter specifies generic text input.static final intThe parameter specifies a Worker Region.static final intThe parameter specifies a Worker Zone. -
Method Summary
Modifier and TypeMethodDescriptionstatic ParameterTypeforNumber(int value) static com.google.protobuf.Descriptors.EnumDescriptorfinal com.google.protobuf.Descriptors.EnumDescriptorfinal intfinal com.google.protobuf.Descriptors.EnumValueDescriptorstatic com.google.protobuf.Internal.EnumLiteMap<ParameterType>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 ParameterTypeReturns 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 Details
-
DEFAULT
Default input type.
DEFAULT = 0; -
TEXT
The parameter specifies generic text input.
TEXT = 1; -
GCS_READ_BUCKET
The parameter specifies a Cloud Storage Bucket to read from.
GCS_READ_BUCKET = 2; -
GCS_WRITE_BUCKET
The parameter specifies a Cloud Storage Bucket to write to.
GCS_WRITE_BUCKET = 3; -
GCS_READ_FILE
The parameter specifies a Cloud Storage file path to read from.
GCS_READ_FILE = 4; -
GCS_WRITE_FILE
The parameter specifies a Cloud Storage file path to write to.
GCS_WRITE_FILE = 5; -
GCS_READ_FOLDER
The parameter specifies a Cloud Storage folder path to read from.
GCS_READ_FOLDER = 6; -
GCS_WRITE_FOLDER
The parameter specifies a Cloud Storage folder to write to.
GCS_WRITE_FOLDER = 7; -
PUBSUB_TOPIC
The parameter specifies a Pub/Sub Topic.
PUBSUB_TOPIC = 8; -
PUBSUB_SUBSCRIPTION
The parameter specifies a Pub/Sub Subscription.
PUBSUB_SUBSCRIPTION = 9; -
BIGQUERY_TABLE
The parameter specifies a BigQuery table.
BIGQUERY_TABLE = 10; -
JAVASCRIPT_UDF_FILE
The parameter specifies a JavaScript UDF in Cloud Storage.
JAVASCRIPT_UDF_FILE = 11; -
SERVICE_ACCOUNT
The parameter specifies a Service Account email.
SERVICE_ACCOUNT = 12; -
MACHINE_TYPE
The parameter specifies a Machine Type.
MACHINE_TYPE = 13; -
KMS_KEY_NAME
The parameter specifies a KMS Key name.
KMS_KEY_NAME = 14; -
WORKER_REGION
The parameter specifies a Worker Region.
WORKER_REGION = 15; -
WORKER_ZONE
The parameter specifies a Worker Zone.
WORKER_ZONE = 16; -
BOOLEAN
The parameter specifies a boolean input.
BOOLEAN = 17; -
ENUM
The parameter specifies an enum input.
ENUM = 18; -
NUMBER
The parameter specifies a number input.
NUMBER = 19; -
KAFKA_TOPIC
Deprecated.Deprecated. Please use KAFKA_READ_TOPIC instead.
KAFKA_TOPIC = 20 [deprecated = true]; -
KAFKA_READ_TOPIC
The parameter specifies the fully-qualified name of an Apache Kafka topic. This can be either a Google Managed Kafka topic or a non-managed Kafka topic.
KAFKA_READ_TOPIC = 21; -
KAFKA_WRITE_TOPIC
The parameter specifies the fully-qualified name of an Apache Kafka topic. This can be an existing Google Managed Kafka topic, the name for a new Google Managed Kafka topic, or an existing non-managed Kafka topic.
KAFKA_WRITE_TOPIC = 22; -
UNRECOGNIZED
-
-
Field Details
-
DEFAULT_VALUE
public static final int DEFAULT_VALUEDefault input type.
DEFAULT = 0;- See Also:
-
TEXT_VALUE
public static final int TEXT_VALUEThe parameter specifies generic text input.
TEXT = 1;- See Also:
-
GCS_READ_BUCKET_VALUE
public static final int GCS_READ_BUCKET_VALUEThe parameter specifies a Cloud Storage Bucket to read from.
GCS_READ_BUCKET = 2;- See Also:
-
GCS_WRITE_BUCKET_VALUE
public static final int GCS_WRITE_BUCKET_VALUEThe parameter specifies a Cloud Storage Bucket to write to.
GCS_WRITE_BUCKET = 3;- See Also:
-
GCS_READ_FILE_VALUE
public static final int GCS_READ_FILE_VALUEThe parameter specifies a Cloud Storage file path to read from.
GCS_READ_FILE = 4;- See Also:
-
GCS_WRITE_FILE_VALUE
public static final int GCS_WRITE_FILE_VALUEThe parameter specifies a Cloud Storage file path to write to.
GCS_WRITE_FILE = 5;- See Also:
-
GCS_READ_FOLDER_VALUE
public static final int GCS_READ_FOLDER_VALUEThe parameter specifies a Cloud Storage folder path to read from.
GCS_READ_FOLDER = 6;- See Also:
-
GCS_WRITE_FOLDER_VALUE
public static final int GCS_WRITE_FOLDER_VALUEThe parameter specifies a Cloud Storage folder to write to.
GCS_WRITE_FOLDER = 7;- See Also:
-
PUBSUB_TOPIC_VALUE
public static final int PUBSUB_TOPIC_VALUEThe parameter specifies a Pub/Sub Topic.
PUBSUB_TOPIC = 8;- See Also:
-
PUBSUB_SUBSCRIPTION_VALUE
public static final int PUBSUB_SUBSCRIPTION_VALUEThe parameter specifies a Pub/Sub Subscription.
PUBSUB_SUBSCRIPTION = 9;- See Also:
-
BIGQUERY_TABLE_VALUE
public static final int BIGQUERY_TABLE_VALUEThe parameter specifies a BigQuery table.
BIGQUERY_TABLE = 10;- See Also:
-
JAVASCRIPT_UDF_FILE_VALUE
public static final int JAVASCRIPT_UDF_FILE_VALUEThe parameter specifies a JavaScript UDF in Cloud Storage.
JAVASCRIPT_UDF_FILE = 11;- See Also:
-
SERVICE_ACCOUNT_VALUE
public static final int SERVICE_ACCOUNT_VALUEThe parameter specifies a Service Account email.
SERVICE_ACCOUNT = 12;- See Also:
-
MACHINE_TYPE_VALUE
public static final int MACHINE_TYPE_VALUEThe parameter specifies a Machine Type.
MACHINE_TYPE = 13;- See Also:
-
KMS_KEY_NAME_VALUE
public static final int KMS_KEY_NAME_VALUEThe parameter specifies a KMS Key name.
KMS_KEY_NAME = 14;- See Also:
-
WORKER_REGION_VALUE
public static final int WORKER_REGION_VALUEThe parameter specifies a Worker Region.
WORKER_REGION = 15;- See Also:
-
WORKER_ZONE_VALUE
public static final int WORKER_ZONE_VALUEThe parameter specifies a Worker Zone.
WORKER_ZONE = 16;- See Also:
-
BOOLEAN_VALUE
public static final int BOOLEAN_VALUEThe parameter specifies a boolean input.
BOOLEAN = 17;- See Also:
-
ENUM_VALUE
public static final int ENUM_VALUEThe parameter specifies an enum input.
ENUM = 18;- See Also:
-
NUMBER_VALUE
public static final int NUMBER_VALUEThe parameter specifies a number input.
NUMBER = 19;- See Also:
-
KAFKA_TOPIC_VALUE
Deprecated.Deprecated. Please use KAFKA_READ_TOPIC instead.
KAFKA_TOPIC = 20 [deprecated = true];- See Also:
-
KAFKA_READ_TOPIC_VALUE
public static final int KAFKA_READ_TOPIC_VALUEThe parameter specifies the fully-qualified name of an Apache Kafka topic. This can be either a Google Managed Kafka topic or a non-managed Kafka topic.
KAFKA_READ_TOPIC = 21;- See Also:
-
KAFKA_WRITE_TOPIC_VALUE
public static final int KAFKA_WRITE_TOPIC_VALUEThe parameter specifies the fully-qualified name of an Apache Kafka topic. This can be an existing Google Managed Kafka topic, the name for a new Google Managed Kafka topic, or an existing non-managed Kafka topic.
KAFKA_WRITE_TOPIC = 22;- 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
-