Package io.dapr.v1

Class DaprProtos.GetBulkStateRequest.Builder

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

public static final class DaprProtos.GetBulkStateRequest.Builder
extends com.google.protobuf.GeneratedMessageV3.Builder<DaprProtos.GetBulkStateRequest.Builder>
implements DaprProtos.GetBulkStateRequestOrBuilder
 GetBulkStateRequest is the message to get a list of key-value states from specific state store.
 
Protobuf type dapr.proto.runtime.v1.GetBulkStateRequest
  • Method Details

    • getDescriptor

      public static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
    • internalGetMapField

      protected com.google.protobuf.MapField internalGetMapField​(int number)
      Overrides:
      internalGetMapField in class com.google.protobuf.GeneratedMessageV3.Builder<DaprProtos.GetBulkStateRequest.Builder>
    • internalGetMutableMapField

      protected com.google.protobuf.MapField internalGetMutableMapField​(int number)
      Overrides:
      internalGetMutableMapField in class com.google.protobuf.GeneratedMessageV3.Builder<DaprProtos.GetBulkStateRequest.Builder>
    • internalGetFieldAccessorTable

      protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
      Specified by:
      internalGetFieldAccessorTable in class com.google.protobuf.GeneratedMessageV3.Builder<DaprProtos.GetBulkStateRequest.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.GetBulkStateRequest.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.GetBulkStateRequest.Builder>
    • getDefaultInstanceForType

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

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

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

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

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

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

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

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

      public java.lang.String getStoreName()
       The name of state store.
       
      string store_name = 1;
      Specified by:
      getStoreName in interface DaprProtos.GetBulkStateRequestOrBuilder
      Returns:
      The storeName.
    • getStoreNameBytes

      public com.google.protobuf.ByteString getStoreNameBytes()
       The name of state store.
       
      string store_name = 1;
      Specified by:
      getStoreNameBytes in interface DaprProtos.GetBulkStateRequestOrBuilder
      Returns:
      The bytes for storeName.
    • setStoreName

      public DaprProtos.GetBulkStateRequest.Builder setStoreName​(java.lang.String value)
       The name of state store.
       
      string store_name = 1;
      Parameters:
      value - The storeName to set.
      Returns:
      This builder for chaining.
    • clearStoreName

      public DaprProtos.GetBulkStateRequest.Builder clearStoreName()
       The name of state store.
       
      string store_name = 1;
      Returns:
      This builder for chaining.
    • setStoreNameBytes

      public DaprProtos.GetBulkStateRequest.Builder setStoreNameBytes​(com.google.protobuf.ByteString value)
       The name of state store.
       
      string store_name = 1;
      Parameters:
      value - The bytes for storeName to set.
      Returns:
      This builder for chaining.
    • getKeysList

      public com.google.protobuf.ProtocolStringList getKeysList()
       The keys to get.
       
      repeated string keys = 2;
      Specified by:
      getKeysList in interface DaprProtos.GetBulkStateRequestOrBuilder
      Returns:
      A list containing the keys.
    • getKeysCount

      public int getKeysCount()
       The keys to get.
       
      repeated string keys = 2;
      Specified by:
      getKeysCount in interface DaprProtos.GetBulkStateRequestOrBuilder
      Returns:
      The count of keys.
    • getKeys

      public java.lang.String getKeys​(int index)
       The keys to get.
       
      repeated string keys = 2;
      Specified by:
      getKeys in interface DaprProtos.GetBulkStateRequestOrBuilder
      Parameters:
      index - The index of the element to return.
      Returns:
      The keys at the given index.
    • getKeysBytes

      public com.google.protobuf.ByteString getKeysBytes​(int index)
       The keys to get.
       
      repeated string keys = 2;
      Specified by:
      getKeysBytes in interface DaprProtos.GetBulkStateRequestOrBuilder
      Parameters:
      index - The index of the value to return.
      Returns:
      The bytes of the keys at the given index.
    • setKeys

      public DaprProtos.GetBulkStateRequest.Builder setKeys​(int index, java.lang.String value)
       The keys to get.
       
      repeated string keys = 2;
      Parameters:
      index - The index to set the value at.
      value - The keys to set.
      Returns:
      This builder for chaining.
    • addKeys

      public DaprProtos.GetBulkStateRequest.Builder addKeys​(java.lang.String value)
       The keys to get.
       
      repeated string keys = 2;
      Parameters:
      value - The keys to add.
      Returns:
      This builder for chaining.
    • addAllKeys

      public DaprProtos.GetBulkStateRequest.Builder addAllKeys​(java.lang.Iterable<java.lang.String> values)
       The keys to get.
       
      repeated string keys = 2;
      Parameters:
      values - The keys to add.
      Returns:
      This builder for chaining.
    • clearKeys

       The keys to get.
       
      repeated string keys = 2;
      Returns:
      This builder for chaining.
    • addKeysBytes

      public DaprProtos.GetBulkStateRequest.Builder addKeysBytes​(com.google.protobuf.ByteString value)
       The keys to get.
       
      repeated string keys = 2;
      Parameters:
      value - The bytes of the keys to add.
      Returns:
      This builder for chaining.
    • getParallelism

      public int getParallelism()
       The number of parallel operations executed on the state store for a get operation.
       
      int32 parallelism = 3;
      Specified by:
      getParallelism in interface DaprProtos.GetBulkStateRequestOrBuilder
      Returns:
      The parallelism.
    • setParallelism

      public DaprProtos.GetBulkStateRequest.Builder setParallelism​(int value)
       The number of parallel operations executed on the state store for a get operation.
       
      int32 parallelism = 3;
      Parameters:
      value - The parallelism to set.
      Returns:
      This builder for chaining.
    • clearParallelism

      public DaprProtos.GetBulkStateRequest.Builder clearParallelism()
       The number of parallel operations executed on the state store for a get operation.
       
      int32 parallelism = 3;
      Returns:
      This builder for chaining.
    • getMetadataCount

      public int getMetadataCount()
      Description copied from interface: DaprProtos.GetBulkStateRequestOrBuilder
       The metadata which will be sent to state store components.
       
      map<string, string> metadata = 4;
      Specified by:
      getMetadataCount in interface DaprProtos.GetBulkStateRequestOrBuilder
    • containsMetadata

      public boolean containsMetadata​(java.lang.String key)
       The metadata which will be sent to state store components.
       
      map<string, string> metadata = 4;
      Specified by:
      containsMetadata in interface DaprProtos.GetBulkStateRequestOrBuilder
    • getMetadata

      @Deprecated public java.util.Map<java.lang.String,​java.lang.String> getMetadata()
      Deprecated.
      Use getMetadataMap() instead.
      Specified by:
      getMetadata in interface DaprProtos.GetBulkStateRequestOrBuilder
    • getMetadataMap

      public java.util.Map<java.lang.String,​java.lang.String> getMetadataMap()
       The metadata which will be sent to state store components.
       
      map<string, string> metadata = 4;
      Specified by:
      getMetadataMap in interface DaprProtos.GetBulkStateRequestOrBuilder
    • getMetadataOrDefault

      public java.lang.String getMetadataOrDefault​(java.lang.String key, java.lang.String defaultValue)
       The metadata which will be sent to state store components.
       
      map<string, string> metadata = 4;
      Specified by:
      getMetadataOrDefault in interface DaprProtos.GetBulkStateRequestOrBuilder
    • getMetadataOrThrow

      public java.lang.String getMetadataOrThrow​(java.lang.String key)
       The metadata which will be sent to state store components.
       
      map<string, string> metadata = 4;
      Specified by:
      getMetadataOrThrow in interface DaprProtos.GetBulkStateRequestOrBuilder
    • clearMetadata

    • removeMetadata

      public DaprProtos.GetBulkStateRequest.Builder removeMetadata​(java.lang.String key)
       The metadata which will be sent to state store components.
       
      map<string, string> metadata = 4;
    • getMutableMetadata

      @Deprecated public java.util.Map<java.lang.String,​java.lang.String> getMutableMetadata()
      Deprecated.
      Use alternate mutation accessors instead.
    • putMetadata

      public DaprProtos.GetBulkStateRequest.Builder putMetadata​(java.lang.String key, java.lang.String value)
       The metadata which will be sent to state store components.
       
      map<string, string> metadata = 4;
    • putAllMetadata

      public DaprProtos.GetBulkStateRequest.Builder putAllMetadata​(java.util.Map<java.lang.String,​java.lang.String> values)
       The metadata which will be sent to state store components.
       
      map<string, string> metadata = 4;
    • setUnknownFields

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

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