Package io.dapr.v1
Class DaprProtos.ActorRuntime.Builder
java.lang.Object
com.google.protobuf.AbstractMessageLite.Builder
com.google.protobuf.AbstractMessage.Builder<BuilderT>
com.google.protobuf.GeneratedMessageV3.Builder<DaprProtos.ActorRuntime.Builder>
io.dapr.v1.DaprProtos.ActorRuntime.Builder
- All Implemented Interfaces:
com.google.protobuf.Message.Builder
,com.google.protobuf.MessageLite.Builder
,com.google.protobuf.MessageLiteOrBuilder
,com.google.protobuf.MessageOrBuilder
,DaprProtos.ActorRuntimeOrBuilder
,Cloneable
- Enclosing class:
- DaprProtos.ActorRuntime
public static final class DaprProtos.ActorRuntime.Builder
extends com.google.protobuf.GeneratedMessageV3.Builder<DaprProtos.ActorRuntime.Builder>
implements DaprProtos.ActorRuntimeOrBuilder
Protobuf type
dapr.proto.runtime.v1.ActorRuntime
-
Method Summary
Modifier and TypeMethodDescriptionaddActiveActors
(int index, DaprProtos.ActiveActorsCount value) Count of active actors per type.addActiveActors
(int index, DaprProtos.ActiveActorsCount.Builder builderForValue) Count of active actors per type.Count of active actors per type.addActiveActors
(DaprProtos.ActiveActorsCount.Builder builderForValue) Count of active actors per type.Count of active actors per type.addActiveActorsBuilder
(int index) Count of active actors per type.addAllActiveActors
(Iterable<? extends DaprProtos.ActiveActorsCount> values) Count of active actors per type.addRepeatedField
(com.google.protobuf.Descriptors.FieldDescriptor field, Object value) build()
clear()
Count of active actors per type.clearField
(com.google.protobuf.Descriptors.FieldDescriptor field) Indicates whether the actor runtime is ready to host actors.clearOneof
(com.google.protobuf.Descriptors.OneofDescriptor oneof) Custom message from the placement provider.Contains an enum indicating whether the actor runtime has been initialized.clone()
getActiveActors
(int index) Count of active actors per type.getActiveActorsBuilder
(int index) Count of active actors per type.Count of active actors per type.int
Count of active actors per type.Count of active actors per type.getActiveActorsOrBuilder
(int index) Count of active actors per type.List<? extends DaprProtos.ActiveActorsCountOrBuilder>
Count of active actors per type.static final com.google.protobuf.Descriptors.Descriptor
com.google.protobuf.Descriptors.Descriptor
boolean
Indicates whether the actor runtime is ready to host actors.Custom message from the placement provider.com.google.protobuf.ByteString
Custom message from the placement provider.Contains an enum indicating whether the actor runtime has been initialized.int
Contains an enum indicating whether the actor runtime has been initialized.protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
final boolean
mergeFrom
(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) mergeFrom
(com.google.protobuf.Message other) mergeFrom
(DaprProtos.ActorRuntime other) mergeUnknownFields
(com.google.protobuf.UnknownFieldSet unknownFields) removeActiveActors
(int index) Count of active actors per type.setActiveActors
(int index, DaprProtos.ActiveActorsCount value) Count of active actors per type.setActiveActors
(int index, DaprProtos.ActiveActorsCount.Builder builderForValue) Count of active actors per type.setHostReady
(boolean value) Indicates whether the actor runtime is ready to host actors.setPlacement
(String value) Custom message from the placement provider.setPlacementBytes
(com.google.protobuf.ByteString value) Custom message from the placement provider.setRepeatedField
(com.google.protobuf.Descriptors.FieldDescriptor field, int index, Object value) Contains an enum indicating whether the actor runtime has been initialized.setRuntimeStatusValue
(int value) Contains an enum indicating whether the actor runtime has been initialized.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<DaprProtos.ActorRuntime.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.ActorRuntime.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.ActorRuntime.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.ActorRuntime.Builder>
-
setField
public DaprProtos.ActorRuntime.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.ActorRuntime.Builder>
-
clearField
public DaprProtos.ActorRuntime.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.ActorRuntime.Builder>
-
clearOneof
public DaprProtos.ActorRuntime.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.ActorRuntime.Builder>
-
setRepeatedField
public DaprProtos.ActorRuntime.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.ActorRuntime.Builder>
-
addRepeatedField
public DaprProtos.ActorRuntime.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.ActorRuntime.Builder>
-
mergeFrom
- Specified by:
mergeFrom
in interfacecom.google.protobuf.Message.Builder
- Overrides:
mergeFrom
in classcom.google.protobuf.AbstractMessage.Builder<DaprProtos.ActorRuntime.Builder>
-
mergeFrom
-
isInitialized
public final boolean isInitialized()- Specified by:
isInitialized
in interfacecom.google.protobuf.MessageLiteOrBuilder
- Overrides:
isInitialized
in classcom.google.protobuf.GeneratedMessageV3.Builder<DaprProtos.ActorRuntime.Builder>
-
mergeFrom
public DaprProtos.ActorRuntime.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.ActorRuntime.Builder>
- Throws:
IOException
-
getRuntimeStatusValue
public int getRuntimeStatusValue()Contains an enum indicating whether the actor runtime has been initialized.
.dapr.proto.runtime.v1.ActorRuntime.ActorRuntimeStatus runtime_status = 1 [json_name = "runtimeStatus"];
- Specified by:
getRuntimeStatusValue
in interfaceDaprProtos.ActorRuntimeOrBuilder
- Returns:
- The enum numeric value on the wire for runtimeStatus.
-
setRuntimeStatusValue
Contains an enum indicating whether the actor runtime has been initialized.
.dapr.proto.runtime.v1.ActorRuntime.ActorRuntimeStatus runtime_status = 1 [json_name = "runtimeStatus"];
- Parameters:
value
- The enum numeric value on the wire for runtimeStatus to set.- Returns:
- This builder for chaining.
-
getRuntimeStatus
Contains an enum indicating whether the actor runtime has been initialized.
.dapr.proto.runtime.v1.ActorRuntime.ActorRuntimeStatus runtime_status = 1 [json_name = "runtimeStatus"];
- Specified by:
getRuntimeStatus
in interfaceDaprProtos.ActorRuntimeOrBuilder
- Returns:
- The runtimeStatus.
-
setRuntimeStatus
public DaprProtos.ActorRuntime.Builder setRuntimeStatus(DaprProtos.ActorRuntime.ActorRuntimeStatus value) Contains an enum indicating whether the actor runtime has been initialized.
.dapr.proto.runtime.v1.ActorRuntime.ActorRuntimeStatus runtime_status = 1 [json_name = "runtimeStatus"];
- Parameters:
value
- The runtimeStatus to set.- Returns:
- This builder for chaining.
-
clearRuntimeStatus
Contains an enum indicating whether the actor runtime has been initialized.
.dapr.proto.runtime.v1.ActorRuntime.ActorRuntimeStatus runtime_status = 1 [json_name = "runtimeStatus"];
- Returns:
- This builder for chaining.
-
getActiveActorsList
Count of active actors per type.
repeated .dapr.proto.runtime.v1.ActiveActorsCount active_actors = 2 [json_name = "activeActors"];
- Specified by:
getActiveActorsList
in interfaceDaprProtos.ActorRuntimeOrBuilder
-
getActiveActorsCount
public int getActiveActorsCount()Count of active actors per type.
repeated .dapr.proto.runtime.v1.ActiveActorsCount active_actors = 2 [json_name = "activeActors"];
- Specified by:
getActiveActorsCount
in interfaceDaprProtos.ActorRuntimeOrBuilder
-
getActiveActors
Count of active actors per type.
repeated .dapr.proto.runtime.v1.ActiveActorsCount active_actors = 2 [json_name = "activeActors"];
- Specified by:
getActiveActors
in interfaceDaprProtos.ActorRuntimeOrBuilder
-
setActiveActors
public DaprProtos.ActorRuntime.Builder setActiveActors(int index, DaprProtos.ActiveActorsCount value) Count of active actors per type.
repeated .dapr.proto.runtime.v1.ActiveActorsCount active_actors = 2 [json_name = "activeActors"];
-
setActiveActors
public DaprProtos.ActorRuntime.Builder setActiveActors(int index, DaprProtos.ActiveActorsCount.Builder builderForValue) Count of active actors per type.
repeated .dapr.proto.runtime.v1.ActiveActorsCount active_actors = 2 [json_name = "activeActors"];
-
addActiveActors
Count of active actors per type.
repeated .dapr.proto.runtime.v1.ActiveActorsCount active_actors = 2 [json_name = "activeActors"];
-
addActiveActors
public DaprProtos.ActorRuntime.Builder addActiveActors(int index, DaprProtos.ActiveActorsCount value) Count of active actors per type.
repeated .dapr.proto.runtime.v1.ActiveActorsCount active_actors = 2 [json_name = "activeActors"];
-
addActiveActors
public DaprProtos.ActorRuntime.Builder addActiveActors(DaprProtos.ActiveActorsCount.Builder builderForValue) Count of active actors per type.
repeated .dapr.proto.runtime.v1.ActiveActorsCount active_actors = 2 [json_name = "activeActors"];
-
addActiveActors
public DaprProtos.ActorRuntime.Builder addActiveActors(int index, DaprProtos.ActiveActorsCount.Builder builderForValue) Count of active actors per type.
repeated .dapr.proto.runtime.v1.ActiveActorsCount active_actors = 2 [json_name = "activeActors"];
-
addAllActiveActors
public DaprProtos.ActorRuntime.Builder addAllActiveActors(Iterable<? extends DaprProtos.ActiveActorsCount> values) Count of active actors per type.
repeated .dapr.proto.runtime.v1.ActiveActorsCount active_actors = 2 [json_name = "activeActors"];
-
clearActiveActors
Count of active actors per type.
repeated .dapr.proto.runtime.v1.ActiveActorsCount active_actors = 2 [json_name = "activeActors"];
-
removeActiveActors
Count of active actors per type.
repeated .dapr.proto.runtime.v1.ActiveActorsCount active_actors = 2 [json_name = "activeActors"];
-
getActiveActorsBuilder
Count of active actors per type.
repeated .dapr.proto.runtime.v1.ActiveActorsCount active_actors = 2 [json_name = "activeActors"];
-
getActiveActorsOrBuilder
Count of active actors per type.
repeated .dapr.proto.runtime.v1.ActiveActorsCount active_actors = 2 [json_name = "activeActors"];
- Specified by:
getActiveActorsOrBuilder
in interfaceDaprProtos.ActorRuntimeOrBuilder
-
getActiveActorsOrBuilderList
Count of active actors per type.
repeated .dapr.proto.runtime.v1.ActiveActorsCount active_actors = 2 [json_name = "activeActors"];
- Specified by:
getActiveActorsOrBuilderList
in interfaceDaprProtos.ActorRuntimeOrBuilder
-
addActiveActorsBuilder
Count of active actors per type.
repeated .dapr.proto.runtime.v1.ActiveActorsCount active_actors = 2 [json_name = "activeActors"];
-
addActiveActorsBuilder
Count of active actors per type.
repeated .dapr.proto.runtime.v1.ActiveActorsCount active_actors = 2 [json_name = "activeActors"];
-
getActiveActorsBuilderList
Count of active actors per type.
repeated .dapr.proto.runtime.v1.ActiveActorsCount active_actors = 2 [json_name = "activeActors"];
-
getHostReady
public boolean getHostReady()Indicates whether the actor runtime is ready to host actors.
bool host_ready = 3 [json_name = "hostReady"];
- Specified by:
getHostReady
in interfaceDaprProtos.ActorRuntimeOrBuilder
- Returns:
- The hostReady.
-
setHostReady
Indicates whether the actor runtime is ready to host actors.
bool host_ready = 3 [json_name = "hostReady"];
- Parameters:
value
- The hostReady to set.- Returns:
- This builder for chaining.
-
clearHostReady
Indicates whether the actor runtime is ready to host actors.
bool host_ready = 3 [json_name = "hostReady"];
- Returns:
- This builder for chaining.
-
getPlacement
Custom message from the placement provider.
string placement = 4 [json_name = "placement"];
- Specified by:
getPlacement
in interfaceDaprProtos.ActorRuntimeOrBuilder
- Returns:
- The placement.
-
getPlacementBytes
public com.google.protobuf.ByteString getPlacementBytes()Custom message from the placement provider.
string placement = 4 [json_name = "placement"];
- Specified by:
getPlacementBytes
in interfaceDaprProtos.ActorRuntimeOrBuilder
- Returns:
- The bytes for placement.
-
setPlacement
Custom message from the placement provider.
string placement = 4 [json_name = "placement"];
- Parameters:
value
- The placement to set.- Returns:
- This builder for chaining.
-
clearPlacement
Custom message from the placement provider.
string placement = 4 [json_name = "placement"];
- Returns:
- This builder for chaining.
-
setPlacementBytes
Custom message from the placement provider.
string placement = 4 [json_name = "placement"];
- Parameters:
value
- The bytes for placement to set.- Returns:
- This builder for chaining.
-
setUnknownFields
public final DaprProtos.ActorRuntime.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.ActorRuntime.Builder>
-
mergeUnknownFields
public final DaprProtos.ActorRuntime.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.ActorRuntime.Builder>
-