public final class ContentTargeting extends GeneratedMessageV3 implements ContentTargetingOrBuilder
Content Targeting
Targeted/excluded content entities and bundles.
Protobuf type google.ads.admanager.v1.ContentTargeting
Inherited Members
com.google.protobuf.GeneratedMessageV3.<ListT>makeMutableCopy(ListT)
com.google.protobuf.GeneratedMessageV3.<ListT>makeMutableCopy(ListT,int)
com.google.protobuf.GeneratedMessageV3.<T>emptyList(java.lang.Class<T>)
com.google.protobuf.GeneratedMessageV3.internalGetMapFieldReflection(int)
Static Fields
EXCLUDED_CONTENT_BUNDLES_FIELD_NUMBER
public static final int EXCLUDED_CONTENT_BUNDLES_FIELD_NUMBER
| Field Value |
| Type |
Description |
int |
|
EXCLUDED_CONTENT_FIELD_NUMBER
public static final int EXCLUDED_CONTENT_FIELD_NUMBER
| Field Value |
| Type |
Description |
int |
|
TARGETED_CONTENT_BUNDLES_FIELD_NUMBER
public static final int TARGETED_CONTENT_BUNDLES_FIELD_NUMBER
| Field Value |
| Type |
Description |
int |
|
TARGETED_CONTENT_FIELD_NUMBER
public static final int TARGETED_CONTENT_FIELD_NUMBER
| Field Value |
| Type |
Description |
int |
|
Static Methods
getDefaultInstance()
public static ContentTargeting getDefaultInstance()
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
newBuilder()
public static ContentTargeting.Builder newBuilder()
newBuilder(ContentTargeting prototype)
public static ContentTargeting.Builder newBuilder(ContentTargeting prototype)
parseDelimitedFrom(InputStream input)
public static ContentTargeting parseDelimitedFrom(InputStream input)
parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
public static ContentTargeting parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
parseFrom(byte[] data)
public static ContentTargeting parseFrom(byte[] data)
| Parameter |
| Name |
Description |
data |
byte[]
|
parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
public static ContentTargeting parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
parseFrom(ByteString data)
public static ContentTargeting parseFrom(ByteString data)
parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
public static ContentTargeting parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
parseFrom(CodedInputStream input)
public static ContentTargeting parseFrom(CodedInputStream input)
parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public static ContentTargeting parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
parseFrom(InputStream input)
public static ContentTargeting parseFrom(InputStream input)
parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
public static ContentTargeting parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
parseFrom(ByteBuffer data)
public static ContentTargeting parseFrom(ByteBuffer data)
parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
public static ContentTargeting parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
parser()
public static Parser<ContentTargeting> parser()
Methods
equals(Object obj)
public boolean equals(Object obj)
| Parameter |
| Name |
Description |
obj |
Object
|
Overrides
getDefaultInstanceForType()
public ContentTargeting getDefaultInstanceForType()
getExcludedContent(int index)
public String getExcludedContent(int index)
Optional. The resource names of the
Content that should be
excluded.
repeated string excluded_content = 6 [(.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 excludedContent at the given index.
|
getExcludedContentBundles(int index)
public String getExcludedContentBundles(int index)
Optional. The resource names of the
ContentBundles that
should be excluded.
repeated string excluded_content_bundles = 8 [(.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 excludedContentBundles at the given index.
|
getExcludedContentBundlesBytes(int index)
public ByteString getExcludedContentBundlesBytes(int index)
Optional. The resource names of the
ContentBundles that
should be excluded.
repeated string excluded_content_bundles = 8 [(.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 excludedContentBundles at the given index.
|
getExcludedContentBundlesCount()
public int getExcludedContentBundlesCount()
Optional. The resource names of the
ContentBundles that
should be excluded.
repeated string excluded_content_bundles = 8 [(.google.api.field_behavior) = OPTIONAL, (.google.api.resource_reference) = { ... }
| Returns |
| Type |
Description |
int |
The count of excludedContentBundles.
|
getExcludedContentBundlesList()
public ProtocolStringList getExcludedContentBundlesList()
Optional. The resource names of the
ContentBundles that
should be excluded.
repeated string excluded_content_bundles = 8 [(.google.api.field_behavior) = OPTIONAL, (.google.api.resource_reference) = { ... }
getExcludedContentBytes(int index)
public ByteString getExcludedContentBytes(int index)
Optional. The resource names of the
Content that should be
excluded.
repeated string excluded_content = 6 [(.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 excludedContent at the given index.
|
getExcludedContentCount()
public int getExcludedContentCount()
Optional. The resource names of the
Content that should be
excluded.
repeated string excluded_content = 6 [(.google.api.field_behavior) = OPTIONAL, (.google.api.resource_reference) = { ... }
| Returns |
| Type |
Description |
int |
The count of excludedContent.
|
getExcludedContentList()
public ProtocolStringList getExcludedContentList()
Optional. The resource names of the
Content that should be
excluded.
repeated string excluded_content = 6 [(.google.api.field_behavior) = OPTIONAL, (.google.api.resource_reference) = { ... }
getParserForType()
public Parser<ContentTargeting> getParserForType()
Overrides
getSerializedSize()
public int getSerializedSize()
| Returns |
| Type |
Description |
int |
|
Overrides
getTargetedContent(int index)
public String getTargetedContent(int index)
Optional. The resource names of the
Content that should be
targeted/included.
repeated string targeted_content = 5 [(.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 targetedContent at the given index.
|
getTargetedContentBundles(int index)
public String getTargetedContentBundles(int index)
Optional. The resource names of the
ContentBundles that
should be targeted/included.
repeated string targeted_content_bundles = 7 [(.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 targetedContentBundles at the given index.
|
getTargetedContentBundlesBytes(int index)
public ByteString getTargetedContentBundlesBytes(int index)
Optional. The resource names of the
ContentBundles that
should be targeted/included.
repeated string targeted_content_bundles = 7 [(.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 targetedContentBundles at the given index.
|
getTargetedContentBundlesCount()
public int getTargetedContentBundlesCount()
Optional. The resource names of the
ContentBundles that
should be targeted/included.
repeated string targeted_content_bundles = 7 [(.google.api.field_behavior) = OPTIONAL, (.google.api.resource_reference) = { ... }
| Returns |
| Type |
Description |
int |
The count of targetedContentBundles.
|
getTargetedContentBundlesList()
public ProtocolStringList getTargetedContentBundlesList()
Optional. The resource names of the
ContentBundles that
should be targeted/included.
repeated string targeted_content_bundles = 7 [(.google.api.field_behavior) = OPTIONAL, (.google.api.resource_reference) = { ... }
getTargetedContentBytes(int index)
public ByteString getTargetedContentBytes(int index)
Optional. The resource names of the
Content that should be
targeted/included.
repeated string targeted_content = 5 [(.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 targetedContent at the given index.
|
getTargetedContentCount()
public int getTargetedContentCount()
Optional. The resource names of the
Content that should be
targeted/included.
repeated string targeted_content = 5 [(.google.api.field_behavior) = OPTIONAL, (.google.api.resource_reference) = { ... }
| Returns |
| Type |
Description |
int |
The count of targetedContent.
|
getTargetedContentList()
public ProtocolStringList getTargetedContentList()
Optional. The resource names of the
Content that should be
targeted/included.
repeated string targeted_content = 5 [(.google.api.field_behavior) = OPTIONAL, (.google.api.resource_reference) = { ... }
hashCode()
| Returns |
| Type |
Description |
int |
|
Overrides
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Overrides
isInitialized()
public final boolean isInitialized()
Overrides
newBuilderForType()
public ContentTargeting.Builder newBuilderForType()
newBuilderForType(GeneratedMessageV3.BuilderParent parent)
protected ContentTargeting.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Overrides
newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
| Returns |
| Type |
Description |
Object |
|
Overrides
toBuilder()
public ContentTargeting.Builder toBuilder()
writeTo(CodedOutputStream output)
public void writeTo(CodedOutputStream output)
Overrides