Enum StreamWriter.SingleConnectionOrConnectionPool.Kind
- java.lang.Object
-
- java.lang.Enum<StreamWriter.SingleConnectionOrConnectionPool.Kind>
-
- com.google.cloud.bigquery.storage.v1.StreamWriter.SingleConnectionOrConnectionPool.Kind
-
- All Implemented Interfaces:
Serializable
,Comparable<StreamWriter.SingleConnectionOrConnectionPool.Kind>
- Enclosing class:
- StreamWriter.SingleConnectionOrConnectionPool
public static enum StreamWriter.SingleConnectionOrConnectionPool.Kind extends Enum<StreamWriter.SingleConnectionOrConnectionPool.Kind>
Kind of connection operation mode.
-
-
Enum Constant Summary
Enum Constants Enum Constant Description CONNECTION_WORKER
CONNECTION_WORKER_POOL
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static StreamWriter.SingleConnectionOrConnectionPool.Kind
valueOf(String name)
Returns the enum constant of this type with the specified name.static StreamWriter.SingleConnectionOrConnectionPool.Kind[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
CONNECTION_WORKER
public static final StreamWriter.SingleConnectionOrConnectionPool.Kind CONNECTION_WORKER
-
CONNECTION_WORKER_POOL
public static final StreamWriter.SingleConnectionOrConnectionPool.Kind CONNECTION_WORKER_POOL
-
-
Method Detail
-
values
public static StreamWriter.SingleConnectionOrConnectionPool.Kind[] 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 (StreamWriter.SingleConnectionOrConnectionPool.Kind c : StreamWriter.SingleConnectionOrConnectionPool.Kind.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static StreamWriter.SingleConnectionOrConnectionPool.Kind 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
-
-