Class LiveSession.Builder
- java.lang.Object
-
- com.google.protobuf.AbstractMessageLite.Builder
-
- com.google.protobuf.AbstractMessage.Builder<BuilderT>
-
- com.google.protobuf.GeneratedMessageV3.Builder<LiveSession.Builder>
-
- com.google.cloud.video.stitcher.v1.LiveSession.Builder
-
- All Implemented Interfaces:
LiveSessionOrBuilder,com.google.protobuf.Message.Builder,com.google.protobuf.MessageLite.Builder,com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder,Cloneable
- Enclosing class:
- LiveSession
public static final class LiveSession.Builder extends com.google.protobuf.GeneratedMessageV3.Builder<LiveSession.Builder> implements LiveSessionOrBuilder
Metadata for a live session. The session expires 5 minutes after the client stops fetching the session's playlists.
Protobuf typegoogle.cloud.video.stitcher.v1.LiveSession
-
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Deprecated Methods Modifier and Type Method Description LiveSession.BuilderaddRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)LiveSessionbuild()LiveSessionbuildPartial()LiveSession.Builderclear()LiveSession.BuilderclearAdTagMacros()LiveSession.BuilderclearField(com.google.protobuf.Descriptors.FieldDescriptor field)LiveSession.BuilderclearGamSettings()This field should be set with appropriate values if GAM is being used for ads.LiveSession.BuilderclearLiveConfig()Required.LiveSession.BuilderclearManifestOptions()Additional options that affect the output of the manifest.LiveSession.BuilderclearName()Output only.LiveSession.BuilderclearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)LiveSession.BuilderclearPlayUri()Output only.LiveSession.Builderclone()booleancontainsAdTagMacros(String key)Key value pairs for ad tag macro replacement.Map<String,String>getAdTagMacros()Deprecated.intgetAdTagMacrosCount()Key value pairs for ad tag macro replacement.Map<String,String>getAdTagMacrosMap()Key value pairs for ad tag macro replacement.StringgetAdTagMacrosOrDefault(String key, String defaultValue)Key value pairs for ad tag macro replacement.StringgetAdTagMacrosOrThrow(String key)Key value pairs for ad tag macro replacement.LiveSessiongetDefaultInstanceForType()static com.google.protobuf.Descriptors.DescriptorgetDescriptor()com.google.protobuf.Descriptors.DescriptorgetDescriptorForType()LiveSession.GamSettingsgetGamSettings()This field should be set with appropriate values if GAM is being used for ads.LiveSession.GamSettings.BuildergetGamSettingsBuilder()This field should be set with appropriate values if GAM is being used for ads.LiveSession.GamSettingsOrBuildergetGamSettingsOrBuilder()This field should be set with appropriate values if GAM is being used for ads.StringgetLiveConfig()Required.com.google.protobuf.ByteStringgetLiveConfigBytes()Required.ManifestOptionsgetManifestOptions()Additional options that affect the output of the manifest.ManifestOptions.BuildergetManifestOptionsBuilder()Additional options that affect the output of the manifest.ManifestOptionsOrBuildergetManifestOptionsOrBuilder()Additional options that affect the output of the manifest.Map<String,String>getMutableAdTagMacros()Deprecated.StringgetName()Output only.com.google.protobuf.ByteStringgetNameBytes()Output only.StringgetPlayUri()Output only.com.google.protobuf.ByteStringgetPlayUriBytes()Output only.booleanhasGamSettings()This field should be set with appropriate values if GAM is being used for ads.booleanhasManifestOptions()Additional options that affect the output of the manifest.protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTableinternalGetFieldAccessorTable()protected com.google.protobuf.MapFieldinternalGetMapField(int number)protected com.google.protobuf.MapFieldinternalGetMutableMapField(int number)booleanisInitialized()LiveSession.BuildermergeFrom(LiveSession other)LiveSession.BuildermergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)LiveSession.BuildermergeFrom(com.google.protobuf.Message other)LiveSession.BuildermergeGamSettings(LiveSession.GamSettings value)This field should be set with appropriate values if GAM is being used for ads.LiveSession.BuildermergeManifestOptions(ManifestOptions value)Additional options that affect the output of the manifest.LiveSession.BuildermergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)LiveSession.BuilderputAdTagMacros(String key, String value)Key value pairs for ad tag macro replacement.LiveSession.BuilderputAllAdTagMacros(Map<String,String> values)Key value pairs for ad tag macro replacement.LiveSession.BuilderremoveAdTagMacros(String key)Key value pairs for ad tag macro replacement.LiveSession.BuildersetField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)LiveSession.BuildersetGamSettings(LiveSession.GamSettings value)This field should be set with appropriate values if GAM is being used for ads.LiveSession.BuildersetGamSettings(LiveSession.GamSettings.Builder builderForValue)This field should be set with appropriate values if GAM is being used for ads.LiveSession.BuildersetLiveConfig(String value)Required.LiveSession.BuildersetLiveConfigBytes(com.google.protobuf.ByteString value)Required.LiveSession.BuildersetManifestOptions(ManifestOptions value)Additional options that affect the output of the manifest.LiveSession.BuildersetManifestOptions(ManifestOptions.Builder builderForValue)Additional options that affect the output of the manifest.LiveSession.BuildersetName(String value)Output only.LiveSession.BuildersetNameBytes(com.google.protobuf.ByteString value)Output only.LiveSession.BuildersetPlayUri(String value)Output only.LiveSession.BuildersetPlayUriBytes(com.google.protobuf.ByteString value)Output only.LiveSession.BuildersetRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, Object value)LiveSession.BuildersetUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)-
Methods inherited from class com.google.protobuf.GeneratedMessageV3.Builder
getAllFields, getField, getFieldBuilder, getOneofFieldDescriptor, getParentForChildren, getRepeatedField, getRepeatedFieldBuilder, getRepeatedFieldCount, getUnknownFields, getUnknownFieldSetBuilder, hasField, hasOneof, isClean, markClean, mergeUnknownLengthDelimitedField, mergeUnknownVarintField, newBuilderForField, onBuilt, onChanged, parseUnknownField, setUnknownFieldSetBuilder, setUnknownFieldsProto3
-
Methods inherited from class com.google.protobuf.AbstractMessage.Builder
findInitializationErrors, getInitializationErrorString, internalMergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException, toString
-
Methods inherited from class com.google.protobuf.AbstractMessageLite.Builder
addAll, addAll, mergeDelimitedFrom, mergeDelimitedFrom, mergeFrom, newUninitializedMessageException
-
Methods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
-
-
-
-
Method Detail
-
getDescriptor
public static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
-
internalGetMapField
protected com.google.protobuf.MapField internalGetMapField(int number)
- Overrides:
internalGetMapFieldin classcom.google.protobuf.GeneratedMessageV3.Builder<LiveSession.Builder>
-
internalGetMutableMapField
protected com.google.protobuf.MapField internalGetMutableMapField(int number)
- Overrides:
internalGetMutableMapFieldin classcom.google.protobuf.GeneratedMessageV3.Builder<LiveSession.Builder>
-
internalGetFieldAccessorTable
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
- Specified by:
internalGetFieldAccessorTablein classcom.google.protobuf.GeneratedMessageV3.Builder<LiveSession.Builder>
-
clear
public LiveSession.Builder clear()
- Specified by:
clearin interfacecom.google.protobuf.Message.Builder- Specified by:
clearin interfacecom.google.protobuf.MessageLite.Builder- Overrides:
clearin classcom.google.protobuf.GeneratedMessageV3.Builder<LiveSession.Builder>
-
getDescriptorForType
public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()
- Specified by:
getDescriptorForTypein interfacecom.google.protobuf.Message.Builder- Specified by:
getDescriptorForTypein interfacecom.google.protobuf.MessageOrBuilder- Overrides:
getDescriptorForTypein classcom.google.protobuf.GeneratedMessageV3.Builder<LiveSession.Builder>
-
getDefaultInstanceForType
public LiveSession getDefaultInstanceForType()
- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageLiteOrBuilder- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageOrBuilder
-
build
public LiveSession build()
- Specified by:
buildin interfacecom.google.protobuf.Message.Builder- Specified by:
buildin interfacecom.google.protobuf.MessageLite.Builder
-
buildPartial
public LiveSession buildPartial()
- Specified by:
buildPartialin interfacecom.google.protobuf.Message.Builder- Specified by:
buildPartialin interfacecom.google.protobuf.MessageLite.Builder
-
clone
public LiveSession.Builder clone()
- Specified by:
clonein interfacecom.google.protobuf.Message.Builder- Specified by:
clonein interfacecom.google.protobuf.MessageLite.Builder- Overrides:
clonein classcom.google.protobuf.GeneratedMessageV3.Builder<LiveSession.Builder>
-
setField
public LiveSession.Builder setField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
- Specified by:
setFieldin interfacecom.google.protobuf.Message.Builder- Overrides:
setFieldin classcom.google.protobuf.GeneratedMessageV3.Builder<LiveSession.Builder>
-
clearField
public LiveSession.Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field)
- Specified by:
clearFieldin interfacecom.google.protobuf.Message.Builder- Overrides:
clearFieldin classcom.google.protobuf.GeneratedMessageV3.Builder<LiveSession.Builder>
-
clearOneof
public LiveSession.Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)
- Specified by:
clearOneofin interfacecom.google.protobuf.Message.Builder- Overrides:
clearOneofin classcom.google.protobuf.GeneratedMessageV3.Builder<LiveSession.Builder>
-
setRepeatedField
public LiveSession.Builder setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, Object value)
- Specified by:
setRepeatedFieldin interfacecom.google.protobuf.Message.Builder- Overrides:
setRepeatedFieldin classcom.google.protobuf.GeneratedMessageV3.Builder<LiveSession.Builder>
-
addRepeatedField
public LiveSession.Builder addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
- Specified by:
addRepeatedFieldin interfacecom.google.protobuf.Message.Builder- Overrides:
addRepeatedFieldin classcom.google.protobuf.GeneratedMessageV3.Builder<LiveSession.Builder>
-
mergeFrom
public LiveSession.Builder mergeFrom(com.google.protobuf.Message other)
- Specified by:
mergeFromin interfacecom.google.protobuf.Message.Builder- Overrides:
mergeFromin classcom.google.protobuf.AbstractMessage.Builder<LiveSession.Builder>
-
mergeFrom
public LiveSession.Builder mergeFrom(LiveSession other)
-
isInitialized
public final boolean isInitialized()
- Specified by:
isInitializedin interfacecom.google.protobuf.MessageLiteOrBuilder- Overrides:
isInitializedin classcom.google.protobuf.GeneratedMessageV3.Builder<LiveSession.Builder>
-
mergeFrom
public LiveSession.Builder mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
- Specified by:
mergeFromin interfacecom.google.protobuf.Message.Builder- Specified by:
mergeFromin interfacecom.google.protobuf.MessageLite.Builder- Overrides:
mergeFromin classcom.google.protobuf.AbstractMessage.Builder<LiveSession.Builder>- Throws:
IOException
-
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];- Specified by:
getNamein interfaceLiveSessionOrBuilder- Returns:
- The name.
-
getNameBytes
public com.google.protobuf.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];- Specified by:
getNameBytesin interfaceLiveSessionOrBuilder- Returns:
- The bytes for name.
-
setName
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];- Parameters:
value- The name to set.- Returns:
- This builder for chaining.
-
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];- Returns:
- This builder for chaining.
-
setNameBytes
public LiveSession.Builder setNameBytes(com.google.protobuf.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];- Parameters:
value- The bytes for name to set.- Returns:
- This builder for chaining.
-
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];- Specified by:
getPlayUriin interfaceLiveSessionOrBuilder- Returns:
- The playUri.
-
getPlayUriBytes
public com.google.protobuf.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];- Specified by:
getPlayUriBytesin interfaceLiveSessionOrBuilder- Returns:
- The bytes for playUri.
-
setPlayUri
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];- Parameters:
value- The playUri to set.- Returns:
- This builder for chaining.
-
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];- Returns:
- This builder for chaining.
-
setPlayUriBytes
public LiveSession.Builder setPlayUriBytes(com.google.protobuf.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];- Parameters:
value- The bytes for playUri to set.- Returns:
- This builder for chaining.
-
getAdTagMacrosCount
public int getAdTagMacrosCount()
Description copied from interface:LiveSessionOrBuilderKey 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;- Specified by:
getAdTagMacrosCountin interfaceLiveSessionOrBuilder
-
containsAdTagMacros
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;- Specified by:
containsAdTagMacrosin interfaceLiveSessionOrBuilder
-
getAdTagMacros
@Deprecated public Map<String,String> getAdTagMacros()
Deprecated.UsegetAdTagMacrosMap()instead.- Specified by:
getAdTagMacrosin interfaceLiveSessionOrBuilder
-
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;- Specified by:
getAdTagMacrosMapin interfaceLiveSessionOrBuilder
-
getAdTagMacrosOrDefault
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;- Specified by:
getAdTagMacrosOrDefaultin interfaceLiveSessionOrBuilder
-
getAdTagMacrosOrThrow
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;- Specified by:
getAdTagMacrosOrThrowin interfaceLiveSessionOrBuilder
-
clearAdTagMacros
public LiveSession.Builder clearAdTagMacros()
-
removeAdTagMacros
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;
-
getMutableAdTagMacros
@Deprecated public Map<String,String> getMutableAdTagMacros()
Deprecated.Use alternate mutation accessors instead.
-
putAdTagMacros
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;
-
putAllAdTagMacros
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;
-
hasManifestOptions
public boolean hasManifestOptions()
Additional options that affect the output of the manifest.
.google.cloud.video.stitcher.v1.ManifestOptions manifest_options = 10;- Specified by:
hasManifestOptionsin interfaceLiveSessionOrBuilder- Returns:
- Whether the manifestOptions field is set.
-
getManifestOptions
public ManifestOptions getManifestOptions()
Additional options that affect the output of the manifest.
.google.cloud.video.stitcher.v1.ManifestOptions manifest_options = 10;- Specified by:
getManifestOptionsin interfaceLiveSessionOrBuilder- Returns:
- The manifestOptions.
-
setManifestOptions
public LiveSession.Builder setManifestOptions(ManifestOptions value)
Additional options that affect the output of the manifest.
.google.cloud.video.stitcher.v1.ManifestOptions manifest_options = 10;
-
setManifestOptions
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;
-
mergeManifestOptions
public LiveSession.Builder mergeManifestOptions(ManifestOptions value)
Additional options that affect the output of the manifest.
.google.cloud.video.stitcher.v1.ManifestOptions manifest_options = 10;
-
clearManifestOptions
public LiveSession.Builder clearManifestOptions()
Additional options that affect the output of the manifest.
.google.cloud.video.stitcher.v1.ManifestOptions manifest_options = 10;
-
getManifestOptionsBuilder
public ManifestOptions.Builder getManifestOptionsBuilder()
Additional options that affect the output of the manifest.
.google.cloud.video.stitcher.v1.ManifestOptions manifest_options = 10;
-
getManifestOptionsOrBuilder
public ManifestOptionsOrBuilder getManifestOptionsOrBuilder()
Additional options that affect the output of the manifest.
.google.cloud.video.stitcher.v1.ManifestOptions manifest_options = 10;- Specified by:
getManifestOptionsOrBuilderin interfaceLiveSessionOrBuilder
-
hasGamSettings
public boolean hasGamSettings()
This field should be set with appropriate values if GAM is being used for ads.
.google.cloud.video.stitcher.v1.LiveSession.GamSettings gam_settings = 15;- Specified by:
hasGamSettingsin interfaceLiveSessionOrBuilder- Returns:
- Whether the gamSettings field is set.
-
getGamSettings
public LiveSession.GamSettings getGamSettings()
This field should be set with appropriate values if GAM is being used for ads.
.google.cloud.video.stitcher.v1.LiveSession.GamSettings gam_settings = 15;- Specified by:
getGamSettingsin interfaceLiveSessionOrBuilder- Returns:
- The gamSettings.
-
setGamSettings
public LiveSession.Builder setGamSettings(LiveSession.GamSettings value)
This field should be set with appropriate values if GAM is being used for ads.
.google.cloud.video.stitcher.v1.LiveSession.GamSettings gam_settings = 15;
-
setGamSettings
public LiveSession.Builder setGamSettings(LiveSession.GamSettings.Builder builderForValue)
This field should be set with appropriate values if GAM is being used for ads.
.google.cloud.video.stitcher.v1.LiveSession.GamSettings gam_settings = 15;
-
mergeGamSettings
public LiveSession.Builder mergeGamSettings(LiveSession.GamSettings value)
This field should be set with appropriate values if GAM is being used for ads.
.google.cloud.video.stitcher.v1.LiveSession.GamSettings gam_settings = 15;
-
clearGamSettings
public LiveSession.Builder clearGamSettings()
This field should be set with appropriate values if GAM is being used for ads.
.google.cloud.video.stitcher.v1.LiveSession.GamSettings gam_settings = 15;
-
getGamSettingsBuilder
public LiveSession.GamSettings.Builder getGamSettingsBuilder()
This field should be set with appropriate values if GAM is being used for ads.
.google.cloud.video.stitcher.v1.LiveSession.GamSettings gam_settings = 15;
-
getGamSettingsOrBuilder
public LiveSession.GamSettingsOrBuilder getGamSettingsOrBuilder()
This field should be set with appropriate values if GAM is being used for ads.
.google.cloud.video.stitcher.v1.LiveSession.GamSettings gam_settings = 15;- Specified by:
getGamSettingsOrBuilderin interfaceLiveSessionOrBuilder
-
getLiveConfig
public String getLiveConfig()
Required. The resource name of the live config for this session, in the form of `projects/{project}/locations/{location}/liveConfigs/{id}`.string live_config = 16 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }- Specified by:
getLiveConfigin interfaceLiveSessionOrBuilder- Returns:
- The liveConfig.
-
getLiveConfigBytes
public com.google.protobuf.ByteString getLiveConfigBytes()
Required. The resource name of the live config for this session, in the form of `projects/{project}/locations/{location}/liveConfigs/{id}`.string live_config = 16 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }- Specified by:
getLiveConfigBytesin interfaceLiveSessionOrBuilder- Returns:
- The bytes for liveConfig.
-
setLiveConfig
public LiveSession.Builder setLiveConfig(String value)
Required. The resource name of the live config for this session, in the form of `projects/{project}/locations/{location}/liveConfigs/{id}`.string live_config = 16 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }- Parameters:
value- The liveConfig to set.- Returns:
- This builder for chaining.
-
clearLiveConfig
public LiveSession.Builder clearLiveConfig()
Required. The resource name of the live config for this session, in the form of `projects/{project}/locations/{location}/liveConfigs/{id}`.string live_config = 16 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }- Returns:
- This builder for chaining.
-
setLiveConfigBytes
public LiveSession.Builder setLiveConfigBytes(com.google.protobuf.ByteString value)
Required. The resource name of the live config for this session, in the form of `projects/{project}/locations/{location}/liveConfigs/{id}`.string live_config = 16 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }- Parameters:
value- The bytes for liveConfig to set.- Returns:
- This builder for chaining.
-
setUnknownFields
public final LiveSession.Builder setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
- Specified by:
setUnknownFieldsin interfacecom.google.protobuf.Message.Builder- Overrides:
setUnknownFieldsin classcom.google.protobuf.GeneratedMessageV3.Builder<LiveSession.Builder>
-
mergeUnknownFields
public final LiveSession.Builder mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
- Specified by:
mergeUnknownFieldsin interfacecom.google.protobuf.Message.Builder- Overrides:
mergeUnknownFieldsin classcom.google.protobuf.GeneratedMessageV3.Builder<LiveSession.Builder>
-
-