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:
  • 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:
      internalGetFieldAccessorTable in class com.google.protobuf.GeneratedMessage
    • getEncryptionModeCase

      public Encryption.EncryptionModeCase getEncryptionModeCase()
      Specified by:
      getEncryptionModeCase in interface EncryptionOrBuilder
    • getSecretSourceCase

      public Encryption.SecretSourceCase getSecretSourceCase()
      Specified by:
      getSecretSourceCase in interface EncryptionOrBuilder
    • 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.
    • getAes128

      public Encryption.Aes128Encryption getAes128()
       Configuration for AES-128 encryption.
       
      .google.cloud.video.transcoder.v1.Encryption.Aes128Encryption aes_128 = 3;
      Specified by:
      getAes128 in interface EncryptionOrBuilder
      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:
      getAes128OrBuilder in interface EncryptionOrBuilder
    • 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.
    • getSampleAes

      public Encryption.SampleAesEncryption getSampleAes()
       Configuration for SAMPLE-AES encryption.
       
      .google.cloud.video.transcoder.v1.Encryption.SampleAesEncryption sample_aes = 4;
      Specified by:
      getSampleAes in interface EncryptionOrBuilder
      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:
      getSampleAesOrBuilder in interface EncryptionOrBuilder
    • 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.
    • getMpegCenc

      public Encryption.MpegCommonEncryption getMpegCenc()
       Configuration for MPEG Common Encryption (MPEG-CENC).
       
      .google.cloud.video.transcoder.v1.Encryption.MpegCommonEncryption mpeg_cenc = 5;
      Specified by:
      getMpegCenc in interface EncryptionOrBuilder
      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:
      getMpegCencOrBuilder in interface EncryptionOrBuilder
    • 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.
    • 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:
      getSecretManagerKeySource in interface EncryptionOrBuilder
      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:
      getSecretManagerKeySourceOrBuilder in interface EncryptionOrBuilder
    • 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.GeneratedMessage
    • 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.GeneratedMessage
      Throws:
      IOException
    • getSerializedSize

      public int getSerializedSize()
      Specified by:
      getSerializedSize in interface com.google.protobuf.MessageLite
      Overrides:
      getSerializedSize in class com.google.protobuf.GeneratedMessage
    • 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(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:
      newBuilderForType in interface com.google.protobuf.Message
      Specified by:
      newBuilderForType in interface com.google.protobuf.MessageLite
    • newBuilder

      public static Encryption.Builder newBuilder()
    • newBuilder

      public static Encryption.Builder newBuilder(Encryption prototype)
    • 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.AbstractMessage.BuilderParent parent)
      Overrides:
      newBuilderForType in class com.google.protobuf.AbstractMessage
    • 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.GeneratedMessage
    • getDefaultInstanceForType

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