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
Inherited Members
com.google.protobuf.GeneratedMessage.<ContainingT,T>newFileScopedGeneratedExtension(java.lang.Class<?>,com.google.protobuf.Message)
com.google.protobuf.GeneratedMessage.<ContainingT,T>newMessageScopedGeneratedExtension(com.google.protobuf.Message,int,java.lang.Class<?>,com.google.protobuf.Message)
com.google.protobuf.GeneratedMessage.<ListT>makeMutableCopy(ListT)
com.google.protobuf.GeneratedMessage.<ListT>makeMutableCopy(ListT,int)
com.google.protobuf.GeneratedMessage.<T>emptyList(java.lang.Class<T>)
com.google.protobuf.GeneratedMessage.<V>serializeBooleanMapTo(com.google.protobuf.CodedOutputStream,com.google.protobuf.MapField<java.lang.Boolean,V>,com.google.protobuf.MapEntry<java.lang.Boolean,V>,int)
com.google.protobuf.GeneratedMessage.<V>serializeIntegerMapTo(com.google.protobuf.CodedOutputStream,com.google.protobuf.MapField<java.lang.Integer,V>,com.google.protobuf.MapEntry<java.lang.Integer,V>,int)
com.google.protobuf.GeneratedMessage.<V>serializeLongMapTo(com.google.protobuf.CodedOutputStream,com.google.protobuf.MapField<java.lang.Long,V>,com.google.protobuf.MapEntry<java.lang.Long,V>,int)
com.google.protobuf.GeneratedMessage.<V>serializeStringMapTo(com.google.protobuf.CodedOutputStream,com.google.protobuf.MapField<java.lang.String,V>,com.google.protobuf.MapEntry<java.lang.String,V>,int)
com.google.protobuf.GeneratedMessage.canUseUnsafe()
com.google.protobuf.GeneratedMessage.emptyBooleanList()
com.google.protobuf.GeneratedMessage.emptyDoubleList()
com.google.protobuf.GeneratedMessage.emptyFloatList()
com.google.protobuf.GeneratedMessage.emptyIntList()
com.google.protobuf.GeneratedMessage.emptyLongList()
com.google.protobuf.GeneratedMessage.internalGetMapFieldReflection(int)
com.google.protobuf.GeneratedMessage.isStringEmpty(java.lang.Object)
com.google.protobuf.GeneratedMessage.mergeFromAndMakeImmutableInternal(com.google.protobuf.CodedInputStream,com.google.protobuf.ExtensionRegistryLite)
com.google.protobuf.GeneratedMessage.newInstance(com.google.protobuf.GeneratedMessage.UnusedPrivateParameter)
com.google.protobuf.GeneratedMessage.parseUnknownFieldProto3(com.google.protobuf.CodedInputStream,com.google.protobuf.UnknownFieldSet.Builder,com.google.protobuf.ExtensionRegistryLite,int)
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()
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
newBuilder()
public static DaiSession.CreationContext.LinearInfo.Builder newBuilder()
newBuilder(DaiSession.CreationContext.LinearInfo prototype)
public static DaiSession.CreationContext.LinearInfo.Builder newBuilder(DaiSession.CreationContext.LinearInfo prototype)
parseDelimitedFrom(InputStream input)
public static DaiSession.CreationContext.LinearInfo parseDelimitedFrom(InputStream input)
parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
public static DaiSession.CreationContext.LinearInfo parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
parseFrom(byte[] data)
public static DaiSession.CreationContext.LinearInfo parseFrom(byte[] data)
| Parameter |
| Name |
Description |
data |
byte[]
|
parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
public static DaiSession.CreationContext.LinearInfo parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
parseFrom(ByteString data)
public static DaiSession.CreationContext.LinearInfo parseFrom(ByteString data)
parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
public static DaiSession.CreationContext.LinearInfo parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
parseFrom(CodedInputStream input)
public static DaiSession.CreationContext.LinearInfo parseFrom(CodedInputStream input)
parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public static DaiSession.CreationContext.LinearInfo parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
parseFrom(InputStream input)
public static DaiSession.CreationContext.LinearInfo parseFrom(InputStream input)
parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
public static DaiSession.CreationContext.LinearInfo parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
parseFrom(ByteBuffer data)
public static DaiSession.CreationContext.LinearInfo parseFrom(ByteBuffer data)
parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
public static DaiSession.CreationContext.LinearInfo parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
parser()
public static Parser<DaiSession.CreationContext.LinearInfo> parser()
Methods
equals(Object obj)
public boolean equals(Object obj)
| Parameter |
| Name |
Description |
obj |
Object
|
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()
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];
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;
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()
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];
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()
| Returns |
| Type |
Description |
int |
|
Overrides
internalGetFieldAccessorTable()
protected GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()
Overrides
isInitialized()
public final boolean isInitialized()
Overrides
newBuilderForType()
public DaiSession.CreationContext.LinearInfo.Builder newBuilderForType()
newBuilderForType(AbstractMessage.BuilderParent parent)
protected DaiSession.CreationContext.LinearInfo.Builder newBuilderForType(AbstractMessage.BuilderParent parent)
Overrides
toBuilder()
public DaiSession.CreationContext.LinearInfo.Builder toBuilder()
writeTo(CodedOutputStream output)
public void writeTo(CodedOutputStream output)
Overrides