Class LiveConfig (0.48.0)

public final class LiveConfig extends GeneratedMessageV3 implements LiveConfigOrBuilder

Metadata for used to register live configs.

Protobuf type google.cloud.video.stitcher.v1.LiveConfig

Implements

LiveConfigOrBuilder

Static Fields

AD_TAG_URI_FIELD_NUMBER

public static final int AD_TAG_URI_FIELD_NUMBER
Field Value
Type Description
int

AD_TRACKING_FIELD_NUMBER

public static final int AD_TRACKING_FIELD_NUMBER
Field Value
Type Description
int

DEFAULT_SLATE_FIELD_NUMBER

public static final int DEFAULT_SLATE_FIELD_NUMBER
Field Value
Type Description
int

GAM_LIVE_CONFIG_FIELD_NUMBER

public static final int GAM_LIVE_CONFIG_FIELD_NUMBER
Field Value
Type Description
int

NAME_FIELD_NUMBER

public static final int NAME_FIELD_NUMBER
Field Value
Type Description
int

PREFETCH_CONFIG_FIELD_NUMBER

public static final int PREFETCH_CONFIG_FIELD_NUMBER
Field Value
Type Description
int

SOURCE_FETCH_OPTIONS_FIELD_NUMBER

public static final int SOURCE_FETCH_OPTIONS_FIELD_NUMBER
Field Value
Type Description
int

SOURCE_URI_FIELD_NUMBER

public static final int SOURCE_URI_FIELD_NUMBER
Field Value
Type Description
int

STATE_FIELD_NUMBER

public static final int STATE_FIELD_NUMBER
Field Value
Type Description
int

STITCHING_POLICY_FIELD_NUMBER

public static final int STITCHING_POLICY_FIELD_NUMBER
Field Value
Type Description
int

Static Methods

getDefaultInstance()

public static LiveConfig getDefaultInstance()
Returns
Type Description
LiveConfig

getDescriptor()

public static final Descriptors.Descriptor getDescriptor()
Returns
Type Description
Descriptor

newBuilder()

public static LiveConfig.Builder newBuilder()
Returns
Type Description
LiveConfig.Builder

newBuilder(LiveConfig prototype)

public static LiveConfig.Builder newBuilder(LiveConfig prototype)
Parameter
Name Description
prototype LiveConfig
Returns
Type Description
LiveConfig.Builder

parseDelimitedFrom(InputStream input)

public static LiveConfig parseDelimitedFrom(InputStream input)
Parameter
Name Description
input InputStream
Returns
Type Description
LiveConfig
Exceptions
Type Description
IOException

parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static LiveConfig parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input InputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
LiveConfig
Exceptions
Type Description
IOException

parseFrom(byte[] data)

public static LiveConfig parseFrom(byte[] data)
Parameter
Name Description
data byte[]
Returns
Type Description
LiveConfig
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)

public static LiveConfig parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
data byte[]
extensionRegistry ExtensionRegistryLite
Returns
Type Description
LiveConfig
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteString data)

public static LiveConfig parseFrom(ByteString data)
Parameter
Name Description
data ByteString
Returns
Type Description
LiveConfig
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)

public static LiveConfig parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
data ByteString
extensionRegistry ExtensionRegistryLite
Returns
Type Description
LiveConfig
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(CodedInputStream input)

public static LiveConfig parseFrom(CodedInputStream input)
Parameter
Name Description
input CodedInputStream
Returns
Type Description
LiveConfig
Exceptions
Type Description
IOException

parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public static LiveConfig parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input CodedInputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
LiveConfig
Exceptions
Type Description
IOException

parseFrom(InputStream input)

public static LiveConfig parseFrom(InputStream input)
Parameter
Name Description
input InputStream
Returns
Type Description
LiveConfig
Exceptions
Type Description
IOException

parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static LiveConfig parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input InputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
LiveConfig
Exceptions
Type Description
IOException

parseFrom(ByteBuffer data)

public static LiveConfig parseFrom(ByteBuffer data)
Parameter
Name Description
data ByteBuffer
Returns
Type Description
LiveConfig
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)

public static LiveConfig parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
data ByteBuffer
extensionRegistry ExtensionRegistryLite
Returns
Type Description
LiveConfig
Exceptions
Type Description
InvalidProtocolBufferException

parser()

public static Parser<LiveConfig> parser()
Returns
Type Description
Parser<LiveConfig>

Methods

equals(Object obj)

public boolean equals(Object obj)
Parameter
Name Description
obj Object
Returns
Type Description
boolean
Overrides

getAdTagUri()

public String getAdTagUri()

The default ad tag associated with this live stream config.

string ad_tag_uri = 3;

Returns
Type Description
String

The adTagUri.

getAdTagUriBytes()

public ByteString getAdTagUriBytes()

The default ad tag associated with this live stream config.

string ad_tag_uri = 3;

Returns
Type Description
ByteString

The bytes for adTagUri.

getAdTracking()

public AdTracking getAdTracking()

Required. Determines how the ads are tracked.

.google.cloud.video.stitcher.v1.AdTracking ad_tracking = 6 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
AdTracking

The adTracking.

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];

Returns
Type Description
int

The enum numeric value on the wire for adTracking.

getDefaultInstanceForType()

public LiveConfig getDefaultInstanceForType()
Returns
Type Description
LiveConfig

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) = { ... }

Returns
Type Description
String

The defaultSlate.

getDefaultSlateBytes()

public 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) = { ... }

Returns
Type Description
ByteString

The bytes for defaultSlate.

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;

Returns
Type Description
GamLiveConfig

The gamLiveConfig.

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;

Returns
Type Description
GamLiveConfigOrBuilder

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];

Returns
Type Description
String

The name.

getNameBytes()

public 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];

Returns
Type Description
ByteString

The bytes for name.

getParserForType()

public Parser<LiveConfig> getParserForType()
Returns
Type Description
Parser<LiveConfig>
Overrides

getPrefetchConfig()

public PrefetchConfig getPrefetchConfig()

The configuration for prefetching ads.

.google.cloud.video.stitcher.v1.PrefetchConfig prefetch_config = 10;

Returns
Type Description
PrefetchConfig

The prefetchConfig.

getPrefetchConfigOrBuilder()

public PrefetchConfigOrBuilder getPrefetchConfigOrBuilder()

The configuration for prefetching ads.

.google.cloud.video.stitcher.v1.PrefetchConfig prefetch_config = 10;

Returns
Type Description
PrefetchConfigOrBuilder

getSerializedSize()

public int getSerializedSize()
Returns
Type Description
int
Overrides

getSourceFetchOptions()

public FetchOptions getSourceFetchOptions()

Options for fetching source manifests and segments.

.google.cloud.video.stitcher.v1.FetchOptions source_fetch_options = 16;

Returns
Type Description
FetchOptions

The sourceFetchOptions.

getSourceFetchOptionsOrBuilder()

public FetchOptionsOrBuilder getSourceFetchOptionsOrBuilder()

Options for fetching source manifests and segments.

.google.cloud.video.stitcher.v1.FetchOptions source_fetch_options = 16;

Returns
Type Description
FetchOptionsOrBuilder

getSourceUri()

public String getSourceUri()

Required. Source URI for the live stream manifest.

string source_uri = 2 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
String

The sourceUri.

getSourceUriBytes()

public ByteString getSourceUriBytes()

Required. Source URI for the live stream manifest.

string source_uri = 2 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
ByteString

The bytes for sourceUri.

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];

Returns
Type Description
LiveConfig.State

The state.

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];

Returns
Type Description
int

The enum numeric value on the wire for state.

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;

Returns
Type Description
LiveConfig.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 CUT_CURRENT.

.google.cloud.video.stitcher.v1.LiveConfig.StitchingPolicy stitching_policy = 8;

Returns
Type Description
int

The enum numeric value on the wire for stitchingPolicy.

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;

Returns
Type Description
boolean

Whether the gamLiveConfig field is set.

hasPrefetchConfig()

public boolean hasPrefetchConfig()

The configuration for prefetching ads.

.google.cloud.video.stitcher.v1.PrefetchConfig prefetch_config = 10;

Returns
Type Description
boolean

Whether the prefetchConfig field is set.

hasSourceFetchOptions()

public boolean hasSourceFetchOptions()

Options for fetching source manifests and segments.

.google.cloud.video.stitcher.v1.FetchOptions source_fetch_options = 16;

Returns
Type Description
boolean

Whether the sourceFetchOptions field is set.

hashCode()

public int hashCode()
Returns
Type Description
int
Overrides

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
Type Description
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

newBuilderForType()

public LiveConfig.Builder newBuilderForType()
Returns
Type Description
LiveConfig.Builder

newBuilderForType(GeneratedMessageV3.BuilderParent parent)

protected LiveConfig.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Parameter
Name Description
parent BuilderParent
Returns
Type Description
LiveConfig.Builder
Overrides

newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)

protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Parameter
Name Description
unused UnusedPrivateParameter
Returns
Type Description
Object
Overrides

toBuilder()

public LiveConfig.Builder toBuilder()
Returns
Type Description
LiveConfig.Builder

writeTo(CodedOutputStream output)

public void writeTo(CodedOutputStream output)
Parameter
Name Description
output CodedOutputStream
Overrides
Exceptions
Type Description
IOException