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 Summary
Modifier and TypeMethodDescriptiondefine the action if consumer fail to decrypt data one of FAIL, DISCARD, CONSUMEintdefine the action if consumer fail to decrypt data one of FAIL, DISCARD, CONSUMEstring cryptoKeyReaderClassName = 1;com.google.protobuf.ByteStringstring cryptoKeyReaderClassName = 1;string cryptoKeyReaderConfig = 2;com.google.protobuf.ByteStringstring cryptoKeyReaderConfig = 2;define the action if producer fail to encrypt data one of FAIL, SENDintdefine the action if producer fail to encrypt data one of FAIL, SENDgetProducerEncryptionKeyName(int index) key names used by producer to encrypt datacom.google.protobuf.ByteStringgetProducerEncryptionKeyNameBytes(int index) key names used by producer to encrypt dataintkey names used by producer to encrypt datakey names used by producer to encrypt dataMethods inherited from interface com.google.protobuf.MessageLiteOrBuilder
isInitializedMethods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getDefaultInstanceForType, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
Method Details
-
getCryptoKeyReaderClassName
String getCryptoKeyReaderClassName()string cryptoKeyReaderClassName = 1;- Returns:
- The cryptoKeyReaderClassName.
-
getCryptoKeyReaderClassNameBytes
com.google.protobuf.ByteString getCryptoKeyReaderClassNameBytes()string cryptoKeyReaderClassName = 1;- Returns:
- The bytes for cryptoKeyReaderClassName.
-
getCryptoKeyReaderConfig
String getCryptoKeyReaderConfig()string cryptoKeyReaderConfig = 2;- Returns:
- The cryptoKeyReaderConfig.
-
getCryptoKeyReaderConfigBytes
com.google.protobuf.ByteString getCryptoKeyReaderConfigBytes()string cryptoKeyReaderConfig = 2;- Returns:
- The bytes for cryptoKeyReaderConfig.
-
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
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.
-