Class 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 type google.cloud.video.transcoder.v1.Encryption
    See Also:
    Serialized Form
    • Method Detail

      • newInstance

        protected Object newInstance​(com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter unused)
        Overrides:
        newInstance in class com.google.protobuf.GeneratedMessageV3
      • getDescriptor

        public static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
      • internalGetFieldAccessorTable

        protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
        Specified by:
        internalGetFieldAccessorTable in class com.google.protobuf.GeneratedMessageV3
      • getId

        public String getId()
         Required. Identifier for this set of encryption options.
         
        string id = 6 [(.google.api.field_behavior) = REQUIRED];
        Specified by:
        getId in interface EncryptionOrBuilder
        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:
        getIdBytes in interface EncryptionOrBuilder
        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:
        hasAes128 in interface EncryptionOrBuilder
        Returns:
        Whether the aes128 field is set.
      • hasSampleAes

        public boolean hasSampleAes()
         Configuration for SAMPLE-AES encryption.
         
        .google.cloud.video.transcoder.v1.Encryption.SampleAesEncryption sample_aes = 4;
        Specified by:
        hasSampleAes in interface EncryptionOrBuilder
        Returns:
        Whether the sampleAes field is set.
      • hasMpegCenc

        public boolean hasMpegCenc()
         Configuration for MPEG Common Encryption (MPEG-CENC).
         
        .google.cloud.video.transcoder.v1.Encryption.MpegCommonEncryption mpeg_cenc = 5;
        Specified by:
        hasMpegCenc in interface EncryptionOrBuilder
        Returns:
        Whether the mpegCenc 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;
        Specified by:
        hasSecretManagerKeySource in interface EncryptionOrBuilder
        Returns:
        Whether the secretManagerKeySource 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];
        Specified by:
        hasDrmSystems in interface EncryptionOrBuilder
        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:
        getDrmSystems in interface EncryptionOrBuilder
        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:
        getDrmSystemsOrBuilder in interface EncryptionOrBuilder
      • isInitialized

        public final boolean isInitialized()
        Specified by:
        isInitialized in interface com.google.protobuf.MessageLiteOrBuilder
        Overrides:
        isInitialized in class com.google.protobuf.GeneratedMessageV3
      • writeTo

        public void writeTo​(com.google.protobuf.CodedOutputStream output)
                     throws IOException
        Specified by:
        writeTo in interface com.google.protobuf.MessageLite
        Overrides:
        writeTo in class com.google.protobuf.GeneratedMessageV3
        Throws:
        IOException
      • getSerializedSize

        public int getSerializedSize()
        Specified by:
        getSerializedSize in interface com.google.protobuf.MessageLite
        Overrides:
        getSerializedSize in class com.google.protobuf.GeneratedMessageV3
      • equals

        public boolean equals​(Object obj)
        Specified by:
        equals in interface com.google.protobuf.Message
        Overrides:
        equals in class com.google.protobuf.AbstractMessage
      • hashCode

        public int hashCode()
        Specified by:
        hashCode in interface com.google.protobuf.Message
        Overrides:
        hashCode in class com.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​(com.google.protobuf.CodedInputStream input,
                                           com.google.protobuf.ExtensionRegistryLite extensionRegistry)
                                    throws IOException
        Throws:
        IOException
      • newBuilderForType

        public Encryption.Builder newBuilderForType()
        Specified by:
        newBuilderForType in interface com.google.protobuf.Message
        Specified by:
        newBuilderForType in interface com.google.protobuf.MessageLite
      • toBuilder

        public Encryption.Builder toBuilder()
        Specified by:
        toBuilder in interface com.google.protobuf.Message
        Specified by:
        toBuilder in interface com.google.protobuf.MessageLite
      • newBuilderForType

        protected Encryption.Builder newBuilderForType​(com.google.protobuf.GeneratedMessageV3.BuilderParent parent)
        Specified by:
        newBuilderForType in class com.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:
        getParserForType in interface com.google.protobuf.Message
        Specified by:
        getParserForType in interface com.google.protobuf.MessageLite
        Overrides:
        getParserForType in class com.google.protobuf.GeneratedMessageV3
      • getDefaultInstanceForType

        public Encryption getDefaultInstanceForType()
        Specified by:
        getDefaultInstanceForType in interface com.google.protobuf.MessageLiteOrBuilder
        Specified by:
        getDefaultInstanceForType in interface com.google.protobuf.MessageOrBuilder