Class Encryption.Builder (1.20.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
TypeDescription
Descriptor

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

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

build()

public Encryption build()
Returns
TypeDescription
Encryption

buildPartial()

public Encryption buildPartial()
Returns
TypeDescription
Encryption

clear()

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

clearAes128()

public Encryption.Builder clearAes128()

Configuration for AES-128 encryption.

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

Returns
TypeDescription
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
TypeDescription
Encryption.Builder

clearEncryptionMode()

public Encryption.Builder clearEncryptionMode()
Returns
TypeDescription
Encryption.Builder

clearField(Descriptors.FieldDescriptor field)

public Encryption.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
NameDescription
fieldFieldDescriptor
Returns
TypeDescription
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
TypeDescription
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
TypeDescription
Encryption.Builder

clearOneof(Descriptors.OneofDescriptor oneof)

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

clearSampleAes()

public Encryption.Builder clearSampleAes()

Configuration for SAMPLE-AES encryption.

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

Returns
TypeDescription
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
TypeDescription
Encryption.Builder

clearSecretSource()

public Encryption.Builder clearSecretSource()
Returns
TypeDescription
Encryption.Builder

clone()

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

getAes128()

public Encryption.Aes128Encryption getAes128()

Configuration for AES-128 encryption.

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

Returns
TypeDescription
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
TypeDescription
Encryption.Aes128Encryption.Builder

getAes128OrBuilder()

public Encryption.Aes128EncryptionOrBuilder getAes128OrBuilder()

Configuration for AES-128 encryption.

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

Returns
TypeDescription
Encryption.Aes128EncryptionOrBuilder

getDefaultInstanceForType()

public Encryption getDefaultInstanceForType()
Returns
TypeDescription
Encryption

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
TypeDescription
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
TypeDescription
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
TypeDescription
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
TypeDescription
Encryption.DrmSystemsOrBuilder

getEncryptionModeCase()

public Encryption.EncryptionModeCase getEncryptionModeCase()
Returns
TypeDescription
Encryption.EncryptionModeCase

getId()

public String getId()

Required. Identifier for this set of encryption options.

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

Returns
TypeDescription
String

The id.

getIdBytes()

public ByteString getIdBytes()

Required. Identifier for this set of encryption options.

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

Returns
TypeDescription
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
TypeDescription
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
TypeDescription
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
TypeDescription
Encryption.MpegCommonEncryptionOrBuilder

getSampleAes()

public Encryption.SampleAesEncryption getSampleAes()

Configuration for SAMPLE-AES encryption.

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

Returns
TypeDescription
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
TypeDescription
Encryption.SampleAesEncryption.Builder

getSampleAesOrBuilder()

public Encryption.SampleAesEncryptionOrBuilder getSampleAesOrBuilder()

Configuration for SAMPLE-AES encryption.

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

Returns
TypeDescription
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
TypeDescription
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
TypeDescription
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
TypeDescription
Encryption.SecretManagerSourceOrBuilder

getSecretSourceCase()

public Encryption.SecretSourceCase getSecretSourceCase()
Returns
TypeDescription
Encryption.SecretSourceCase

hasAes128()

public boolean hasAes128()

Configuration for AES-128 encryption.

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

Returns
TypeDescription
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
TypeDescription
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
TypeDescription
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
TypeDescription
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
TypeDescription
boolean

Whether the secretManagerKeySource field is set.

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
TypeDescription
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
TypeDescription
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
NameDescription
valueEncryption.Aes128Encryption
Returns
TypeDescription
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
NameDescription
valueEncryption.DrmSystems
Returns
TypeDescription
Encryption.Builder

mergeFrom(Encryption other)

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

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

public Encryption.Builder mergeFrom(Message other)
Parameter
NameDescription
otherMessage
Returns
TypeDescription
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
NameDescription
valueEncryption.MpegCommonEncryption
Returns
TypeDescription
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
NameDescription
valueEncryption.SampleAesEncryption
Returns
TypeDescription
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
NameDescription
valueEncryption.SecretManagerSource
Returns
TypeDescription
Encryption.Builder

mergeUnknownFields(UnknownFieldSet unknownFields)

public final Encryption.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
NameDescription
unknownFieldsUnknownFieldSet
Returns
TypeDescription
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
NameDescription
valueEncryption.Aes128Encryption
Returns
TypeDescription
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
NameDescription
builderForValueEncryption.Aes128Encryption.Builder
Returns
TypeDescription
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
NameDescription
valueEncryption.DrmSystems
Returns
TypeDescription
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
NameDescription
builderForValueEncryption.DrmSystems.Builder
Returns
TypeDescription
Encryption.Builder

setField(Descriptors.FieldDescriptor field, Object value)

public Encryption.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
NameDescription
fieldFieldDescriptor
valueObject
Returns
TypeDescription
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
NameDescription
valueString

The id to set.

Returns
TypeDescription
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
NameDescription
valueByteString

The bytes for id to set.

Returns
TypeDescription
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
NameDescription
valueEncryption.MpegCommonEncryption
Returns
TypeDescription
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
NameDescription
builderForValueEncryption.MpegCommonEncryption.Builder
Returns
TypeDescription
Encryption.Builder

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

public Encryption.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters
NameDescription
fieldFieldDescriptor
indexint
valueObject
Returns
TypeDescription
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
NameDescription
valueEncryption.SampleAesEncryption
Returns
TypeDescription
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
NameDescription
builderForValueEncryption.SampleAesEncryption.Builder
Returns
TypeDescription
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
NameDescription
valueEncryption.SecretManagerSource
Returns
TypeDescription
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
NameDescription
builderForValueEncryption.SecretManagerSource.Builder
Returns
TypeDescription
Encryption.Builder

setUnknownFields(UnknownFieldSet unknownFields)

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