Class Encryption.DrmSystems.Builder (0.31.0)

public static final class Encryption.DrmSystems.Builder extends GeneratedMessageV3.Builder<Encryption.DrmSystems.Builder> 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 Methods

getDescriptor()

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

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

public Encryption.DrmSystems.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
NameDescription
fieldFieldDescriptor
valueObject
Returns
TypeDescription
Encryption.DrmSystems.Builder
Overrides

build()

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

buildPartial()

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

clear()

public Encryption.DrmSystems.Builder clear()
Returns
TypeDescription
Encryption.DrmSystems.Builder
Overrides

clearClearkey()

public Encryption.DrmSystems.Builder clearClearkey()

Clearkey configuration.

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

Returns
TypeDescription
Encryption.DrmSystems.Builder

clearFairplay()

public Encryption.DrmSystems.Builder clearFairplay()

Fairplay configuration.

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

Returns
TypeDescription
Encryption.DrmSystems.Builder

clearField(Descriptors.FieldDescriptor field)

public Encryption.DrmSystems.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
NameDescription
fieldFieldDescriptor
Returns
TypeDescription
Encryption.DrmSystems.Builder
Overrides

clearOneof(Descriptors.OneofDescriptor oneof)

public Encryption.DrmSystems.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
NameDescription
oneofOneofDescriptor
Returns
TypeDescription
Encryption.DrmSystems.Builder
Overrides

clearPlayready()

public Encryption.DrmSystems.Builder clearPlayready()

Playready configuration.

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

Returns
TypeDescription
Encryption.DrmSystems.Builder

clearWidevine()

public Encryption.DrmSystems.Builder clearWidevine()

Widevine configuration.

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

Returns
TypeDescription
Encryption.DrmSystems.Builder

clone()

public Encryption.DrmSystems.Builder clone()
Returns
TypeDescription
Encryption.DrmSystems.Builder
Overrides

getClearkey()

public Encryption.Clearkey getClearkey()

Clearkey configuration.

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

Returns
TypeDescription
Encryption.Clearkey

The clearkey.

getClearkeyBuilder()

public Encryption.Clearkey.Builder getClearkeyBuilder()

Clearkey configuration.

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

Returns
TypeDescription
Encryption.Clearkey.Builder

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

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
TypeDescription
Descriptor
Overrides

getFairplay()

public Encryption.Fairplay getFairplay()

Fairplay configuration.

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

Returns
TypeDescription
Encryption.Fairplay

The fairplay.

getFairplayBuilder()

public Encryption.Fairplay.Builder getFairplayBuilder()

Fairplay configuration.

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

Returns
TypeDescription
Encryption.Fairplay.Builder

getFairplayOrBuilder()

public Encryption.FairplayOrBuilder getFairplayOrBuilder()

Fairplay configuration.

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

Returns
TypeDescription
Encryption.FairplayOrBuilder

getPlayready()

public Encryption.Playready getPlayready()

Playready configuration.

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

Returns
TypeDescription
Encryption.Playready

The playready.

getPlayreadyBuilder()

public Encryption.Playready.Builder getPlayreadyBuilder()

Playready configuration.

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

Returns
TypeDescription
Encryption.Playready.Builder

getPlayreadyOrBuilder()

public Encryption.PlayreadyOrBuilder getPlayreadyOrBuilder()

Playready configuration.

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

Returns
TypeDescription
Encryption.PlayreadyOrBuilder

getWidevine()

public Encryption.Widevine getWidevine()

Widevine configuration.

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

Returns
TypeDescription
Encryption.Widevine

The widevine.

getWidevineBuilder()

public Encryption.Widevine.Builder getWidevineBuilder()

Widevine configuration.

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

Returns
TypeDescription
Encryption.Widevine.Builder

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.

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
TypeDescription
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
TypeDescription
boolean
Overrides

mergeClearkey(Encryption.Clearkey value)

public Encryption.DrmSystems.Builder mergeClearkey(Encryption.Clearkey value)

Clearkey configuration.

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

Parameter
NameDescription
valueEncryption.Clearkey
Returns
TypeDescription
Encryption.DrmSystems.Builder

mergeFairplay(Encryption.Fairplay value)

public Encryption.DrmSystems.Builder mergeFairplay(Encryption.Fairplay value)

Fairplay configuration.

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

Parameter
NameDescription
valueEncryption.Fairplay
Returns
TypeDescription
Encryption.DrmSystems.Builder

mergeFrom(Encryption.DrmSystems other)

public Encryption.DrmSystems.Builder mergeFrom(Encryption.DrmSystems other)
Parameter
NameDescription
otherEncryption.DrmSystems
Returns
TypeDescription
Encryption.DrmSystems.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public Encryption.DrmSystems.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputCodedInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
Encryption.DrmSystems.Builder
Overrides
Exceptions
TypeDescription
IOException

mergeFrom(Message other)

public Encryption.DrmSystems.Builder mergeFrom(Message other)
Parameter
NameDescription
otherMessage
Returns
TypeDescription
Encryption.DrmSystems.Builder
Overrides

mergePlayready(Encryption.Playready value)

public Encryption.DrmSystems.Builder mergePlayready(Encryption.Playready value)

Playready configuration.

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

Parameter
NameDescription
valueEncryption.Playready
Returns
TypeDescription
Encryption.DrmSystems.Builder

mergeUnknownFields(UnknownFieldSet unknownFields)

public final Encryption.DrmSystems.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
NameDescription
unknownFieldsUnknownFieldSet
Returns
TypeDescription
Encryption.DrmSystems.Builder
Overrides

mergeWidevine(Encryption.Widevine value)

public Encryption.DrmSystems.Builder mergeWidevine(Encryption.Widevine value)

Widevine configuration.

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

Parameter
NameDescription
valueEncryption.Widevine
Returns
TypeDescription
Encryption.DrmSystems.Builder

setClearkey(Encryption.Clearkey value)

public Encryption.DrmSystems.Builder setClearkey(Encryption.Clearkey value)

Clearkey configuration.

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

Parameter
NameDescription
valueEncryption.Clearkey
Returns
TypeDescription
Encryption.DrmSystems.Builder

setClearkey(Encryption.Clearkey.Builder builderForValue)

public Encryption.DrmSystems.Builder setClearkey(Encryption.Clearkey.Builder builderForValue)

Clearkey configuration.

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

Parameter
NameDescription
builderForValueEncryption.Clearkey.Builder
Returns
TypeDescription
Encryption.DrmSystems.Builder

setFairplay(Encryption.Fairplay value)

public Encryption.DrmSystems.Builder setFairplay(Encryption.Fairplay value)

Fairplay configuration.

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

Parameter
NameDescription
valueEncryption.Fairplay
Returns
TypeDescription
Encryption.DrmSystems.Builder

setFairplay(Encryption.Fairplay.Builder builderForValue)

public Encryption.DrmSystems.Builder setFairplay(Encryption.Fairplay.Builder builderForValue)

Fairplay configuration.

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

Parameter
NameDescription
builderForValueEncryption.Fairplay.Builder
Returns
TypeDescription
Encryption.DrmSystems.Builder

setField(Descriptors.FieldDescriptor field, Object value)

public Encryption.DrmSystems.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
NameDescription
fieldFieldDescriptor
valueObject
Returns
TypeDescription
Encryption.DrmSystems.Builder
Overrides

setPlayready(Encryption.Playready value)

public Encryption.DrmSystems.Builder setPlayready(Encryption.Playready value)

Playready configuration.

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

Parameter
NameDescription
valueEncryption.Playready
Returns
TypeDescription
Encryption.DrmSystems.Builder

setPlayready(Encryption.Playready.Builder builderForValue)

public Encryption.DrmSystems.Builder setPlayready(Encryption.Playready.Builder builderForValue)

Playready configuration.

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

Parameter
NameDescription
builderForValueEncryption.Playready.Builder
Returns
TypeDescription
Encryption.DrmSystems.Builder

setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)

public Encryption.DrmSystems.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters
NameDescription
fieldFieldDescriptor
indexint
valueObject
Returns
TypeDescription
Encryption.DrmSystems.Builder
Overrides

setUnknownFields(UnknownFieldSet unknownFields)

public final Encryption.DrmSystems.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
NameDescription
unknownFieldsUnknownFieldSet
Returns
TypeDescription
Encryption.DrmSystems.Builder
Overrides

setWidevine(Encryption.Widevine value)

public Encryption.DrmSystems.Builder setWidevine(Encryption.Widevine value)

Widevine configuration.

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

Parameter
NameDescription
valueEncryption.Widevine
Returns
TypeDescription
Encryption.DrmSystems.Builder

setWidevine(Encryption.Widevine.Builder builderForValue)

public Encryption.DrmSystems.Builder setWidevine(Encryption.Widevine.Builder builderForValue)

Widevine configuration.

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

Parameter
NameDescription
builderForValueEncryption.Widevine.Builder
Returns
TypeDescription
Encryption.DrmSystems.Builder