public final class Content extends GeneratedMessage implements ContentOrBuilder A piece of Content from a Publisher's CMS.
Protobuf type google.ads.admanager.v1.Content
Inheritance
Object > AbstractMessageLite<MessageType,BuilderType> > AbstractMessage > GeneratedMessage > ContentImplements
ContentOrBuilderStatic Fields
CMS_METADATA_VALUES_FIELD_NUMBER
public static final int CMS_METADATA_VALUES_FIELD_NUMBER| Field Value | |
|---|---|
| Type | Description |
int |
|
CMS_SOURCES_FIELD_NUMBER
public static final int CMS_SOURCES_FIELD_NUMBER| Field Value | |
|---|---|
| Type | Description |
int |
|
CONTENT_BUNDLES_FIELD_NUMBER
public static final int CONTENT_BUNDLES_FIELD_NUMBER| Field Value | |
|---|---|
| Type | Description |
int |
|
CONTENT_STATUS_SOURCE_FIELD_NUMBER
public static final int CONTENT_STATUS_SOURCE_FIELD_NUMBER| Field Value | |
|---|---|
| Type | Description |
int |
|
DASH_INGEST_ERRORS_FIELD_NUMBER
public static final int DASH_INGEST_ERRORS_FIELD_NUMBER| Field Value | |
|---|---|
| Type | Description |
int |
|
DASH_INGEST_STATUS_FIELD_NUMBER
public static final int DASH_INGEST_STATUS_FIELD_NUMBER| Field Value | |
|---|---|
| Type | Description |
int |
|
DISPLAY_NAME_FIELD_NUMBER
public static final int DISPLAY_NAME_FIELD_NUMBER| Field Value | |
|---|---|
| Type | Description |
int |
|
DURATION_FIELD_NUMBER
public static final int DURATION_FIELD_NUMBER| Field Value | |
|---|---|
| Type | Description |
int |
|
HLS_INGEST_ERRORS_FIELD_NUMBER
public static final int HLS_INGEST_ERRORS_FIELD_NUMBER| Field Value | |
|---|---|
| Type | Description |
int |
|
HLS_INGEST_STATUS_FIELD_NUMBER
public static final int HLS_INGEST_STATUS_FIELD_NUMBER| Field Value | |
|---|---|
| Type | Description |
int |
|
IMPORT_TIME_FIELD_NUMBER
public static final int IMPORT_TIME_FIELD_NUMBER| Field Value | |
|---|---|
| Type | Description |
int |
|
LAST_DASH_INGEST_TIME_FIELD_NUMBER
public static final int LAST_DASH_INGEST_TIME_FIELD_NUMBER| Field Value | |
|---|---|
| Type | Description |
int |
|
LAST_HLS_INGEST_TIME_FIELD_NUMBER
public static final int LAST_HLS_INGEST_TIME_FIELD_NUMBER| Field Value | |
|---|---|
| Type | Description |
int |
|
NAME_FIELD_NUMBER
public static final int NAME_FIELD_NUMBER| Field Value | |
|---|---|
| Type | Description |
int |
|
STATUS_FIELD_NUMBER
public static final int STATUS_FIELD_NUMBER| Field Value | |
|---|---|
| Type | Description |
int |
|
UPDATE_TIME_FIELD_NUMBER
public static final int UPDATE_TIME_FIELD_NUMBER| Field Value | |
|---|---|
| Type | Description |
int |
|
Static Methods
getDefaultInstance()
public static Content getDefaultInstance()| Returns | |
|---|---|
| Type | Description |
Content |
|
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()| Returns | |
|---|---|
| Type | Description |
Descriptor |
|
newBuilder()
public static Content.Builder newBuilder()| Returns | |
|---|---|
| Type | Description |
Content.Builder |
|
newBuilder(Content prototype)
public static Content.Builder newBuilder(Content prototype)| Parameter | |
|---|---|
| Name | Description |
prototype |
Content |
| Returns | |
|---|---|
| Type | Description |
Content.Builder |
|
parseDelimitedFrom(InputStream input)
public static Content parseDelimitedFrom(InputStream input)| Parameter | |
|---|---|
| Name | Description |
input |
InputStream |
| Returns | |
|---|---|
| Type | Description |
Content |
|
| Exceptions | |
|---|---|
| Type | Description |
IOException |
|
parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
public static Content parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)| Parameters | |
|---|---|
| Name | Description |
input |
InputStream |
extensionRegistry |
ExtensionRegistryLite |
| Returns | |
|---|---|
| Type | Description |
Content |
|
| Exceptions | |
|---|---|
| Type | Description |
IOException |
|
parseFrom(byte[] data)
public static Content parseFrom(byte[] data)| Parameter | |
|---|---|
| Name | Description |
data |
byte[] |
| Returns | |
|---|---|
| Type | Description |
Content |
|
| Exceptions | |
|---|---|
| Type | Description |
InvalidProtocolBufferException |
|
parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
public static Content parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)| Parameters | |
|---|---|
| Name | Description |
data |
byte[] |
extensionRegistry |
ExtensionRegistryLite |
| Returns | |
|---|---|
| Type | Description |
Content |
|
| Exceptions | |
|---|---|
| Type | Description |
InvalidProtocolBufferException |
|
parseFrom(ByteString data)
public static Content parseFrom(ByteString data)| Parameter | |
|---|---|
| Name | Description |
data |
ByteString |
| Returns | |
|---|---|
| Type | Description |
Content |
|
| Exceptions | |
|---|---|
| Type | Description |
InvalidProtocolBufferException |
|
parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
public static Content parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)| Parameters | |
|---|---|
| Name | Description |
data |
ByteString |
extensionRegistry |
ExtensionRegistryLite |
| Returns | |
|---|---|
| Type | Description |
Content |
|
| Exceptions | |
|---|---|
| Type | Description |
InvalidProtocolBufferException |
|
parseFrom(CodedInputStream input)
public static Content parseFrom(CodedInputStream input)| Parameter | |
|---|---|
| Name | Description |
input |
CodedInputStream |
| Returns | |
|---|---|
| Type | Description |
Content |
|
| Exceptions | |
|---|---|
| Type | Description |
IOException |
|
parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public static Content parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)| Parameters | |
|---|---|
| Name | Description |
input |
CodedInputStream |
extensionRegistry |
ExtensionRegistryLite |
| Returns | |
|---|---|
| Type | Description |
Content |
|
| Exceptions | |
|---|---|
| Type | Description |
IOException |
|
parseFrom(InputStream input)
public static Content parseFrom(InputStream input)| Parameter | |
|---|---|
| Name | Description |
input |
InputStream |
| Returns | |
|---|---|
| Type | Description |
Content |
|
| Exceptions | |
|---|---|
| Type | Description |
IOException |
|
parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
public static Content parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)| Parameters | |
|---|---|
| Name | Description |
input |
InputStream |
extensionRegistry |
ExtensionRegistryLite |
| Returns | |
|---|---|
| Type | Description |
Content |
|
| Exceptions | |
|---|---|
| Type | Description |
IOException |
|
parseFrom(ByteBuffer data)
public static Content parseFrom(ByteBuffer data)| Parameter | |
|---|---|
| Name | Description |
data |
ByteBuffer |
| Returns | |
|---|---|
| Type | Description |
Content |
|
| Exceptions | |
|---|---|
| Type | Description |
InvalidProtocolBufferException |
|
parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
public static Content parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)| Parameters | |
|---|---|
| Name | Description |
data |
ByteBuffer |
extensionRegistry |
ExtensionRegistryLite |
| Returns | |
|---|---|
| Type | Description |
Content |
|
| Exceptions | |
|---|---|
| Type | Description |
InvalidProtocolBufferException |
|
parser()
public static Parser<Content> parser()| Returns | |
|---|---|
| Type | Description |
Parser<Content> |
|
Methods
equals(Object obj)
public boolean equals(Object obj)| Parameter | |
|---|---|
| Name | Description |
obj |
Object |
| Returns | |
|---|---|
| Type | Description |
boolean |
|
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 |
|
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 |
|
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 |
|
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. |
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 |
|
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. |
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. |
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. |
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. |
getParserForType()
public Parser<Content> getParserForType()| Returns | |
|---|---|
| Type | Description |
Parser<Content> |
|
getSerializedSize()
public int getSerializedSize()| Returns | |
|---|---|
| Type | Description |
int |
|
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. |
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. |
hashCode()
public int hashCode()| Returns | |
|---|---|
| Type | Description |
int |
|
internalGetFieldAccessorTable()
protected GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()| Returns | |
|---|---|
| Type | Description |
FieldAccessorTable |
|
isInitialized()
public final boolean isInitialized()| Returns | |
|---|---|
| Type | Description |
boolean |
|
newBuilderForType()
public Content.Builder newBuilderForType()| Returns | |
|---|---|
| Type | Description |
Content.Builder |
|
newBuilderForType(AbstractMessage.BuilderParent parent)
protected Content.Builder newBuilderForType(AbstractMessage.BuilderParent parent)| Parameter | |
|---|---|
| Name | Description |
parent |
BuilderParent |
| Returns | |
|---|---|
| Type | Description |
Content.Builder |
|
toBuilder()
public Content.Builder toBuilder()| Returns | |
|---|---|
| Type | Description |
Content.Builder |
|
writeTo(CodedOutputStream output)
public void writeTo(CodedOutputStream output)| Parameter | |
|---|---|
| Name | Description |
output |
CodedOutputStream |
| Exceptions | |
|---|---|
| Type | Description |
IOException |
|