Class VodSession.Builder
java.lang.Object
com.google.protobuf.AbstractMessageLite.Builder
com.google.protobuf.AbstractMessage.Builder<BuilderT>
com.google.protobuf.GeneratedMessage.Builder<VodSession.Builder>
com.google.cloud.video.stitcher.v1.VodSession.Builder
- All Implemented Interfaces:
VodSessionOrBuilder,com.google.protobuf.Message.Builder,com.google.protobuf.MessageLite.Builder,com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder,Cloneable
- Enclosing class:
- VodSession
public static final class VodSession.Builder
extends com.google.protobuf.GeneratedMessage.Builder<VodSession.Builder>
implements VodSessionOrBuilder
Metadata for a VOD session. The session expires 4 hours after its creation.Protobuf type
google.cloud.video.stitcher.v1.VodSession-
Method Summary
Modifier and TypeMethodDescriptionbuild()clear()Ad tag URI.Required.Output only.This field should be set with appropriate values if GAM is being used for ads.Output only.Additional options that affect the output of the manifest.Output only.Output only.URI of the media to stitch.The resource name of the VOD config for this session, in the form of `projects/{project}/locations/{location}/vodConfigs/{id}`.booleanKey value pairs for ad tag macro replacement, only available for VOD sessions that do not implement Google Ad manager ad insertion.Deprecated.intKey value pairs for ad tag macro replacement, only available for VOD sessions that do not implement Google Ad manager ad insertion.Key value pairs for ad tag macro replacement, only available for VOD sessions that do not implement Google Ad manager ad insertion.getAdTagMacroMapOrDefault(String key, String defaultValue) Key value pairs for ad tag macro replacement, only available for VOD sessions that do not implement Google Ad manager ad insertion.Key value pairs for ad tag macro replacement, only available for VOD sessions that do not implement Google Ad manager ad insertion.Ad tag URI.com.google.protobuf.ByteStringAd tag URI.Required.intRequired.Output only.com.google.protobuf.ByteStringOutput only.static final com.google.protobuf.Descriptors.Descriptorcom.google.protobuf.Descriptors.DescriptorThis field should be set with appropriate values if GAM is being used for ads.This field should be set with appropriate values if GAM is being used for ads.This field should be set with appropriate values if GAM is being used for ads.Output only.Output only.Output only.Additional options that affect the output of the manifest.Additional options that affect the output of the manifest.Additional options that affect the output of the manifest.Deprecated.getName()Output only.com.google.protobuf.ByteStringOutput only.Output only.com.google.protobuf.ByteStringOutput only.URI of the media to stitch.com.google.protobuf.ByteStringURI of the media to stitch.The resource name of the VOD config for this session, in the form of `projects/{project}/locations/{location}/vodConfigs/{id}`.com.google.protobuf.ByteStringThe resource name of the VOD config for this session, in the form of `projects/{project}/locations/{location}/vodConfigs/{id}`.booleanThis field should be set with appropriate values if GAM is being used for ads.booleanOutput only.booleanAdditional options that affect the output of the manifest.protected com.google.protobuf.GeneratedMessage.FieldAccessorTableprotected com.google.protobuf.MapFieldReflectionAccessorinternalGetMapFieldReflection(int number) protected com.google.protobuf.MapFieldReflectionAccessorinternalGetMutableMapFieldReflection(int number) final booleanmergeFrom(VodSession other) mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) mergeFrom(com.google.protobuf.Message other) This field should be set with appropriate values if GAM is being used for ads.mergeInterstitials(Interstitials value) Output only.Additional options that affect the output of the manifest.putAdTagMacroMap(String key, String value) Key value pairs for ad tag macro replacement, only available for VOD sessions that do not implement Google Ad manager ad insertion.putAllAdTagMacroMap(Map<String, String> values) Key value pairs for ad tag macro replacement, only available for VOD sessions that do not implement Google Ad manager ad insertion.Key value pairs for ad tag macro replacement, only available for VOD sessions that do not implement Google Ad manager ad insertion.setAdTagUri(String value) Ad tag URI.setAdTagUriBytes(com.google.protobuf.ByteString value) Ad tag URI.setAdTracking(AdTracking value) Required.setAdTrackingValue(int value) Required.setAssetId(String value) Output only.setAssetIdBytes(com.google.protobuf.ByteString value) Output only.This field should be set with appropriate values if GAM is being used for ads.setGamSettings(VodSession.GamSettings.Builder builderForValue) This field should be set with appropriate values if GAM is being used for ads.setInterstitials(Interstitials value) Output only.setInterstitials(Interstitials.Builder builderForValue) Output only.Additional options that affect the output of the manifest.setManifestOptions(ManifestOptions.Builder builderForValue) Additional options that affect the output of the manifest.Output only.setNameBytes(com.google.protobuf.ByteString value) Output only.setPlayUri(String value) Output only.setPlayUriBytes(com.google.protobuf.ByteString value) Output only.setSourceUri(String value) URI of the media to stitch.setSourceUriBytes(com.google.protobuf.ByteString value) URI of the media to stitch.setVodConfig(String value) The resource name of the VOD config for this session, in the form of `projects/{project}/locations/{location}/vodConfigs/{id}`.setVodConfigBytes(com.google.protobuf.ByteString value) The resource name of the VOD config for this session, in the form of `projects/{project}/locations/{location}/vodConfigs/{id}`.Methods inherited from class com.google.protobuf.GeneratedMessage.Builder
addRepeatedField, clearField, clearOneof, clone, getAllFields, getField, getFieldBuilder, getOneofFieldDescriptor, getParentForChildren, getRepeatedField, getRepeatedFieldBuilder, getRepeatedFieldCount, getUnknownFields, getUnknownFieldSetBuilder, hasField, hasOneof, internalGetMapField, internalGetMutableMapField, isClean, markClean, mergeUnknownFields, mergeUnknownLengthDelimitedField, mergeUnknownVarintField, newBuilderForField, onBuilt, onChanged, parseUnknownField, setField, setRepeatedField, setUnknownFields, setUnknownFieldSetBuilder, setUnknownFieldsProto3Methods inherited from class com.google.protobuf.AbstractMessage.Builder
findInitializationErrors, getInitializationErrorString, internalMergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException, toStringMethods inherited from class com.google.protobuf.AbstractMessageLite.Builder
addAll, addAll, mergeDelimitedFrom, mergeDelimitedFrom, mergeFrom, newUninitializedMessageExceptionMethods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitMethods inherited from interface com.google.protobuf.Message.Builder
mergeDelimitedFrom, mergeDelimitedFromMethods inherited from interface com.google.protobuf.MessageLite.Builder
mergeFromMethods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
Method Details
-
getDescriptor
public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() -
internalGetMapFieldReflection
protected com.google.protobuf.MapFieldReflectionAccessor internalGetMapFieldReflection(int number) - Overrides:
internalGetMapFieldReflectionin classcom.google.protobuf.GeneratedMessage.Builder<VodSession.Builder>
-
internalGetMutableMapFieldReflection
protected com.google.protobuf.MapFieldReflectionAccessor internalGetMutableMapFieldReflection(int number) - Overrides:
internalGetMutableMapFieldReflectionin classcom.google.protobuf.GeneratedMessage.Builder<VodSession.Builder>
-
internalGetFieldAccessorTable
protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()- Specified by:
internalGetFieldAccessorTablein classcom.google.protobuf.GeneratedMessage.Builder<VodSession.Builder>
-
clear
- Specified by:
clearin interfacecom.google.protobuf.Message.Builder- Specified by:
clearin interfacecom.google.protobuf.MessageLite.Builder- Overrides:
clearin classcom.google.protobuf.GeneratedMessage.Builder<VodSession.Builder>
-
getDescriptorForType
public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()- Specified by:
getDescriptorForTypein interfacecom.google.protobuf.Message.Builder- Specified by:
getDescriptorForTypein interfacecom.google.protobuf.MessageOrBuilder- Overrides:
getDescriptorForTypein classcom.google.protobuf.GeneratedMessage.Builder<VodSession.Builder>
-
getDefaultInstanceForType
- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageLiteOrBuilder- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageOrBuilder
-
build
- Specified by:
buildin interfacecom.google.protobuf.Message.Builder- Specified by:
buildin interfacecom.google.protobuf.MessageLite.Builder
-
buildPartial
- Specified by:
buildPartialin interfacecom.google.protobuf.Message.Builder- Specified by:
buildPartialin interfacecom.google.protobuf.MessageLite.Builder
-
mergeFrom
- Specified by:
mergeFromin interfacecom.google.protobuf.Message.Builder- Overrides:
mergeFromin classcom.google.protobuf.AbstractMessage.Builder<VodSession.Builder>
-
mergeFrom
-
isInitialized
public final boolean isInitialized()- Specified by:
isInitializedin interfacecom.google.protobuf.MessageLiteOrBuilder- Overrides:
isInitializedin classcom.google.protobuf.GeneratedMessage.Builder<VodSession.Builder>
-
mergeFrom
public VodSession.Builder mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException - Specified by:
mergeFromin interfacecom.google.protobuf.Message.Builder- Specified by:
mergeFromin interfacecom.google.protobuf.MessageLite.Builder- Overrides:
mergeFromin classcom.google.protobuf.AbstractMessage.Builder<VodSession.Builder>- Throws:
IOException
-
getName
Output only. The name of the VOD session, in the form of `projects/{project_number}/locations/{location}/vodSessions/{id}`.string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];- Specified by:
getNamein interfaceVodSessionOrBuilder- Returns:
- The name.
-
getNameBytes
public com.google.protobuf.ByteString getNameBytes()Output only. The name of the VOD session, in the form of `projects/{project_number}/locations/{location}/vodSessions/{id}`.string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];- Specified by:
getNameBytesin interfaceVodSessionOrBuilder- Returns:
- The bytes for name.
-
setName
Output only. The name of the VOD session, in the form of `projects/{project_number}/locations/{location}/vodSessions/{id}`.string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];- Parameters:
value- The name to set.- Returns:
- This builder for chaining.
-
clearName
Output only. The name of the VOD session, in the form of `projects/{project_number}/locations/{location}/vodSessions/{id}`.string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];- Returns:
- This builder for chaining.
-
setNameBytes
Output only. The name of the VOD session, in the form of `projects/{project_number}/locations/{location}/vodSessions/{id}`.string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];- Parameters:
value- The bytes for name to set.- Returns:
- This builder for chaining.
-
hasInterstitials
public boolean hasInterstitials()Output only. Metadata of what was stitched into the content.
.google.cloud.video.stitcher.v1.Interstitials interstitials = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];- Specified by:
hasInterstitialsin interfaceVodSessionOrBuilder- Returns:
- Whether the interstitials field is set.
-
getInterstitials
Output only. Metadata of what was stitched into the content.
.google.cloud.video.stitcher.v1.Interstitials interstitials = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];- Specified by:
getInterstitialsin interfaceVodSessionOrBuilder- Returns:
- The interstitials.
-
setInterstitials
Output only. Metadata of what was stitched into the content.
.google.cloud.video.stitcher.v1.Interstitials interstitials = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; -
setInterstitials
Output only. Metadata of what was stitched into the content.
.google.cloud.video.stitcher.v1.Interstitials interstitials = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; -
mergeInterstitials
Output only. Metadata of what was stitched into the content.
.google.cloud.video.stitcher.v1.Interstitials interstitials = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; -
clearInterstitials
Output only. Metadata of what was stitched into the content.
.google.cloud.video.stitcher.v1.Interstitials interstitials = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; -
getInterstitialsBuilder
Output only. Metadata of what was stitched into the content.
.google.cloud.video.stitcher.v1.Interstitials interstitials = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; -
getInterstitialsOrBuilder
Output only. Metadata of what was stitched into the content.
.google.cloud.video.stitcher.v1.Interstitials interstitials = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];- Specified by:
getInterstitialsOrBuilderin interfaceVodSessionOrBuilder
-
getPlayUri
Output only. The playback URI of the stitched content.
string play_uri = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];- Specified by:
getPlayUriin interfaceVodSessionOrBuilder- Returns:
- The playUri.
-
getPlayUriBytes
public com.google.protobuf.ByteString getPlayUriBytes()Output only. The playback URI of the stitched content.
string play_uri = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];- Specified by:
getPlayUriBytesin interfaceVodSessionOrBuilder- Returns:
- The bytes for playUri.
-
setPlayUri
Output only. The playback URI of the stitched content.
string play_uri = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];- Parameters:
value- The playUri to set.- Returns:
- This builder for chaining.
-
clearPlayUri
Output only. The playback URI of the stitched content.
string play_uri = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];- Returns:
- This builder for chaining.
-
setPlayUriBytes
Output only. The playback URI of the stitched content.
string play_uri = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];- Parameters:
value- The bytes for playUri to set.- Returns:
- This builder for chaining.
-
getSourceUri
URI of the media to stitch. For most use cases, you should create a [VodConfig][google.cloud.video.stitcher.v1.VodConfig] with this information rather than setting this field directly.
string source_uri = 5;- Specified by:
getSourceUriin interfaceVodSessionOrBuilder- Returns:
- The sourceUri.
-
getSourceUriBytes
public com.google.protobuf.ByteString getSourceUriBytes()URI of the media to stitch. For most use cases, you should create a [VodConfig][google.cloud.video.stitcher.v1.VodConfig] with this information rather than setting this field directly.
string source_uri = 5;- Specified by:
getSourceUriBytesin interfaceVodSessionOrBuilder- Returns:
- The bytes for sourceUri.
-
setSourceUri
URI of the media to stitch. For most use cases, you should create a [VodConfig][google.cloud.video.stitcher.v1.VodConfig] with this information rather than setting this field directly.
string source_uri = 5;- Parameters:
value- The sourceUri to set.- Returns:
- This builder for chaining.
-
clearSourceUri
URI of the media to stitch. For most use cases, you should create a [VodConfig][google.cloud.video.stitcher.v1.VodConfig] with this information rather than setting this field directly.
string source_uri = 5;- Returns:
- This builder for chaining.
-
setSourceUriBytes
URI of the media to stitch. For most use cases, you should create a [VodConfig][google.cloud.video.stitcher.v1.VodConfig] with this information rather than setting this field directly.
string source_uri = 5;- Parameters:
value- The bytes for sourceUri to set.- Returns:
- This builder for chaining.
-
getAdTagUri
Ad tag URI. For most use cases, you should create a [VodConfig][google.cloud.video.stitcher.v1.VodConfig] with this information rather than setting this field directly.
string ad_tag_uri = 6;- Specified by:
getAdTagUriin interfaceVodSessionOrBuilder- Returns:
- The adTagUri.
-
getAdTagUriBytes
public com.google.protobuf.ByteString getAdTagUriBytes()Ad tag URI. For most use cases, you should create a [VodConfig][google.cloud.video.stitcher.v1.VodConfig] with this information rather than setting this field directly.
string ad_tag_uri = 6;- Specified by:
getAdTagUriBytesin interfaceVodSessionOrBuilder- Returns:
- The bytes for adTagUri.
-
setAdTagUri
Ad tag URI. For most use cases, you should create a [VodConfig][google.cloud.video.stitcher.v1.VodConfig] with this information rather than setting this field directly.
string ad_tag_uri = 6;- Parameters:
value- The adTagUri to set.- Returns:
- This builder for chaining.
-
clearAdTagUri
Ad tag URI. For most use cases, you should create a [VodConfig][google.cloud.video.stitcher.v1.VodConfig] with this information rather than setting this field directly.
string ad_tag_uri = 6;- Returns:
- This builder for chaining.
-
setAdTagUriBytes
Ad tag URI. For most use cases, you should create a [VodConfig][google.cloud.video.stitcher.v1.VodConfig] with this information rather than setting this field directly.
string ad_tag_uri = 6;- Parameters:
value- The bytes for adTagUri to set.- Returns:
- This builder for chaining.
-
getAdTagMacroMapCount
public int getAdTagMacroMapCount()Description copied from interface:VodSessionOrBuilderKey value pairs for ad tag macro replacement, only available for VOD sessions that do not implement Google Ad manager ad insertion. If the specified ad tag URI has macros, this field provides the mapping to the value that will replace the macro in the ad tag URI. Macros are designated by square brackets, for example: Ad tag URI: `"https://doubleclick.google.com/ad/1?geo_id=[geoId]"` Ad tag macro map: `{"geoId": "123"}` Fully qualified ad tag: `"https://doubleclick.google.com/ad/1?geo_id=123"`map<string, string> ad_tag_macro_map = 7;- Specified by:
getAdTagMacroMapCountin interfaceVodSessionOrBuilder
-
containsAdTagMacroMap
Key value pairs for ad tag macro replacement, only available for VOD sessions that do not implement Google Ad manager ad insertion. If the specified ad tag URI has macros, this field provides the mapping to the value that will replace the macro in the ad tag URI. Macros are designated by square brackets, for example: Ad tag URI: `"https://doubleclick.google.com/ad/1?geo_id=[geoId]"` Ad tag macro map: `{"geoId": "123"}` Fully qualified ad tag: `"https://doubleclick.google.com/ad/1?geo_id=123"`map<string, string> ad_tag_macro_map = 7;- Specified by:
containsAdTagMacroMapin interfaceVodSessionOrBuilder
-
getAdTagMacroMap
Deprecated.UsegetAdTagMacroMapMap()instead.- Specified by:
getAdTagMacroMapin interfaceVodSessionOrBuilder
-
getAdTagMacroMapMap
Key value pairs for ad tag macro replacement, only available for VOD sessions that do not implement Google Ad manager ad insertion. If the specified ad tag URI has macros, this field provides the mapping to the value that will replace the macro in the ad tag URI. Macros are designated by square brackets, for example: Ad tag URI: `"https://doubleclick.google.com/ad/1?geo_id=[geoId]"` Ad tag macro map: `{"geoId": "123"}` Fully qualified ad tag: `"https://doubleclick.google.com/ad/1?geo_id=123"`map<string, string> ad_tag_macro_map = 7;- Specified by:
getAdTagMacroMapMapin interfaceVodSessionOrBuilder
-
getAdTagMacroMapOrDefault
Key value pairs for ad tag macro replacement, only available for VOD sessions that do not implement Google Ad manager ad insertion. If the specified ad tag URI has macros, this field provides the mapping to the value that will replace the macro in the ad tag URI. Macros are designated by square brackets, for example: Ad tag URI: `"https://doubleclick.google.com/ad/1?geo_id=[geoId]"` Ad tag macro map: `{"geoId": "123"}` Fully qualified ad tag: `"https://doubleclick.google.com/ad/1?geo_id=123"`map<string, string> ad_tag_macro_map = 7;- Specified by:
getAdTagMacroMapOrDefaultin interfaceVodSessionOrBuilder
-
getAdTagMacroMapOrThrow
Key value pairs for ad tag macro replacement, only available for VOD sessions that do not implement Google Ad manager ad insertion. If the specified ad tag URI has macros, this field provides the mapping to the value that will replace the macro in the ad tag URI. Macros are designated by square brackets, for example: Ad tag URI: `"https://doubleclick.google.com/ad/1?geo_id=[geoId]"` Ad tag macro map: `{"geoId": "123"}` Fully qualified ad tag: `"https://doubleclick.google.com/ad/1?geo_id=123"`map<string, string> ad_tag_macro_map = 7;- Specified by:
getAdTagMacroMapOrThrowin interfaceVodSessionOrBuilder
-
clearAdTagMacroMap
-
removeAdTagMacroMap
Key value pairs for ad tag macro replacement, only available for VOD sessions that do not implement Google Ad manager ad insertion. If the specified ad tag URI has macros, this field provides the mapping to the value that will replace the macro in the ad tag URI. Macros are designated by square brackets, for example: Ad tag URI: `"https://doubleclick.google.com/ad/1?geo_id=[geoId]"` Ad tag macro map: `{"geoId": "123"}` Fully qualified ad tag: `"https://doubleclick.google.com/ad/1?geo_id=123"`map<string, string> ad_tag_macro_map = 7; -
getMutableAdTagMacroMap
Deprecated.Use alternate mutation accessors instead. -
putAdTagMacroMap
Key value pairs for ad tag macro replacement, only available for VOD sessions that do not implement Google Ad manager ad insertion. If the specified ad tag URI has macros, this field provides the mapping to the value that will replace the macro in the ad tag URI. Macros are designated by square brackets, for example: Ad tag URI: `"https://doubleclick.google.com/ad/1?geo_id=[geoId]"` Ad tag macro map: `{"geoId": "123"}` Fully qualified ad tag: `"https://doubleclick.google.com/ad/1?geo_id=123"`map<string, string> ad_tag_macro_map = 7; -
putAllAdTagMacroMap
Key value pairs for ad tag macro replacement, only available for VOD sessions that do not implement Google Ad manager ad insertion. If the specified ad tag URI has macros, this field provides the mapping to the value that will replace the macro in the ad tag URI. Macros are designated by square brackets, for example: Ad tag URI: `"https://doubleclick.google.com/ad/1?geo_id=[geoId]"` Ad tag macro map: `{"geoId": "123"}` Fully qualified ad tag: `"https://doubleclick.google.com/ad/1?geo_id=123"`map<string, string> ad_tag_macro_map = 7; -
hasManifestOptions
public boolean hasManifestOptions()Additional options that affect the output of the manifest.
.google.cloud.video.stitcher.v1.ManifestOptions manifest_options = 9;- Specified by:
hasManifestOptionsin interfaceVodSessionOrBuilder- Returns:
- Whether the manifestOptions field is set.
-
getManifestOptions
Additional options that affect the output of the manifest.
.google.cloud.video.stitcher.v1.ManifestOptions manifest_options = 9;- Specified by:
getManifestOptionsin interfaceVodSessionOrBuilder- Returns:
- The manifestOptions.
-
setManifestOptions
Additional options that affect the output of the manifest.
.google.cloud.video.stitcher.v1.ManifestOptions manifest_options = 9; -
setManifestOptions
Additional options that affect the output of the manifest.
.google.cloud.video.stitcher.v1.ManifestOptions manifest_options = 9; -
mergeManifestOptions
Additional options that affect the output of the manifest.
.google.cloud.video.stitcher.v1.ManifestOptions manifest_options = 9; -
clearManifestOptions
Additional options that affect the output of the manifest.
.google.cloud.video.stitcher.v1.ManifestOptions manifest_options = 9; -
getManifestOptionsBuilder
Additional options that affect the output of the manifest.
.google.cloud.video.stitcher.v1.ManifestOptions manifest_options = 9; -
getManifestOptionsOrBuilder
Additional options that affect the output of the manifest.
.google.cloud.video.stitcher.v1.ManifestOptions manifest_options = 9;- Specified by:
getManifestOptionsOrBuilderin interfaceVodSessionOrBuilder
-
getAssetId
Output only. The generated ID of the VodSession's source media.
string asset_id = 10 [(.google.api.field_behavior) = OUTPUT_ONLY];- Specified by:
getAssetIdin interfaceVodSessionOrBuilder- Returns:
- The assetId.
-
getAssetIdBytes
public com.google.protobuf.ByteString getAssetIdBytes()Output only. The generated ID of the VodSession's source media.
string asset_id = 10 [(.google.api.field_behavior) = OUTPUT_ONLY];- Specified by:
getAssetIdBytesin interfaceVodSessionOrBuilder- Returns:
- The bytes for assetId.
-
setAssetId
Output only. The generated ID of the VodSession's source media.
string asset_id = 10 [(.google.api.field_behavior) = OUTPUT_ONLY];- Parameters:
value- The assetId to set.- Returns:
- This builder for chaining.
-
clearAssetId
Output only. The generated ID of the VodSession's source media.
string asset_id = 10 [(.google.api.field_behavior) = OUTPUT_ONLY];- Returns:
- This builder for chaining.
-
setAssetIdBytes
Output only. The generated ID of the VodSession's source media.
string asset_id = 10 [(.google.api.field_behavior) = OUTPUT_ONLY];- Parameters:
value- The bytes for assetId to set.- Returns:
- This builder for chaining.
-
getAdTrackingValue
public int getAdTrackingValue()Required. Determines how the ad should be tracked.
.google.cloud.video.stitcher.v1.AdTracking ad_tracking = 11 [(.google.api.field_behavior) = REQUIRED];- Specified by:
getAdTrackingValuein interfaceVodSessionOrBuilder- Returns:
- The enum numeric value on the wire for adTracking.
-
setAdTrackingValue
Required. Determines how the ad should be tracked.
.google.cloud.video.stitcher.v1.AdTracking ad_tracking = 11 [(.google.api.field_behavior) = REQUIRED];- Parameters:
value- The enum numeric value on the wire for adTracking to set.- Returns:
- This builder for chaining.
-
getAdTracking
Required. Determines how the ad should be tracked.
.google.cloud.video.stitcher.v1.AdTracking ad_tracking = 11 [(.google.api.field_behavior) = REQUIRED];- Specified by:
getAdTrackingin interfaceVodSessionOrBuilder- Returns:
- The adTracking.
-
setAdTracking
Required. Determines how the ad should be tracked.
.google.cloud.video.stitcher.v1.AdTracking ad_tracking = 11 [(.google.api.field_behavior) = REQUIRED];- Parameters:
value- The adTracking to set.- Returns:
- This builder for chaining.
-
clearAdTracking
Required. Determines how the ad should be tracked.
.google.cloud.video.stitcher.v1.AdTracking ad_tracking = 11 [(.google.api.field_behavior) = REQUIRED];- Returns:
- This builder for chaining.
-
hasGamSettings
public boolean hasGamSettings()This field should be set with appropriate values if GAM is being used for ads.
.google.cloud.video.stitcher.v1.VodSession.GamSettings gam_settings = 13;- Specified by:
hasGamSettingsin interfaceVodSessionOrBuilder- Returns:
- Whether the gamSettings field is set.
-
getGamSettings
This field should be set with appropriate values if GAM is being used for ads.
.google.cloud.video.stitcher.v1.VodSession.GamSettings gam_settings = 13;- Specified by:
getGamSettingsin interfaceVodSessionOrBuilder- Returns:
- The gamSettings.
-
setGamSettings
This field should be set with appropriate values if GAM is being used for ads.
.google.cloud.video.stitcher.v1.VodSession.GamSettings gam_settings = 13; -
setGamSettings
This field should be set with appropriate values if GAM is being used for ads.
.google.cloud.video.stitcher.v1.VodSession.GamSettings gam_settings = 13; -
mergeGamSettings
This field should be set with appropriate values if GAM is being used for ads.
.google.cloud.video.stitcher.v1.VodSession.GamSettings gam_settings = 13; -
clearGamSettings
This field should be set with appropriate values if GAM is being used for ads.
.google.cloud.video.stitcher.v1.VodSession.GamSettings gam_settings = 13; -
getGamSettingsBuilder
This field should be set with appropriate values if GAM is being used for ads.
.google.cloud.video.stitcher.v1.VodSession.GamSettings gam_settings = 13; -
getGamSettingsOrBuilder
This field should be set with appropriate values if GAM is being used for ads.
.google.cloud.video.stitcher.v1.VodSession.GamSettings gam_settings = 13;- Specified by:
getGamSettingsOrBuilderin interfaceVodSessionOrBuilder
-
getVodConfig
The resource name of the VOD config for this session, in the form of `projects/{project}/locations/{location}/vodConfigs/{id}`.string vod_config = 14 [(.google.api.resource_reference) = { ... }- Specified by:
getVodConfigin interfaceVodSessionOrBuilder- Returns:
- The vodConfig.
-
getVodConfigBytes
public com.google.protobuf.ByteString getVodConfigBytes()The resource name of the VOD config for this session, in the form of `projects/{project}/locations/{location}/vodConfigs/{id}`.string vod_config = 14 [(.google.api.resource_reference) = { ... }- Specified by:
getVodConfigBytesin interfaceVodSessionOrBuilder- Returns:
- The bytes for vodConfig.
-
setVodConfig
The resource name of the VOD config for this session, in the form of `projects/{project}/locations/{location}/vodConfigs/{id}`.string vod_config = 14 [(.google.api.resource_reference) = { ... }- Parameters:
value- The vodConfig to set.- Returns:
- This builder for chaining.
-
clearVodConfig
The resource name of the VOD config for this session, in the form of `projects/{project}/locations/{location}/vodConfigs/{id}`.string vod_config = 14 [(.google.api.resource_reference) = { ... }- Returns:
- This builder for chaining.
-
setVodConfigBytes
The resource name of the VOD config for this session, in the form of `projects/{project}/locations/{location}/vodConfigs/{id}`.string vod_config = 14 [(.google.api.resource_reference) = { ... }- Parameters:
value- The bytes for vodConfig to set.- Returns:
- This builder for chaining.
-