Class HlsSettings (0.54.0)

public final class HlsSettings extends GeneratedMessage implements HlsSettingsOrBuilder

LiveStream settings that are specific to the HTTP live streaming (HLS) protocol.

Protobuf type google.ads.admanager.v1.HlsSettings

Static Fields

MASTER_PLAYLIST_SETTINGS_FIELD_NUMBER

public static final int MASTER_PLAYLIST_SETTINGS_FIELD_NUMBER
Field Value
Type Description
int

PLAYLIST_TYPE_FIELD_NUMBER

public static final int PLAYLIST_TYPE_FIELD_NUMBER
Field Value
Type Description
int

Static Methods

getDefaultInstance()

public static HlsSettings getDefaultInstance()
Returns
Type Description
HlsSettings

getDescriptor()

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

newBuilder()

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

newBuilder(HlsSettings prototype)

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

parseDelimitedFrom(InputStream input)

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

parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(byte[] data)

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

parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)

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

parseFrom(ByteString data)

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

parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)

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

parseFrom(CodedInputStream input)

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

parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(InputStream input)

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

parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(ByteBuffer data)

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

parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)

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

parser()

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

Methods

equals(Object obj)

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

getDefaultInstanceForType()

public HlsSettings getDefaultInstanceForType()
Returns
Type Description
HlsSettings

getMasterPlaylistSettings()

public MasterPlaylistSettings getMasterPlaylistSettings()

Optional. The settings for the master playlist. If it is not set will default to a MasterPlaylistSettings with a refresh type of AUTOMATIC.

.google.ads.admanager.v1.MasterPlaylistSettings master_playlist_settings = 2 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
MasterPlaylistSettings

The masterPlaylistSettings.

getMasterPlaylistSettingsOrBuilder()

public MasterPlaylistSettingsOrBuilder getMasterPlaylistSettingsOrBuilder()

Optional. The settings for the master playlist. If it is not set will default to a MasterPlaylistSettings with a refresh type of AUTOMATIC.

.google.ads.admanager.v1.MasterPlaylistSettings master_playlist_settings = 2 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
MasterPlaylistSettingsOrBuilder

getParserForType()

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

getPlaylistType()

public HlsSettingsPlaylistTypeEnum.HlsSettingsPlaylistType getPlaylistType()

Immutable. Indicates the type of the playlist associated with this live stream. The playlist type is analogous to the EXT-X-PLAYLIST-TYPE HLS tag. Will default to LIVE.

optional .google.ads.admanager.v1.HlsSettingsPlaylistTypeEnum.HlsSettingsPlaylistType playlist_type = 1 [(.google.api.field_behavior) = IMMUTABLE];

Returns
Type Description
HlsSettingsPlaylistTypeEnum.HlsSettingsPlaylistType

The playlistType.

getPlaylistTypeValue()

public int getPlaylistTypeValue()

Immutable. Indicates the type of the playlist associated with this live stream. The playlist type is analogous to the EXT-X-PLAYLIST-TYPE HLS tag. Will default to LIVE.

optional .google.ads.admanager.v1.HlsSettingsPlaylistTypeEnum.HlsSettingsPlaylistType playlist_type = 1 [(.google.api.field_behavior) = IMMUTABLE];

Returns
Type Description
int

The enum numeric value on the wire for playlistType.

getSerializedSize()

public int getSerializedSize()
Returns
Type Description
int
Overrides

hasMasterPlaylistSettings()

public boolean hasMasterPlaylistSettings()

Optional. The settings for the master playlist. If it is not set will default to a MasterPlaylistSettings with a refresh type of AUTOMATIC.

.google.ads.admanager.v1.MasterPlaylistSettings master_playlist_settings = 2 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
boolean

Whether the masterPlaylistSettings field is set.

hasPlaylistType()

public boolean hasPlaylistType()

Immutable. Indicates the type of the playlist associated with this live stream. The playlist type is analogous to the EXT-X-PLAYLIST-TYPE HLS tag. Will default to LIVE.

optional .google.ads.admanager.v1.HlsSettingsPlaylistTypeEnum.HlsSettingsPlaylistType playlist_type = 1 [(.google.api.field_behavior) = IMMUTABLE];

Returns
Type Description
boolean

Whether the playlistType field is set.

hashCode()

public int hashCode()
Returns
Type Description
int
Overrides

internalGetFieldAccessorTable()

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

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

newBuilderForType()

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

newBuilderForType(AbstractMessage.BuilderParent parent)

protected HlsSettings.Builder newBuilderForType(AbstractMessage.BuilderParent parent)
Parameter
Name Description
parent BuilderParent
Returns
Type Description
HlsSettings.Builder
Overrides

toBuilder()

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

writeTo(CodedOutputStream output)

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