Package io.dapr.v1
Class DaprAppCallbackProtos.BindingEventResponse.Builder
java.lang.Object
com.google.protobuf.AbstractMessageLite.Builder
com.google.protobuf.AbstractMessage.Builder<BuilderT>
com.google.protobuf.GeneratedMessageV3.Builder<DaprAppCallbackProtos.BindingEventResponse.Builder>
io.dapr.v1.DaprAppCallbackProtos.BindingEventResponse.Builder
- All Implemented Interfaces:
com.google.protobuf.Message.Builder
,com.google.protobuf.MessageLite.Builder
,com.google.protobuf.MessageLiteOrBuilder
,com.google.protobuf.MessageOrBuilder
,DaprAppCallbackProtos.BindingEventResponseOrBuilder
,Cloneable
- Enclosing class:
- DaprAppCallbackProtos.BindingEventResponse
public static final class DaprAppCallbackProtos.BindingEventResponse.Builder
extends com.google.protobuf.GeneratedMessageV3.Builder<DaprAppCallbackProtos.BindingEventResponse.Builder>
implements DaprAppCallbackProtos.BindingEventResponseOrBuilder
BindingEventResponse includes operations to save state or send data to output bindings optionally.Protobuf type
dapr.proto.runtime.v1.BindingEventResponse
-
Method Summary
Modifier and TypeMethodDescriptionaddAllStates
(Iterable<? extends CommonProtos.StateItem> values) The state key values which will be stored in store_name.The list of output bindings.addRepeatedField
(com.google.protobuf.Descriptors.FieldDescriptor field, Object value) addStates
(int index, CommonProtos.StateItem value) The state key values which will be stored in store_name.addStates
(int index, CommonProtos.StateItem.Builder builderForValue) The state key values which will be stored in store_name.addStates
(CommonProtos.StateItem value) The state key values which will be stored in store_name.addStates
(CommonProtos.StateItem.Builder builderForValue) The state key values which will be stored in store_name.The state key values which will be stored in store_name.addStatesBuilder
(int index) The state key values which will be stored in store_name.The list of output bindings.addToBytes
(com.google.protobuf.ByteString value) The list of output bindings.build()
clear()
The concurrency of output bindings to send data to "to" output bindings list.The content which will be sent to "to" output bindings.clearField
(com.google.protobuf.Descriptors.FieldDescriptor field) clearOneof
(com.google.protobuf.Descriptors.OneofDescriptor oneof) The state key values which will be stored in store_name.The name of state store where states are saved.clearTo()
The list of output bindings.clone()
The concurrency of output bindings to send data to "to" output bindings list.int
The concurrency of output bindings to send data to "to" output bindings list.com.google.protobuf.ByteString
getData()
The content which will be sent to "to" output bindings.static final com.google.protobuf.Descriptors.Descriptor
com.google.protobuf.Descriptors.Descriptor
getStates
(int index) The state key values which will be stored in store_name.getStatesBuilder
(int index) The state key values which will be stored in store_name.The state key values which will be stored in store_name.int
The state key values which will be stored in store_name.The state key values which will be stored in store_name.getStatesOrBuilder
(int index) The state key values which will be stored in store_name.List<? extends CommonProtos.StateItemOrBuilder>
The state key values which will be stored in store_name.The name of state store where states are saved.com.google.protobuf.ByteString
The name of state store where states are saved.getTo
(int index) The list of output bindings.com.google.protobuf.ByteString
getToBytes
(int index) The list of output bindings.int
The list of output bindings.com.google.protobuf.ProtocolStringList
The list of output bindings.protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
final boolean
mergeFrom
(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) mergeFrom
(com.google.protobuf.Message other) mergeUnknownFields
(com.google.protobuf.UnknownFieldSet unknownFields) removeStates
(int index) The state key values which will be stored in store_name.The concurrency of output bindings to send data to "to" output bindings list.setConcurrencyValue
(int value) The concurrency of output bindings to send data to "to" output bindings list.setData
(com.google.protobuf.ByteString value) The content which will be sent to "to" output bindings.setRepeatedField
(com.google.protobuf.Descriptors.FieldDescriptor field, int index, Object value) setStates
(int index, CommonProtos.StateItem value) The state key values which will be stored in store_name.setStates
(int index, CommonProtos.StateItem.Builder builderForValue) The state key values which will be stored in store_name.setStoreName
(String value) The name of state store where states are saved.setStoreNameBytes
(com.google.protobuf.ByteString value) The name of state store where states are saved.The list of output bindings.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 classcom.google.protobuf.GeneratedMessageV3.Builder<DaprAppCallbackProtos.BindingEventResponse.Builder>
-
clear
- Specified by:
clear
in interfacecom.google.protobuf.Message.Builder
- Specified by:
clear
in interfacecom.google.protobuf.MessageLite.Builder
- Overrides:
clear
in classcom.google.protobuf.GeneratedMessageV3.Builder<DaprAppCallbackProtos.BindingEventResponse.Builder>
-
getDescriptorForType
public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()- Specified by:
getDescriptorForType
in interfacecom.google.protobuf.Message.Builder
- Specified by:
getDescriptorForType
in interfacecom.google.protobuf.MessageOrBuilder
- Overrides:
getDescriptorForType
in classcom.google.protobuf.GeneratedMessageV3.Builder<DaprAppCallbackProtos.BindingEventResponse.Builder>
-
getDefaultInstanceForType
- Specified by:
getDefaultInstanceForType
in interfacecom.google.protobuf.MessageLiteOrBuilder
- Specified by:
getDefaultInstanceForType
in interfacecom.google.protobuf.MessageOrBuilder
-
build
- Specified by:
build
in interfacecom.google.protobuf.Message.Builder
- Specified by:
build
in interfacecom.google.protobuf.MessageLite.Builder
-
buildPartial
- Specified by:
buildPartial
in interfacecom.google.protobuf.Message.Builder
- Specified by:
buildPartial
in interfacecom.google.protobuf.MessageLite.Builder
-
clone
- Specified by:
clone
in interfacecom.google.protobuf.Message.Builder
- Specified by:
clone
in interfacecom.google.protobuf.MessageLite.Builder
- Overrides:
clone
in classcom.google.protobuf.GeneratedMessageV3.Builder<DaprAppCallbackProtos.BindingEventResponse.Builder>
-
setField
public DaprAppCallbackProtos.BindingEventResponse.Builder setField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value) - Specified by:
setField
in interfacecom.google.protobuf.Message.Builder
- Overrides:
setField
in classcom.google.protobuf.GeneratedMessageV3.Builder<DaprAppCallbackProtos.BindingEventResponse.Builder>
-
clearField
public DaprAppCallbackProtos.BindingEventResponse.Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) - Specified by:
clearField
in interfacecom.google.protobuf.Message.Builder
- Overrides:
clearField
in classcom.google.protobuf.GeneratedMessageV3.Builder<DaprAppCallbackProtos.BindingEventResponse.Builder>
-
clearOneof
public DaprAppCallbackProtos.BindingEventResponse.Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) - Specified by:
clearOneof
in interfacecom.google.protobuf.Message.Builder
- Overrides:
clearOneof
in classcom.google.protobuf.GeneratedMessageV3.Builder<DaprAppCallbackProtos.BindingEventResponse.Builder>
-
setRepeatedField
public DaprAppCallbackProtos.BindingEventResponse.Builder setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, Object value) - Specified by:
setRepeatedField
in interfacecom.google.protobuf.Message.Builder
- Overrides:
setRepeatedField
in classcom.google.protobuf.GeneratedMessageV3.Builder<DaprAppCallbackProtos.BindingEventResponse.Builder>
-
addRepeatedField
public DaprAppCallbackProtos.BindingEventResponse.Builder addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value) - Specified by:
addRepeatedField
in interfacecom.google.protobuf.Message.Builder
- Overrides:
addRepeatedField
in classcom.google.protobuf.GeneratedMessageV3.Builder<DaprAppCallbackProtos.BindingEventResponse.Builder>
-
mergeFrom
public DaprAppCallbackProtos.BindingEventResponse.Builder mergeFrom(com.google.protobuf.Message other) - Specified by:
mergeFrom
in interfacecom.google.protobuf.Message.Builder
- Overrides:
mergeFrom
in classcom.google.protobuf.AbstractMessage.Builder<DaprAppCallbackProtos.BindingEventResponse.Builder>
-
mergeFrom
public DaprAppCallbackProtos.BindingEventResponse.Builder mergeFrom(DaprAppCallbackProtos.BindingEventResponse other) -
isInitialized
public final boolean isInitialized()- Specified by:
isInitialized
in interfacecom.google.protobuf.MessageLiteOrBuilder
- Overrides:
isInitialized
in classcom.google.protobuf.GeneratedMessageV3.Builder<DaprAppCallbackProtos.BindingEventResponse.Builder>
-
mergeFrom
public DaprAppCallbackProtos.BindingEventResponse.Builder mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException - Specified by:
mergeFrom
in interfacecom.google.protobuf.Message.Builder
- Specified by:
mergeFrom
in interfacecom.google.protobuf.MessageLite.Builder
- Overrides:
mergeFrom
in classcom.google.protobuf.AbstractMessage.Builder<DaprAppCallbackProtos.BindingEventResponse.Builder>
- Throws:
IOException
-
getStoreName
The name of state store where states are saved.
string store_name = 1;
- Specified by:
getStoreName
in interfaceDaprAppCallbackProtos.BindingEventResponseOrBuilder
- Returns:
- The storeName.
-
getStoreNameBytes
public com.google.protobuf.ByteString getStoreNameBytes()The name of state store where states are saved.
string store_name = 1;
- Specified by:
getStoreNameBytes
in interfaceDaprAppCallbackProtos.BindingEventResponseOrBuilder
- Returns:
- The bytes for storeName.
-
setStoreName
The name of state store where states are saved.
string store_name = 1;
- Parameters:
value
- The storeName to set.- Returns:
- This builder for chaining.
-
clearStoreName
The name of state store where states are saved.
string store_name = 1;
- Returns:
- This builder for chaining.
-
setStoreNameBytes
public DaprAppCallbackProtos.BindingEventResponse.Builder setStoreNameBytes(com.google.protobuf.ByteString value) The name of state store where states are saved.
string store_name = 1;
- Parameters:
value
- The bytes for storeName to set.- Returns:
- This builder for chaining.
-
getStatesList
The state key values which will be stored in store_name.
repeated .dapr.proto.common.v1.StateItem states = 2;
- Specified by:
getStatesList
in interfaceDaprAppCallbackProtos.BindingEventResponseOrBuilder
-
getStatesCount
public int getStatesCount()The state key values which will be stored in store_name.
repeated .dapr.proto.common.v1.StateItem states = 2;
- Specified by:
getStatesCount
in interfaceDaprAppCallbackProtos.BindingEventResponseOrBuilder
-
getStates
The state key values which will be stored in store_name.
repeated .dapr.proto.common.v1.StateItem states = 2;
- Specified by:
getStates
in interfaceDaprAppCallbackProtos.BindingEventResponseOrBuilder
-
setStates
public DaprAppCallbackProtos.BindingEventResponse.Builder setStates(int index, CommonProtos.StateItem value) The state key values which will be stored in store_name.
repeated .dapr.proto.common.v1.StateItem states = 2;
-
setStates
public DaprAppCallbackProtos.BindingEventResponse.Builder setStates(int index, CommonProtos.StateItem.Builder builderForValue) The state key values which will be stored in store_name.
repeated .dapr.proto.common.v1.StateItem states = 2;
-
addStates
The state key values which will be stored in store_name.
repeated .dapr.proto.common.v1.StateItem states = 2;
-
addStates
public DaprAppCallbackProtos.BindingEventResponse.Builder addStates(int index, CommonProtos.StateItem value) The state key values which will be stored in store_name.
repeated .dapr.proto.common.v1.StateItem states = 2;
-
addStates
public DaprAppCallbackProtos.BindingEventResponse.Builder addStates(CommonProtos.StateItem.Builder builderForValue) The state key values which will be stored in store_name.
repeated .dapr.proto.common.v1.StateItem states = 2;
-
addStates
public DaprAppCallbackProtos.BindingEventResponse.Builder addStates(int index, CommonProtos.StateItem.Builder builderForValue) The state key values which will be stored in store_name.
repeated .dapr.proto.common.v1.StateItem states = 2;
-
addAllStates
public DaprAppCallbackProtos.BindingEventResponse.Builder addAllStates(Iterable<? extends CommonProtos.StateItem> values) The state key values which will be stored in store_name.
repeated .dapr.proto.common.v1.StateItem states = 2;
-
clearStates
The state key values which will be stored in store_name.
repeated .dapr.proto.common.v1.StateItem states = 2;
-
removeStates
The state key values which will be stored in store_name.
repeated .dapr.proto.common.v1.StateItem states = 2;
-
getStatesBuilder
The state key values which will be stored in store_name.
repeated .dapr.proto.common.v1.StateItem states = 2;
-
getStatesOrBuilder
The state key values which will be stored in store_name.
repeated .dapr.proto.common.v1.StateItem states = 2;
- Specified by:
getStatesOrBuilder
in interfaceDaprAppCallbackProtos.BindingEventResponseOrBuilder
-
getStatesOrBuilderList
The state key values which will be stored in store_name.
repeated .dapr.proto.common.v1.StateItem states = 2;
- Specified by:
getStatesOrBuilderList
in interfaceDaprAppCallbackProtos.BindingEventResponseOrBuilder
-
addStatesBuilder
The state key values which will be stored in store_name.
repeated .dapr.proto.common.v1.StateItem states = 2;
-
addStatesBuilder
The state key values which will be stored in store_name.
repeated .dapr.proto.common.v1.StateItem states = 2;
-
getStatesBuilderList
The state key values which will be stored in store_name.
repeated .dapr.proto.common.v1.StateItem states = 2;
-
getToList
public com.google.protobuf.ProtocolStringList getToList()The list of output bindings.
repeated string to = 3;
- Specified by:
getToList
in interfaceDaprAppCallbackProtos.BindingEventResponseOrBuilder
- Returns:
- A list containing the to.
-
getToCount
public int getToCount()The list of output bindings.
repeated string to = 3;
- Specified by:
getToCount
in interfaceDaprAppCallbackProtos.BindingEventResponseOrBuilder
- Returns:
- The count of to.
-
getTo
The list of output bindings.
repeated string to = 3;
- Specified by:
getTo
in interfaceDaprAppCallbackProtos.BindingEventResponseOrBuilder
- Parameters:
index
- The index of the element to return.- Returns:
- The to at the given index.
-
getToBytes
public com.google.protobuf.ByteString getToBytes(int index) The list of output bindings.
repeated string to = 3;
- Specified by:
getToBytes
in interfaceDaprAppCallbackProtos.BindingEventResponseOrBuilder
- Parameters:
index
- The index of the value to return.- Returns:
- The bytes of the to at the given index.
-
setTo
The list of output bindings.
repeated string to = 3;
- Parameters:
index
- The index to set the value at.value
- The to to set.- Returns:
- This builder for chaining.
-
addTo
The list of output bindings.
repeated string to = 3;
- Parameters:
value
- The to to add.- Returns:
- This builder for chaining.
-
addAllTo
The list of output bindings.
repeated string to = 3;
- Parameters:
values
- The to to add.- Returns:
- This builder for chaining.
-
clearTo
The list of output bindings.
repeated string to = 3;
- Returns:
- This builder for chaining.
-
addToBytes
public DaprAppCallbackProtos.BindingEventResponse.Builder addToBytes(com.google.protobuf.ByteString value) The list of output bindings.
repeated string to = 3;
- Parameters:
value
- The bytes of the to to add.- Returns:
- This builder for chaining.
-
getData
public com.google.protobuf.ByteString getData()The content which will be sent to "to" output bindings.
bytes data = 4;
- Specified by:
getData
in interfaceDaprAppCallbackProtos.BindingEventResponseOrBuilder
- Returns:
- The data.
-
setData
public DaprAppCallbackProtos.BindingEventResponse.Builder setData(com.google.protobuf.ByteString value) The content which will be sent to "to" output bindings.
bytes data = 4;
- Parameters:
value
- The data to set.- Returns:
- This builder for chaining.
-
clearData
The content which will be sent to "to" output bindings.
bytes data = 4;
- Returns:
- This builder for chaining.
-
getConcurrencyValue
public int getConcurrencyValue()The concurrency of output bindings to send data to "to" output bindings list. The default is SEQUENTIAL.
.dapr.proto.runtime.v1.BindingEventResponse.BindingEventConcurrency concurrency = 5;
- Specified by:
getConcurrencyValue
in interfaceDaprAppCallbackProtos.BindingEventResponseOrBuilder
- Returns:
- The enum numeric value on the wire for concurrency.
-
setConcurrencyValue
The concurrency of output bindings to send data to "to" output bindings list. The default is SEQUENTIAL.
.dapr.proto.runtime.v1.BindingEventResponse.BindingEventConcurrency concurrency = 5;
- Parameters:
value
- The enum numeric value on the wire for concurrency to set.- Returns:
- This builder for chaining.
-
getConcurrency
The concurrency of output bindings to send data to "to" output bindings list. The default is SEQUENTIAL.
.dapr.proto.runtime.v1.BindingEventResponse.BindingEventConcurrency concurrency = 5;
- Specified by:
getConcurrency
in interfaceDaprAppCallbackProtos.BindingEventResponseOrBuilder
- Returns:
- The concurrency.
-
setConcurrency
public DaprAppCallbackProtos.BindingEventResponse.Builder setConcurrency(DaprAppCallbackProtos.BindingEventResponse.BindingEventConcurrency value) The concurrency of output bindings to send data to "to" output bindings list. The default is SEQUENTIAL.
.dapr.proto.runtime.v1.BindingEventResponse.BindingEventConcurrency concurrency = 5;
- Parameters:
value
- The concurrency to set.- Returns:
- This builder for chaining.
-
clearConcurrency
The concurrency of output bindings to send data to "to" output bindings list. The default is SEQUENTIAL.
.dapr.proto.runtime.v1.BindingEventResponse.BindingEventConcurrency concurrency = 5;
- Returns:
- This builder for chaining.
-
setUnknownFields
public final DaprAppCallbackProtos.BindingEventResponse.Builder setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) - Specified by:
setUnknownFields
in interfacecom.google.protobuf.Message.Builder
- Overrides:
setUnknownFields
in classcom.google.protobuf.GeneratedMessageV3.Builder<DaprAppCallbackProtos.BindingEventResponse.Builder>
-
mergeUnknownFields
public final DaprAppCallbackProtos.BindingEventResponse.Builder mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) - Specified by:
mergeUnknownFields
in interfacecom.google.protobuf.Message.Builder
- Overrides:
mergeUnknownFields
in classcom.google.protobuf.GeneratedMessageV3.Builder<DaprAppCallbackProtos.BindingEventResponse.Builder>
-