public interface Site<T> extends Supplier<T>, Comparable<Site<?>>, Serializable
| Modifier and Type | Interface and Description |
|---|---|
static class |
Site.Avro |
static class |
Site.AvroBuilder |
static interface |
Site.Builder<T> |
static class |
Site.Comparator |
static class |
Site.NativeImpl |
static class |
Site.Protobuf |
static class |
Site.ProtobufBuilder |
static class |
Site.Thrift |
static class |
Site.ThriftBuilder |
| Modifier and Type | Method and Description |
|---|---|
static Site.Avro |
avro(Site<?> instance)
Returns a wrapped Avro record based on an instance of Site.
|
static Site.Avro |
avro(SiteAvro wrapped)
Wraps an existing Avro record.
|
default int |
compareTo(Site<?> other) |
T |
get()
Returns underlying object.
|
static Class<SiteAvro> |
getAvroClass()
Returns Avro record class.
|
static Schema |
getAvroSchema()
Returns Avro record schema.
|
List<String> |
getCat()
Array of IAB content categories for the overall site.
|
static Comparator<Site<?>> |
getComparator()
Returns comparator instance for Site objects.
|
Content<?> |
getContent()
See Content Object.
|
String |
getDomain()
Domain of the site, used for advertiser side blocking.
|
String |
getId()
Site ID on the exchange.
|
String |
getKeywords()
List of keywords describing this site in a comma separated string.
|
String |
getName()
Site name (may be masked at publisher’s request).
|
String |
getPage()
URL of the page where the impression will be shown.
|
List<String> |
getPagecat()
Array of IAB content categories for the current page.
|
int |
getPrivacypolicy()
Specifies whether the site has a privacy policy.
|
static Class<OpenRtbProtobuf.Site> |
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.
|
String |
getRef()
Referrer URL that caused navigation to the current page.
|
String |
getSearch()
Search string that caused navigation to the current page.
|
List<String> |
getSectioncat()
Array of IAB content categories for the current subsection of the site.
|
static Class<SiteThrift> |
getThriftClass()
Returns Thrift class for this struct.
|
static Map<SiteThrift._Fields,FieldMetaData> |
getThriftMetadataMap()
Returns Thrift metadata map for this struct.
|
default boolean |
isDefault()
True if all fields are set to default values.
|
boolean |
isDefaultCat() |
boolean |
isDefaultContent() |
boolean |
isDefaultDomain() |
boolean |
isDefaultId() |
boolean |
isDefaultKeywords() |
boolean |
isDefaultName() |
boolean |
isDefaultPage() |
boolean |
isDefaultPagecat() |
boolean |
isDefaultPrivacypolicy() |
boolean |
isDefaultPublisher() |
boolean |
isDefaultRef() |
boolean |
isDefaultSearch() |
boolean |
isDefaultSectioncat() |
static Site.NativeImpl |
nativeImpl(Site<?> instance)
Returns a POJO based on an instance of Site.
|
static Site.Builder<SiteAvro> |
newAvroBuilder()
Returns new Avro builder instance with default values.
|
static Site.Builder<SiteAvro> |
newAvroBuilder(Site<?> other)
Returns new Avro builder instance based on existing prototype Site.
|
static Site.Builder<SiteAvro> |
newAvroBuilder(SiteAvro.Builder other)
Returns new Avro builder instance based on existing prototype builder.
|
static Site.Builder<SiteAvro> |
newAvroBuilder(SiteAvro other)
Returns new Avro builder instance based on existing prototype.
|
Site.Builder<T> |
newBuilder()
Creates a new builder based on this object.
|
static Site.Builder<Site.NativeImpl> |
newNativeImplBuilder()
Returns a POJO builder instance with default values.
|
static Site.Builder<Site.NativeImpl> |
newNativeImplBuilder(Site<?> other)
Returns a POJO builder instance based on existing prototype Site.
|
static Site.Builder<OpenRtbProtobuf.Site> |
newProtobufBuilder()
Returns new Protobuf builder instance with default values.
|
static Site.Builder<OpenRtbProtobuf.Site> |
newProtobufBuilder(OpenRtbProtobuf.Site other)
Returns new Protobuf builder instance based on existing prototype.
|
static Site.Builder<OpenRtbProtobuf.Site> |
newProtobufBuilder(Site<?> other)
Returns new Protobuf builder instance based on existing prototype Site.
|
static Site.Builder<SiteThrift> |
newThriftBuilder()
Returns new Thrift builder instance with default values.
|
static Site.Builder<SiteThrift> |
newThriftBuilder(Site<?> other)
Returns new Thrift builder instance based on existing prototype Site.
|
static Site.Builder<SiteThrift> |
newThriftBuilder(SiteThrift other)
Returns new Thrift builder instance based on existing prototype.
|
static Site.Protobuf |
protobuf(OpenRtbProtobuf.Site wrapped)
Wraps an existing Protobuf message.
|
static Site.Protobuf |
protobuf(Site<?> instance)
Returns a wrapped Protobuf message based on an instance of Site.
|
static Site.Thrift |
thrift(Site<?> instance)
Returns a wrapped Thrift struct based on an instance of Site.
|
static Site.Thrift |
thrift(SiteThrift instance)
Creates a new wrapped Thrift struct copied from an existing instance.
|
default boolean isDefault()
Site.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 getPage()
boolean isDefaultPage()
int getPrivacypolicy()
boolean isDefaultPrivacypolicy()
String getRef()
boolean isDefaultRef()
String getSearch()
boolean isDefaultSearch()
Publisher<?> getPublisher()
boolean isDefaultPublisher()
Content<?> getContent()
boolean isDefaultContent()
String getKeywords()
boolean isDefaultKeywords()
static Comparator<Site<?>> getComparator()
default int compareTo(Site<?> other)
compareTo in interface Comparable<Site<?>>static Site.Builder<Site.NativeImpl> newNativeImplBuilder()
static Site.Builder<Site.NativeImpl> newNativeImplBuilder(Site<?> other)
static Site.NativeImpl nativeImpl(Site<?> instance)
static Site.Builder<SiteAvro> newAvroBuilder()
static Site.Builder<SiteAvro> newAvroBuilder(SiteAvro other)
static Site.Builder<SiteAvro> newAvroBuilder(SiteAvro.Builder other)
static Site.Builder<SiteAvro> newAvroBuilder(Site<?> other)
static Site.Avro avro(Site<?> instance)
static Schema getAvroSchema()
static Site.Builder<OpenRtbProtobuf.Site> newProtobufBuilder()
static Site.Builder<OpenRtbProtobuf.Site> newProtobufBuilder(OpenRtbProtobuf.Site other)
static Site.Builder<OpenRtbProtobuf.Site> newProtobufBuilder(Site<?> other)
static Site.Protobuf protobuf(Site<?> instance)
static Site.Protobuf protobuf(OpenRtbProtobuf.Site wrapped)
static Class<OpenRtbProtobuf.Site> getProtobufClass()
static Class<AdExchangeProtobuf> getProtobufProtocolClass()
static com.google.protobuf.Descriptors.Descriptor getProtobufDescriptor()
static com.google.protobuf.Descriptors.FileDescriptor getProtobufProtocolDescriptor()
static Site.Builder<SiteThrift> newThriftBuilder()
static Site.Builder<SiteThrift> newThriftBuilder(SiteThrift other)
static Site.Builder<SiteThrift> newThriftBuilder(Site<?> other)
static Site.Thrift thrift(Site<?> instance)
static Site.Thrift thrift(SiteThrift instance)
static Class<SiteThrift> getThriftClass()
static Map<SiteThrift._Fields,FieldMetaData> getThriftMetadataMap()
Copyright © 2013–2016 AdGear Technologies Inc.. All rights reserved.