public static final class AdcandidateOuterClass.FrequencyCapsInfo extends com.google.protobuf.GeneratedMessageV3 implements AdcandidateOuterClass.FrequencyCapsInfoOrBuilder
FrequencyCapsInfo contains the information of a lineitem/campaign's frequency cap constraints and the user's impression history. The bidding agent will not receive adcandidates which are not eligible to bid when any of the lineitem/campaingn's frequency cap's limit is hit. Next Id: 4Protobuf type
bid.FrequencyCapsInfo| Modifier and Type | Class and Description |
|---|---|
static class |
AdcandidateOuterClass.FrequencyCapsInfo.Builder
FrequencyCapsInfo contains the information of a lineitem/campaign's
frequency cap constraints and the user's impression history.
|
static class |
AdcandidateOuterClass.FrequencyCapsInfo.FrequencyCap
FrequencyCap contains the frequency constraints for a given user to not
view the ad more than `max_impressions` times within a duration of
`duration_seconds`, and the actual impression counts within the duration
for the user as in `current_impression_count`.
|
static interface |
AdcandidateOuterClass.FrequencyCapsInfo.FrequencyCapOrBuilder |
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| Modifier and Type | Field and Description |
|---|---|
static int |
FREQUENCY_CAP_FIELD_NUMBER |
static int |
IMP_TIMESTAMPS_FIELD_NUMBER |
static int |
LAST_IMP_TIMESTAMP_FIELD_NUMBER |
static com.google.protobuf.Parser<AdcandidateOuterClass.FrequencyCapsInfo> |
PARSER
Deprecated.
|
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(Object obj) |
static AdcandidateOuterClass.FrequencyCapsInfo |
getDefaultInstance() |
AdcandidateOuterClass.FrequencyCapsInfo |
getDefaultInstanceForType() |
static com.google.protobuf.Descriptors.Descriptor |
getDescriptor() |
AdcandidateOuterClass.FrequencyCapsInfo.FrequencyCap |
getFrequencyCap(int index)
repeated .bid.FrequencyCapsInfo.FrequencyCap frequency_cap = 1; |
int |
getFrequencyCapCount()
repeated .bid.FrequencyCapsInfo.FrequencyCap frequency_cap = 1; |
List<AdcandidateOuterClass.FrequencyCapsInfo.FrequencyCap> |
getFrequencyCapList()
repeated .bid.FrequencyCapsInfo.FrequencyCap frequency_cap = 1; |
AdcandidateOuterClass.FrequencyCapsInfo.FrequencyCapOrBuilder |
getFrequencyCapOrBuilder(int index)
repeated .bid.FrequencyCapsInfo.FrequencyCap frequency_cap = 1; |
List<? extends AdcandidateOuterClass.FrequencyCapsInfo.FrequencyCapOrBuilder> |
getFrequencyCapOrBuilderList()
repeated .bid.FrequencyCapsInfo.FrequencyCap frequency_cap = 1; |
int |
getImpTimestamps(int index)
Deprecated.
|
int |
getImpTimestampsCount()
Deprecated.
|
List<Integer> |
getImpTimestampsList()
Deprecated.
|
int |
getLastImpTimestamp()
The last rx timestamp in seconds when the ad was served for the
line_item/campaign and user combination in the past 30 days.
|
com.google.protobuf.Parser<AdcandidateOuterClass.FrequencyCapsInfo> |
getParserForType() |
int |
getSerializedSize() |
com.google.protobuf.UnknownFieldSet |
getUnknownFields() |
int |
hashCode() |
boolean |
hasLastImpTimestamp()
The last rx timestamp in seconds when the ad was served for the
line_item/campaign and user combination in the past 30 days.
|
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable |
internalGetFieldAccessorTable() |
boolean |
isInitialized() |
static AdcandidateOuterClass.FrequencyCapsInfo.Builder |
newBuilder() |
static AdcandidateOuterClass.FrequencyCapsInfo.Builder |
newBuilder(AdcandidateOuterClass.FrequencyCapsInfo prototype) |
AdcandidateOuterClass.FrequencyCapsInfo.Builder |
newBuilderForType() |
protected AdcandidateOuterClass.FrequencyCapsInfo.Builder |
newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) |
static AdcandidateOuterClass.FrequencyCapsInfo |
parseDelimitedFrom(InputStream input) |
static AdcandidateOuterClass.FrequencyCapsInfo |
parseDelimitedFrom(InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static AdcandidateOuterClass.FrequencyCapsInfo |
parseFrom(byte[] data) |
static AdcandidateOuterClass.FrequencyCapsInfo |
parseFrom(byte[] data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static AdcandidateOuterClass.FrequencyCapsInfo |
parseFrom(com.google.protobuf.ByteString data) |
static AdcandidateOuterClass.FrequencyCapsInfo |
parseFrom(com.google.protobuf.ByteString data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static AdcandidateOuterClass.FrequencyCapsInfo |
parseFrom(com.google.protobuf.CodedInputStream input) |
static AdcandidateOuterClass.FrequencyCapsInfo |
parseFrom(com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static AdcandidateOuterClass.FrequencyCapsInfo |
parseFrom(InputStream input) |
static AdcandidateOuterClass.FrequencyCapsInfo |
parseFrom(InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static com.google.protobuf.Parser<AdcandidateOuterClass.FrequencyCapsInfo> |
parser() |
AdcandidateOuterClass.FrequencyCapsInfo.Builder |
toBuilder() |
void |
writeTo(com.google.protobuf.CodedOutputStream output) |
computeStringSize, computeStringSizeNoTag, getAllFields, getDescriptorForType, getField, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, hasField, hasOneof, internalGetMapField, makeExtensionsImmutable, newBuilderForType, parseDelimitedWithIOException, parseDelimitedWithIOException, parseUnknownField, parseWithIOException, parseWithIOException, parseWithIOException, parseWithIOException, writeReplace, writeString, writeStringNoTagfindInitializationErrors, getInitializationErrorString, hashBoolean, hashEnum, hashEnumList, hashFields, hashLong, toStringaddAll, checkByteStringIsUtf8, toByteArray, toByteString, writeDelimitedTo, writeToclone, finalize, getClass, notify, notifyAll, wait, wait, waitpublic static final int FREQUENCY_CAP_FIELD_NUMBER
public static final int IMP_TIMESTAMPS_FIELD_NUMBER
public static final int LAST_IMP_TIMESTAMP_FIELD_NUMBER
@Deprecated public static final com.google.protobuf.Parser<AdcandidateOuterClass.FrequencyCapsInfo> PARSER
public final com.google.protobuf.UnknownFieldSet getUnknownFields()
getUnknownFields in interface com.google.protobuf.MessageOrBuildergetUnknownFields in class com.google.protobuf.GeneratedMessageV3public static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
internalGetFieldAccessorTable in class com.google.protobuf.GeneratedMessageV3public List<AdcandidateOuterClass.FrequencyCapsInfo.FrequencyCap> getFrequencyCapList()
repeated .bid.FrequencyCapsInfo.FrequencyCap frequency_cap = 1;getFrequencyCapList in interface AdcandidateOuterClass.FrequencyCapsInfoOrBuilderpublic List<? extends AdcandidateOuterClass.FrequencyCapsInfo.FrequencyCapOrBuilder> getFrequencyCapOrBuilderList()
repeated .bid.FrequencyCapsInfo.FrequencyCap frequency_cap = 1;getFrequencyCapOrBuilderList in interface AdcandidateOuterClass.FrequencyCapsInfoOrBuilderpublic int getFrequencyCapCount()
repeated .bid.FrequencyCapsInfo.FrequencyCap frequency_cap = 1;getFrequencyCapCount in interface AdcandidateOuterClass.FrequencyCapsInfoOrBuilderpublic AdcandidateOuterClass.FrequencyCapsInfo.FrequencyCap getFrequencyCap(int index)
repeated .bid.FrequencyCapsInfo.FrequencyCap frequency_cap = 1;getFrequencyCap in interface AdcandidateOuterClass.FrequencyCapsInfoOrBuilderpublic AdcandidateOuterClass.FrequencyCapsInfo.FrequencyCapOrBuilder getFrequencyCapOrBuilder(int index)
repeated .bid.FrequencyCapsInfo.FrequencyCap frequency_cap = 1;getFrequencyCapOrBuilder in interface AdcandidateOuterClass.FrequencyCapsInfoOrBuilder@Deprecated public List<Integer> getImpTimestampsList()
repeated uint32 imp_timestamps = 2 [deprecated = true];getImpTimestampsList in interface AdcandidateOuterClass.FrequencyCapsInfoOrBuilder@Deprecated public int getImpTimestampsCount()
repeated uint32 imp_timestamps = 2 [deprecated = true];getImpTimestampsCount in interface AdcandidateOuterClass.FrequencyCapsInfoOrBuilder@Deprecated public int getImpTimestamps(int index)
repeated uint32 imp_timestamps = 2 [deprecated = true];getImpTimestamps in interface AdcandidateOuterClass.FrequencyCapsInfoOrBuilderpublic boolean hasLastImpTimestamp()
The last rx timestamp in seconds when the ad was served for the line_item/campaign and user combination in the past 30 days. It is updated real-time per request. It will not be populated if the line_item/campaign does not have any impression for the user in the past 30 days.
optional uint32 last_imp_timestamp = 3;hasLastImpTimestamp in interface AdcandidateOuterClass.FrequencyCapsInfoOrBuilderpublic int getLastImpTimestamp()
The last rx timestamp in seconds when the ad was served for the line_item/campaign and user combination in the past 30 days. It is updated real-time per request. It will not be populated if the line_item/campaign does not have any impression for the user in the past 30 days.
optional uint32 last_imp_timestamp = 3;getLastImpTimestamp in interface AdcandidateOuterClass.FrequencyCapsInfoOrBuilderpublic final boolean isInitialized()
isInitialized in interface com.google.protobuf.MessageLiteOrBuilderisInitialized in class com.google.protobuf.GeneratedMessageV3public void writeTo(com.google.protobuf.CodedOutputStream output)
throws IOException
writeTo in interface com.google.protobuf.MessageLitewriteTo in class com.google.protobuf.GeneratedMessageV3IOExceptionpublic int getSerializedSize()
getSerializedSize in interface com.google.protobuf.MessageLitegetSerializedSize in class com.google.protobuf.GeneratedMessageV3public boolean equals(Object obj)
equals in interface com.google.protobuf.Messageequals in class com.google.protobuf.AbstractMessagepublic int hashCode()
hashCode in interface com.google.protobuf.MessagehashCode in class com.google.protobuf.AbstractMessagepublic static AdcandidateOuterClass.FrequencyCapsInfo parseFrom(com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static AdcandidateOuterClass.FrequencyCapsInfo parseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static AdcandidateOuterClass.FrequencyCapsInfo parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static AdcandidateOuterClass.FrequencyCapsInfo parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static AdcandidateOuterClass.FrequencyCapsInfo parseFrom(InputStream input) throws IOException
IOExceptionpublic static AdcandidateOuterClass.FrequencyCapsInfo parseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
IOExceptionpublic static AdcandidateOuterClass.FrequencyCapsInfo parseDelimitedFrom(InputStream input) throws IOException
IOExceptionpublic static AdcandidateOuterClass.FrequencyCapsInfo parseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
IOExceptionpublic static AdcandidateOuterClass.FrequencyCapsInfo parseFrom(com.google.protobuf.CodedInputStream input) throws IOException
IOExceptionpublic static AdcandidateOuterClass.FrequencyCapsInfo parseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
IOExceptionpublic AdcandidateOuterClass.FrequencyCapsInfo.Builder newBuilderForType()
newBuilderForType in interface com.google.protobuf.MessagenewBuilderForType in interface com.google.protobuf.MessageLitepublic static AdcandidateOuterClass.FrequencyCapsInfo.Builder newBuilder()
public static AdcandidateOuterClass.FrequencyCapsInfo.Builder newBuilder(AdcandidateOuterClass.FrequencyCapsInfo prototype)
public AdcandidateOuterClass.FrequencyCapsInfo.Builder toBuilder()
toBuilder in interface com.google.protobuf.MessagetoBuilder in interface com.google.protobuf.MessageLiteprotected AdcandidateOuterClass.FrequencyCapsInfo.Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent)
newBuilderForType in class com.google.protobuf.GeneratedMessageV3public static AdcandidateOuterClass.FrequencyCapsInfo getDefaultInstance()
public static com.google.protobuf.Parser<AdcandidateOuterClass.FrequencyCapsInfo> parser()
public com.google.protobuf.Parser<AdcandidateOuterClass.FrequencyCapsInfo> getParserForType()
getParserForType in interface com.google.protobuf.MessagegetParserForType in interface com.google.protobuf.MessageLitegetParserForType in class com.google.protobuf.GeneratedMessageV3public AdcandidateOuterClass.FrequencyCapsInfo getDefaultInstanceForType()
getDefaultInstanceForType in interface com.google.protobuf.MessageLiteOrBuildergetDefaultInstanceForType in interface com.google.protobuf.MessageOrBuilderCopyright © 2017. All rights reserved.