Class Encryption.Builder (1.43.0)

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

Encryption settings.

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

Implements

EncryptionOrBuilder

Static Methods

getDescriptor()

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

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

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

build()

public Encryption build()
Returns
Type Description
Encryption

buildPartial()

public Encryption buildPartial()
Returns
Type Description
Encryption

clear()

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

clearAes128()

public Encryption.Builder clearAes128()

Configuration for AES-128 encryption.

.google.cloud.video.transcoder.v1.Encryption.Aes128Encryption aes_128 = 3;

Returns
Type Description
Encryption.Builder

clearDrmSystems()

public Encryption.Builder clearDrmSystems()

Required. DRM system(s) to use; at least one must be specified. If a DRM system is omitted, it is considered disabled.

.google.cloud.video.transcoder.v1.Encryption.DrmSystems drm_systems = 8 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
Encryption.Builder

clearEncryptionMode()

public Encryption.Builder clearEncryptionMode()
Returns
Type Description
Encryption.Builder

clearField(Descriptors.FieldDescriptor field)

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

clearId()

public Encryption.Builder clearId()

Required. Identifier for this set of encryption options.

string id = 6 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
Encryption.Builder

This builder for chaining.

clearMpegCenc()

public Encryption.Builder clearMpegCenc()

Configuration for MPEG Common Encryption (MPEG-CENC).

.google.cloud.video.transcoder.v1.Encryption.MpegCommonEncryption mpeg_cenc = 5;

Returns
Type Description
Encryption.Builder

clearOneof(Descriptors.OneofDescriptor oneof)

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

clearSampleAes()

public Encryption.Builder clearSampleAes()

Configuration for SAMPLE-AES encryption.

.google.cloud.video.transcoder.v1.Encryption.SampleAesEncryption sample_aes = 4;

Returns
Type Description
Encryption.Builder

clearSecretManagerKeySource()

public Encryption.Builder clearSecretManagerKeySource()

Keys are stored in Google Secret Manager.

.google.cloud.video.transcoder.v1.Encryption.SecretManagerSource secret_manager_key_source = 7;

Returns
Type Description
Encryption.Builder

clearSecretSource()

public Encryption.Builder clearSecretSource()
Returns
Type Description
Encryption.Builder

clone()

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

getAes128()

public Encryption.Aes128Encryption getAes128()

Configuration for AES-128 encryption.

.google.cloud.video.transcoder.v1.Encryption.Aes128Encryption aes_128 = 3;

Returns
Type Description
Encryption.Aes128Encryption

The aes128.

getAes128Builder()

public Encryption.Aes128Encryption.Builder getAes128Builder()

Configuration for AES-128 encryption.

.google.cloud.video.transcoder.v1.Encryption.Aes128Encryption aes_128 = 3;

Returns
Type Description
Encryption.Aes128Encryption.Builder

getAes128OrBuilder()

public Encryption.Aes128EncryptionOrBuilder getAes128OrBuilder()

Configuration for AES-128 encryption.

.google.cloud.video.transcoder.v1.Encryption.Aes128Encryption aes_128 = 3;

Returns
Type Description
Encryption.Aes128EncryptionOrBuilder

getDefaultInstanceForType()

public Encryption getDefaultInstanceForType()
Returns
Type Description
Encryption

getDescriptorForType()

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

getDrmSystems()

public Encryption.DrmSystems getDrmSystems()

Required. DRM system(s) to use; at least one must be specified. If a DRM system is omitted, it is considered disabled.

.google.cloud.video.transcoder.v1.Encryption.DrmSystems drm_systems = 8 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
Encryption.DrmSystems

The drmSystems.

getDrmSystemsBuilder()

public Encryption.DrmSystems.Builder getDrmSystemsBuilder()

Required. DRM system(s) to use; at least one must be specified. If a DRM system is omitted, it is considered disabled.

.google.cloud.video.transcoder.v1.Encryption.DrmSystems drm_systems = 8 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
Encryption.DrmSystems.Builder

getDrmSystemsOrBuilder()

public Encryption.DrmSystemsOrBuilder getDrmSystemsOrBuilder()

Required. DRM system(s) to use; at least one must be specified. If a DRM system is omitted, it is considered disabled.

.google.cloud.video.transcoder.v1.Encryption.DrmSystems drm_systems = 8 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
Encryption.DrmSystemsOrBuilder

getEncryptionModeCase()

public Encryption.EncryptionModeCase getEncryptionModeCase()
Returns
Type Description
Encryption.EncryptionModeCase

getId()

public String getId()

Required. Identifier for this set of encryption options.

string id = 6 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
String

The id.

getIdBytes()

public ByteString getIdBytes()

Required. Identifier for this set of encryption options.

string id = 6 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
ByteString

The bytes for id.

getMpegCenc()

public Encryption.MpegCommonEncryption getMpegCenc()

Configuration for MPEG Common Encryption (MPEG-CENC).

.google.cloud.video.transcoder.v1.Encryption.MpegCommonEncryption mpeg_cenc = 5;

Returns
Type Description
Encryption.MpegCommonEncryption

The mpegCenc.

getMpegCencBuilder()

public Encryption.MpegCommonEncryption.Builder getMpegCencBuilder()

Configuration for MPEG Common Encryption (MPEG-CENC).

.google.cloud.video.transcoder.v1.Encryption.MpegCommonEncryption mpeg_cenc = 5;

Returns
Type Description
Encryption.MpegCommonEncryption.Builder

getMpegCencOrBuilder()

public Encryption.MpegCommonEncryptionOrBuilder getMpegCencOrBuilder()

Configuration for MPEG Common Encryption (MPEG-CENC).

.google.cloud.video.transcoder.v1.Encryption.MpegCommonEncryption mpeg_cenc = 5;

Returns
Type Description
Encryption.MpegCommonEncryptionOrBuilder

getSampleAes()

public Encryption.SampleAesEncryption getSampleAes()

Configuration for SAMPLE-AES encryption.

.google.cloud.video.transcoder.v1.Encryption.SampleAesEncryption sample_aes = 4;

Returns
Type Description
Encryption.SampleAesEncryption

The sampleAes.

getSampleAesBuilder()

public Encryption.SampleAesEncryption.Builder getSampleAesBuilder()

Configuration for SAMPLE-AES encryption.

.google.cloud.video.transcoder.v1.Encryption.SampleAesEncryption sample_aes = 4;

Returns
Type Description
Encryption.SampleAesEncryption.Builder

getSampleAesOrBuilder()

public Encryption.SampleAesEncryptionOrBuilder getSampleAesOrBuilder()

Configuration for SAMPLE-AES encryption.

.google.cloud.video.transcoder.v1.Encryption.SampleAesEncryption sample_aes = 4;

Returns
Type Description
Encryption.SampleAesEncryptionOrBuilder

getSecretManagerKeySource()

public Encryption.SecretManagerSource getSecretManagerKeySource()

Keys are stored in Google Secret Manager.

.google.cloud.video.transcoder.v1.Encryption.SecretManagerSource secret_manager_key_source = 7;

Returns
Type Description
Encryption.SecretManagerSource

The secretManagerKeySource.

getSecretManagerKeySourceBuilder()

public Encryption.SecretManagerSource.Builder getSecretManagerKeySourceBuilder()

Keys are stored in Google Secret Manager.

.google.cloud.video.transcoder.v1.Encryption.SecretManagerSource secret_manager_key_source = 7;

Returns
Type Description
Encryption.SecretManagerSource.Builder

getSecretManagerKeySourceOrBuilder()

public Encryption.SecretManagerSourceOrBuilder getSecretManagerKeySourceOrBuilder()

Keys are stored in Google Secret Manager.

.google.cloud.video.transcoder.v1.Encryption.SecretManagerSource secret_manager_key_source = 7;

Returns
Type Description
Encryption.SecretManagerSourceOrBuilder

getSecretSourceCase()

public Encryption.SecretSourceCase getSecretSourceCase()
Returns
Type Description
Encryption.SecretSourceCase

hasAes128()

public boolean hasAes128()

Configuration for AES-128 encryption.

.google.cloud.video.transcoder.v1.Encryption.Aes128Encryption aes_128 = 3;

Returns
Type Description
boolean

Whether the aes128 field is set.

hasDrmSystems()

public boolean hasDrmSystems()

Required. DRM system(s) to use; at least one must be specified. If a DRM system is omitted, it is considered disabled.

.google.cloud.video.transcoder.v1.Encryption.DrmSystems drm_systems = 8 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
boolean

Whether the drmSystems field is set.

hasMpegCenc()

public boolean hasMpegCenc()

Configuration for MPEG Common Encryption (MPEG-CENC).

.google.cloud.video.transcoder.v1.Encryption.MpegCommonEncryption mpeg_cenc = 5;

Returns
Type Description
boolean

Whether the mpegCenc field is set.

hasSampleAes()

public boolean hasSampleAes()

Configuration for SAMPLE-AES encryption.

.google.cloud.video.transcoder.v1.Encryption.SampleAesEncryption sample_aes = 4;

Returns
Type Description
boolean

Whether the sampleAes field is set.

hasSecretManagerKeySource()

public boolean hasSecretManagerKeySource()

Keys are stored in Google Secret Manager.

.google.cloud.video.transcoder.v1.Encryption.SecretManagerSource secret_manager_key_source = 7;

Returns
Type Description
boolean

Whether the secretManagerKeySource field is set.

internalGetFieldAccessorTable()

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

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

mergeAes128(Encryption.Aes128Encryption value)

public Encryption.Builder mergeAes128(Encryption.Aes128Encryption value)

Configuration for AES-128 encryption.

.google.cloud.video.transcoder.v1.Encryption.Aes128Encryption aes_128 = 3;

Parameter
Name Description
value Encryption.Aes128Encryption
Returns
Type Description
Encryption.Builder

mergeDrmSystems(Encryption.DrmSystems value)

public Encryption.Builder mergeDrmSystems(Encryption.DrmSystems value)

Required. DRM system(s) to use; at least one must be specified. If a DRM system is omitted, it is considered disabled.

.google.cloud.video.transcoder.v1.Encryption.DrmSystems drm_systems = 8 [(.google.api.field_behavior) = REQUIRED];

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

mergeFrom(Encryption other)

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

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

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

mergeMpegCenc(Encryption.MpegCommonEncryption value)

public Encryption.Builder mergeMpegCenc(Encryption.MpegCommonEncryption value)

Configuration for MPEG Common Encryption (MPEG-CENC).

.google.cloud.video.transcoder.v1.Encryption.MpegCommonEncryption mpeg_cenc = 5;

Parameter
Name Description
value Encryption.MpegCommonEncryption
Returns
Type Description
Encryption.Builder

mergeSampleAes(Encryption.SampleAesEncryption value)

public Encryption.Builder mergeSampleAes(Encryption.SampleAesEncryption value)

Configuration for SAMPLE-AES encryption.

.google.cloud.video.transcoder.v1.Encryption.SampleAesEncryption sample_aes = 4;

Parameter
Name Description
value Encryption.SampleAesEncryption
Returns
Type Description
Encryption.Builder

mergeSecretManagerKeySource(Encryption.SecretManagerSource value)

public Encryption.Builder mergeSecretManagerKeySource(Encryption.SecretManagerSource value)

Keys are stored in Google Secret Manager.

.google.cloud.video.transcoder.v1.Encryption.SecretManagerSource secret_manager_key_source = 7;

Parameter
Name Description
value Encryption.SecretManagerSource
Returns
Type Description
Encryption.Builder

mergeUnknownFields(UnknownFieldSet unknownFields)

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

setAes128(Encryption.Aes128Encryption value)

public Encryption.Builder setAes128(Encryption.Aes128Encryption value)

Configuration for AES-128 encryption.

.google.cloud.video.transcoder.v1.Encryption.Aes128Encryption aes_128 = 3;

Parameter
Name Description
value Encryption.Aes128Encryption
Returns
Type Description
Encryption.Builder

setAes128(Encryption.Aes128Encryption.Builder builderForValue)

public Encryption.Builder setAes128(Encryption.Aes128Encryption.Builder builderForValue)

Configuration for AES-128 encryption.

.google.cloud.video.transcoder.v1.Encryption.Aes128Encryption aes_128 = 3;

Parameter
Name Description
builderForValue Encryption.Aes128Encryption.Builder
Returns
Type Description
Encryption.Builder

setDrmSystems(Encryption.DrmSystems value)

public Encryption.Builder setDrmSystems(Encryption.DrmSystems value)

Required. DRM system(s) to use; at least one must be specified. If a DRM system is omitted, it is considered disabled.

.google.cloud.video.transcoder.v1.Encryption.DrmSystems drm_systems = 8 [(.google.api.field_behavior) = REQUIRED];

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

setDrmSystems(Encryption.DrmSystems.Builder builderForValue)

public Encryption.Builder setDrmSystems(Encryption.DrmSystems.Builder builderForValue)

Required. DRM system(s) to use; at least one must be specified. If a DRM system is omitted, it is considered disabled.

.google.cloud.video.transcoder.v1.Encryption.DrmSystems drm_systems = 8 [(.google.api.field_behavior) = REQUIRED];

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

setField(Descriptors.FieldDescriptor field, Object value)

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

setId(String value)

public Encryption.Builder setId(String value)

Required. Identifier for this set of encryption options.

string id = 6 [(.google.api.field_behavior) = REQUIRED];

Parameter
Name Description
value String

The id to set.

Returns
Type Description
Encryption.Builder

This builder for chaining.

setIdBytes(ByteString value)

public Encryption.Builder setIdBytes(ByteString value)

Required. Identifier for this set of encryption options.

string id = 6 [(.google.api.field_behavior) = REQUIRED];

Parameter
Name Description
value ByteString

The bytes for id to set.

Returns
Type Description
Encryption.Builder

This builder for chaining.

setMpegCenc(Encryption.MpegCommonEncryption value)

public Encryption.Builder setMpegCenc(Encryption.MpegCommonEncryption value)

Configuration for MPEG Common Encryption (MPEG-CENC).

.google.cloud.video.transcoder.v1.Encryption.MpegCommonEncryption mpeg_cenc = 5;

Parameter
Name Description
value Encryption.MpegCommonEncryption
Returns
Type Description
Encryption.Builder

setMpegCenc(Encryption.MpegCommonEncryption.Builder builderForValue)

public Encryption.Builder setMpegCenc(Encryption.MpegCommonEncryption.Builder builderForValue)

Configuration for MPEG Common Encryption (MPEG-CENC).

.google.cloud.video.transcoder.v1.Encryption.MpegCommonEncryption mpeg_cenc = 5;

Parameter
Name Description
builderForValue Encryption.MpegCommonEncryption.Builder
Returns
Type Description
Encryption.Builder

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

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

setSampleAes(Encryption.SampleAesEncryption value)

public Encryption.Builder setSampleAes(Encryption.SampleAesEncryption value)

Configuration for SAMPLE-AES encryption.

.google.cloud.video.transcoder.v1.Encryption.SampleAesEncryption sample_aes = 4;

Parameter
Name Description
value Encryption.SampleAesEncryption
Returns
Type Description
Encryption.Builder

setSampleAes(Encryption.SampleAesEncryption.Builder builderForValue)

public Encryption.Builder setSampleAes(Encryption.SampleAesEncryption.Builder builderForValue)

Configuration for SAMPLE-AES encryption.

.google.cloud.video.transcoder.v1.Encryption.SampleAesEncryption sample_aes = 4;

Parameter
Name Description
builderForValue Encryption.SampleAesEncryption.Builder
Returns
Type Description
Encryption.Builder

setSecretManagerKeySource(Encryption.SecretManagerSource value)

public Encryption.Builder setSecretManagerKeySource(Encryption.SecretManagerSource value)

Keys are stored in Google Secret Manager.

.google.cloud.video.transcoder.v1.Encryption.SecretManagerSource secret_manager_key_source = 7;

Parameter
Name Description
value Encryption.SecretManagerSource
Returns
Type Description
Encryption.Builder

setSecretManagerKeySource(Encryption.SecretManagerSource.Builder builderForValue)

public Encryption.Builder setSecretManagerKeySource(Encryption.SecretManagerSource.Builder builderForValue)

Keys are stored in Google Secret Manager.

.google.cloud.video.transcoder.v1.Encryption.SecretManagerSource secret_manager_key_source = 7;

Parameter
Name Description
builderForValue Encryption.SecretManagerSource.Builder
Returns
Type Description
Encryption.Builder

setUnknownFields(UnknownFieldSet unknownFields)

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