Interface ContentOrBuilder (0.54.0)

public interface ContentOrBuilder extends MessageOrBuilder

Implements

MessageOrBuilder

Methods

getCmsMetadataValues(int index)

public abstract String getCmsMetadataValues(int index)

Output only. The resource names of the [CmsMetadataValues] [google.ads.admanager.v1.CmsMetadataValue] that are associated with this Content.

repeated string cms_metadata_values = 15 [(.google.api.field_behavior) = OUTPUT_ONLY, (.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)

Output only. The resource names of the [CmsMetadataValues] [google.ads.admanager.v1.CmsMetadataValue] that are associated with this Content.

repeated string cms_metadata_values = 15 [(.google.api.field_behavior) = OUTPUT_ONLY, (.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()

Output only. The resource names of the [CmsMetadataValues] [google.ads.admanager.v1.CmsMetadataValue] that are associated with this Content.

repeated string cms_metadata_values = 15 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { ... }

Returns
Type Description
int

The count of cmsMetadataValues.

getCmsMetadataValuesList()

public abstract List<String> getCmsMetadataValuesList()

Output only. The resource names of the [CmsMetadataValues] [google.ads.admanager.v1.CmsMetadataValue] that are associated with this Content.

repeated string cms_metadata_values = 15 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { ... }

Returns
Type Description
List<String>

A list containing the cmsMetadataValues.

getCmsSources(int index)

public abstract CmsContent getCmsSources(int index)

Output only. Information about the Content from the CMS it was ingested from.

repeated .google.ads.admanager.v1.CmsContent cms_sources = 13 [(.google.api.field_behavior) = OUTPUT_ONLY];

Parameter
Name Description
index int
Returns
Type Description
CmsContent

getCmsSourcesCount()

public abstract int getCmsSourcesCount()

Output only. Information about the Content from the CMS it was ingested from.

repeated .google.ads.admanager.v1.CmsContent cms_sources = 13 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
int

getCmsSourcesList()

public abstract List<CmsContent> getCmsSourcesList()

Output only. Information about the Content from the CMS it was ingested from.

repeated .google.ads.admanager.v1.CmsContent cms_sources = 13 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
List<CmsContent>

getCmsSourcesOrBuilder(int index)

public abstract CmsContentOrBuilder getCmsSourcesOrBuilder(int index)

Output only. Information about the Content from the CMS it was ingested from.

repeated .google.ads.admanager.v1.CmsContent cms_sources = 13 [(.google.api.field_behavior) = OUTPUT_ONLY];

Parameter
Name Description
index int
Returns
Type Description
CmsContentOrBuilder

getCmsSourcesOrBuilderList()

public abstract List<? extends CmsContentOrBuilder> getCmsSourcesOrBuilderList()

Output only. Information about the Content from the CMS it was ingested from.

repeated .google.ads.admanager.v1.CmsContent cms_sources = 13 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
List<? extends com.google.ads.admanager.v1.CmsContentOrBuilder>

getContentBundles(int index)

public abstract String getContentBundles(int index)

Output only. The resource names of the ContentBundles of which this Content is a member.

repeated string content_bundles = 14 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { ... }

Parameter
Name Description
index int

The index of the element to return.

Returns
Type Description
String

The contentBundles at the given index.

getContentBundlesBytes(int index)

public abstract ByteString getContentBundlesBytes(int index)

Output only. The resource names of the ContentBundles of which this Content is a member.

repeated string content_bundles = 14 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { ... }

Parameter
Name Description
index int

The index of the value to return.

Returns
Type Description
ByteString

The bytes of the contentBundles at the given index.

getContentBundlesCount()

public abstract int getContentBundlesCount()

Output only. The resource names of the ContentBundles of which this Content is a member.

repeated string content_bundles = 14 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { ... }

Returns
Type Description
int

The count of contentBundles.

getContentBundlesList()

public abstract List<String> getContentBundlesList()

Output only. The resource names of the ContentBundles of which this Content is a member.

repeated string content_bundles = 14 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { ... }

Returns
Type Description
List<String>

A list containing the contentBundles.

getContentStatusSource()

public abstract ContentStatusSourceEnum.ContentStatusSource getContentStatusSource()

Output only. Whether the content status was defined by the user, or by the source CMS from which the Content was ingested.

optional .google.ads.admanager.v1.ContentStatusSourceEnum.ContentStatusSource content_status_source = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
ContentStatusSourceEnum.ContentStatusSource

The contentStatusSource.

getContentStatusSourceValue()

public abstract int getContentStatusSourceValue()

Output only. Whether the content status was defined by the user, or by the source CMS from which the Content was ingested.

optional .google.ads.admanager.v1.ContentStatusSourceEnum.ContentStatusSource content_status_source = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
int

The enum numeric value on the wire for contentStatusSource.

getDashIngestErrors(int index)

public abstract DaiIngestError getDashIngestErrors(int index)

Output only. The list of any errors that occurred during the most recent DAI ingestion process of the DASH media. This attribute will be empty if the hlsIngestStatus is [DaiIngestStatus.SUCCESS][] or if the Content is not eligible for dynamic ad insertion or if the Content does not have DASH media.

repeated .google.ads.admanager.v1.DaiIngestError dash_ingest_errors = 9 [(.google.api.field_behavior) = OUTPUT_ONLY];

Parameter
Name Description
index int
Returns
Type Description
DaiIngestError

getDashIngestErrorsCount()

public abstract int getDashIngestErrorsCount()

Output only. The list of any errors that occurred during the most recent DAI ingestion process of the DASH media. This attribute will be empty if the hlsIngestStatus is [DaiIngestStatus.SUCCESS][] or if the Content is not eligible for dynamic ad insertion or if the Content does not have DASH media.

repeated .google.ads.admanager.v1.DaiIngestError dash_ingest_errors = 9 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
int

getDashIngestErrorsList()

public abstract List<DaiIngestError> getDashIngestErrorsList()

Output only. The list of any errors that occurred during the most recent DAI ingestion process of the DASH media. This attribute will be empty if the hlsIngestStatus is [DaiIngestStatus.SUCCESS][] or if the Content is not eligible for dynamic ad insertion or if the Content does not have DASH media.

repeated .google.ads.admanager.v1.DaiIngestError dash_ingest_errors = 9 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
List<DaiIngestError>

getDashIngestErrorsOrBuilder(int index)

public abstract DaiIngestErrorOrBuilder getDashIngestErrorsOrBuilder(int index)

Output only. The list of any errors that occurred during the most recent DAI ingestion process of the DASH media. This attribute will be empty if the hlsIngestStatus is [DaiIngestStatus.SUCCESS][] or if the Content is not eligible for dynamic ad insertion or if the Content does not have DASH media.

repeated .google.ads.admanager.v1.DaiIngestError dash_ingest_errors = 9 [(.google.api.field_behavior) = OUTPUT_ONLY];

Parameter
Name Description
index int
Returns
Type Description
DaiIngestErrorOrBuilder

getDashIngestErrorsOrBuilderList()

public abstract List<? extends DaiIngestErrorOrBuilder> getDashIngestErrorsOrBuilderList()

Output only. The list of any errors that occurred during the most recent DAI ingestion process of the DASH media. This attribute will be empty if the hlsIngestStatus is [DaiIngestStatus.SUCCESS][] or if the Content is not eligible for dynamic ad insertion or if the Content does not have DASH media.

repeated .google.ads.admanager.v1.DaiIngestError dash_ingest_errors = 9 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
List<? extends com.google.ads.admanager.v1.DaiIngestErrorOrBuilder>

getDashIngestStatus()

public abstract DaiIngestStatusEnum.DaiIngestStatus getDashIngestStatus()

Output only. The current DAI ingest status of the DASH media for the Content. This attribute is unset if the Content is not eligible for dynamic ad insertion or if the Content does not have DASH media.

optional .google.ads.admanager.v1.DaiIngestStatusEnum.DaiIngestStatus dash_ingest_status = 8 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
DaiIngestStatusEnum.DaiIngestStatus

The dashIngestStatus.

getDashIngestStatusValue()

public abstract int getDashIngestStatusValue()

Output only. The current DAI ingest status of the DASH media for the Content. This attribute is unset if the Content is not eligible for dynamic ad insertion or if the Content does not have DASH media.

optional .google.ads.admanager.v1.DaiIngestStatusEnum.DaiIngestStatus dash_ingest_status = 8 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
int

The enum numeric value on the wire for dashIngestStatus.

getDisplayName()

public abstract String getDisplayName()

Output only. The name of the Content.

optional string display_name = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
String

The displayName.

getDisplayNameBytes()

public abstract ByteString getDisplayNameBytes()

Output only. The name of the Content.

optional string display_name = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
ByteString

The bytes for displayName.

getDuration()

public abstract Duration getDuration()

Output only. The duration of the Content.

optional .google.protobuf.Duration duration = 16 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
Duration

The duration.

getDurationOrBuilder()

public abstract DurationOrBuilder getDurationOrBuilder()

Output only. The duration of the Content.

optional .google.protobuf.Duration duration = 16 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
DurationOrBuilder

getHlsIngestErrors(int index)

public abstract DaiIngestError getHlsIngestErrors(int index)

Output only. The list of any errors that occurred during the most recent DAI ingestion process of the HLS media. This attribute will be empty if the hlsIngestStatus is [DaiIngestStatus.SUCCESS][] or if the Content is not eligible for dynamic ad insertion or if the Content does not have HLS media.

repeated .google.ads.admanager.v1.DaiIngestError hls_ingest_errors = 6 [(.google.api.field_behavior) = OUTPUT_ONLY];

Parameter
Name Description
index int
Returns
Type Description
DaiIngestError

getHlsIngestErrorsCount()

public abstract int getHlsIngestErrorsCount()

Output only. The list of any errors that occurred during the most recent DAI ingestion process of the HLS media. This attribute will be empty if the hlsIngestStatus is [DaiIngestStatus.SUCCESS][] or if the Content is not eligible for dynamic ad insertion or if the Content does not have HLS media.

repeated .google.ads.admanager.v1.DaiIngestError hls_ingest_errors = 6 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
int

getHlsIngestErrorsList()

public abstract List<DaiIngestError> getHlsIngestErrorsList()

Output only. The list of any errors that occurred during the most recent DAI ingestion process of the HLS media. This attribute will be empty if the hlsIngestStatus is [DaiIngestStatus.SUCCESS][] or if the Content is not eligible for dynamic ad insertion or if the Content does not have HLS media.

repeated .google.ads.admanager.v1.DaiIngestError hls_ingest_errors = 6 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
List<DaiIngestError>

getHlsIngestErrorsOrBuilder(int index)

public abstract DaiIngestErrorOrBuilder getHlsIngestErrorsOrBuilder(int index)

Output only. The list of any errors that occurred during the most recent DAI ingestion process of the HLS media. This attribute will be empty if the hlsIngestStatus is [DaiIngestStatus.SUCCESS][] or if the Content is not eligible for dynamic ad insertion or if the Content does not have HLS media.

repeated .google.ads.admanager.v1.DaiIngestError hls_ingest_errors = 6 [(.google.api.field_behavior) = OUTPUT_ONLY];

Parameter
Name Description
index int
Returns
Type Description
DaiIngestErrorOrBuilder

getHlsIngestErrorsOrBuilderList()

public abstract List<? extends DaiIngestErrorOrBuilder> getHlsIngestErrorsOrBuilderList()

Output only. The list of any errors that occurred during the most recent DAI ingestion process of the HLS media. This attribute will be empty if the hlsIngestStatus is [DaiIngestStatus.SUCCESS][] or if the Content is not eligible for dynamic ad insertion or if the Content does not have HLS media.

repeated .google.ads.admanager.v1.DaiIngestError hls_ingest_errors = 6 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
List<? extends com.google.ads.admanager.v1.DaiIngestErrorOrBuilder>

getHlsIngestStatus()

public abstract DaiIngestStatusEnum.DaiIngestStatus getHlsIngestStatus()

Output only. The current DAI ingest status of the HLS media for the Content. This attribute is unset if the Content is not eligible for dynamic ad insertion or if the Content does not have HLS media.

optional .google.ads.admanager.v1.DaiIngestStatusEnum.DaiIngestStatus hls_ingest_status = 5 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
DaiIngestStatusEnum.DaiIngestStatus

The hlsIngestStatus.

getHlsIngestStatusValue()

public abstract int getHlsIngestStatusValue()

Output only. The current DAI ingest status of the HLS media for the Content. This attribute is unset if the Content is not eligible for dynamic ad insertion or if the Content does not have HLS media.

optional .google.ads.admanager.v1.DaiIngestStatusEnum.DaiIngestStatus hls_ingest_status = 5 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
int

The enum numeric value on the wire for hlsIngestStatus.

getImportTime()

public abstract Timestamp getImportTime()

Output only. The timestamp at which this Content was published.

optional .google.protobuf.Timestamp import_time = 11 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
Timestamp

The importTime.

getImportTimeOrBuilder()

public abstract TimestampOrBuilder getImportTimeOrBuilder()

Output only. The timestamp at which this Content was published.

optional .google.protobuf.Timestamp import_time = 11 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
TimestampOrBuilder

getLastDashIngestTime()

public abstract Timestamp getLastDashIngestTime()

Output only. The timestamp at which this Content's DASH media was last ingested for DAI. This attribute will be unset if the Content is not eligible for dynamic ad insertion or if the Content does not have DASH media.

optional .google.protobuf.Timestamp last_dash_ingest_time = 10 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
Timestamp

The lastDashIngestTime.

getLastDashIngestTimeOrBuilder()

public abstract TimestampOrBuilder getLastDashIngestTimeOrBuilder()

Output only. The timestamp at which this Content's DASH media was last ingested for DAI. This attribute will be unset if the Content is not eligible for dynamic ad insertion or if the Content does not have DASH media.

optional .google.protobuf.Timestamp last_dash_ingest_time = 10 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
TimestampOrBuilder

getLastHlsIngestTime()

public abstract Timestamp getLastHlsIngestTime()

Output only. The timestamp at which this Content's HLS media was last ingested for DAI. This attribute will be unset if the Content is not eligible for dynamic ad insertion or if the Content does not have HLS media.

optional .google.protobuf.Timestamp last_hls_ingest_time = 7 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
Timestamp

The lastHlsIngestTime.

getLastHlsIngestTimeOrBuilder()

public abstract TimestampOrBuilder getLastHlsIngestTimeOrBuilder()

Output only. The timestamp at which this Content's HLS media was last ingested for DAI. This attribute will be unset if the Content is not eligible for dynamic ad insertion or if the Content does not have HLS media.

optional .google.protobuf.Timestamp last_hls_ingest_time = 7 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
TimestampOrBuilder

getName()

public abstract String getName()

Identifier. The resource name of the Content. Format: networks/{network_code}/content/{content_id}

string name = 1 [(.google.api.field_behavior) = IDENTIFIER];

Returns
Type Description
String

The name.

getNameBytes()

public abstract ByteString getNameBytes()

Identifier. The resource name of the Content. Format: networks/{network_code}/content/{content_id}

string name = 1 [(.google.api.field_behavior) = IDENTIFIER];

Returns
Type Description
ByteString

The bytes for name.

getStatus()

public abstract ContentStatusEnum.ContentStatus getStatus()

Output only. The status of this Content.

optional .google.ads.admanager.v1.ContentStatusEnum.ContentStatus status = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
ContentStatusEnum.ContentStatus

The status.

getStatusValue()

public abstract int getStatusValue()

Output only. The status of this Content.

optional .google.ads.admanager.v1.ContentStatusEnum.ContentStatus status = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
int

The enum numeric value on the wire for status.

getUpdateTime()

public abstract Timestamp getUpdateTime()

Output only. The timestamp at which this Content was last modified. The last modified date time will always be updated when a ContentBundle association is changed, but will not always be updated when a CmsMetadataValue value is changed.

optional .google.protobuf.Timestamp update_time = 12 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
Timestamp

The updateTime.

getUpdateTimeOrBuilder()

public abstract TimestampOrBuilder getUpdateTimeOrBuilder()

Output only. The timestamp at which this Content was last modified. The last modified date time will always be updated when a ContentBundle association is changed, but will not always be updated when a CmsMetadataValue value is changed.

optional .google.protobuf.Timestamp update_time = 12 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
TimestampOrBuilder

hasContentStatusSource()

public abstract boolean hasContentStatusSource()

Output only. Whether the content status was defined by the user, or by the source CMS from which the Content was ingested.

optional .google.ads.admanager.v1.ContentStatusSourceEnum.ContentStatusSource content_status_source = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
boolean

Whether the contentStatusSource field is set.

hasDashIngestStatus()

public abstract boolean hasDashIngestStatus()

Output only. The current DAI ingest status of the DASH media for the Content. This attribute is unset if the Content is not eligible for dynamic ad insertion or if the Content does not have DASH media.

optional .google.ads.admanager.v1.DaiIngestStatusEnum.DaiIngestStatus dash_ingest_status = 8 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
boolean

Whether the dashIngestStatus field is set.

hasDisplayName()

public abstract boolean hasDisplayName()

Output only. The name of the Content.

optional string display_name = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
boolean

Whether the displayName field is set.

hasDuration()

public abstract boolean hasDuration()

Output only. The duration of the Content.

optional .google.protobuf.Duration duration = 16 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
boolean

Whether the duration field is set.

hasHlsIngestStatus()

public abstract boolean hasHlsIngestStatus()

Output only. The current DAI ingest status of the HLS media for the Content. This attribute is unset if the Content is not eligible for dynamic ad insertion or if the Content does not have HLS media.

optional .google.ads.admanager.v1.DaiIngestStatusEnum.DaiIngestStatus hls_ingest_status = 5 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
boolean

Whether the hlsIngestStatus field is set.

hasImportTime()

public abstract boolean hasImportTime()

Output only. The timestamp at which this Content was published.

optional .google.protobuf.Timestamp import_time = 11 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
boolean

Whether the importTime field is set.

hasLastDashIngestTime()

public abstract boolean hasLastDashIngestTime()

Output only. The timestamp at which this Content's DASH media was last ingested for DAI. This attribute will be unset if the Content is not eligible for dynamic ad insertion or if the Content does not have DASH media.

optional .google.protobuf.Timestamp last_dash_ingest_time = 10 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
boolean

Whether the lastDashIngestTime field is set.

hasLastHlsIngestTime()

public abstract boolean hasLastHlsIngestTime()

Output only. The timestamp at which this Content's HLS media was last ingested for DAI. This attribute will be unset if the Content is not eligible for dynamic ad insertion or if the Content does not have HLS media.

optional .google.protobuf.Timestamp last_hls_ingest_time = 7 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
boolean

Whether the lastHlsIngestTime field is set.

hasStatus()

public abstract boolean hasStatus()

Output only. The status of this Content.

optional .google.ads.admanager.v1.ContentStatusEnum.ContentStatus status = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
boolean

Whether the status field is set.

hasUpdateTime()

public abstract boolean hasUpdateTime()

Output only. The timestamp at which this Content was last modified. The last modified date time will always be updated when a ContentBundle association is changed, but will not always be updated when a CmsMetadataValue value is changed.

optional .google.protobuf.Timestamp update_time = 12 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
boolean

Whether the updateTime field is set.