public interface App<T> extends Supplier<T>, Comparable<App<?>>, Serializable
| Modifier and Type | Interface and Description |
|---|---|
static class |
App.Avro |
static class |
App.AvroBuilder |
static interface |
App.Builder<T> |
static class |
App.Comparator |
static class |
App.NativeImpl |
static class |
App.Protobuf |
static class |
App.ProtobufBuilder |
static class |
App.Thrift |
static class |
App.ThriftBuilder |
| Modifier and Type | Method and Description |
|---|---|
static App.Avro |
avro(App<?> instance)
Returns a wrapped Avro record based on an instance of App.
|
static App.Avro |
avro(AppAvro wrapped)
Wraps an existing Avro record.
|
default int |
compareTo(App<?> other) |
T |
get()
Returns underlying object.
|
static Class<AppAvro> |
getAvroClass()
Returns Avro record class.
|
static Schema |
getAvroSchema()
Returns Avro record schema.
|
String |
getBundle()
Application bundle or package name (e.g., com.foo.mygame).
|
List<String> |
getCat()
Array of IAB content categories for the overall application.
|
static Comparator<App<?>> |
getComparator()
Returns comparator instance for App objects.
|
Content<?> |
getContent()
See Content Object.
|
String |
getDomain()
Domain of the application (e.g., “mygame.foo.com”).
|
String |
getId()
Application ID on the exchange.
|
String |
getKeywords()
List of keywords describing this app in a comma separated string.
|
String |
getName()
Application name (may be masked at publisher’s request).
|
List<String> |
getPagecat()
Array of IAB content categories for the current page/view of the app.
|
int |
getPaid()
“1” if the application is a paid version; else “0” (i.e., free).
|
int |
getPrivacypolicy()
Specifies whether the app has a privacy policy.
|
static Class<OpenRtbProtobuf.App> |
getProtobufClass()
Returns Protobuf class for this struct.
|
static com.google.protobuf.Descriptors.Descriptor |
getProtobufDescriptor()
Returns Protobuf descriptor for this struct.
|
static Class<AdExchangeProtobuf> |
getProtobufProtocolClass()
Returns Protobuf protocol class for this struct.
|
static com.google.protobuf.Descriptors.FileDescriptor |
getProtobufProtocolDescriptor()
Returns Protobuf protocol descriptor for this struct.
|
Publisher<?> |
getPublisher()
See Publisher Object.
|
List<String> |
getSectioncat()
Array of IAB content categories for the current subsection of the app.
|
String |
getStoreurl()
For QAG 1.5 compliance, an app store URL for an installed app should be passed in the bid request.
|
static Class<AppThrift> |
getThriftClass()
Returns Thrift class for this struct.
|
static Map<AppThrift._Fields,FieldMetaData> |
getThriftMetadataMap()
Returns Thrift metadata map for this struct.
|
String |
getVer()
Application version.
|
default boolean |
isDefault()
True if all fields are set to default values.
|
boolean |
isDefaultBundle() |
boolean |
isDefaultCat() |
boolean |
isDefaultContent() |
boolean |
isDefaultDomain() |
boolean |
isDefaultId() |
boolean |
isDefaultKeywords() |
boolean |
isDefaultName() |
boolean |
isDefaultPagecat() |
boolean |
isDefaultPaid() |
boolean |
isDefaultPrivacypolicy() |
boolean |
isDefaultPublisher() |
boolean |
isDefaultSectioncat() |
boolean |
isDefaultStoreurl() |
boolean |
isDefaultVer() |
static App.NativeImpl |
nativeImpl(App<?> instance)
Returns a POJO based on an instance of App.
|
static App.Builder<AppAvro> |
newAvroBuilder()
Returns new Avro builder instance with default values.
|
static App.Builder<AppAvro> |
newAvroBuilder(App<?> other)
Returns new Avro builder instance based on existing prototype App.
|
static App.Builder<AppAvro> |
newAvroBuilder(AppAvro.Builder other)
Returns new Avro builder instance based on existing prototype builder.
|
static App.Builder<AppAvro> |
newAvroBuilder(AppAvro other)
Returns new Avro builder instance based on existing prototype.
|
App.Builder<T> |
newBuilder()
Creates a new builder based on this object.
|
static App.Builder<App.NativeImpl> |
newNativeImplBuilder()
Returns a POJO builder instance with default values.
|
static App.Builder<App.NativeImpl> |
newNativeImplBuilder(App<?> other)
Returns a POJO builder instance based on existing prototype App.
|
static App.Builder<OpenRtbProtobuf.App> |
newProtobufBuilder()
Returns new Protobuf builder instance with default values.
|
static App.Builder<OpenRtbProtobuf.App> |
newProtobufBuilder(App<?> other)
Returns new Protobuf builder instance based on existing prototype App.
|
static App.Builder<OpenRtbProtobuf.App> |
newProtobufBuilder(OpenRtbProtobuf.App other)
Returns new Protobuf builder instance based on existing prototype.
|
static App.Builder<AppThrift> |
newThriftBuilder()
Returns new Thrift builder instance with default values.
|
static App.Builder<AppThrift> |
newThriftBuilder(App<?> other)
Returns new Thrift builder instance based on existing prototype App.
|
static App.Builder<AppThrift> |
newThriftBuilder(AppThrift other)
Returns new Thrift builder instance based on existing prototype.
|
static App.Protobuf |
protobuf(App<?> instance)
Returns a wrapped Protobuf message based on an instance of App.
|
static App.Protobuf |
protobuf(OpenRtbProtobuf.App wrapped)
Wraps an existing Protobuf message.
|
static App.Thrift |
thrift(App<?> instance)
Returns a wrapped Thrift struct based on an instance of App.
|
static App.Thrift |
thrift(AppThrift instance)
Creates a new wrapped Thrift struct copied from an existing instance.
|
default boolean isDefault()
App.Builder<T> newBuilder()
String getId()
boolean isDefaultId()
String getName()
boolean isDefaultName()
String getDomain()
boolean isDefaultDomain()
List<String> getCat()
boolean isDefaultCat()
List<String> getSectioncat()
boolean isDefaultSectioncat()
List<String> getPagecat()
boolean isDefaultPagecat()
String getVer()
boolean isDefaultVer()
String getBundle()
boolean isDefaultBundle()
int getPrivacypolicy()
boolean isDefaultPrivacypolicy()
int getPaid()
boolean isDefaultPaid()
Publisher<?> getPublisher()
boolean isDefaultPublisher()
Content<?> getContent()
boolean isDefaultContent()
String getKeywords()
boolean isDefaultKeywords()
String getStoreurl()
boolean isDefaultStoreurl()
static Comparator<App<?>> getComparator()
default int compareTo(App<?> other)
compareTo in interface Comparable<App<?>>static App.Builder<App.NativeImpl> newNativeImplBuilder()
static App.Builder<App.NativeImpl> newNativeImplBuilder(App<?> other)
static App.NativeImpl nativeImpl(App<?> instance)
static App.Builder<AppAvro> newAvroBuilder()
static App.Builder<AppAvro> newAvroBuilder(AppAvro other)
static App.Builder<AppAvro> newAvroBuilder(AppAvro.Builder other)
static App.Builder<AppAvro> newAvroBuilder(App<?> other)
static App.Avro avro(App<?> instance)
static Schema getAvroSchema()
static App.Builder<OpenRtbProtobuf.App> newProtobufBuilder()
static App.Builder<OpenRtbProtobuf.App> newProtobufBuilder(OpenRtbProtobuf.App other)
static App.Builder<OpenRtbProtobuf.App> newProtobufBuilder(App<?> other)
static App.Protobuf protobuf(App<?> instance)
static App.Protobuf protobuf(OpenRtbProtobuf.App wrapped)
static Class<OpenRtbProtobuf.App> getProtobufClass()
static Class<AdExchangeProtobuf> getProtobufProtocolClass()
static com.google.protobuf.Descriptors.Descriptor getProtobufDescriptor()
static com.google.protobuf.Descriptors.FileDescriptor getProtobufProtocolDescriptor()
static App.Builder<AppThrift> newThriftBuilder()
static App.Builder<AppThrift> newThriftBuilder(AppThrift other)
static App.Builder<AppThrift> newThriftBuilder(App<?> other)
static App.Thrift thrift(App<?> instance)
static App.Thrift thrift(AppThrift instance)
static Map<AppThrift._Fields,FieldMetaData> getThriftMetadataMap()
Copyright © 2013–2016 AdGear Technologies Inc.. All rights reserved.