Class Encryption.DrmSystems.Builder (1.50.0)

public static final class Encryption.DrmSystems.Builder extends GeneratedMessageV3.Builder<Encryption.DrmSystems.Builder> implements Encryption.DrmSystemsOrBuilder

Defines configuration for DRM systems in use.

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

Static Methods

getDescriptor()

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

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

public Encryption.DrmSystems.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
Name Description
field FieldDescriptor
value Object
Returns
Type Description
Encryption.DrmSystems.Builder
Overrides

build()

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

buildPartial()

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

clear()

public Encryption.DrmSystems.Builder clear()
Returns
Type Description
Encryption.DrmSystems.Builder
Overrides

clearClearkey()

public Encryption.DrmSystems.Builder clearClearkey()

Clearkey configuration.

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

Returns
Type Description
Encryption.DrmSystems.Builder

clearFairplay()

public Encryption.DrmSystems.Builder clearFairplay()

Fairplay configuration.

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

Returns
Type Description
Encryption.DrmSystems.Builder

clearField(Descriptors.FieldDescriptor field)

public Encryption.DrmSystems.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
Name Description
field FieldDescriptor
Returns
Type Description
Encryption.DrmSystems.Builder
Overrides

clearOneof(Descriptors.OneofDescriptor oneof)

public Encryption.DrmSystems.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
Name Description
oneof OneofDescriptor
Returns
Type Description
Encryption.DrmSystems.Builder
Overrides

clearPlayready()

public Encryption.DrmSystems.Builder clearPlayready()

Playready configuration.

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

Returns
Type Description
Encryption.DrmSystems.Builder

clearWidevine()

public Encryption.DrmSystems.Builder clearWidevine()

Widevine configuration.

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

Returns
Type Description
Encryption.DrmSystems.Builder

clone()

public Encryption.DrmSystems.Builder clone()
Returns
Type Description
Encryption.DrmSystems.Builder
Overrides

getClearkey()

public Encryption.Clearkey getClearkey()

Clearkey configuration.

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

Returns
Type Description
Encryption.Clearkey

The clearkey.

getClearkeyBuilder()

public Encryption.Clearkey.Builder getClearkeyBuilder()

Clearkey configuration.

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

Returns
Type Description
Encryption.Clearkey.Builder

getClearkeyOrBuilder()

public Encryption.ClearkeyOrBuilder getClearkeyOrBuilder()

Clearkey configuration.

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

Returns
Type Description
Encryption.ClearkeyOrBuilder

getDefaultInstanceForType()

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

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
Type Description
Descriptor
Overrides

getFairplay()

public Encryption.Fairplay getFairplay()

Fairplay configuration.

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

Returns
Type Description
Encryption.Fairplay

The fairplay.

getFairplayBuilder()

public Encryption.Fairplay.Builder getFairplayBuilder()

Fairplay configuration.

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

Returns
Type Description
Encryption.Fairplay.Builder

getFairplayOrBuilder()

public Encryption.FairplayOrBuilder getFairplayOrBuilder()

Fairplay configuration.

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

Returns
Type Description
Encryption.FairplayOrBuilder

getPlayready()

public Encryption.Playready getPlayready()

Playready configuration.

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

Returns
Type Description
Encryption.Playready

The playready.

getPlayreadyBuilder()

public Encryption.Playready.Builder getPlayreadyBuilder()

Playready configuration.

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

Returns
Type Description
Encryption.Playready.Builder

getPlayreadyOrBuilder()

public Encryption.PlayreadyOrBuilder getPlayreadyOrBuilder()

Playready configuration.

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

Returns
Type Description
Encryption.PlayreadyOrBuilder

getWidevine()

public Encryption.Widevine getWidevine()

Widevine configuration.

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

Returns
Type Description
Encryption.Widevine

The widevine.

getWidevineBuilder()

public Encryption.Widevine.Builder getWidevineBuilder()

Widevine configuration.

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

Returns
Type Description
Encryption.Widevine.Builder

getWidevineOrBuilder()

public Encryption.WidevineOrBuilder getWidevineOrBuilder()

Widevine configuration.

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

Returns
Type Description
Encryption.WidevineOrBuilder

hasClearkey()

public boolean hasClearkey()

Clearkey configuration.

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

Returns
Type Description
boolean

Whether the clearkey field is set.

hasFairplay()

public boolean hasFairplay()

Fairplay configuration.

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

Returns
Type Description
boolean

Whether the fairplay field is set.

hasPlayready()

public boolean hasPlayready()

Playready configuration.

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

Returns
Type Description
boolean

Whether the playready field is set.

hasWidevine()

public boolean hasWidevine()

Widevine configuration.

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

Returns
Type Description
boolean

Whether the widevine field is set.

internalGetFieldAccessorTable()

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

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

mergeClearkey(Encryption.Clearkey value)

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

Clearkey configuration.

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

Parameter
Name Description
value Encryption.Clearkey
Returns
Type Description
Encryption.DrmSystems.Builder

mergeFairplay(Encryption.Fairplay value)

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

Fairplay configuration.

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

Parameter
Name Description
value Encryption.Fairplay
Returns
Type Description
Encryption.DrmSystems.Builder

mergeFrom(Encryption.DrmSystems other)

public Encryption.DrmSystems.Builder mergeFrom(Encryption.DrmSystems other)
Parameter
Name Description
other Encryption.DrmSystems
Returns
Type Description
Encryption.DrmSystems.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public Encryption.DrmSystems.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input CodedInputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
Encryption.DrmSystems.Builder
Overrides
Exceptions
Type Description
IOException

mergeFrom(Message other)

public Encryption.DrmSystems.Builder mergeFrom(Message other)
Parameter
Name Description
other Message
Returns
Type Description
Encryption.DrmSystems.Builder
Overrides

mergePlayready(Encryption.Playready value)

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

Playready configuration.

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

Parameter
Name Description
value Encryption.Playready
Returns
Type Description
Encryption.DrmSystems.Builder

mergeUnknownFields(UnknownFieldSet unknownFields)

public final Encryption.DrmSystems.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
Name Description
unknownFields UnknownFieldSet
Returns
Type Description
Encryption.DrmSystems.Builder
Overrides

mergeWidevine(Encryption.Widevine value)

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

Widevine configuration.

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

Parameter
Name Description
value Encryption.Widevine
Returns
Type Description
Encryption.DrmSystems.Builder

setClearkey(Encryption.Clearkey value)

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

Clearkey configuration.

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

Parameter
Name Description
value Encryption.Clearkey
Returns
Type Description
Encryption.DrmSystems.Builder

setClearkey(Encryption.Clearkey.Builder builderForValue)

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

Clearkey configuration.

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

Parameter
Name Description
builderForValue Encryption.Clearkey.Builder
Returns
Type Description
Encryption.DrmSystems.Builder

setFairplay(Encryption.Fairplay value)

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

Fairplay configuration.

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

Parameter
Name Description
value Encryption.Fairplay
Returns
Type Description
Encryption.DrmSystems.Builder

setFairplay(Encryption.Fairplay.Builder builderForValue)

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

Fairplay configuration.

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

Parameter
Name Description
builderForValue Encryption.Fairplay.Builder
Returns
Type Description
Encryption.DrmSystems.Builder

setField(Descriptors.FieldDescriptor field, Object value)

public Encryption.DrmSystems.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
Name Description
field FieldDescriptor
value Object
Returns
Type Description
Encryption.DrmSystems.Builder
Overrides

setPlayready(Encryption.Playready value)

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

Playready configuration.

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

Parameter
Name Description
value Encryption.Playready
Returns
Type Description
Encryption.DrmSystems.Builder

setPlayready(Encryption.Playready.Builder builderForValue)

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

Playready configuration.

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

Parameter
Name Description
builderForValue Encryption.Playready.Builder
Returns
Type Description
Encryption.DrmSystems.Builder

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

public Encryption.DrmSystems.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters
Name Description
field FieldDescriptor
index int
value Object
Returns
Type Description
Encryption.DrmSystems.Builder
Overrides

setUnknownFields(UnknownFieldSet unknownFields)

public final Encryption.DrmSystems.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
Name Description
unknownFields UnknownFieldSet
Returns
Type Description
Encryption.DrmSystems.Builder
Overrides

setWidevine(Encryption.Widevine value)

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

Widevine configuration.

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

Parameter
Name Description
value Encryption.Widevine
Returns
Type Description
Encryption.DrmSystems.Builder

setWidevine(Encryption.Widevine.Builder builderForValue)

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

Widevine configuration.

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

Parameter
Name Description
builderForValue Encryption.Widevine.Builder
Returns
Type Description
Encryption.DrmSystems.Builder