Package com.google.openrtb
Class OpenRtb.NativeRequest.EventTrackers
- java.lang.Object
-
- com.google.protobuf.AbstractMessageLite
-
- com.google.protobuf.AbstractMessage
-
- com.google.protobuf.GeneratedMessageV3
-
- com.google.protobuf.GeneratedMessageV3.ExtendableMessage<OpenRtb.NativeRequest.EventTrackers>
-
- com.google.openrtb.OpenRtb.NativeRequest.EventTrackers
-
- All Implemented Interfaces:
OpenRtb.NativeRequest.EventTrackersOrBuilder,com.google.protobuf.GeneratedMessageV3.ExtendableMessageOrBuilder<OpenRtb.NativeRequest.EventTrackers>,com.google.protobuf.Message,com.google.protobuf.MessageLite,com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder,Serializable
- Enclosing class:
- OpenRtb.NativeRequest
public static final class OpenRtb.NativeRequest.EventTrackers extends com.google.protobuf.GeneratedMessageV3.ExtendableMessage<OpenRtb.NativeRequest.EventTrackers> implements OpenRtb.NativeRequest.EventTrackersOrBuilder
OpenRTB Native 1.2: The EventTrackers object specifies the type of events the bidder can request to be tracked in the bid response, and which types of tracking are available for each event type, and is included as an array in the request.
Protobuf typecom.google.openrtb.NativeRequest.EventTrackers- See Also:
- Serialized Form
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classOpenRtb.NativeRequest.EventTrackers.BuilderOpenRTB Native 1.2: The EventTrackers object specifies the type of events the bidder can request to be tracked in the bid response, and which types of tracking are available for each event type, and is included as an array in the request.-
Nested classes/interfaces inherited from class com.google.protobuf.GeneratedMessageV3.ExtendableMessage
com.google.protobuf.GeneratedMessageV3.ExtendableMessage.ExtensionWriter
-
Nested classes/interfaces inherited from class com.google.protobuf.GeneratedMessageV3
com.google.protobuf.GeneratedMessageV3.BuilderParent, com.google.protobuf.GeneratedMessageV3.ExtendableBuilder<MessageType extends com.google.protobuf.GeneratedMessageV3.ExtendableMessage,BuilderType extends com.google.protobuf.GeneratedMessageV3.ExtendableBuilder<MessageType,BuilderType>>, com.google.protobuf.GeneratedMessageV3.ExtendableMessage<MessageType extends com.google.protobuf.GeneratedMessageV3.ExtendableMessage>, com.google.protobuf.GeneratedMessageV3.ExtendableMessageOrBuilder<MessageType extends com.google.protobuf.GeneratedMessageV3.ExtendableMessage>, com.google.protobuf.GeneratedMessageV3.FieldAccessorTable, com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter
-
-
Field Summary
Fields Modifier and Type Field Description static intEVENT_FIELD_NUMBERstatic intMETHODS_FIELD_NUMBERstatic com.google.protobuf.Parser<OpenRtb.NativeRequest.EventTrackers>PARSERDeprecated.
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description booleanequals(Object obj)static OpenRtb.NativeRequest.EventTrackersgetDefaultInstance()OpenRtb.NativeRequest.EventTrackersgetDefaultInstanceForType()static com.google.protobuf.Descriptors.DescriptorgetDescriptor()OpenRtb.EventTypegetEvent()Type of event available for tracking.OpenRtb.EventTrackingMethodgetMethods(int index)Array of types of tracking available for the given event.intgetMethodsCount()Array of types of tracking available for the given event.List<OpenRtb.EventTrackingMethod>getMethodsList()Array of types of tracking available for the given event.com.google.protobuf.Parser<OpenRtb.NativeRequest.EventTrackers>getParserForType()intgetSerializedSize()com.google.protobuf.UnknownFieldSetgetUnknownFields()booleanhasEvent()Type of event available for tracking.inthashCode()protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTableinternalGetFieldAccessorTable()booleanisInitialized()static OpenRtb.NativeRequest.EventTrackers.BuildernewBuilder()static OpenRtb.NativeRequest.EventTrackers.BuildernewBuilder(OpenRtb.NativeRequest.EventTrackers prototype)OpenRtb.NativeRequest.EventTrackers.BuildernewBuilderForType()protected OpenRtb.NativeRequest.EventTrackers.BuildernewBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent)protected ObjectnewInstance(com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter unused)static OpenRtb.NativeRequest.EventTrackersparseDelimitedFrom(InputStream input)static OpenRtb.NativeRequest.EventTrackersparseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)static OpenRtb.NativeRequest.EventTrackersparseFrom(byte[] data)static OpenRtb.NativeRequest.EventTrackersparseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)static OpenRtb.NativeRequest.EventTrackersparseFrom(com.google.protobuf.ByteString data)static OpenRtb.NativeRequest.EventTrackersparseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)static OpenRtb.NativeRequest.EventTrackersparseFrom(com.google.protobuf.CodedInputStream input)static OpenRtb.NativeRequest.EventTrackersparseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)static OpenRtb.NativeRequest.EventTrackersparseFrom(InputStream input)static OpenRtb.NativeRequest.EventTrackersparseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)static OpenRtb.NativeRequest.EventTrackersparseFrom(ByteBuffer data)static OpenRtb.NativeRequest.EventTrackersparseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)static com.google.protobuf.Parser<OpenRtb.NativeRequest.EventTrackers>parser()OpenRtb.NativeRequest.EventTrackers.BuildertoBuilder()voidwriteTo(com.google.protobuf.CodedOutputStream output)-
Methods inherited from class com.google.protobuf.GeneratedMessageV3.ExtendableMessage
extensionsAreInitialized, extensionsSerializedSize, extensionsSerializedSizeAsMessageSet, getAllFields, getAllFieldsRaw, getExtension, getExtension, getExtension, getExtension, getExtension, getExtension, getExtensionCount, getExtensionCount, getExtensionCount, getExtensionFields, getField, getRepeatedField, getRepeatedFieldCount, hasExtension, hasExtension, hasExtension, hasField, makeExtensionsImmutable, newExtensionWriter, newMessageSetExtensionWriter, parseUnknownField, parseUnknownFieldProto3
-
Methods inherited from class com.google.protobuf.GeneratedMessageV3
canUseUnsafe, computeStringSize, computeStringSizeNoTag, emptyBooleanList, emptyDoubleList, emptyFloatList, emptyIntList, emptyLongList, getDescriptorForType, getOneofFieldDescriptor, hasOneof, internalGetMapField, isStringEmpty, mergeFromAndMakeImmutableInternal, mutableCopy, mutableCopy, mutableCopy, mutableCopy, mutableCopy, newBooleanList, newBuilderForType, newDoubleList, newFloatList, newIntList, newLongList, parseDelimitedWithIOException, parseDelimitedWithIOException, parseWithIOException, parseWithIOException, parseWithIOException, parseWithIOException, serializeBooleanMapTo, serializeIntegerMapTo, serializeLongMapTo, serializeStringMapTo, writeReplace, writeString, writeStringNoTag
-
Methods inherited from class com.google.protobuf.AbstractMessage
findInitializationErrors, getInitializationErrorString, hashBoolean, hashEnum, hashEnumList, hashFields, hashLong, toString
-
Methods inherited from class com.google.protobuf.AbstractMessageLite
addAll, addAll, checkByteStringIsUtf8, toByteArray, toByteString, writeDelimitedTo, writeTo
-
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
-
Methods inherited from interface com.google.protobuf.GeneratedMessageV3.ExtendableMessageOrBuilder
getExtension, getExtension, getExtension, getExtension, getExtension, getExtension, getExtensionCount, getExtensionCount, getExtensionCount, hasExtension, hasExtension, hasExtension
-
-
-
-
Field Detail
-
EVENT_FIELD_NUMBER
public static final int EVENT_FIELD_NUMBER
- See Also:
- Constant Field Values
-
METHODS_FIELD_NUMBER
public static final int METHODS_FIELD_NUMBER
- See Also:
- Constant Field Values
-
PARSER
@Deprecated public static final com.google.protobuf.Parser<OpenRtb.NativeRequest.EventTrackers> PARSER
Deprecated.
-
-
Method Detail
-
newInstance
protected Object newInstance(com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter unused)
- Overrides:
newInstancein classcom.google.protobuf.GeneratedMessageV3
-
getUnknownFields
public final com.google.protobuf.UnknownFieldSet getUnknownFields()
- Specified by:
getUnknownFieldsin interfacecom.google.protobuf.MessageOrBuilder- Overrides:
getUnknownFieldsin classcom.google.protobuf.GeneratedMessageV3
-
getDescriptor
public static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
-
internalGetFieldAccessorTable
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
- Specified by:
internalGetFieldAccessorTablein classcom.google.protobuf.GeneratedMessageV3
-
hasEvent
public boolean hasEvent()
Type of event available for tracking. REQUIRED by the OpenRTB Native specification.
required .com.google.openrtb.EventType event = 1;- Specified by:
hasEventin interfaceOpenRtb.NativeRequest.EventTrackersOrBuilder- Returns:
- Whether the event field is set.
-
getEvent
public OpenRtb.EventType getEvent()
Type of event available for tracking. REQUIRED by the OpenRTB Native specification.
required .com.google.openrtb.EventType event = 1;- Specified by:
getEventin interfaceOpenRtb.NativeRequest.EventTrackersOrBuilder- Returns:
- The event.
-
getMethodsList
public List<OpenRtb.EventTrackingMethod> getMethodsList()
Array of types of tracking available for the given event. REQUIRED by the OpenRTB Native specification.
repeated .com.google.openrtb.EventTrackingMethod methods = 2;- Specified by:
getMethodsListin interfaceOpenRtb.NativeRequest.EventTrackersOrBuilder- Returns:
- A list containing the methods.
-
getMethodsCount
public int getMethodsCount()
Array of types of tracking available for the given event. REQUIRED by the OpenRTB Native specification.
repeated .com.google.openrtb.EventTrackingMethod methods = 2;- Specified by:
getMethodsCountin interfaceOpenRtb.NativeRequest.EventTrackersOrBuilder- Returns:
- The count of methods.
-
getMethods
public OpenRtb.EventTrackingMethod getMethods(int index)
Array of types of tracking available for the given event. REQUIRED by the OpenRTB Native specification.
repeated .com.google.openrtb.EventTrackingMethod methods = 2;- Specified by:
getMethodsin interfaceOpenRtb.NativeRequest.EventTrackersOrBuilder- Parameters:
index- The index of the element to return.- Returns:
- The methods at the given index.
-
isInitialized
public final boolean isInitialized()
- Specified by:
isInitializedin interfacecom.google.protobuf.MessageLiteOrBuilder- Overrides:
isInitializedin classcom.google.protobuf.GeneratedMessageV3.ExtendableMessage<OpenRtb.NativeRequest.EventTrackers>
-
writeTo
public void writeTo(com.google.protobuf.CodedOutputStream output) throws IOException- Specified by:
writeToin interfacecom.google.protobuf.MessageLite- Overrides:
writeToin classcom.google.protobuf.GeneratedMessageV3- Throws:
IOException
-
getSerializedSize
public int getSerializedSize()
- Specified by:
getSerializedSizein interfacecom.google.protobuf.MessageLite- Overrides:
getSerializedSizein classcom.google.protobuf.GeneratedMessageV3
-
equals
public boolean equals(Object obj)
- Specified by:
equalsin interfacecom.google.protobuf.Message- Overrides:
equalsin classcom.google.protobuf.AbstractMessage
-
hashCode
public int hashCode()
- Specified by:
hashCodein interfacecom.google.protobuf.Message- Overrides:
hashCodein classcom.google.protobuf.AbstractMessage
-
parseFrom
public static OpenRtb.NativeRequest.EventTrackers parseFrom(ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException
- Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static OpenRtb.NativeRequest.EventTrackers parseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
- Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static OpenRtb.NativeRequest.EventTrackers parseFrom(com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException
- Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static OpenRtb.NativeRequest.EventTrackers parseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
- Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static OpenRtb.NativeRequest.EventTrackers parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException
- Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static OpenRtb.NativeRequest.EventTrackers parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
- Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static OpenRtb.NativeRequest.EventTrackers parseFrom(InputStream input) throws IOException
- Throws:
IOException
-
parseFrom
public static OpenRtb.NativeRequest.EventTrackers parseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
- Throws:
IOException
-
parseDelimitedFrom
public static OpenRtb.NativeRequest.EventTrackers parseDelimitedFrom(InputStream input) throws IOException
- Throws:
IOException
-
parseDelimitedFrom
public static OpenRtb.NativeRequest.EventTrackers parseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
- Throws:
IOException
-
parseFrom
public static OpenRtb.NativeRequest.EventTrackers parseFrom(com.google.protobuf.CodedInputStream input) throws IOException
- Throws:
IOException
-
parseFrom
public static OpenRtb.NativeRequest.EventTrackers parseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
- Throws:
IOException
-
newBuilderForType
public OpenRtb.NativeRequest.EventTrackers.Builder newBuilderForType()
- Specified by:
newBuilderForTypein interfacecom.google.protobuf.Message- Specified by:
newBuilderForTypein interfacecom.google.protobuf.MessageLite
-
newBuilder
public static OpenRtb.NativeRequest.EventTrackers.Builder newBuilder()
-
newBuilder
public static OpenRtb.NativeRequest.EventTrackers.Builder newBuilder(OpenRtb.NativeRequest.EventTrackers prototype)
-
toBuilder
public OpenRtb.NativeRequest.EventTrackers.Builder toBuilder()
- Specified by:
toBuilderin interfacecom.google.protobuf.Message- Specified by:
toBuilderin interfacecom.google.protobuf.MessageLite
-
newBuilderForType
protected OpenRtb.NativeRequest.EventTrackers.Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent)
- Specified by:
newBuilderForTypein classcom.google.protobuf.GeneratedMessageV3
-
getDefaultInstance
public static OpenRtb.NativeRequest.EventTrackers getDefaultInstance()
-
parser
public static com.google.protobuf.Parser<OpenRtb.NativeRequest.EventTrackers> parser()
-
getParserForType
public com.google.protobuf.Parser<OpenRtb.NativeRequest.EventTrackers> getParserForType()
- Specified by:
getParserForTypein interfacecom.google.protobuf.Message- Specified by:
getParserForTypein interfacecom.google.protobuf.MessageLite- Overrides:
getParserForTypein classcom.google.protobuf.GeneratedMessageV3
-
getDefaultInstanceForType
public OpenRtb.NativeRequest.EventTrackers getDefaultInstanceForType()
- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.GeneratedMessageV3.ExtendableMessageOrBuilder<OpenRtb.NativeRequest.EventTrackers>- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageLiteOrBuilder- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageOrBuilder
-
-