public final class LiveConfig extends GeneratedMessageV3 implements LiveConfigOrBuilder
Metadata for used to register live configs.
Protobuf type google.cloud.video.stitcher.v1.LiveConfig
Inherited Members
com.google.protobuf.GeneratedMessageV3.<ListT>makeMutableCopy(ListT)
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_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()
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
newBuilder()
public static LiveConfig.Builder newBuilder()
newBuilder(LiveConfig prototype)
public static LiveConfig.Builder newBuilder(LiveConfig prototype)
public static LiveConfig parseDelimitedFrom(InputStream input)
public static LiveConfig parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
parseFrom(byte[] data)
public static LiveConfig parseFrom(byte[] data)
Parameter |
---|
Name | Description |
data | byte[]
|
parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
public static LiveConfig parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
parseFrom(ByteString data)
public static LiveConfig parseFrom(ByteString data)
parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
public static LiveConfig parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
public static LiveConfig parseFrom(CodedInputStream input)
public static LiveConfig parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public static LiveConfig parseFrom(InputStream input)
public static LiveConfig parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
parseFrom(ByteBuffer data)
public static LiveConfig parseFrom(ByteBuffer data)
parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
public static LiveConfig parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
parser()
public static Parser<LiveConfig> parser()
Methods
equals(Object obj)
public boolean equals(Object obj)
Parameter |
---|
Name | Description |
obj | Object
|
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. If
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];
getAdTrackingValue()
public int getAdTrackingValue()
Required. Determines how the ads are tracked. If
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 |
---|
Type | Description |
int | The enum numeric value on the wire for adTracking.
|
getDefaultInstanceForType()
public LiveConfig getDefaultInstanceForType()
getDefaultSlate()
public String getDefaultSlate()
Returns |
---|
Type | Description |
String | The defaultSlate.
|
getDefaultSlateBytes()
public ByteString getDefaultSlateBytes()
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;
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;
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()
Overrides
getPrefetchConfig()
public PrefetchConfig getPrefetchConfig()
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;
getSerializedSize()
public int getSerializedSize()
Returns |
---|
Type | Description |
int | |
Overrides
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];
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;
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.
|
hashCode()
Returns |
---|
Type | Description |
int | |
Overrides
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Overrides
isInitialized()
public final boolean isInitialized()
Overrides
newBuilderForType()
public LiveConfig.Builder newBuilderForType()
newBuilderForType(GeneratedMessageV3.BuilderParent parent)
protected LiveConfig.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Overrides
newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Overrides
toBuilder()
public LiveConfig.Builder toBuilder()
writeTo(CodedOutputStream output)
public void writeTo(CodedOutputStream output)
Overrides