Class Encryption.DrmSystems (0.48.0)

public static final class Encryption.DrmSystems extends GeneratedMessageV3 implements Encryption.DrmSystemsOrBuilder

Defines configuration for DRM systems in use. If a field is omitted, that DRM system will be considered to be disabled.

Protobuf type google.cloud.video.livestream.v1.Encryption.DrmSystems

Static Fields

CLEARKEY_FIELD_NUMBER

public static final int CLEARKEY_FIELD_NUMBER
Field Value
Type Description
int

FAIRPLAY_FIELD_NUMBER

public static final int FAIRPLAY_FIELD_NUMBER
Field Value
Type Description
int

PLAYREADY_FIELD_NUMBER

public static final int PLAYREADY_FIELD_NUMBER
Field Value
Type Description
int

WIDEVINE_FIELD_NUMBER

public static final int WIDEVINE_FIELD_NUMBER
Field Value
Type Description
int

Static Methods

getDefaultInstance()

public static Encryption.DrmSystems getDefaultInstance()
Returns
Type Description
Encryption.DrmSystems

getDescriptor()

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

newBuilder()

public static Encryption.DrmSystems.Builder newBuilder()
Returns
Type Description
Encryption.DrmSystems.Builder

newBuilder(Encryption.DrmSystems prototype)

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

parseDelimitedFrom(InputStream input)

public static Encryption.DrmSystems parseDelimitedFrom(InputStream input)
Parameter
Name Description
input InputStream
Returns
Type Description
Encryption.DrmSystems
Exceptions
Type Description
IOException

parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(byte[] data)

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

parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)

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

parseFrom(ByteString data)

public static Encryption.DrmSystems parseFrom(ByteString data)
Parameter
Name Description
data ByteString
Returns
Type Description
Encryption.DrmSystems
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)

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

parseFrom(CodedInputStream input)

public static Encryption.DrmSystems parseFrom(CodedInputStream input)
Parameter
Name Description
input CodedInputStream
Returns
Type Description
Encryption.DrmSystems
Exceptions
Type Description
IOException

parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(InputStream input)

public static Encryption.DrmSystems parseFrom(InputStream input)
Parameter
Name Description
input InputStream
Returns
Type Description
Encryption.DrmSystems
Exceptions
Type Description
IOException

parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(ByteBuffer data)

public static Encryption.DrmSystems parseFrom(ByteBuffer data)
Parameter
Name Description
data ByteBuffer
Returns
Type Description
Encryption.DrmSystems
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)

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

parser()

public static Parser<Encryption.DrmSystems> parser()
Returns
Type Description
Parser<DrmSystems>

Methods

equals(Object obj)

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

getClearkey()

public Encryption.Clearkey getClearkey()

Clearkey configuration.

.google.cloud.video.livestream.v1.Encryption.Clearkey clearkey = 4;

Returns
Type Description
Encryption.Clearkey

The clearkey.

getClearkeyOrBuilder()

public Encryption.ClearkeyOrBuilder getClearkeyOrBuilder()

Clearkey configuration.

.google.cloud.video.livestream.v1.Encryption.Clearkey clearkey = 4;

Returns
Type Description
Encryption.ClearkeyOrBuilder

getDefaultInstanceForType()

public Encryption.DrmSystems getDefaultInstanceForType()
Returns
Type Description
Encryption.DrmSystems

getFairplay()

public Encryption.Fairplay getFairplay()

Fairplay configuration.

.google.cloud.video.livestream.v1.Encryption.Fairplay fairplay = 2;

Returns
Type Description
Encryption.Fairplay

The fairplay.

getFairplayOrBuilder()

public Encryption.FairplayOrBuilder getFairplayOrBuilder()

Fairplay configuration.

.google.cloud.video.livestream.v1.Encryption.Fairplay fairplay = 2;

Returns
Type Description
Encryption.FairplayOrBuilder

getParserForType()

public Parser<Encryption.DrmSystems> getParserForType()
Returns
Type Description
Parser<DrmSystems>
Overrides

getPlayready()

public Encryption.Playready getPlayready()

Playready configuration.

.google.cloud.video.livestream.v1.Encryption.Playready playready = 3;

Returns
Type Description
Encryption.Playready

The playready.

getPlayreadyOrBuilder()

public Encryption.PlayreadyOrBuilder getPlayreadyOrBuilder()

Playready configuration.

.google.cloud.video.livestream.v1.Encryption.Playready playready = 3;

Returns
Type Description
Encryption.PlayreadyOrBuilder

getSerializedSize()

public int getSerializedSize()
Returns
Type Description
int
Overrides

getWidevine()

public Encryption.Widevine getWidevine()

Widevine configuration.

.google.cloud.video.livestream.v1.Encryption.Widevine widevine = 1;

Returns
Type Description
Encryption.Widevine

The widevine.

getWidevineOrBuilder()

public Encryption.WidevineOrBuilder getWidevineOrBuilder()

Widevine configuration.

.google.cloud.video.livestream.v1.Encryption.Widevine widevine = 1;

Returns
Type Description
Encryption.WidevineOrBuilder

hasClearkey()

public boolean hasClearkey()

Clearkey configuration.

.google.cloud.video.livestream.v1.Encryption.Clearkey clearkey = 4;

Returns
Type Description
boolean

Whether the clearkey field is set.

hasFairplay()

public boolean hasFairplay()

Fairplay configuration.

.google.cloud.video.livestream.v1.Encryption.Fairplay fairplay = 2;

Returns
Type Description
boolean

Whether the fairplay field is set.

hasPlayready()

public boolean hasPlayready()

Playready configuration.

.google.cloud.video.livestream.v1.Encryption.Playready playready = 3;

Returns
Type Description
boolean

Whether the playready field is set.

hasWidevine()

public boolean hasWidevine()

Widevine configuration.

.google.cloud.video.livestream.v1.Encryption.Widevine widevine = 1;

Returns
Type Description
boolean

Whether the widevine 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 Encryption.DrmSystems.Builder newBuilderForType()
Returns
Type Description
Encryption.DrmSystems.Builder

newBuilderForType(GeneratedMessageV3.BuilderParent parent)

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

newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)

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

toBuilder()

public Encryption.DrmSystems.Builder toBuilder()
Returns
Type Description
Encryption.DrmSystems.Builder

writeTo(CodedOutputStream output)

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