Interface Function.CryptoSpecOrBuilder

  • All Superinterfaces:
    com.google.protobuf.MessageLiteOrBuilder, com.google.protobuf.MessageOrBuilder
    All Known Implementing Classes:
    Function.CryptoSpec, Function.CryptoSpec.Builder
    Enclosing class:
    Function

    public static interface Function.CryptoSpecOrBuilder
    extends com.google.protobuf.MessageOrBuilder
    • Method Detail

      • getCryptoKeyReaderClassName

        java.lang.String getCryptoKeyReaderClassName()
        string cryptoKeyReaderClassName = 1;
        Returns:
        The cryptoKeyReaderClassName.
      • getCryptoKeyReaderClassNameBytes

        com.google.protobuf.ByteString getCryptoKeyReaderClassNameBytes()
        string cryptoKeyReaderClassName = 1;
        Returns:
        The bytes for cryptoKeyReaderClassName.
      • getCryptoKeyReaderConfig

        java.lang.String getCryptoKeyReaderConfig()
        string cryptoKeyReaderConfig = 2;
        Returns:
        The cryptoKeyReaderConfig.
      • getCryptoKeyReaderConfigBytes

        com.google.protobuf.ByteString getCryptoKeyReaderConfigBytes()
        string cryptoKeyReaderConfig = 2;
        Returns:
        The bytes for cryptoKeyReaderConfig.
      • getProducerEncryptionKeyNameList

        java.util.List<java.lang.String> getProducerEncryptionKeyNameList()
         key names used by producer to encrypt data
         
        repeated string producerEncryptionKeyName = 3;
        Returns:
        A list containing the producerEncryptionKeyName.
      • getProducerEncryptionKeyNameCount

        int getProducerEncryptionKeyNameCount()
         key names used by producer to encrypt data
         
        repeated string producerEncryptionKeyName = 3;
        Returns:
        The count of producerEncryptionKeyName.
      • getProducerEncryptionKeyName

        java.lang.String getProducerEncryptionKeyName​(int index)
         key names used by producer to encrypt data
         
        repeated string producerEncryptionKeyName = 3;
        Parameters:
        index - The index of the element to return.
        Returns:
        The producerEncryptionKeyName at the given index.
      • getProducerEncryptionKeyNameBytes

        com.google.protobuf.ByteString getProducerEncryptionKeyNameBytes​(int index)
         key names used by producer to encrypt data
         
        repeated string producerEncryptionKeyName = 3;
        Parameters:
        index - The index of the value to return.
        Returns:
        The bytes of the producerEncryptionKeyName at the given index.
      • getProducerCryptoFailureActionValue

        int getProducerCryptoFailureActionValue()
         define the action if producer fail to encrypt data
         one of FAIL, SEND
         
        .proto.CryptoSpec.FailureAction producerCryptoFailureAction = 4;
        Returns:
        The enum numeric value on the wire for producerCryptoFailureAction.
      • getProducerCryptoFailureAction

        Function.CryptoSpec.FailureAction getProducerCryptoFailureAction()
         define the action if producer fail to encrypt data
         one of FAIL, SEND
         
        .proto.CryptoSpec.FailureAction producerCryptoFailureAction = 4;
        Returns:
        The producerCryptoFailureAction.
      • getConsumerCryptoFailureActionValue

        int getConsumerCryptoFailureActionValue()
         define the action if consumer fail to decrypt data
         one of FAIL, DISCARD, CONSUME
         
        .proto.CryptoSpec.FailureAction consumerCryptoFailureAction = 5;
        Returns:
        The enum numeric value on the wire for consumerCryptoFailureAction.
      • getConsumerCryptoFailureAction

        Function.CryptoSpec.FailureAction getConsumerCryptoFailureAction()
         define the action if consumer fail to decrypt data
         one of FAIL, DISCARD, CONSUME
         
        .proto.CryptoSpec.FailureAction consumerCryptoFailureAction = 5;
        Returns:
        The consumerCryptoFailureAction.