Class InventoryUrlTargeting (0.62.0)

public final class InventoryUrlTargeting extends GeneratedMessage implements InventoryUrlTargetingOrBuilder

Represents a list of targeted and excluded inventory URLs and Sites.

Protobuf type google.ads.admanager.v1.InventoryUrlTargeting

Static Fields

EXCLUDED_INVENTORY_URLS_FIELD_NUMBER

public static final int EXCLUDED_INVENTORY_URLS_FIELD_NUMBER
Field Value
Type Description
int

TARGETED_INVENTORY_URLS_FIELD_NUMBER

public static final int TARGETED_INVENTORY_URLS_FIELD_NUMBER
Field Value
Type Description
int

Static Methods

getDefaultInstance()

public static InventoryUrlTargeting getDefaultInstance()
Returns
Type Description
InventoryUrlTargeting

getDescriptor()

public static final Descriptors.Descriptor getDescriptor()
Returns
Type Description
Descriptor

newBuilder()

public static InventoryUrlTargeting.Builder newBuilder()
Returns
Type Description
InventoryUrlTargeting.Builder

newBuilder(InventoryUrlTargeting prototype)

public static InventoryUrlTargeting.Builder newBuilder(InventoryUrlTargeting prototype)
Parameter
Name Description
prototype InventoryUrlTargeting
Returns
Type Description
InventoryUrlTargeting.Builder

parseDelimitedFrom(InputStream input)

public static InventoryUrlTargeting parseDelimitedFrom(InputStream input)
Parameter
Name Description
input InputStream
Returns
Type Description
InventoryUrlTargeting
Exceptions
Type Description
IOException

parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static InventoryUrlTargeting parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input InputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
InventoryUrlTargeting
Exceptions
Type Description
IOException

parseFrom(byte[] data)

public static InventoryUrlTargeting parseFrom(byte[] data)
Parameter
Name Description
data byte[]
Returns
Type Description
InventoryUrlTargeting
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)

public static InventoryUrlTargeting parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
data byte[]
extensionRegistry ExtensionRegistryLite
Returns
Type Description
InventoryUrlTargeting
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteString data)

public static InventoryUrlTargeting parseFrom(ByteString data)
Parameter
Name Description
data ByteString
Returns
Type Description
InventoryUrlTargeting
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)

public static InventoryUrlTargeting parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
data ByteString
extensionRegistry ExtensionRegistryLite
Returns
Type Description
InventoryUrlTargeting
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(CodedInputStream input)

public static InventoryUrlTargeting parseFrom(CodedInputStream input)
Parameter
Name Description
input CodedInputStream
Returns
Type Description
InventoryUrlTargeting
Exceptions
Type Description
IOException

parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public static InventoryUrlTargeting parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input CodedInputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
InventoryUrlTargeting
Exceptions
Type Description
IOException

parseFrom(InputStream input)

public static InventoryUrlTargeting parseFrom(InputStream input)
Parameter
Name Description
input InputStream
Returns
Type Description
InventoryUrlTargeting
Exceptions
Type Description
IOException

parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static InventoryUrlTargeting parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input InputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
InventoryUrlTargeting
Exceptions
Type Description
IOException

parseFrom(ByteBuffer data)

public static InventoryUrlTargeting parseFrom(ByteBuffer data)
Parameter
Name Description
data ByteBuffer
Returns
Type Description
InventoryUrlTargeting
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)

public static InventoryUrlTargeting parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
data ByteBuffer
extensionRegistry ExtensionRegistryLite
Returns
Type Description
InventoryUrlTargeting
Exceptions
Type Description
InvalidProtocolBufferException

parser()

public static Parser<InventoryUrlTargeting> parser()
Returns
Type Description
Parser<InventoryUrlTargeting>

Methods

equals(Object obj)

public boolean equals(Object obj)
Parameter
Name Description
obj Object
Returns
Type Description
boolean
Overrides

getDefaultInstanceForType()

public InventoryUrlTargeting getDefaultInstanceForType()
Returns
Type Description
InventoryUrlTargeting

getExcludedInventoryUrls(int index)

public String getExcludedInventoryUrls(int index)

Optional. A list of inventory URL resource names that should be excluded.

repeated string excluded_inventory_urls = 4 [(.google.api.field_behavior) = OPTIONAL, (.google.api.resource_reference) = { ... }

Parameter
Name Description
index int

The index of the element to return.

Returns
Type Description
String

The excludedInventoryUrls at the given index.

getExcludedInventoryUrlsBytes(int index)

public ByteString getExcludedInventoryUrlsBytes(int index)

Optional. A list of inventory URL resource names that should be excluded.

repeated string excluded_inventory_urls = 4 [(.google.api.field_behavior) = OPTIONAL, (.google.api.resource_reference) = { ... }

Parameter
Name Description
index int

The index of the value to return.

Returns
Type Description
ByteString

The bytes of the excludedInventoryUrls at the given index.

getExcludedInventoryUrlsCount()

public int getExcludedInventoryUrlsCount()

Optional. A list of inventory URL resource names that should be excluded.

repeated string excluded_inventory_urls = 4 [(.google.api.field_behavior) = OPTIONAL, (.google.api.resource_reference) = { ... }

Returns
Type Description
int

The count of excludedInventoryUrls.

getExcludedInventoryUrlsList()

public ProtocolStringList getExcludedInventoryUrlsList()

Optional. A list of inventory URL resource names that should be excluded.

repeated string excluded_inventory_urls = 4 [(.google.api.field_behavior) = OPTIONAL, (.google.api.resource_reference) = { ... }

Returns
Type Description
ProtocolStringList

A list containing the excludedInventoryUrls.

getParserForType()

public Parser<InventoryUrlTargeting> getParserForType()
Returns
Type Description
Parser<InventoryUrlTargeting>
Overrides

getSerializedSize()

public int getSerializedSize()
Returns
Type Description
int
Overrides

getTargetedInventoryUrls(int index)

public String getTargetedInventoryUrls(int index)

Optional. A list of inventory URL resource names that should be targeted/included.

repeated string targeted_inventory_urls = 3 [(.google.api.field_behavior) = OPTIONAL, (.google.api.resource_reference) = { ... }

Parameter
Name Description
index int

The index of the element to return.

Returns
Type Description
String

The targetedInventoryUrls at the given index.

getTargetedInventoryUrlsBytes(int index)

public ByteString getTargetedInventoryUrlsBytes(int index)

Optional. A list of inventory URL resource names that should be targeted/included.

repeated string targeted_inventory_urls = 3 [(.google.api.field_behavior) = OPTIONAL, (.google.api.resource_reference) = { ... }

Parameter
Name Description
index int

The index of the value to return.

Returns
Type Description
ByteString

The bytes of the targetedInventoryUrls at the given index.

getTargetedInventoryUrlsCount()

public int getTargetedInventoryUrlsCount()

Optional. A list of inventory URL resource names that should be targeted/included.

repeated string targeted_inventory_urls = 3 [(.google.api.field_behavior) = OPTIONAL, (.google.api.resource_reference) = { ... }

Returns
Type Description
int

The count of targetedInventoryUrls.

getTargetedInventoryUrlsList()

public ProtocolStringList getTargetedInventoryUrlsList()

Optional. A list of inventory URL resource names that should be targeted/included.

repeated string targeted_inventory_urls = 3 [(.google.api.field_behavior) = OPTIONAL, (.google.api.resource_reference) = { ... }

Returns
Type Description
ProtocolStringList

A list containing the targetedInventoryUrls.

hashCode()

public int hashCode()
Returns
Type Description
int
Overrides

internalGetFieldAccessorTable()

protected GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()
Returns
Type Description
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

newBuilderForType()

public InventoryUrlTargeting.Builder newBuilderForType()
Returns
Type Description
InventoryUrlTargeting.Builder

newBuilderForType(AbstractMessage.BuilderParent parent)

protected InventoryUrlTargeting.Builder newBuilderForType(AbstractMessage.BuilderParent parent)
Parameter
Name Description
parent BuilderParent
Returns
Type Description
InventoryUrlTargeting.Builder
Overrides

toBuilder()

public InventoryUrlTargeting.Builder toBuilder()
Returns
Type Description
InventoryUrlTargeting.Builder

writeTo(CodedOutputStream output)

public void writeTo(CodedOutputStream output)
Parameter
Name Description
output CodedOutputStream
Overrides
Exceptions
Type Description
IOException