Package io.dapr.v1

Class DaprProtos.DecryptRequestOptions.Builder

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

public static final class DaprProtos.DecryptRequestOptions.Builder extends com.google.protobuf.GeneratedMessageV3.Builder<DaprProtos.DecryptRequestOptions.Builder> implements DaprProtos.DecryptRequestOptionsOrBuilder
 DecryptRequestOptions contains options for the first message in the DecryptAlpha1 request.
 
Protobuf type dapr.proto.runtime.v1.DecryptRequestOptions
  • 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.DecryptRequestOptions.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.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

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

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

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

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

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

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

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

      public DaprProtos.DecryptRequestOptions.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.DecryptRequestOptions.Builder>
      Throws:
      IOException
    • getComponentName

      public String getComponentName()
       Name of the component
       
      string component_name = 1 [json_name = "componentName"];
      Specified by:
      getComponentName in interface DaprProtos.DecryptRequestOptionsOrBuilder
      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.DecryptRequestOptionsOrBuilder
      Returns:
      The bytes for componentName.
    • 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

       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

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

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

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