Class Encryption.Builder

java.lang.Object
com.google.protobuf.AbstractMessageLite.Builder
com.google.protobuf.AbstractMessage.Builder<BuilderT>
com.google.protobuf.GeneratedMessage.Builder<Encryption.Builder>
com.google.cloud.video.transcoder.v1.Encryption.Builder
All Implemented Interfaces:
EncryptionOrBuilder, com.google.protobuf.Message.Builder, com.google.protobuf.MessageLite.Builder, com.google.protobuf.MessageLiteOrBuilder, com.google.protobuf.MessageOrBuilder, Cloneable
Enclosing class:
Encryption

public static final class Encryption.Builder extends com.google.protobuf.GeneratedMessage.Builder<Encryption.Builder> implements EncryptionOrBuilder
 Encryption settings.
 
Protobuf type google.cloud.video.transcoder.v1.Encryption
  • 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.Builder<Encryption.Builder>
    • clear

      public Encryption.Builder clear()
      Specified by:
      clear in interface com.google.protobuf.Message.Builder
      Specified by:
      clear in interface com.google.protobuf.MessageLite.Builder
      Overrides:
      clear in class com.google.protobuf.GeneratedMessage.Builder<Encryption.Builder>
    • getDescriptorForType

      public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()
      Specified by:
      getDescriptorForType in interface com.google.protobuf.Message.Builder
      Specified by:
      getDescriptorForType in interface com.google.protobuf.MessageOrBuilder
      Overrides:
      getDescriptorForType in class com.google.protobuf.GeneratedMessage.Builder<Encryption.Builder>
    • getDefaultInstanceForType

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

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

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

      public Encryption.Builder mergeFrom(com.google.protobuf.Message other)
      Specified by:
      mergeFrom in interface com.google.protobuf.Message.Builder
      Overrides:
      mergeFrom in class com.google.protobuf.AbstractMessage.Builder<Encryption.Builder>
    • mergeFrom

      public Encryption.Builder mergeFrom(Encryption other)
    • isInitialized

      public final boolean isInitialized()
      Specified by:
      isInitialized in interface com.google.protobuf.MessageLiteOrBuilder
      Overrides:
      isInitialized in class com.google.protobuf.GeneratedMessage.Builder<Encryption.Builder>
    • mergeFrom

      public Encryption.Builder mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
      Specified by:
      mergeFrom in interface com.google.protobuf.Message.Builder
      Specified by:
      mergeFrom in interface com.google.protobuf.MessageLite.Builder
      Overrides:
      mergeFrom in class com.google.protobuf.AbstractMessage.Builder<Encryption.Builder>
      Throws:
      IOException
    • getEncryptionModeCase

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

      public Encryption.Builder clearEncryptionMode()
    • getSecretSourceCase

      public Encryption.SecretSourceCase getSecretSourceCase()
      Specified by:
      getSecretSourceCase in interface EncryptionOrBuilder
    • clearSecretSource

      public Encryption.Builder clearSecretSource()
    • 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.
    • setId

      public Encryption.Builder setId(String value)
       Required. Identifier for this set of encryption options.
       
      string id = 6 [(.google.api.field_behavior) = REQUIRED];
      Parameters:
      value - The id to set.
      Returns:
      This builder for chaining.
    • clearId

      public Encryption.Builder clearId()
       Required. Identifier for this set of encryption options.
       
      string id = 6 [(.google.api.field_behavior) = REQUIRED];
      Returns:
      This builder for chaining.
    • setIdBytes

      public Encryption.Builder setIdBytes(com.google.protobuf.ByteString value)
       Required. Identifier for this set of encryption options.
       
      string id = 6 [(.google.api.field_behavior) = REQUIRED];
      Parameters:
      value - The bytes for id to set.
      Returns:
      This builder for chaining.
    • 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.
    • setAes128

       Configuration for AES-128 encryption.
       
      .google.cloud.video.transcoder.v1.Encryption.Aes128Encryption aes_128 = 3;
    • setAes128

      public Encryption.Builder setAes128(Encryption.Aes128Encryption.Builder builderForValue)
       Configuration for AES-128 encryption.
       
      .google.cloud.video.transcoder.v1.Encryption.Aes128Encryption aes_128 = 3;
    • mergeAes128

      public Encryption.Builder mergeAes128(Encryption.Aes128Encryption value)
       Configuration for AES-128 encryption.
       
      .google.cloud.video.transcoder.v1.Encryption.Aes128Encryption aes_128 = 3;
    • clearAes128

      public Encryption.Builder clearAes128()
       Configuration for AES-128 encryption.
       
      .google.cloud.video.transcoder.v1.Encryption.Aes128Encryption aes_128 = 3;
    • getAes128Builder

      public Encryption.Aes128Encryption.Builder getAes128Builder()
       Configuration for AES-128 encryption.
       
      .google.cloud.video.transcoder.v1.Encryption.Aes128Encryption aes_128 = 3;
    • 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.
    • setSampleAes

       Configuration for SAMPLE-AES encryption.
       
      .google.cloud.video.transcoder.v1.Encryption.SampleAesEncryption sample_aes = 4;
    • setSampleAes

      public Encryption.Builder setSampleAes(Encryption.SampleAesEncryption.Builder builderForValue)
       Configuration for SAMPLE-AES encryption.
       
      .google.cloud.video.transcoder.v1.Encryption.SampleAesEncryption sample_aes = 4;
    • mergeSampleAes

      public Encryption.Builder mergeSampleAes(Encryption.SampleAesEncryption value)
       Configuration for SAMPLE-AES encryption.
       
      .google.cloud.video.transcoder.v1.Encryption.SampleAesEncryption sample_aes = 4;
    • clearSampleAes

      public Encryption.Builder clearSampleAes()
       Configuration for SAMPLE-AES encryption.
       
      .google.cloud.video.transcoder.v1.Encryption.SampleAesEncryption sample_aes = 4;
    • getSampleAesBuilder

      public Encryption.SampleAesEncryption.Builder getSampleAesBuilder()
       Configuration for SAMPLE-AES encryption.
       
      .google.cloud.video.transcoder.v1.Encryption.SampleAesEncryption sample_aes = 4;
    • 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.
    • setMpegCenc

       Configuration for MPEG Common Encryption (MPEG-CENC).
       
      .google.cloud.video.transcoder.v1.Encryption.MpegCommonEncryption mpeg_cenc = 5;
    • setMpegCenc

      public Encryption.Builder setMpegCenc(Encryption.MpegCommonEncryption.Builder builderForValue)
       Configuration for MPEG Common Encryption (MPEG-CENC).
       
      .google.cloud.video.transcoder.v1.Encryption.MpegCommonEncryption mpeg_cenc = 5;
    • mergeMpegCenc

       Configuration for MPEG Common Encryption (MPEG-CENC).
       
      .google.cloud.video.transcoder.v1.Encryption.MpegCommonEncryption mpeg_cenc = 5;
    • clearMpegCenc

      public Encryption.Builder clearMpegCenc()
       Configuration for MPEG Common Encryption (MPEG-CENC).
       
      .google.cloud.video.transcoder.v1.Encryption.MpegCommonEncryption mpeg_cenc = 5;
    • getMpegCencBuilder

      public Encryption.MpegCommonEncryption.Builder getMpegCencBuilder()
       Configuration for MPEG Common Encryption (MPEG-CENC).
       
      .google.cloud.video.transcoder.v1.Encryption.MpegCommonEncryption mpeg_cenc = 5;
    • 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.
    • setSecretManagerKeySource

      public Encryption.Builder setSecretManagerKeySource(Encryption.SecretManagerSource value)
       Keys are stored in Google Secret Manager.
       
      .google.cloud.video.transcoder.v1.Encryption.SecretManagerSource secret_manager_key_source = 7;
    • setSecretManagerKeySource

      public Encryption.Builder setSecretManagerKeySource(Encryption.SecretManagerSource.Builder builderForValue)
       Keys are stored in Google Secret Manager.
       
      .google.cloud.video.transcoder.v1.Encryption.SecretManagerSource secret_manager_key_source = 7;
    • mergeSecretManagerKeySource

      public Encryption.Builder mergeSecretManagerKeySource(Encryption.SecretManagerSource value)
       Keys are stored in Google Secret Manager.
       
      .google.cloud.video.transcoder.v1.Encryption.SecretManagerSource secret_manager_key_source = 7;
    • clearSecretManagerKeySource

      public Encryption.Builder clearSecretManagerKeySource()
       Keys are stored in Google Secret Manager.
       
      .google.cloud.video.transcoder.v1.Encryption.SecretManagerSource secret_manager_key_source = 7;
    • getSecretManagerKeySourceBuilder

      public Encryption.SecretManagerSource.Builder getSecretManagerKeySourceBuilder()
       Keys are stored in Google Secret Manager.
       
      .google.cloud.video.transcoder.v1.Encryption.SecretManagerSource secret_manager_key_source = 7;
    • 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.
    • setDrmSystems

      public Encryption.Builder setDrmSystems(Encryption.DrmSystems value)
       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];
    • setDrmSystems

      public Encryption.Builder setDrmSystems(Encryption.DrmSystems.Builder builderForValue)
       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];
    • mergeDrmSystems

      public Encryption.Builder mergeDrmSystems(Encryption.DrmSystems value)
       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];
    • clearDrmSystems

      public Encryption.Builder clearDrmSystems()
       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];
    • getDrmSystemsBuilder

      public Encryption.DrmSystems.Builder getDrmSystemsBuilder()
       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];
    • 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