public static final class Content.Builder extends GeneratedMessage.Builder<Content.Builder> implements ContentOrBuilder A piece of Content from a Publisher's CMS.
Protobuf type google.ads.admanager.v1.Content
Inheritance
java.lang.Object > AbstractMessageLite.Builder<MessageType,BuilderType> > AbstractMessage.Builder<BuilderType> > GeneratedMessage.Builder > Content.BuilderImplements
ContentOrBuilderStatic Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()| Returns | |
|---|---|
| Type | Description |
Descriptor |
|
Methods
addAllCmsMetadataValues(Iterable<String> values)
public Content.Builder addAllCmsMetadataValues(Iterable<String> values) 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 |
values |
Iterable<String>The cmsMetadataValues to add. |
| Returns | |
|---|---|
| Type | Description |
Content.Builder |
This builder for chaining. |
addAllCmsSources(Iterable<? extends CmsContent> values)
public Content.Builder addAllCmsSources(Iterable<? extends CmsContent> values) 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 |
values |
Iterable<? extends com.google.ads.admanager.v1.CmsContent> |
| Returns | |
|---|---|
| Type | Description |
Content.Builder |
|
addAllContentBundles(Iterable<String> values)
public Content.Builder addAllContentBundles(Iterable<String> values) 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 |
values |
Iterable<String>The contentBundles to add. |
| Returns | |
|---|---|
| Type | Description |
Content.Builder |
This builder for chaining. |
addAllDashIngestErrors(Iterable<? extends DaiIngestError> values)
public Content.Builder addAllDashIngestErrors(Iterable<? extends DaiIngestError> values) 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 |
values |
Iterable<? extends com.google.ads.admanager.v1.DaiIngestError> |
| Returns | |
|---|---|
| Type | Description |
Content.Builder |
|
addAllHlsIngestErrors(Iterable<? extends DaiIngestError> values)
public Content.Builder addAllHlsIngestErrors(Iterable<? extends DaiIngestError> values) 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 |
values |
Iterable<? extends com.google.ads.admanager.v1.DaiIngestError> |
| Returns | |
|---|---|
| Type | Description |
Content.Builder |
|
addCmsMetadataValues(String value)
public Content.Builder addCmsMetadataValues(String value) 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 |
value |
StringThe cmsMetadataValues to add. |
| Returns | |
|---|---|
| Type | Description |
Content.Builder |
This builder for chaining. |
addCmsMetadataValuesBytes(ByteString value)
public Content.Builder addCmsMetadataValuesBytes(ByteString value) 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 |
value |
ByteStringThe bytes of the cmsMetadataValues to add. |
| Returns | |
|---|---|
| Type | Description |
Content.Builder |
This builder for chaining. |
addCmsSources(CmsContent value)
public Content.Builder addCmsSources(CmsContent value) 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 |
value |
CmsContent |
| Returns | |
|---|---|
| Type | Description |
Content.Builder |
|
addCmsSources(CmsContent.Builder builderForValue)
public Content.Builder addCmsSources(CmsContent.Builder builderForValue) 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 |
builderForValue |
CmsContent.Builder |
| Returns | |
|---|---|
| Type | Description |
Content.Builder |
|
addCmsSources(int index, CmsContent value)
public Content.Builder addCmsSources(int index, CmsContent value) 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];
| Parameters | |
|---|---|
| Name | Description |
index |
int |
value |
CmsContent |
| Returns | |
|---|---|
| Type | Description |
Content.Builder |
|
addCmsSources(int index, CmsContent.Builder builderForValue)
public Content.Builder addCmsSources(int index, CmsContent.Builder builderForValue) 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];
| Parameters | |
|---|---|
| Name | Description |
index |
int |
builderForValue |
CmsContent.Builder |
| Returns | |
|---|---|
| Type | Description |
Content.Builder |
|
addCmsSourcesBuilder()
public CmsContent.Builder addCmsSourcesBuilder() 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 |
CmsContent.Builder |
|
addCmsSourcesBuilder(int index)
public CmsContent.Builder addCmsSourcesBuilder(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.Builder |
|
addContentBundles(String value)
public Content.Builder addContentBundles(String value) 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 |
value |
StringThe contentBundles to add. |
| Returns | |
|---|---|
| Type | Description |
Content.Builder |
This builder for chaining. |
addContentBundlesBytes(ByteString value)
public Content.Builder addContentBundlesBytes(ByteString value) 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 |
value |
ByteStringThe bytes of the contentBundles to add. |
| Returns | |
|---|---|
| Type | Description |
Content.Builder |
This builder for chaining. |
addDashIngestErrors(DaiIngestError value)
public Content.Builder addDashIngestErrors(DaiIngestError value) 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 |
value |
DaiIngestError |
| Returns | |
|---|---|
| Type | Description |
Content.Builder |
|
addDashIngestErrors(DaiIngestError.Builder builderForValue)
public Content.Builder addDashIngestErrors(DaiIngestError.Builder builderForValue) 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 |
builderForValue |
DaiIngestError.Builder |
| Returns | |
|---|---|
| Type | Description |
Content.Builder |
|
addDashIngestErrors(int index, DaiIngestError value)
public Content.Builder addDashIngestErrors(int index, DaiIngestError value) 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];
| Parameters | |
|---|---|
| Name | Description |
index |
int |
value |
DaiIngestError |
| Returns | |
|---|---|
| Type | Description |
Content.Builder |
|
addDashIngestErrors(int index, DaiIngestError.Builder builderForValue)
public Content.Builder addDashIngestErrors(int index, DaiIngestError.Builder builderForValue) 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];
| Parameters | |
|---|---|
| Name | Description |
index |
int |
builderForValue |
DaiIngestError.Builder |
| Returns | |
|---|---|
| Type | Description |
Content.Builder |
|
addDashIngestErrorsBuilder()
public DaiIngestError.Builder addDashIngestErrorsBuilder() 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 |
DaiIngestError.Builder |
|
addDashIngestErrorsBuilder(int index)
public DaiIngestError.Builder addDashIngestErrorsBuilder(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.Builder |
|
addHlsIngestErrors(DaiIngestError value)
public Content.Builder addHlsIngestErrors(DaiIngestError value) 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 |
value |
DaiIngestError |
| Returns | |
|---|---|
| Type | Description |
Content.Builder |
|
addHlsIngestErrors(DaiIngestError.Builder builderForValue)
public Content.Builder addHlsIngestErrors(DaiIngestError.Builder builderForValue) 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 |
builderForValue |
DaiIngestError.Builder |
| Returns | |
|---|---|
| Type | Description |
Content.Builder |
|
addHlsIngestErrors(int index, DaiIngestError value)
public Content.Builder addHlsIngestErrors(int index, DaiIngestError value) 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];
| Parameters | |
|---|---|
| Name | Description |
index |
int |
value |
DaiIngestError |
| Returns | |
|---|---|
| Type | Description |
Content.Builder |
|
addHlsIngestErrors(int index, DaiIngestError.Builder builderForValue)
public Content.Builder addHlsIngestErrors(int index, DaiIngestError.Builder builderForValue) 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];
| Parameters | |
|---|---|
| Name | Description |
index |
int |
builderForValue |
DaiIngestError.Builder |
| Returns | |
|---|---|
| Type | Description |
Content.Builder |
|
addHlsIngestErrorsBuilder()
public DaiIngestError.Builder addHlsIngestErrorsBuilder() 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 |
DaiIngestError.Builder |
|
addHlsIngestErrorsBuilder(int index)
public DaiIngestError.Builder addHlsIngestErrorsBuilder(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.Builder |
|
build()
public Content build()| Returns | |
|---|---|
| Type | Description |
Content |
|
buildPartial()
public Content buildPartial()| Returns | |
|---|---|
| Type | Description |
Content |
|
clear()
public Content.Builder clear()| Returns | |
|---|---|
| Type | Description |
Content.Builder |
|
clearCmsMetadataValues()
public Content.Builder clearCmsMetadataValues() 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 |
Content.Builder |
This builder for chaining. |
clearCmsSources()
public Content.Builder clearCmsSources() 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 |
Content.Builder |
|
clearContentBundles()
public Content.Builder clearContentBundles() 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 |
Content.Builder |
This builder for chaining. |
clearContentStatusSource()
public Content.Builder clearContentStatusSource() 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 |
Content.Builder |
This builder for chaining. |
clearDashIngestErrors()
public Content.Builder clearDashIngestErrors() 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 |
Content.Builder |
|
clearDashIngestStatus()
public Content.Builder clearDashIngestStatus() 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 |
Content.Builder |
This builder for chaining. |
clearDisplayName()
public Content.Builder clearDisplayName() Output only. The name of the Content.
optional string display_name = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Returns | |
|---|---|
| Type | Description |
Content.Builder |
This builder for chaining. |
clearDuration()
public Content.Builder clearDuration() Output only. The duration of the Content.
optional .google.protobuf.Duration duration = 16 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Returns | |
|---|---|
| Type | Description |
Content.Builder |
|
clearHlsIngestErrors()
public Content.Builder clearHlsIngestErrors() 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 |
Content.Builder |
|
clearHlsIngestStatus()
public Content.Builder clearHlsIngestStatus() 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 |
Content.Builder |
This builder for chaining. |
clearImportTime()
public Content.Builder clearImportTime() 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 |
Content.Builder |
|
clearLastDashIngestTime()
public Content.Builder clearLastDashIngestTime() 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 |
Content.Builder |
|
clearLastHlsIngestTime()
public Content.Builder clearLastHlsIngestTime() 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 |
Content.Builder |
|
clearName()
public Content.Builder clearName() 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 |
Content.Builder |
This builder for chaining. |
clearStatus()
public Content.Builder clearStatus() 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 |
Content.Builder |
This builder for chaining. |
clearUpdateTime()
public Content.Builder clearUpdateTime() 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 |
Content.Builder |
|
getCmsMetadataValues(int index)
public 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 |
intThe index of the element to return. |
| Returns | |
|---|---|
| Type | Description |
String |
The cmsMetadataValues at the given index. |
getCmsMetadataValuesBytes(int index)
public 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 |
intThe index of the value to return. |
| Returns | |
|---|---|
| Type | Description |
ByteString |
The bytes of the cmsMetadataValues at the given index. |
getCmsMetadataValuesCount()
public 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 ProtocolStringList 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 |
ProtocolStringList |
A list containing the cmsMetadataValues. |
getCmsSources(int index)
public 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 |
|
getCmsSourcesBuilder(int index)
public CmsContent.Builder getCmsSourcesBuilder(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.Builder |
|
getCmsSourcesBuilderList()
public List<CmsContent.Builder> getCmsSourcesBuilderList() 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<Builder> |
|
getCmsSourcesCount()
public 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 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 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 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 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 |
intThe index of the element to return. |
| Returns | |
|---|---|
| Type | Description |
String |
The contentBundles at the given index. |
getContentBundlesBytes(int index)
public 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 |
intThe index of the value to return. |
| Returns | |
|---|---|
| Type | Description |
ByteString |
The bytes of the contentBundles at the given index. |
getContentBundlesCount()
public 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 ProtocolStringList 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 |
ProtocolStringList |
A list containing the contentBundles. |
getContentStatusSource()
public 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 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 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 |
|
getDashIngestErrorsBuilder(int index)
public DaiIngestError.Builder getDashIngestErrorsBuilder(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.Builder |
|
getDashIngestErrorsBuilderList()
public List<DaiIngestError.Builder> getDashIngestErrorsBuilderList() 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<Builder> |
|
getDashIngestErrorsCount()
public 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 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 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 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 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 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. |
getDefaultInstanceForType()
public Content getDefaultInstanceForType()| Returns | |
|---|---|
| Type | Description |
Content |
|
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()| Returns | |
|---|---|
| Type | Description |
Descriptor |
|
getDisplayName()
public 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 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 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. |
getDurationBuilder()
public Duration.Builder getDurationBuilder() Output only. The duration of the Content.
optional .google.protobuf.Duration duration = 16 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Returns | |
|---|---|
| Type | Description |
Builder |
|
getDurationOrBuilder()
public 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 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 |
|
getHlsIngestErrorsBuilder(int index)
public DaiIngestError.Builder getHlsIngestErrorsBuilder(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.Builder |
|
getHlsIngestErrorsBuilderList()
public List<DaiIngestError.Builder> getHlsIngestErrorsBuilderList() 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<Builder> |
|
getHlsIngestErrorsCount()
public 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 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 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 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 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 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 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. |
getImportTimeBuilder()
public Timestamp.Builder getImportTimeBuilder() 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 |
Builder |
|
getImportTimeOrBuilder()
public 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 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. |
getLastDashIngestTimeBuilder()
public Timestamp.Builder getLastDashIngestTimeBuilder() 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 |
Builder |
|
getLastDashIngestTimeOrBuilder()
public 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 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. |
getLastHlsIngestTimeBuilder()
public Timestamp.Builder getLastHlsIngestTimeBuilder() 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 |
Builder |
|
getLastHlsIngestTimeOrBuilder()
public 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 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 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 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 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 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. |
getUpdateTimeBuilder()
public Timestamp.Builder getUpdateTimeBuilder() 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 |
Builder |
|
getUpdateTimeOrBuilder()
public 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 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 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 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 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 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 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 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 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 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 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. |
internalGetFieldAccessorTable()
protected GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()| Returns | |
|---|---|
| Type | Description |
FieldAccessorTable |
|
isInitialized()
public final boolean isInitialized()| Returns | |
|---|---|
| Type | Description |
boolean |
|
mergeDuration(Duration value)
public Content.Builder mergeDuration(Duration value) Output only. The duration of the Content.
optional .google.protobuf.Duration duration = 16 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Parameter | |
|---|---|
| Name | Description |
value |
Duration |
| Returns | |
|---|---|
| Type | Description |
Content.Builder |
|
mergeFrom(Content other)
public Content.Builder mergeFrom(Content other)| Parameter | |
|---|---|
| Name | Description |
other |
Content |
| Returns | |
|---|---|
| Type | Description |
Content.Builder |
|
mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public Content.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)| Parameters | |
|---|---|
| Name | Description |
input |
CodedInputStream |
extensionRegistry |
ExtensionRegistryLite |
| Returns | |
|---|---|
| Type | Description |
Content.Builder |
|
| Exceptions | |
|---|---|
| Type | Description |
IOException |
|
mergeFrom(Message other)
public Content.Builder mergeFrom(Message other)| Parameter | |
|---|---|
| Name | Description |
other |
Message |
| Returns | |
|---|---|
| Type | Description |
Content.Builder |
|
mergeImportTime(Timestamp value)
public Content.Builder mergeImportTime(Timestamp value) Output only. The timestamp at which this Content was published.
optional .google.protobuf.Timestamp import_time = 11 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Parameter | |
|---|---|
| Name | Description |
value |
Timestamp |
| Returns | |
|---|---|
| Type | Description |
Content.Builder |
|
mergeLastDashIngestTime(Timestamp value)
public Content.Builder mergeLastDashIngestTime(Timestamp value) 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];
| Parameter | |
|---|---|
| Name | Description |
value |
Timestamp |
| Returns | |
|---|---|
| Type | Description |
Content.Builder |
|
mergeLastHlsIngestTime(Timestamp value)
public Content.Builder mergeLastHlsIngestTime(Timestamp value) 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];
| Parameter | |
|---|---|
| Name | Description |
value |
Timestamp |
| Returns | |
|---|---|
| Type | Description |
Content.Builder |
|
mergeUpdateTime(Timestamp value)
public Content.Builder mergeUpdateTime(Timestamp value) 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];
| Parameter | |
|---|---|
| Name | Description |
value |
Timestamp |
| Returns | |
|---|---|
| Type | Description |
Content.Builder |
|
removeCmsSources(int index)
public Content.Builder removeCmsSources(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 |
Content.Builder |
|
removeDashIngestErrors(int index)
public Content.Builder removeDashIngestErrors(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 |
Content.Builder |
|
removeHlsIngestErrors(int index)
public Content.Builder removeHlsIngestErrors(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 |
Content.Builder |
|
setCmsMetadataValues(int index, String value)
public Content.Builder setCmsMetadataValues(int index, String value) 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) = { ... }
| Parameters | |
|---|---|
| Name | Description |
index |
intThe index to set the value at. |
value |
StringThe cmsMetadataValues to set. |
| Returns | |
|---|---|
| Type | Description |
Content.Builder |
This builder for chaining. |
setCmsSources(int index, CmsContent value)
public Content.Builder setCmsSources(int index, CmsContent value) 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];
| Parameters | |
|---|---|
| Name | Description |
index |
int |
value |
CmsContent |
| Returns | |
|---|---|
| Type | Description |
Content.Builder |
|
setCmsSources(int index, CmsContent.Builder builderForValue)
public Content.Builder setCmsSources(int index, CmsContent.Builder builderForValue) 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];
| Parameters | |
|---|---|
| Name | Description |
index |
int |
builderForValue |
CmsContent.Builder |
| Returns | |
|---|---|
| Type | Description |
Content.Builder |
|
setContentBundles(int index, String value)
public Content.Builder setContentBundles(int index, String value) 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) = { ... }
| Parameters | |
|---|---|
| Name | Description |
index |
intThe index to set the value at. |
value |
StringThe contentBundles to set. |
| Returns | |
|---|---|
| Type | Description |
Content.Builder |
This builder for chaining. |
setContentStatusSource(ContentStatusSourceEnum.ContentStatusSource value)
public Content.Builder setContentStatusSource(ContentStatusSourceEnum.ContentStatusSource value) 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];
| Parameter | |
|---|---|
| Name | Description |
value |
ContentStatusSourceEnum.ContentStatusSourceThe contentStatusSource to set. |
| Returns | |
|---|---|
| Type | Description |
Content.Builder |
This builder for chaining. |
setContentStatusSourceValue(int value)
public Content.Builder setContentStatusSourceValue(int value) 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];
| Parameter | |
|---|---|
| Name | Description |
value |
intThe enum numeric value on the wire for contentStatusSource to set. |
| Returns | |
|---|---|
| Type | Description |
Content.Builder |
This builder for chaining. |
setDashIngestErrors(int index, DaiIngestError value)
public Content.Builder setDashIngestErrors(int index, DaiIngestError value) 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];
| Parameters | |
|---|---|
| Name | Description |
index |
int |
value |
DaiIngestError |
| Returns | |
|---|---|
| Type | Description |
Content.Builder |
|
setDashIngestErrors(int index, DaiIngestError.Builder builderForValue)
public Content.Builder setDashIngestErrors(int index, DaiIngestError.Builder builderForValue) 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];
| Parameters | |
|---|---|
| Name | Description |
index |
int |
builderForValue |
DaiIngestError.Builder |
| Returns | |
|---|---|
| Type | Description |
Content.Builder |
|
setDashIngestStatus(DaiIngestStatusEnum.DaiIngestStatus value)
public Content.Builder setDashIngestStatus(DaiIngestStatusEnum.DaiIngestStatus value) 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];
| Parameter | |
|---|---|
| Name | Description |
value |
DaiIngestStatusEnum.DaiIngestStatusThe dashIngestStatus to set. |
| Returns | |
|---|---|
| Type | Description |
Content.Builder |
This builder for chaining. |
setDashIngestStatusValue(int value)
public Content.Builder setDashIngestStatusValue(int value) 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];
| Parameter | |
|---|---|
| Name | Description |
value |
intThe enum numeric value on the wire for dashIngestStatus to set. |
| Returns | |
|---|---|
| Type | Description |
Content.Builder |
This builder for chaining. |
setDisplayName(String value)
public Content.Builder setDisplayName(String value) Output only. The name of the Content.
optional string display_name = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Parameter | |
|---|---|
| Name | Description |
value |
StringThe displayName to set. |
| Returns | |
|---|---|
| Type | Description |
Content.Builder |
This builder for chaining. |
setDisplayNameBytes(ByteString value)
public Content.Builder setDisplayNameBytes(ByteString value) Output only. The name of the Content.
optional string display_name = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Parameter | |
|---|---|
| Name | Description |
value |
ByteStringThe bytes for displayName to set. |
| Returns | |
|---|---|
| Type | Description |
Content.Builder |
This builder for chaining. |
setDuration(Duration value)
public Content.Builder setDuration(Duration value) Output only. The duration of the Content.
optional .google.protobuf.Duration duration = 16 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Parameter | |
|---|---|
| Name | Description |
value |
Duration |
| Returns | |
|---|---|
| Type | Description |
Content.Builder |
|
setDuration(Duration.Builder builderForValue)
public Content.Builder setDuration(Duration.Builder builderForValue) Output only. The duration of the Content.
optional .google.protobuf.Duration duration = 16 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Parameter | |
|---|---|
| Name | Description |
builderForValue |
Builder |
| Returns | |
|---|---|
| Type | Description |
Content.Builder |
|
setHlsIngestErrors(int index, DaiIngestError value)
public Content.Builder setHlsIngestErrors(int index, DaiIngestError value) 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];
| Parameters | |
|---|---|
| Name | Description |
index |
int |
value |
DaiIngestError |
| Returns | |
|---|---|
| Type | Description |
Content.Builder |
|
setHlsIngestErrors(int index, DaiIngestError.Builder builderForValue)
public Content.Builder setHlsIngestErrors(int index, DaiIngestError.Builder builderForValue) 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];
| Parameters | |
|---|---|
| Name | Description |
index |
int |
builderForValue |
DaiIngestError.Builder |
| Returns | |
|---|---|
| Type | Description |
Content.Builder |
|
setHlsIngestStatus(DaiIngestStatusEnum.DaiIngestStatus value)
public Content.Builder setHlsIngestStatus(DaiIngestStatusEnum.DaiIngestStatus value) 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];
| Parameter | |
|---|---|
| Name | Description |
value |
DaiIngestStatusEnum.DaiIngestStatusThe hlsIngestStatus to set. |
| Returns | |
|---|---|
| Type | Description |
Content.Builder |
This builder for chaining. |
setHlsIngestStatusValue(int value)
public Content.Builder setHlsIngestStatusValue(int value) 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];
| Parameter | |
|---|---|
| Name | Description |
value |
intThe enum numeric value on the wire for hlsIngestStatus to set. |
| Returns | |
|---|---|
| Type | Description |
Content.Builder |
This builder for chaining. |
setImportTime(Timestamp value)
public Content.Builder setImportTime(Timestamp value) Output only. The timestamp at which this Content was published.
optional .google.protobuf.Timestamp import_time = 11 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Parameter | |
|---|---|
| Name | Description |
value |
Timestamp |
| Returns | |
|---|---|
| Type | Description |
Content.Builder |
|
setImportTime(Timestamp.Builder builderForValue)
public Content.Builder setImportTime(Timestamp.Builder builderForValue) Output only. The timestamp at which this Content was published.
optional .google.protobuf.Timestamp import_time = 11 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Parameter | |
|---|---|
| Name | Description |
builderForValue |
Builder |
| Returns | |
|---|---|
| Type | Description |
Content.Builder |
|
setLastDashIngestTime(Timestamp value)
public Content.Builder setLastDashIngestTime(Timestamp value) 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];
| Parameter | |
|---|---|
| Name | Description |
value |
Timestamp |
| Returns | |
|---|---|
| Type | Description |
Content.Builder |
|
setLastDashIngestTime(Timestamp.Builder builderForValue)
public Content.Builder setLastDashIngestTime(Timestamp.Builder builderForValue) 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];
| Parameter | |
|---|---|
| Name | Description |
builderForValue |
Builder |
| Returns | |
|---|---|
| Type | Description |
Content.Builder |
|
setLastHlsIngestTime(Timestamp value)
public Content.Builder setLastHlsIngestTime(Timestamp value) 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];
| Parameter | |
|---|---|
| Name | Description |
value |
Timestamp |
| Returns | |
|---|---|
| Type | Description |
Content.Builder |
|
setLastHlsIngestTime(Timestamp.Builder builderForValue)
public Content.Builder setLastHlsIngestTime(Timestamp.Builder builderForValue) 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];
| Parameter | |
|---|---|
| Name | Description |
builderForValue |
Builder |
| Returns | |
|---|---|
| Type | Description |
Content.Builder |
|
setName(String value)
public Content.Builder setName(String value) Identifier. The resource name of the Content.
Format: networks/{network_code}/content/{content_id}
string name = 1 [(.google.api.field_behavior) = IDENTIFIER];
| Parameter | |
|---|---|
| Name | Description |
value |
StringThe name to set. |
| Returns | |
|---|---|
| Type | Description |
Content.Builder |
This builder for chaining. |
setNameBytes(ByteString value)
public Content.Builder setNameBytes(ByteString value) Identifier. The resource name of the Content.
Format: networks/{network_code}/content/{content_id}
string name = 1 [(.google.api.field_behavior) = IDENTIFIER];
| Parameter | |
|---|---|
| Name | Description |
value |
ByteStringThe bytes for name to set. |
| Returns | |
|---|---|
| Type | Description |
Content.Builder |
This builder for chaining. |
setStatus(ContentStatusEnum.ContentStatus value)
public Content.Builder setStatus(ContentStatusEnum.ContentStatus value) Output only. The status of this Content.
optional .google.ads.admanager.v1.ContentStatusEnum.ContentStatus status = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Parameter | |
|---|---|
| Name | Description |
value |
ContentStatusEnum.ContentStatusThe status to set. |
| Returns | |
|---|---|
| Type | Description |
Content.Builder |
This builder for chaining. |
setStatusValue(int value)
public Content.Builder setStatusValue(int value) Output only. The status of this Content.
optional .google.ads.admanager.v1.ContentStatusEnum.ContentStatus status = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Parameter | |
|---|---|
| Name | Description |
value |
intThe enum numeric value on the wire for status to set. |
| Returns | |
|---|---|
| Type | Description |
Content.Builder |
This builder for chaining. |
setUpdateTime(Timestamp value)
public Content.Builder setUpdateTime(Timestamp value) 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];
| Parameter | |
|---|---|
| Name | Description |
value |
Timestamp |
| Returns | |
|---|---|
| Type | Description |
Content.Builder |
|
setUpdateTime(Timestamp.Builder builderForValue)
public Content.Builder setUpdateTime(Timestamp.Builder builderForValue) 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];
| Parameter | |
|---|---|
| Name | Description |
builderForValue |
Builder |
| Returns | |
|---|---|
| Type | Description |
Content.Builder |
|