Package io.dapr.v1

Class DaprProtos.SubtleWrapKeyRequest.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<DaprProtos.SubtleWrapKeyRequest.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<DaprProtos.SubtleWrapKeyRequest.Builder>
      • getDefaultInstanceForType

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

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

        public DaprProtos.SubtleWrapKeyRequest buildPartial()
        Specified by:
        buildPartial in interface com.google.protobuf.Message.Builder
        Specified by:
        buildPartial in interface com.google.protobuf.MessageLite.Builder
      • isInitialized

        public final boolean isInitialized()
        Specified by:
        isInitialized in interface com.google.protobuf.MessageLiteOrBuilder
        Overrides:
        isInitialized in class com.google.protobuf.GeneratedMessageV3.Builder<DaprProtos.SubtleWrapKeyRequest.Builder>
      • setComponentName

        public DaprProtos.SubtleWrapKeyRequest.Builder setComponentName​(String value)
         Name of the component
         
        string component_name = 1 [json_name = "componentName"];
        Parameters:
        value - The componentName to set.
        Returns:
        This builder for chaining.
      • clearComponentName

        public DaprProtos.SubtleWrapKeyRequest.Builder clearComponentName()
         Name of the component
         
        string component_name = 1 [json_name = "componentName"];
        Returns:
        This builder for chaining.
      • setComponentNameBytes

        public DaprProtos.SubtleWrapKeyRequest.Builder setComponentNameBytes​(com.google.protobuf.ByteString value)
         Name of the component
         
        string component_name = 1 [json_name = "componentName"];
        Parameters:
        value - The bytes for componentName to set.
        Returns:
        This builder for chaining.
      • setPlaintextKey

        public DaprProtos.SubtleWrapKeyRequest.Builder setPlaintextKey​(com.google.protobuf.ByteString value)
         Key to wrap
         
        bytes plaintext_key = 2 [json_name = "plaintextKey"];
        Parameters:
        value - The plaintextKey to set.
        Returns:
        This builder for chaining.
      • setAlgorithm

        public DaprProtos.SubtleWrapKeyRequest.Builder setAlgorithm​(String value)
         Algorithm to use, as in the JWA standard.
         
        string algorithm = 3;
        Parameters:
        value - The algorithm to set.
        Returns:
        This builder for chaining.
      • setAlgorithmBytes

        public DaprProtos.SubtleWrapKeyRequest.Builder setAlgorithmBytes​(com.google.protobuf.ByteString value)
         Algorithm to use, as in the JWA standard.
         
        string algorithm = 3;
        Parameters:
        value - The bytes for algorithm to set.
        Returns:
        This builder for chaining.
      • setKeyName

        public DaprProtos.SubtleWrapKeyRequest.Builder setKeyName​(String value)
         Name (or name/version) of the key.
         
        string key_name = 4 [json_name = "keyName"];
        Parameters:
        value - The keyName to set.
        Returns:
        This builder for chaining.
      • setKeyNameBytes

        public DaprProtos.SubtleWrapKeyRequest.Builder setKeyNameBytes​(com.google.protobuf.ByteString value)
         Name (or name/version) of the key.
         
        string key_name = 4 [json_name = "keyName"];
        Parameters:
        value - The bytes for keyName to set.
        Returns:
        This builder for chaining.
      • getNonce

        public com.google.protobuf.ByteString getNonce()
         Nonce / initialization vector.
         Ignored with asymmetric ciphers.
         
        bytes nonce = 5;
        Specified by:
        getNonce in interface DaprProtos.SubtleWrapKeyRequestOrBuilder
        Returns:
        The nonce.
      • setNonce

        public DaprProtos.SubtleWrapKeyRequest.Builder setNonce​(com.google.protobuf.ByteString value)
         Nonce / initialization vector.
         Ignored with asymmetric ciphers.
         
        bytes nonce = 5;
        Parameters:
        value - The nonce to set.
        Returns:
        This builder for chaining.
      • getAssociatedData

        public com.google.protobuf.ByteString getAssociatedData()
         Associated Data when using AEAD ciphers (optional).
         
        bytes associated_data = 6 [json_name = "associatedData"];
        Specified by:
        getAssociatedData in interface DaprProtos.SubtleWrapKeyRequestOrBuilder
        Returns:
        The associatedData.
      • setAssociatedData

        public DaprProtos.SubtleWrapKeyRequest.Builder setAssociatedData​(com.google.protobuf.ByteString value)
         Associated Data when using AEAD ciphers (optional).
         
        bytes associated_data = 6 [json_name = "associatedData"];
        Parameters:
        value - The associatedData to set.
        Returns:
        This builder for chaining.
      • clearAssociatedData

        public DaprProtos.SubtleWrapKeyRequest.Builder clearAssociatedData()
         Associated Data when using AEAD ciphers (optional).
         
        bytes associated_data = 6 [json_name = "associatedData"];
        Returns:
        This builder for chaining.