Class LiveConfig.Builder
- java.lang.Object
-
- com.google.protobuf.AbstractMessageLite.Builder
-
- com.google.protobuf.AbstractMessage.Builder<BuilderT>
-
- com.google.protobuf.GeneratedMessageV3.Builder<LiveConfig.Builder>
-
- com.google.cloud.video.stitcher.v1.LiveConfig.Builder
-
- All Implemented Interfaces:
LiveConfigOrBuilder
,com.google.protobuf.Message.Builder
,com.google.protobuf.MessageLite.Builder
,com.google.protobuf.MessageLiteOrBuilder
,com.google.protobuf.MessageOrBuilder
,Cloneable
- Enclosing class:
- LiveConfig
public static final class LiveConfig.Builder extends com.google.protobuf.GeneratedMessageV3.Builder<LiveConfig.Builder> implements LiveConfigOrBuilder
Metadata for used to register live configs.
Protobuf typegoogle.cloud.video.stitcher.v1.LiveConfig
-
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description LiveConfig.Builder
addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
LiveConfig
build()
LiveConfig
buildPartial()
LiveConfig.Builder
clear()
LiveConfig.Builder
clearAdTagUri()
The default ad tag associated with this live stream config.LiveConfig.Builder
clearAdTracking()
Required.LiveConfig.Builder
clearDefaultSlate()
This must refer to a slate in the same project.LiveConfig.Builder
clearField(com.google.protobuf.Descriptors.FieldDescriptor field)
LiveConfig.Builder
clearGamLiveConfig()
Additional metadata used to register a live stream with Google Ad Manager (GAM)LiveConfig.Builder
clearName()
Output only.LiveConfig.Builder
clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)
LiveConfig.Builder
clearPrefetchConfig()
The configuration for prefetching ads.LiveConfig.Builder
clearSourceUri()
Required.LiveConfig.Builder
clearState()
Output only.LiveConfig.Builder
clearStitchingPolicy()
Defines the stitcher behavior in case an ad does not align exactly with the ad break boundaries.LiveConfig.Builder
clone()
String
getAdTagUri()
The default ad tag associated with this live stream config.com.google.protobuf.ByteString
getAdTagUriBytes()
The default ad tag associated with this live stream config.AdTracking
getAdTracking()
Required.int
getAdTrackingValue()
Required.LiveConfig
getDefaultInstanceForType()
String
getDefaultSlate()
This must refer to a slate in the same project.com.google.protobuf.ByteString
getDefaultSlateBytes()
This must refer to a slate in the same project.static com.google.protobuf.Descriptors.Descriptor
getDescriptor()
com.google.protobuf.Descriptors.Descriptor
getDescriptorForType()
GamLiveConfig
getGamLiveConfig()
Additional metadata used to register a live stream with Google Ad Manager (GAM)GamLiveConfig.Builder
getGamLiveConfigBuilder()
Additional metadata used to register a live stream with Google Ad Manager (GAM)GamLiveConfigOrBuilder
getGamLiveConfigOrBuilder()
Additional metadata used to register a live stream with Google Ad Manager (GAM)String
getName()
Output only.com.google.protobuf.ByteString
getNameBytes()
Output only.PrefetchConfig
getPrefetchConfig()
The configuration for prefetching ads.PrefetchConfig.Builder
getPrefetchConfigBuilder()
The configuration for prefetching ads.PrefetchConfigOrBuilder
getPrefetchConfigOrBuilder()
The configuration for prefetching ads.String
getSourceUri()
Required.com.google.protobuf.ByteString
getSourceUriBytes()
Required.LiveConfig.State
getState()
Output only.int
getStateValue()
Output only.LiveConfig.StitchingPolicy
getStitchingPolicy()
Defines the stitcher behavior in case an ad does not align exactly with the ad break boundaries.int
getStitchingPolicyValue()
Defines the stitcher behavior in case an ad does not align exactly with the ad break boundaries.boolean
hasGamLiveConfig()
Additional metadata used to register a live stream with Google Ad Manager (GAM)boolean
hasPrefetchConfig()
The configuration for prefetching ads.protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable()
boolean
isInitialized()
LiveConfig.Builder
mergeFrom(LiveConfig other)
LiveConfig.Builder
mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
LiveConfig.Builder
mergeFrom(com.google.protobuf.Message other)
LiveConfig.Builder
mergeGamLiveConfig(GamLiveConfig value)
Additional metadata used to register a live stream with Google Ad Manager (GAM)LiveConfig.Builder
mergePrefetchConfig(PrefetchConfig value)
The configuration for prefetching ads.LiveConfig.Builder
mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
LiveConfig.Builder
setAdTagUri(String value)
The default ad tag associated with this live stream config.LiveConfig.Builder
setAdTagUriBytes(com.google.protobuf.ByteString value)
The default ad tag associated with this live stream config.LiveConfig.Builder
setAdTracking(AdTracking value)
Required.LiveConfig.Builder
setAdTrackingValue(int value)
Required.LiveConfig.Builder
setDefaultSlate(String value)
This must refer to a slate in the same project.LiveConfig.Builder
setDefaultSlateBytes(com.google.protobuf.ByteString value)
This must refer to a slate in the same project.LiveConfig.Builder
setField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
LiveConfig.Builder
setGamLiveConfig(GamLiveConfig value)
Additional metadata used to register a live stream with Google Ad Manager (GAM)LiveConfig.Builder
setGamLiveConfig(GamLiveConfig.Builder builderForValue)
Additional metadata used to register a live stream with Google Ad Manager (GAM)LiveConfig.Builder
setName(String value)
Output only.LiveConfig.Builder
setNameBytes(com.google.protobuf.ByteString value)
Output only.LiveConfig.Builder
setPrefetchConfig(PrefetchConfig value)
The configuration for prefetching ads.LiveConfig.Builder
setPrefetchConfig(PrefetchConfig.Builder builderForValue)
The configuration for prefetching ads.LiveConfig.Builder
setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, Object value)
LiveConfig.Builder
setSourceUri(String value)
Required.LiveConfig.Builder
setSourceUriBytes(com.google.protobuf.ByteString value)
Required.LiveConfig.Builder
setState(LiveConfig.State value)
Output only.LiveConfig.Builder
setStateValue(int value)
Output only.LiveConfig.Builder
setStitchingPolicy(LiveConfig.StitchingPolicy value)
Defines the stitcher behavior in case an ad does not align exactly with the ad break boundaries.LiveConfig.Builder
setStitchingPolicyValue(int value)
Defines the stitcher behavior in case an ad does not align exactly with the ad break boundaries.LiveConfig.Builder
setUnknownFields(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, internalGetMapField, internalGetMutableMapField, 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()
-
internalGetFieldAccessorTable
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
- Specified by:
internalGetFieldAccessorTable
in classcom.google.protobuf.GeneratedMessageV3.Builder<LiveConfig.Builder>
-
clear
public LiveConfig.Builder clear()
- Specified by:
clear
in interfacecom.google.protobuf.Message.Builder
- Specified by:
clear
in interfacecom.google.protobuf.MessageLite.Builder
- Overrides:
clear
in classcom.google.protobuf.GeneratedMessageV3.Builder<LiveConfig.Builder>
-
getDescriptorForType
public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()
- Specified by:
getDescriptorForType
in interfacecom.google.protobuf.Message.Builder
- Specified by:
getDescriptorForType
in interfacecom.google.protobuf.MessageOrBuilder
- Overrides:
getDescriptorForType
in classcom.google.protobuf.GeneratedMessageV3.Builder<LiveConfig.Builder>
-
getDefaultInstanceForType
public LiveConfig getDefaultInstanceForType()
- Specified by:
getDefaultInstanceForType
in interfacecom.google.protobuf.MessageLiteOrBuilder
- Specified by:
getDefaultInstanceForType
in interfacecom.google.protobuf.MessageOrBuilder
-
build
public LiveConfig build()
- Specified by:
build
in interfacecom.google.protobuf.Message.Builder
- Specified by:
build
in interfacecom.google.protobuf.MessageLite.Builder
-
buildPartial
public LiveConfig buildPartial()
- Specified by:
buildPartial
in interfacecom.google.protobuf.Message.Builder
- Specified by:
buildPartial
in interfacecom.google.protobuf.MessageLite.Builder
-
clone
public LiveConfig.Builder clone()
- Specified by:
clone
in interfacecom.google.protobuf.Message.Builder
- Specified by:
clone
in interfacecom.google.protobuf.MessageLite.Builder
- Overrides:
clone
in classcom.google.protobuf.GeneratedMessageV3.Builder<LiveConfig.Builder>
-
setField
public LiveConfig.Builder setField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
- Specified by:
setField
in interfacecom.google.protobuf.Message.Builder
- Overrides:
setField
in classcom.google.protobuf.GeneratedMessageV3.Builder<LiveConfig.Builder>
-
clearField
public LiveConfig.Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field)
- Specified by:
clearField
in interfacecom.google.protobuf.Message.Builder
- Overrides:
clearField
in classcom.google.protobuf.GeneratedMessageV3.Builder<LiveConfig.Builder>
-
clearOneof
public LiveConfig.Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)
- Specified by:
clearOneof
in interfacecom.google.protobuf.Message.Builder
- Overrides:
clearOneof
in classcom.google.protobuf.GeneratedMessageV3.Builder<LiveConfig.Builder>
-
setRepeatedField
public LiveConfig.Builder setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, Object value)
- Specified by:
setRepeatedField
in interfacecom.google.protobuf.Message.Builder
- Overrides:
setRepeatedField
in classcom.google.protobuf.GeneratedMessageV3.Builder<LiveConfig.Builder>
-
addRepeatedField
public LiveConfig.Builder addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
- Specified by:
addRepeatedField
in interfacecom.google.protobuf.Message.Builder
- Overrides:
addRepeatedField
in classcom.google.protobuf.GeneratedMessageV3.Builder<LiveConfig.Builder>
-
mergeFrom
public LiveConfig.Builder mergeFrom(com.google.protobuf.Message other)
- Specified by:
mergeFrom
in interfacecom.google.protobuf.Message.Builder
- Overrides:
mergeFrom
in classcom.google.protobuf.AbstractMessage.Builder<LiveConfig.Builder>
-
mergeFrom
public LiveConfig.Builder mergeFrom(LiveConfig other)
-
isInitialized
public final boolean isInitialized()
- Specified by:
isInitialized
in interfacecom.google.protobuf.MessageLiteOrBuilder
- Overrides:
isInitialized
in classcom.google.protobuf.GeneratedMessageV3.Builder<LiveConfig.Builder>
-
mergeFrom
public LiveConfig.Builder mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
- Specified by:
mergeFrom
in interfacecom.google.protobuf.Message.Builder
- Specified by:
mergeFrom
in interfacecom.google.protobuf.MessageLite.Builder
- Overrides:
mergeFrom
in classcom.google.protobuf.AbstractMessage.Builder<LiveConfig.Builder>
- Throws:
IOException
-
getName
public String getName()
Output only. The resource name of the live config, in the form of `projects/{project}/locations/{location}/liveConfigs/{id}`.
string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];
- Specified by:
getName
in interfaceLiveConfigOrBuilder
- Returns:
- The name.
-
getNameBytes
public com.google.protobuf.ByteString getNameBytes()
Output only. The resource name of the live config, in the form of `projects/{project}/locations/{location}/liveConfigs/{id}`.
string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];
- Specified by:
getNameBytes
in interfaceLiveConfigOrBuilder
- Returns:
- The bytes for name.
-
setName
public LiveConfig.Builder setName(String value)
Output only. The resource name of the live config, in the form of `projects/{project}/locations/{location}/liveConfigs/{id}`.
string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];
- Parameters:
value
- The name to set.- Returns:
- This builder for chaining.
-
clearName
public LiveConfig.Builder clearName()
Output only. The resource name of the live config, in the form of `projects/{project}/locations/{location}/liveConfigs/{id}`.
string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];
- Returns:
- This builder for chaining.
-
setNameBytes
public LiveConfig.Builder setNameBytes(com.google.protobuf.ByteString value)
Output only. The resource name of the live config, in the form of `projects/{project}/locations/{location}/liveConfigs/{id}`.
string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];
- Parameters:
value
- The bytes for name to set.- Returns:
- This builder for chaining.
-
getSourceUri
public String getSourceUri()
Required. Source URI for the live stream manifest.
string source_uri = 2 [(.google.api.field_behavior) = REQUIRED];
- Specified by:
getSourceUri
in interfaceLiveConfigOrBuilder
- Returns:
- The sourceUri.
-
getSourceUriBytes
public com.google.protobuf.ByteString getSourceUriBytes()
Required. Source URI for the live stream manifest.
string source_uri = 2 [(.google.api.field_behavior) = REQUIRED];
- Specified by:
getSourceUriBytes
in interfaceLiveConfigOrBuilder
- Returns:
- The bytes for sourceUri.
-
setSourceUri
public LiveConfig.Builder setSourceUri(String value)
Required. Source URI for the live stream manifest.
string source_uri = 2 [(.google.api.field_behavior) = REQUIRED];
- Parameters:
value
- The sourceUri to set.- Returns:
- This builder for chaining.
-
clearSourceUri
public LiveConfig.Builder clearSourceUri()
Required. Source URI for the live stream manifest.
string source_uri = 2 [(.google.api.field_behavior) = REQUIRED];
- Returns:
- This builder for chaining.
-
setSourceUriBytes
public LiveConfig.Builder setSourceUriBytes(com.google.protobuf.ByteString value)
Required. Source URI for the live stream manifest.
string source_uri = 2 [(.google.api.field_behavior) = REQUIRED];
- Parameters:
value
- The bytes for sourceUri to set.- Returns:
- This builder for chaining.
-
getAdTagUri
public String getAdTagUri()
The default ad tag associated with this live stream config.
string ad_tag_uri = 3;
- Specified by:
getAdTagUri
in interfaceLiveConfigOrBuilder
- Returns:
- The adTagUri.
-
getAdTagUriBytes
public com.google.protobuf.ByteString getAdTagUriBytes()
The default ad tag associated with this live stream config.
string ad_tag_uri = 3;
- Specified by:
getAdTagUriBytes
in interfaceLiveConfigOrBuilder
- Returns:
- The bytes for adTagUri.
-
setAdTagUri
public LiveConfig.Builder setAdTagUri(String value)
The default ad tag associated with this live stream config.
string ad_tag_uri = 3;
- Parameters:
value
- The adTagUri to set.- Returns:
- This builder for chaining.
-
clearAdTagUri
public LiveConfig.Builder clearAdTagUri()
The default ad tag associated with this live stream config.
string ad_tag_uri = 3;
- Returns:
- This builder for chaining.
-
setAdTagUriBytes
public LiveConfig.Builder setAdTagUriBytes(com.google.protobuf.ByteString value)
The default ad tag associated with this live stream config.
string ad_tag_uri = 3;
- Parameters:
value
- The bytes for adTagUri to set.- Returns:
- This builder for chaining.
-
hasGamLiveConfig
public boolean hasGamLiveConfig()
Additional metadata used to register a live stream with Google Ad Manager (GAM)
.google.cloud.video.stitcher.v1.GamLiveConfig gam_live_config = 4;
- Specified by:
hasGamLiveConfig
in interfaceLiveConfigOrBuilder
- Returns:
- Whether the gamLiveConfig field is set.
-
getGamLiveConfig
public GamLiveConfig getGamLiveConfig()
Additional metadata used to register a live stream with Google Ad Manager (GAM)
.google.cloud.video.stitcher.v1.GamLiveConfig gam_live_config = 4;
- Specified by:
getGamLiveConfig
in interfaceLiveConfigOrBuilder
- Returns:
- The gamLiveConfig.
-
setGamLiveConfig
public LiveConfig.Builder setGamLiveConfig(GamLiveConfig value)
Additional metadata used to register a live stream with Google Ad Manager (GAM)
.google.cloud.video.stitcher.v1.GamLiveConfig gam_live_config = 4;
-
setGamLiveConfig
public LiveConfig.Builder setGamLiveConfig(GamLiveConfig.Builder builderForValue)
Additional metadata used to register a live stream with Google Ad Manager (GAM)
.google.cloud.video.stitcher.v1.GamLiveConfig gam_live_config = 4;
-
mergeGamLiveConfig
public LiveConfig.Builder mergeGamLiveConfig(GamLiveConfig value)
Additional metadata used to register a live stream with Google Ad Manager (GAM)
.google.cloud.video.stitcher.v1.GamLiveConfig gam_live_config = 4;
-
clearGamLiveConfig
public LiveConfig.Builder clearGamLiveConfig()
Additional metadata used to register a live stream with Google Ad Manager (GAM)
.google.cloud.video.stitcher.v1.GamLiveConfig gam_live_config = 4;
-
getGamLiveConfigBuilder
public GamLiveConfig.Builder getGamLiveConfigBuilder()
Additional metadata used to register a live stream with Google Ad Manager (GAM)
.google.cloud.video.stitcher.v1.GamLiveConfig gam_live_config = 4;
-
getGamLiveConfigOrBuilder
public GamLiveConfigOrBuilder getGamLiveConfigOrBuilder()
Additional metadata used to register a live stream with Google Ad Manager (GAM)
.google.cloud.video.stitcher.v1.GamLiveConfig gam_live_config = 4;
- Specified by:
getGamLiveConfigOrBuilder
in interfaceLiveConfigOrBuilder
-
getStateValue
public int getStateValue()
Output only. State of the live config.
.google.cloud.video.stitcher.v1.LiveConfig.State state = 5 [(.google.api.field_behavior) = OUTPUT_ONLY];
- Specified by:
getStateValue
in interfaceLiveConfigOrBuilder
- Returns:
- The enum numeric value on the wire for state.
-
setStateValue
public LiveConfig.Builder setStateValue(int value)
Output only. State of the live config.
.google.cloud.video.stitcher.v1.LiveConfig.State state = 5 [(.google.api.field_behavior) = OUTPUT_ONLY];
- Parameters:
value
- The enum numeric value on the wire for state to set.- Returns:
- This builder for chaining.
-
getState
public LiveConfig.State getState()
Output only. State of the live config.
.google.cloud.video.stitcher.v1.LiveConfig.State state = 5 [(.google.api.field_behavior) = OUTPUT_ONLY];
- Specified by:
getState
in interfaceLiveConfigOrBuilder
- Returns:
- The state.
-
setState
public LiveConfig.Builder setState(LiveConfig.State value)
Output only. State of the live config.
.google.cloud.video.stitcher.v1.LiveConfig.State state = 5 [(.google.api.field_behavior) = OUTPUT_ONLY];
- Parameters:
value
- The state to set.- Returns:
- This builder for chaining.
-
clearState
public LiveConfig.Builder clearState()
Output only. State of the live config.
.google.cloud.video.stitcher.v1.LiveConfig.State state = 5 [(.google.api.field_behavior) = OUTPUT_ONLY];
- Returns:
- This builder for chaining.
-
getAdTrackingValue
public int getAdTrackingValue()
Required. Determines how the ads are tracked. If [gam_live_config][google.cloud.video.stitcher.v1.LiveConfig.gam_live_config] is set, the value must be `CLIENT` because the IMA SDK handles ad tracking.
.google.cloud.video.stitcher.v1.AdTracking ad_tracking = 6 [(.google.api.field_behavior) = REQUIRED];
- Specified by:
getAdTrackingValue
in interfaceLiveConfigOrBuilder
- Returns:
- The enum numeric value on the wire for adTracking.
-
setAdTrackingValue
public LiveConfig.Builder setAdTrackingValue(int value)
Required. Determines how the ads are tracked. If [gam_live_config][google.cloud.video.stitcher.v1.LiveConfig.gam_live_config] is set, the value must be `CLIENT` because the IMA SDK handles ad tracking.
.google.cloud.video.stitcher.v1.AdTracking ad_tracking = 6 [(.google.api.field_behavior) = REQUIRED];
- Parameters:
value
- The enum numeric value on the wire for adTracking to set.- Returns:
- This builder for chaining.
-
getAdTracking
public AdTracking getAdTracking()
Required. Determines how the ads are tracked. If [gam_live_config][google.cloud.video.stitcher.v1.LiveConfig.gam_live_config] is set, the value must be `CLIENT` because the IMA SDK handles ad tracking.
.google.cloud.video.stitcher.v1.AdTracking ad_tracking = 6 [(.google.api.field_behavior) = REQUIRED];
- Specified by:
getAdTracking
in interfaceLiveConfigOrBuilder
- Returns:
- The adTracking.
-
setAdTracking
public LiveConfig.Builder setAdTracking(AdTracking value)
Required. Determines how the ads are tracked. If [gam_live_config][google.cloud.video.stitcher.v1.LiveConfig.gam_live_config] is set, the value must be `CLIENT` because the IMA SDK handles ad tracking.
.google.cloud.video.stitcher.v1.AdTracking ad_tracking = 6 [(.google.api.field_behavior) = REQUIRED];
- Parameters:
value
- The adTracking to set.- Returns:
- This builder for chaining.
-
clearAdTracking
public LiveConfig.Builder clearAdTracking()
Required. Determines how the ads are tracked. If [gam_live_config][google.cloud.video.stitcher.v1.LiveConfig.gam_live_config] is set, the value must be `CLIENT` because the IMA SDK handles ad tracking.
.google.cloud.video.stitcher.v1.AdTracking ad_tracking = 6 [(.google.api.field_behavior) = REQUIRED];
- Returns:
- This builder for chaining.
-
getDefaultSlate
public String getDefaultSlate()
This must refer to a slate in the same project. If Google Ad Manager (GAM) is used for ads, this string sets the value of `slateCreativeId` in https://developers.google.com/ad-manager/api/reference/v202211/LiveStreamEventService.LiveStreamEvent#slateCreativeId
string default_slate = 7 [(.google.api.resource_reference) = { ... }
- Specified by:
getDefaultSlate
in interfaceLiveConfigOrBuilder
- Returns:
- The defaultSlate.
-
getDefaultSlateBytes
public com.google.protobuf.ByteString getDefaultSlateBytes()
This must refer to a slate in the same project. If Google Ad Manager (GAM) is used for ads, this string sets the value of `slateCreativeId` in https://developers.google.com/ad-manager/api/reference/v202211/LiveStreamEventService.LiveStreamEvent#slateCreativeId
string default_slate = 7 [(.google.api.resource_reference) = { ... }
- Specified by:
getDefaultSlateBytes
in interfaceLiveConfigOrBuilder
- Returns:
- The bytes for defaultSlate.
-
setDefaultSlate
public LiveConfig.Builder setDefaultSlate(String value)
This must refer to a slate in the same project. If Google Ad Manager (GAM) is used for ads, this string sets the value of `slateCreativeId` in https://developers.google.com/ad-manager/api/reference/v202211/LiveStreamEventService.LiveStreamEvent#slateCreativeId
string default_slate = 7 [(.google.api.resource_reference) = { ... }
- Parameters:
value
- The defaultSlate to set.- Returns:
- This builder for chaining.
-
clearDefaultSlate
public LiveConfig.Builder clearDefaultSlate()
This must refer to a slate in the same project. If Google Ad Manager (GAM) is used for ads, this string sets the value of `slateCreativeId` in https://developers.google.com/ad-manager/api/reference/v202211/LiveStreamEventService.LiveStreamEvent#slateCreativeId
string default_slate = 7 [(.google.api.resource_reference) = { ... }
- Returns:
- This builder for chaining.
-
setDefaultSlateBytes
public LiveConfig.Builder setDefaultSlateBytes(com.google.protobuf.ByteString value)
This must refer to a slate in the same project. If Google Ad Manager (GAM) is used for ads, this string sets the value of `slateCreativeId` in https://developers.google.com/ad-manager/api/reference/v202211/LiveStreamEventService.LiveStreamEvent#slateCreativeId
string default_slate = 7 [(.google.api.resource_reference) = { ... }
- Parameters:
value
- The bytes for defaultSlate to set.- Returns:
- This builder for chaining.
-
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 `CUT_CURRENT`.
.google.cloud.video.stitcher.v1.LiveConfig.StitchingPolicy stitching_policy = 8;
- Specified by:
getStitchingPolicyValue
in interfaceLiveConfigOrBuilder
- Returns:
- The enum numeric value on the wire for stitchingPolicy.
-
setStitchingPolicyValue
public LiveConfig.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 `CUT_CURRENT`.
.google.cloud.video.stitcher.v1.LiveConfig.StitchingPolicy stitching_policy = 8;
- Parameters:
value
- The enum numeric value on the wire for stitchingPolicy to set.- Returns:
- This builder for chaining.
-
getStitchingPolicy
public LiveConfig.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 `CUT_CURRENT`.
.google.cloud.video.stitcher.v1.LiveConfig.StitchingPolicy stitching_policy = 8;
- Specified by:
getStitchingPolicy
in interfaceLiveConfigOrBuilder
- Returns:
- The stitchingPolicy.
-
setStitchingPolicy
public LiveConfig.Builder setStitchingPolicy(LiveConfig.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 `CUT_CURRENT`.
.google.cloud.video.stitcher.v1.LiveConfig.StitchingPolicy stitching_policy = 8;
- Parameters:
value
- The stitchingPolicy to set.- Returns:
- This builder for chaining.
-
clearStitchingPolicy
public LiveConfig.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 `CUT_CURRENT`.
.google.cloud.video.stitcher.v1.LiveConfig.StitchingPolicy stitching_policy = 8;
- Returns:
- This builder for chaining.
-
hasPrefetchConfig
public boolean hasPrefetchConfig()
The configuration for prefetching ads.
.google.cloud.video.stitcher.v1.PrefetchConfig prefetch_config = 10;
- Specified by:
hasPrefetchConfig
in interfaceLiveConfigOrBuilder
- Returns:
- Whether the prefetchConfig field is set.
-
getPrefetchConfig
public PrefetchConfig getPrefetchConfig()
The configuration for prefetching ads.
.google.cloud.video.stitcher.v1.PrefetchConfig prefetch_config = 10;
- Specified by:
getPrefetchConfig
in interfaceLiveConfigOrBuilder
- Returns:
- The prefetchConfig.
-
setPrefetchConfig
public LiveConfig.Builder setPrefetchConfig(PrefetchConfig value)
The configuration for prefetching ads.
.google.cloud.video.stitcher.v1.PrefetchConfig prefetch_config = 10;
-
setPrefetchConfig
public LiveConfig.Builder setPrefetchConfig(PrefetchConfig.Builder builderForValue)
The configuration for prefetching ads.
.google.cloud.video.stitcher.v1.PrefetchConfig prefetch_config = 10;
-
mergePrefetchConfig
public LiveConfig.Builder mergePrefetchConfig(PrefetchConfig value)
The configuration for prefetching ads.
.google.cloud.video.stitcher.v1.PrefetchConfig prefetch_config = 10;
-
clearPrefetchConfig
public LiveConfig.Builder clearPrefetchConfig()
The configuration for prefetching ads.
.google.cloud.video.stitcher.v1.PrefetchConfig prefetch_config = 10;
-
getPrefetchConfigBuilder
public PrefetchConfig.Builder getPrefetchConfigBuilder()
The configuration for prefetching ads.
.google.cloud.video.stitcher.v1.PrefetchConfig prefetch_config = 10;
-
getPrefetchConfigOrBuilder
public PrefetchConfigOrBuilder getPrefetchConfigOrBuilder()
The configuration for prefetching ads.
.google.cloud.video.stitcher.v1.PrefetchConfig prefetch_config = 10;
- Specified by:
getPrefetchConfigOrBuilder
in interfaceLiveConfigOrBuilder
-
setUnknownFields
public final LiveConfig.Builder setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
- Specified by:
setUnknownFields
in interfacecom.google.protobuf.Message.Builder
- Overrides:
setUnknownFields
in classcom.google.protobuf.GeneratedMessageV3.Builder<LiveConfig.Builder>
-
mergeUnknownFields
public final LiveConfig.Builder mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
- Specified by:
mergeUnknownFields
in interfacecom.google.protobuf.Message.Builder
- Overrides:
mergeUnknownFields
in classcom.google.protobuf.GeneratedMessageV3.Builder<LiveConfig.Builder>
-
-