Package io.dapr.v1
Class DaprAppCallbackProtos.TopicEventCERequest.Builder
java.lang.Object
com.google.protobuf.AbstractMessageLite.Builder
com.google.protobuf.AbstractMessage.Builder<BuilderT>
com.google.protobuf.GeneratedMessageV3.Builder<DaprAppCallbackProtos.TopicEventCERequest.Builder>
io.dapr.v1.DaprAppCallbackProtos.TopicEventCERequest.Builder
- All Implemented Interfaces:
com.google.protobuf.Message.Builder
,com.google.protobuf.MessageLite.Builder
,com.google.protobuf.MessageLiteOrBuilder
,com.google.protobuf.MessageOrBuilder
,DaprAppCallbackProtos.TopicEventCERequestOrBuilder
,Cloneable
- Enclosing class:
- DaprAppCallbackProtos.TopicEventCERequest
public static final class DaprAppCallbackProtos.TopicEventCERequest.Builder
extends com.google.protobuf.GeneratedMessageV3.Builder<DaprAppCallbackProtos.TopicEventCERequest.Builder>
implements DaprAppCallbackProtos.TopicEventCERequestOrBuilder
TopicEventCERequest message is compatible with CloudEvent spec v1.0Protobuf type
dapr.proto.runtime.v1.TopicEventCERequest
-
Method Summary
Modifier and TypeMethodDescriptionaddRepeatedField
(com.google.protobuf.Descriptors.FieldDescriptor field, Object value) build()
clear()
The content of the event.The content type of data value.Custom attributes which includes cloud event extensions.clearField
(com.google.protobuf.Descriptors.FieldDescriptor field) clearId()
The unique identifier of this cloud event.clearOneof
(com.google.protobuf.Descriptors.OneofDescriptor oneof) source identifies the context in which an event happened.The version of the CloudEvents specification.The type of event related to the originating occurrence.clone()
com.google.protobuf.ByteString
getData()
The content of the event.The content type of data value.com.google.protobuf.ByteString
The content type of data value.static final com.google.protobuf.Descriptors.Descriptor
com.google.protobuf.Descriptors.Descriptor
com.google.protobuf.Struct
Custom attributes which includes cloud event extensions.com.google.protobuf.Struct.Builder
Custom attributes which includes cloud event extensions.com.google.protobuf.StructOrBuilder
Custom attributes which includes cloud event extensions.getId()
The unique identifier of this cloud event.com.google.protobuf.ByteString
The unique identifier of this cloud event.source identifies the context in which an event happened.com.google.protobuf.ByteString
source identifies the context in which an event happened.The version of the CloudEvents specification.com.google.protobuf.ByteString
The version of the CloudEvents specification.getType()
The type of event related to the originating occurrence.com.google.protobuf.ByteString
The type of event related to the originating occurrence.boolean
Custom attributes which includes cloud event extensions.protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
final boolean
mergeExtensions
(com.google.protobuf.Struct value) Custom attributes which includes cloud event extensions.mergeFrom
(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) mergeFrom
(com.google.protobuf.Message other) mergeUnknownFields
(com.google.protobuf.UnknownFieldSet unknownFields) setData
(com.google.protobuf.ByteString value) The content of the event.setDataContentType
(String value) The content type of data value.setDataContentTypeBytes
(com.google.protobuf.ByteString value) The content type of data value.setExtensions
(com.google.protobuf.Struct value) Custom attributes which includes cloud event extensions.setExtensions
(com.google.protobuf.Struct.Builder builderForValue) Custom attributes which includes cloud event extensions.The unique identifier of this cloud event.setIdBytes
(com.google.protobuf.ByteString value) The unique identifier of this cloud event.setRepeatedField
(com.google.protobuf.Descriptors.FieldDescriptor field, int index, Object value) source identifies the context in which an event happened.setSourceBytes
(com.google.protobuf.ByteString value) source identifies the context in which an event happened.setSpecVersion
(String value) The version of the CloudEvents specification.setSpecVersionBytes
(com.google.protobuf.ByteString value) The version of the CloudEvents specification.The type of event related to the originating occurrence.setTypeBytes
(com.google.protobuf.ByteString value) The type of event related to the originating occurrence.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, internalGetMapField, internalGetMapFieldReflection, internalGetMutableMapField, 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() -
internalGetFieldAccessorTable
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()- Specified by:
internalGetFieldAccessorTable
in classcom.google.protobuf.GeneratedMessageV3.Builder<DaprAppCallbackProtos.TopicEventCERequest.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.TopicEventCERequest.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.TopicEventCERequest.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.TopicEventCERequest.Builder>
-
setField
public DaprAppCallbackProtos.TopicEventCERequest.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.TopicEventCERequest.Builder>
-
clearField
public DaprAppCallbackProtos.TopicEventCERequest.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.TopicEventCERequest.Builder>
-
clearOneof
public DaprAppCallbackProtos.TopicEventCERequest.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.TopicEventCERequest.Builder>
-
setRepeatedField
public DaprAppCallbackProtos.TopicEventCERequest.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.TopicEventCERequest.Builder>
-
addRepeatedField
public DaprAppCallbackProtos.TopicEventCERequest.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.TopicEventCERequest.Builder>
-
mergeFrom
public DaprAppCallbackProtos.TopicEventCERequest.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.TopicEventCERequest.Builder>
-
mergeFrom
public DaprAppCallbackProtos.TopicEventCERequest.Builder mergeFrom(DaprAppCallbackProtos.TopicEventCERequest other) -
isInitialized
public final boolean isInitialized()- Specified by:
isInitialized
in interfacecom.google.protobuf.MessageLiteOrBuilder
- Overrides:
isInitialized
in classcom.google.protobuf.GeneratedMessageV3.Builder<DaprAppCallbackProtos.TopicEventCERequest.Builder>
-
mergeFrom
public DaprAppCallbackProtos.TopicEventCERequest.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.TopicEventCERequest.Builder>
- Throws:
IOException
-
getId
The unique identifier of this cloud event.
string id = 1;
- Specified by:
getId
in interfaceDaprAppCallbackProtos.TopicEventCERequestOrBuilder
- Returns:
- The id.
-
getIdBytes
public com.google.protobuf.ByteString getIdBytes()The unique identifier of this cloud event.
string id = 1;
- Specified by:
getIdBytes
in interfaceDaprAppCallbackProtos.TopicEventCERequestOrBuilder
- Returns:
- The bytes for id.
-
setId
The unique identifier of this cloud event.
string id = 1;
- Parameters:
value
- The id to set.- Returns:
- This builder for chaining.
-
clearId
The unique identifier of this cloud event.
string id = 1;
- Returns:
- This builder for chaining.
-
setIdBytes
public DaprAppCallbackProtos.TopicEventCERequest.Builder setIdBytes(com.google.protobuf.ByteString value) The unique identifier of this cloud event.
string id = 1;
- Parameters:
value
- The bytes for id to set.- Returns:
- This builder for chaining.
-
getSource
source identifies the context in which an event happened.
string source = 2;
- Specified by:
getSource
in interfaceDaprAppCallbackProtos.TopicEventCERequestOrBuilder
- Returns:
- The source.
-
getSourceBytes
public com.google.protobuf.ByteString getSourceBytes()source identifies the context in which an event happened.
string source = 2;
- Specified by:
getSourceBytes
in interfaceDaprAppCallbackProtos.TopicEventCERequestOrBuilder
- Returns:
- The bytes for source.
-
setSource
source identifies the context in which an event happened.
string source = 2;
- Parameters:
value
- The source to set.- Returns:
- This builder for chaining.
-
clearSource
source identifies the context in which an event happened.
string source = 2;
- Returns:
- This builder for chaining.
-
setSourceBytes
public DaprAppCallbackProtos.TopicEventCERequest.Builder setSourceBytes(com.google.protobuf.ByteString value) source identifies the context in which an event happened.
string source = 2;
- Parameters:
value
- The bytes for source to set.- Returns:
- This builder for chaining.
-
getType
The type of event related to the originating occurrence.
string type = 3;
- Specified by:
getType
in interfaceDaprAppCallbackProtos.TopicEventCERequestOrBuilder
- Returns:
- The type.
-
getTypeBytes
public com.google.protobuf.ByteString getTypeBytes()The type of event related to the originating occurrence.
string type = 3;
- Specified by:
getTypeBytes
in interfaceDaprAppCallbackProtos.TopicEventCERequestOrBuilder
- Returns:
- The bytes for type.
-
setType
The type of event related to the originating occurrence.
string type = 3;
- Parameters:
value
- The type to set.- Returns:
- This builder for chaining.
-
clearType
The type of event related to the originating occurrence.
string type = 3;
- Returns:
- This builder for chaining.
-
setTypeBytes
public DaprAppCallbackProtos.TopicEventCERequest.Builder setTypeBytes(com.google.protobuf.ByteString value) The type of event related to the originating occurrence.
string type = 3;
- Parameters:
value
- The bytes for type to set.- Returns:
- This builder for chaining.
-
getSpecVersion
The version of the CloudEvents specification.
string spec_version = 4;
- Specified by:
getSpecVersion
in interfaceDaprAppCallbackProtos.TopicEventCERequestOrBuilder
- Returns:
- The specVersion.
-
getSpecVersionBytes
public com.google.protobuf.ByteString getSpecVersionBytes()The version of the CloudEvents specification.
string spec_version = 4;
- Specified by:
getSpecVersionBytes
in interfaceDaprAppCallbackProtos.TopicEventCERequestOrBuilder
- Returns:
- The bytes for specVersion.
-
setSpecVersion
The version of the CloudEvents specification.
string spec_version = 4;
- Parameters:
value
- The specVersion to set.- Returns:
- This builder for chaining.
-
clearSpecVersion
The version of the CloudEvents specification.
string spec_version = 4;
- Returns:
- This builder for chaining.
-
setSpecVersionBytes
public DaprAppCallbackProtos.TopicEventCERequest.Builder setSpecVersionBytes(com.google.protobuf.ByteString value) The version of the CloudEvents specification.
string spec_version = 4;
- Parameters:
value
- The bytes for specVersion to set.- Returns:
- This builder for chaining.
-
getDataContentType
The content type of data value.
string data_content_type = 5;
- Specified by:
getDataContentType
in interfaceDaprAppCallbackProtos.TopicEventCERequestOrBuilder
- Returns:
- The dataContentType.
-
getDataContentTypeBytes
public com.google.protobuf.ByteString getDataContentTypeBytes()The content type of data value.
string data_content_type = 5;
- Specified by:
getDataContentTypeBytes
in interfaceDaprAppCallbackProtos.TopicEventCERequestOrBuilder
- Returns:
- The bytes for dataContentType.
-
setDataContentType
The content type of data value.
string data_content_type = 5;
- Parameters:
value
- The dataContentType to set.- Returns:
- This builder for chaining.
-
clearDataContentType
The content type of data value.
string data_content_type = 5;
- Returns:
- This builder for chaining.
-
setDataContentTypeBytes
public DaprAppCallbackProtos.TopicEventCERequest.Builder setDataContentTypeBytes(com.google.protobuf.ByteString value) The content type of data value.
string data_content_type = 5;
- Parameters:
value
- The bytes for dataContentType to set.- Returns:
- This builder for chaining.
-
getData
public com.google.protobuf.ByteString getData()The content of the event.
bytes data = 6;
- Specified by:
getData
in interfaceDaprAppCallbackProtos.TopicEventCERequestOrBuilder
- Returns:
- The data.
-
setData
public DaprAppCallbackProtos.TopicEventCERequest.Builder setData(com.google.protobuf.ByteString value) The content of the event.
bytes data = 6;
- Parameters:
value
- The data to set.- Returns:
- This builder for chaining.
-
clearData
The content of the event.
bytes data = 6;
- Returns:
- This builder for chaining.
-
hasExtensions
public boolean hasExtensions()Custom attributes which includes cloud event extensions.
.google.protobuf.Struct extensions = 7;
- Specified by:
hasExtensions
in interfaceDaprAppCallbackProtos.TopicEventCERequestOrBuilder
- Returns:
- Whether the extensions field is set.
-
getExtensions
public com.google.protobuf.Struct getExtensions()Custom attributes which includes cloud event extensions.
.google.protobuf.Struct extensions = 7;
- Specified by:
getExtensions
in interfaceDaprAppCallbackProtos.TopicEventCERequestOrBuilder
- Returns:
- The extensions.
-
setExtensions
public DaprAppCallbackProtos.TopicEventCERequest.Builder setExtensions(com.google.protobuf.Struct value) Custom attributes which includes cloud event extensions.
.google.protobuf.Struct extensions = 7;
-
setExtensions
public DaprAppCallbackProtos.TopicEventCERequest.Builder setExtensions(com.google.protobuf.Struct.Builder builderForValue) Custom attributes which includes cloud event extensions.
.google.protobuf.Struct extensions = 7;
-
mergeExtensions
public DaprAppCallbackProtos.TopicEventCERequest.Builder mergeExtensions(com.google.protobuf.Struct value) Custom attributes which includes cloud event extensions.
.google.protobuf.Struct extensions = 7;
-
clearExtensions
Custom attributes which includes cloud event extensions.
.google.protobuf.Struct extensions = 7;
-
getExtensionsBuilder
public com.google.protobuf.Struct.Builder getExtensionsBuilder()Custom attributes which includes cloud event extensions.
.google.protobuf.Struct extensions = 7;
-
getExtensionsOrBuilder
public com.google.protobuf.StructOrBuilder getExtensionsOrBuilder()Custom attributes which includes cloud event extensions.
.google.protobuf.Struct extensions = 7;
- Specified by:
getExtensionsOrBuilder
in interfaceDaprAppCallbackProtos.TopicEventCERequestOrBuilder
-
setUnknownFields
public final DaprAppCallbackProtos.TopicEventCERequest.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.TopicEventCERequest.Builder>
-
mergeUnknownFields
public final DaprAppCallbackProtos.TopicEventCERequest.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.TopicEventCERequest.Builder>
-