- 0.55.0 (latest)
- 0.54.0
- 0.53.0
- 0.52.0
- 0.51.0
- 0.49.0
- 0.48.0
- 0.47.0
- 0.46.0
- 0.45.0
- 0.44.0
- 0.43.0
- 0.42.0
- 0.41.0
- 0.40.0
- 0.39.0
- 0.37.0
- 0.36.0
- 0.35.0
- 0.34.0
- 0.33.0
- 0.32.0
- 0.31.0
- 0.30.0
- 0.29.0
- 0.28.0
- 0.27.0
- 0.24.0
- 0.23.0
- 0.22.0
- 0.21.0
- 0.20.0
- 0.19.0
- 0.18.0
- 0.17.0
- 0.16.0
- 0.15.0
- 0.14.0
- 0.13.0
- 0.12.0
- 0.11.0
- 0.9.0
- 0.8.0
- 0.7.0
- 0.6.0
- 0.5.0
- 0.4.0
- 0.3.6
- 0.1.2
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
Inheritance
Object > AbstractMessageLite.Builder<MessageType,BuilderType> > AbstractMessage.Builder<BuilderType> > GeneratedMessageV3.Builder > VodSession.BuilderImplements
VodSessionOrBuilderStatic 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 |
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 |
clearAdTagMacroMap()
public VodSession.Builder clearAdTagMacroMap()
Returns | |
---|---|
Type | Description |
VodSession.Builder |
clearAdTagUri()
public VodSession.Builder clearAdTagUri()
Required. Ad tag URI.
string ad_tag_uri = 6 [(.google.api.field_behavior) = REQUIRED];
Returns | |
---|---|
Type | Description |
VodSession.Builder | This builder for chaining. |
clearAdTracking()
public VodSession.Builder clearAdTracking()
Required. Determines how the ad should be tracked. If
gam_vod_config
is set, the value must be CLIENT
because the IMA SDK handles ad tracking.
.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 |
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 |
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()
Required. URI of the media to stitch.
string source_uri = 5 [(.google.api.field_behavior) = REQUIRED];
Returns | |
---|---|
Type | Description |
VodSession.Builder | This builder for chaining. |
clone()
public VodSession.Builder clone()
Returns | |
---|---|
Type | Description |
VodSession.Builder |
containsAdTagMacroMap(String key)
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;
Parameter | |
---|---|
Name | Description |
key | String |
Returns | |
---|---|
Type | Description |
boolean |
getAdTagMacroMap()
public Map<String,String> getAdTagMacroMap()
Use #getAdTagMacroMapMap() instead.
Returns | |
---|---|
Type | Description |
Map<String,String> |
getAdTagMacroMapCount()
public int getAdTagMacroMapCount()
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;
Returns | |
---|---|
Type | Description |
int |
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;
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. 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. 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()
Required. Ad tag URI.
string ad_tag_uri = 6 [(.google.api.field_behavior) = REQUIRED];
Returns | |
---|---|
Type | Description |
String | The adTagUri. |
getAdTagUriBytes()
public ByteString getAdTagUriBytes()
Required. Ad tag URI.
string ad_tag_uri = 6 [(.google.api.field_behavior) = REQUIRED];
Returns | |
---|---|
Type | Description |
ByteString | The bytes for adTagUri. |
getAdTracking()
public AdTracking getAdTracking()
Required. Determines how the ad should be tracked. If
gam_vod_config
is set, the value must be CLIENT
because the IMA SDK handles ad tracking.
.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. If
gam_vod_config
is set, the value must be CLIENT
because the IMA SDK handles ad tracking.
.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 |
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()
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()
Required. URI of the media to stitch.
string source_uri = 5 [(.google.api.field_behavior) = REQUIRED];
Returns | |
---|---|
Type | Description |
String | The sourceUri. |
getSourceUriBytes()
public ByteString getSourceUriBytes()
Required. URI of the media to stitch.
string source_uri = 5 [(.google.api.field_behavior) = REQUIRED];
Returns | |
---|---|
Type | Description |
ByteString | The bytes for sourceUri. |
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 |
internalGetMapField(int number)
protected MapField internalGetMapField(int number)
Parameter | |
---|---|
Name | Description |
number | int |
Returns | |
---|---|
Type | Description |
MapField |
internalGetMutableMapField(int number)
protected MapField internalGetMutableMapField(int number)
Parameter | |
---|---|
Name | Description |
number | int |
Returns | |
---|---|
Type | Description |
MapField |
isInitialized()
public final boolean isInitialized()
Returns | |
---|---|
Type | Description |
boolean |
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 |
Exceptions | |
---|---|
Type | Description |
IOException |
mergeFrom(Message other)
public VodSession.Builder mergeFrom(Message other)
Parameter | |
---|---|
Name | Description |
other | Message |
Returns | |
---|---|
Type | Description |
VodSession.Builder |
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 |
putAdTagMacroMap(String key, String value)
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;
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. 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. 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)
Required. Ad tag URI.
string ad_tag_uri = 6 [(.google.api.field_behavior) = REQUIRED];
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)
Required. Ad tag URI.
string ad_tag_uri = 6 [(.google.api.field_behavior) = REQUIRED];
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. If
gam_vod_config
is set, the value must be CLIENT
because the IMA SDK handles ad tracking.
.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. If
gam_vod_config
is set, the value must be CLIENT
because the IMA SDK handles ad tracking.
.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 |
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 |
setSourceUri(String value)
public VodSession.Builder setSourceUri(String value)
Required. URI of the media to stitch.
string source_uri = 5 [(.google.api.field_behavior) = REQUIRED];
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)
Required. URI of the media to stitch.
string source_uri = 5 [(.google.api.field_behavior) = REQUIRED];
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 |