Interface CmsMetadataTargetingOrBuilder (0.39.0)

public interface CmsMetadataTargetingOrBuilder extends MessageOrBuilder

Implements

MessageOrBuilder

Methods

getCmsMetadataValues(int index)

public abstract String getCmsMetadataValues(int index)

Optional. The resource names of the targeted CMS metadata values.

repeated string cms_metadata_values = 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 cmsMetadataValues at the given index.

getCmsMetadataValuesBytes(int index)

public abstract ByteString getCmsMetadataValuesBytes(int index)

Optional. The resource names of the targeted CMS metadata values.

repeated string cms_metadata_values = 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 cmsMetadataValues at the given index.

getCmsMetadataValuesCount()

public abstract int getCmsMetadataValuesCount()

Optional. The resource names of the targeted CMS metadata values.

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

Returns
Type Description
int

The count of cmsMetadataValues.

getCmsMetadataValuesList()

public abstract List<String> getCmsMetadataValuesList()

Optional. The resource names of the targeted CMS metadata values.

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

Returns
Type Description
List<String>

A list containing the cmsMetadataValues.

getNegative()

public abstract boolean getNegative()

Whether this expression is negatively targeted, meaning it matches ad requests that exclude the below values.

optional bool negative = 1;

Returns
Type Description
boolean

The negative.

hasNegative()

public abstract boolean hasNegative()

Whether this expression is negatively targeted, meaning it matches ad requests that exclude the below values.

optional bool negative = 1;

Returns
Type Description
boolean

Whether the negative field is set.