Package io.temporal.api.cloud.account.v1
Enum AuditLogSinkSpec.SinkTypeCase
- java.lang.Object
-
- java.lang.Enum<AuditLogSinkSpec.SinkTypeCase>
-
- io.temporal.api.cloud.account.v1.AuditLogSinkSpec.SinkTypeCase
-
- All Implemented Interfaces:
com.google.protobuf.Internal.EnumLite,java.io.Serializable,java.lang.Comparable<AuditLogSinkSpec.SinkTypeCase>
- Enclosing class:
- AuditLogSinkSpec
public static enum AuditLogSinkSpec.SinkTypeCase extends java.lang.Enum<AuditLogSinkSpec.SinkTypeCase> implements com.google.protobuf.Internal.EnumLite
-
-
Enum Constant Summary
Enum Constants Enum Constant Description KINESIS_SINKPUB_SUB_SINKSINKTYPE_NOT_SET
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Deprecated Methods Modifier and Type Method Description static AuditLogSinkSpec.SinkTypeCaseforNumber(int value)intgetNumber()static AuditLogSinkSpec.SinkTypeCasevalueOf(int value)Deprecated.static AuditLogSinkSpec.SinkTypeCasevalueOf(java.lang.String name)Returns the enum constant of this type with the specified name.static AuditLogSinkSpec.SinkTypeCase[]values()Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
KINESIS_SINK
public static final AuditLogSinkSpec.SinkTypeCase KINESIS_SINK
-
PUB_SUB_SINK
public static final AuditLogSinkSpec.SinkTypeCase PUB_SUB_SINK
-
SINKTYPE_NOT_SET
public static final AuditLogSinkSpec.SinkTypeCase SINKTYPE_NOT_SET
-
-
Method Detail
-
values
public static AuditLogSinkSpec.SinkTypeCase[] 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 (AuditLogSinkSpec.SinkTypeCase c : AuditLogSinkSpec.SinkTypeCase.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static AuditLogSinkSpec.SinkTypeCase valueOf(java.lang.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:
java.lang.IllegalArgumentException- if this enum type has no constant with the specified namejava.lang.NullPointerException- if the argument is null
-
valueOf
@Deprecated public static AuditLogSinkSpec.SinkTypeCase 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:
java.lang.IllegalArgumentException- if this enum type has no constant with the specified namejava.lang.NullPointerException- if the argument is null
-
forNumber
public static AuditLogSinkSpec.SinkTypeCase forNumber(int value)
-
getNumber
public int getNumber()
- Specified by:
getNumberin interfacecom.google.protobuf.Internal.EnumLite
-
-