Package io.dapr.v1

# Class DaprProtos.DeleteBulkStateRequest.Builder

java.lang.Object
com.google.protobuf.AbstractMessageLite.Builder
com.google.protobuf.AbstractMessage.Builder<BuilderT>
com.google.protobuf.GeneratedMessageV3.Builder<DaprProtos.DeleteBulkStateRequest.Builder>
io.dapr.v1.DaprProtos.DeleteBulkStateRequest.Builder

All Implemented Interfaces:
  `com.google.protobuf.Message.Builder`, `com.google.protobuf.MessageLite.Builder`, `com.google.protobuf.MessageLiteOrBuilder`, `com.google.protobuf.MessageOrBuilder`, `DaprProtos.DeleteBulkStateRequestOrBuilder`, `Cloneable`

Enclosing class:
  DaprProtos.DeleteBulkStateRequest

public static final class DaprProtos.DeleteBulkStateRequest.Builder extends com.google.protobuf.GeneratedMessageV3.Builder<DaprProtos.DeleteBulkStateRequest.Builder> implements DaprProtos.DeleteBulkStateRequestOrBuilder

     DeleteBulkStateRequest is the message to delete a list of key-value states from specific state store.

Protobuf type `dapr.proto.runtime.v1.DeleteBulkStateRequest`

## Method Summary

Modifier and Type
Method
Description
`DaprProtos.DeleteBulkStateRequest.Builder`
`addAllStates(Iterable<? extends CommonProtos.StateItem> values)`
The array of the state key values.
`DaprProtos.DeleteBulkStateRequest.Builder`
`addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)`
`DaprProtos.DeleteBulkStateRequest.Builder`
`addStates(int index, CommonProtos.StateItem value)`
The array of the state key values.
`DaprProtos.DeleteBulkStateRequest.Builder`
`addStates(int index, CommonProtos.StateItem.Builder builderForValue)`
The array of the state key values.
`DaprProtos.DeleteBulkStateRequest.Builder`
`addStates(CommonProtos.StateItem value)`
The array of the state key values.
`DaprProtos.DeleteBulkStateRequest.Builder`
`addStates(CommonProtos.StateItem.Builder builderForValue)`
The array of the state key values.
`CommonProtos.StateItem.Builder`
`addStatesBuilder()`
The array of the state key values.
`CommonProtos.StateItem.Builder`
`addStatesBuilder(int index)`
The array of the state key values.
`DaprProtos.DeleteBulkStateRequest`
`build()`
`DaprProtos.DeleteBulkStateRequest`
`buildPartial()`
`DaprProtos.DeleteBulkStateRequest.Builder`
`clear()`
`DaprProtos.DeleteBulkStateRequest.Builder`
`clearField(com.google.protobuf.Descriptors.FieldDescriptor field)`
`DaprProtos.DeleteBulkStateRequest.Builder`
`clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)`
`DaprProtos.DeleteBulkStateRequest.Builder`
`clearStates()`
The array of the state key values.
`DaprProtos.DeleteBulkStateRequest.Builder`
`clearStoreName()`
The name of state store.
`DaprProtos.DeleteBulkStateRequest.Builder`
`clone()`
`DaprProtos.DeleteBulkStateRequest`
`getDefaultInstanceForType()`
`static final com.google.protobuf.Descriptors.Descriptor`
`getDescriptor()`
`com.google.protobuf.Descriptors.Descriptor`
`getDescriptorForType()`
`CommonProtos.StateItem`
`getStates(int index)`
The array of the state key values.
`CommonProtos.StateItem.Builder`
`getStatesBuilder(int index)`
The array of the state key values.
`List<CommonProtos.StateItem.Builder>`
`getStatesBuilderList()`
The array of the state key values.
`int`
`getStatesCount()`
The array of the state key values.
`List<CommonProtos.StateItem>`
`getStatesList()`
The array of the state key values.
`CommonProtos.StateItemOrBuilder`
`getStatesOrBuilder(int index)`
The array of the state key values.
`List<? extends CommonProtos.StateItemOrBuilder>`
`getStatesOrBuilderList()`
The array of the state key values.
`String`
`getStoreName()`
The name of state store.
`com.google.protobuf.ByteString`
`getStoreNameBytes()`
The name of state store.
`protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable`
`internalGetFieldAccessorTable()`
`final boolean`
`isInitialized()`
`DaprProtos.DeleteBulkStateRequest.Builder`
`mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)`
`DaprProtos.DeleteBulkStateRequest.Builder`
`mergeFrom(com.google.protobuf.Message other)`
`DaprProtos.DeleteBulkStateRequest.Builder`
`mergeFrom(DaprProtos.DeleteBulkStateRequest other)`
`final DaprProtos.DeleteBulkStateRequest.Builder`
`mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)`
`DaprProtos.DeleteBulkStateRequest.Builder`
`removeStates(int index)`
The array of the state key values.
`DaprProtos.DeleteBulkStateRequest.Builder`
`setField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)`
`DaprProtos.DeleteBulkStateRequest.Builder`
`setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, Object value)`
`DaprProtos.DeleteBulkStateRequest.Builder`
`setStates(int index, CommonProtos.StateItem value)`
The array of the state key values.
`DaprProtos.DeleteBulkStateRequest.Builder`
`setStates(int index, CommonProtos.StateItem.Builder builderForValue)`
The array of the state key values.
`DaprProtos.DeleteBulkStateRequest.Builder`
`setStoreName(String value)`
The name of state store.
`DaprProtos.DeleteBulkStateRequest.Builder`
`setStoreNameBytes(com.google.protobuf.ByteString value)`
The name of state store.
`final DaprProtos.DeleteBulkStateRequest.Builder`
`setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)`

### Methods inherited from class com.google.protobuf.GeneratedMessageV3.Builder

`getAllFields, getField, getFieldBuilder, getOneofFieldDescriptor, getParentForChildren, getRepeatedField, getRepeatedFieldBuilder, getRepeatedFieldCount, getUnknownFields, getUnknownFieldSetBuilder, hasField, hasOneof, internalGetMapField, internalGetMapFieldReflection, internalGetMutableMapField, internalGetMutableMapFieldReflection, isClean, markClean, mergeUnknownLengthDelimitedField, mergeUnknownVarintField, newBuilderForField, onBuilt, onChanged, parseUnknownField, setUnknownFieldSetBuilder, setUnknownFieldsProto3`

### Methods inherited from class com.google.protobuf.AbstractMessage.Builder

`findInitializationErrors, getInitializationErrorString, internalMergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException, toString`

### Methods inherited from class com.google.protobuf.AbstractMessageLite.Builder

`addAll, addAll, mergeDelimitedFrom, mergeDelimitedFrom, mergeFrom, newUninitializedMessageException`

### Methods inherited from class java.lang.Object

`equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait`

### Methods inherited from interface com.google.protobuf.Message.Builder

`mergeDelimitedFrom, mergeDelimitedFrom`

### Methods inherited from interface com.google.protobuf.MessageLite.Builder

`mergeFrom`

### Methods inherited from interface com.google.protobuf.MessageOrBuilder

`findInitializationErrors, getAllFields, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof`

## 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.DeleteBulkStateRequest.Builder>`

### clear

public DaprProtos.DeleteBulkStateRequest.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.DeleteBulkStateRequest.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.DeleteBulkStateRequest.Builder>`

### getDefaultInstanceForType

public DaprProtos.DeleteBulkStateRequest getDefaultInstanceForType()

Specified by:
  `getDefaultInstanceForType` in interface `com.google.protobuf.MessageLiteOrBuilder`
Specified by:
  `getDefaultInstanceForType` in interface `com.google.protobuf.MessageOrBuilder`

### build

public DaprProtos.DeleteBulkStateRequest build()

Specified by:
  `build` in interface `com.google.protobuf.Message.Builder`
Specified by:
  `build` in interface `com.google.protobuf.MessageLite.Builder`

### buildPartial

public DaprProtos.DeleteBulkStateRequest buildPartial()

Specified by:
  `buildPartial` in interface `com.google.protobuf.Message.Builder`
Specified by:
  `buildPartial` in interface `com.google.protobuf.MessageLite.Builder`

### clone

public DaprProtos.DeleteBulkStateRequest.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.DeleteBulkStateRequest.Builder>`

### setField

public DaprProtos.DeleteBulkStateRequest.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.DeleteBulkStateRequest.Builder>`

### clearField

public DaprProtos.DeleteBulkStateRequest.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.DeleteBulkStateRequest.Builder>`

### clearOneof

public DaprProtos.DeleteBulkStateRequest.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.DeleteBulkStateRequest.Builder>`

### setRepeatedField

public DaprProtos.DeleteBulkStateRequest.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.DeleteBulkStateRequest.Builder>`

### addRepeatedField

public DaprProtos.DeleteBulkStateRequest.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.DeleteBulkStateRequest.Builder>`

### mergeFrom

public DaprProtos.DeleteBulkStateRequest.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.DeleteBulkStateRequest.Builder>`

### mergeFrom

public DaprProtos.DeleteBulkStateRequest.Builder mergeFrom(DaprProtos.DeleteBulkStateRequest other)

### isInitialized

public final boolean isInitialized()

Specified by:
  `isInitialized` in interface `com.google.protobuf.MessageLiteOrBuilder`
Overrides:
  `isInitialized` in class `com.google.protobuf.GeneratedMessageV3.Builder<DaprProtos.DeleteBulkStateRequest.Builder>`

### mergeFrom

public DaprProtos.DeleteBulkStateRequest.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.DeleteBulkStateRequest.Builder>`
Throws:
  `IOException`

### getStoreName

public String getStoreName()

     The name of state store.

`string store_name = 1;`

Specified by:
  `getStoreName` in interface `DaprProtos.DeleteBulkStateRequestOrBuilder`
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.DeleteBulkStateRequestOrBuilder`
Returns:
  The bytes for storeName.

### setStoreName

public DaprProtos.DeleteBulkStateRequest.Builder setStoreName(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.DeleteBulkStateRequest.Builder clearStoreName()

     The name of state store.

`string store_name = 1;`

Returns:
  This builder for chaining.

### setStoreNameBytes

public DaprProtos.DeleteBulkStateRequest.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.

### getStatesList

public List<CommonProtos.StateItem> getStatesList()

     The array of the state key values.

`repeated .dapr.proto.common.v1.StateItem states = 2;`

Specified by:
  `getStatesList` in interface `DaprProtos.DeleteBulkStateRequestOrBuilder`

### getStatesCount

public int getStatesCount()

     The array of the state key values.

`repeated .dapr.proto.common.v1.StateItem states = 2;`

Specified by:
  `getStatesCount` in interface `DaprProtos.DeleteBulkStateRequestOrBuilder`

### getStates

public CommonProtos.StateItem getStates(int index)

     The array of the state key values.

`repeated .dapr.proto.common.v1.StateItem states = 2;`

Specified by:
  `getStates` in interface `DaprProtos.DeleteBulkStateRequestOrBuilder`

### setStates

public DaprProtos.DeleteBulkStateRequest.Builder setStates(int index, CommonProtos.StateItem value)

     The array of the state key values.

`repeated .dapr.proto.common.v1.StateItem states = 2;`

### setStates

public DaprProtos.DeleteBulkStateRequest.Builder setStates(int index, CommonProtos.StateItem.Builder builderForValue)

     The array of the state key values.

`repeated .dapr.proto.common.v1.StateItem states = 2;`

### addStates

public DaprProtos.DeleteBulkStateRequest.Builder addStates(CommonProtos.StateItem value)

     The array of the state key values.

`repeated .dapr.proto.common.v1.StateItem states = 2;`

### addStates

public DaprProtos.DeleteBulkStateRequest.Builder addStates(int index, CommonProtos.StateItem value)

     The array of the state key values.

`repeated .dapr.proto.common.v1.StateItem states = 2;`

### addStates

public DaprProtos.DeleteBulkStateRequest.Builder addStates(CommonProtos.StateItem.Builder builderForValue)

     The array of the state key values.

`repeated .dapr.proto.common.v1.StateItem states = 2;`

### addStates

public DaprProtos.DeleteBulkStateRequest.Builder addStates(int index, CommonProtos.StateItem.Builder builderForValue)

     The array of the state key values.

`repeated .dapr.proto.common.v1.StateItem states = 2;`

### addAllStates

public DaprProtos.DeleteBulkStateRequest.Builder addAllStates(Iterable<? extends CommonProtos.StateItem> values)

     The array of the state key values.

`repeated .dapr.proto.common.v1.StateItem states = 2;`

### clearStates

public DaprProtos.DeleteBulkStateRequest.Builder clearStates()

     The array of the state key values.

`repeated .dapr.proto.common.v1.StateItem states = 2;`

### removeStates

public DaprProtos.DeleteBulkStateRequest.Builder removeStates(int index)

     The array of the state key values.

`repeated .dapr.proto.common.v1.StateItem states = 2;`

### getStatesBuilder

public CommonProtos.StateItem.Builder getStatesBuilder(int index)

     The array of the state key values.

`repeated .dapr.proto.common.v1.StateItem states = 2;`

### getStatesOrBuilder

public CommonProtos.StateItemOrBuilder getStatesOrBuilder(int index)

     The array of the state key values.

`repeated .dapr.proto.common.v1.StateItem states = 2;`

Specified by:
  `getStatesOrBuilder` in interface `DaprProtos.DeleteBulkStateRequestOrBuilder`

### getStatesOrBuilderList

public List<? extends CommonProtos.StateItemOrBuilder> getStatesOrBuilderList()

     The array of the state key values.

`repeated .dapr.proto.common.v1.StateItem states = 2;`

Specified by:
  `getStatesOrBuilderList` in interface `DaprProtos.DeleteBulkStateRequestOrBuilder`

### addStatesBuilder

public CommonProtos.StateItem.Builder addStatesBuilder()

     The array of the state key values.

`repeated .dapr.proto.common.v1.StateItem states = 2;`

### addStatesBuilder

public CommonProtos.StateItem.Builder addStatesBuilder(int index)

     The array of the state key values.

`repeated .dapr.proto.common.v1.StateItem states = 2;`

### getStatesBuilderList

public List<CommonProtos.StateItem.Builder> getStatesBuilderList()

     The array of the state key values.

`repeated .dapr.proto.common.v1.StateItem states = 2;`

### setUnknownFields

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

### mergeUnknownFields

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