Class DaiSession.CreationContext.LinearInfo (0.58.0)

public static final class DaiSession.CreationContext.LinearInfo extends GeneratedMessage implements DaiSession.CreationContext.LinearInfoOrBuilder

The LiveStream resource in the stream request that creates the DAI session.

Protobuf type google.ads.admanager.v1.DaiSession.CreationContext.LinearInfo

Inheritance

Object > AbstractMessageLite<MessageType,BuilderType> > AbstractMessage > GeneratedMessage > DaiSession.CreationContext.LinearInfo

Static Fields

ASSET_KEY_FIELD_NUMBER

public static final int ASSET_KEY_FIELD_NUMBER
Field Value
Type Description
int

CUSTOM_ASSET_KEY_FIELD_NUMBER

public static final int CUSTOM_ASSET_KEY_FIELD_NUMBER
Field Value
Type Description
int

EVENT_END_TIME_FIELD_NUMBER

public static final int EVENT_END_TIME_FIELD_NUMBER
Field Value
Type Description
int

EVENT_START_TIME_FIELD_NUMBER

public static final int EVENT_START_TIME_FIELD_NUMBER
Field Value
Type Description
int

LIVE_STREAM_FIELD_NUMBER

public static final int LIVE_STREAM_FIELD_NUMBER
Field Value
Type Description
int

POD_TRIMMING_ENABLED_FIELD_NUMBER

public static final int POD_TRIMMING_ENABLED_FIELD_NUMBER
Field Value
Type Description
int

POD_TRIM_TOLERANCE_FIELD_NUMBER

public static final int POD_TRIM_TOLERANCE_FIELD_NUMBER
Field Value
Type Description
int

PREFETCH_ENABLED_FIELD_NUMBER

public static final int PREFETCH_ENABLED_FIELD_NUMBER
Field Value
Type Description
int

Static Methods

getDefaultInstance()

public static DaiSession.CreationContext.LinearInfo getDefaultInstance()
Returns
Type Description
DaiSession.CreationContext.LinearInfo

getDescriptor()

public static final Descriptors.Descriptor getDescriptor()
Returns
Type Description
Descriptor

newBuilder()

public static DaiSession.CreationContext.LinearInfo.Builder newBuilder()
Returns
Type Description
DaiSession.CreationContext.LinearInfo.Builder

newBuilder(DaiSession.CreationContext.LinearInfo prototype)

public static DaiSession.CreationContext.LinearInfo.Builder newBuilder(DaiSession.CreationContext.LinearInfo prototype)
Parameter
Name Description
prototype DaiSession.CreationContext.LinearInfo
Returns
Type Description
DaiSession.CreationContext.LinearInfo.Builder

parseDelimitedFrom(InputStream input)

public static DaiSession.CreationContext.LinearInfo parseDelimitedFrom(InputStream input)
Parameter
Name Description
input InputStream
Returns
Type Description
DaiSession.CreationContext.LinearInfo
Exceptions
Type Description
IOException

parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static DaiSession.CreationContext.LinearInfo parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input InputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
DaiSession.CreationContext.LinearInfo
Exceptions
Type Description
IOException

parseFrom(byte[] data)

public static DaiSession.CreationContext.LinearInfo parseFrom(byte[] data)
Parameter
Name Description
data byte[]
Returns
Type Description
DaiSession.CreationContext.LinearInfo
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)

public static DaiSession.CreationContext.LinearInfo parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
data byte[]
extensionRegistry ExtensionRegistryLite
Returns
Type Description
DaiSession.CreationContext.LinearInfo
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteString data)

public static DaiSession.CreationContext.LinearInfo parseFrom(ByteString data)
Parameter
Name Description
data ByteString
Returns
Type Description
DaiSession.CreationContext.LinearInfo
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)

public static DaiSession.CreationContext.LinearInfo parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
data ByteString
extensionRegistry ExtensionRegistryLite
Returns
Type Description
DaiSession.CreationContext.LinearInfo
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(CodedInputStream input)

public static DaiSession.CreationContext.LinearInfo parseFrom(CodedInputStream input)
Parameter
Name Description
input CodedInputStream
Returns
Type Description
DaiSession.CreationContext.LinearInfo
Exceptions
Type Description
IOException

parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public static DaiSession.CreationContext.LinearInfo parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input CodedInputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
DaiSession.CreationContext.LinearInfo
Exceptions
Type Description
IOException

parseFrom(InputStream input)

public static DaiSession.CreationContext.LinearInfo parseFrom(InputStream input)
Parameter
Name Description
input InputStream
Returns
Type Description
DaiSession.CreationContext.LinearInfo
Exceptions
Type Description
IOException

parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static DaiSession.CreationContext.LinearInfo parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input InputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
DaiSession.CreationContext.LinearInfo
Exceptions
Type Description
IOException

parseFrom(ByteBuffer data)

public static DaiSession.CreationContext.LinearInfo parseFrom(ByteBuffer data)
Parameter
Name Description
data ByteBuffer
Returns
Type Description
DaiSession.CreationContext.LinearInfo
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)

public static DaiSession.CreationContext.LinearInfo parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
data ByteBuffer
extensionRegistry ExtensionRegistryLite
Returns
Type Description
DaiSession.CreationContext.LinearInfo
Exceptions
Type Description
InvalidProtocolBufferException

parser()

public static Parser<DaiSession.CreationContext.LinearInfo> parser()
Returns
Type Description
Parser<LinearInfo>

Methods

equals(Object obj)

public boolean equals(Object obj)
Parameter
Name Description
obj Object
Returns
Type Description
boolean
Overrides

getAssetKey()

public String getAssetKey()

Output only. The LiveStream.asset_key field. Google Ad Manager only generates this field for livestreams with the dynamic_ad_insertion_type field set to DynamicAdInsertionType.LINEAR value.

optional string asset_key = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
String

The assetKey.

getAssetKeyBytes()

public ByteString getAssetKeyBytes()

Output only. The LiveStream.asset_key field. Google Ad Manager only generates this field for livestreams with the dynamic_ad_insertion_type field set to DynamicAdInsertionType.LINEAR value.

optional string asset_key = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
ByteString

The bytes for assetKey.

getCustomAssetKey()

public String getCustomAssetKey()

Output only. The LiveStream.custom_asset_key field. This field is only populated for livestreams with the dynamic_ad_insertion_type field set to DynamicAdInsertionType.POD_SERVING_MANIFEST value or DynamicAdInsertionType.POD_SERVING_REDIRECT value.

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

Returns
Type Description
String

The customAssetKey.

getCustomAssetKeyBytes()

public ByteString getCustomAssetKeyBytes()

Output only. The LiveStream.custom_asset_key field. This field is only populated for livestreams with the dynamic_ad_insertion_type field set to DynamicAdInsertionType.POD_SERVING_MANIFEST value or DynamicAdInsertionType.POD_SERVING_REDIRECT value.

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

Returns
Type Description
ByteString

The bytes for customAssetKey.

getDefaultInstanceForType()

public DaiSession.CreationContext.LinearInfo getDefaultInstanceForType()
Returns
Type Description
DaiSession.CreationContext.LinearInfo

getEventEndTime()

public Timestamp getEventEndTime()

Output only. The LiveStream.end_time field.

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

Returns
Type Description
Timestamp

The eventEndTime.

getEventEndTimeOrBuilder()

public TimestampOrBuilder getEventEndTimeOrBuilder()

Output only. The LiveStream.end_time field.

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

Returns
Type Description
TimestampOrBuilder

getEventStartTime()

public Timestamp getEventStartTime()

The LiveStream.start_time field.

.google.protobuf.Timestamp event_start_time = 6;

Returns
Type Description
Timestamp

The eventStartTime.

getEventStartTimeOrBuilder()

public TimestampOrBuilder getEventStartTimeOrBuilder()

The LiveStream.start_time field.

.google.protobuf.Timestamp event_start_time = 6;

Returns
Type Description
TimestampOrBuilder

getLiveStream()

public String getLiveStream()

Output only. The name field of the LiveStream resource.

optional string live_stream = 5 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { ... }

Returns
Type Description
String

The liveStream.

getLiveStreamBytes()

public ByteString getLiveStreamBytes()

Output only. The name field of the LiveStream resource.

optional string live_stream = 5 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { ... }

Returns
Type Description
ByteString

The bytes for liveStream.

getParserForType()

public Parser<DaiSession.CreationContext.LinearInfo> getParserForType()
Returns
Type Description
Parser<LinearInfo>
Overrides

getPodTrimTolerance()

public Duration getPodTrimTolerance()

Optional. The maximum duration allowed to be trimmed from an ad pod before whole ads are dropped. This field is only populated when pod trimming is enabled.

optional .google.protobuf.Duration pod_trim_tolerance = 8 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
Duration

The podTrimTolerance.

getPodTrimToleranceOrBuilder()

public DurationOrBuilder getPodTrimToleranceOrBuilder()

Optional. The maximum duration allowed to be trimmed from an ad pod before whole ads are dropped. This field is only populated when pod trimming is enabled.

optional .google.protobuf.Duration pod_trim_tolerance = 8 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
DurationOrBuilder

getPodTrimmingEnabled()

public boolean getPodTrimmingEnabled()

Output only. Whether ad pod trimming is enabled for the DAI session.

optional bool pod_trimming_enabled = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
boolean

The podTrimmingEnabled.

getPrefetchEnabled()

public boolean getPrefetchEnabled()

Output only. Whether the LiveStream.prefetch_enabled field is set to true.

optional bool prefetch_enabled = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
boolean

The prefetchEnabled.

getSerializedSize()

public int getSerializedSize()
Returns
Type Description
int
Overrides

hasAssetKey()

public boolean hasAssetKey()

Output only. The LiveStream.asset_key field. Google Ad Manager only generates this field for livestreams with the dynamic_ad_insertion_type field set to DynamicAdInsertionType.LINEAR value.

optional string asset_key = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
boolean

Whether the assetKey field is set.

hasCustomAssetKey()

public boolean hasCustomAssetKey()

Output only. The LiveStream.custom_asset_key field. This field is only populated for livestreams with the dynamic_ad_insertion_type field set to DynamicAdInsertionType.POD_SERVING_MANIFEST value or DynamicAdInsertionType.POD_SERVING_REDIRECT value.

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

Returns
Type Description
boolean

Whether the customAssetKey field is set.

hasEventEndTime()

public boolean hasEventEndTime()

Output only. The LiveStream.end_time field.

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

Returns
Type Description
boolean

Whether the eventEndTime field is set.

hasEventStartTime()

public boolean hasEventStartTime()

The LiveStream.start_time field.

.google.protobuf.Timestamp event_start_time = 6;

Returns
Type Description
boolean

Whether the eventStartTime field is set.

hasLiveStream()

public boolean hasLiveStream()

Output only. The name field of the LiveStream resource.

optional string live_stream = 5 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { ... }

Returns
Type Description
boolean

Whether the liveStream field is set.

hasPodTrimTolerance()

public boolean hasPodTrimTolerance()

Optional. The maximum duration allowed to be trimmed from an ad pod before whole ads are dropped. This field is only populated when pod trimming is enabled.

optional .google.protobuf.Duration pod_trim_tolerance = 8 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
boolean

Whether the podTrimTolerance field is set.

hasPodTrimmingEnabled()

public boolean hasPodTrimmingEnabled()

Output only. Whether ad pod trimming is enabled for the DAI session.

optional bool pod_trimming_enabled = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
boolean

Whether the podTrimmingEnabled field is set.

hasPrefetchEnabled()

public boolean hasPrefetchEnabled()

Output only. Whether the LiveStream.prefetch_enabled field is set to true.

optional bool prefetch_enabled = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
boolean

Whether the prefetchEnabled field is set.

hashCode()

public int hashCode()
Returns
Type Description
int
Overrides

internalGetFieldAccessorTable()

protected GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()
Returns
Type Description
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

newBuilderForType()

public DaiSession.CreationContext.LinearInfo.Builder newBuilderForType()
Returns
Type Description
DaiSession.CreationContext.LinearInfo.Builder

newBuilderForType(AbstractMessage.BuilderParent parent)

protected DaiSession.CreationContext.LinearInfo.Builder newBuilderForType(AbstractMessage.BuilderParent parent)
Parameter
Name Description
parent BuilderParent
Returns
Type Description
DaiSession.CreationContext.LinearInfo.Builder
Overrides

toBuilder()

public DaiSession.CreationContext.LinearInfo.Builder toBuilder()
Returns
Type Description
DaiSession.CreationContext.LinearInfo.Builder

writeTo(CodedOutputStream output)

public void writeTo(CodedOutputStream output)
Parameter
Name Description
output CodedOutputStream
Overrides
Exceptions
Type Description
IOException