public interface LogEventType<T> extends Supplier<T>, Serializable
| Modifier and Type | Interface and Description |
|---|---|
static class |
LogEventType.Avro |
static class |
LogEventType.NativeImpl |
static class |
LogEventType.Protobuf |
static class |
LogEventType.Thrift |
| Modifier and Type | Method and Description |
|---|---|
static LogEventType.Avro |
avro(CharSequence str)
Returns enum instance for the given label, defaults to first enum value.
|
static LogEventType.Avro |
avro(int ordinal)
Returns enum instance for the given ordinal, defaults to first enum value.
|
static LogEventType.Avro |
avro(LogEventType<?> instance)
Returns enum instance for the given LogEventType.
|
static LogEventType.Avro |
avro(LogEventTypeAvro instance)
Returns enum instance for the given Avro enum.
|
T |
get()
Returns underlying object.
|
static Class<LogEventTypeAvro> |
getAvroClass()
Returns Avro enum class.
|
static Schema |
getAvroSchema()
Returns Avro enum schema.
|
default int |
getOrdinal()
Returns enumeration ordinal.
|
static Class<AdExchangeProtobuf.LogEventType> |
getProtobufClass()
Returns Protobuf class for this enum.
|
static com.google.protobuf.Descriptors.EnumDescriptor |
getProtobufDescriptor()
Returns Protobuf descriptor for this enum.
|
static Class<AdExchangeProtobuf> |
getProtobufProtocolClass()
Returns Protobuf protocol class for this enum.
|
static com.google.protobuf.Descriptors.FileDescriptor |
getProtobufProtocolDescriptor()
Returns Protobuf protocol descriptor for this enum.
|
static Class<LogEventTypeThrift> |
getThriftClass()
Returns Thrift class for this enum.
|
default boolean |
isError() |
default boolean |
isRequest() |
default boolean |
isResponse() |
default boolean |
isUnknownLogEventType() |
static LogEventType.NativeImpl |
nativeImpl(CharSequence str)
Returns enum instance for the given label, defaults to first enum value.
|
static LogEventType.NativeImpl |
nativeImpl(int ordinal)
Returns enum instance for the given ordinal, defaults to first enum value.
|
static LogEventType.NativeImpl |
nativeImpl(LogEventType<?> instance)
Returns enum instance for the given LogEventType.
|
static LogEventType.Protobuf |
protobuf(AdExchangeProtobuf.LogEventType instance)
Returns enum instance for the given Protobuf enum.
|
static LogEventType.Protobuf |
protobuf(CharSequence str)
Returns enum instance for the given label, defaults to first enum value.
|
static LogEventType.Protobuf |
protobuf(int ordinal)
Returns enum instance for the given ordinal, defaults to first enum value.
|
static LogEventType.Protobuf |
protobuf(LogEventType<?> instance)
Returns enum instance for the given LogEventType.
|
static LogEventType.Thrift |
thrift(CharSequence str)
Returns enum instance for the given label, defaults to first enum value.
|
static LogEventType.Thrift |
thrift(int ordinal)
Returns enum instance for the given ordinal, defaults to first enum value.
|
static LogEventType.Thrift |
thrift(LogEventType<?> instance)
Returns enum instance for the given LogEventType.
|
static LogEventType.Thrift |
thrift(LogEventTypeThrift instance)
Returns enum instance for the given Thrift enum.
|
default int getOrdinal()
default boolean isUnknownLogEventType()
default boolean isRequest()
default boolean isResponse()
default boolean isError()
static LogEventType.NativeImpl nativeImpl(LogEventType<?> instance)
static LogEventType.NativeImpl nativeImpl(int ordinal)
static LogEventType.NativeImpl nativeImpl(CharSequence str)
static LogEventType.Avro avro(LogEventType<?> instance)
static LogEventType.Avro avro(LogEventTypeAvro instance)
static LogEventType.Avro avro(int ordinal)
static LogEventType.Avro avro(CharSequence str)
static Class<LogEventTypeAvro> getAvroClass()
static Schema getAvroSchema()
static LogEventType.Protobuf protobuf(LogEventType<?> instance)
static LogEventType.Protobuf protobuf(AdExchangeProtobuf.LogEventType instance)
static LogEventType.Protobuf protobuf(int ordinal)
static LogEventType.Protobuf protobuf(CharSequence str)
static Class<AdExchangeProtobuf.LogEventType> getProtobufClass()
static Class<AdExchangeProtobuf> getProtobufProtocolClass()
static com.google.protobuf.Descriptors.EnumDescriptor getProtobufDescriptor()
static com.google.protobuf.Descriptors.FileDescriptor getProtobufProtocolDescriptor()
static LogEventType.Thrift thrift(LogEventType<?> instance)
static LogEventType.Thrift thrift(LogEventTypeThrift instance)
static LogEventType.Thrift thrift(int ordinal)
static LogEventType.Thrift thrift(CharSequence str)
static Class<LogEventTypeThrift> getThriftClass()
Copyright © 2013–2016 AdGear Technologies Inc.. All rights reserved.