Package io.dapr.v1
Class DaprProtos.BulkPublishRequestEntry.Builder
java.lang.Object
com.google.protobuf.AbstractMessageLite.Builder
com.google.protobuf.AbstractMessage.Builder<BuilderT>
com.google.protobuf.GeneratedMessageV3.Builder<DaprProtos.BulkPublishRequestEntry.Builder>
io.dapr.v1.DaprProtos.BulkPublishRequestEntry.Builder
- All Implemented Interfaces:
com.google.protobuf.Message.Builder
,com.google.protobuf.MessageLite.Builder
,com.google.protobuf.MessageLiteOrBuilder
,com.google.protobuf.MessageOrBuilder
,DaprProtos.BulkPublishRequestEntryOrBuilder
,Cloneable
- Enclosing class:
- DaprProtos.BulkPublishRequestEntry
public static final class DaprProtos.BulkPublishRequestEntry.Builder
extends com.google.protobuf.GeneratedMessageV3.Builder<DaprProtos.BulkPublishRequestEntry.Builder>
implements DaprProtos.BulkPublishRequestEntryOrBuilder
BulkPublishRequestEntry is the message containing the event to be bulk publishedProtobuf type
dapr.proto.runtime.v1.BulkPublishRequestEntry
-
Method Summary
Modifier and TypeMethodDescriptionaddRepeatedField
(com.google.protobuf.Descriptors.FieldDescriptor field, Object value) build()
clear()
The content type for the eventThe request scoped unique ID referring to this message.The event which will be pulished to the topicclearField
(com.google.protobuf.Descriptors.FieldDescriptor field) clearOneof
(com.google.protobuf.Descriptors.OneofDescriptor oneof) clone()
boolean
containsMetadata
(String key) The event level metadata passing to the pubsub componentThe content type for the eventcom.google.protobuf.ByteString
The content type for the eventstatic final com.google.protobuf.Descriptors.Descriptor
com.google.protobuf.Descriptors.Descriptor
The request scoped unique ID referring to this message.com.google.protobuf.ByteString
The request scoped unique ID referring to this message.com.google.protobuf.ByteString
getEvent()
The event which will be pulished to the topicDeprecated.int
The event level metadata passing to the pubsub componentThe event level metadata passing to the pubsub componentgetMetadataOrDefault
(String key, String defaultValue) The event level metadata passing to the pubsub componentgetMetadataOrThrow
(String key) The event level metadata passing to the pubsub componentDeprecated.protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
protected com.google.protobuf.MapField
internalGetMapField
(int number) protected com.google.protobuf.MapField
internalGetMutableMapField
(int number) 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) putAllMetadata
(Map<String, String> values) The event level metadata passing to the pubsub componentputMetadata
(String key, String value) The event level metadata passing to the pubsub componentremoveMetadata
(String key) The event level metadata passing to the pubsub componentsetContentType
(String value) The content type for the eventsetContentTypeBytes
(com.google.protobuf.ByteString value) The content type for the eventsetEntryId
(String value) The request scoped unique ID referring to this message.setEntryIdBytes
(com.google.protobuf.ByteString value) The request scoped unique ID referring to this message.setEvent
(com.google.protobuf.ByteString value) The event which will be pulished to the topicsetRepeatedField
(com.google.protobuf.Descriptors.FieldDescriptor field, int index, Object value) 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, internalGetMapFieldReflection, 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() -
internalGetMapField
protected com.google.protobuf.MapField internalGetMapField(int number) - Overrides:
internalGetMapField
in classcom.google.protobuf.GeneratedMessageV3.Builder<DaprProtos.BulkPublishRequestEntry.Builder>
-
internalGetMutableMapField
protected com.google.protobuf.MapField internalGetMutableMapField(int number) - Overrides:
internalGetMutableMapField
in classcom.google.protobuf.GeneratedMessageV3.Builder<DaprProtos.BulkPublishRequestEntry.Builder>
-
internalGetFieldAccessorTable
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()- Specified by:
internalGetFieldAccessorTable
in classcom.google.protobuf.GeneratedMessageV3.Builder<DaprProtos.BulkPublishRequestEntry.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<DaprProtos.BulkPublishRequestEntry.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<DaprProtos.BulkPublishRequestEntry.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<DaprProtos.BulkPublishRequestEntry.Builder>
-
setField
public DaprProtos.BulkPublishRequestEntry.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<DaprProtos.BulkPublishRequestEntry.Builder>
-
clearField
public DaprProtos.BulkPublishRequestEntry.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<DaprProtos.BulkPublishRequestEntry.Builder>
-
clearOneof
public DaprProtos.BulkPublishRequestEntry.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<DaprProtos.BulkPublishRequestEntry.Builder>
-
setRepeatedField
public DaprProtos.BulkPublishRequestEntry.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<DaprProtos.BulkPublishRequestEntry.Builder>
-
addRepeatedField
public DaprProtos.BulkPublishRequestEntry.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<DaprProtos.BulkPublishRequestEntry.Builder>
-
mergeFrom
- Specified by:
mergeFrom
in interfacecom.google.protobuf.Message.Builder
- Overrides:
mergeFrom
in classcom.google.protobuf.AbstractMessage.Builder<DaprProtos.BulkPublishRequestEntry.Builder>
-
mergeFrom
public DaprProtos.BulkPublishRequestEntry.Builder mergeFrom(DaprProtos.BulkPublishRequestEntry other) -
isInitialized
public final boolean isInitialized()- Specified by:
isInitialized
in interfacecom.google.protobuf.MessageLiteOrBuilder
- Overrides:
isInitialized
in classcom.google.protobuf.GeneratedMessageV3.Builder<DaprProtos.BulkPublishRequestEntry.Builder>
-
mergeFrom
public DaprProtos.BulkPublishRequestEntry.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<DaprProtos.BulkPublishRequestEntry.Builder>
- Throws:
IOException
-
getEntryId
The request scoped unique ID referring to this message. Used to map status in response
string entry_id = 1;
- Specified by:
getEntryId
in 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:
getEntryIdBytes
in interfaceDaprProtos.BulkPublishRequestEntryOrBuilder
- Returns:
- The bytes for entryId.
-
setEntryId
The request scoped unique ID referring to this message. Used to map status in response
string entry_id = 1;
- Parameters:
value
- The entryId to set.- Returns:
- This builder for chaining.
-
clearEntryId
The request scoped unique ID referring to this message. Used to map status in response
string entry_id = 1;
- Returns:
- This builder for chaining.
-
setEntryIdBytes
public DaprProtos.BulkPublishRequestEntry.Builder setEntryIdBytes(com.google.protobuf.ByteString value) The request scoped unique ID referring to this message. Used to map status in response
string entry_id = 1;
- Parameters:
value
- The bytes for entryId to set.- Returns:
- This builder for chaining.
-
getEvent
public com.google.protobuf.ByteString getEvent()The event which will be pulished to the topic
bytes event = 2;
- Specified by:
getEvent
in interfaceDaprProtos.BulkPublishRequestEntryOrBuilder
- Returns:
- The event.
-
setEvent
The event which will be pulished to the topic
bytes event = 2;
- Parameters:
value
- The event to set.- Returns:
- This builder for chaining.
-
clearEvent
The event which will be pulished to the topic
bytes event = 2;
- Returns:
- This builder for chaining.
-
getContentType
The content type for the event
string content_type = 3;
- Specified by:
getContentType
in interfaceDaprProtos.BulkPublishRequestEntryOrBuilder
- Returns:
- The contentType.
-
getContentTypeBytes
public com.google.protobuf.ByteString getContentTypeBytes()The content type for the event
string content_type = 3;
- Specified by:
getContentTypeBytes
in interfaceDaprProtos.BulkPublishRequestEntryOrBuilder
- Returns:
- The bytes for contentType.
-
setContentType
The content type for the event
string content_type = 3;
- Parameters:
value
- The contentType to set.- Returns:
- This builder for chaining.
-
clearContentType
The content type for the event
string content_type = 3;
- Returns:
- This builder for chaining.
-
setContentTypeBytes
public DaprProtos.BulkPublishRequestEntry.Builder setContentTypeBytes(com.google.protobuf.ByteString value) The content type for the event
string content_type = 3;
- Parameters:
value
- The bytes for contentType to set.- Returns:
- This builder for chaining.
-
getMetadataCount
public int getMetadataCount()Description copied from interface:DaprProtos.BulkPublishRequestEntryOrBuilder
The event level metadata passing to the pubsub component
map<string, string> metadata = 4;
- Specified by:
getMetadataCount
in interfaceDaprProtos.BulkPublishRequestEntryOrBuilder
-
containsMetadata
The event level metadata passing to the pubsub component
map<string, string> metadata = 4;
- Specified by:
containsMetadata
in interfaceDaprProtos.BulkPublishRequestEntryOrBuilder
-
getMetadata
Deprecated.UsegetMetadataMap()
instead.- Specified by:
getMetadata
in interfaceDaprProtos.BulkPublishRequestEntryOrBuilder
-
getMetadataMap
The event level metadata passing to the pubsub component
map<string, string> metadata = 4;
- Specified by:
getMetadataMap
in interfaceDaprProtos.BulkPublishRequestEntryOrBuilder
-
getMetadataOrDefault
The event level metadata passing to the pubsub component
map<string, string> metadata = 4;
- Specified by:
getMetadataOrDefault
in interfaceDaprProtos.BulkPublishRequestEntryOrBuilder
-
getMetadataOrThrow
The event level metadata passing to the pubsub component
map<string, string> metadata = 4;
- Specified by:
getMetadataOrThrow
in interfaceDaprProtos.BulkPublishRequestEntryOrBuilder
-
clearMetadata
-
removeMetadata
The event level metadata passing to the pubsub component
map<string, string> metadata = 4;
-
getMutableMetadata
Deprecated.Use alternate mutation accessors instead. -
putMetadata
The event level metadata passing to the pubsub component
map<string, string> metadata = 4;
-
putAllMetadata
The event level metadata passing to the pubsub component
map<string, string> metadata = 4;
-
setUnknownFields
public final DaprProtos.BulkPublishRequestEntry.Builder setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) - Specified by:
setUnknownFields
in interfacecom.google.protobuf.Message.Builder
- Overrides:
setUnknownFields
in classcom.google.protobuf.GeneratedMessageV3.Builder<DaprProtos.BulkPublishRequestEntry.Builder>
-
mergeUnknownFields
public final DaprProtos.BulkPublishRequestEntry.Builder mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) - Specified by:
mergeUnknownFields
in interfacecom.google.protobuf.Message.Builder
- Overrides:
mergeUnknownFields
in classcom.google.protobuf.GeneratedMessageV3.Builder<DaprProtos.BulkPublishRequestEntry.Builder>
-