Class LiveConfig
java.lang.Object
com.google.protobuf.AbstractMessageLite
com.google.protobuf.AbstractMessage
com.google.protobuf.GeneratedMessage
com.google.cloud.video.stitcher.v1.LiveConfig
- All Implemented Interfaces:
LiveConfigOrBuilder,com.google.protobuf.Message,com.google.protobuf.MessageLite,com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder,Serializable
@Generated
public final class LiveConfig
extends com.google.protobuf.GeneratedMessage
implements LiveConfigOrBuilder
Metadata for used to register live configs.Protobuf type
google.cloud.video.stitcher.v1.LiveConfig- See Also:
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic final classMetadata for used to register live configs.static enumState of the live config.static enumDefines the ad stitching behavior in case the ad duration does not align exactly with the ad break boundaries.Nested classes/interfaces inherited from class com.google.protobuf.GeneratedMessage
com.google.protobuf.GeneratedMessage.ExtendableBuilder<MessageT extends com.google.protobuf.GeneratedMessage.ExtendableMessage<MessageT>,BuilderT extends com.google.protobuf.GeneratedMessage.ExtendableBuilder<MessageT, BuilderT>>, com.google.protobuf.GeneratedMessage.ExtendableMessage<MessageT extends com.google.protobuf.GeneratedMessage.ExtendableMessage<MessageT>>, com.google.protobuf.GeneratedMessage.ExtendableMessageOrBuilder<MessageT extends com.google.protobuf.GeneratedMessage.ExtendableMessage<MessageT>>, com.google.protobuf.GeneratedMessage.FieldAccessorTable, com.google.protobuf.GeneratedMessage.GeneratedExtension<ContainingT extends com.google.protobuf.Message, T extends Object>, com.google.protobuf.GeneratedMessage.UnusedPrivateParameter Nested classes/interfaces inherited from class com.google.protobuf.AbstractMessage
com.google.protobuf.AbstractMessage.BuilderParentNested classes/interfaces inherited from class com.google.protobuf.AbstractMessageLite
com.google.protobuf.AbstractMessageLite.InternalOneOfEnum -
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final intstatic final intstatic final intstatic final intstatic final intstatic final intstatic final intstatic final intstatic final intstatic final intFields inherited from class com.google.protobuf.GeneratedMessage
alwaysUseFieldBuilders, loggedPre22TypeNames, unknownFieldsFields inherited from class com.google.protobuf.AbstractMessage
memoizedSizeFields inherited from class com.google.protobuf.AbstractMessageLite
memoizedHashCode -
Method Summary
Modifier and TypeMethodDescriptionbooleanThe default ad tag associated with this live stream config.com.google.protobuf.ByteStringThe default ad tag associated with this live stream config.Required.intRequired.static LiveConfigThis must refer to a slate in the same project.com.google.protobuf.ByteStringThis must refer to a slate in the same project.static final com.google.protobuf.Descriptors.DescriptorAdditional metadata used to register a live stream with Google Ad Manager (GAM)Additional metadata used to register a live stream with Google Ad Manager (GAM)getName()Output only.com.google.protobuf.ByteStringOutput only.com.google.protobuf.Parser<LiveConfig>The configuration for prefetching ads.The configuration for prefetching ads.intOptions for fetching source manifests and segments.Options for fetching source manifests and segments.Required.com.google.protobuf.ByteStringRequired.getState()Output only.intOutput only.Defines the stitcher behavior in case an ad does not align exactly with the ad break boundaries.intDefines the stitcher behavior in case an ad does not align exactly with the ad break boundaries.booleanAdditional metadata used to register a live stream with Google Ad Manager (GAM)inthashCode()booleanThe configuration for prefetching ads.booleanOptions for fetching source manifests and segments.protected com.google.protobuf.GeneratedMessage.FieldAccessorTablefinal booleanstatic LiveConfig.Builderstatic LiveConfig.BuildernewBuilder(LiveConfig prototype) protected LiveConfig.BuildernewBuilderForType(com.google.protobuf.AbstractMessage.BuilderParent parent) static LiveConfigparseDelimitedFrom(InputStream input) static LiveConfigparseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static LiveConfigparseFrom(byte[] data) static LiveConfigparseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static LiveConfigparseFrom(com.google.protobuf.ByteString data) static LiveConfigparseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static LiveConfigparseFrom(com.google.protobuf.CodedInputStream input) static LiveConfigparseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static LiveConfigparseFrom(InputStream input) static LiveConfigparseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static LiveConfigparseFrom(ByteBuffer data) static LiveConfigparseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static com.google.protobuf.Parser<LiveConfig>parser()voidwriteTo(com.google.protobuf.CodedOutputStream output) Methods inherited from class com.google.protobuf.GeneratedMessage
canUseUnsafe, computeStringSize, computeStringSizeNoTag, emptyBooleanList, emptyDoubleList, emptyFloatList, emptyIntList, emptyList, emptyLongList, getAllFields, getDescriptorForType, getField, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof, internalGetMapField, internalGetMapFieldReflection, isStringEmpty, makeExtensionsImmutable, makeMutableCopy, makeMutableCopy, mergeFromAndMakeImmutableInternal, newFileScopedGeneratedExtension, newInstance, newMessageScopedGeneratedExtension, parseDelimitedWithIOException, parseDelimitedWithIOException, parseUnknownField, parseUnknownFieldProto3, parseWithIOException, parseWithIOException, parseWithIOException, parseWithIOException, serializeBooleanMapTo, serializeIntegerMapTo, serializeLongMapTo, serializeStringMapTo, writeReplace, writeString, writeStringNoTagMethods inherited from class com.google.protobuf.AbstractMessage
findInitializationErrors, getInitializationErrorString, hashFields, toStringMethods inherited from class com.google.protobuf.AbstractMessageLite
addAll, checkByteStringIsUtf8, toByteArray, toByteString, writeDelimitedTo, writeToMethods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, waitMethods inherited from interface com.google.protobuf.MessageLite
toByteArray, toByteString, writeDelimitedTo, writeToMethods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
Field Details
-
NAME_FIELD_NUMBER
public static final int NAME_FIELD_NUMBER- See Also:
-
SOURCE_URI_FIELD_NUMBER
public static final int SOURCE_URI_FIELD_NUMBER- See Also:
-
AD_TAG_URI_FIELD_NUMBER
public static final int AD_TAG_URI_FIELD_NUMBER- See Also:
-
GAM_LIVE_CONFIG_FIELD_NUMBER
public static final int GAM_LIVE_CONFIG_FIELD_NUMBER- See Also:
-
STATE_FIELD_NUMBER
public static final int STATE_FIELD_NUMBER- See Also:
-
AD_TRACKING_FIELD_NUMBER
public static final int AD_TRACKING_FIELD_NUMBER- See Also:
-
DEFAULT_SLATE_FIELD_NUMBER
public static final int DEFAULT_SLATE_FIELD_NUMBER- See Also:
-
STITCHING_POLICY_FIELD_NUMBER
public static final int STITCHING_POLICY_FIELD_NUMBER- See Also:
-
PREFETCH_CONFIG_FIELD_NUMBER
public static final int PREFETCH_CONFIG_FIELD_NUMBER- See Also:
-
SOURCE_FETCH_OPTIONS_FIELD_NUMBER
public static final int SOURCE_FETCH_OPTIONS_FIELD_NUMBER- See Also:
-
-
Method Details
-
getDescriptor
public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() -
internalGetFieldAccessorTable
protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()- Specified by:
internalGetFieldAccessorTablein classcom.google.protobuf.GeneratedMessage
-
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:
getNamein 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:
getNameBytesin interfaceLiveConfigOrBuilder- Returns:
- The bytes for name.
-
getSourceUri
Required. Source URI for the live stream manifest.
string source_uri = 2 [(.google.api.field_behavior) = REQUIRED];- Specified by:
getSourceUriin 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:
getSourceUriBytesin interfaceLiveConfigOrBuilder- Returns:
- The bytes for sourceUri.
-
getAdTagUri
The default ad tag associated with this live stream config.
string ad_tag_uri = 3;- Specified by:
getAdTagUriin 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:
getAdTagUriBytesin interfaceLiveConfigOrBuilder- Returns:
- The bytes for adTagUri.
-
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:
hasGamLiveConfigin interfaceLiveConfigOrBuilder- Returns:
- Whether the gamLiveConfig field is set.
-
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:
getGamLiveConfigin interfaceLiveConfigOrBuilder- Returns:
- The gamLiveConfig.
-
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:
getGamLiveConfigOrBuilderin 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:
getStateValuein interfaceLiveConfigOrBuilder- Returns:
- The enum numeric value on the wire for 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:
getStatein interfaceLiveConfigOrBuilder- Returns:
- The state.
-
getAdTrackingValue
public int getAdTrackingValue()Required. Determines how the ads are tracked.
.google.cloud.video.stitcher.v1.AdTracking ad_tracking = 6 [(.google.api.field_behavior) = REQUIRED];- Specified by:
getAdTrackingValuein interfaceLiveConfigOrBuilder- Returns:
- The enum numeric value on the wire for adTracking.
-
getAdTracking
Required. Determines how the ads are tracked.
.google.cloud.video.stitcher.v1.AdTracking ad_tracking = 6 [(.google.api.field_behavior) = REQUIRED];- Specified by:
getAdTrackingin interfaceLiveConfigOrBuilder- Returns:
- The adTracking.
-
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:
getDefaultSlatein 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:
getDefaultSlateBytesin interfaceLiveConfigOrBuilder- Returns:
- The bytes for defaultSlate.
-
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:
getStitchingPolicyValuein interfaceLiveConfigOrBuilder- Returns:
- The enum numeric value on the wire for 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:
getStitchingPolicyin interfaceLiveConfigOrBuilder- Returns:
- The stitchingPolicy.
-
hasPrefetchConfig
public boolean hasPrefetchConfig()The configuration for prefetching ads.
.google.cloud.video.stitcher.v1.PrefetchConfig prefetch_config = 10;- Specified by:
hasPrefetchConfigin interfaceLiveConfigOrBuilder- Returns:
- Whether the prefetchConfig field is set.
-
getPrefetchConfig
The configuration for prefetching ads.
.google.cloud.video.stitcher.v1.PrefetchConfig prefetch_config = 10;- Specified by:
getPrefetchConfigin interfaceLiveConfigOrBuilder- Returns:
- The prefetchConfig.
-
getPrefetchConfigOrBuilder
The configuration for prefetching ads.
.google.cloud.video.stitcher.v1.PrefetchConfig prefetch_config = 10;- Specified by:
getPrefetchConfigOrBuilderin interfaceLiveConfigOrBuilder
-
hasSourceFetchOptions
public boolean hasSourceFetchOptions()Options for fetching source manifests and segments.
.google.cloud.video.stitcher.v1.FetchOptions source_fetch_options = 16;- Specified by:
hasSourceFetchOptionsin interfaceLiveConfigOrBuilder- Returns:
- Whether the sourceFetchOptions field is set.
-
getSourceFetchOptions
Options for fetching source manifests and segments.
.google.cloud.video.stitcher.v1.FetchOptions source_fetch_options = 16;- Specified by:
getSourceFetchOptionsin interfaceLiveConfigOrBuilder- Returns:
- The sourceFetchOptions.
-
getSourceFetchOptionsOrBuilder
Options for fetching source manifests and segments.
.google.cloud.video.stitcher.v1.FetchOptions source_fetch_options = 16;- Specified by:
getSourceFetchOptionsOrBuilderin interfaceLiveConfigOrBuilder
-
isInitialized
public final boolean isInitialized()- Specified by:
isInitializedin interfacecom.google.protobuf.MessageLiteOrBuilder- Overrides:
isInitializedin classcom.google.protobuf.GeneratedMessage
-
writeTo
- Specified by:
writeToin interfacecom.google.protobuf.MessageLite- Overrides:
writeToin classcom.google.protobuf.GeneratedMessage- Throws:
IOException
-
getSerializedSize
public int getSerializedSize()- Specified by:
getSerializedSizein interfacecom.google.protobuf.MessageLite- Overrides:
getSerializedSizein classcom.google.protobuf.GeneratedMessage
-
equals
- Specified by:
equalsin interfacecom.google.protobuf.Message- Overrides:
equalsin classcom.google.protobuf.AbstractMessage
-
hashCode
public int hashCode()- Specified by:
hashCodein interfacecom.google.protobuf.Message- Overrides:
hashCodein classcom.google.protobuf.AbstractMessage
-
parseFrom
public static LiveConfig parseFrom(ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static LiveConfig parseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static LiveConfig parseFrom(com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static LiveConfig parseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static LiveConfig parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static LiveConfig parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
- Throws:
IOException
-
parseFrom
public static LiveConfig parseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException - Throws:
IOException
-
parseDelimitedFrom
- Throws:
IOException
-
parseDelimitedFrom
public static LiveConfig parseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException - Throws:
IOException
-
parseFrom
- Throws:
IOException
-
parseFrom
public static LiveConfig parseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException - Throws:
IOException
-
newBuilderForType
- Specified by:
newBuilderForTypein interfacecom.google.protobuf.Message- Specified by:
newBuilderForTypein interfacecom.google.protobuf.MessageLite
-
newBuilder
-
newBuilder
-
toBuilder
- Specified by:
toBuilderin interfacecom.google.protobuf.Message- Specified by:
toBuilderin interfacecom.google.protobuf.MessageLite
-
newBuilderForType
protected LiveConfig.Builder newBuilderForType(com.google.protobuf.AbstractMessage.BuilderParent parent) - Overrides:
newBuilderForTypein classcom.google.protobuf.AbstractMessage
-
getDefaultInstance
-
parser
-
getParserForType
- Specified by:
getParserForTypein interfacecom.google.protobuf.Message- Specified by:
getParserForTypein interfacecom.google.protobuf.MessageLite- Overrides:
getParserForTypein classcom.google.protobuf.GeneratedMessage
-
getDefaultInstanceForType
- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageLiteOrBuilder- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageOrBuilder
-