Package io.dapr.v1
Class DaprAppCallbackProtos.TopicEventBulkRequestEntry.Builder
java.lang.Object
com.google.protobuf.AbstractMessageLite.Builder
com.google.protobuf.AbstractMessage.Builder<BuilderT>
com.google.protobuf.GeneratedMessageV3.Builder<DaprAppCallbackProtos.TopicEventBulkRequestEntry.Builder>
io.dapr.v1.DaprAppCallbackProtos.TopicEventBulkRequestEntry.Builder
- All Implemented Interfaces:
com.google.protobuf.Message.Builder
,com.google.protobuf.MessageLite.Builder
,com.google.protobuf.MessageLiteOrBuilder
,com.google.protobuf.MessageOrBuilder
,DaprAppCallbackProtos.TopicEventBulkRequestEntryOrBuilder
,Cloneable
- Enclosing class:
- DaprAppCallbackProtos.TopicEventBulkRequestEntry
public static final class DaprAppCallbackProtos.TopicEventBulkRequestEntry.Builder
extends com.google.protobuf.GeneratedMessageV3.Builder<DaprAppCallbackProtos.TopicEventBulkRequestEntry.Builder>
implements DaprAppCallbackProtos.TopicEventBulkRequestEntryOrBuilder
TopicEventBulkRequestEntry represents a single message inside a bulk requestProtobuf type
dapr.proto.runtime.v1.TopicEventBulkRequestEntry
-
Method Summary
Modifier and TypeMethodDescriptionaddRepeatedField
(com.google.protobuf.Descriptors.FieldDescriptor field, Object value) build()
clear()
bytes bytes = 2;
.dapr.proto.runtime.v1.TopicEventCERequest cloud_event = 3;
content type of the event contained.Unique identifier for the message.clearField
(com.google.protobuf.Descriptors.FieldDescriptor field) clearOneof
(com.google.protobuf.Descriptors.OneofDescriptor oneof) clone()
boolean
containsMetadata
(String key) The metadata associated with the event.com.google.protobuf.ByteString
getBytes()
bytes bytes = 2;
.dapr.proto.runtime.v1.TopicEventCERequest cloud_event = 3;
.dapr.proto.runtime.v1.TopicEventCERequest cloud_event = 3;
.dapr.proto.runtime.v1.TopicEventCERequest cloud_event = 3;
content type of the event contained.com.google.protobuf.ByteString
content type of the event contained.static final com.google.protobuf.Descriptors.Descriptor
com.google.protobuf.Descriptors.Descriptor
Unique identifier for the message.com.google.protobuf.ByteString
Unique identifier for the message.Deprecated.int
The metadata associated with the event.The metadata associated with the event.getMetadataOrDefault
(String key, String defaultValue) The metadata associated with the event.getMetadataOrThrow
(String key) The metadata associated with the event.Deprecated.boolean
hasBytes()
bytes bytes = 2;
boolean
.dapr.proto.runtime.v1.TopicEventCERequest cloud_event = 3;
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
protected com.google.protobuf.MapField
internalGetMapField
(int number) protected com.google.protobuf.MapField
internalGetMutableMapField
(int number) final boolean
.dapr.proto.runtime.v1.TopicEventCERequest cloud_event = 3;
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 metadata associated with the event.putMetadata
(String key, String value) The metadata associated with the event.removeMetadata
(String key) The metadata associated with the event.setBytes
(com.google.protobuf.ByteString value) bytes bytes = 2;
.dapr.proto.runtime.v1.TopicEventCERequest cloud_event = 3;
setCloudEvent
(DaprAppCallbackProtos.TopicEventCERequest.Builder builderForValue) .dapr.proto.runtime.v1.TopicEventCERequest cloud_event = 3;
setContentType
(String value) content type of the event contained.setContentTypeBytes
(com.google.protobuf.ByteString value) content type of the event contained.setEntryId
(String value) Unique identifier for the message.setEntryIdBytes
(com.google.protobuf.ByteString value) Unique identifier for the message.setRepeatedField
(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<DaprAppCallbackProtos.TopicEventBulkRequestEntry.Builder>
-
internalGetMutableMapField
protected com.google.protobuf.MapField internalGetMutableMapField(int number) - Overrides:
internalGetMutableMapField
in classcom.google.protobuf.GeneratedMessageV3.Builder<DaprAppCallbackProtos.TopicEventBulkRequestEntry.Builder>
-
internalGetFieldAccessorTable
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()- Specified by:
internalGetFieldAccessorTable
in classcom.google.protobuf.GeneratedMessageV3.Builder<DaprAppCallbackProtos.TopicEventBulkRequestEntry.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.TopicEventBulkRequestEntry.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.TopicEventBulkRequestEntry.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.TopicEventBulkRequestEntry.Builder>
-
setField
public DaprAppCallbackProtos.TopicEventBulkRequestEntry.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.TopicEventBulkRequestEntry.Builder>
-
clearField
public DaprAppCallbackProtos.TopicEventBulkRequestEntry.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.TopicEventBulkRequestEntry.Builder>
-
clearOneof
public DaprAppCallbackProtos.TopicEventBulkRequestEntry.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.TopicEventBulkRequestEntry.Builder>
-
setRepeatedField
public DaprAppCallbackProtos.TopicEventBulkRequestEntry.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.TopicEventBulkRequestEntry.Builder>
-
addRepeatedField
public DaprAppCallbackProtos.TopicEventBulkRequestEntry.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.TopicEventBulkRequestEntry.Builder>
-
mergeFrom
public DaprAppCallbackProtos.TopicEventBulkRequestEntry.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.TopicEventBulkRequestEntry.Builder>
-
mergeFrom
-
isInitialized
public final boolean isInitialized()- Specified by:
isInitialized
in interfacecom.google.protobuf.MessageLiteOrBuilder
- Overrides:
isInitialized
in classcom.google.protobuf.GeneratedMessageV3.Builder<DaprAppCallbackProtos.TopicEventBulkRequestEntry.Builder>
-
mergeFrom
public DaprAppCallbackProtos.TopicEventBulkRequestEntry.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.TopicEventBulkRequestEntry.Builder>
- Throws:
IOException
-
getEventCase
- Specified by:
getEventCase
in interfaceDaprAppCallbackProtos.TopicEventBulkRequestEntryOrBuilder
-
clearEvent
-
getEntryId
Unique identifier for the message.
string entry_id = 1;
- Specified by:
getEntryId
in interfaceDaprAppCallbackProtos.TopicEventBulkRequestEntryOrBuilder
- Returns:
- The entryId.
-
getEntryIdBytes
public com.google.protobuf.ByteString getEntryIdBytes()Unique identifier for the message.
string entry_id = 1;
- Specified by:
getEntryIdBytes
in interfaceDaprAppCallbackProtos.TopicEventBulkRequestEntryOrBuilder
- Returns:
- The bytes for entryId.
-
setEntryId
Unique identifier for the message.
string entry_id = 1;
- Parameters:
value
- The entryId to set.- Returns:
- This builder for chaining.
-
clearEntryId
Unique identifier for the message.
string entry_id = 1;
- Returns:
- This builder for chaining.
-
setEntryIdBytes
public DaprAppCallbackProtos.TopicEventBulkRequestEntry.Builder setEntryIdBytes(com.google.protobuf.ByteString value) Unique identifier for the message.
string entry_id = 1;
- Parameters:
value
- The bytes for entryId to set.- Returns:
- This builder for chaining.
-
hasBytes
public boolean hasBytes()bytes bytes = 2;
- Specified by:
hasBytes
in interfaceDaprAppCallbackProtos.TopicEventBulkRequestEntryOrBuilder
- Returns:
- Whether the bytes field is set.
-
getBytes
public com.google.protobuf.ByteString getBytes()bytes bytes = 2;
- Specified by:
getBytes
in interfaceDaprAppCallbackProtos.TopicEventBulkRequestEntryOrBuilder
- Returns:
- The bytes.
-
setBytes
public DaprAppCallbackProtos.TopicEventBulkRequestEntry.Builder setBytes(com.google.protobuf.ByteString value) bytes bytes = 2;
- Parameters:
value
- The bytes to set.- Returns:
- This builder for chaining.
-
clearBytes
bytes bytes = 2;
- Returns:
- This builder for chaining.
-
hasCloudEvent
public boolean hasCloudEvent().dapr.proto.runtime.v1.TopicEventCERequest cloud_event = 3;
- Specified by:
hasCloudEvent
in interfaceDaprAppCallbackProtos.TopicEventBulkRequestEntryOrBuilder
- Returns:
- Whether the cloudEvent field is set.
-
getCloudEvent
.dapr.proto.runtime.v1.TopicEventCERequest cloud_event = 3;
- Specified by:
getCloudEvent
in interfaceDaprAppCallbackProtos.TopicEventBulkRequestEntryOrBuilder
- Returns:
- The cloudEvent.
-
setCloudEvent
public DaprAppCallbackProtos.TopicEventBulkRequestEntry.Builder setCloudEvent(DaprAppCallbackProtos.TopicEventCERequest value) .dapr.proto.runtime.v1.TopicEventCERequest cloud_event = 3;
-
setCloudEvent
public DaprAppCallbackProtos.TopicEventBulkRequestEntry.Builder setCloudEvent(DaprAppCallbackProtos.TopicEventCERequest.Builder builderForValue) .dapr.proto.runtime.v1.TopicEventCERequest cloud_event = 3;
-
mergeCloudEvent
public DaprAppCallbackProtos.TopicEventBulkRequestEntry.Builder mergeCloudEvent(DaprAppCallbackProtos.TopicEventCERequest value) .dapr.proto.runtime.v1.TopicEventCERequest cloud_event = 3;
-
clearCloudEvent
.dapr.proto.runtime.v1.TopicEventCERequest cloud_event = 3;
-
getCloudEventBuilder
.dapr.proto.runtime.v1.TopicEventCERequest cloud_event = 3;
-
getCloudEventOrBuilder
.dapr.proto.runtime.v1.TopicEventCERequest cloud_event = 3;
- Specified by:
getCloudEventOrBuilder
in interfaceDaprAppCallbackProtos.TopicEventBulkRequestEntryOrBuilder
-
getContentType
content type of the event contained.
string content_type = 4;
- Specified by:
getContentType
in interfaceDaprAppCallbackProtos.TopicEventBulkRequestEntryOrBuilder
- Returns:
- The contentType.
-
getContentTypeBytes
public com.google.protobuf.ByteString getContentTypeBytes()content type of the event contained.
string content_type = 4;
- Specified by:
getContentTypeBytes
in interfaceDaprAppCallbackProtos.TopicEventBulkRequestEntryOrBuilder
- Returns:
- The bytes for contentType.
-
setContentType
content type of the event contained.
string content_type = 4;
- Parameters:
value
- The contentType to set.- Returns:
- This builder for chaining.
-
clearContentType
content type of the event contained.
string content_type = 4;
- Returns:
- This builder for chaining.
-
setContentTypeBytes
public DaprAppCallbackProtos.TopicEventBulkRequestEntry.Builder setContentTypeBytes(com.google.protobuf.ByteString value) content type of the event contained.
string content_type = 4;
- Parameters:
value
- The bytes for contentType to set.- Returns:
- This builder for chaining.
-
getMetadataCount
public int getMetadataCount()Description copied from interface:DaprAppCallbackProtos.TopicEventBulkRequestEntryOrBuilder
The metadata associated with the event.
map<string, string> metadata = 5;
- Specified by:
getMetadataCount
in interfaceDaprAppCallbackProtos.TopicEventBulkRequestEntryOrBuilder
-
containsMetadata
The metadata associated with the event.
map<string, string> metadata = 5;
- Specified by:
containsMetadata
in interfaceDaprAppCallbackProtos.TopicEventBulkRequestEntryOrBuilder
-
getMetadata
Deprecated.UsegetMetadataMap()
instead.- Specified by:
getMetadata
in interfaceDaprAppCallbackProtos.TopicEventBulkRequestEntryOrBuilder
-
getMetadataMap
The metadata associated with the event.
map<string, string> metadata = 5;
- Specified by:
getMetadataMap
in interfaceDaprAppCallbackProtos.TopicEventBulkRequestEntryOrBuilder
-
getMetadataOrDefault
The metadata associated with the event.
map<string, string> metadata = 5;
- Specified by:
getMetadataOrDefault
in interfaceDaprAppCallbackProtos.TopicEventBulkRequestEntryOrBuilder
-
getMetadataOrThrow
The metadata associated with the event.
map<string, string> metadata = 5;
- Specified by:
getMetadataOrThrow
in interfaceDaprAppCallbackProtos.TopicEventBulkRequestEntryOrBuilder
-
clearMetadata
-
removeMetadata
The metadata associated with the event.
map<string, string> metadata = 5;
-
getMutableMetadata
Deprecated.Use alternate mutation accessors instead. -
putMetadata
public DaprAppCallbackProtos.TopicEventBulkRequestEntry.Builder putMetadata(String key, String value) The metadata associated with the event.
map<string, string> metadata = 5;
-
putAllMetadata
public DaprAppCallbackProtos.TopicEventBulkRequestEntry.Builder putAllMetadata(Map<String, String> values) The metadata associated with the event.
map<string, string> metadata = 5;
-
setUnknownFields
public final DaprAppCallbackProtos.TopicEventBulkRequestEntry.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.TopicEventBulkRequestEntry.Builder>
-
mergeUnknownFields
public final DaprAppCallbackProtos.TopicEventBulkRequestEntry.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.TopicEventBulkRequestEntry.Builder>
-