public final class ViewabilityInfo extends GeneratedMessage implements ViewabilityInfoOrBuilder
Details of the viewability of the ad served.
Protobuf type google.ads.datamanager.v1.ViewabilityInfo
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
public static final int MEDIA_DURATION_FIELD_NUMBER
| Field Value |
| Type |
Description |
int |
|
public static final int MEDIA_QUARTILE_FIELD_NUMBER
| Field Value |
| Type |
Description |
int |
|
public static final int MEDIA_SKIPPABLE_FIELD_NUMBER
| Field Value |
| Type |
Description |
int |
|
public static final int MEDIA_VOLUME_PERCENT_FIELD_NUMBER
| Field Value |
| Type |
Description |
int |
|
PLAYBACK_DURATION_FIELD_NUMBER
public static final int PLAYBACK_DURATION_FIELD_NUMBER
| Field Value |
| Type |
Description |
int |
|
VIEWABLE_DURATION_FIELD_NUMBER
public static final int VIEWABLE_DURATION_FIELD_NUMBER
| Field Value |
| Type |
Description |
int |
|
VIEWABLE_PERCENT_FIELD_NUMBER
public static final int VIEWABLE_PERCENT_FIELD_NUMBER
| Field Value |
| Type |
Description |
int |
|
VIEW_TYPE_FIELD_NUMBER
public static final int VIEW_TYPE_FIELD_NUMBER
| Field Value |
| Type |
Description |
int |
|
Static Methods
getDefaultInstance()
public static ViewabilityInfo getDefaultInstance()
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
newBuilder()
public static ViewabilityInfo.Builder newBuilder()
newBuilder(ViewabilityInfo prototype)
public static ViewabilityInfo.Builder newBuilder(ViewabilityInfo prototype)
public static ViewabilityInfo parseDelimitedFrom(InputStream input)
public static ViewabilityInfo parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
parseFrom(byte[] data)
public static ViewabilityInfo parseFrom(byte[] data)
| Parameter |
| Name |
Description |
data |
byte[]
|
parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
public static ViewabilityInfo parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
parseFrom(ByteString data)
public static ViewabilityInfo parseFrom(ByteString data)
parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
public static ViewabilityInfo parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
public static ViewabilityInfo parseFrom(CodedInputStream input)
public static ViewabilityInfo parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public static ViewabilityInfo parseFrom(InputStream input)
public static ViewabilityInfo parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
parseFrom(ByteBuffer data)
public static ViewabilityInfo parseFrom(ByteBuffer data)
parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
public static ViewabilityInfo parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
parser()
public static Parser<ViewabilityInfo> parser()
Methods
equals(Object obj)
public boolean equals(Object obj)
| Parameter |
| Name |
Description |
obj |
Object
|
Overrides
getDefaultInstanceForType()
public ViewabilityInfo getDefaultInstanceForType()
public Duration getMediaDuration()
Optional. The duration of the ad media.
.google.protobuf.Duration media_duration = 6 [(.google.api.field_behavior) = OPTIONAL];
| Returns |
| Type |
Description |
Duration |
The mediaDuration.
|
public DurationOrBuilder getMediaDurationOrBuilder()
Optional. The duration of the ad media.
.google.protobuf.Duration media_duration = 6 [(.google.api.field_behavior) = OPTIONAL];
public MediaQuartile getMediaQuartile()
Optional. The amount of the media that was played as discrete quartiles.
.google.ads.datamanager.v1.MediaQuartile media_quartile = 5 [(.google.api.field_behavior) = OPTIONAL];
public int getMediaQuartileValue()
Optional. The amount of the media that was played as discrete quartiles.
.google.ads.datamanager.v1.MediaQuartile media_quartile = 5 [(.google.api.field_behavior) = OPTIONAL];
| Returns |
| Type |
Description |
int |
The enum numeric value on the wire for mediaQuartile.
|
public boolean getMediaSkippable()
Optional. Whether the ad media was skippable or not.
bool media_skippable = 4 [(.google.api.field_behavior) = OPTIONAL];
| Returns |
| Type |
Description |
boolean |
The mediaSkippable.
|
public int getMediaVolumePercent()
Optional. The numerical percent (0-100) of the volume of the media
playback.
int32 media_volume_percent = 7 [(.google.api.field_behavior) = OPTIONAL];
| Returns |
| Type |
Description |
int |
The mediaVolumePercent.
|
getParserForType()
public Parser<ViewabilityInfo> getParserForType()
Overrides
getPlaybackDuration()
public Duration getPlaybackDuration()
Optional. The duration of playback of the ad media, regardless of whether
it was viewable or not.
.google.protobuf.Duration playback_duration = 8 [(.google.api.field_behavior) = OPTIONAL];
| Returns |
| Type |
Description |
Duration |
The playbackDuration.
|
getPlaybackDurationOrBuilder()
public DurationOrBuilder getPlaybackDurationOrBuilder()
Optional. The duration of playback of the ad media, regardless of whether
it was viewable or not.
.google.protobuf.Duration playback_duration = 8 [(.google.api.field_behavior) = OPTIONAL];
getSerializedSize()
public int getSerializedSize()
| Returns |
| Type |
Description |
int |
|
Overrides
getViewType()
public ViewType getViewType()
Required. The type of the event.
.google.ads.datamanager.v1.ViewType view_type = 1 [(.google.api.field_behavior) = REQUIRED];
| Returns |
| Type |
Description |
ViewType |
The viewType.
|
getViewTypeValue()
public int getViewTypeValue()
Required. The type of the event.
.google.ads.datamanager.v1.ViewType view_type = 1 [(.google.api.field_behavior) = REQUIRED];
| Returns |
| Type |
Description |
int |
The enum numeric value on the wire for viewType.
|
getViewableDuration()
public Duration getViewableDuration()
Optional. The amount of time the ad was viewable for.
.google.protobuf.Duration viewable_duration = 3 [(.google.api.field_behavior) = OPTIONAL];
| Returns |
| Type |
Description |
Duration |
The viewableDuration.
|
getViewableDurationOrBuilder()
public DurationOrBuilder getViewableDurationOrBuilder()
Optional. The amount of time the ad was viewable for.
.google.protobuf.Duration viewable_duration = 3 [(.google.api.field_behavior) = OPTIONAL];
getViewablePercent()
public int getViewablePercent()
Optional. The numerical percent (0-100) of the pixels that were viewable.
int32 viewable_percent = 2 [(.google.api.field_behavior) = OPTIONAL];
| Returns |
| Type |
Description |
int |
The viewablePercent.
|
public boolean hasMediaDuration()
Optional. The duration of the ad media.
.google.protobuf.Duration media_duration = 6 [(.google.api.field_behavior) = OPTIONAL];
| Returns |
| Type |
Description |
boolean |
Whether the mediaDuration field is set.
|
hasPlaybackDuration()
public boolean hasPlaybackDuration()
Optional. The duration of playback of the ad media, regardless of whether
it was viewable or not.
.google.protobuf.Duration playback_duration = 8 [(.google.api.field_behavior) = OPTIONAL];
| Returns |
| Type |
Description |
boolean |
Whether the playbackDuration field is set.
|
hasViewableDuration()
public boolean hasViewableDuration()
Optional. The amount of time the ad was viewable for.
.google.protobuf.Duration viewable_duration = 3 [(.google.api.field_behavior) = OPTIONAL];
| Returns |
| Type |
Description |
boolean |
Whether the viewableDuration field is set.
|
hashCode()
| Returns |
| Type |
Description |
int |
|
Overrides
internalGetFieldAccessorTable()
protected GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()
Overrides
isInitialized()
public final boolean isInitialized()
Overrides
newBuilderForType()
public ViewabilityInfo.Builder newBuilderForType()
newBuilderForType(AbstractMessage.BuilderParent parent)
protected ViewabilityInfo.Builder newBuilderForType(AbstractMessage.BuilderParent parent)
Overrides
toBuilder()
public ViewabilityInfo.Builder toBuilder()
writeTo(CodedOutputStream output)
public void writeTo(CodedOutputStream output)
Overrides