Class Function.CryptoSpec.Builder

    • 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<Function.CryptoSpec.Builder>
      • clear

        public Function.CryptoSpec.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<Function.CryptoSpec.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<Function.CryptoSpec.Builder>
      • getDefaultInstanceForType

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

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

        public Function.CryptoSpec buildPartial()
        Specified by:
        buildPartial in interface com.google.protobuf.Message.Builder
        Specified by:
        buildPartial in interface com.google.protobuf.MessageLite.Builder
      • clone

        public Function.CryptoSpec.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<Function.CryptoSpec.Builder>
      • setField

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

        public Function.CryptoSpec.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<Function.CryptoSpec.Builder>
      • clearOneof

        public Function.CryptoSpec.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<Function.CryptoSpec.Builder>
      • setRepeatedField

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

        public Function.CryptoSpec.Builder addRepeatedField​(com.google.protobuf.Descriptors.FieldDescriptor field,
                                                            java.lang.Object value)
        Specified by:
        addRepeatedField in interface com.google.protobuf.Message.Builder
        Overrides:
        addRepeatedField in class com.google.protobuf.GeneratedMessageV3.Builder<Function.CryptoSpec.Builder>
      • mergeFrom

        public Function.CryptoSpec.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<Function.CryptoSpec.Builder>
      • isInitialized

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

        public Function.CryptoSpec.Builder mergeFrom​(com.google.protobuf.CodedInputStream input,
                                                     com.google.protobuf.ExtensionRegistryLite extensionRegistry)
                                              throws java.io.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<Function.CryptoSpec.Builder>
        Throws:
        java.io.IOException
      • setCryptoKeyReaderClassName

        public Function.CryptoSpec.Builder setCryptoKeyReaderClassName​(java.lang.String value)
        string cryptoKeyReaderClassName = 1;
        Parameters:
        value - The cryptoKeyReaderClassName to set.
        Returns:
        This builder for chaining.
      • clearCryptoKeyReaderClassName

        public Function.CryptoSpec.Builder clearCryptoKeyReaderClassName()
        string cryptoKeyReaderClassName = 1;
        Returns:
        This builder for chaining.
      • setCryptoKeyReaderClassNameBytes

        public Function.CryptoSpec.Builder setCryptoKeyReaderClassNameBytes​(com.google.protobuf.ByteString value)
        string cryptoKeyReaderClassName = 1;
        Parameters:
        value - The bytes for cryptoKeyReaderClassName to set.
        Returns:
        This builder for chaining.
      • setCryptoKeyReaderConfig

        public Function.CryptoSpec.Builder setCryptoKeyReaderConfig​(java.lang.String value)
        string cryptoKeyReaderConfig = 2;
        Parameters:
        value - The cryptoKeyReaderConfig to set.
        Returns:
        This builder for chaining.
      • clearCryptoKeyReaderConfig

        public Function.CryptoSpec.Builder clearCryptoKeyReaderConfig()
        string cryptoKeyReaderConfig = 2;
        Returns:
        This builder for chaining.
      • setCryptoKeyReaderConfigBytes

        public Function.CryptoSpec.Builder setCryptoKeyReaderConfigBytes​(com.google.protobuf.ByteString value)
        string cryptoKeyReaderConfig = 2;
        Parameters:
        value - The bytes for cryptoKeyReaderConfig to set.
        Returns:
        This builder for chaining.
      • getProducerEncryptionKeyNameList

        public com.google.protobuf.ProtocolStringList getProducerEncryptionKeyNameList()
         key names used by producer to encrypt data
         
        repeated string producerEncryptionKeyName = 3;
        Specified by:
        getProducerEncryptionKeyNameList in interface Function.CryptoSpecOrBuilder
        Returns:
        A list containing the producerEncryptionKeyName.
      • getProducerEncryptionKeyNameCount

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

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

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

        public Function.CryptoSpec.Builder setProducerEncryptionKeyName​(int index,
                                                                        java.lang.String value)
         key names used by producer to encrypt data
         
        repeated string producerEncryptionKeyName = 3;
        Parameters:
        index - The index to set the value at.
        value - The producerEncryptionKeyName to set.
        Returns:
        This builder for chaining.
      • addProducerEncryptionKeyName

        public Function.CryptoSpec.Builder addProducerEncryptionKeyName​(java.lang.String value)
         key names used by producer to encrypt data
         
        repeated string producerEncryptionKeyName = 3;
        Parameters:
        value - The producerEncryptionKeyName to add.
        Returns:
        This builder for chaining.
      • addAllProducerEncryptionKeyName

        public Function.CryptoSpec.Builder addAllProducerEncryptionKeyName​(java.lang.Iterable<java.lang.String> values)
         key names used by producer to encrypt data
         
        repeated string producerEncryptionKeyName = 3;
        Parameters:
        values - The producerEncryptionKeyName to add.
        Returns:
        This builder for chaining.
      • clearProducerEncryptionKeyName

        public Function.CryptoSpec.Builder clearProducerEncryptionKeyName()
         key names used by producer to encrypt data
         
        repeated string producerEncryptionKeyName = 3;
        Returns:
        This builder for chaining.
      • addProducerEncryptionKeyNameBytes

        public Function.CryptoSpec.Builder addProducerEncryptionKeyNameBytes​(com.google.protobuf.ByteString value)
         key names used by producer to encrypt data
         
        repeated string producerEncryptionKeyName = 3;
        Parameters:
        value - The bytes of the producerEncryptionKeyName to add.
        Returns:
        This builder for chaining.
      • getProducerCryptoFailureActionValue

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

        public Function.CryptoSpec.Builder setProducerCryptoFailureActionValue​(int value)
         define the action if producer fail to encrypt data
         one of FAIL, SEND
         
        .proto.CryptoSpec.FailureAction producerCryptoFailureAction = 4;
        Parameters:
        value - The enum numeric value on the wire for producerCryptoFailureAction to set.
        Returns:
        This builder for chaining.
      • setProducerCryptoFailureAction

        public Function.CryptoSpec.Builder setProducerCryptoFailureAction​(Function.CryptoSpec.FailureAction value)
         define the action if producer fail to encrypt data
         one of FAIL, SEND
         
        .proto.CryptoSpec.FailureAction producerCryptoFailureAction = 4;
        Parameters:
        value - The producerCryptoFailureAction to set.
        Returns:
        This builder for chaining.
      • clearProducerCryptoFailureAction

        public Function.CryptoSpec.Builder clearProducerCryptoFailureAction()
         define the action if producer fail to encrypt data
         one of FAIL, SEND
         
        .proto.CryptoSpec.FailureAction producerCryptoFailureAction = 4;
        Returns:
        This builder for chaining.
      • getConsumerCryptoFailureActionValue

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

        public Function.CryptoSpec.Builder setConsumerCryptoFailureActionValue​(int value)
         define the action if consumer fail to decrypt data
         one of FAIL, DISCARD, CONSUME
         
        .proto.CryptoSpec.FailureAction consumerCryptoFailureAction = 5;
        Parameters:
        value - The enum numeric value on the wire for consumerCryptoFailureAction to set.
        Returns:
        This builder for chaining.
      • setConsumerCryptoFailureAction

        public Function.CryptoSpec.Builder setConsumerCryptoFailureAction​(Function.CryptoSpec.FailureAction value)
         define the action if consumer fail to decrypt data
         one of FAIL, DISCARD, CONSUME
         
        .proto.CryptoSpec.FailureAction consumerCryptoFailureAction = 5;
        Parameters:
        value - The consumerCryptoFailureAction to set.
        Returns:
        This builder for chaining.
      • clearConsumerCryptoFailureAction

        public Function.CryptoSpec.Builder clearConsumerCryptoFailureAction()
         define the action if consumer fail to decrypt data
         one of FAIL, DISCARD, CONSUME
         
        .proto.CryptoSpec.FailureAction consumerCryptoFailureAction = 5;
        Returns:
        This builder for chaining.
      • setUnknownFields

        public final Function.CryptoSpec.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<Function.CryptoSpec.Builder>
      • mergeUnknownFields

        public final Function.CryptoSpec.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<Function.CryptoSpec.Builder>