Class VodSession.Builder
- java.lang.Object
-
- com.google.protobuf.AbstractMessageLite.Builder
-
- com.google.protobuf.AbstractMessage.Builder<BuilderT>
-
- com.google.protobuf.GeneratedMessageV3.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.GeneratedMessageV3.Builder<VodSession.Builder> implements VodSessionOrBuilder
Metadata for a VOD session. The session expires 4 hours after its creation.
Protobuf typegoogle.cloud.video.stitcher.v1.VodSession
-
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Deprecated Methods Modifier and Type Method Description VodSession.Builder
addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
VodSession
build()
VodSession
buildPartial()
VodSession.Builder
clear()
VodSession.Builder
clearAdTagMacroMap()
VodSession.Builder
clearAdTagUri()
Required.VodSession.Builder
clearAdTracking()
Required.VodSession.Builder
clearAssetId()
Output only.VodSession.Builder
clearField(com.google.protobuf.Descriptors.FieldDescriptor field)
VodSession.Builder
clearGamSettings()
This field should be set with appropriate values if GAM is being used for ads.VodSession.Builder
clearInterstitials()
Output only.VodSession.Builder
clearManifestOptions()
Additional options that affect the output of the manifest.VodSession.Builder
clearName()
Output only.VodSession.Builder
clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)
VodSession.Builder
clearPlayUri()
Output only.VodSession.Builder
clearSourceUri()
Required.VodSession.Builder
clone()
boolean
containsAdTagMacroMap(String key)
Key value pairs for ad tag macro replacement.Map<String,String>
getAdTagMacroMap()
Deprecated.int
getAdTagMacroMapCount()
Key value pairs for ad tag macro replacement.Map<String,String>
getAdTagMacroMapMap()
Key value pairs for ad tag macro replacement.String
getAdTagMacroMapOrDefault(String key, String defaultValue)
Key value pairs for ad tag macro replacement.String
getAdTagMacroMapOrThrow(String key)
Key value pairs for ad tag macro replacement.String
getAdTagUri()
Required.com.google.protobuf.ByteString
getAdTagUriBytes()
Required.AdTracking
getAdTracking()
Required.int
getAdTrackingValue()
Required.String
getAssetId()
Output only.com.google.protobuf.ByteString
getAssetIdBytes()
Output only.VodSession
getDefaultInstanceForType()
static com.google.protobuf.Descriptors.Descriptor
getDescriptor()
com.google.protobuf.Descriptors.Descriptor
getDescriptorForType()
VodSession.GamSettings
getGamSettings()
This field should be set with appropriate values if GAM is being used for ads.VodSession.GamSettings.Builder
getGamSettingsBuilder()
This field should be set with appropriate values if GAM is being used for ads.VodSession.GamSettingsOrBuilder
getGamSettingsOrBuilder()
This field should be set with appropriate values if GAM is being used for ads.Interstitials
getInterstitials()
Output only.Interstitials.Builder
getInterstitialsBuilder()
Output only.InterstitialsOrBuilder
getInterstitialsOrBuilder()
Output only.ManifestOptions
getManifestOptions()
Additional options that affect the output of the manifest.ManifestOptions.Builder
getManifestOptionsBuilder()
Additional options that affect the output of the manifest.ManifestOptionsOrBuilder
getManifestOptionsOrBuilder()
Additional options that affect the output of the manifest.Map<String,String>
getMutableAdTagMacroMap()
Deprecated.String
getName()
Output only.com.google.protobuf.ByteString
getNameBytes()
Output only.String
getPlayUri()
Output only.com.google.protobuf.ByteString
getPlayUriBytes()
Output only.String
getSourceUri()
Required.com.google.protobuf.ByteString
getSourceUriBytes()
Required.boolean
hasGamSettings()
This field should be set with appropriate values if GAM is being used for ads.boolean
hasInterstitials()
Output only.boolean
hasManifestOptions()
Additional options that affect the output of the manifest.protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable()
protected com.google.protobuf.MapField
internalGetMapField(int number)
protected com.google.protobuf.MapField
internalGetMutableMapField(int number)
boolean
isInitialized()
VodSession.Builder
mergeFrom(VodSession other)
VodSession.Builder
mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
VodSession.Builder
mergeFrom(com.google.protobuf.Message other)
VodSession.Builder
mergeGamSettings(VodSession.GamSettings value)
This field should be set with appropriate values if GAM is being used for ads.VodSession.Builder
mergeInterstitials(Interstitials value)
Output only.VodSession.Builder
mergeManifestOptions(ManifestOptions value)
Additional options that affect the output of the manifest.VodSession.Builder
mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
VodSession.Builder
putAdTagMacroMap(String key, String value)
Key value pairs for ad tag macro replacement.VodSession.Builder
putAllAdTagMacroMap(Map<String,String> values)
Key value pairs for ad tag macro replacement.VodSession.Builder
removeAdTagMacroMap(String key)
Key value pairs for ad tag macro replacement.VodSession.Builder
setAdTagUri(String value)
Required.VodSession.Builder
setAdTagUriBytes(com.google.protobuf.ByteString value)
Required.VodSession.Builder
setAdTracking(AdTracking value)
Required.VodSession.Builder
setAdTrackingValue(int value)
Required.VodSession.Builder
setAssetId(String value)
Output only.VodSession.Builder
setAssetIdBytes(com.google.protobuf.ByteString value)
Output only.VodSession.Builder
setField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
VodSession.Builder
setGamSettings(VodSession.GamSettings value)
This field should be set with appropriate values if GAM is being used for ads.VodSession.Builder
setGamSettings(VodSession.GamSettings.Builder builderForValue)
This field should be set with appropriate values if GAM is being used for ads.VodSession.Builder
setInterstitials(Interstitials value)
Output only.VodSession.Builder
setInterstitials(Interstitials.Builder builderForValue)
Output only.VodSession.Builder
setManifestOptions(ManifestOptions value)
Additional options that affect the output of the manifest.VodSession.Builder
setManifestOptions(ManifestOptions.Builder builderForValue)
Additional options that affect the output of the manifest.VodSession.Builder
setName(String value)
Output only.VodSession.Builder
setNameBytes(com.google.protobuf.ByteString value)
Output only.VodSession.Builder
setPlayUri(String value)
Output only.VodSession.Builder
setPlayUriBytes(com.google.protobuf.ByteString value)
Output only.VodSession.Builder
setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, Object value)
VodSession.Builder
setSourceUri(String value)
Required.VodSession.Builder
setSourceUriBytes(com.google.protobuf.ByteString value)
Required.VodSession.Builder
setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
-
Methods inherited from class com.google.protobuf.GeneratedMessageV3.Builder
getAllFields, getField, getFieldBuilder, getOneofFieldDescriptor, getParentForChildren, getRepeatedField, getRepeatedFieldBuilder, getRepeatedFieldCount, getUnknownFields, getUnknownFieldSetBuilder, hasField, hasOneof, isClean, markClean, mergeUnknownLengthDelimitedField, mergeUnknownVarintField, newBuilderForField, onBuilt, onChanged, parseUnknownField, setUnknownFieldSetBuilder, setUnknownFieldsProto3
-
Methods inherited from class com.google.protobuf.AbstractMessage.Builder
findInitializationErrors, getInitializationErrorString, internalMergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException, toString
-
Methods inherited from class com.google.protobuf.AbstractMessageLite.Builder
addAll, addAll, mergeDelimitedFrom, mergeDelimitedFrom, mergeFrom, newUninitializedMessageException
-
Methods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
-
-
-
-
Method Detail
-
getDescriptor
public static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
-
internalGetMapField
protected com.google.protobuf.MapField internalGetMapField(int number)
- Overrides:
internalGetMapField
in classcom.google.protobuf.GeneratedMessageV3.Builder<VodSession.Builder>
-
internalGetMutableMapField
protected com.google.protobuf.MapField internalGetMutableMapField(int number)
- Overrides:
internalGetMutableMapField
in classcom.google.protobuf.GeneratedMessageV3.Builder<VodSession.Builder>
-
internalGetFieldAccessorTable
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
- Specified by:
internalGetFieldAccessorTable
in classcom.google.protobuf.GeneratedMessageV3.Builder<VodSession.Builder>
-
clear
public VodSession.Builder clear()
- Specified by:
clear
in interfacecom.google.protobuf.Message.Builder
- Specified by:
clear
in interfacecom.google.protobuf.MessageLite.Builder
- Overrides:
clear
in classcom.google.protobuf.GeneratedMessageV3.Builder<VodSession.Builder>
-
getDescriptorForType
public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()
- Specified by:
getDescriptorForType
in interfacecom.google.protobuf.Message.Builder
- Specified by:
getDescriptorForType
in interfacecom.google.protobuf.MessageOrBuilder
- Overrides:
getDescriptorForType
in classcom.google.protobuf.GeneratedMessageV3.Builder<VodSession.Builder>
-
getDefaultInstanceForType
public VodSession getDefaultInstanceForType()
- Specified by:
getDefaultInstanceForType
in interfacecom.google.protobuf.MessageLiteOrBuilder
- Specified by:
getDefaultInstanceForType
in interfacecom.google.protobuf.MessageOrBuilder
-
build
public VodSession build()
- Specified by:
build
in interfacecom.google.protobuf.Message.Builder
- Specified by:
build
in interfacecom.google.protobuf.MessageLite.Builder
-
buildPartial
public VodSession buildPartial()
- Specified by:
buildPartial
in interfacecom.google.protobuf.Message.Builder
- Specified by:
buildPartial
in interfacecom.google.protobuf.MessageLite.Builder
-
clone
public VodSession.Builder clone()
- Specified by:
clone
in interfacecom.google.protobuf.Message.Builder
- Specified by:
clone
in interfacecom.google.protobuf.MessageLite.Builder
- Overrides:
clone
in classcom.google.protobuf.GeneratedMessageV3.Builder<VodSession.Builder>
-
setField
public VodSession.Builder setField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
- Specified by:
setField
in interfacecom.google.protobuf.Message.Builder
- Overrides:
setField
in classcom.google.protobuf.GeneratedMessageV3.Builder<VodSession.Builder>
-
clearField
public VodSession.Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field)
- Specified by:
clearField
in interfacecom.google.protobuf.Message.Builder
- Overrides:
clearField
in classcom.google.protobuf.GeneratedMessageV3.Builder<VodSession.Builder>
-
clearOneof
public VodSession.Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)
- Specified by:
clearOneof
in interfacecom.google.protobuf.Message.Builder
- Overrides:
clearOneof
in classcom.google.protobuf.GeneratedMessageV3.Builder<VodSession.Builder>
-
setRepeatedField
public VodSession.Builder setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, Object value)
- Specified by:
setRepeatedField
in interfacecom.google.protobuf.Message.Builder
- Overrides:
setRepeatedField
in classcom.google.protobuf.GeneratedMessageV3.Builder<VodSession.Builder>
-
addRepeatedField
public VodSession.Builder addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
- Specified by:
addRepeatedField
in interfacecom.google.protobuf.Message.Builder
- Overrides:
addRepeatedField
in classcom.google.protobuf.GeneratedMessageV3.Builder<VodSession.Builder>
-
mergeFrom
public VodSession.Builder mergeFrom(com.google.protobuf.Message other)
- Specified by:
mergeFrom
in interfacecom.google.protobuf.Message.Builder
- Overrides:
mergeFrom
in classcom.google.protobuf.AbstractMessage.Builder<VodSession.Builder>
-
mergeFrom
public VodSession.Builder mergeFrom(VodSession other)
-
isInitialized
public final boolean isInitialized()
- Specified by:
isInitialized
in interfacecom.google.protobuf.MessageLiteOrBuilder
- Overrides:
isInitialized
in classcom.google.protobuf.GeneratedMessageV3.Builder<VodSession.Builder>
-
mergeFrom
public VodSession.Builder mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
- Specified by:
mergeFrom
in interfacecom.google.protobuf.Message.Builder
- Specified by:
mergeFrom
in interfacecom.google.protobuf.MessageLite.Builder
- Overrides:
mergeFrom
in classcom.google.protobuf.AbstractMessage.Builder<VodSession.Builder>
- Throws:
IOException
-
getName
public String 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:
getName
in 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:
getNameBytes
in interfaceVodSessionOrBuilder
- Returns:
- The bytes for name.
-
setName
public VodSession.Builder setName(String value)
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
public VodSession.Builder 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
public VodSession.Builder setNameBytes(com.google.protobuf.ByteString value)
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:
hasInterstitials
in interfaceVodSessionOrBuilder
- Returns:
- Whether the interstitials field is set.
-
getInterstitials
public Interstitials 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:
getInterstitials
in interfaceVodSessionOrBuilder
- Returns:
- The interstitials.
-
setInterstitials
public VodSession.Builder setInterstitials(Interstitials value)
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
public VodSession.Builder setInterstitials(Interstitials.Builder builderForValue)
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
public VodSession.Builder mergeInterstitials(Interstitials value)
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
public VodSession.Builder 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
public Interstitials.Builder 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
public InterstitialsOrBuilder 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:
getInterstitialsOrBuilder
in interfaceVodSessionOrBuilder
-
getPlayUri
public String getPlayUri()
Output only. The playback URI of the stitched content.
string play_uri = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];
- Specified by:
getPlayUri
in 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:
getPlayUriBytes
in interfaceVodSessionOrBuilder
- Returns:
- The bytes for playUri.
-
setPlayUri
public VodSession.Builder setPlayUri(String value)
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
public VodSession.Builder 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
public VodSession.Builder setPlayUriBytes(com.google.protobuf.ByteString value)
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
public String getSourceUri()
Required. URI of the media to stitch.
string source_uri = 5 [(.google.api.field_behavior) = REQUIRED];
- Specified by:
getSourceUri
in interfaceVodSessionOrBuilder
- Returns:
- The sourceUri.
-
getSourceUriBytes
public com.google.protobuf.ByteString getSourceUriBytes()
Required. URI of the media to stitch.
string source_uri = 5 [(.google.api.field_behavior) = REQUIRED];
- Specified by:
getSourceUriBytes
in interfaceVodSessionOrBuilder
- Returns:
- The bytes for sourceUri.
-
setSourceUri
public VodSession.Builder setSourceUri(String value)
Required. URI of the media to stitch.
string source_uri = 5 [(.google.api.field_behavior) = REQUIRED];
- Parameters:
value
- The sourceUri to set.- Returns:
- This builder for chaining.
-
clearSourceUri
public VodSession.Builder clearSourceUri()
Required. URI of the media to stitch.
string source_uri = 5 [(.google.api.field_behavior) = REQUIRED];
- Returns:
- This builder for chaining.
-
setSourceUriBytes
public VodSession.Builder setSourceUriBytes(com.google.protobuf.ByteString value)
Required. URI of the media to stitch.
string source_uri = 5 [(.google.api.field_behavior) = REQUIRED];
- Parameters:
value
- The bytes for sourceUri to set.- Returns:
- This builder for chaining.
-
getAdTagUri
public String getAdTagUri()
Required. Ad tag URI.
string ad_tag_uri = 6 [(.google.api.field_behavior) = REQUIRED];
- Specified by:
getAdTagUri
in interfaceVodSessionOrBuilder
- Returns:
- The adTagUri.
-
getAdTagUriBytes
public com.google.protobuf.ByteString getAdTagUriBytes()
Required. Ad tag URI.
string ad_tag_uri = 6 [(.google.api.field_behavior) = REQUIRED];
- Specified by:
getAdTagUriBytes
in interfaceVodSessionOrBuilder
- Returns:
- The bytes for adTagUri.
-
setAdTagUri
public VodSession.Builder setAdTagUri(String value)
Required. Ad tag URI.
string ad_tag_uri = 6 [(.google.api.field_behavior) = REQUIRED];
- Parameters:
value
- The adTagUri to set.- Returns:
- This builder for chaining.
-
clearAdTagUri
public VodSession.Builder clearAdTagUri()
Required. Ad tag URI.
string ad_tag_uri = 6 [(.google.api.field_behavior) = REQUIRED];
- Returns:
- This builder for chaining.
-
setAdTagUriBytes
public VodSession.Builder setAdTagUriBytes(com.google.protobuf.ByteString value)
Required. Ad tag URI.
string ad_tag_uri = 6 [(.google.api.field_behavior) = REQUIRED];
- Parameters:
value
- The bytes for adTagUri to set.- Returns:
- This builder for chaining.
-
getAdTagMacroMapCount
public int getAdTagMacroMapCount()
Description copied from interface:VodSessionOrBuilder
Key value pairs for ad tag macro replacement. 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:
getAdTagMacroMapCount
in interfaceVodSessionOrBuilder
-
containsAdTagMacroMap
public boolean containsAdTagMacroMap(String key)
Key value pairs for ad tag macro replacement. 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:
containsAdTagMacroMap
in interfaceVodSessionOrBuilder
-
getAdTagMacroMap
@Deprecated public Map<String,String> getAdTagMacroMap()
Deprecated.UsegetAdTagMacroMapMap()
instead.- Specified by:
getAdTagMacroMap
in interfaceVodSessionOrBuilder
-
getAdTagMacroMapMap
public Map<String,String> getAdTagMacroMapMap()
Key value pairs for ad tag macro replacement. 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:
getAdTagMacroMapMap
in interfaceVodSessionOrBuilder
-
getAdTagMacroMapOrDefault
public String getAdTagMacroMapOrDefault(String key, String defaultValue)
Key value pairs for ad tag macro replacement. 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:
getAdTagMacroMapOrDefault
in interfaceVodSessionOrBuilder
-
getAdTagMacroMapOrThrow
public String getAdTagMacroMapOrThrow(String key)
Key value pairs for ad tag macro replacement. 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:
getAdTagMacroMapOrThrow
in interfaceVodSessionOrBuilder
-
clearAdTagMacroMap
public VodSession.Builder clearAdTagMacroMap()
-
removeAdTagMacroMap
public VodSession.Builder removeAdTagMacroMap(String key)
Key value pairs for ad tag macro replacement. 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 public Map<String,String> getMutableAdTagMacroMap()
Deprecated.Use alternate mutation accessors instead.
-
putAdTagMacroMap
public VodSession.Builder putAdTagMacroMap(String key, String value)
Key value pairs for ad tag macro replacement. 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
public VodSession.Builder putAllAdTagMacroMap(Map<String,String> values)
Key value pairs for ad tag macro replacement. 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:
hasManifestOptions
in interfaceVodSessionOrBuilder
- Returns:
- Whether the manifestOptions field is set.
-
getManifestOptions
public ManifestOptions getManifestOptions()
Additional options that affect the output of the manifest.
.google.cloud.video.stitcher.v1.ManifestOptions manifest_options = 9;
- Specified by:
getManifestOptions
in interfaceVodSessionOrBuilder
- Returns:
- The manifestOptions.
-
setManifestOptions
public VodSession.Builder setManifestOptions(ManifestOptions value)
Additional options that affect the output of the manifest.
.google.cloud.video.stitcher.v1.ManifestOptions manifest_options = 9;
-
setManifestOptions
public VodSession.Builder setManifestOptions(ManifestOptions.Builder builderForValue)
Additional options that affect the output of the manifest.
.google.cloud.video.stitcher.v1.ManifestOptions manifest_options = 9;
-
mergeManifestOptions
public VodSession.Builder mergeManifestOptions(ManifestOptions value)
Additional options that affect the output of the manifest.
.google.cloud.video.stitcher.v1.ManifestOptions manifest_options = 9;
-
clearManifestOptions
public VodSession.Builder clearManifestOptions()
Additional options that affect the output of the manifest.
.google.cloud.video.stitcher.v1.ManifestOptions manifest_options = 9;
-
getManifestOptionsBuilder
public ManifestOptions.Builder getManifestOptionsBuilder()
Additional options that affect the output of the manifest.
.google.cloud.video.stitcher.v1.ManifestOptions manifest_options = 9;
-
getManifestOptionsOrBuilder
public ManifestOptionsOrBuilder getManifestOptionsOrBuilder()
Additional options that affect the output of the manifest.
.google.cloud.video.stitcher.v1.ManifestOptions manifest_options = 9;
- Specified by:
getManifestOptionsOrBuilder
in interfaceVodSessionOrBuilder
-
getAssetId
public String getAssetId()
Output only. The generated ID of the VodSession's source media.
string asset_id = 10 [(.google.api.field_behavior) = OUTPUT_ONLY];
- Specified by:
getAssetId
in 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:
getAssetIdBytes
in interfaceVodSessionOrBuilder
- Returns:
- The bytes for assetId.
-
setAssetId
public VodSession.Builder setAssetId(String value)
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
public VodSession.Builder 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
public VodSession.Builder setAssetIdBytes(com.google.protobuf.ByteString value)
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:
getAdTrackingValue
in interfaceVodSessionOrBuilder
- Returns:
- The enum numeric value on the wire for adTracking.
-
setAdTrackingValue
public VodSession.Builder setAdTrackingValue(int value)
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
public AdTracking 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:
getAdTracking
in interfaceVodSessionOrBuilder
- Returns:
- The adTracking.
-
setAdTracking
public VodSession.Builder setAdTracking(AdTracking value)
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
public VodSession.Builder 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:
hasGamSettings
in interfaceVodSessionOrBuilder
- Returns:
- Whether the gamSettings field is set.
-
getGamSettings
public VodSession.GamSettings 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:
getGamSettings
in interfaceVodSessionOrBuilder
- Returns:
- The gamSettings.
-
setGamSettings
public VodSession.Builder setGamSettings(VodSession.GamSettings value)
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
public VodSession.Builder setGamSettings(VodSession.GamSettings.Builder builderForValue)
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
public VodSession.Builder mergeGamSettings(VodSession.GamSettings value)
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
public VodSession.Builder 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
public VodSession.GamSettings.Builder 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
public VodSession.GamSettingsOrBuilder 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:
getGamSettingsOrBuilder
in interfaceVodSessionOrBuilder
-
setUnknownFields
public final VodSession.Builder setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
- Specified by:
setUnknownFields
in interfacecom.google.protobuf.Message.Builder
- Overrides:
setUnknownFields
in classcom.google.protobuf.GeneratedMessageV3.Builder<VodSession.Builder>
-
mergeUnknownFields
public final VodSession.Builder mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
- Specified by:
mergeUnknownFields
in interfacecom.google.protobuf.Message.Builder
- Overrides:
mergeUnknownFields
in classcom.google.protobuf.GeneratedMessageV3.Builder<VodSession.Builder>
-
-