Class Encryption
- java.lang.Object
-
- com.google.protobuf.AbstractMessageLite
-
- com.google.protobuf.AbstractMessage
-
- com.google.protobuf.GeneratedMessageV3
-
- com.google.cloud.video.transcoder.v1.Encryption
-
- All Implemented Interfaces:
EncryptionOrBuilder,com.google.protobuf.Message,com.google.protobuf.MessageLite,com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder,Serializable
public final class Encryption extends com.google.protobuf.GeneratedMessageV3 implements EncryptionOrBuilder
Encryption settings.
Protobuf typegoogle.cloud.video.transcoder.v1.Encryption- See Also:
- Serialized Form
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classEncryption.Aes128EncryptionConfiguration for AES-128 encryption.static interfaceEncryption.Aes128EncryptionOrBuilderstatic classEncryption.BuilderEncryption settings.static classEncryption.ClearkeyClearkey configuration.static interfaceEncryption.ClearkeyOrBuilderstatic classEncryption.DrmSystemsDefines configuration for DRM systems in use.static interfaceEncryption.DrmSystemsOrBuilderstatic classEncryption.EncryptionModeCasestatic classEncryption.FairplayFairplay configuration.static interfaceEncryption.FairplayOrBuilderstatic classEncryption.MpegCommonEncryptionConfiguration for MPEG Common Encryption (MPEG-CENC).static interfaceEncryption.MpegCommonEncryptionOrBuilderstatic classEncryption.PlayreadyPlayready configuration.static interfaceEncryption.PlayreadyOrBuilderstatic classEncryption.SampleAesEncryptionConfiguration for SAMPLE-AES encryption.static interfaceEncryption.SampleAesEncryptionOrBuilderstatic classEncryption.SecretManagerSourceConfiguration for secrets stored in Google Secret Manager.static interfaceEncryption.SecretManagerSourceOrBuilderstatic classEncryption.SecretSourceCasestatic classEncryption.WidevineWidevine configuration.static interfaceEncryption.WidevineOrBuilder-
Nested classes/interfaces inherited from class com.google.protobuf.GeneratedMessageV3
com.google.protobuf.GeneratedMessageV3.BuilderParent, com.google.protobuf.GeneratedMessageV3.ExtendableBuilder<MessageT extends com.google.protobuf.GeneratedMessageV3.ExtendableMessage<MessageT>,BuilderT extends com.google.protobuf.GeneratedMessageV3.ExtendableBuilder<MessageT,BuilderT>>, com.google.protobuf.GeneratedMessageV3.ExtendableMessage<MessageT extends com.google.protobuf.GeneratedMessageV3.ExtendableMessage<MessageT>>, com.google.protobuf.GeneratedMessageV3.ExtendableMessageOrBuilder<MessageT extends com.google.protobuf.GeneratedMessageV3.ExtendableMessage<MessageT>>, com.google.protobuf.GeneratedMessageV3.FieldAccessorTable, com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter
-
-
Field Summary
Fields Modifier and Type Field Description static intAES_128_FIELD_NUMBERstatic intDRM_SYSTEMS_FIELD_NUMBERstatic intID_FIELD_NUMBERstatic intMPEG_CENC_FIELD_NUMBERstatic intSAMPLE_AES_FIELD_NUMBERstatic intSECRET_MANAGER_KEY_SOURCE_FIELD_NUMBER
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description booleanequals(Object obj)Encryption.Aes128EncryptiongetAes128()Configuration for AES-128 encryption.Encryption.Aes128EncryptionOrBuildergetAes128OrBuilder()Configuration for AES-128 encryption.static EncryptiongetDefaultInstance()EncryptiongetDefaultInstanceForType()static com.google.protobuf.Descriptors.DescriptorgetDescriptor()Encryption.DrmSystemsgetDrmSystems()Required.Encryption.DrmSystemsOrBuildergetDrmSystemsOrBuilder()Required.Encryption.EncryptionModeCasegetEncryptionModeCase()StringgetId()Required.com.google.protobuf.ByteStringgetIdBytes()Required.Encryption.MpegCommonEncryptiongetMpegCenc()Configuration for MPEG Common Encryption (MPEG-CENC).Encryption.MpegCommonEncryptionOrBuildergetMpegCencOrBuilder()Configuration for MPEG Common Encryption (MPEG-CENC).com.google.protobuf.Parser<Encryption>getParserForType()Encryption.SampleAesEncryptiongetSampleAes()Configuration for SAMPLE-AES encryption.Encryption.SampleAesEncryptionOrBuildergetSampleAesOrBuilder()Configuration for SAMPLE-AES encryption.Encryption.SecretManagerSourcegetSecretManagerKeySource()Keys are stored in Google Secret Manager.Encryption.SecretManagerSourceOrBuildergetSecretManagerKeySourceOrBuilder()Keys are stored in Google Secret Manager.Encryption.SecretSourceCasegetSecretSourceCase()intgetSerializedSize()booleanhasAes128()Configuration for AES-128 encryption.booleanhasDrmSystems()Required.inthashCode()booleanhasMpegCenc()Configuration for MPEG Common Encryption (MPEG-CENC).booleanhasSampleAes()Configuration for SAMPLE-AES encryption.booleanhasSecretManagerKeySource()Keys are stored in Google Secret Manager.protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTableinternalGetFieldAccessorTable()booleanisInitialized()static Encryption.BuildernewBuilder()static Encryption.BuildernewBuilder(Encryption prototype)Encryption.BuildernewBuilderForType()protected Encryption.BuildernewBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent)protected ObjectnewInstance(com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter unused)static EncryptionparseDelimitedFrom(InputStream input)static EncryptionparseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)static EncryptionparseFrom(byte[] data)static EncryptionparseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)static EncryptionparseFrom(com.google.protobuf.ByteString data)static EncryptionparseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)static EncryptionparseFrom(com.google.protobuf.CodedInputStream input)static EncryptionparseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)static EncryptionparseFrom(InputStream input)static EncryptionparseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)static EncryptionparseFrom(ByteBuffer data)static EncryptionparseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)static com.google.protobuf.Parser<Encryption>parser()Encryption.BuildertoBuilder()voidwriteTo(com.google.protobuf.CodedOutputStream output)-
Methods inherited from class com.google.protobuf.GeneratedMessageV3
canUseUnsafe, computeStringSize, computeStringSizeNoTag, emptyBooleanList, emptyDoubleList, emptyFloatList, emptyIntList, emptyLongList, getAllFields, getDescriptorForType, getField, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof, internalGetMapField, isStringEmpty, makeExtensionsImmutable, makeMutableCopy, mergeFromAndMakeImmutableInternal, mutableCopy, mutableCopy, mutableCopy, mutableCopy, mutableCopy, newBooleanList, newBuilderForType, newDoubleList, newFloatList, newIntList, newLongList, parseDelimitedWithIOException, parseDelimitedWithIOException, parseUnknownField, parseUnknownFieldProto3, parseWithIOException, parseWithIOException, parseWithIOException, parseWithIOException, serializeBooleanMapTo, serializeIntegerMapTo, serializeLongMapTo, serializeStringMapTo, writeReplace, writeString, writeStringNoTag
-
Methods inherited from class com.google.protobuf.AbstractMessage
findInitializationErrors, getInitializationErrorString, hashBoolean, hashEnum, hashEnumList, hashFields, hashLong, toString
-
Methods inherited from class com.google.protobuf.AbstractMessageLite
addAll, addAll, checkByteStringIsUtf8, toByteArray, toByteString, writeDelimitedTo, writeTo
-
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
-
-
-
-
Field Detail
-
ID_FIELD_NUMBER
public static final int ID_FIELD_NUMBER
- See Also:
- Constant Field Values
-
AES_128_FIELD_NUMBER
public static final int AES_128_FIELD_NUMBER
- See Also:
- Constant Field Values
-
SAMPLE_AES_FIELD_NUMBER
public static final int SAMPLE_AES_FIELD_NUMBER
- See Also:
- Constant Field Values
-
MPEG_CENC_FIELD_NUMBER
public static final int MPEG_CENC_FIELD_NUMBER
- See Also:
- Constant Field Values
-
SECRET_MANAGER_KEY_SOURCE_FIELD_NUMBER
public static final int SECRET_MANAGER_KEY_SOURCE_FIELD_NUMBER
- See Also:
- Constant Field Values
-
DRM_SYSTEMS_FIELD_NUMBER
public static final int DRM_SYSTEMS_FIELD_NUMBER
- See Also:
- Constant Field Values
-
-
Method Detail
-
newInstance
protected Object newInstance(com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter unused)
- Overrides:
newInstancein classcom.google.protobuf.GeneratedMessageV3
-
getDescriptor
public static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
-
internalGetFieldAccessorTable
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
- Specified by:
internalGetFieldAccessorTablein classcom.google.protobuf.GeneratedMessageV3
-
getEncryptionModeCase
public Encryption.EncryptionModeCase getEncryptionModeCase()
- Specified by:
getEncryptionModeCasein interfaceEncryptionOrBuilder
-
getSecretSourceCase
public Encryption.SecretSourceCase getSecretSourceCase()
- Specified by:
getSecretSourceCasein interfaceEncryptionOrBuilder
-
getId
public String getId()
Required. Identifier for this set of encryption options.
string id = 6 [(.google.api.field_behavior) = REQUIRED];- Specified by:
getIdin interfaceEncryptionOrBuilder- Returns:
- The id.
-
getIdBytes
public com.google.protobuf.ByteString getIdBytes()
Required. Identifier for this set of encryption options.
string id = 6 [(.google.api.field_behavior) = REQUIRED];- Specified by:
getIdBytesin interfaceEncryptionOrBuilder- Returns:
- The bytes for id.
-
hasAes128
public boolean hasAes128()
Configuration for AES-128 encryption.
.google.cloud.video.transcoder.v1.Encryption.Aes128Encryption aes_128 = 3;- Specified by:
hasAes128in interfaceEncryptionOrBuilder- Returns:
- Whether the aes128 field is set.
-
getAes128
public Encryption.Aes128Encryption getAes128()
Configuration for AES-128 encryption.
.google.cloud.video.transcoder.v1.Encryption.Aes128Encryption aes_128 = 3;- Specified by:
getAes128in interfaceEncryptionOrBuilder- Returns:
- The aes128.
-
getAes128OrBuilder
public Encryption.Aes128EncryptionOrBuilder getAes128OrBuilder()
Configuration for AES-128 encryption.
.google.cloud.video.transcoder.v1.Encryption.Aes128Encryption aes_128 = 3;- Specified by:
getAes128OrBuilderin interfaceEncryptionOrBuilder
-
hasSampleAes
public boolean hasSampleAes()
Configuration for SAMPLE-AES encryption.
.google.cloud.video.transcoder.v1.Encryption.SampleAesEncryption sample_aes = 4;- Specified by:
hasSampleAesin interfaceEncryptionOrBuilder- Returns:
- Whether the sampleAes field is set.
-
getSampleAes
public Encryption.SampleAesEncryption getSampleAes()
Configuration for SAMPLE-AES encryption.
.google.cloud.video.transcoder.v1.Encryption.SampleAesEncryption sample_aes = 4;- Specified by:
getSampleAesin interfaceEncryptionOrBuilder- Returns:
- The sampleAes.
-
getSampleAesOrBuilder
public Encryption.SampleAesEncryptionOrBuilder getSampleAesOrBuilder()
Configuration for SAMPLE-AES encryption.
.google.cloud.video.transcoder.v1.Encryption.SampleAesEncryption sample_aes = 4;- Specified by:
getSampleAesOrBuilderin interfaceEncryptionOrBuilder
-
hasMpegCenc
public boolean hasMpegCenc()
Configuration for MPEG Common Encryption (MPEG-CENC).
.google.cloud.video.transcoder.v1.Encryption.MpegCommonEncryption mpeg_cenc = 5;- Specified by:
hasMpegCencin interfaceEncryptionOrBuilder- Returns:
- Whether the mpegCenc field is set.
-
getMpegCenc
public Encryption.MpegCommonEncryption getMpegCenc()
Configuration for MPEG Common Encryption (MPEG-CENC).
.google.cloud.video.transcoder.v1.Encryption.MpegCommonEncryption mpeg_cenc = 5;- Specified by:
getMpegCencin interfaceEncryptionOrBuilder- Returns:
- The mpegCenc.
-
getMpegCencOrBuilder
public Encryption.MpegCommonEncryptionOrBuilder getMpegCencOrBuilder()
Configuration for MPEG Common Encryption (MPEG-CENC).
.google.cloud.video.transcoder.v1.Encryption.MpegCommonEncryption mpeg_cenc = 5;- Specified by:
getMpegCencOrBuilderin interfaceEncryptionOrBuilder
-
hasSecretManagerKeySource
public boolean hasSecretManagerKeySource()
Keys are stored in Google Secret Manager.
.google.cloud.video.transcoder.v1.Encryption.SecretManagerSource secret_manager_key_source = 7;- Specified by:
hasSecretManagerKeySourcein interfaceEncryptionOrBuilder- Returns:
- Whether the secretManagerKeySource field is set.
-
getSecretManagerKeySource
public Encryption.SecretManagerSource getSecretManagerKeySource()
Keys are stored in Google Secret Manager.
.google.cloud.video.transcoder.v1.Encryption.SecretManagerSource secret_manager_key_source = 7;- Specified by:
getSecretManagerKeySourcein interfaceEncryptionOrBuilder- Returns:
- The secretManagerKeySource.
-
getSecretManagerKeySourceOrBuilder
public Encryption.SecretManagerSourceOrBuilder getSecretManagerKeySourceOrBuilder()
Keys are stored in Google Secret Manager.
.google.cloud.video.transcoder.v1.Encryption.SecretManagerSource secret_manager_key_source = 7;- Specified by:
getSecretManagerKeySourceOrBuilderin interfaceEncryptionOrBuilder
-
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];- Specified by:
hasDrmSystemsin interfaceEncryptionOrBuilder- Returns:
- Whether the drmSystems field is set.
-
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];- Specified by:
getDrmSystemsin interfaceEncryptionOrBuilder- Returns:
- The drmSystems.
-
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];- Specified by:
getDrmSystemsOrBuilderin interfaceEncryptionOrBuilder
-
isInitialized
public final boolean isInitialized()
- Specified by:
isInitializedin interfacecom.google.protobuf.MessageLiteOrBuilder- Overrides:
isInitializedin classcom.google.protobuf.GeneratedMessageV3
-
writeTo
public void writeTo(com.google.protobuf.CodedOutputStream output) throws IOException- Specified by:
writeToin interfacecom.google.protobuf.MessageLite- Overrides:
writeToin classcom.google.protobuf.GeneratedMessageV3- Throws:
IOException
-
getSerializedSize
public int getSerializedSize()
- Specified by:
getSerializedSizein interfacecom.google.protobuf.MessageLite- Overrides:
getSerializedSizein classcom.google.protobuf.GeneratedMessageV3
-
equals
public boolean equals(Object obj)
- Specified by:
equalsin interfacecom.google.protobuf.Message- Overrides:
equalsin classcom.google.protobuf.AbstractMessage
-
hashCode
public int hashCode()
- Specified by:
hashCodein interfacecom.google.protobuf.Message- Overrides:
hashCodein classcom.google.protobuf.AbstractMessage
-
parseFrom
public static Encryption parseFrom(ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException
- Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static Encryption parseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
- Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static Encryption parseFrom(com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException
- Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static Encryption parseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
- Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static Encryption parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException
- Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static Encryption parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
- Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static Encryption parseFrom(InputStream input) throws IOException
- Throws:
IOException
-
parseFrom
public static Encryption parseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
- Throws:
IOException
-
parseDelimitedFrom
public static Encryption parseDelimitedFrom(InputStream input) throws IOException
- Throws:
IOException
-
parseDelimitedFrom
public static Encryption parseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
- Throws:
IOException
-
parseFrom
public static Encryption parseFrom(com.google.protobuf.CodedInputStream input) throws IOException
- Throws:
IOException
-
parseFrom
public static Encryption parseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
- Throws:
IOException
-
newBuilderForType
public Encryption.Builder newBuilderForType()
- Specified by:
newBuilderForTypein interfacecom.google.protobuf.Message- Specified by:
newBuilderForTypein interfacecom.google.protobuf.MessageLite
-
newBuilder
public static Encryption.Builder newBuilder()
-
newBuilder
public static Encryption.Builder newBuilder(Encryption prototype)
-
toBuilder
public Encryption.Builder toBuilder()
- Specified by:
toBuilderin interfacecom.google.protobuf.Message- Specified by:
toBuilderin interfacecom.google.protobuf.MessageLite
-
newBuilderForType
protected Encryption.Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent)
- Specified by:
newBuilderForTypein classcom.google.protobuf.GeneratedMessageV3
-
getDefaultInstance
public static Encryption getDefaultInstance()
-
parser
public static com.google.protobuf.Parser<Encryption> parser()
-
getParserForType
public com.google.protobuf.Parser<Encryption> getParserForType()
- Specified by:
getParserForTypein interfacecom.google.protobuf.Message- Specified by:
getParserForTypein interfacecom.google.protobuf.MessageLite- Overrides:
getParserForTypein classcom.google.protobuf.GeneratedMessageV3
-
getDefaultInstanceForType
public Encryption getDefaultInstanceForType()
- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageLiteOrBuilder- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageOrBuilder
-
-