Class Encryption (1.47.0)

publicfinalclass EncryptionextendsGeneratedMessageV3implementsEncryptionOrBuilder

Encryption settings.

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

Implements

EncryptionOrBuilder

Inherited Members

com.google.protobuf.GeneratedMessageV3.<ListT>makeMutableCopy(ListT)
com.google.protobuf.GeneratedMessageV3.<ListT>makeMutableCopy(ListT,int)
com.google.protobuf.GeneratedMessageV3.<T>emptyList(java.lang.Class<T>)
com.google.protobuf.GeneratedMessageV3.internalGetMapFieldReflection(int)

Static Fields

AES_128_FIELD_NUMBER

publicstaticfinalintAES_128_FIELD_NUMBER
Field Value
Type Description
int

DRM_SYSTEMS_FIELD_NUMBER

publicstaticfinalintDRM_SYSTEMS_FIELD_NUMBER
Field Value
Type Description
int

ID_FIELD_NUMBER

publicstaticfinalintID_FIELD_NUMBER
Field Value
Type Description
int

MPEG_CENC_FIELD_NUMBER

publicstaticfinalintMPEG_CENC_FIELD_NUMBER
Field Value
Type Description
int

SAMPLE_AES_FIELD_NUMBER

publicstaticfinalintSAMPLE_AES_FIELD_NUMBER
Field Value
Type Description
int

SECRET_MANAGER_KEY_SOURCE_FIELD_NUMBER

publicstaticfinalintSECRET_MANAGER_KEY_SOURCE_FIELD_NUMBER
Field Value
Type Description
int

Static Methods

getDefaultInstance()

publicstaticEncryptiongetDefaultInstance()
Returns
Type Description
Encryption

getDescriptor()

publicstaticfinalDescriptors.DescriptorgetDescriptor()
Returns
Type Description
Descriptor

newBuilder()

publicstaticEncryption.BuildernewBuilder()
Returns
Type Description
Encryption.Builder

newBuilder(Encryption prototype)

publicstaticEncryption.BuildernewBuilder(Encryptionprototype)
Parameter
Name Description
prototype Encryption
Returns
Type Description
Encryption.Builder

parseDelimitedFrom(InputStream input)

publicstaticEncryptionparseDelimitedFrom(InputStreaminput)
Parameter
Name Description
input InputStream
Returns
Type Description
Encryption
Exceptions
Type Description
IOException

parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

publicstaticEncryptionparseDelimitedFrom(InputStreaminput,ExtensionRegistryLiteextensionRegistry)
Parameters
Name Description
input InputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
Encryption
Exceptions
Type Description
IOException

parseFrom(byte[] data)

publicstaticEncryptionparseFrom(byte[]data)
Parameter
Name Description
data byte[]
Returns
Type Description
Encryption
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)

publicstaticEncryptionparseFrom(byte[]data,ExtensionRegistryLiteextensionRegistry)
Parameters
Name Description
data byte[]
extensionRegistry ExtensionRegistryLite
Returns
Type Description
Encryption
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteString data)

publicstaticEncryptionparseFrom(ByteStringdata)
Parameter
Name Description
data ByteString
Returns
Type Description
Encryption
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)

publicstaticEncryptionparseFrom(ByteStringdata,ExtensionRegistryLiteextensionRegistry)
Parameters
Name Description
data ByteString
extensionRegistry ExtensionRegistryLite
Returns
Type Description
Encryption
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(CodedInputStream input)

publicstaticEncryptionparseFrom(CodedInputStreaminput)
Parameter
Name Description
input CodedInputStream
Returns
Type Description
Encryption
Exceptions
Type Description
IOException

parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

publicstaticEncryptionparseFrom(CodedInputStreaminput,ExtensionRegistryLiteextensionRegistry)
Parameters
Name Description
input CodedInputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
Encryption
Exceptions
Type Description
IOException

parseFrom(InputStream input)

publicstaticEncryptionparseFrom(InputStreaminput)
Parameter
Name Description
input InputStream
Returns
Type Description
Encryption
Exceptions
Type Description
IOException

parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

publicstaticEncryptionparseFrom(InputStreaminput,ExtensionRegistryLiteextensionRegistry)
Parameters
Name Description
input InputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
Encryption
Exceptions
Type Description
IOException

parseFrom(ByteBuffer data)

publicstaticEncryptionparseFrom(ByteBufferdata)
Parameter
Name Description
data ByteBuffer
Returns
Type Description
Encryption
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)

publicstaticEncryptionparseFrom(ByteBufferdata,ExtensionRegistryLiteextensionRegistry)
Parameters
Name Description
data ByteBuffer
extensionRegistry ExtensionRegistryLite
Returns
Type Description
Encryption
Exceptions
Type Description
InvalidProtocolBufferException

parser()

publicstaticParser<Encryption>parser()
Returns
Type Description
Parser<Encryption>

Methods

equals(Object obj)

publicbooleanequals(Objectobj)
Parameter
Name Description
obj Object
Returns
Type Description
boolean
Overrides

getAes128()

publicEncryption.Aes128EncryptiongetAes128()

Configuration for AES-128 encryption.

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

Returns
Type Description
Encryption.Aes128Encryption

The aes128.

getAes128OrBuilder()

publicEncryption.Aes128EncryptionOrBuildergetAes128OrBuilder()

Configuration for AES-128 encryption.

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

Returns
Type Description
Encryption.Aes128EncryptionOrBuilder

getDefaultInstanceForType()

publicEncryptiongetDefaultInstanceForType()
Returns
Type Description
Encryption

getDrmSystems()

publicEncryption.DrmSystemsgetDrmSystems()

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.

getDrmSystemsOrBuilder()

publicEncryption.DrmSystemsOrBuildergetDrmSystemsOrBuilder()

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()

publicEncryption.EncryptionModeCasegetEncryptionModeCase()
Returns
Type Description
Encryption.EncryptionModeCase

getId()

publicStringgetId()

Required. Identifier for this set of encryption options.

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

Returns
Type Description
String

The id.

getIdBytes()

publicByteStringgetIdBytes()

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()

publicEncryption.MpegCommonEncryptiongetMpegCenc()

Configuration for MPEG Common Encryption (MPEG-CENC).

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

Returns
Type Description
Encryption.MpegCommonEncryption

The mpegCenc.

getMpegCencOrBuilder()

publicEncryption.MpegCommonEncryptionOrBuildergetMpegCencOrBuilder()

Configuration for MPEG Common Encryption (MPEG-CENC).

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

Returns
Type Description
Encryption.MpegCommonEncryptionOrBuilder

getParserForType()

publicParser<Encryption>getParserForType()
Returns
Type Description
Parser<Encryption>
Overrides

getSampleAes()

publicEncryption.SampleAesEncryptiongetSampleAes()

Configuration for SAMPLE-AES encryption.

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

Returns
Type Description
Encryption.SampleAesEncryption

The sampleAes.

getSampleAesOrBuilder()

publicEncryption.SampleAesEncryptionOrBuildergetSampleAesOrBuilder()

Configuration for SAMPLE-AES encryption.

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

Returns
Type Description
Encryption.SampleAesEncryptionOrBuilder

getSecretManagerKeySource()

publicEncryption.SecretManagerSourcegetSecretManagerKeySource()

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.

getSecretManagerKeySourceOrBuilder()

publicEncryption.SecretManagerSourceOrBuildergetSecretManagerKeySourceOrBuilder()

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()

publicEncryption.SecretSourceCasegetSecretSourceCase()
Returns
Type Description
Encryption.SecretSourceCase

getSerializedSize()

publicintgetSerializedSize()
Returns
Type Description
int
Overrides

hasAes128()

publicbooleanhasAes128()

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()

publicbooleanhasDrmSystems()

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()

publicbooleanhasMpegCenc()

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()

publicbooleanhasSampleAes()

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()

publicbooleanhasSecretManagerKeySource()

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.

hashCode()

publicinthashCode()
Returns
Type Description
int
Overrides

internalGetFieldAccessorTable()

protectedGeneratedMessageV3.FieldAccessorTableinternalGetFieldAccessorTable()
Returns
Type Description
FieldAccessorTable
Overrides

isInitialized()

publicfinalbooleanisInitialized()
Returns
Type Description
boolean
Overrides

newBuilderForType()

publicEncryption.BuildernewBuilderForType()
Returns
Type Description
Encryption.Builder

newBuilderForType(GeneratedMessageV3.BuilderParent parent)

protectedEncryption.BuildernewBuilderForType(GeneratedMessageV3.BuilderParentparent)
Parameter
Name Description
parent BuilderParent
Returns
Type Description
Encryption.Builder
Overrides

newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)

protectedObjectnewInstance(GeneratedMessageV3.UnusedPrivateParameterunused)
Parameter
Name Description
unused UnusedPrivateParameter
Returns
Type Description
Object
Overrides

toBuilder()

publicEncryption.BuildertoBuilder()
Returns
Type Description
Encryption.Builder

writeTo(CodedOutputStream output)

publicvoidwriteTo(CodedOutputStreamoutput)
Parameter
Name Description
output CodedOutputStream
Overrides
Exceptions
Type Description
IOException

Except as otherwise noted, the content of this page is licensed under the Creative Commons Attribution 4.0 License, and code samples are licensed under the Apache 2.0 License. For details, see the Google Developers Site Policies. Java is a registered trademark of Oracle and/or its affiliates.

Last updated 2025年11月19日 UTC.