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