Enum Connection.PropertiesCase
- java.lang.Object
-
- java.lang.Enum<Connection.PropertiesCase>
-
- com.google.cloud.bigquery.connection.v1.Connection.PropertiesCase
-
- All Implemented Interfaces:
com.google.protobuf.Internal.EnumLite
,Serializable
,Comparable<Connection.PropertiesCase>
- Enclosing class:
- Connection
public static enum Connection.PropertiesCase extends Enum<Connection.PropertiesCase> implements com.google.protobuf.Internal.EnumLite
-
-
Enum Constant Summary
Enum Constants Enum Constant Description AWS
AZURE
CLOUD_RESOURCE
CLOUD_SPANNER
CLOUD_SQL
PROPERTIES_NOT_SET
SALESFORCE_DATA_CLOUD
SPARK
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Deprecated Methods Modifier and Type Method Description static Connection.PropertiesCase
forNumber(int value)
int
getNumber()
static Connection.PropertiesCase
valueOf(int value)
Deprecated.static Connection.PropertiesCase
valueOf(String name)
Returns the enum constant of this type with the specified name.static Connection.PropertiesCase[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
CLOUD_SQL
public static final Connection.PropertiesCase CLOUD_SQL
-
AWS
public static final Connection.PropertiesCase AWS
-
AZURE
public static final Connection.PropertiesCase AZURE
-
CLOUD_SPANNER
public static final Connection.PropertiesCase CLOUD_SPANNER
-
CLOUD_RESOURCE
public static final Connection.PropertiesCase CLOUD_RESOURCE
-
SPARK
public static final Connection.PropertiesCase SPARK
-
SALESFORCE_DATA_CLOUD
public static final Connection.PropertiesCase SALESFORCE_DATA_CLOUD
-
PROPERTIES_NOT_SET
public static final Connection.PropertiesCase PROPERTIES_NOT_SET
-
-
Method Detail
-
values
public static Connection.PropertiesCase[] 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 (Connection.PropertiesCase c : Connection.PropertiesCase.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static Connection.PropertiesCase 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
-
valueOf
@Deprecated public static Connection.PropertiesCase 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 Connection.PropertiesCase forNumber(int value)
-
getNumber
public int getNumber()
- Specified by:
getNumber
in interfacecom.google.protobuf.Internal.EnumLite
-
-