public static final class AudienceSegment.RuleBasedFirstPartyAudienceSegment extends GeneratedMessage implements AudienceSegment.RuleBasedFirstPartyAudienceSegmentOrBuilder
An AudienceSegment owned by the publisher network that contains a rule.
Protobuf type
google.ads.admanager.v1.AudienceSegment.RuleBasedFirstPartyAudienceSegment
Inherited Members
com.google.protobuf.GeneratedMessage.<ContainingT,T>newFileScopedGeneratedExtension(java.lang.Class<?>,com.google.protobuf.Message)
com.google.protobuf.GeneratedMessage.<ContainingT,T>newMessageScopedGeneratedExtension(com.google.protobuf.Message,int,java.lang.Class<?>,com.google.protobuf.Message)
com.google.protobuf.GeneratedMessage.<ListT>makeMutableCopy(ListT)
com.google.protobuf.GeneratedMessage.<ListT>makeMutableCopy(ListT,int)
com.google.protobuf.GeneratedMessage.<T>emptyList(java.lang.Class<T>)
com.google.protobuf.GeneratedMessage.<V>serializeBooleanMapTo(com.google.protobuf.CodedOutputStream,com.google.protobuf.MapField<java.lang.Boolean,V>,com.google.protobuf.MapEntry<java.lang.Boolean,V>,int)
com.google.protobuf.GeneratedMessage.<V>serializeIntegerMapTo(com.google.protobuf.CodedOutputStream,com.google.protobuf.MapField<java.lang.Integer,V>,com.google.protobuf.MapEntry<java.lang.Integer,V>,int)
com.google.protobuf.GeneratedMessage.<V>serializeLongMapTo(com.google.protobuf.CodedOutputStream,com.google.protobuf.MapField<java.lang.Long,V>,com.google.protobuf.MapEntry<java.lang.Long,V>,int)
com.google.protobuf.GeneratedMessage.<V>serializeStringMapTo(com.google.protobuf.CodedOutputStream,com.google.protobuf.MapField<java.lang.String,V>,com.google.protobuf.MapEntry<java.lang.String,V>,int)
com.google.protobuf.GeneratedMessage.canUseUnsafe()
com.google.protobuf.GeneratedMessage.emptyBooleanList()
com.google.protobuf.GeneratedMessage.emptyDoubleList()
com.google.protobuf.GeneratedMessage.emptyFloatList()
com.google.protobuf.GeneratedMessage.emptyIntList()
com.google.protobuf.GeneratedMessage.emptyLongList()
com.google.protobuf.GeneratedMessage.internalGetMapFieldReflection(int)
com.google.protobuf.GeneratedMessage.isStringEmpty(java.lang.Object)
com.google.protobuf.GeneratedMessage.mergeFromAndMakeImmutableInternal(com.google.protobuf.CodedInputStream,com.google.protobuf.ExtensionRegistryLite)
com.google.protobuf.GeneratedMessage.newInstance(com.google.protobuf.GeneratedMessage.UnusedPrivateParameter)
com.google.protobuf.GeneratedMessage.parseUnknownFieldProto3(com.google.protobuf.CodedInputStream,com.google.protobuf.UnknownFieldSet.Builder,com.google.protobuf.ExtensionRegistryLite,int)
Static Fields
MEMBERSHIP_EXPIRATION_DAYS_FIELD_NUMBER
public static final int MEMBERSHIP_EXPIRATION_DAYS_FIELD_NUMBER
| Field Value |
| Type |
Description |
int |
|
PAGE_VIEWS_FIELD_NUMBER
public static final int PAGE_VIEWS_FIELD_NUMBER
| Field Value |
| Type |
Description |
int |
|
RECENCY_DAYS_FIELD_NUMBER
public static final int RECENCY_DAYS_FIELD_NUMBER
| Field Value |
| Type |
Description |
int |
|
RULE_FIELD_NUMBER
public static final int RULE_FIELD_NUMBER
| Field Value |
| Type |
Description |
int |
|
Static Methods
getDefaultInstance()
public static AudienceSegment.RuleBasedFirstPartyAudienceSegment getDefaultInstance()
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
newBuilder()
public static AudienceSegment.RuleBasedFirstPartyAudienceSegment.Builder newBuilder()
newBuilder(AudienceSegment.RuleBasedFirstPartyAudienceSegment prototype)
public static AudienceSegment.RuleBasedFirstPartyAudienceSegment.Builder newBuilder(AudienceSegment.RuleBasedFirstPartyAudienceSegment prototype)
public static AudienceSegment.RuleBasedFirstPartyAudienceSegment parseDelimitedFrom(InputStream input)
public static AudienceSegment.RuleBasedFirstPartyAudienceSegment parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
parseFrom(byte[] data)
public static AudienceSegment.RuleBasedFirstPartyAudienceSegment parseFrom(byte[] data)
| Parameter |
| Name |
Description |
data |
byte[]
|
parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
public static AudienceSegment.RuleBasedFirstPartyAudienceSegment parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
parseFrom(ByteString data)
public static AudienceSegment.RuleBasedFirstPartyAudienceSegment parseFrom(ByteString data)
parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
public static AudienceSegment.RuleBasedFirstPartyAudienceSegment parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
public static AudienceSegment.RuleBasedFirstPartyAudienceSegment parseFrom(CodedInputStream input)
public static AudienceSegment.RuleBasedFirstPartyAudienceSegment parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public static AudienceSegment.RuleBasedFirstPartyAudienceSegment parseFrom(InputStream input)
public static AudienceSegment.RuleBasedFirstPartyAudienceSegment parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
parseFrom(ByteBuffer data)
public static AudienceSegment.RuleBasedFirstPartyAudienceSegment parseFrom(ByteBuffer data)
parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
public static AudienceSegment.RuleBasedFirstPartyAudienceSegment parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
parser()
public static Parser<AudienceSegment.RuleBasedFirstPartyAudienceSegment> parser()
Methods
equals(Object obj)
public boolean equals(Object obj)
| Parameter |
| Name |
Description |
obj |
Object
|
Overrides
getDefaultInstanceForType()
public AudienceSegment.RuleBasedFirstPartyAudienceSegment getDefaultInstanceForType()
getMembershipExpirationDays()
public long getMembershipExpirationDays()
Required. Number of days after which a user's cookie will be removed from
the AudienceSegment due to inactivity. The field can be between 1 and
540.
optional int64 membership_expiration_days = 3 [(.google.api.field_behavior) = REQUIRED];
| Returns |
| Type |
Description |
long |
The membershipExpirationDays.
|
getPageViews()
public long getPageViews()
Required. Number of times a user's cookie must match the rule before
it's associated with the AudienceSegment. This is used with
recency_days to determine eligibility of the association. This
attribute is between 1 and 12.
optional int64 page_views = 1 [(.google.api.field_behavior) = REQUIRED];
| Returns |
| Type |
Description |
long |
The pageViews.
|
getParserForType()
public Parser<AudienceSegment.RuleBasedFirstPartyAudienceSegment> getParserForType()
Overrides
getRecencyDays()
public long getRecencyDays()
Optional. Number of days within which a user's cookie must match the
rule before it's associated with the AudienceSegment. This is used
with page_views to determine eligibility of the association. This
attribute is required if page_views is greater than 1. When set, it can
be between 1 and 30.
optional int64 recency_days = 2 [(.google.api.field_behavior) = OPTIONAL];
| Returns |
| Type |
Description |
long |
The recencyDays.
|
getRule()
public AudienceSegment.Rule getRule()
Required. The rule definition which determines the eligibility criteria
for the AudienceSegment.
.google.ads.admanager.v1.AudienceSegment.Rule rule = 4 [(.google.api.field_behavior) = REQUIRED];
getRuleOrBuilder()
public AudienceSegment.RuleOrBuilder getRuleOrBuilder()
Required. The rule definition which determines the eligibility criteria
for the AudienceSegment.
.google.ads.admanager.v1.AudienceSegment.Rule rule = 4 [(.google.api.field_behavior) = REQUIRED];
getSerializedSize()
public int getSerializedSize()
| Returns |
| Type |
Description |
int |
|
Overrides
hasMembershipExpirationDays()
public boolean hasMembershipExpirationDays()
Required. Number of days after which a user's cookie will be removed from
the AudienceSegment due to inactivity. The field can be between 1 and
540.
optional int64 membership_expiration_days = 3 [(.google.api.field_behavior) = REQUIRED];
| Returns |
| Type |
Description |
boolean |
Whether the membershipExpirationDays field is set.
|
hasPageViews()
public boolean hasPageViews()
Required. Number of times a user's cookie must match the rule before
it's associated with the AudienceSegment. This is used with
recency_days to determine eligibility of the association. This
attribute is between 1 and 12.
optional int64 page_views = 1 [(.google.api.field_behavior) = REQUIRED];
| Returns |
| Type |
Description |
boolean |
Whether the pageViews field is set.
|
hasRecencyDays()
public boolean hasRecencyDays()
Optional. Number of days within which a user's cookie must match the
rule before it's associated with the AudienceSegment. This is used
with page_views to determine eligibility of the association. This
attribute is required if page_views is greater than 1. When set, it can
be between 1 and 30.
optional int64 recency_days = 2 [(.google.api.field_behavior) = OPTIONAL];
| Returns |
| Type |
Description |
boolean |
Whether the recencyDays field is set.
|
hasRule()
Required. The rule definition which determines the eligibility criteria
for the AudienceSegment.
.google.ads.admanager.v1.AudienceSegment.Rule rule = 4 [(.google.api.field_behavior) = REQUIRED];
| Returns |
| Type |
Description |
boolean |
Whether the rule field is set.
|
hashCode()
| Returns |
| Type |
Description |
int |
|
Overrides
internalGetFieldAccessorTable()
protected GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()
Overrides
isInitialized()
public final boolean isInitialized()
Overrides
newBuilderForType()
public AudienceSegment.RuleBasedFirstPartyAudienceSegment.Builder newBuilderForType()
newBuilderForType(AbstractMessage.BuilderParent parent)
protected AudienceSegment.RuleBasedFirstPartyAudienceSegment.Builder newBuilderForType(AbstractMessage.BuilderParent parent)
Overrides
toBuilder()
public AudienceSegment.RuleBasedFirstPartyAudienceSegment.Builder toBuilder()
writeTo(CodedOutputStream output)
public void writeTo(CodedOutputStream output)
Overrides