Package io.dapr.v1

Class DaprProtos.SubtleWrapKeyRequest.Builder

java.lang.Object
com.google.protobuf.AbstractMessageLite.Builder
com.google.protobuf.AbstractMessage.Builder<BuilderT>
com.google.protobuf.GeneratedMessageV3.Builder<DaprProtos.SubtleWrapKeyRequest.Builder>
io.dapr.v1.DaprProtos.SubtleWrapKeyRequest.Builder
All Implemented Interfaces:
com.google.protobuf.Message.Builder, com.google.protobuf.MessageLite.Builder, com.google.protobuf.MessageLiteOrBuilder, com.google.protobuf.MessageOrBuilder, DaprProtos.SubtleWrapKeyRequestOrBuilder, Cloneable
Enclosing class:
DaprProtos.SubtleWrapKeyRequest

public static final class DaprProtos.SubtleWrapKeyRequest.Builder extends com.google.protobuf.GeneratedMessageV3.Builder<DaprProtos.SubtleWrapKeyRequest.Builder> implements DaprProtos.SubtleWrapKeyRequestOrBuilder
 SubtleWrapKeyRequest is the request for SubtleWrapKeyAlpha1.
 
Protobuf type dapr.proto.runtime.v1.SubtleWrapKeyRequest
  • Method Details

    • 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>
    • 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<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

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

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

      public DaprProtos.SubtleWrapKeyRequest.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<DaprProtos.SubtleWrapKeyRequest.Builder>
    • clearOneof

      public DaprProtos.SubtleWrapKeyRequest.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<DaprProtos.SubtleWrapKeyRequest.Builder>
    • setRepeatedField

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

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

      public DaprProtos.SubtleWrapKeyRequest.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<DaprProtos.SubtleWrapKeyRequest.Builder>
    • mergeFrom

    • 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>
    • mergeFrom

      public DaprProtos.SubtleWrapKeyRequest.Builder mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws 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<DaprProtos.SubtleWrapKeyRequest.Builder>
      Throws:
      IOException
    • getComponentName

      public String getComponentName()
       Name of the component
       
      string component_name = 1 [json_name = "componentName"];
      Specified by:
      getComponentName in interface DaprProtos.SubtleWrapKeyRequestOrBuilder
      Returns:
      The componentName.
    • getComponentNameBytes

      public com.google.protobuf.ByteString getComponentNameBytes()
       Name of the component
       
      string component_name = 1 [json_name = "componentName"];
      Specified by:
      getComponentNameBytes in interface DaprProtos.SubtleWrapKeyRequestOrBuilder
      Returns:
      The bytes for componentName.
    • 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.
    • getPlaintextKey

      public com.google.protobuf.ByteString getPlaintextKey()
       Key to wrap
       
      bytes plaintext_key = 2 [json_name = "plaintextKey"];
      Specified by:
      getPlaintextKey in interface DaprProtos.SubtleWrapKeyRequestOrBuilder
      Returns:
      The plaintextKey.
    • 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.
    • clearPlaintextKey

      public DaprProtos.SubtleWrapKeyRequest.Builder clearPlaintextKey()
       Key to wrap
       
      bytes plaintext_key = 2 [json_name = "plaintextKey"];
      Returns:
      This builder for chaining.
    • getAlgorithm

      public String getAlgorithm()
       Algorithm to use, as in the JWA standard.
       
      string algorithm = 3;
      Specified by:
      getAlgorithm in interface DaprProtos.SubtleWrapKeyRequestOrBuilder
      Returns:
      The algorithm.
    • getAlgorithmBytes

      public com.google.protobuf.ByteString getAlgorithmBytes()
       Algorithm to use, as in the JWA standard.
       
      string algorithm = 3;
      Specified by:
      getAlgorithmBytes in interface DaprProtos.SubtleWrapKeyRequestOrBuilder
      Returns:
      The bytes for algorithm.
    • 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.
    • clearAlgorithm

      public DaprProtos.SubtleWrapKeyRequest.Builder clearAlgorithm()
       Algorithm to use, as in the JWA standard.
       
      string algorithm = 3;
      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.
    • getKeyName

      public String getKeyName()
       Name (or name/version) of the key.
       
      string key_name = 4 [json_name = "keyName"];
      Specified by:
      getKeyName in interface DaprProtos.SubtleWrapKeyRequestOrBuilder
      Returns:
      The keyName.
    • getKeyNameBytes

      public com.google.protobuf.ByteString getKeyNameBytes()
       Name (or name/version) of the key.
       
      string key_name = 4 [json_name = "keyName"];
      Specified by:
      getKeyNameBytes in interface DaprProtos.SubtleWrapKeyRequestOrBuilder
      Returns:
      The bytes for keyName.
    • setKeyName

       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.
    • clearKeyName

       Name (or name/version) of the key.
       
      string key_name = 4 [json_name = "keyName"];
      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.
    • clearNonce

       Nonce / initialization vector.
       Ignored with asymmetric ciphers.
       
      bytes nonce = 5;
      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.
    • setUnknownFields

      public final DaprProtos.SubtleWrapKeyRequest.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<DaprProtos.SubtleWrapKeyRequest.Builder>
    • mergeUnknownFields

      public final DaprProtos.SubtleWrapKeyRequest.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<DaprProtos.SubtleWrapKeyRequest.Builder>