Class Encryption
java.lang.Object
com.google.protobuf.AbstractMessageLite
com.google.protobuf.AbstractMessage
com.google.protobuf.GeneratedMessage
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
@Generated
public final class Encryption
extends com.google.protobuf.GeneratedMessage
implements EncryptionOrBuilder
Encryption settings.Protobuf type
google.cloud.video.transcoder.v1.Encryption- See Also:
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic final classConfiguration for AES-128 encryption.static interfacestatic final classEncryption settings.static final classClearkey configuration.static interfacestatic final classDefines configuration for DRM systems in use.static interfacestatic enumstatic final classFairplay configuration.static interfacestatic final classConfiguration for MPEG Common Encryption (MPEG-CENC).static interfacestatic final classPlayready configuration.static interfacestatic final classConfiguration for SAMPLE-AES encryption.static interfacestatic final classConfiguration for secrets stored in Google Secret Manager.static interfacestatic enumstatic final classWidevine configuration.static interfaceNested classes/interfaces inherited from class com.google.protobuf.GeneratedMessage
com.google.protobuf.GeneratedMessage.ExtendableBuilder<MessageT extends com.google.protobuf.GeneratedMessage.ExtendableMessage<MessageT>,BuilderT extends com.google.protobuf.GeneratedMessage.ExtendableBuilder<MessageT, BuilderT>>, com.google.protobuf.GeneratedMessage.ExtendableMessage<MessageT extends com.google.protobuf.GeneratedMessage.ExtendableMessage<MessageT>>, com.google.protobuf.GeneratedMessage.ExtendableMessageOrBuilder<MessageT extends com.google.protobuf.GeneratedMessage.ExtendableMessage<MessageT>>, com.google.protobuf.GeneratedMessage.FieldAccessorTable, com.google.protobuf.GeneratedMessage.GeneratedExtension<ContainingT extends com.google.protobuf.Message, T extends Object>, com.google.protobuf.GeneratedMessage.UnusedPrivateParameter Nested classes/interfaces inherited from class com.google.protobuf.AbstractMessage
com.google.protobuf.AbstractMessage.BuilderParentNested classes/interfaces inherited from class com.google.protobuf.AbstractMessageLite
com.google.protobuf.AbstractMessageLite.InternalOneOfEnum -
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final intstatic final intstatic final intstatic final intstatic final intstatic final intFields inherited from class com.google.protobuf.GeneratedMessage
alwaysUseFieldBuilders, loggedPre22TypeNames, unknownFieldsFields inherited from class com.google.protobuf.AbstractMessage
memoizedSizeFields inherited from class com.google.protobuf.AbstractMessageLite
memoizedHashCode -
Method Summary
Modifier and TypeMethodDescriptionbooleanConfiguration for AES-128 encryption.Configuration for AES-128 encryption.static Encryptionstatic final com.google.protobuf.Descriptors.DescriptorRequired.Required.getId()Required.com.google.protobuf.ByteStringRequired.Configuration for MPEG Common Encryption (MPEG-CENC).Configuration for MPEG Common Encryption (MPEG-CENC).com.google.protobuf.Parser<Encryption>Configuration for SAMPLE-AES encryption.Configuration for SAMPLE-AES encryption.Keys are stored in Google Secret Manager.Keys are stored in Google Secret Manager.intbooleanConfiguration for AES-128 encryption.booleanRequired.inthashCode()booleanConfiguration for MPEG Common Encryption (MPEG-CENC).booleanConfiguration for SAMPLE-AES encryption.booleanKeys are stored in Google Secret Manager.protected com.google.protobuf.GeneratedMessage.FieldAccessorTablefinal booleanstatic Encryption.Builderstatic Encryption.BuildernewBuilder(Encryption prototype) protected Encryption.BuildernewBuilderForType(com.google.protobuf.AbstractMessage.BuilderParent parent) 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()voidwriteTo(com.google.protobuf.CodedOutputStream output) Methods inherited from class com.google.protobuf.GeneratedMessage
canUseUnsafe, computeStringSize, computeStringSizeNoTag, emptyBooleanList, emptyDoubleList, emptyFloatList, emptyIntList, emptyList, emptyLongList, getAllFields, getDescriptorForType, getField, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof, internalGetMapField, internalGetMapFieldReflection, isStringEmpty, makeExtensionsImmutable, makeMutableCopy, makeMutableCopy, mergeFromAndMakeImmutableInternal, newFileScopedGeneratedExtension, newInstance, newMessageScopedGeneratedExtension, parseDelimitedWithIOException, parseDelimitedWithIOException, parseUnknownField, parseUnknownFieldProto3, parseWithIOException, parseWithIOException, parseWithIOException, parseWithIOException, serializeBooleanMapTo, serializeIntegerMapTo, serializeLongMapTo, serializeStringMapTo, writeReplace, writeString, writeStringNoTagMethods inherited from class com.google.protobuf.AbstractMessage
findInitializationErrors, getInitializationErrorString, hashFields, toStringMethods inherited from class com.google.protobuf.AbstractMessageLite
addAll, checkByteStringIsUtf8, toByteArray, toByteString, writeDelimitedTo, writeToMethods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, waitMethods inherited from interface com.google.protobuf.MessageLite
toByteArray, toByteString, writeDelimitedTo, writeToMethods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
Field Details
-
ID_FIELD_NUMBER
public static final int ID_FIELD_NUMBER- See Also:
-
AES_128_FIELD_NUMBER
public static final int AES_128_FIELD_NUMBER- See Also:
-
SAMPLE_AES_FIELD_NUMBER
public static final int SAMPLE_AES_FIELD_NUMBER- See Also:
-
MPEG_CENC_FIELD_NUMBER
public static final int MPEG_CENC_FIELD_NUMBER- See Also:
-
SECRET_MANAGER_KEY_SOURCE_FIELD_NUMBER
public static final int SECRET_MANAGER_KEY_SOURCE_FIELD_NUMBER- See Also:
-
DRM_SYSTEMS_FIELD_NUMBER
public static final int DRM_SYSTEMS_FIELD_NUMBER- See Also:
-
-
Method Details
-
getDescriptor
public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() -
internalGetFieldAccessorTable
protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()- Specified by:
internalGetFieldAccessorTablein classcom.google.protobuf.GeneratedMessage
-
getEncryptionModeCase
- Specified by:
getEncryptionModeCasein interfaceEncryptionOrBuilder
-
getSecretSourceCase
- Specified by:
getSecretSourceCasein interfaceEncryptionOrBuilder
-
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
Configuration for AES-128 encryption.
.google.cloud.video.transcoder.v1.Encryption.Aes128Encryption aes_128 = 3;- Specified by:
getAes128in interfaceEncryptionOrBuilder- Returns:
- The aes128.
-
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
Configuration for SAMPLE-AES encryption.
.google.cloud.video.transcoder.v1.Encryption.SampleAesEncryption sample_aes = 4;- Specified by:
getSampleAesin interfaceEncryptionOrBuilder- Returns:
- The sampleAes.
-
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
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
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
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
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
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
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.GeneratedMessage
-
writeTo
- Specified by:
writeToin interfacecom.google.protobuf.MessageLite- Overrides:
writeToin classcom.google.protobuf.GeneratedMessage- Throws:
IOException
-
getSerializedSize
public int getSerializedSize()- Specified by:
getSerializedSizein interfacecom.google.protobuf.MessageLite- Overrides:
getSerializedSizein classcom.google.protobuf.GeneratedMessage
-
equals
- 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
- Throws:
IOException
-
parseFrom
public static Encryption parseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException - Throws:
IOException
-
parseDelimitedFrom
- Throws:
IOException
-
parseDelimitedFrom
public static Encryption parseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException - Throws:
IOException
-
parseFrom
- Throws:
IOException
-
parseFrom
public static Encryption parseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException - Throws:
IOException
-
newBuilderForType
- Specified by:
newBuilderForTypein interfacecom.google.protobuf.Message- Specified by:
newBuilderForTypein interfacecom.google.protobuf.MessageLite
-
newBuilder
-
newBuilder
-
toBuilder
- Specified by:
toBuilderin interfacecom.google.protobuf.Message- Specified by:
toBuilderin interfacecom.google.protobuf.MessageLite
-
newBuilderForType
protected Encryption.Builder newBuilderForType(com.google.protobuf.AbstractMessage.BuilderParent parent) - Overrides:
newBuilderForTypein classcom.google.protobuf.AbstractMessage
-
getDefaultInstance
-
parser
-
getParserForType
- Specified by:
getParserForTypein interfacecom.google.protobuf.Message- Specified by:
getParserForTypein interfacecom.google.protobuf.MessageLite- Overrides:
getParserForTypein classcom.google.protobuf.GeneratedMessage
-
getDefaultInstanceForType
- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageLiteOrBuilder- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageOrBuilder
-