public interface MediaInfoOrBuilder
extends com.google.protobuf.MessageOrBuilder
| Modifier and Type | Method and Description |
|---|---|
com.google.protobuf.Duration |
getMediaProgressDuration()
The media progress time in seconds, if applicable.
|
com.google.protobuf.DurationOrBuilder |
getMediaProgressDurationOrBuilder()
The media progress time in seconds, if applicable.
|
float |
getMediaProgressPercentage()
Media progress should be computed using only the
[media_progress_duration][google.cloud.discoveryengine.v1beta.MediaInfo.media_progress_duration]
relative to the media total length.
|
boolean |
hasMediaProgressDuration()
The media progress time in seconds, if applicable.
|
boolean |
hasMediaProgressPercentage()
Media progress should be computed using only the
[media_progress_duration][google.cloud.discoveryengine.v1beta.MediaInfo.media_progress_duration]
relative to the media total length.
|
findInitializationErrors, getAllFields, getDefaultInstanceForType, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneofboolean hasMediaProgressDuration()
The media progress time in seconds, if applicable. For example, if the end user has finished 90 seconds of a playback video, then [MediaInfo.media_progress_duration.seconds][google.protobuf.Duration.seconds] should be set to 90.
.google.protobuf.Duration media_progress_duration = 1;com.google.protobuf.Duration getMediaProgressDuration()
The media progress time in seconds, if applicable. For example, if the end user has finished 90 seconds of a playback video, then [MediaInfo.media_progress_duration.seconds][google.protobuf.Duration.seconds] should be set to 90.
.google.protobuf.Duration media_progress_duration = 1;com.google.protobuf.DurationOrBuilder getMediaProgressDurationOrBuilder()
The media progress time in seconds, if applicable. For example, if the end user has finished 90 seconds of a playback video, then [MediaInfo.media_progress_duration.seconds][google.protobuf.Duration.seconds] should be set to 90.
.google.protobuf.Duration media_progress_duration = 1;boolean hasMediaProgressPercentage()
Media progress should be computed using only the [media_progress_duration][google.cloud.discoveryengine.v1beta.MediaInfo.media_progress_duration] relative to the media total length. This value must be between `[0, 1.0]` inclusive. If this is not a playback or the progress cannot be computed (e.g. ongoing livestream), this field should be unset.
optional float media_progress_percentage = 2;float getMediaProgressPercentage()
Media progress should be computed using only the [media_progress_duration][google.cloud.discoveryengine.v1beta.MediaInfo.media_progress_duration] relative to the media total length. This value must be between `[0, 1.0]` inclusive. If this is not a playback or the progress cannot be computed (e.g. ongoing livestream), this field should be unset.
optional float media_progress_percentage = 2;Copyright © 2025 Google LLC. All rights reserved.