Package io.dapr.v1
Class DaprProtos.BulkPublishRequestEntry
- java.lang.Object
-
- com.google.protobuf.AbstractMessageLite
-
- com.google.protobuf.AbstractMessage
-
- com.google.protobuf.GeneratedMessageV3
-
- io.dapr.v1.DaprProtos.BulkPublishRequestEntry
-
- All Implemented Interfaces:
com.google.protobuf.Message,com.google.protobuf.MessageLite,com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder,DaprProtos.BulkPublishRequestEntryOrBuilder,Serializable
- Enclosing class:
- DaprProtos
public static final class DaprProtos.BulkPublishRequestEntry extends com.google.protobuf.GeneratedMessageV3 implements DaprProtos.BulkPublishRequestEntryOrBuilder
BulkPublishRequestEntry is the message containing the event to be bulk published
Protobuf typedapr.proto.runtime.v1.BulkPublishRequestEntry- See Also:
- Serialized Form
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classDaprProtos.BulkPublishRequestEntry.BuilderBulkPublishRequestEntry is the message containing the event to be bulk published-
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 intCONTENT_TYPE_FIELD_NUMBERstatic intENTRY_ID_FIELD_NUMBERstatic intEVENT_FIELD_NUMBERstatic intMETADATA_FIELD_NUMBER
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Deprecated Methods Modifier and Type Method Description booleancontainsMetadata(String key)The event level metadata passing to the pubsub componentbooleanequals(Object obj)StringgetContentType()The content type for the eventcom.google.protobuf.ByteStringgetContentTypeBytes()The content type for the eventstatic DaprProtos.BulkPublishRequestEntrygetDefaultInstance()DaprProtos.BulkPublishRequestEntrygetDefaultInstanceForType()static com.google.protobuf.Descriptors.DescriptorgetDescriptor()StringgetEntryId()The request scoped unique ID referring to this message.com.google.protobuf.ByteStringgetEntryIdBytes()The request scoped unique ID referring to this message.com.google.protobuf.ByteStringgetEvent()The event which will be pulished to the topicMap<String,String>getMetadata()Deprecated.intgetMetadataCount()The event level metadata passing to the pubsub componentMap<String,String>getMetadataMap()The event level metadata passing to the pubsub componentStringgetMetadataOrDefault(String key, String defaultValue)The event level metadata passing to the pubsub componentStringgetMetadataOrThrow(String key)The event level metadata passing to the pubsub componentcom.google.protobuf.Parser<DaprProtos.BulkPublishRequestEntry>getParserForType()intgetSerializedSize()com.google.protobuf.UnknownFieldSetgetUnknownFields()inthashCode()protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTableinternalGetFieldAccessorTable()protected com.google.protobuf.MapFieldinternalGetMapField(int number)booleanisInitialized()static DaprProtos.BulkPublishRequestEntry.BuildernewBuilder()static DaprProtos.BulkPublishRequestEntry.BuildernewBuilder(DaprProtos.BulkPublishRequestEntry prototype)DaprProtos.BulkPublishRequestEntry.BuildernewBuilderForType()protected DaprProtos.BulkPublishRequestEntry.BuildernewBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent)protected ObjectnewInstance(com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter unused)static DaprProtos.BulkPublishRequestEntryparseDelimitedFrom(InputStream input)static DaprProtos.BulkPublishRequestEntryparseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)static DaprProtos.BulkPublishRequestEntryparseFrom(byte[] data)static DaprProtos.BulkPublishRequestEntryparseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)static DaprProtos.BulkPublishRequestEntryparseFrom(com.google.protobuf.ByteString data)static DaprProtos.BulkPublishRequestEntryparseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)static DaprProtos.BulkPublishRequestEntryparseFrom(com.google.protobuf.CodedInputStream input)static DaprProtos.BulkPublishRequestEntryparseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)static DaprProtos.BulkPublishRequestEntryparseFrom(InputStream input)static DaprProtos.BulkPublishRequestEntryparseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)static DaprProtos.BulkPublishRequestEntryparseFrom(ByteBuffer data)static DaprProtos.BulkPublishRequestEntryparseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)static com.google.protobuf.Parser<DaprProtos.BulkPublishRequestEntry>parser()DaprProtos.BulkPublishRequestEntry.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
-
ENTRY_ID_FIELD_NUMBER
public static final int ENTRY_ID_FIELD_NUMBER
- See Also:
- Constant Field Values
-
EVENT_FIELD_NUMBER
public static final int EVENT_FIELD_NUMBER
- See Also:
- Constant Field Values
-
CONTENT_TYPE_FIELD_NUMBER
public static final int CONTENT_TYPE_FIELD_NUMBER
- See Also:
- Constant Field Values
-
METADATA_FIELD_NUMBER
public static final int METADATA_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
-
getEntryId
public String getEntryId()
The request scoped unique ID referring to this message. Used to map status in response
string entry_id = 1;- Specified by:
getEntryIdin interfaceDaprProtos.BulkPublishRequestEntryOrBuilder- Returns:
- The entryId.
-
getEntryIdBytes
public com.google.protobuf.ByteString getEntryIdBytes()
The request scoped unique ID referring to this message. Used to map status in response
string entry_id = 1;- Specified by:
getEntryIdBytesin interfaceDaprProtos.BulkPublishRequestEntryOrBuilder- Returns:
- The bytes for entryId.
-
getEvent
public com.google.protobuf.ByteString getEvent()
The event which will be pulished to the topic
bytes event = 2;- Specified by:
getEventin interfaceDaprProtos.BulkPublishRequestEntryOrBuilder- Returns:
- The event.
-
getContentType
public String getContentType()
The content type for the event
string content_type = 3;- Specified by:
getContentTypein interfaceDaprProtos.BulkPublishRequestEntryOrBuilder- Returns:
- The contentType.
-
getContentTypeBytes
public com.google.protobuf.ByteString getContentTypeBytes()
The content type for the event
string content_type = 3;- Specified by:
getContentTypeBytesin interfaceDaprProtos.BulkPublishRequestEntryOrBuilder- Returns:
- The bytes for contentType.
-
getMetadataCount
public int getMetadataCount()
Description copied from interface:DaprProtos.BulkPublishRequestEntryOrBuilderThe event level metadata passing to the pubsub component
map<string, string> metadata = 4;- Specified by:
getMetadataCountin interfaceDaprProtos.BulkPublishRequestEntryOrBuilder
-
containsMetadata
public boolean containsMetadata(String key)
The event level metadata passing to the pubsub component
map<string, string> metadata = 4;- Specified by:
containsMetadatain interfaceDaprProtos.BulkPublishRequestEntryOrBuilder
-
getMetadata
@Deprecated public Map<String,String> getMetadata()
Deprecated.UsegetMetadataMap()instead.- Specified by:
getMetadatain interfaceDaprProtos.BulkPublishRequestEntryOrBuilder
-
getMetadataMap
public Map<String,String> getMetadataMap()
The event level metadata passing to the pubsub component
map<string, string> metadata = 4;- Specified by:
getMetadataMapin interfaceDaprProtos.BulkPublishRequestEntryOrBuilder
-
getMetadataOrDefault
public String getMetadataOrDefault(String key, String defaultValue)
The event level metadata passing to the pubsub component
map<string, string> metadata = 4;- Specified by:
getMetadataOrDefaultin interfaceDaprProtos.BulkPublishRequestEntryOrBuilder
-
getMetadataOrThrow
public String getMetadataOrThrow(String key)
The event level metadata passing to the pubsub component
map<string, string> metadata = 4;- Specified by:
getMetadataOrThrowin interfaceDaprProtos.BulkPublishRequestEntryOrBuilder
-
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 DaprProtos.BulkPublishRequestEntry parseFrom(ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException
- Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static DaprProtos.BulkPublishRequestEntry parseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
- Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static DaprProtos.BulkPublishRequestEntry parseFrom(com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException
- Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static DaprProtos.BulkPublishRequestEntry parseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
- Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static DaprProtos.BulkPublishRequestEntry parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException
- Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static DaprProtos.BulkPublishRequestEntry parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
- Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static DaprProtos.BulkPublishRequestEntry parseFrom(InputStream input) throws IOException
- Throws:
IOException
-
parseFrom
public static DaprProtos.BulkPublishRequestEntry parseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
- Throws:
IOException
-
parseDelimitedFrom
public static DaprProtos.BulkPublishRequestEntry parseDelimitedFrom(InputStream input) throws IOException
- Throws:
IOException
-
parseDelimitedFrom
public static DaprProtos.BulkPublishRequestEntry parseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
- Throws:
IOException
-
parseFrom
public static DaprProtos.BulkPublishRequestEntry parseFrom(com.google.protobuf.CodedInputStream input) throws IOException
- Throws:
IOException
-
parseFrom
public static DaprProtos.BulkPublishRequestEntry parseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
- Throws:
IOException
-
newBuilderForType
public DaprProtos.BulkPublishRequestEntry.Builder newBuilderForType()
- Specified by:
newBuilderForTypein interfacecom.google.protobuf.Message- Specified by:
newBuilderForTypein interfacecom.google.protobuf.MessageLite
-
newBuilder
public static DaprProtos.BulkPublishRequestEntry.Builder newBuilder()
-
newBuilder
public static DaprProtos.BulkPublishRequestEntry.Builder newBuilder(DaprProtos.BulkPublishRequestEntry prototype)
-
toBuilder
public DaprProtos.BulkPublishRequestEntry.Builder toBuilder()
- Specified by:
toBuilderin interfacecom.google.protobuf.Message- Specified by:
toBuilderin interfacecom.google.protobuf.MessageLite
-
newBuilderForType
protected DaprProtos.BulkPublishRequestEntry.Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent)
- Specified by:
newBuilderForTypein classcom.google.protobuf.GeneratedMessageV3
-
getDefaultInstance
public static DaprProtos.BulkPublishRequestEntry getDefaultInstance()
-
parser
public static com.google.protobuf.Parser<DaprProtos.BulkPublishRequestEntry> parser()
-
getParserForType
public com.google.protobuf.Parser<DaprProtos.BulkPublishRequestEntry> getParserForType()
- Specified by:
getParserForTypein interfacecom.google.protobuf.Message- Specified by:
getParserForTypein interfacecom.google.protobuf.MessageLite- Overrides:
getParserForTypein classcom.google.protobuf.GeneratedMessageV3
-
getDefaultInstanceForType
public DaprProtos.BulkPublishRequestEntry getDefaultInstanceForType()
- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageLiteOrBuilder- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageOrBuilder
-
-