Class NodeCompleted.Builder
java.lang.Object
com.google.protobuf.AbstractMessageLite.Builder
com.google.protobuf.AbstractMessage.Builder<NodeCompleted.Builder>
com.google.protobuf.GeneratedMessage.Builder<NodeCompleted.Builder>
com.soulfiremc.grpc.generated.NodeCompleted.Builder
- All Implemented Interfaces:
com.google.protobuf.Message.Builder, com.google.protobuf.MessageLite.Builder, com.google.protobuf.MessageLiteOrBuilder, com.google.protobuf.MessageOrBuilder, NodeCompletedOrBuilder, Cloneable
- Enclosing class:
NodeCompleted
public static final class NodeCompleted.Builder
extends com.google.protobuf.GeneratedMessage.Builder<NodeCompleted.Builder>
implements NodeCompletedOrBuilder
Event emitted when a node completes execution successfully.Protobuf type
soulfire.v1.NodeCompleted-
Method Summary
Modifier and TypeMethodDescriptionbuild()clear()Execution time in nanoseconds for profiling.The ID of the node that completed execution.When the node completed execution.booleancontainsOutputs(String key) The output values produced by the node.static final com.google.protobuf.Descriptors.Descriptorcom.google.protobuf.Descriptors.DescriptorlongExecution time in nanoseconds for profiling.Deprecated.The ID of the node that completed execution.com.google.protobuf.ByteStringThe ID of the node that completed execution.Deprecated.intThe output values produced by the node.The output values produced by the node.com.google.protobuf.ValuegetOutputsOrDefault(String key, com.google.protobuf.Value defaultValue) The output values produced by the node.com.google.protobuf.ValuegetOutputsOrThrow(String key) The output values produced by the node.com.google.protobuf.TimestampWhen the node completed execution.com.google.protobuf.Timestamp.BuilderWhen the node completed execution.com.google.protobuf.TimestampOrBuilderWhen the node completed execution.booleanWhen the node completed execution.protected com.google.protobuf.GeneratedMessage.FieldAccessorTableprotected com.google.protobuf.MapFieldReflectionAccessorinternalGetMapFieldReflection(int number) protected com.google.protobuf.MapFieldReflectionAccessorinternalGetMutableMapFieldReflection(int number) final booleanmergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) mergeFrom(com.google.protobuf.Message other) mergeFrom(NodeCompleted other) mergeTimestamp(com.google.protobuf.Timestamp value) When the node completed execution.putAllOutputs(Map<String, com.google.protobuf.Value> values) The output values produced by the node.putOutputs(String key, com.google.protobuf.Value value) The output values produced by the node.com.google.protobuf.Value.BuilderThe output values produced by the node.removeOutputs(String key) The output values produced by the node.setExecutionTimeNanos(long value) Execution time in nanoseconds for profiling.The ID of the node that completed execution.setNodeIdBytes(com.google.protobuf.ByteString value) The ID of the node that completed execution.setTimestamp(com.google.protobuf.Timestamp value) When the node completed execution.setTimestamp(com.google.protobuf.Timestamp.Builder builderForValue) When the node completed execution.Methods inherited from class com.google.protobuf.GeneratedMessage.Builder
addRepeatedField, clearField, clearOneof, clone, getAllFields, getField, getFieldBuilder, getOneofFieldDescriptor, getParentForChildren, getRepeatedField, getRepeatedFieldBuilder, getRepeatedFieldCount, getUnknownFields, getUnknownFieldSetBuilder, hasField, hasOneof, internalGetMapField, internalGetMutableMapField, isClean, markClean, mergeUnknownFields, mergeUnknownLengthDelimitedField, mergeUnknownVarintField, newBuilderForField, onBuilt, onChanged, parseUnknownField, setField, setRepeatedField, setUnknownFields, setUnknownFieldSetBuilder, setUnknownFieldsProto3Methods inherited from class com.google.protobuf.AbstractMessage.Builder
findInitializationErrors, getInitializationErrorString, internalMergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException, toStringMethods inherited from class com.google.protobuf.AbstractMessageLite.Builder
addAll, addAll, mergeDelimitedFrom, mergeDelimitedFrom, mergeFrom, newUninitializedMessageExceptionMethods inherited from class Object
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitMethods inherited from interface com.google.protobuf.Message.Builder
mergeDelimitedFrom, mergeDelimitedFromMethods inherited from interface com.google.protobuf.MessageLite.Builder
mergeFromMethods 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() -
internalGetMapFieldReflection
protected com.google.protobuf.MapFieldReflectionAccessor internalGetMapFieldReflection(int number) - Overrides:
internalGetMapFieldReflectionin classcom.google.protobuf.GeneratedMessage.Builder<NodeCompleted.Builder>
-
internalGetMutableMapFieldReflection
protected com.google.protobuf.MapFieldReflectionAccessor internalGetMutableMapFieldReflection(int number) - Overrides:
internalGetMutableMapFieldReflectionin classcom.google.protobuf.GeneratedMessage.Builder<NodeCompleted.Builder>
-
internalGetFieldAccessorTable
protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()- Specified by:
internalGetFieldAccessorTablein classcom.google.protobuf.GeneratedMessage.Builder<NodeCompleted.Builder>
-
clear
- Specified by:
clearin interfacecom.google.protobuf.Message.Builder- Specified by:
clearin interfacecom.google.protobuf.MessageLite.Builder- Overrides:
clearin classcom.google.protobuf.GeneratedMessage.Builder<NodeCompleted.Builder>
-
getDescriptorForType
public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()- Specified by:
getDescriptorForTypein interfacecom.google.protobuf.Message.Builder- Specified by:
getDescriptorForTypein interfacecom.google.protobuf.MessageOrBuilder- Overrides:
getDescriptorForTypein classcom.google.protobuf.GeneratedMessage.Builder<NodeCompleted.Builder>
-
getDefaultInstanceForType
- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageLiteOrBuilder- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageOrBuilder
-
build
- Specified by:
buildin interfacecom.google.protobuf.Message.Builder- Specified by:
buildin interfacecom.google.protobuf.MessageLite.Builder
-
buildPartial
- Specified by:
buildPartialin interfacecom.google.protobuf.Message.Builder- Specified by:
buildPartialin interfacecom.google.protobuf.MessageLite.Builder
-
mergeFrom
- Specified by:
mergeFromin interfacecom.google.protobuf.Message.Builder- Overrides:
mergeFromin classcom.google.protobuf.AbstractMessage.Builder<NodeCompleted.Builder>
-
mergeFrom
-
isInitialized
public final boolean isInitialized()- Specified by:
isInitializedin interfacecom.google.protobuf.MessageLiteOrBuilder- Overrides:
isInitializedin classcom.google.protobuf.GeneratedMessage.Builder<NodeCompleted.Builder>
-
mergeFrom
public NodeCompleted.Builder mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException - Specified by:
mergeFromin interfacecom.google.protobuf.Message.Builder- Specified by:
mergeFromin interfacecom.google.protobuf.MessageLite.Builder- Overrides:
mergeFromin classcom.google.protobuf.AbstractMessage.Builder<NodeCompleted.Builder>- Throws:
IOException
-
getNodeId
The ID of the node that completed execution.
string node_id = 1;- Specified by:
getNodeIdin interfaceNodeCompletedOrBuilder- Returns:
- The nodeId.
-
getNodeIdBytes
public com.google.protobuf.ByteString getNodeIdBytes()The ID of the node that completed execution.
string node_id = 1;- Specified by:
getNodeIdBytesin interfaceNodeCompletedOrBuilder- Returns:
- The bytes for nodeId.
-
setNodeId
The ID of the node that completed execution.
string node_id = 1;- Parameters:
value- The nodeId to set.- Returns:
- This builder for chaining.
-
clearNodeId
The ID of the node that completed execution.
string node_id = 1;- Returns:
- This builder for chaining.
-
setNodeIdBytes
The ID of the node that completed execution.
string node_id = 1;- Parameters:
value- The bytes for nodeId to set.- Returns:
- This builder for chaining.
-
getOutputsCount
public int getOutputsCount()Description copied from interface:NodeCompletedOrBuilderThe output values produced by the node. Keys are output port names, values are the data produced.
map<string, .google.protobuf.Value> outputs = 2;- Specified by:
getOutputsCountin interfaceNodeCompletedOrBuilder
-
containsOutputs
The output values produced by the node. Keys are output port names, values are the data produced.
map<string, .google.protobuf.Value> outputs = 2;- Specified by:
containsOutputsin interfaceNodeCompletedOrBuilder
-
getOutputs
Deprecated.UsegetOutputsMap()instead.- Specified by:
getOutputsin interfaceNodeCompletedOrBuilder
-
getOutputsMap
The output values produced by the node. Keys are output port names, values are the data produced.
map<string, .google.protobuf.Value> outputs = 2;- Specified by:
getOutputsMapin interfaceNodeCompletedOrBuilder
-
getOutputsOrDefault
public com.google.protobuf.Value getOutputsOrDefault(String key, com.google.protobuf.Value defaultValue) The output values produced by the node. Keys are output port names, values are the data produced.
map<string, .google.protobuf.Value> outputs = 2;- Specified by:
getOutputsOrDefaultin interfaceNodeCompletedOrBuilder
-
getOutputsOrThrow
The output values produced by the node. Keys are output port names, values are the data produced.
map<string, .google.protobuf.Value> outputs = 2;- Specified by:
getOutputsOrThrowin interfaceNodeCompletedOrBuilder
-
clearOutputs
-
removeOutputs
The output values produced by the node. Keys are output port names, values are the data produced.
map<string, .google.protobuf.Value> outputs = 2; -
getMutableOutputs
Deprecated.Use alternate mutation accessors instead. -
putOutputs
The output values produced by the node. Keys are output port names, values are the data produced.
map<string, .google.protobuf.Value> outputs = 2; -
putAllOutputs
The output values produced by the node. Keys are output port names, values are the data produced.
map<string, .google.protobuf.Value> outputs = 2; -
putOutputsBuilderIfAbsent
The output values produced by the node. Keys are output port names, values are the data produced.
map<string, .google.protobuf.Value> outputs = 2; -
hasTimestamp
public boolean hasTimestamp()When the node completed execution.
.google.protobuf.Timestamp timestamp = 3;- Specified by:
hasTimestampin interfaceNodeCompletedOrBuilder- Returns:
- Whether the timestamp field is set.
-
getTimestamp
public com.google.protobuf.Timestamp getTimestamp()When the node completed execution.
.google.protobuf.Timestamp timestamp = 3;- Specified by:
getTimestampin interfaceNodeCompletedOrBuilder- Returns:
- The timestamp.
-
setTimestamp
When the node completed execution.
.google.protobuf.Timestamp timestamp = 3; -
setTimestamp
When the node completed execution.
.google.protobuf.Timestamp timestamp = 3; -
mergeTimestamp
When the node completed execution.
.google.protobuf.Timestamp timestamp = 3; -
clearTimestamp
When the node completed execution.
.google.protobuf.Timestamp timestamp = 3; -
getTimestampBuilder
public com.google.protobuf.Timestamp.Builder getTimestampBuilder()When the node completed execution.
.google.protobuf.Timestamp timestamp = 3; -
getTimestampOrBuilder
public com.google.protobuf.TimestampOrBuilder getTimestampOrBuilder()When the node completed execution.
.google.protobuf.Timestamp timestamp = 3;- Specified by:
getTimestampOrBuilderin interfaceNodeCompletedOrBuilder
-
getExecutionTimeNanos
public long getExecutionTimeNanos()Execution time in nanoseconds for profiling.
int64 execution_time_nanos = 4;- Specified by:
getExecutionTimeNanosin interfaceNodeCompletedOrBuilder- Returns:
- The executionTimeNanos.
-
setExecutionTimeNanos
Execution time in nanoseconds for profiling.
int64 execution_time_nanos = 4;- Parameters:
value- The executionTimeNanos to set.- Returns:
- This builder for chaining.
-
clearExecutionTimeNanos
Execution time in nanoseconds for profiling.
int64 execution_time_nanos = 4;- Returns:
- This builder for chaining.
-