Class Encryption.DrmSystems (0.34.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
TypeDescription
int

FAIRPLAY_FIELD_NUMBER

public static final int FAIRPLAY_FIELD_NUMBER
Field Value
TypeDescription
int

PLAYREADY_FIELD_NUMBER

public static final int PLAYREADY_FIELD_NUMBER
Field Value
TypeDescription
int

WIDEVINE_FIELD_NUMBER

public static final int WIDEVINE_FIELD_NUMBER
Field Value
TypeDescription
int

Static Methods

getDefaultInstance()

public static Encryption.DrmSystems getDefaultInstance()
Returns
TypeDescription
Encryption.DrmSystems

getDescriptor()

public static final Descriptors.Descriptor getDescriptor()
Returns
TypeDescription
Descriptor

newBuilder()

public static Encryption.DrmSystems.Builder newBuilder()
Returns
TypeDescription
Encryption.DrmSystems.Builder

newBuilder(Encryption.DrmSystems prototype)

public static Encryption.DrmSystems.Builder newBuilder(Encryption.DrmSystems prototype)
Parameter
NameDescription
prototypeEncryption.DrmSystems
Returns
TypeDescription
Encryption.DrmSystems.Builder

parseDelimitedFrom(InputStream input)

public static Encryption.DrmSystems parseDelimitedFrom(InputStream input)
Parameter
NameDescription
inputInputStream
Returns
TypeDescription
Encryption.DrmSystems
Exceptions
TypeDescription
IOException

parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static Encryption.DrmSystems parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
Encryption.DrmSystems
Exceptions
TypeDescription
IOException

parseFrom(byte[] data)

public static Encryption.DrmSystems parseFrom(byte[] data)
Parameter
NameDescription
databyte[]
Returns
TypeDescription
Encryption.DrmSystems
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)

public static Encryption.DrmSystems parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
databyte[]
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
Encryption.DrmSystems
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(ByteString data)

public static Encryption.DrmSystems parseFrom(ByteString data)
Parameter
NameDescription
dataByteString
Returns
TypeDescription
Encryption.DrmSystems
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)

public static Encryption.DrmSystems parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
dataByteString
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
Encryption.DrmSystems
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(CodedInputStream input)

public static Encryption.DrmSystems parseFrom(CodedInputStream input)
Parameter
NameDescription
inputCodedInputStream
Returns
TypeDescription
Encryption.DrmSystems
Exceptions
TypeDescription
IOException

parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public static Encryption.DrmSystems parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputCodedInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
Encryption.DrmSystems
Exceptions
TypeDescription
IOException

parseFrom(InputStream input)

public static Encryption.DrmSystems parseFrom(InputStream input)
Parameter
NameDescription
inputInputStream
Returns
TypeDescription
Encryption.DrmSystems
Exceptions
TypeDescription
IOException

parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static Encryption.DrmSystems parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
Encryption.DrmSystems
Exceptions
TypeDescription
IOException

parseFrom(ByteBuffer data)

public static Encryption.DrmSystems parseFrom(ByteBuffer data)
Parameter
NameDescription
dataByteBuffer
Returns
TypeDescription
Encryption.DrmSystems
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)

public static Encryption.DrmSystems parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
dataByteBuffer
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
Encryption.DrmSystems
Exceptions
TypeDescription
InvalidProtocolBufferException

parser()

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

Methods

equals(Object obj)

public boolean equals(Object obj)
Parameter
NameDescription
objObject
Returns
TypeDescription
boolean
Overrides

getClearkey()

public Encryption.Clearkey getClearkey()

Clearkey configuration.

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

Returns
TypeDescription
Encryption.Clearkey

The clearkey.

getClearkeyOrBuilder()

public Encryption.ClearkeyOrBuilder getClearkeyOrBuilder()

Clearkey configuration.

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

Returns
TypeDescription
Encryption.ClearkeyOrBuilder

getDefaultInstanceForType()

public Encryption.DrmSystems getDefaultInstanceForType()
Returns
TypeDescription
Encryption.DrmSystems

getFairplay()

public Encryption.Fairplay getFairplay()

Fairplay configuration.

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

Returns
TypeDescription
Encryption.Fairplay

The fairplay.

getFairplayOrBuilder()

public Encryption.FairplayOrBuilder getFairplayOrBuilder()

Fairplay configuration.

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

Returns
TypeDescription
Encryption.FairplayOrBuilder

getParserForType()

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

getPlayready()

public Encryption.Playready getPlayready()

Playready configuration.

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

Returns
TypeDescription
Encryption.Playready

The playready.

getPlayreadyOrBuilder()

public Encryption.PlayreadyOrBuilder getPlayreadyOrBuilder()

Playready configuration.

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

Returns
TypeDescription
Encryption.PlayreadyOrBuilder

getSerializedSize()

public int getSerializedSize()
Returns
TypeDescription
int
Overrides

getWidevine()

public Encryption.Widevine getWidevine()

Widevine configuration.

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

Returns
TypeDescription
Encryption.Widevine

The widevine.

getWidevineOrBuilder()

public Encryption.WidevineOrBuilder getWidevineOrBuilder()

Widevine configuration.

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

Returns
TypeDescription
Encryption.WidevineOrBuilder

hasClearkey()

public boolean hasClearkey()

Clearkey configuration.

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

Returns
TypeDescription
boolean

Whether the clearkey field is set.

hasFairplay()

public boolean hasFairplay()

Fairplay configuration.

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

Returns
TypeDescription
boolean

Whether the fairplay field is set.

hasPlayready()

public boolean hasPlayready()

Playready configuration.

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

Returns
TypeDescription
boolean

Whether the playready field is set.

hasWidevine()

public boolean hasWidevine()

Widevine configuration.

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

Returns
TypeDescription
boolean

Whether the widevine field is set.

hashCode()

public int hashCode()
Returns
TypeDescription
int
Overrides

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
TypeDescription
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
TypeDescription
boolean
Overrides

newBuilderForType()

public Encryption.DrmSystems.Builder newBuilderForType()
Returns
TypeDescription
Encryption.DrmSystems.Builder

newBuilderForType(GeneratedMessageV3.BuilderParent parent)

protected Encryption.DrmSystems.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Parameter
NameDescription
parentBuilderParent
Returns
TypeDescription
Encryption.DrmSystems.Builder
Overrides

newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)

protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Parameter
NameDescription
unusedUnusedPrivateParameter
Returns
TypeDescription
Object
Overrides

toBuilder()

public Encryption.DrmSystems.Builder toBuilder()
Returns
TypeDescription
Encryption.DrmSystems.Builder

writeTo(CodedOutputStream output)

public void writeTo(CodedOutputStream output)
Parameter
NameDescription
outputCodedOutputStream
Overrides
Exceptions
TypeDescription
IOException