Package io.dapr.v1

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

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

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

        public DaprProtos.DecryptRequestOptions 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.DecryptRequestOptions.Builder>
      • setComponentName

        public DaprProtos.DecryptRequestOptions.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.DecryptRequestOptions.Builder clearComponentName()
         Name of the component
         
        string component_name = 1 [json_name = "componentName"];
        Returns:
        This builder for chaining.
      • setComponentNameBytes

        public DaprProtos.DecryptRequestOptions.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.
      • getKeyName

        public String getKeyName()
         Name (or name/version) of the key to decrypt the message.
         Overrides any key reference included in the message if present.
         This is required if the message doesn't include a key reference (i.e. was created with omit_decryption_key_name set to true).
         
        string key_name = 12 [json_name = "keyName"];
        Specified by:
        getKeyName in interface DaprProtos.DecryptRequestOptionsOrBuilder
        Returns:
        The keyName.
      • getKeyNameBytes

        public com.google.protobuf.ByteString getKeyNameBytes()
         Name (or name/version) of the key to decrypt the message.
         Overrides any key reference included in the message if present.
         This is required if the message doesn't include a key reference (i.e. was created with omit_decryption_key_name set to true).
         
        string key_name = 12 [json_name = "keyName"];
        Specified by:
        getKeyNameBytes in interface DaprProtos.DecryptRequestOptionsOrBuilder
        Returns:
        The bytes for keyName.
      • setKeyName

        public DaprProtos.DecryptRequestOptions.Builder setKeyName​(String value)
         Name (or name/version) of the key to decrypt the message.
         Overrides any key reference included in the message if present.
         This is required if the message doesn't include a key reference (i.e. was created with omit_decryption_key_name set to true).
         
        string key_name = 12 [json_name = "keyName"];
        Parameters:
        value - The keyName to set.
        Returns:
        This builder for chaining.
      • clearKeyName

        public DaprProtos.DecryptRequestOptions.Builder clearKeyName()
         Name (or name/version) of the key to decrypt the message.
         Overrides any key reference included in the message if present.
         This is required if the message doesn't include a key reference (i.e. was created with omit_decryption_key_name set to true).
         
        string key_name = 12 [json_name = "keyName"];
        Returns:
        This builder for chaining.
      • setKeyNameBytes

        public DaprProtos.DecryptRequestOptions.Builder setKeyNameBytes​(com.google.protobuf.ByteString value)
         Name (or name/version) of the key to decrypt the message.
         Overrides any key reference included in the message if present.
         This is required if the message doesn't include a key reference (i.e. was created with omit_decryption_key_name set to true).
         
        string key_name = 12 [json_name = "keyName"];
        Parameters:
        value - The bytes for keyName to set.
        Returns:
        This builder for chaining.