Package io.dapr.v1

Class DaprProtos.SubtleWrapKeyRequest

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

public static final class DaprProtos.SubtleWrapKeyRequest extends com.google.protobuf.GeneratedMessageV3 implements DaprProtos.SubtleWrapKeyRequestOrBuilder
 SubtleWrapKeyRequest is the request for SubtleWrapKeyAlpha1.
 
Protobuf type dapr.proto.runtime.v1.SubtleWrapKeyRequest
See Also:
  • Field Details

    • COMPONENT_NAME_FIELD_NUMBER

      public static final int COMPONENT_NAME_FIELD_NUMBER
      See Also:
    • PLAINTEXT_KEY_FIELD_NUMBER

      public static final int PLAINTEXT_KEY_FIELD_NUMBER
      See Also:
    • ALGORITHM_FIELD_NUMBER

      public static final int ALGORITHM_FIELD_NUMBER
      See Also:
    • KEY_NAME_FIELD_NUMBER

      public static final int KEY_NAME_FIELD_NUMBER
      See Also:
    • NONCE_FIELD_NUMBER

      public static final int NONCE_FIELD_NUMBER
      See Also:
    • ASSOCIATED_DATA_FIELD_NUMBER

      public static final int ASSOCIATED_DATA_FIELD_NUMBER
      See Also:
  • Method Details

    • newInstance

      protected Object newInstance(com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter unused)
      Overrides:
      newInstance in class com.google.protobuf.GeneratedMessageV3
    • 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
    • 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.
    • 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.
    • 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.
    • 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.
    • 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.
    • 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.
    • isInitialized

      public final boolean isInitialized()
      Specified by:
      isInitialized in interface com.google.protobuf.MessageLiteOrBuilder
      Overrides:
      isInitialized in class com.google.protobuf.GeneratedMessageV3
    • writeTo

      public void writeTo(com.google.protobuf.CodedOutputStream output) throws IOException
      Specified by:
      writeTo in interface com.google.protobuf.MessageLite
      Overrides:
      writeTo in class com.google.protobuf.GeneratedMessageV3
      Throws:
      IOException
    • getSerializedSize

      public int getSerializedSize()
      Specified by:
      getSerializedSize in interface com.google.protobuf.MessageLite
      Overrides:
      getSerializedSize in class com.google.protobuf.GeneratedMessageV3
    • equals

      public boolean equals(Object obj)
      Specified by:
      equals in interface com.google.protobuf.Message
      Overrides:
      equals in class com.google.protobuf.AbstractMessage
    • hashCode

      public int hashCode()
      Specified by:
      hashCode in interface com.google.protobuf.Message
      Overrides:
      hashCode in class com.google.protobuf.AbstractMessage
    • parseFrom

      public static DaprProtos.SubtleWrapKeyRequest parseFrom(ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException
      Throws:
      com.google.protobuf.InvalidProtocolBufferException
    • parseFrom

      public static DaprProtos.SubtleWrapKeyRequest parseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
      Throws:
      com.google.protobuf.InvalidProtocolBufferException
    • parseFrom

      public static DaprProtos.SubtleWrapKeyRequest parseFrom(com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException
      Throws:
      com.google.protobuf.InvalidProtocolBufferException
    • parseFrom

      public static DaprProtos.SubtleWrapKeyRequest parseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
      Throws:
      com.google.protobuf.InvalidProtocolBufferException
    • parseFrom

      public static DaprProtos.SubtleWrapKeyRequest parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException
      Throws:
      com.google.protobuf.InvalidProtocolBufferException
    • parseFrom

      public static DaprProtos.SubtleWrapKeyRequest parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
      Throws:
      com.google.protobuf.InvalidProtocolBufferException
    • parseFrom

      public static DaprProtos.SubtleWrapKeyRequest parseFrom(InputStream input) throws IOException
      Throws:
      IOException
    • parseFrom

      public static DaprProtos.SubtleWrapKeyRequest parseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
      Throws:
      IOException
    • parseDelimitedFrom

      public static DaprProtos.SubtleWrapKeyRequest parseDelimitedFrom(InputStream input) throws IOException
      Throws:
      IOException
    • parseDelimitedFrom

      public static DaprProtos.SubtleWrapKeyRequest parseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
      Throws:
      IOException
    • parseFrom

      public static DaprProtos.SubtleWrapKeyRequest parseFrom(com.google.protobuf.CodedInputStream input) throws IOException
      Throws:
      IOException
    • parseFrom

      public static DaprProtos.SubtleWrapKeyRequest parseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
      Throws:
      IOException
    • newBuilderForType

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

      public static DaprProtos.SubtleWrapKeyRequest.Builder newBuilder()
    • newBuilder

    • toBuilder

      Specified by:
      toBuilder in interface com.google.protobuf.Message
      Specified by:
      toBuilder in interface com.google.protobuf.MessageLite
    • newBuilderForType

      protected DaprProtos.SubtleWrapKeyRequest.Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent)
      Specified by:
      newBuilderForType in class com.google.protobuf.GeneratedMessageV3
    • getDefaultInstance

      public static DaprProtos.SubtleWrapKeyRequest getDefaultInstance()
    • parser

      public static com.google.protobuf.Parser<DaprProtos.SubtleWrapKeyRequest> parser()
    • getParserForType

      public com.google.protobuf.Parser<DaprProtos.SubtleWrapKeyRequest> getParserForType()
      Specified by:
      getParserForType in interface com.google.protobuf.Message
      Specified by:
      getParserForType in interface com.google.protobuf.MessageLite
      Overrides:
      getParserForType in class com.google.protobuf.GeneratedMessageV3
    • getDefaultInstanceForType

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