- 0.54.0 (latest)
- 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 LiveSession.Builder extends GeneratedMessageV3.Builder<LiveSession.Builder> implements LiveSessionOrBuilder
Metadata for a live session.
Protobuf type google.cloud.video.stitcher.v1.LiveSession
Inheritance
Object > AbstractMessageLite.Builder<MessageType,BuilderType> > AbstractMessage.Builder<BuilderType> > GeneratedMessageV3.Builder > LiveSession.BuilderImplements
LiveSessionOrBuilderStatic Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
Type | Description |
Descriptor |
Methods
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
public LiveSession.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Name | Description |
field | FieldDescriptor |
value | Object |
Type | Description |
LiveSession.Builder |
build()
public LiveSession build()
Type | Description |
LiveSession |
buildPartial()
public LiveSession buildPartial()
Type | Description |
LiveSession |
clear()
public LiveSession.Builder clear()
Type | Description |
LiveSession.Builder |
clearAdTagMacros()
public LiveSession.Builder clearAdTagMacros()
Type | Description |
LiveSession.Builder |
clearAdTagMap()
public LiveSession.Builder clearAdTagMap()
Type | Description |
LiveSession.Builder |
clearClientAdTracking()
public LiveSession.Builder clearClientAdTracking()
Whether client side ad tracking is enabled. If enabled, the client player is expected to trigger playback and activity events itself. Otherwise, server side ad tracking is enabled and the Video Stitcher API will trigger playback events on behalf of the client player.
bool client_ad_tracking = 7;
Type | Description |
LiveSession.Builder | This builder for chaining. |
clearDefaultAdTagId()
public LiveSession.Builder clearDefaultAdTagId()
The default ad tag to use when no ad tag ids are specified in an ad break's
SCTE-35 message.
default_ad_tag_id is necessary when adTagMap
has more than one key. Its
value must be present in the adTagMap
.
string default_ad_tag_id = 4;
Type | Description |
LiveSession.Builder | This builder for chaining. |
clearDefaultSlateId()
public LiveSession.Builder clearDefaultSlateId()
The default slate to use when no slates are specified in an ad break's SCTE-35 message. When specified, this value must match the ID for a slate that has already been created via the CreateSlate method.
string default_slate_id = 8;
Type | Description |
LiveSession.Builder | This builder for chaining. |
clearField(Descriptors.FieldDescriptor field)
public LiveSession.Builder clearField(Descriptors.FieldDescriptor field)
Name | Description |
field | FieldDescriptor |
Type | Description |
LiveSession.Builder |
clearManifestOptions()
public LiveSession.Builder clearManifestOptions()
Additional options that affect the output of the manifest.
.google.cloud.video.stitcher.v1.ManifestOptions manifest_options = 10;
Type | Description |
LiveSession.Builder |
clearName()
public LiveSession.Builder clearName()
Output only. The name of the live session, in the form of
projects/{project}/locations/{location}/liveSessions/{id}
.
string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];
Type | Description |
LiveSession.Builder | This builder for chaining. |
clearOneof(Descriptors.OneofDescriptor oneof)
public LiveSession.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Name | Description |
oneof | OneofDescriptor |
Type | Description |
LiveSession.Builder |
clearPlayUri()
public LiveSession.Builder clearPlayUri()
Output only. The URI to play the live session's ad-stitched stream.
string play_uri = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];
Type | Description |
LiveSession.Builder | This builder for chaining. |
clearSourceUri()
public LiveSession.Builder clearSourceUri()
The URI of the live session's source stream.
string source_uri = 3;
Type | Description |
LiveSession.Builder | This builder for chaining. |
clearStitchingPolicy()
public LiveSession.Builder clearStitchingPolicy()
Defines the stitcher behavior in case an ad does not align exactly with
the ad break boundaries. If not specified, the default is COMPLETE_AD
.
.google.cloud.video.stitcher.v1.LiveSession.StitchingPolicy stitching_policy = 9;
Type | Description |
LiveSession.Builder | This builder for chaining. |
clearStreamId()
public LiveSession.Builder clearStreamId()
Output only. The generated ID of the LiveSession's source stream.
string stream_id = 11 [(.google.api.field_behavior) = OUTPUT_ONLY];
Type | Description |
LiveSession.Builder | This builder for chaining. |
clone()
public LiveSession.Builder clone()
Type | Description |
LiveSession.Builder |
containsAdTagMacros(String key)
public boolean containsAdTagMacros(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 macros: {"geoId": "123"}
Fully qualified ad tag:
"https://doubleclick.google.com/ad/1?geo_id=123"
map<string, string> ad_tag_macros = 6;
Name | Description |
key | String |
Type | Description |
boolean |
containsAdTagMap(String key)
public boolean containsAdTagMap(String key)
Key value pairs for ad tags. Ads parsed from ad tags must be MP4 videos each with at least one audio track.
map<string, .google.cloud.video.stitcher.v1.AdTag> ad_tag_map = 5;
Name | Description |
key | String |
Type | Description |
boolean |
getAdTagMacros()
public Map<String,String> getAdTagMacros()
Use #getAdTagMacrosMap() instead.
Type | Description |
Map<String,String> |
getAdTagMacrosCount()
public int getAdTagMacrosCount()
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 macros: {"geoId": "123"}
Fully qualified ad tag:
"https://doubleclick.google.com/ad/1?geo_id=123"
map<string, string> ad_tag_macros = 6;
Type | Description |
int |
getAdTagMacrosMap()
public Map<String,String> getAdTagMacrosMap()
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 macros: {"geoId": "123"}
Fully qualified ad tag:
"https://doubleclick.google.com/ad/1?geo_id=123"
map<string, string> ad_tag_macros = 6;
Type | Description |
Map<String,String> |
getAdTagMacrosOrDefault(String key, String defaultValue)
public String getAdTagMacrosOrDefault(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 macros: {"geoId": "123"}
Fully qualified ad tag:
"https://doubleclick.google.com/ad/1?geo_id=123"
map<string, string> ad_tag_macros = 6;
Name | Description |
key | String |
defaultValue | String |
Type | Description |
String |
getAdTagMacrosOrThrow(String key)
public String getAdTagMacrosOrThrow(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 macros: {"geoId": "123"}
Fully qualified ad tag:
"https://doubleclick.google.com/ad/1?geo_id=123"
map<string, string> ad_tag_macros = 6;
Name | Description |
key | String |
Type | Description |
String |
getAdTagMap()
public Map<String,AdTag> getAdTagMap()
Use #getAdTagMapMap() instead.
Type | Description |
Map<String,AdTag> |
getAdTagMapCount()
public int getAdTagMapCount()
Key value pairs for ad tags. Ads parsed from ad tags must be MP4 videos each with at least one audio track.
map<string, .google.cloud.video.stitcher.v1.AdTag> ad_tag_map = 5;
Type | Description |
int |
getAdTagMapMap()
public Map<String,AdTag> getAdTagMapMap()
Key value pairs for ad tags. Ads parsed from ad tags must be MP4 videos each with at least one audio track.
map<string, .google.cloud.video.stitcher.v1.AdTag> ad_tag_map = 5;
Type | Description |
Map<String,AdTag> |
getAdTagMapOrDefault(String key, AdTag defaultValue)
public AdTag getAdTagMapOrDefault(String key, AdTag defaultValue)
Key value pairs for ad tags. Ads parsed from ad tags must be MP4 videos each with at least one audio track.
map<string, .google.cloud.video.stitcher.v1.AdTag> ad_tag_map = 5;
Name | Description |
key | String |
defaultValue | AdTag |
Type | Description |
AdTag |
getAdTagMapOrThrow(String key)
public AdTag getAdTagMapOrThrow(String key)
Key value pairs for ad tags. Ads parsed from ad tags must be MP4 videos each with at least one audio track.
map<string, .google.cloud.video.stitcher.v1.AdTag> ad_tag_map = 5;
Name | Description |
key | String |
Type | Description |
AdTag |
getClientAdTracking()
public boolean getClientAdTracking()
Whether client side ad tracking is enabled. If enabled, the client player is expected to trigger playback and activity events itself. Otherwise, server side ad tracking is enabled and the Video Stitcher API will trigger playback events on behalf of the client player.
bool client_ad_tracking = 7;
Type | Description |
boolean | The clientAdTracking. |
getDefaultAdTagId()
public String getDefaultAdTagId()
The default ad tag to use when no ad tag ids are specified in an ad break's
SCTE-35 message.
default_ad_tag_id is necessary when adTagMap
has more than one key. Its
value must be present in the adTagMap
.
string default_ad_tag_id = 4;
Type | Description |
String | The defaultAdTagId. |
getDefaultAdTagIdBytes()
public ByteString getDefaultAdTagIdBytes()
The default ad tag to use when no ad tag ids are specified in an ad break's
SCTE-35 message.
default_ad_tag_id is necessary when adTagMap
has more than one key. Its
value must be present in the adTagMap
.
string default_ad_tag_id = 4;
Type | Description |
ByteString | The bytes for defaultAdTagId. |
getDefaultInstanceForType()
public LiveSession getDefaultInstanceForType()
Type | Description |
LiveSession |
getDefaultSlateId()
public String getDefaultSlateId()
The default slate to use when no slates are specified in an ad break's SCTE-35 message. When specified, this value must match the ID for a slate that has already been created via the CreateSlate method.
string default_slate_id = 8;
Type | Description |
String | The defaultSlateId. |
getDefaultSlateIdBytes()
public ByteString getDefaultSlateIdBytes()
The default slate to use when no slates are specified in an ad break's SCTE-35 message. When specified, this value must match the ID for a slate that has already been created via the CreateSlate method.
string default_slate_id = 8;
Type | Description |
ByteString | The bytes for defaultSlateId. |
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()
Type | Description |
Descriptor |
getManifestOptions()
public ManifestOptions getManifestOptions()
Additional options that affect the output of the manifest.
.google.cloud.video.stitcher.v1.ManifestOptions manifest_options = 10;
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 = 10;
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 = 10;
Type | Description |
ManifestOptionsOrBuilder |
getMutableAdTagMacros()
public Map<String,String> getMutableAdTagMacros()
Use alternate mutation accessors instead.
Type | Description |
Map<String,String> |
getMutableAdTagMap()
public Map<String,AdTag> getMutableAdTagMap()
Use alternate mutation accessors instead.
Type | Description |
Map<String,AdTag> |
getName()
public String getName()
Output only. The name of the live session, in the form of
projects/{project}/locations/{location}/liveSessions/{id}
.
string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];
Type | Description |
String | The name. |
getNameBytes()
public ByteString getNameBytes()
Output only. The name of the live session, in the form of
projects/{project}/locations/{location}/liveSessions/{id}
.
string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];
Type | Description |
ByteString | The bytes for name. |
getPlayUri()
public String getPlayUri()
Output only. The URI to play the live session's ad-stitched stream.
string play_uri = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];
Type | Description |
String | The playUri. |
getPlayUriBytes()
public ByteString getPlayUriBytes()
Output only. The URI to play the live session's ad-stitched stream.
string play_uri = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];
Type | Description |
ByteString | The bytes for playUri. |
getSourceUri()
public String getSourceUri()
The URI of the live session's source stream.
string source_uri = 3;
Type | Description |
String | The sourceUri. |
getSourceUriBytes()
public ByteString getSourceUriBytes()
The URI of the live session's source stream.
string source_uri = 3;
Type | Description |
ByteString | The bytes for sourceUri. |
getStitchingPolicy()
public LiveSession.StitchingPolicy getStitchingPolicy()
Defines the stitcher behavior in case an ad does not align exactly with
the ad break boundaries. If not specified, the default is COMPLETE_AD
.
.google.cloud.video.stitcher.v1.LiveSession.StitchingPolicy stitching_policy = 9;
Type | Description |
LiveSession.StitchingPolicy | The stitchingPolicy. |
getStitchingPolicyValue()
public int getStitchingPolicyValue()
Defines the stitcher behavior in case an ad does not align exactly with
the ad break boundaries. If not specified, the default is COMPLETE_AD
.
.google.cloud.video.stitcher.v1.LiveSession.StitchingPolicy stitching_policy = 9;
Type | Description |
int | The enum numeric value on the wire for stitchingPolicy. |
getStreamId()
public String getStreamId()
Output only. The generated ID of the LiveSession's source stream.
string stream_id = 11 [(.google.api.field_behavior) = OUTPUT_ONLY];
Type | Description |
String | The streamId. |
getStreamIdBytes()
public ByteString getStreamIdBytes()
Output only. The generated ID of the LiveSession's source stream.
string stream_id = 11 [(.google.api.field_behavior) = OUTPUT_ONLY];
Type | Description |
ByteString | The bytes for streamId. |
hasManifestOptions()
public boolean hasManifestOptions()
Additional options that affect the output of the manifest.
.google.cloud.video.stitcher.v1.ManifestOptions manifest_options = 10;
Type | Description |
boolean | Whether the manifestOptions field is set. |
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Type | Description |
FieldAccessorTable |
internalGetMapField(int number)
protected MapField internalGetMapField(int number)
Name | Description |
number | int |
Type | Description |
MapField |
internalGetMutableMapField(int number)
protected MapField internalGetMutableMapField(int number)
Name | Description |
number | int |
Type | Description |
MapField |
isInitialized()
public final boolean isInitialized()
Type | Description |
boolean |
mergeFrom(LiveSession other)
public LiveSession.Builder mergeFrom(LiveSession other)
Name | Description |
other | LiveSession |
Type | Description |
LiveSession.Builder |
mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public LiveSession.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Name | Description |
input | CodedInputStream |
extensionRegistry | ExtensionRegistryLite |
Type | Description |
LiveSession.Builder |
Type | Description |
IOException |
mergeFrom(Message other)
public LiveSession.Builder mergeFrom(Message other)
Name | Description |
other | Message |
Type | Description |
LiveSession.Builder |
mergeManifestOptions(ManifestOptions value)
public LiveSession.Builder mergeManifestOptions(ManifestOptions value)
Additional options that affect the output of the manifest.
.google.cloud.video.stitcher.v1.ManifestOptions manifest_options = 10;
Name | Description |
value | ManifestOptions |
Type | Description |
LiveSession.Builder |
mergeUnknownFields(UnknownFieldSet unknownFields)
public final LiveSession.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Name | Description |
unknownFields | UnknownFieldSet |
Type | Description |
LiveSession.Builder |
putAdTagMacros(String key, String value)
public LiveSession.Builder putAdTagMacros(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 macros: {"geoId": "123"}
Fully qualified ad tag:
"https://doubleclick.google.com/ad/1?geo_id=123"
map<string, string> ad_tag_macros = 6;
Name | Description |
key | String |
value | String |
Type | Description |
LiveSession.Builder |
putAdTagMap(String key, AdTag value)
public LiveSession.Builder putAdTagMap(String key, AdTag value)
Key value pairs for ad tags. Ads parsed from ad tags must be MP4 videos each with at least one audio track.
map<string, .google.cloud.video.stitcher.v1.AdTag> ad_tag_map = 5;
Name | Description |
key | String |
value | AdTag |
Type | Description |
LiveSession.Builder |
putAllAdTagMacros(Map<String,String> values)
public LiveSession.Builder putAllAdTagMacros(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 macros: {"geoId": "123"}
Fully qualified ad tag:
"https://doubleclick.google.com/ad/1?geo_id=123"
map<string, string> ad_tag_macros = 6;
Name | Description |
values | Map<String,String> |
Type | Description |
LiveSession.Builder |
putAllAdTagMap(Map<String,AdTag> values)
public LiveSession.Builder putAllAdTagMap(Map<String,AdTag> values)
Key value pairs for ad tags. Ads parsed from ad tags must be MP4 videos each with at least one audio track.
map<string, .google.cloud.video.stitcher.v1.AdTag> ad_tag_map = 5;
Name | Description |
values | Map<String,AdTag> |
Type | Description |
LiveSession.Builder |
removeAdTagMacros(String key)
public LiveSession.Builder removeAdTagMacros(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 macros: {"geoId": "123"}
Fully qualified ad tag:
"https://doubleclick.google.com/ad/1?geo_id=123"
map<string, string> ad_tag_macros = 6;
Name | Description |
key | String |
Type | Description |
LiveSession.Builder |
removeAdTagMap(String key)
public LiveSession.Builder removeAdTagMap(String key)
Key value pairs for ad tags. Ads parsed from ad tags must be MP4 videos each with at least one audio track.
map<string, .google.cloud.video.stitcher.v1.AdTag> ad_tag_map = 5;
Name | Description |
key | String |
Type | Description |
LiveSession.Builder |
setClientAdTracking(boolean value)
public LiveSession.Builder setClientAdTracking(boolean value)
Whether client side ad tracking is enabled. If enabled, the client player is expected to trigger playback and activity events itself. Otherwise, server side ad tracking is enabled and the Video Stitcher API will trigger playback events on behalf of the client player.
bool client_ad_tracking = 7;
Name | Description |
value | boolean The clientAdTracking to set. |
Type | Description |
LiveSession.Builder | This builder for chaining. |
setDefaultAdTagId(String value)
public LiveSession.Builder setDefaultAdTagId(String value)
The default ad tag to use when no ad tag ids are specified in an ad break's
SCTE-35 message.
default_ad_tag_id is necessary when adTagMap
has more than one key. Its
value must be present in the adTagMap
.
string default_ad_tag_id = 4;
Name | Description |
value | String The defaultAdTagId to set. |
Type | Description |
LiveSession.Builder | This builder for chaining. |
setDefaultAdTagIdBytes(ByteString value)
public LiveSession.Builder setDefaultAdTagIdBytes(ByteString value)
The default ad tag to use when no ad tag ids are specified in an ad break's
SCTE-35 message.
default_ad_tag_id is necessary when adTagMap
has more than one key. Its
value must be present in the adTagMap
.
string default_ad_tag_id = 4;
Name | Description |
value | ByteString The bytes for defaultAdTagId to set. |
Type | Description |
LiveSession.Builder | This builder for chaining. |
setDefaultSlateId(String value)
public LiveSession.Builder setDefaultSlateId(String value)
The default slate to use when no slates are specified in an ad break's SCTE-35 message. When specified, this value must match the ID for a slate that has already been created via the CreateSlate method.
string default_slate_id = 8;
Name | Description |
value | String The defaultSlateId to set. |
Type | Description |
LiveSession.Builder | This builder for chaining. |
setDefaultSlateIdBytes(ByteString value)
public LiveSession.Builder setDefaultSlateIdBytes(ByteString value)
The default slate to use when no slates are specified in an ad break's SCTE-35 message. When specified, this value must match the ID for a slate that has already been created via the CreateSlate method.
string default_slate_id = 8;
Name | Description |
value | ByteString The bytes for defaultSlateId to set. |
Type | Description |
LiveSession.Builder | This builder for chaining. |
setField(Descriptors.FieldDescriptor field, Object value)
public LiveSession.Builder setField(Descriptors.FieldDescriptor field, Object value)
Name | Description |
field | FieldDescriptor |
value | Object |
Type | Description |
LiveSession.Builder |
setManifestOptions(ManifestOptions value)
public LiveSession.Builder setManifestOptions(ManifestOptions value)
Additional options that affect the output of the manifest.
.google.cloud.video.stitcher.v1.ManifestOptions manifest_options = 10;
Name | Description |
value | ManifestOptions |
Type | Description |
LiveSession.Builder |
setManifestOptions(ManifestOptions.Builder builderForValue)
public LiveSession.Builder setManifestOptions(ManifestOptions.Builder builderForValue)
Additional options that affect the output of the manifest.
.google.cloud.video.stitcher.v1.ManifestOptions manifest_options = 10;
Name | Description |
builderForValue | ManifestOptions.Builder |
Type | Description |
LiveSession.Builder |
setName(String value)
public LiveSession.Builder setName(String value)
Output only. The name of the live session, in the form of
projects/{project}/locations/{location}/liveSessions/{id}
.
string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];
Name | Description |
value | String The name to set. |
Type | Description |
LiveSession.Builder | This builder for chaining. |
setNameBytes(ByteString value)
public LiveSession.Builder setNameBytes(ByteString value)
Output only. The name of the live session, in the form of
projects/{project}/locations/{location}/liveSessions/{id}
.
string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];
Name | Description |
value | ByteString The bytes for name to set. |
Type | Description |
LiveSession.Builder | This builder for chaining. |
setPlayUri(String value)
public LiveSession.Builder setPlayUri(String value)
Output only. The URI to play the live session's ad-stitched stream.
string play_uri = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];
Name | Description |
value | String The playUri to set. |
Type | Description |
LiveSession.Builder | This builder for chaining. |
setPlayUriBytes(ByteString value)
public LiveSession.Builder setPlayUriBytes(ByteString value)
Output only. The URI to play the live session's ad-stitched stream.
string play_uri = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];
Name | Description |
value | ByteString The bytes for playUri to set. |
Type | Description |
LiveSession.Builder | This builder for chaining. |
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public LiveSession.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Name | Description |
field | FieldDescriptor |
index | int |
value | Object |
Type | Description |
LiveSession.Builder |
setSourceUri(String value)
public LiveSession.Builder setSourceUri(String value)
The URI of the live session's source stream.
string source_uri = 3;
Name | Description |
value | String The sourceUri to set. |
Type | Description |
LiveSession.Builder | This builder for chaining. |
setSourceUriBytes(ByteString value)
public LiveSession.Builder setSourceUriBytes(ByteString value)
The URI of the live session's source stream.
string source_uri = 3;
Name | Description |
value | ByteString The bytes for sourceUri to set. |
Type | Description |
LiveSession.Builder | This builder for chaining. |
setStitchingPolicy(LiveSession.StitchingPolicy value)
public LiveSession.Builder setStitchingPolicy(LiveSession.StitchingPolicy value)
Defines the stitcher behavior in case an ad does not align exactly with
the ad break boundaries. If not specified, the default is COMPLETE_AD
.
.google.cloud.video.stitcher.v1.LiveSession.StitchingPolicy stitching_policy = 9;
Name | Description |
value | LiveSession.StitchingPolicy The stitchingPolicy to set. |
Type | Description |
LiveSession.Builder | This builder for chaining. |
setStitchingPolicyValue(int value)
public LiveSession.Builder setStitchingPolicyValue(int value)
Defines the stitcher behavior in case an ad does not align exactly with
the ad break boundaries. If not specified, the default is COMPLETE_AD
.
.google.cloud.video.stitcher.v1.LiveSession.StitchingPolicy stitching_policy = 9;
Name | Description |
value | int The enum numeric value on the wire for stitchingPolicy to set. |
Type | Description |
LiveSession.Builder | This builder for chaining. |
setStreamId(String value)
public LiveSession.Builder setStreamId(String value)
Output only. The generated ID of the LiveSession's source stream.
string stream_id = 11 [(.google.api.field_behavior) = OUTPUT_ONLY];
Name | Description |
value | String The streamId to set. |
Type | Description |
LiveSession.Builder | This builder for chaining. |
setStreamIdBytes(ByteString value)
public LiveSession.Builder setStreamIdBytes(ByteString value)
Output only. The generated ID of the LiveSession's source stream.
string stream_id = 11 [(.google.api.field_behavior) = OUTPUT_ONLY];
Name | Description |
value | ByteString The bytes for streamId to set. |
Type | Description |
LiveSession.Builder | This builder for chaining. |
setUnknownFields(UnknownFieldSet unknownFields)
public final LiveSession.Builder setUnknownFields(UnknownFieldSet unknownFields)
Name | Description |
unknownFields | UnknownFieldSet |
Type | Description |
LiveSession.Builder |