Class 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.GeneratedMessageV3.Builder<Encryption.Builder>
    implements EncryptionOrBuilder
     Encryption settings.
     
    Protobuf type google.cloud.video.transcoder.v1.Encryption
    • Method Detail

      • 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.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.GeneratedMessageV3.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.GeneratedMessageV3.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
      • clone

        public Encryption.Builder clone()
        Specified by:
        clone in interface com.google.protobuf.Message.Builder
        Specified by:
        clone in interface com.google.protobuf.MessageLite.Builder
        Overrides:
        clone in class com.google.protobuf.GeneratedMessageV3.Builder<Encryption.Builder>
      • setField

        public Encryption.Builder setField​(com.google.protobuf.Descriptors.FieldDescriptor field,
                                           Object value)
        Specified by:
        setField in interface com.google.protobuf.Message.Builder
        Overrides:
        setField in class com.google.protobuf.GeneratedMessageV3.Builder<Encryption.Builder>
      • clearField

        public Encryption.Builder clearField​(com.google.protobuf.Descriptors.FieldDescriptor field)
        Specified by:
        clearField in interface com.google.protobuf.Message.Builder
        Overrides:
        clearField in class com.google.protobuf.GeneratedMessageV3.Builder<Encryption.Builder>
      • clearOneof

        public Encryption.Builder clearOneof​(com.google.protobuf.Descriptors.OneofDescriptor oneof)
        Specified by:
        clearOneof in interface com.google.protobuf.Message.Builder
        Overrides:
        clearOneof in class com.google.protobuf.GeneratedMessageV3.Builder<Encryption.Builder>
      • setRepeatedField

        public Encryption.Builder setRepeatedField​(com.google.protobuf.Descriptors.FieldDescriptor field,
                                                   int index,
                                                   Object value)
        Specified by:
        setRepeatedField in interface com.google.protobuf.Message.Builder
        Overrides:
        setRepeatedField in class com.google.protobuf.GeneratedMessageV3.Builder<Encryption.Builder>
      • addRepeatedField

        public Encryption.Builder addRepeatedField​(com.google.protobuf.Descriptors.FieldDescriptor field,
                                                   Object value)
        Specified by:
        addRepeatedField in interface com.google.protobuf.Message.Builder
        Overrides:
        addRepeatedField in class com.google.protobuf.GeneratedMessageV3.Builder<Encryption.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>
      • isInitialized

        public final boolean isInitialized()
        Specified by:
        isInitialized in interface com.google.protobuf.MessageLiteOrBuilder
        Overrides:
        isInitialized in class com.google.protobuf.GeneratedMessageV3.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
      • 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.
      • 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;
      • 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.
      • 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;
      • 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.
      • 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;
      • 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.
      • 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;
      • 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;
      • 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
      • setUnknownFields

        public final Encryption.Builder setUnknownFields​(com.google.protobuf.UnknownFieldSet unknownFields)
        Specified by:
        setUnknownFields in interface com.google.protobuf.Message.Builder
        Overrides:
        setUnknownFields in class com.google.protobuf.GeneratedMessageV3.Builder<Encryption.Builder>
      • mergeUnknownFields

        public final Encryption.Builder mergeUnknownFields​(com.google.protobuf.UnknownFieldSet unknownFields)
        Specified by:
        mergeUnknownFields in interface com.google.protobuf.Message.Builder
        Overrides:
        mergeUnknownFields in class com.google.protobuf.GeneratedMessageV3.Builder<Encryption.Builder>