Package io.dapr.v1

Class DaprAppCallbackProtos.BindingEventResponse

java.lang.Object
com.google.protobuf.AbstractMessageLite
com.google.protobuf.AbstractMessage
com.google.protobuf.GeneratedMessageV3
io.dapr.v1.DaprAppCallbackProtos.BindingEventResponse
All Implemented Interfaces:
com.google.protobuf.Message, com.google.protobuf.MessageLite, com.google.protobuf.MessageLiteOrBuilder, com.google.protobuf.MessageOrBuilder, DaprAppCallbackProtos.BindingEventResponseOrBuilder, java.io.Serializable
Enclosing class:
DaprAppCallbackProtos

public static final class DaprAppCallbackProtos.BindingEventResponse
extends com.google.protobuf.GeneratedMessageV3
implements DaprAppCallbackProtos.BindingEventResponseOrBuilder
 BindingEventResponse includes operations to save state or
 send data to output bindings optionally.
 
Protobuf type dapr.proto.runtime.v1.BindingEventResponse
See Also:
Serialized Form
  • Field Details

  • Method Details

    • newInstance

      protected java.lang.Object newInstance​(com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter unused)
      Overrides:
      newInstance in class com.google.protobuf.GeneratedMessageV3
    • getUnknownFields

      public final com.google.protobuf.UnknownFieldSet getUnknownFields()
      Specified by:
      getUnknownFields in interface com.google.protobuf.MessageOrBuilder
      Overrides:
      getUnknownFields in class com.google.protobuf.GeneratedMessageV3
    • 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
    • getStoreName

      public java.lang.String getStoreName()
       The name of state store where states are saved.
       
      string store_name = 1;
      Specified by:
      getStoreName in interface DaprAppCallbackProtos.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 interface DaprAppCallbackProtos.BindingEventResponseOrBuilder
      Returns:
      The bytes for storeName.
    • getStatesList

      public java.util.List<CommonProtos.StateItem> getStatesList()
       The state key values which will be stored in store_name.
       
      repeated .dapr.proto.common.v1.StateItem states = 2;
      Specified by:
      getStatesList in interface DaprAppCallbackProtos.BindingEventResponseOrBuilder
    • getStatesOrBuilderList

      public java.util.List<? extends CommonProtos.StateItemOrBuilder> getStatesOrBuilderList()
       The state key values which will be stored in store_name.
       
      repeated .dapr.proto.common.v1.StateItem states = 2;
      Specified by:
      getStatesOrBuilderList in interface DaprAppCallbackProtos.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 interface DaprAppCallbackProtos.BindingEventResponseOrBuilder
    • getStates

      public CommonProtos.StateItem getStates​(int index)
       The state key values which will be stored in store_name.
       
      repeated .dapr.proto.common.v1.StateItem states = 2;
      Specified by:
      getStates in interface DaprAppCallbackProtos.BindingEventResponseOrBuilder
    • getStatesOrBuilder

      public CommonProtos.StateItemOrBuilder getStatesOrBuilder​(int index)
       The state key values which will be stored in store_name.
       
      repeated .dapr.proto.common.v1.StateItem states = 2;
      Specified by:
      getStatesOrBuilder in interface DaprAppCallbackProtos.BindingEventResponseOrBuilder
    • getToList

      public com.google.protobuf.ProtocolStringList getToList()
       The list of output bindings.
       
      repeated string to = 3;
      Specified by:
      getToList in interface DaprAppCallbackProtos.BindingEventResponseOrBuilder
      Returns:
      A list containing the to.
    • getToCount

      public int getToCount()
       The list of output bindings.
       
      repeated string to = 3;
      Specified by:
      getToCount in interface DaprAppCallbackProtos.BindingEventResponseOrBuilder
      Returns:
      The count of to.
    • getTo

      public java.lang.String getTo​(int index)
       The list of output bindings.
       
      repeated string to = 3;
      Specified by:
      getTo in interface DaprAppCallbackProtos.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 interface DaprAppCallbackProtos.BindingEventResponseOrBuilder
      Parameters:
      index - The index of the value to return.
      Returns:
      The bytes of the to at the given index.
    • getData

      public com.google.protobuf.ByteString getData()
       The content which will be sent to "to" output bindings.
       
      bytes data = 4;
      Specified by:
      getData in interface DaprAppCallbackProtos.BindingEventResponseOrBuilder
      Returns:
      The data.
    • 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 interface DaprAppCallbackProtos.BindingEventResponseOrBuilder
      Returns:
      The enum numeric value on the wire for concurrency.
    • 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 interface DaprAppCallbackProtos.BindingEventResponseOrBuilder
      Returns:
      The concurrency.
    • isInitialized

      public final boolean isInitialized()
      Specified by:
      isInitialized in interface com.google.protobuf.MessageLiteOrBuilder
      Overrides:
      isInitialized in class com.google.protobuf.GeneratedMessageV3
    • writeTo

      public void writeTo​(com.google.protobuf.CodedOutputStream output) throws java.io.IOException
      Specified by:
      writeTo in interface com.google.protobuf.MessageLite
      Overrides:
      writeTo in class com.google.protobuf.GeneratedMessageV3
      Throws:
      java.io.IOException
    • getSerializedSize

      public int getSerializedSize()
      Specified by:
      getSerializedSize in interface com.google.protobuf.MessageLite
      Overrides:
      getSerializedSize in class com.google.protobuf.GeneratedMessageV3
    • equals

      public boolean equals​(java.lang.Object obj)
      Specified by:
      equals in interface com.google.protobuf.Message
      Overrides:
      equals in class com.google.protobuf.AbstractMessage
    • hashCode

      public int hashCode()
      Specified by:
      hashCode in interface com.google.protobuf.Message
      Overrides:
      hashCode in class com.google.protobuf.AbstractMessage
    • parseFrom

      public static DaprAppCallbackProtos.BindingEventResponse parseFrom​(java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException
      Throws:
      com.google.protobuf.InvalidProtocolBufferException
    • parseFrom

      public static DaprAppCallbackProtos.BindingEventResponse parseFrom​(java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
      Throws:
      com.google.protobuf.InvalidProtocolBufferException
    • parseFrom

      public static DaprAppCallbackProtos.BindingEventResponse parseFrom​(com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException
      Throws:
      com.google.protobuf.InvalidProtocolBufferException
    • parseFrom

      public static DaprAppCallbackProtos.BindingEventResponse parseFrom​(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
      Throws:
      com.google.protobuf.InvalidProtocolBufferException
    • parseFrom

      public static DaprAppCallbackProtos.BindingEventResponse parseFrom​(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException
      Throws:
      com.google.protobuf.InvalidProtocolBufferException
    • parseFrom

      public static DaprAppCallbackProtos.BindingEventResponse parseFrom​(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
      Throws:
      com.google.protobuf.InvalidProtocolBufferException
    • parseFrom

      public static DaprAppCallbackProtos.BindingEventResponse parseFrom​(java.io.InputStream input) throws java.io.IOException
      Throws:
      java.io.IOException
    • parseFrom

      public static DaprAppCallbackProtos.BindingEventResponse parseFrom​(java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException
      Throws:
      java.io.IOException
    • parseDelimitedFrom

      public static DaprAppCallbackProtos.BindingEventResponse parseDelimitedFrom​(java.io.InputStream input) throws java.io.IOException
      Throws:
      java.io.IOException
    • parseDelimitedFrom

      public static DaprAppCallbackProtos.BindingEventResponse parseDelimitedFrom​(java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException
      Throws:
      java.io.IOException
    • parseFrom

      public static DaprAppCallbackProtos.BindingEventResponse parseFrom​(com.google.protobuf.CodedInputStream input) throws java.io.IOException
      Throws:
      java.io.IOException
    • parseFrom

      public static DaprAppCallbackProtos.BindingEventResponse parseFrom​(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException
      Throws:
      java.io.IOException
    • newBuilderForType

      Specified by:
      newBuilderForType in interface com.google.protobuf.Message
      Specified by:
      newBuilderForType in interface com.google.protobuf.MessageLite
    • newBuilder

    • newBuilder

    • toBuilder

      Specified by:
      toBuilder in interface com.google.protobuf.Message
      Specified by:
      toBuilder in interface com.google.protobuf.MessageLite
    • newBuilderForType

      protected DaprAppCallbackProtos.BindingEventResponse.Builder newBuilderForType​(com.google.protobuf.GeneratedMessageV3.BuilderParent parent)
      Specified by:
      newBuilderForType in class com.google.protobuf.GeneratedMessageV3
    • getDefaultInstance

      public static DaprAppCallbackProtos.BindingEventResponse getDefaultInstance()
    • parser

      public static com.google.protobuf.Parser<DaprAppCallbackProtos.BindingEventResponse> parser()
    • getParserForType

      public com.google.protobuf.Parser<DaprAppCallbackProtos.BindingEventResponse> getParserForType()
      Specified by:
      getParserForType in interface com.google.protobuf.Message
      Specified by:
      getParserForType in interface com.google.protobuf.MessageLite
      Overrides:
      getParserForType in class com.google.protobuf.GeneratedMessageV3
    • getDefaultInstanceForType

      public DaprAppCallbackProtos.BindingEventResponse getDefaultInstanceForType()
      Specified by:
      getDefaultInstanceForType in interface com.google.protobuf.MessageLiteOrBuilder
      Specified by:
      getDefaultInstanceForType in interface com.google.protobuf.MessageOrBuilder