public static final class AudienceSegment.NonRuleBasedFirstPartyAudienceSegment extends GeneratedMessage implements AudienceSegment.NonRuleBasedFirstPartyAudienceSegmentOrBuilder An AudienceSegment owned by the publisher network that does not contain
a rule. Cookies are usually added to these segments through cookie upload.
Protobuf type
google.ads.admanager.v1.AudienceSegment.NonRuleBasedFirstPartyAudienceSegment
Inheritance
Object > AbstractMessageLite<MessageType,BuilderType> > AbstractMessage > GeneratedMessage > AudienceSegment.NonRuleBasedFirstPartyAudienceSegmentStatic Fields
MEMBERSHIP_EXPIRATION_DAYS_FIELD_NUMBER
public static final int MEMBERSHIP_EXPIRATION_DAYS_FIELD_NUMBER| Field Value | |
|---|---|
| Type | Description |
int |
|
Static Methods
getDefaultInstance()
public static AudienceSegment.NonRuleBasedFirstPartyAudienceSegment getDefaultInstance()| Returns | |
|---|---|
| Type | Description |
AudienceSegment.NonRuleBasedFirstPartyAudienceSegment |
|
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()| Returns | |
|---|---|
| Type | Description |
Descriptor |
|
newBuilder()
public static AudienceSegment.NonRuleBasedFirstPartyAudienceSegment.Builder newBuilder()| Returns | |
|---|---|
| Type | Description |
AudienceSegment.NonRuleBasedFirstPartyAudienceSegment.Builder |
|
newBuilder(AudienceSegment.NonRuleBasedFirstPartyAudienceSegment prototype)
public static AudienceSegment.NonRuleBasedFirstPartyAudienceSegment.Builder newBuilder(AudienceSegment.NonRuleBasedFirstPartyAudienceSegment prototype)| Parameter | |
|---|---|
| Name | Description |
prototype |
AudienceSegment.NonRuleBasedFirstPartyAudienceSegment |
| Returns | |
|---|---|
| Type | Description |
AudienceSegment.NonRuleBasedFirstPartyAudienceSegment.Builder |
|
parseDelimitedFrom(InputStream input)
public static AudienceSegment.NonRuleBasedFirstPartyAudienceSegment parseDelimitedFrom(InputStream input)| Parameter | |
|---|---|
| Name | Description |
input |
InputStream |
| Returns | |
|---|---|
| Type | Description |
AudienceSegment.NonRuleBasedFirstPartyAudienceSegment |
|
| Exceptions | |
|---|---|
| Type | Description |
IOException |
|
parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
public static AudienceSegment.NonRuleBasedFirstPartyAudienceSegment parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)| Parameters | |
|---|---|
| Name | Description |
input |
InputStream |
extensionRegistry |
ExtensionRegistryLite |
| Returns | |
|---|---|
| Type | Description |
AudienceSegment.NonRuleBasedFirstPartyAudienceSegment |
|
| Exceptions | |
|---|---|
| Type | Description |
IOException |
|
parseFrom(byte[] data)
public static AudienceSegment.NonRuleBasedFirstPartyAudienceSegment parseFrom(byte[] data)| Parameter | |
|---|---|
| Name | Description |
data |
byte[] |
| Returns | |
|---|---|
| Type | Description |
AudienceSegment.NonRuleBasedFirstPartyAudienceSegment |
|
| Exceptions | |
|---|---|
| Type | Description |
InvalidProtocolBufferException |
|
parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
public static AudienceSegment.NonRuleBasedFirstPartyAudienceSegment parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)| Parameters | |
|---|---|
| Name | Description |
data |
byte[] |
extensionRegistry |
ExtensionRegistryLite |
| Returns | |
|---|---|
| Type | Description |
AudienceSegment.NonRuleBasedFirstPartyAudienceSegment |
|
| Exceptions | |
|---|---|
| Type | Description |
InvalidProtocolBufferException |
|
parseFrom(ByteString data)
public static AudienceSegment.NonRuleBasedFirstPartyAudienceSegment parseFrom(ByteString data)| Parameter | |
|---|---|
| Name | Description |
data |
ByteString |
| Returns | |
|---|---|
| Type | Description |
AudienceSegment.NonRuleBasedFirstPartyAudienceSegment |
|
| Exceptions | |
|---|---|
| Type | Description |
InvalidProtocolBufferException |
|
parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
public static AudienceSegment.NonRuleBasedFirstPartyAudienceSegment parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)| Parameters | |
|---|---|
| Name | Description |
data |
ByteString |
extensionRegistry |
ExtensionRegistryLite |
| Returns | |
|---|---|
| Type | Description |
AudienceSegment.NonRuleBasedFirstPartyAudienceSegment |
|
| Exceptions | |
|---|---|
| Type | Description |
InvalidProtocolBufferException |
|
parseFrom(CodedInputStream input)
public static AudienceSegment.NonRuleBasedFirstPartyAudienceSegment parseFrom(CodedInputStream input)| Parameter | |
|---|---|
| Name | Description |
input |
CodedInputStream |
| Returns | |
|---|---|
| Type | Description |
AudienceSegment.NonRuleBasedFirstPartyAudienceSegment |
|
| Exceptions | |
|---|---|
| Type | Description |
IOException |
|
parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public static AudienceSegment.NonRuleBasedFirstPartyAudienceSegment parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)| Parameters | |
|---|---|
| Name | Description |
input |
CodedInputStream |
extensionRegistry |
ExtensionRegistryLite |
| Returns | |
|---|---|
| Type | Description |
AudienceSegment.NonRuleBasedFirstPartyAudienceSegment |
|
| Exceptions | |
|---|---|
| Type | Description |
IOException |
|
parseFrom(InputStream input)
public static AudienceSegment.NonRuleBasedFirstPartyAudienceSegment parseFrom(InputStream input)| Parameter | |
|---|---|
| Name | Description |
input |
InputStream |
| Returns | |
|---|---|
| Type | Description |
AudienceSegment.NonRuleBasedFirstPartyAudienceSegment |
|
| Exceptions | |
|---|---|
| Type | Description |
IOException |
|
parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
public static AudienceSegment.NonRuleBasedFirstPartyAudienceSegment parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)| Parameters | |
|---|---|
| Name | Description |
input |
InputStream |
extensionRegistry |
ExtensionRegistryLite |
| Returns | |
|---|---|
| Type | Description |
AudienceSegment.NonRuleBasedFirstPartyAudienceSegment |
|
| Exceptions | |
|---|---|
| Type | Description |
IOException |
|
parseFrom(ByteBuffer data)
public static AudienceSegment.NonRuleBasedFirstPartyAudienceSegment parseFrom(ByteBuffer data)| Parameter | |
|---|---|
| Name | Description |
data |
ByteBuffer |
| Returns | |
|---|---|
| Type | Description |
AudienceSegment.NonRuleBasedFirstPartyAudienceSegment |
|
| Exceptions | |
|---|---|
| Type | Description |
InvalidProtocolBufferException |
|
parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
public static AudienceSegment.NonRuleBasedFirstPartyAudienceSegment parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)| Parameters | |
|---|---|
| Name | Description |
data |
ByteBuffer |
extensionRegistry |
ExtensionRegistryLite |
| Returns | |
|---|---|
| Type | Description |
AudienceSegment.NonRuleBasedFirstPartyAudienceSegment |
|
| Exceptions | |
|---|---|
| Type | Description |
InvalidProtocolBufferException |
|
parser()
public static Parser<AudienceSegment.NonRuleBasedFirstPartyAudienceSegment> parser()| Returns | |
|---|---|
| Type | Description |
Parser<NonRuleBasedFirstPartyAudienceSegment> |
|
Methods
equals(Object obj)
public boolean equals(Object obj)| Parameter | |
|---|---|
| Name | Description |
obj |
Object |
| Returns | |
|---|---|
| Type | Description |
boolean |
|
getDefaultInstanceForType()
public AudienceSegment.NonRuleBasedFirstPartyAudienceSegment getDefaultInstanceForType()| Returns | |
|---|---|
| Type | Description |
AudienceSegment.NonRuleBasedFirstPartyAudienceSegment |
|
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 = 1 [(.google.api.field_behavior) = REQUIRED];
| Returns | |
|---|---|
| Type | Description |
long |
The membershipExpirationDays. |
getParserForType()
public Parser<AudienceSegment.NonRuleBasedFirstPartyAudienceSegment> getParserForType()| Returns | |
|---|---|
| Type | Description |
Parser<NonRuleBasedFirstPartyAudienceSegment> |
|
getSerializedSize()
public int getSerializedSize()| Returns | |
|---|---|
| Type | Description |
int |
|
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 = 1 [(.google.api.field_behavior) = REQUIRED];
| Returns | |
|---|---|
| Type | Description |
boolean |
Whether the membershipExpirationDays field is set. |
hashCode()
public int hashCode()| Returns | |
|---|---|
| Type | Description |
int |
|
internalGetFieldAccessorTable()
protected GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()| Returns | |
|---|---|
| Type | Description |
FieldAccessorTable |
|
isInitialized()
public final boolean isInitialized()| Returns | |
|---|---|
| Type | Description |
boolean |
|
newBuilderForType()
public AudienceSegment.NonRuleBasedFirstPartyAudienceSegment.Builder newBuilderForType()| Returns | |
|---|---|
| Type | Description |
AudienceSegment.NonRuleBasedFirstPartyAudienceSegment.Builder |
|
newBuilderForType(AbstractMessage.BuilderParent parent)
protected AudienceSegment.NonRuleBasedFirstPartyAudienceSegment.Builder newBuilderForType(AbstractMessage.BuilderParent parent)| Parameter | |
|---|---|
| Name | Description |
parent |
BuilderParent |
| Returns | |
|---|---|
| Type | Description |
AudienceSegment.NonRuleBasedFirstPartyAudienceSegment.Builder |
|
toBuilder()
public AudienceSegment.NonRuleBasedFirstPartyAudienceSegment.Builder toBuilder()| Returns | |
|---|---|
| Type | Description |
AudienceSegment.NonRuleBasedFirstPartyAudienceSegment.Builder |
|
writeTo(CodedOutputStream output)
public void writeTo(CodedOutputStream output)| Parameter | |
|---|---|
| Name | Description |
output |
CodedOutputStream |
| Exceptions | |
|---|---|
| Type | Description |
IOException |
|