Enum DataSourceParameter.Type
java.lang.Object
java.lang.Enum<DataSourceParameter.Type>
com.google.cloud.bigquery.datatransfer.v1.DataSourceParameter.Type
- All Implemented Interfaces:
com.google.protobuf.Internal.EnumLite,com.google.protobuf.ProtocolMessageEnum,Serializable,Comparable<DataSourceParameter.Type>
- Enclosing class:
- DataSourceParameter
public static enum DataSourceParameter.Type
extends Enum<DataSourceParameter.Type>
implements com.google.protobuf.ProtocolMessageEnum
Parameter type.Protobuf enum
google.cloud.bigquery.datatransfer.v1.DataSourceParameter.Type-
Enum Constant Summary
Enum ConstantsEnum ConstantDescriptionBoolean parameter.Double precision floating point parameter.Integer parameter (64-bits).List of strings parameter.Page ID for a Google+ Page.Deprecated.String parameter.Type unspecified. -
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final intBoolean parameter.static final intDouble precision floating point parameter.static final intInteger parameter (64-bits).static final intList of strings parameter.static final intPage ID for a Google+ Page.static final intDeprecated.static final intString parameter.static final intType unspecified. -
Method Summary
Modifier and TypeMethodDescriptionstatic DataSourceParameter.TypeforNumber(int value) static com.google.protobuf.Descriptors.EnumDescriptorfinal com.google.protobuf.Descriptors.EnumDescriptorfinal intfinal com.google.protobuf.Descriptors.EnumValueDescriptorstatic com.google.protobuf.Internal.EnumLiteMap<DataSourceParameter.Type>static DataSourceParameter.TypevalueOf(int value) Deprecated.static DataSourceParameter.TypevalueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc) Returns the enum constant of this type with the specified name.static DataSourceParameter.TypeReturns the enum constant of this type with the specified name.static DataSourceParameter.Type[]values()Returns an array containing the constants of this enum type, in the order they are declared.
-
Enum Constant Details
-
TYPE_UNSPECIFIED
Type unspecified.
TYPE_UNSPECIFIED = 0; -
STRING
String parameter.
STRING = 1; -
INTEGER
Integer parameter (64-bits). Will be serialized to json as string.
INTEGER = 2; -
DOUBLE
Double precision floating point parameter.
DOUBLE = 3; -
BOOLEAN
Boolean parameter.
BOOLEAN = 4; -
RECORD
Deprecated. This field has no effect.
RECORD = 5; -
PLUS_PAGE
Page ID for a Google+ Page.
PLUS_PAGE = 6; -
LIST
List of strings parameter.
LIST = 7; -
UNRECOGNIZED
-
-
Field Details
-
TYPE_UNSPECIFIED_VALUE
public static final int TYPE_UNSPECIFIED_VALUEType unspecified.
TYPE_UNSPECIFIED = 0;- See Also:
-
STRING_VALUE
public static final int STRING_VALUEString parameter.
STRING = 1;- See Also:
-
INTEGER_VALUE
public static final int INTEGER_VALUEInteger parameter (64-bits). Will be serialized to json as string.
INTEGER = 2;- See Also:
-
DOUBLE_VALUE
public static final int DOUBLE_VALUEDouble precision floating point parameter.
DOUBLE = 3;- See Also:
-
BOOLEAN_VALUE
public static final int BOOLEAN_VALUEBoolean parameter.
BOOLEAN = 4;- See Also:
-
RECORD_VALUE
public static final int RECORD_VALUEDeprecated. This field has no effect.
RECORD = 5;- See Also:
-
PLUS_PAGE_VALUE
public static final int PLUS_PAGE_VALUEPage ID for a Google+ Page.
PLUS_PAGE = 6;- See Also:
-
LIST_VALUE
public static final int LIST_VALUEList of strings parameter.
LIST = 7;- 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
public static com.google.protobuf.Internal.EnumLiteMap<DataSourceParameter.Type> 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
public static DataSourceParameter.Type 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
-