public final class VodSession extends GeneratedMessageV3 implements VodSessionOrBuilder
Metadata for a VOD session.
Protobuf type google.cloud.video.stitcher.v1.VodSession
Static Fields
AD_TAG_MACRO_MAP_FIELD_NUMBER
public static final int AD_TAG_MACRO_MAP_FIELD_NUMBER
Field Value
AD_TAG_URI_FIELD_NUMBER
public static final int AD_TAG_URI_FIELD_NUMBER
Field Value
CLIENT_AD_TRACKING_FIELD_NUMBER
public static final int CLIENT_AD_TRACKING_FIELD_NUMBER
Field Value
INTERSTITIALS_FIELD_NUMBER
public static final int INTERSTITIALS_FIELD_NUMBER
Field Value
MANIFEST_OPTIONS_FIELD_NUMBER
public static final int MANIFEST_OPTIONS_FIELD_NUMBER
Field Value
NAME_FIELD_NUMBER
public static final int NAME_FIELD_NUMBER
Field Value
PLAY_URI_FIELD_NUMBER
public static final int PLAY_URI_FIELD_NUMBER
Field Value
SOURCE_URI_FIELD_NUMBER
public static final int SOURCE_URI_FIELD_NUMBER
Field Value
Static Methods
getDefaultInstance()
public static VodSession getDefaultInstance()
Returns
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
Returns
newBuilder()
public static VodSession.Builder newBuilder()
Returns
newBuilder(VodSession prototype)
public static VodSession.Builder newBuilder(VodSession prototype)
Parameter
Returns
public static VodSession parseDelimitedFrom(InputStream input)
Parameter
Returns
Exceptions
public static VodSession parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
parseFrom(byte[] data)
public static VodSession parseFrom(byte[] data)
Parameter
Name | Description |
data | byte[]
|
Returns
Exceptions
parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
public static VodSession parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
parseFrom(ByteString data)
public static VodSession parseFrom(ByteString data)
Parameter
Returns
Exceptions
parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
public static VodSession parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
public static VodSession parseFrom(CodedInputStream input)
Parameter
Returns
Exceptions
public static VodSession parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
public static VodSession parseFrom(InputStream input)
Parameter
Returns
Exceptions
public static VodSession parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
parseFrom(ByteBuffer data)
public static VodSession parseFrom(ByteBuffer data)
Parameter
Returns
Exceptions
parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
public static VodSession parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
parser()
public static Parser<VodSession> parser()
Returns
Methods
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
Returns
equals(Object obj)
public boolean equals(Object obj)
Parameter
Returns
Overrides
getAdTagMacroMap()
public Map<String,String> getAdTagMacroMap()
Returns
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
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
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
Returns
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
Returns
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
getClientAdTracking()
public boolean getClientAdTracking()
Indicates whether client side ad tracking is enabled. If client
side ad tracking is enabled, then the client player is expected
to trigger playback and activity events itself.
If this is set to false, server side ad tracking is enabled,
causing the Video Stitcher service will trigger playback events
on behalf of the client player.
bool client_ad_tracking = 8;
Returns
Type | Description |
boolean | The clientAdTracking.
|
getDefaultInstanceForType()
public VodSession getDefaultInstanceForType()
Returns
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
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
getManifestOptions()
public ManifestOptions getManifestOptions()
Additional options that affect the output of the manifest.
.google.cloud.video.stitcher.v1.ManifestOptions manifest_options = 9;
Returns
getManifestOptionsOrBuilder()
public ManifestOptionsOrBuilder getManifestOptionsOrBuilder()
Additional options that affect the output of the manifest.
.google.cloud.video.stitcher.v1.ManifestOptions manifest_options = 9;
Returns
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
getParserForType()
public Parser<VodSession> getParserForType()
Returns
Overrides
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
getSerializedSize()
public int getSerializedSize()
Returns
Overrides
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
getUnknownFields()
public final UnknownFieldSet getUnknownFields()
Returns
Overrides
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.
|
hashCode()
Returns
Overrides
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
Overrides
internalGetMapField(int number)
protected MapField internalGetMapField(int number)
Parameter
Returns
Overrides
isInitialized()
public final boolean isInitialized()
Returns
Overrides
newBuilderForType()
public VodSession.Builder newBuilderForType()
Returns
newBuilderForType(GeneratedMessageV3.BuilderParent parent)
protected VodSession.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Parameter
Returns
Overrides
newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Parameter
Returns
Overrides
toBuilder()
public VodSession.Builder toBuilder()
Returns
writeTo(CodedOutputStream output)
public void writeTo(CodedOutputStream output)
Parameter
Overrides
Exceptions