Package io.dapr.v1
Class DaprAppCallbackProtos.TopicEventBulkRequest
- java.lang.Object
-
- com.google.protobuf.AbstractMessageLite
-
- com.google.protobuf.AbstractMessage
-
- com.google.protobuf.GeneratedMessageV3
-
- io.dapr.v1.DaprAppCallbackProtos.TopicEventBulkRequest
-
- All Implemented Interfaces:
com.google.protobuf.Message,com.google.protobuf.MessageLite,com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder,DaprAppCallbackProtos.TopicEventBulkRequestOrBuilder,Serializable
- Enclosing class:
- DaprAppCallbackProtos
public static final class DaprAppCallbackProtos.TopicEventBulkRequest extends com.google.protobuf.GeneratedMessageV3 implements DaprAppCallbackProtos.TopicEventBulkRequestOrBuilder
TopicEventBulkRequest represents request for bulk message
Protobuf typedapr.proto.runtime.v1.TopicEventBulkRequest- See Also:
- Serialized Form
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classDaprAppCallbackProtos.TopicEventBulkRequest.BuilderTopicEventBulkRequest represents request for bulk message-
Nested classes/interfaces inherited from class com.google.protobuf.GeneratedMessageV3
com.google.protobuf.GeneratedMessageV3.BuilderParent, com.google.protobuf.GeneratedMessageV3.ExtendableBuilder<MessageType extends com.google.protobuf.GeneratedMessageV3.ExtendableMessage,BuilderType extends com.google.protobuf.GeneratedMessageV3.ExtendableBuilder<MessageType,BuilderType>>, com.google.protobuf.GeneratedMessageV3.ExtendableMessage<MessageType extends com.google.protobuf.GeneratedMessageV3.ExtendableMessage>, com.google.protobuf.GeneratedMessageV3.ExtendableMessageOrBuilder<MessageType extends com.google.protobuf.GeneratedMessageV3.ExtendableMessage>, com.google.protobuf.GeneratedMessageV3.FieldAccessorTable, com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter
-
-
Field Summary
Fields Modifier and Type Field Description static intENTRIES_FIELD_NUMBERstatic intID_FIELD_NUMBERstatic intMETADATA_FIELD_NUMBERstatic intPATH_FIELD_NUMBERstatic intPUBSUB_NAME_FIELD_NUMBERstatic intTOPIC_FIELD_NUMBERstatic intTYPE_FIELD_NUMBER
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Deprecated Methods Modifier and Type Method Description booleancontainsMetadata(String key)The metadata associated with the this bulk request.booleanequals(Object obj)static DaprAppCallbackProtos.TopicEventBulkRequestgetDefaultInstance()DaprAppCallbackProtos.TopicEventBulkRequestgetDefaultInstanceForType()static com.google.protobuf.Descriptors.DescriptorgetDescriptor()DaprAppCallbackProtos.TopicEventBulkRequestEntrygetEntries(int index)The list of items inside this bulk request.intgetEntriesCount()The list of items inside this bulk request.List<DaprAppCallbackProtos.TopicEventBulkRequestEntry>getEntriesList()The list of items inside this bulk request.DaprAppCallbackProtos.TopicEventBulkRequestEntryOrBuildergetEntriesOrBuilder(int index)The list of items inside this bulk request.List<? extends DaprAppCallbackProtos.TopicEventBulkRequestEntryOrBuilder>getEntriesOrBuilderList()The list of items inside this bulk request.StringgetId()Unique identifier for the bulk request.com.google.protobuf.ByteStringgetIdBytes()Unique identifier for the bulk request.Map<String,String>getMetadata()Deprecated.intgetMetadataCount()The metadata associated with the this bulk request.Map<String,String>getMetadataMap()The metadata associated with the this bulk request.StringgetMetadataOrDefault(String key, String defaultValue)The metadata associated with the this bulk request.StringgetMetadataOrThrow(String key)The metadata associated with the this bulk request.com.google.protobuf.Parser<DaprAppCallbackProtos.TopicEventBulkRequest>getParserForType()StringgetPath()The matching path from TopicSubscription/routes (if specified) for this event.com.google.protobuf.ByteStringgetPathBytes()The matching path from TopicSubscription/routes (if specified) for this event.StringgetPubsubName()The name of the pubsub the publisher sent to.com.google.protobuf.ByteStringgetPubsubNameBytes()The name of the pubsub the publisher sent to.intgetSerializedSize()StringgetTopic()The pubsub topic which publisher sent to.com.google.protobuf.ByteStringgetTopicBytes()The pubsub topic which publisher sent to.StringgetType()The type of event related to the originating occurrence.com.google.protobuf.ByteStringgetTypeBytes()The type of event related to the originating occurrence.com.google.protobuf.UnknownFieldSetgetUnknownFields()inthashCode()protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTableinternalGetFieldAccessorTable()protected com.google.protobuf.MapFieldinternalGetMapField(int number)booleanisInitialized()static DaprAppCallbackProtos.TopicEventBulkRequest.BuildernewBuilder()static DaprAppCallbackProtos.TopicEventBulkRequest.BuildernewBuilder(DaprAppCallbackProtos.TopicEventBulkRequest prototype)DaprAppCallbackProtos.TopicEventBulkRequest.BuildernewBuilderForType()protected DaprAppCallbackProtos.TopicEventBulkRequest.BuildernewBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent)protected ObjectnewInstance(com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter unused)static DaprAppCallbackProtos.TopicEventBulkRequestparseDelimitedFrom(InputStream input)static DaprAppCallbackProtos.TopicEventBulkRequestparseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)static DaprAppCallbackProtos.TopicEventBulkRequestparseFrom(byte[] data)static DaprAppCallbackProtos.TopicEventBulkRequestparseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)static DaprAppCallbackProtos.TopicEventBulkRequestparseFrom(com.google.protobuf.ByteString data)static DaprAppCallbackProtos.TopicEventBulkRequestparseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)static DaprAppCallbackProtos.TopicEventBulkRequestparseFrom(com.google.protobuf.CodedInputStream input)static DaprAppCallbackProtos.TopicEventBulkRequestparseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)static DaprAppCallbackProtos.TopicEventBulkRequestparseFrom(InputStream input)static DaprAppCallbackProtos.TopicEventBulkRequestparseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)static DaprAppCallbackProtos.TopicEventBulkRequestparseFrom(ByteBuffer data)static DaprAppCallbackProtos.TopicEventBulkRequestparseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)static com.google.protobuf.Parser<DaprAppCallbackProtos.TopicEventBulkRequest>parser()DaprAppCallbackProtos.TopicEventBulkRequest.BuildertoBuilder()voidwriteTo(com.google.protobuf.CodedOutputStream output)-
Methods inherited from class com.google.protobuf.GeneratedMessageV3
canUseUnsafe, computeStringSize, computeStringSizeNoTag, emptyBooleanList, emptyDoubleList, emptyFloatList, emptyIntList, emptyLongList, getAllFields, getDescriptorForType, getField, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, hasField, hasOneof, makeExtensionsImmutable, mergeFromAndMakeImmutableInternal, mutableCopy, mutableCopy, mutableCopy, mutableCopy, mutableCopy, newBooleanList, newBuilderForType, newDoubleList, newFloatList, newIntList, newLongList, parseDelimitedWithIOException, parseDelimitedWithIOException, parseUnknownField, parseUnknownFieldProto3, parseWithIOException, parseWithIOException, parseWithIOException, parseWithIOException, serializeBooleanMapTo, serializeIntegerMapTo, serializeLongMapTo, serializeStringMapTo, writeReplace, writeString, writeStringNoTag
-
Methods inherited from class com.google.protobuf.AbstractMessage
findInitializationErrors, getInitializationErrorString, hashBoolean, hashEnum, hashEnumList, hashFields, hashLong, toString
-
Methods inherited from class com.google.protobuf.AbstractMessageLite
addAll, addAll, checkByteStringIsUtf8, toByteArray, toByteString, writeDelimitedTo, writeTo
-
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
-
-
-
-
Field Detail
-
ID_FIELD_NUMBER
public static final int ID_FIELD_NUMBER
- See Also:
- Constant Field Values
-
ENTRIES_FIELD_NUMBER
public static final int ENTRIES_FIELD_NUMBER
- See Also:
- Constant Field Values
-
METADATA_FIELD_NUMBER
public static final int METADATA_FIELD_NUMBER
- See Also:
- Constant Field Values
-
TOPIC_FIELD_NUMBER
public static final int TOPIC_FIELD_NUMBER
- See Also:
- Constant Field Values
-
PUBSUB_NAME_FIELD_NUMBER
public static final int PUBSUB_NAME_FIELD_NUMBER
- See Also:
- Constant Field Values
-
TYPE_FIELD_NUMBER
public static final int TYPE_FIELD_NUMBER
- See Also:
- Constant Field Values
-
PATH_FIELD_NUMBER
public static final int PATH_FIELD_NUMBER
- See Also:
- Constant Field Values
-
-
Method Detail
-
newInstance
protected Object newInstance(com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter unused)
- Overrides:
newInstancein classcom.google.protobuf.GeneratedMessageV3
-
getUnknownFields
public final com.google.protobuf.UnknownFieldSet getUnknownFields()
- Specified by:
getUnknownFieldsin interfacecom.google.protobuf.MessageOrBuilder- Overrides:
getUnknownFieldsin classcom.google.protobuf.GeneratedMessageV3
-
getDescriptor
public static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
-
internalGetMapField
protected com.google.protobuf.MapField internalGetMapField(int number)
- Overrides:
internalGetMapFieldin classcom.google.protobuf.GeneratedMessageV3
-
internalGetFieldAccessorTable
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
- Specified by:
internalGetFieldAccessorTablein classcom.google.protobuf.GeneratedMessageV3
-
getId
public String getId()
Unique identifier for the bulk request.
string id = 1;- Specified by:
getIdin interfaceDaprAppCallbackProtos.TopicEventBulkRequestOrBuilder- Returns:
- The id.
-
getIdBytes
public com.google.protobuf.ByteString getIdBytes()
Unique identifier for the bulk request.
string id = 1;- Specified by:
getIdBytesin interfaceDaprAppCallbackProtos.TopicEventBulkRequestOrBuilder- Returns:
- The bytes for id.
-
getEntriesList
public List<DaprAppCallbackProtos.TopicEventBulkRequestEntry> getEntriesList()
The list of items inside this bulk request.
repeated .dapr.proto.runtime.v1.TopicEventBulkRequestEntry entries = 2;- Specified by:
getEntriesListin interfaceDaprAppCallbackProtos.TopicEventBulkRequestOrBuilder
-
getEntriesOrBuilderList
public List<? extends DaprAppCallbackProtos.TopicEventBulkRequestEntryOrBuilder> getEntriesOrBuilderList()
The list of items inside this bulk request.
repeated .dapr.proto.runtime.v1.TopicEventBulkRequestEntry entries = 2;- Specified by:
getEntriesOrBuilderListin interfaceDaprAppCallbackProtos.TopicEventBulkRequestOrBuilder
-
getEntriesCount
public int getEntriesCount()
The list of items inside this bulk request.
repeated .dapr.proto.runtime.v1.TopicEventBulkRequestEntry entries = 2;- Specified by:
getEntriesCountin interfaceDaprAppCallbackProtos.TopicEventBulkRequestOrBuilder
-
getEntries
public DaprAppCallbackProtos.TopicEventBulkRequestEntry getEntries(int index)
The list of items inside this bulk request.
repeated .dapr.proto.runtime.v1.TopicEventBulkRequestEntry entries = 2;- Specified by:
getEntriesin interfaceDaprAppCallbackProtos.TopicEventBulkRequestOrBuilder
-
getEntriesOrBuilder
public DaprAppCallbackProtos.TopicEventBulkRequestEntryOrBuilder getEntriesOrBuilder(int index)
The list of items inside this bulk request.
repeated .dapr.proto.runtime.v1.TopicEventBulkRequestEntry entries = 2;- Specified by:
getEntriesOrBuilderin interfaceDaprAppCallbackProtos.TopicEventBulkRequestOrBuilder
-
getMetadataCount
public int getMetadataCount()
Description copied from interface:DaprAppCallbackProtos.TopicEventBulkRequestOrBuilderThe metadata associated with the this bulk request.
map<string, string> metadata = 3;- Specified by:
getMetadataCountin interfaceDaprAppCallbackProtos.TopicEventBulkRequestOrBuilder
-
containsMetadata
public boolean containsMetadata(String key)
The metadata associated with the this bulk request.
map<string, string> metadata = 3;- Specified by:
containsMetadatain interfaceDaprAppCallbackProtos.TopicEventBulkRequestOrBuilder
-
getMetadata
@Deprecated public Map<String,String> getMetadata()
Deprecated.UsegetMetadataMap()instead.- Specified by:
getMetadatain interfaceDaprAppCallbackProtos.TopicEventBulkRequestOrBuilder
-
getMetadataMap
public Map<String,String> getMetadataMap()
The metadata associated with the this bulk request.
map<string, string> metadata = 3;- Specified by:
getMetadataMapin interfaceDaprAppCallbackProtos.TopicEventBulkRequestOrBuilder
-
getMetadataOrDefault
public String getMetadataOrDefault(String key, String defaultValue)
The metadata associated with the this bulk request.
map<string, string> metadata = 3;- Specified by:
getMetadataOrDefaultin interfaceDaprAppCallbackProtos.TopicEventBulkRequestOrBuilder
-
getMetadataOrThrow
public String getMetadataOrThrow(String key)
The metadata associated with the this bulk request.
map<string, string> metadata = 3;- Specified by:
getMetadataOrThrowin interfaceDaprAppCallbackProtos.TopicEventBulkRequestOrBuilder
-
getTopic
public String getTopic()
The pubsub topic which publisher sent to.
string topic = 4;- Specified by:
getTopicin interfaceDaprAppCallbackProtos.TopicEventBulkRequestOrBuilder- Returns:
- The topic.
-
getTopicBytes
public com.google.protobuf.ByteString getTopicBytes()
The pubsub topic which publisher sent to.
string topic = 4;- Specified by:
getTopicBytesin interfaceDaprAppCallbackProtos.TopicEventBulkRequestOrBuilder- Returns:
- The bytes for topic.
-
getPubsubName
public String getPubsubName()
The name of the pubsub the publisher sent to.
string pubsub_name = 5;- Specified by:
getPubsubNamein interfaceDaprAppCallbackProtos.TopicEventBulkRequestOrBuilder- Returns:
- The pubsubName.
-
getPubsubNameBytes
public com.google.protobuf.ByteString getPubsubNameBytes()
The name of the pubsub the publisher sent to.
string pubsub_name = 5;- Specified by:
getPubsubNameBytesin interfaceDaprAppCallbackProtos.TopicEventBulkRequestOrBuilder- Returns:
- The bytes for pubsubName.
-
getType
public String getType()
The type of event related to the originating occurrence.
string type = 6;- Specified by:
getTypein interfaceDaprAppCallbackProtos.TopicEventBulkRequestOrBuilder- Returns:
- The type.
-
getTypeBytes
public com.google.protobuf.ByteString getTypeBytes()
The type of event related to the originating occurrence.
string type = 6;- Specified by:
getTypeBytesin interfaceDaprAppCallbackProtos.TopicEventBulkRequestOrBuilder- Returns:
- The bytes for type.
-
getPath
public String getPath()
The matching path from TopicSubscription/routes (if specified) for this event. This value is used by OnTopicEvent to "switch" inside the handler.
string path = 7;- Specified by:
getPathin interfaceDaprAppCallbackProtos.TopicEventBulkRequestOrBuilder- Returns:
- The path.
-
getPathBytes
public com.google.protobuf.ByteString getPathBytes()
The matching path from TopicSubscription/routes (if specified) for this event. This value is used by OnTopicEvent to "switch" inside the handler.
string path = 7;- Specified by:
getPathBytesin interfaceDaprAppCallbackProtos.TopicEventBulkRequestOrBuilder- Returns:
- The bytes for path.
-
isInitialized
public final boolean isInitialized()
- Specified by:
isInitializedin interfacecom.google.protobuf.MessageLiteOrBuilder- Overrides:
isInitializedin classcom.google.protobuf.GeneratedMessageV3
-
writeTo
public void writeTo(com.google.protobuf.CodedOutputStream output) throws IOException- Specified by:
writeToin interfacecom.google.protobuf.MessageLite- Overrides:
writeToin classcom.google.protobuf.GeneratedMessageV3- Throws:
IOException
-
getSerializedSize
public int getSerializedSize()
- Specified by:
getSerializedSizein interfacecom.google.protobuf.MessageLite- Overrides:
getSerializedSizein classcom.google.protobuf.GeneratedMessageV3
-
equals
public boolean equals(Object obj)
- Specified by:
equalsin interfacecom.google.protobuf.Message- Overrides:
equalsin classcom.google.protobuf.AbstractMessage
-
hashCode
public int hashCode()
- Specified by:
hashCodein interfacecom.google.protobuf.Message- Overrides:
hashCodein classcom.google.protobuf.AbstractMessage
-
parseFrom
public static DaprAppCallbackProtos.TopicEventBulkRequest parseFrom(ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException
- Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static DaprAppCallbackProtos.TopicEventBulkRequest parseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
- Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static DaprAppCallbackProtos.TopicEventBulkRequest parseFrom(com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException
- Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static DaprAppCallbackProtos.TopicEventBulkRequest 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.TopicEventBulkRequest parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException
- Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static DaprAppCallbackProtos.TopicEventBulkRequest parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
- Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static DaprAppCallbackProtos.TopicEventBulkRequest parseFrom(InputStream input) throws IOException
- Throws:
IOException
-
parseFrom
public static DaprAppCallbackProtos.TopicEventBulkRequest parseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
- Throws:
IOException
-
parseDelimitedFrom
public static DaprAppCallbackProtos.TopicEventBulkRequest parseDelimitedFrom(InputStream input) throws IOException
- Throws:
IOException
-
parseDelimitedFrom
public static DaprAppCallbackProtos.TopicEventBulkRequest parseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
- Throws:
IOException
-
parseFrom
public static DaprAppCallbackProtos.TopicEventBulkRequest parseFrom(com.google.protobuf.CodedInputStream input) throws IOException
- Throws:
IOException
-
parseFrom
public static DaprAppCallbackProtos.TopicEventBulkRequest parseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
- Throws:
IOException
-
newBuilderForType
public DaprAppCallbackProtos.TopicEventBulkRequest.Builder newBuilderForType()
- Specified by:
newBuilderForTypein interfacecom.google.protobuf.Message- Specified by:
newBuilderForTypein interfacecom.google.protobuf.MessageLite
-
newBuilder
public static DaprAppCallbackProtos.TopicEventBulkRequest.Builder newBuilder()
-
newBuilder
public static DaprAppCallbackProtos.TopicEventBulkRequest.Builder newBuilder(DaprAppCallbackProtos.TopicEventBulkRequest prototype)
-
toBuilder
public DaprAppCallbackProtos.TopicEventBulkRequest.Builder toBuilder()
- Specified by:
toBuilderin interfacecom.google.protobuf.Message- Specified by:
toBuilderin interfacecom.google.protobuf.MessageLite
-
newBuilderForType
protected DaprAppCallbackProtos.TopicEventBulkRequest.Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent)
- Specified by:
newBuilderForTypein classcom.google.protobuf.GeneratedMessageV3
-
getDefaultInstance
public static DaprAppCallbackProtos.TopicEventBulkRequest getDefaultInstance()
-
parser
public static com.google.protobuf.Parser<DaprAppCallbackProtos.TopicEventBulkRequest> parser()
-
getParserForType
public com.google.protobuf.Parser<DaprAppCallbackProtos.TopicEventBulkRequest> getParserForType()
- Specified by:
getParserForTypein interfacecom.google.protobuf.Message- Specified by:
getParserForTypein interfacecom.google.protobuf.MessageLite- Overrides:
getParserForTypein classcom.google.protobuf.GeneratedMessageV3
-
getDefaultInstanceForType
public DaprAppCallbackProtos.TopicEventBulkRequest getDefaultInstanceForType()
- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageLiteOrBuilder- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageOrBuilder
-
-