com.spotify.confidence.shaded.flags.resolver.v1.SdkId Maven / Gradle / Ivy
The newest version!
// Generated by the protocol buffer compiler. DO NOT EDIT!
// source: confidence/flags/resolver/v1/types.proto
package com.spotify.confidence.shaded.flags.resolver.v1;
/**
* Protobuf enum {@code confidence.flags.resolver.v1.SdkId}
*/
public enum SdkId
implements com.google.protobuf.ProtocolMessageEnum {
/**
*
* Unspecified enum.
*
*
* SDK_ID_UNSPECIFIED = 0;
*/
SDK_ID_UNSPECIFIED(0),
/**
*
* Confidence OpenFeature Java Provider.
*
*
* SDK_ID_JAVA_PROVIDER = 1;
*/
SDK_ID_JAVA_PROVIDER(1),
/**
*
* Confidence OpenFeature Kotlin Provider.
*
*
* SDK_ID_KOTLIN_PROVIDER = 2;
*/
SDK_ID_KOTLIN_PROVIDER(2),
/**
*
* Confidence OpenFeature Swift Provider.
*
*
* SDK_ID_SWIFT_PROVIDER = 3;
*/
SDK_ID_SWIFT_PROVIDER(3),
/**
*
* Confidence OpenFeature JavaScript Provider for Web (client).
*
*
* SDK_ID_JS_WEB_PROVIDER = 4;
*/
SDK_ID_JS_WEB_PROVIDER(4),
/**
*
* Confidence OpenFeature JavaScript Provider for server.
*
*
* SDK_ID_JS_SERVER_PROVIDER = 5;
*/
SDK_ID_JS_SERVER_PROVIDER(5),
/**
*
* Confidence OpenFeature Python Provider.
*
*
* SDK_ID_PYTHON_PROVIDER = 6;
*/
SDK_ID_PYTHON_PROVIDER(6),
/**
*
* Confidence OpenFeature GO Provider.
*
*
* SDK_ID_GO_PROVIDER = 7;
*/
SDK_ID_GO_PROVIDER(7),
/**
*
* Confidence OpenFeature Ruby Provider.
*
*
* SDK_ID_RUBY_PROVIDER = 8;
*/
SDK_ID_RUBY_PROVIDER(8),
/**
*
* Confidence OpenFeature Rust Provider.
*
*
* SDK_ID_RUST_PROVIDER = 9;
*/
SDK_ID_RUST_PROVIDER(9),
/**
*
* Confidence Java SDK.
*
*
* SDK_ID_JAVA_CONFIDENCE = 10;
*/
SDK_ID_JAVA_CONFIDENCE(10),
/**
*
* Confidence Kotlin SDK.
*
*
* SDK_ID_KOTLIN_CONFIDENCE = 11;
*/
SDK_ID_KOTLIN_CONFIDENCE(11),
/**
*
* Confidence Swift SDK.
*
*
* SDK_ID_SWIFT_CONFIDENCE = 12;
*/
SDK_ID_SWIFT_CONFIDENCE(12),
/**
*
* Confidence JavaScript SDK.
*
*
* SDK_ID_JS_CONFIDENCE = 13;
*/
SDK_ID_JS_CONFIDENCE(13),
/**
*
* Confidence Python SDK.
*
*
* SDK_ID_PYTHON_CONFIDENCE = 14;
*/
SDK_ID_PYTHON_CONFIDENCE(14),
/**
*
* Confidence GO SDK.
*
*
* SDK_ID_GO_CONFIDENCE = 15;
*/
SDK_ID_GO_CONFIDENCE(15),
UNRECOGNIZED(-1),
;
/**
*
* Unspecified enum.
*
*
* SDK_ID_UNSPECIFIED = 0;
*/
public static final int SDK_ID_UNSPECIFIED_VALUE = 0;
/**
*
* Confidence OpenFeature Java Provider.
*
*
* SDK_ID_JAVA_PROVIDER = 1;
*/
public static final int SDK_ID_JAVA_PROVIDER_VALUE = 1;
/**
*
* Confidence OpenFeature Kotlin Provider.
*
*
* SDK_ID_KOTLIN_PROVIDER = 2;
*/
public static final int SDK_ID_KOTLIN_PROVIDER_VALUE = 2;
/**
*
* Confidence OpenFeature Swift Provider.
*
*
* SDK_ID_SWIFT_PROVIDER = 3;
*/
public static final int SDK_ID_SWIFT_PROVIDER_VALUE = 3;
/**
*
* Confidence OpenFeature JavaScript Provider for Web (client).
*
*
* SDK_ID_JS_WEB_PROVIDER = 4;
*/
public static final int SDK_ID_JS_WEB_PROVIDER_VALUE = 4;
/**
*
* Confidence OpenFeature JavaScript Provider for server.
*
*
* SDK_ID_JS_SERVER_PROVIDER = 5;
*/
public static final int SDK_ID_JS_SERVER_PROVIDER_VALUE = 5;
/**
*
* Confidence OpenFeature Python Provider.
*
*
* SDK_ID_PYTHON_PROVIDER = 6;
*/
public static final int SDK_ID_PYTHON_PROVIDER_VALUE = 6;
/**
*
* Confidence OpenFeature GO Provider.
*
*
* SDK_ID_GO_PROVIDER = 7;
*/
public static final int SDK_ID_GO_PROVIDER_VALUE = 7;
/**
*
* Confidence OpenFeature Ruby Provider.
*
*
* SDK_ID_RUBY_PROVIDER = 8;
*/
public static final int SDK_ID_RUBY_PROVIDER_VALUE = 8;
/**
*
* Confidence OpenFeature Rust Provider.
*
*
* SDK_ID_RUST_PROVIDER = 9;
*/
public static final int SDK_ID_RUST_PROVIDER_VALUE = 9;
/**
*
* Confidence Java SDK.
*
*
* SDK_ID_JAVA_CONFIDENCE = 10;
*/
public static final int SDK_ID_JAVA_CONFIDENCE_VALUE = 10;
/**
*
* Confidence Kotlin SDK.
*
*
* SDK_ID_KOTLIN_CONFIDENCE = 11;
*/
public static final int SDK_ID_KOTLIN_CONFIDENCE_VALUE = 11;
/**
*
* Confidence Swift SDK.
*
*
* SDK_ID_SWIFT_CONFIDENCE = 12;
*/
public static final int SDK_ID_SWIFT_CONFIDENCE_VALUE = 12;
/**
*
* Confidence JavaScript SDK.
*
*
* SDK_ID_JS_CONFIDENCE = 13;
*/
public static final int SDK_ID_JS_CONFIDENCE_VALUE = 13;
/**
*
* Confidence Python SDK.
*
*
* SDK_ID_PYTHON_CONFIDENCE = 14;
*/
public static final int SDK_ID_PYTHON_CONFIDENCE_VALUE = 14;
/**
*
* Confidence GO SDK.
*
*
* SDK_ID_GO_CONFIDENCE = 15;
*/
public static final int SDK_ID_GO_CONFIDENCE_VALUE = 15;
public final int getNumber() {
if (this == UNRECOGNIZED) {
throw new java.lang.IllegalArgumentException(
"Can't get the number of an unknown enum value.");
}
return value;
}
/**
* @param value The numeric wire value of the corresponding enum entry.
* @return The enum associated with the given numeric wire value.
* @deprecated Use {@link #forNumber(int)} instead.
*/
@java.lang.Deprecated
public static SdkId valueOf(int value) {
return forNumber(value);
}
/**
* @param value The numeric wire value of the corresponding enum entry.
* @return The enum associated with the given numeric wire value.
*/
public static SdkId forNumber(int value) {
switch (value) {
case 0: return SDK_ID_UNSPECIFIED;
case 1: return SDK_ID_JAVA_PROVIDER;
case 2: return SDK_ID_KOTLIN_PROVIDER;
case 3: return SDK_ID_SWIFT_PROVIDER;
case 4: return SDK_ID_JS_WEB_PROVIDER;
case 5: return SDK_ID_JS_SERVER_PROVIDER;
case 6: return SDK_ID_PYTHON_PROVIDER;
case 7: return SDK_ID_GO_PROVIDER;
case 8: return SDK_ID_RUBY_PROVIDER;
case 9: return SDK_ID_RUST_PROVIDER;
case 10: return SDK_ID_JAVA_CONFIDENCE;
case 11: return SDK_ID_KOTLIN_CONFIDENCE;
case 12: return SDK_ID_SWIFT_CONFIDENCE;
case 13: return SDK_ID_JS_CONFIDENCE;
case 14: return SDK_ID_PYTHON_CONFIDENCE;
case 15: return SDK_ID_GO_CONFIDENCE;
default: return null;
}
}
public static com.google.protobuf.Internal.EnumLiteMap
internalGetValueMap() {
return internalValueMap;
}
private static final com.google.protobuf.Internal.EnumLiteMap<
SdkId> internalValueMap =
new com.google.protobuf.Internal.EnumLiteMap() {
public SdkId findValueByNumber(int number) {
return SdkId.forNumber(number);
}
};
public final com.google.protobuf.Descriptors.EnumValueDescriptor
getValueDescriptor() {
if (this == UNRECOGNIZED) {
throw new java.lang.IllegalStateException(
"Can't get the descriptor of an unrecognized enum value.");
}
return getDescriptor().getValues().get(ordinal());
}
public final com.google.protobuf.Descriptors.EnumDescriptor
getDescriptorForType() {
return getDescriptor();
}
public static final com.google.protobuf.Descriptors.EnumDescriptor
getDescriptor() {
return com.spotify.confidence.shaded.flags.resolver.v1.TypesProto.getDescriptor().getEnumTypes().get(1);
}
private static final SdkId[] VALUES = values();
public static SdkId valueOf(
com.google.protobuf.Descriptors.EnumValueDescriptor desc) {
if (desc.getType() != getDescriptor()) {
throw new java.lang.IllegalArgumentException(
"EnumValueDescriptor is not for this type.");
}
if (desc.getIndex() == -1) {
return UNRECOGNIZED;
}
return VALUES[desc.getIndex()];
}
private final int value;
private SdkId(int value) {
this.value = value;
}
// @@protoc_insertion_point(enum_scope:confidence.flags.resolver.v1.SdkId)
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy