Class VodSession.Builder (0.55.0)

public static final class VodSession.Builder extends GeneratedMessageV3.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

Implements

VodSessionOrBuilder

Static Methods

getDescriptor()

public static final Descriptors.Descriptor getDescriptor()
Returns
Type Description
Descriptor

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

public VodSession.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
Name Description
field FieldDescriptor
value Object
Returns
Type Description
VodSession.Builder
Overrides

build()

public VodSession build()
Returns
Type Description
VodSession

buildPartial()

public VodSession buildPartial()
Returns
Type Description
VodSession

clear()

public VodSession.Builder clear()
Returns
Type Description
VodSession.Builder
Overrides

clearAdTagMacroMap()

public VodSession.Builder clearAdTagMacroMap()
Returns
Type Description
VodSession.Builder

clearAdTagUri()

public VodSession.Builder clearAdTagUri()

Ad tag URI. For most use cases, you should create a VodConfig with this information rather than setting this field directly.

string ad_tag_uri = 6;

Returns
Type Description
VodSession.Builder

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
Type Description
VodSession.Builder

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
Type Description
VodSession.Builder

This builder for chaining.

clearField(Descriptors.FieldDescriptor field)

public VodSession.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
Name Description
field FieldDescriptor
Returns
Type Description
VodSession.Builder
Overrides

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;

Returns
Type Description
VodSession.Builder

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];

Returns
Type Description
VodSession.Builder

clearManifestOptions()

public VodSession.Builder clearManifestOptions()

Additional options that affect the output of the manifest.

.google.cloud.video.stitcher.v1.ManifestOptions manifest_options = 9;

Returns
Type Description
VodSession.Builder

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
Type Description
VodSession.Builder

This builder for chaining.

clearOneof(Descriptors.OneofDescriptor oneof)

public VodSession.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
Name Description
oneof OneofDescriptor
Returns
Type Description
VodSession.Builder
Overrides

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
Type Description
VodSession.Builder

This builder for chaining.

clearSourceUri()

public VodSession.Builder clearSourceUri()

URI of the media to stitch. For most use cases, you should create a VodConfig with this information rather than setting this field directly.

string source_uri = 5;

Returns
Type Description
VodSession.Builder

This builder for chaining.

clearVodConfig()

public VodSession.Builder 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
Type Description
VodSession.Builder

This builder for chaining.

clone()

public VodSession.Builder clone()
Returns
Type Description
VodSession.Builder
Overrides

containsAdTagMacroMap(String key)

public boolean containsAdTagMacroMap(String key)

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;

Parameter
Name Description
key String
Returns
Type Description
boolean

getAdTagMacroMap() (deprecated)

public Map<String,String> getAdTagMacroMap()
Returns
Type Description
Map<String,String>

getAdTagMacroMapCount()

public int getAdTagMacroMapCount()

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;

Returns
Type Description
int

getAdTagMacroMapMap()

public Map<String,String> 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;

Returns
Type Description
Map<String,String>

getAdTagMacroMapOrDefault(String key, String defaultValue)

public String 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. 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;

Parameters
Name Description
key String
defaultValue String
Returns
Type Description
String

getAdTagMacroMapOrThrow(String key)

public String getAdTagMacroMapOrThrow(String key)

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;

Parameter
Name Description
key String
Returns
Type Description
String

getAdTagUri()

public String getAdTagUri()

Ad tag URI. For most use cases, you should create a VodConfig with this information rather than setting this field directly.

string ad_tag_uri = 6;

Returns
Type Description
String

The adTagUri.

getAdTagUriBytes()

public ByteString getAdTagUriBytes()

Ad tag URI. For most use cases, you should create a VodConfig with this information rather than setting this field directly.

string ad_tag_uri = 6;

Returns
Type Description
ByteString

The bytes for adTagUri.

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];

Returns
Type Description
AdTracking

The adTracking.

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];

Returns
Type Description
int

The enum numeric value on the wire for adTracking.

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];

Returns
Type Description
String

The assetId.

getAssetIdBytes()

public ByteString getAssetIdBytes()

Output only. The generated ID of the VodSession's source media.

string asset_id = 10 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
ByteString

The bytes for assetId.

getDefaultInstanceForType()

public VodSession getDefaultInstanceForType()
Returns
Type Description
VodSession

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
Type Description
Descriptor
Overrides

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;

Returns
Type Description
VodSession.GamSettings

The gamSettings.

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;

Returns
Type Description
VodSession.GamSettings.Builder

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;

Returns
Type Description
VodSession.GamSettingsOrBuilder

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];

Returns
Type Description
Interstitials

The interstitials.

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];

Returns
Type Description
Interstitials.Builder

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];

Returns
Type Description
InterstitialsOrBuilder

getManifestOptions()

public ManifestOptions getManifestOptions()

Additional options that affect the output of the manifest.

.google.cloud.video.stitcher.v1.ManifestOptions manifest_options = 9;

Returns
Type Description
ManifestOptions

The manifestOptions.

getManifestOptionsBuilder()

public ManifestOptions.Builder getManifestOptionsBuilder()

Additional options that affect the output of the manifest.

.google.cloud.video.stitcher.v1.ManifestOptions manifest_options = 9;

Returns
Type Description
ManifestOptions.Builder

getManifestOptionsOrBuilder()

public ManifestOptionsOrBuilder getManifestOptionsOrBuilder()

Additional options that affect the output of the manifest.

.google.cloud.video.stitcher.v1.ManifestOptions manifest_options = 9;

Returns
Type Description
ManifestOptionsOrBuilder

getMutableAdTagMacroMap() (deprecated)

public Map<String,String> getMutableAdTagMacroMap()

Use alternate mutation accessors instead.

Returns
Type Description
Map<String,String>

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];

Returns
Type Description
String

The name.

getNameBytes()

public 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];

Returns
Type Description
ByteString

The bytes for name.

getPlayUri()

public String getPlayUri()

Output only. The playback URI of the stitched content.

string play_uri = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
String

The playUri.

getPlayUriBytes()

public ByteString getPlayUriBytes()

Output only. The playback URI of the stitched content.

string play_uri = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
ByteString

The bytes for playUri.

getSourceUri()

public String getSourceUri()

URI of the media to stitch. For most use cases, you should create a VodConfig with this information rather than setting this field directly.

string source_uri = 5;

Returns
Type Description
String

The sourceUri.

getSourceUriBytes()

public ByteString getSourceUriBytes()

URI of the media to stitch. For most use cases, you should create a VodConfig with this information rather than setting this field directly.

string source_uri = 5;

Returns
Type Description
ByteString

The bytes for sourceUri.

getVodConfig()

public String 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) = { ... }

Returns
Type Description
String

The vodConfig.

getVodConfigBytes()

public 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) = { ... }

Returns
Type Description
ByteString

The bytes for vodConfig.

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;

Returns
Type Description
boolean

Whether the gamSettings field is set.

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];

Returns
Type Description
boolean

Whether the interstitials field is set.

hasManifestOptions()

public boolean hasManifestOptions()

Additional options that affect the output of the manifest.

.google.cloud.video.stitcher.v1.ManifestOptions manifest_options = 9;

Returns
Type Description
boolean

Whether the manifestOptions field is set.

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
Type Description
FieldAccessorTable
Overrides

internalGetMapFieldReflection(int number)

protected MapFieldReflectionAccessor internalGetMapFieldReflection(int number)
Parameter
Name Description
number int
Returns
Type Description
com.google.protobuf.MapFieldReflectionAccessor
Overrides
com.google.protobuf.GeneratedMessageV3.Builder.internalGetMapFieldReflection(int)

internalGetMutableMapFieldReflection(int number)

protected MapFieldReflectionAccessor internalGetMutableMapFieldReflection(int number)
Parameter
Name Description
number int
Returns
Type Description
com.google.protobuf.MapFieldReflectionAccessor
Overrides
com.google.protobuf.GeneratedMessageV3.Builder.internalGetMutableMapFieldReflection(int)

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

mergeFrom(VodSession other)

public VodSession.Builder mergeFrom(VodSession other)
Parameter
Name Description
other VodSession
Returns
Type Description
VodSession.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public VodSession.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input CodedInputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
VodSession.Builder
Overrides
Exceptions
Type Description
IOException

mergeFrom(Message other)

public VodSession.Builder mergeFrom(Message other)
Parameter
Name Description
other Message
Returns
Type Description
VodSession.Builder
Overrides

mergeGamSettings(VodSession.GamSettings value)

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;

Parameter
Name Description
value VodSession.GamSettings
Returns
Type Description
VodSession.Builder

mergeInterstitials(Interstitials value)

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];

Parameter
Name Description
value Interstitials
Returns
Type Description
VodSession.Builder

mergeManifestOptions(ManifestOptions value)

public VodSession.Builder mergeManifestOptions(ManifestOptions value)

Additional options that affect the output of the manifest.

.google.cloud.video.stitcher.v1.ManifestOptions manifest_options = 9;

Parameter
Name Description
value ManifestOptions
Returns
Type Description
VodSession.Builder

mergeUnknownFields(UnknownFieldSet unknownFields)

public final VodSession.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
Name Description
unknownFields UnknownFieldSet
Returns
Type Description
VodSession.Builder
Overrides

putAdTagMacroMap(String key, String value)

public VodSession.Builder 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. 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;

Parameters
Name Description
key String
value String
Returns
Type Description
VodSession.Builder

putAllAdTagMacroMap(Map<String,String> values)

public VodSession.Builder 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. 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;

Parameter
Name Description
values Map<String,String>
Returns
Type Description
VodSession.Builder

removeAdTagMacroMap(String key)

public VodSession.Builder removeAdTagMacroMap(String key)

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;

Parameter
Name Description
key String
Returns
Type Description
VodSession.Builder

setAdTagUri(String value)

public VodSession.Builder setAdTagUri(String value)

Ad tag URI. For most use cases, you should create a VodConfig with this information rather than setting this field directly.

string ad_tag_uri = 6;

Parameter
Name Description
value String

The adTagUri to set.

Returns
Type Description
VodSession.Builder

This builder for chaining.

setAdTagUriBytes(ByteString value)

public VodSession.Builder setAdTagUriBytes(ByteString value)

Ad tag URI. For most use cases, you should create a VodConfig with this information rather than setting this field directly.

string ad_tag_uri = 6;

Parameter
Name Description
value ByteString

The bytes for adTagUri to set.

Returns
Type Description
VodSession.Builder

This builder for chaining.

setAdTracking(AdTracking value)

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];

Parameter
Name Description
value AdTracking

The adTracking to set.

Returns
Type Description
VodSession.Builder

This builder for chaining.

setAdTrackingValue(int value)

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];

Parameter
Name Description
value int

The enum numeric value on the wire for adTracking to set.

Returns
Type Description
VodSession.Builder

This builder for chaining.

setAssetId(String value)

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];

Parameter
Name Description
value String

The assetId to set.

Returns
Type Description
VodSession.Builder

This builder for chaining.

setAssetIdBytes(ByteString value)

public VodSession.Builder setAssetIdBytes(ByteString value)

Output only. The generated ID of the VodSession's source media.

string asset_id = 10 [(.google.api.field_behavior) = OUTPUT_ONLY];

Parameter
Name Description
value ByteString

The bytes for assetId to set.

Returns
Type Description
VodSession.Builder

This builder for chaining.

setField(Descriptors.FieldDescriptor field, Object value)

public VodSession.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
Name Description
field FieldDescriptor
value Object
Returns
Type Description
VodSession.Builder
Overrides

setGamSettings(VodSession.GamSettings value)

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;

Parameter
Name Description
value VodSession.GamSettings
Returns
Type Description
VodSession.Builder

setGamSettings(VodSession.GamSettings.Builder builderForValue)

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;

Parameter
Name Description
builderForValue VodSession.GamSettings.Builder
Returns
Type Description
VodSession.Builder

setInterstitials(Interstitials value)

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];

Parameter
Name Description
value Interstitials
Returns
Type Description
VodSession.Builder

setInterstitials(Interstitials.Builder builderForValue)

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];

Parameter
Name Description
builderForValue Interstitials.Builder
Returns
Type Description
VodSession.Builder

setManifestOptions(ManifestOptions value)

public VodSession.Builder setManifestOptions(ManifestOptions value)

Additional options that affect the output of the manifest.

.google.cloud.video.stitcher.v1.ManifestOptions manifest_options = 9;

Parameter
Name Description
value ManifestOptions
Returns
Type Description
VodSession.Builder

setManifestOptions(ManifestOptions.Builder builderForValue)

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;

Parameter
Name Description
builderForValue ManifestOptions.Builder
Returns
Type Description
VodSession.Builder

setName(String value)

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];

Parameter
Name Description
value String

The name to set.

Returns
Type Description
VodSession.Builder

This builder for chaining.

setNameBytes(ByteString value)

public VodSession.Builder setNameBytes(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];

Parameter
Name Description
value ByteString

The bytes for name to set.

Returns
Type Description
VodSession.Builder

This builder for chaining.

setPlayUri(String value)

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];

Parameter
Name Description
value String

The playUri to set.

Returns
Type Description
VodSession.Builder

This builder for chaining.

setPlayUriBytes(ByteString value)

public VodSession.Builder setPlayUriBytes(ByteString value)

Output only. The playback URI of the stitched content.

string play_uri = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];

Parameter
Name Description
value ByteString

The bytes for playUri to set.

Returns
Type Description
VodSession.Builder

This builder for chaining.

setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)

public VodSession.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters
Name Description
field FieldDescriptor
index int
value Object
Returns
Type Description
VodSession.Builder
Overrides

setSourceUri(String value)

public VodSession.Builder setSourceUri(String value)

URI of the media to stitch. For most use cases, you should create a VodConfig with this information rather than setting this field directly.

string source_uri = 5;

Parameter
Name Description
value String

The sourceUri to set.

Returns
Type Description
VodSession.Builder

This builder for chaining.

setSourceUriBytes(ByteString value)

public VodSession.Builder setSourceUriBytes(ByteString value)

URI of the media to stitch. For most use cases, you should create a VodConfig with this information rather than setting this field directly.

string source_uri = 5;

Parameter
Name Description
value ByteString

The bytes for sourceUri to set.

Returns
Type Description
VodSession.Builder

This builder for chaining.

setUnknownFields(UnknownFieldSet unknownFields)

public final VodSession.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
Name Description
unknownFields UnknownFieldSet
Returns
Type Description
VodSession.Builder
Overrides

setVodConfig(String value)

public VodSession.Builder setVodConfig(String value)

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) = { ... }

Parameter
Name Description
value String

The vodConfig to set.

Returns
Type Description
VodSession.Builder

This builder for chaining.

setVodConfigBytes(ByteString value)

public VodSession.Builder setVodConfigBytes(ByteString value)

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) = { ... }

Parameter
Name Description
value ByteString

The bytes for vodConfig to set.

Returns
Type Description
VodSession.Builder

This builder for chaining.