Enum 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 enum google.dataflow.v1beta3.ParameterType
    • 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;
    • 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 name
        NullPointerException - if the argument is null
      • getNumber

        public final int getNumber()
        Specified by:
        getNumber in interface com.google.protobuf.Internal.EnumLite
        Specified by:
        getNumber in interface com.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 name
        NullPointerException - 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 interface com.google.protobuf.ProtocolMessageEnum
      • getDescriptorForType

        public final com.google.protobuf.Descriptors.EnumDescriptor getDescriptorForType()
        Specified by:
        getDescriptorForType in interface com.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 name
        NullPointerException - if the argument is null