# DaprProtos.GetBulkStateResponse.Builder (dapr-sdk-parent 1.10.0 API)

Package io.dapr.v1

## Class DaprProtos.GetBulkStateResponse.Builder

- java.lang.Object
- - com.google.protobuf.AbstractMessageLite.Builder
  - - com.google.protobuf.AbstractMessage.Builder<BuilderType>
    - - com.google.protobuf.GeneratedMessageV3.Builder<DaprProtos.GetBulkStateResponse.Builder>
      - - io.dapr.v1.DaprProtos.GetBulkStateResponse.Builder

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

Enclosing class:
  DaprProtos.GetBulkStateResponse

    public static final class DaprProtos.GetBulkStateResponse.Builder
    extends com.google.protobuf.GeneratedMessageV3.Builder<DaprProtos.GetBulkStateResponse.Builder>
    implements DaprProtos.GetBulkStateResponseOrBuilder

     GetBulkStateResponse is the response conveying the list of state values.

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

### Method Summary

All Methods Static Methods Instance Methods Concrete Methods
`DaprProtos.GetBulkStateResponse.Builder` `addAllItems​(Iterable<? extends DaprProtos.BulkStateItem> values)` The list of items containing the keys to get values for.
`DaprProtos.GetBulkStateResponse.Builder` `addItems​(int index, DaprProtos.BulkStateItem value)` The list of items containing the keys to get values for.
`DaprProtos.GetBulkStateResponse.Builder` `addItems​(int index, DaprProtos.BulkStateItem.Builder builderForValue)` The list of items containing the keys to get values for.
`DaprProtos.GetBulkStateResponse.Builder` `addItems​(DaprProtos.BulkStateItem value)` The list of items containing the keys to get values for.
`DaprProtos.GetBulkStateResponse.Builder` `addItems​(DaprProtos.BulkStateItem.Builder builderForValue)` The list of items containing the keys to get values for.
`DaprProtos.BulkStateItem.Builder` `addItemsBuilder()` The list of items containing the keys to get values for.
`DaprProtos.BulkStateItem.Builder` `addItemsBuilder​(int index)` The list of items containing the keys to get values for.
`DaprProtos.GetBulkStateResponse.Builder` `addRepeatedField​(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)`
`DaprProtos.GetBulkStateResponse` `build()`
`DaprProtos.GetBulkStateResponse` `buildPartial()`
`DaprProtos.GetBulkStateResponse.Builder` `clear()`
`DaprProtos.GetBulkStateResponse.Builder` `clearField​(com.google.protobuf.Descriptors.FieldDescriptor field)`
`DaprProtos.GetBulkStateResponse.Builder` `clearItems()` The list of items containing the keys to get values for.
`DaprProtos.GetBulkStateResponse.Builder` `clearOneof​(com.google.protobuf.Descriptors.OneofDescriptor oneof)`
`DaprProtos.GetBulkStateResponse.Builder` `clone()`
`DaprProtos.GetBulkStateResponse` `getDefaultInstanceForType()`
`static com.google.protobuf.Descriptors.Descriptor` `getDescriptor()`
`com.google.protobuf.Descriptors.Descriptor` `getDescriptorForType()`
`DaprProtos.BulkStateItem` `getItems​(int index)` The list of items containing the keys to get values for.
`DaprProtos.BulkStateItem.Builder` `getItemsBuilder​(int index)` The list of items containing the keys to get values for.
`List<DaprProtos.BulkStateItem.Builder>` `getItemsBuilderList()` The list of items containing the keys to get values for.
`int` `getItemsCount()` The list of items containing the keys to get values for.
`List<DaprProtos.BulkStateItem>` `getItemsList()` The list of items containing the keys to get values for.
`DaprProtos.BulkStateItemOrBuilder` `getItemsOrBuilder​(int index)` The list of items containing the keys to get values for.
`List<? extends DaprProtos.BulkStateItemOrBuilder>` `getItemsOrBuilderList()` The list of items containing the keys to get values for.
`protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable` `internalGetFieldAccessorTable()`
`boolean` `isInitialized()`
`DaprProtos.GetBulkStateResponse.Builder` `mergeFrom​(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)`
`DaprProtos.GetBulkStateResponse.Builder` `mergeFrom​(com.google.protobuf.Message other)`
`DaprProtos.GetBulkStateResponse.Builder` `mergeFrom​(DaprProtos.GetBulkStateResponse other)`
`DaprProtos.GetBulkStateResponse.Builder` `mergeUnknownFields​(com.google.protobuf.UnknownFieldSet unknownFields)`
`DaprProtos.GetBulkStateResponse.Builder` `removeItems​(int index)` The list of items containing the keys to get values for.
`DaprProtos.GetBulkStateResponse.Builder` `setField​(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)`
`DaprProtos.GetBulkStateResponse.Builder` `setItems​(int index, DaprProtos.BulkStateItem value)` The list of items containing the keys to get values for.
`DaprProtos.GetBulkStateResponse.Builder` `setItems​(int index, DaprProtos.BulkStateItem.Builder builderForValue)` The list of items containing the keys to get values for.
`DaprProtos.GetBulkStateResponse.Builder` `setRepeatedField​(com.google.protobuf.Descriptors.FieldDescriptor field, int index, Object value)`
`DaprProtos.GetBulkStateResponse.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, hasField, hasOneof, internalGetMapField, internalGetMutableMapField, isClean, markClean, newBuilderForField, onBuilt, onChanged, setUnknownFieldsProto3`

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

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

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

`addAll, addAll, 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.MessageLite.Builder

`mergeFrom`

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

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

### Method Detail

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

#### clear

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

#### getDefaultInstanceForType

    public DaprProtos.GetBulkStateResponse getDefaultInstanceForType()

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

#### build

    public DaprProtos.GetBulkStateResponse build()

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

#### buildPartial

    public DaprProtos.GetBulkStateResponse buildPartial()

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

#### clone

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

#### setField

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

#### clearField

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

#### clearOneof

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

#### setRepeatedField

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

#### addRepeatedField

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

#### mergeFrom

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

#### mergeFrom

    public DaprProtos.GetBulkStateResponse.Builder mergeFrom​(DaprProtos.GetBulkStateResponse 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.GetBulkStateResponse.Builder>`

#### mergeFrom

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

#### getItemsList

    public List<DaprProtos.BulkStateItem> getItemsList()

     The list of items containing the keys to get values for.

`repeated .dapr.proto.runtime.v1.BulkStateItem items = 1;`

Specified by:
  `getItemsList` in interface `DaprProtos.GetBulkStateResponseOrBuilder`

#### getItemsCount

    public int getItemsCount()

     The list of items containing the keys to get values for.

`repeated .dapr.proto.runtime.v1.BulkStateItem items = 1;`

Specified by:
  `getItemsCount` in interface `DaprProtos.GetBulkStateResponseOrBuilder`

#### getItems

    public DaprProtos.BulkStateItem getItems​(int index)

     The list of items containing the keys to get values for.

`repeated .dapr.proto.runtime.v1.BulkStateItem items = 1;`

Specified by:
  `getItems` in interface `DaprProtos.GetBulkStateResponseOrBuilder`

#### setItems

    public DaprProtos.GetBulkStateResponse.Builder setItems​(int index,
                                                            DaprProtos.BulkStateItem value)

     The list of items containing the keys to get values for.

`repeated .dapr.proto.runtime.v1.BulkStateItem items = 1;`

#### setItems

    public DaprProtos.GetBulkStateResponse.Builder setItems​(int index,
                                                            DaprProtos.BulkStateItem.Builder builderForValue)

     The list of items containing the keys to get values for.

`repeated .dapr.proto.runtime.v1.BulkStateItem items = 1;`

#### addItems

    public DaprProtos.GetBulkStateResponse.Builder addItems​(DaprProtos.BulkStateItem value)

     The list of items containing the keys to get values for.

`repeated .dapr.proto.runtime.v1.BulkStateItem items = 1;`

#### addItems

    public DaprProtos.GetBulkStateResponse.Builder addItems​(int index,
                                                            DaprProtos.BulkStateItem value)

     The list of items containing the keys to get values for.

`repeated .dapr.proto.runtime.v1.BulkStateItem items = 1;`

#### addItems

    public DaprProtos.GetBulkStateResponse.Builder addItems​(DaprProtos.BulkStateItem.Builder builderForValue)

     The list of items containing the keys to get values for.

`repeated .dapr.proto.runtime.v1.BulkStateItem items = 1;`

#### addItems

    public DaprProtos.GetBulkStateResponse.Builder addItems​(int index,
                                                            DaprProtos.BulkStateItem.Builder builderForValue)

     The list of items containing the keys to get values for.

`repeated .dapr.proto.runtime.v1.BulkStateItem items = 1;`

#### addAllItems

    public DaprProtos.GetBulkStateResponse.Builder addAllItems​(Iterable<? extends DaprProtos.BulkStateItem> values)

     The list of items containing the keys to get values for.

`repeated .dapr.proto.runtime.v1.BulkStateItem items = 1;`

#### clearItems

    public DaprProtos.GetBulkStateResponse.Builder clearItems()

     The list of items containing the keys to get values for.

`repeated .dapr.proto.runtime.v1.BulkStateItem items = 1;`

#### removeItems

    public DaprProtos.GetBulkStateResponse.Builder removeItems​(int index)

     The list of items containing the keys to get values for.

`repeated .dapr.proto.runtime.v1.BulkStateItem items = 1;`

#### getItemsBuilder

    public DaprProtos.BulkStateItem.Builder getItemsBuilder​(int index)

     The list of items containing the keys to get values for.

`repeated .dapr.proto.runtime.v1.BulkStateItem items = 1;`

#### getItemsOrBuilder

    public DaprProtos.BulkStateItemOrBuilder getItemsOrBuilder​(int index)

     The list of items containing the keys to get values for.

`repeated .dapr.proto.runtime.v1.BulkStateItem items = 1;`

Specified by:
  `getItemsOrBuilder` in interface `DaprProtos.GetBulkStateResponseOrBuilder`

#### getItemsOrBuilderList

    public List<? extends DaprProtos.BulkStateItemOrBuilder> getItemsOrBuilderList()

     The list of items containing the keys to get values for.

`repeated .dapr.proto.runtime.v1.BulkStateItem items = 1;`

Specified by:
  `getItemsOrBuilderList` in interface `DaprProtos.GetBulkStateResponseOrBuilder`

#### addItemsBuilder

    public DaprProtos.BulkStateItem.Builder addItemsBuilder()

     The list of items containing the keys to get values for.

`repeated .dapr.proto.runtime.v1.BulkStateItem items = 1;`

#### addItemsBuilder

    public DaprProtos.BulkStateItem.Builder addItemsBuilder​(int index)

     The list of items containing the keys to get values for.

`repeated .dapr.proto.runtime.v1.BulkStateItem items = 1;`

#### getItemsBuilderList

    public List<DaprProtos.BulkStateItem.Builder> getItemsBuilderList()

     The list of items containing the keys to get values for.

`repeated .dapr.proto.runtime.v1.BulkStateItem items = 1;`

#### setUnknownFields

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

#### mergeUnknownFields

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