Package io.dapr.v1
Class DaprProtos.InvokeActorRequest.Builder
java.lang.Object
com.google.protobuf.AbstractMessageLite.Builder
com.google.protobuf.AbstractMessage.Builder<BuilderT>
com.google.protobuf.GeneratedMessageV3.Builder<DaprProtos.InvokeActorRequest.Builder>
io.dapr.v1.DaprProtos.InvokeActorRequest.Builder
- All Implemented Interfaces:
com.google.protobuf.Message.Builder
,com.google.protobuf.MessageLite.Builder
,com.google.protobuf.MessageLiteOrBuilder
,com.google.protobuf.MessageOrBuilder
,DaprProtos.InvokeActorRequestOrBuilder
,Cloneable
- Enclosing class:
- DaprProtos.InvokeActorRequest
public static final class DaprProtos.InvokeActorRequest.Builder
extends com.google.protobuf.GeneratedMessageV3.Builder<DaprProtos.InvokeActorRequest.Builder>
implements DaprProtos.InvokeActorRequestOrBuilder
InvokeActorRequest is the message to call an actor.Protobuf type
dapr.proto.runtime.v1.InvokeActorRequest
-
Method Summary
Modifier and TypeMethodDescriptionaddRepeatedField
(com.google.protobuf.Descriptors.FieldDescriptor field, Object value) build()
clear()
string actor_id = 2 [json_name = "actorId"];
string actor_type = 1 [json_name = "actorType"];
bytes data = 4;
clearField
(com.google.protobuf.Descriptors.FieldDescriptor field) string method = 3;
clearOneof
(com.google.protobuf.Descriptors.OneofDescriptor oneof) clone()
boolean
containsMetadata
(String key) map<string, string> metadata = 5;
string actor_id = 2 [json_name = "actorId"];
com.google.protobuf.ByteString
string actor_id = 2 [json_name = "actorId"];
string actor_type = 1 [json_name = "actorType"];
com.google.protobuf.ByteString
string actor_type = 1 [json_name = "actorType"];
com.google.protobuf.ByteString
getData()
bytes data = 4;
static final com.google.protobuf.Descriptors.Descriptor
com.google.protobuf.Descriptors.Descriptor
Deprecated.int
map<string, string> metadata = 5;
map<string, string> metadata = 5;
getMetadataOrDefault
(String key, String defaultValue) map<string, string> metadata = 5;
getMetadataOrThrow
(String key) map<string, string> metadata = 5;
string method = 3;
com.google.protobuf.ByteString
string method = 3;
Deprecated.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) map<string, string> metadata = 5;
putMetadata
(String key, String value) map<string, string> metadata = 5;
removeMetadata
(String key) map<string, string> metadata = 5;
setActorId
(String value) string actor_id = 2 [json_name = "actorId"];
setActorIdBytes
(com.google.protobuf.ByteString value) string actor_id = 2 [json_name = "actorId"];
setActorType
(String value) string actor_type = 1 [json_name = "actorType"];
setActorTypeBytes
(com.google.protobuf.ByteString value) string actor_type = 1 [json_name = "actorType"];
setData
(com.google.protobuf.ByteString value) bytes data = 4;
string method = 3;
setMethodBytes
(com.google.protobuf.ByteString value) string method = 3;
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<DaprProtos.InvokeActorRequest.Builder>
-
internalGetMutableMapField
protected com.google.protobuf.MapField internalGetMutableMapField(int number) - Overrides:
internalGetMutableMapField
in classcom.google.protobuf.GeneratedMessageV3.Builder<DaprProtos.InvokeActorRequest.Builder>
-
internalGetFieldAccessorTable
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()- Specified by:
internalGetFieldAccessorTable
in classcom.google.protobuf.GeneratedMessageV3.Builder<DaprProtos.InvokeActorRequest.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.InvokeActorRequest.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.InvokeActorRequest.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.InvokeActorRequest.Builder>
-
setField
public DaprProtos.InvokeActorRequest.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.InvokeActorRequest.Builder>
-
clearField
public DaprProtos.InvokeActorRequest.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.InvokeActorRequest.Builder>
-
clearOneof
public DaprProtos.InvokeActorRequest.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.InvokeActorRequest.Builder>
-
setRepeatedField
public DaprProtos.InvokeActorRequest.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.InvokeActorRequest.Builder>
-
addRepeatedField
public DaprProtos.InvokeActorRequest.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.InvokeActorRequest.Builder>
-
mergeFrom
- Specified by:
mergeFrom
in interfacecom.google.protobuf.Message.Builder
- Overrides:
mergeFrom
in classcom.google.protobuf.AbstractMessage.Builder<DaprProtos.InvokeActorRequest.Builder>
-
mergeFrom
-
isInitialized
public final boolean isInitialized()- Specified by:
isInitialized
in interfacecom.google.protobuf.MessageLiteOrBuilder
- Overrides:
isInitialized
in classcom.google.protobuf.GeneratedMessageV3.Builder<DaprProtos.InvokeActorRequest.Builder>
-
mergeFrom
public DaprProtos.InvokeActorRequest.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.InvokeActorRequest.Builder>
- Throws:
IOException
-
getActorType
string actor_type = 1 [json_name = "actorType"];
- Specified by:
getActorType
in interfaceDaprProtos.InvokeActorRequestOrBuilder
- Returns:
- The actorType.
-
getActorTypeBytes
public com.google.protobuf.ByteString getActorTypeBytes()string actor_type = 1 [json_name = "actorType"];
- Specified by:
getActorTypeBytes
in interfaceDaprProtos.InvokeActorRequestOrBuilder
- Returns:
- The bytes for actorType.
-
setActorType
string actor_type = 1 [json_name = "actorType"];
- Parameters:
value
- The actorType to set.- Returns:
- This builder for chaining.
-
clearActorType
string actor_type = 1 [json_name = "actorType"];
- Returns:
- This builder for chaining.
-
setActorTypeBytes
public DaprProtos.InvokeActorRequest.Builder setActorTypeBytes(com.google.protobuf.ByteString value) string actor_type = 1 [json_name = "actorType"];
- Parameters:
value
- The bytes for actorType to set.- Returns:
- This builder for chaining.
-
getActorId
string actor_id = 2 [json_name = "actorId"];
- Specified by:
getActorId
in interfaceDaprProtos.InvokeActorRequestOrBuilder
- Returns:
- The actorId.
-
getActorIdBytes
public com.google.protobuf.ByteString getActorIdBytes()string actor_id = 2 [json_name = "actorId"];
- Specified by:
getActorIdBytes
in interfaceDaprProtos.InvokeActorRequestOrBuilder
- Returns:
- The bytes for actorId.
-
setActorId
string actor_id = 2 [json_name = "actorId"];
- Parameters:
value
- The actorId to set.- Returns:
- This builder for chaining.
-
clearActorId
string actor_id = 2 [json_name = "actorId"];
- Returns:
- This builder for chaining.
-
setActorIdBytes
string actor_id = 2 [json_name = "actorId"];
- Parameters:
value
- The bytes for actorId to set.- Returns:
- This builder for chaining.
-
getMethod
string method = 3;
- Specified by:
getMethod
in interfaceDaprProtos.InvokeActorRequestOrBuilder
- Returns:
- The method.
-
getMethodBytes
public com.google.protobuf.ByteString getMethodBytes()string method = 3;
- Specified by:
getMethodBytes
in interfaceDaprProtos.InvokeActorRequestOrBuilder
- Returns:
- The bytes for method.
-
setMethod
string method = 3;
- Parameters:
value
- The method to set.- Returns:
- This builder for chaining.
-
clearMethod
string method = 3;
- Returns:
- This builder for chaining.
-
setMethodBytes
string method = 3;
- Parameters:
value
- The bytes for method to set.- Returns:
- This builder for chaining.
-
getData
public com.google.protobuf.ByteString getData()bytes data = 4;
- Specified by:
getData
in interfaceDaprProtos.InvokeActorRequestOrBuilder
- Returns:
- The data.
-
setData
bytes data = 4;
- Parameters:
value
- The data to set.- Returns:
- This builder for chaining.
-
clearData
bytes data = 4;
- Returns:
- This builder for chaining.
-
getMetadataCount
public int getMetadataCount()Description copied from interface:DaprProtos.InvokeActorRequestOrBuilder
map<string, string> metadata = 5;
- Specified by:
getMetadataCount
in interfaceDaprProtos.InvokeActorRequestOrBuilder
-
containsMetadata
map<string, string> metadata = 5;
- Specified by:
containsMetadata
in interfaceDaprProtos.InvokeActorRequestOrBuilder
-
getMetadata
Deprecated.UsegetMetadataMap()
instead.- Specified by:
getMetadata
in interfaceDaprProtos.InvokeActorRequestOrBuilder
-
getMetadataMap
map<string, string> metadata = 5;
- Specified by:
getMetadataMap
in interfaceDaprProtos.InvokeActorRequestOrBuilder
-
getMetadataOrDefault
map<string, string> metadata = 5;
- Specified by:
getMetadataOrDefault
in interfaceDaprProtos.InvokeActorRequestOrBuilder
-
getMetadataOrThrow
map<string, string> metadata = 5;
- Specified by:
getMetadataOrThrow
in interfaceDaprProtos.InvokeActorRequestOrBuilder
-
clearMetadata
-
removeMetadata
map<string, string> metadata = 5;
-
getMutableMetadata
Deprecated.Use alternate mutation accessors instead. -
putMetadata
map<string, string> metadata = 5;
-
putAllMetadata
map<string, string> metadata = 5;
-
setUnknownFields
public final DaprProtos.InvokeActorRequest.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.InvokeActorRequest.Builder>
-
mergeUnknownFields
public final DaprProtos.InvokeActorRequest.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.InvokeActorRequest.Builder>
-