public final class MasterPlaylistSettings extends GeneratedMessage implements MasterPlaylistSettingsOrBuilderSettings for the HLS (HTTP Live Streaming) master playlist.
Protobuf type google.ads.admanager.v1.MasterPlaylistSettings
Inheritance
Object > AbstractMessageLite<MessageType,BuilderType> > AbstractMessage > GeneratedMessage > MasterPlaylistSettingsImplements
MasterPlaylistSettingsOrBuilderStatic Fields
REFRESH_TYPE_FIELD_NUMBER
public static final int REFRESH_TYPE_FIELD_NUMBER| Field Value | |
|---|---|
| Type | Description |
int |
|
Static Methods
getDefaultInstance()
public static MasterPlaylistSettings getDefaultInstance()| Returns | |
|---|---|
| Type | Description |
MasterPlaylistSettings |
|
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()| Returns | |
|---|---|
| Type | Description |
Descriptor |
|
newBuilder()
public static MasterPlaylistSettings.Builder newBuilder()| Returns | |
|---|---|
| Type | Description |
MasterPlaylistSettings.Builder |
|
newBuilder(MasterPlaylistSettings prototype)
public static MasterPlaylistSettings.Builder newBuilder(MasterPlaylistSettings prototype)| Parameter | |
|---|---|
| Name | Description |
prototype |
MasterPlaylistSettings |
| Returns | |
|---|---|
| Type | Description |
MasterPlaylistSettings.Builder |
|
parseDelimitedFrom(InputStream input)
public static MasterPlaylistSettings parseDelimitedFrom(InputStream input)| Parameter | |
|---|---|
| Name | Description |
input |
InputStream |
| Returns | |
|---|---|
| Type | Description |
MasterPlaylistSettings |
|
| Exceptions | |
|---|---|
| Type | Description |
IOException |
|
parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
public static MasterPlaylistSettings parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)| Parameters | |
|---|---|
| Name | Description |
input |
InputStream |
extensionRegistry |
ExtensionRegistryLite |
| Returns | |
|---|---|
| Type | Description |
MasterPlaylistSettings |
|
| Exceptions | |
|---|---|
| Type | Description |
IOException |
|
parseFrom(byte[] data)
public static MasterPlaylistSettings parseFrom(byte[] data)| Parameter | |
|---|---|
| Name | Description |
data |
byte[] |
| Returns | |
|---|---|
| Type | Description |
MasterPlaylistSettings |
|
| Exceptions | |
|---|---|
| Type | Description |
InvalidProtocolBufferException |
|
parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
public static MasterPlaylistSettings parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)| Parameters | |
|---|---|
| Name | Description |
data |
byte[] |
extensionRegistry |
ExtensionRegistryLite |
| Returns | |
|---|---|
| Type | Description |
MasterPlaylistSettings |
|
| Exceptions | |
|---|---|
| Type | Description |
InvalidProtocolBufferException |
|
parseFrom(ByteString data)
public static MasterPlaylistSettings parseFrom(ByteString data)| Parameter | |
|---|---|
| Name | Description |
data |
ByteString |
| Returns | |
|---|---|
| Type | Description |
MasterPlaylistSettings |
|
| Exceptions | |
|---|---|
| Type | Description |
InvalidProtocolBufferException |
|
parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
public static MasterPlaylistSettings parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)| Parameters | |
|---|---|
| Name | Description |
data |
ByteString |
extensionRegistry |
ExtensionRegistryLite |
| Returns | |
|---|---|
| Type | Description |
MasterPlaylistSettings |
|
| Exceptions | |
|---|---|
| Type | Description |
InvalidProtocolBufferException |
|
parseFrom(CodedInputStream input)
public static MasterPlaylistSettings parseFrom(CodedInputStream input)| Parameter | |
|---|---|
| Name | Description |
input |
CodedInputStream |
| Returns | |
|---|---|
| Type | Description |
MasterPlaylistSettings |
|
| Exceptions | |
|---|---|
| Type | Description |
IOException |
|
parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public static MasterPlaylistSettings parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)| Parameters | |
|---|---|
| Name | Description |
input |
CodedInputStream |
extensionRegistry |
ExtensionRegistryLite |
| Returns | |
|---|---|
| Type | Description |
MasterPlaylistSettings |
|
| Exceptions | |
|---|---|
| Type | Description |
IOException |
|
parseFrom(InputStream input)
public static MasterPlaylistSettings parseFrom(InputStream input)| Parameter | |
|---|---|
| Name | Description |
input |
InputStream |
| Returns | |
|---|---|
| Type | Description |
MasterPlaylistSettings |
|
| Exceptions | |
|---|---|
| Type | Description |
IOException |
|
parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
public static MasterPlaylistSettings parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)| Parameters | |
|---|---|
| Name | Description |
input |
InputStream |
extensionRegistry |
ExtensionRegistryLite |
| Returns | |
|---|---|
| Type | Description |
MasterPlaylistSettings |
|
| Exceptions | |
|---|---|
| Type | Description |
IOException |
|
parseFrom(ByteBuffer data)
public static MasterPlaylistSettings parseFrom(ByteBuffer data)| Parameter | |
|---|---|
| Name | Description |
data |
ByteBuffer |
| Returns | |
|---|---|
| Type | Description |
MasterPlaylistSettings |
|
| Exceptions | |
|---|---|
| Type | Description |
InvalidProtocolBufferException |
|
parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
public static MasterPlaylistSettings parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)| Parameters | |
|---|---|
| Name | Description |
data |
ByteBuffer |
extensionRegistry |
ExtensionRegistryLite |
| Returns | |
|---|---|
| Type | Description |
MasterPlaylistSettings |
|
| Exceptions | |
|---|---|
| Type | Description |
InvalidProtocolBufferException |
|
parser()
public static Parser<MasterPlaylistSettings> parser()| Returns | |
|---|---|
| Type | Description |
Parser<MasterPlaylistSettings> |
|
Methods
equals(Object obj)
public boolean equals(Object obj)| Parameter | |
|---|---|
| Name | Description |
obj |
Object |
| Returns | |
|---|---|
| Type | Description |
boolean |
|
getDefaultInstanceForType()
public MasterPlaylistSettings getDefaultInstanceForType()| Returns | |
|---|---|
| Type | Description |
MasterPlaylistSettings |
|
getParserForType()
public Parser<MasterPlaylistSettings> getParserForType()| Returns | |
|---|---|
| Type | Description |
Parser<MasterPlaylistSettings> |
|
getRefreshType()
public HlsMasterPlaylistRefreshTypeEnum.HlsMasterPlaylistRefreshType getRefreshType()Optional. Indicates how the master playlist gets refreshed. Defaults to AUTOMATIC. This field can only be modified when the live stream is in a PAUSED state.
optional .google.ads.admanager.v1.HlsMasterPlaylistRefreshTypeEnum.HlsMasterPlaylistRefreshType refresh_type = 1 [(.google.api.field_behavior) = OPTIONAL];
| Returns | |
|---|---|
| Type | Description |
HlsMasterPlaylistRefreshTypeEnum.HlsMasterPlaylistRefreshType |
The refreshType. |
getRefreshTypeValue()
public int getRefreshTypeValue()Optional. Indicates how the master playlist gets refreshed. Defaults to AUTOMATIC. This field can only be modified when the live stream is in a PAUSED state.
optional .google.ads.admanager.v1.HlsMasterPlaylistRefreshTypeEnum.HlsMasterPlaylistRefreshType refresh_type = 1 [(.google.api.field_behavior) = OPTIONAL];
| Returns | |
|---|---|
| Type | Description |
int |
The enum numeric value on the wire for refreshType. |
getSerializedSize()
public int getSerializedSize()| Returns | |
|---|---|
| Type | Description |
int |
|
hasRefreshType()
public boolean hasRefreshType()Optional. Indicates how the master playlist gets refreshed. Defaults to AUTOMATIC. This field can only be modified when the live stream is in a PAUSED state.
optional .google.ads.admanager.v1.HlsMasterPlaylistRefreshTypeEnum.HlsMasterPlaylistRefreshType refresh_type = 1 [(.google.api.field_behavior) = OPTIONAL];
| Returns | |
|---|---|
| Type | Description |
boolean |
Whether the refreshType field is set. |
hashCode()
public int hashCode()| Returns | |
|---|---|
| Type | Description |
int |
|
internalGetFieldAccessorTable()
protected GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()| Returns | |
|---|---|
| Type | Description |
FieldAccessorTable |
|
isInitialized()
public final boolean isInitialized()| Returns | |
|---|---|
| Type | Description |
boolean |
|
newBuilderForType()
public MasterPlaylistSettings.Builder newBuilderForType()| Returns | |
|---|---|
| Type | Description |
MasterPlaylistSettings.Builder |
|
newBuilderForType(AbstractMessage.BuilderParent parent)
protected MasterPlaylistSettings.Builder newBuilderForType(AbstractMessage.BuilderParent parent)| Parameter | |
|---|---|
| Name | Description |
parent |
BuilderParent |
| Returns | |
|---|---|
| Type | Description |
MasterPlaylistSettings.Builder |
|
toBuilder()
public MasterPlaylistSettings.Builder toBuilder()| Returns | |
|---|---|
| Type | Description |
MasterPlaylistSettings.Builder |
|
writeTo(CodedOutputStream output)
public void writeTo(CodedOutputStream output)| Parameter | |
|---|---|
| Name | Description |
output |
CodedOutputStream |
| Exceptions | |
|---|---|
| Type | Description |
IOException |
|