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 Details

    • getDescriptor

      public static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
    • internalGetMapFieldReflection

      protected com.google.protobuf.MapFieldReflectionAccessor internalGetMapFieldReflection(int number)
      Overrides:
      internalGetMapFieldReflection in class com.google.protobuf.GeneratedMessage.Builder<NodeCompleted.Builder>
    • internalGetMutableMapFieldReflection

      protected com.google.protobuf.MapFieldReflectionAccessor internalGetMutableMapFieldReflection(int number)
      Overrides:
      internalGetMutableMapFieldReflection in class com.google.protobuf.GeneratedMessage.Builder<NodeCompleted.Builder>
    • internalGetFieldAccessorTable

      protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()
      Specified by:
      internalGetFieldAccessorTable in class com.google.protobuf.GeneratedMessage.Builder<NodeCompleted.Builder>
    • clear

      public NodeCompleted.Builder clear()
      Specified by:
      clear in interface com.google.protobuf.Message.Builder
      Specified by:
      clear in interface com.google.protobuf.MessageLite.Builder
      Overrides:
      clear in class com.google.protobuf.GeneratedMessage.Builder<NodeCompleted.Builder>
    • getDescriptorForType

      public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()
      Specified by:
      getDescriptorForType in interface com.google.protobuf.Message.Builder
      Specified by:
      getDescriptorForType in interface com.google.protobuf.MessageOrBuilder
      Overrides:
      getDescriptorForType in class com.google.protobuf.GeneratedMessage.Builder<NodeCompleted.Builder>
    • getDefaultInstanceForType

      public NodeCompleted getDefaultInstanceForType()
      Specified by:
      getDefaultInstanceForType in interface com.google.protobuf.MessageLiteOrBuilder
      Specified by:
      getDefaultInstanceForType in interface com.google.protobuf.MessageOrBuilder
    • build

      public NodeCompleted build()
      Specified by:
      build in interface com.google.protobuf.Message.Builder
      Specified by:
      build in interface com.google.protobuf.MessageLite.Builder
    • buildPartial

      public NodeCompleted buildPartial()
      Specified by:
      buildPartial in interface com.google.protobuf.Message.Builder
      Specified by:
      buildPartial in interface com.google.protobuf.MessageLite.Builder
    • mergeFrom

      public NodeCompleted.Builder mergeFrom(com.google.protobuf.Message other)
      Specified by:
      mergeFrom in interface com.google.protobuf.Message.Builder
      Overrides:
      mergeFrom in class com.google.protobuf.AbstractMessage.Builder<NodeCompleted.Builder>
    • mergeFrom

      public NodeCompleted.Builder mergeFrom(NodeCompleted other)
    • isInitialized

      public final boolean isInitialized()
      Specified by:
      isInitialized in interface com.google.protobuf.MessageLiteOrBuilder
      Overrides:
      isInitialized in class com.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:
      mergeFrom in interface com.google.protobuf.Message.Builder
      Specified by:
      mergeFrom in interface com.google.protobuf.MessageLite.Builder
      Overrides:
      mergeFrom in class com.google.protobuf.AbstractMessage.Builder<NodeCompleted.Builder>
      Throws:
      IOException
    • getNodeId

      public String getNodeId()
      The ID of the node that completed execution.
      
      string node_id = 1;
      Specified by:
      getNodeId in interface NodeCompletedOrBuilder
      Returns:
      The nodeId.
    • getNodeIdBytes

      public com.google.protobuf.ByteString getNodeIdBytes()
      The ID of the node that completed execution.
      
      string node_id = 1;
      Specified by:
      getNodeIdBytes in interface NodeCompletedOrBuilder
      Returns:
      The bytes for nodeId.
    • setNodeId

      public NodeCompleted.Builder setNodeId(String value)
      The ID of the node that completed execution.
      
      string node_id = 1;
      Parameters:
      value - The nodeId to set.
      Returns:
      This builder for chaining.
    • clearNodeId

      public NodeCompleted.Builder clearNodeId()
      The ID of the node that completed execution.
      
      string node_id = 1;
      Returns:
      This builder for chaining.
    • setNodeIdBytes

      public NodeCompleted.Builder setNodeIdBytes(com.google.protobuf.ByteString value)
      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: NodeCompletedOrBuilder
      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:
      getOutputsCount in interface NodeCompletedOrBuilder
    • containsOutputs

      public boolean containsOutputs(String key)
      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:
      containsOutputs in interface NodeCompletedOrBuilder
    • getOutputs

      @Deprecated public Map<String, com.google.protobuf.Value> getOutputs()
      Deprecated.
      Use getOutputsMap() instead.
      Specified by:
      getOutputs in interface NodeCompletedOrBuilder
    • getOutputsMap

      public Map<String, com.google.protobuf.Value> 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:
      getOutputsMap in interface NodeCompletedOrBuilder
    • 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:
      getOutputsOrDefault in interface NodeCompletedOrBuilder
    • getOutputsOrThrow

      public com.google.protobuf.Value getOutputsOrThrow(String key)
      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:
      getOutputsOrThrow in interface NodeCompletedOrBuilder
    • clearOutputs

      public NodeCompleted.Builder clearOutputs()
    • removeOutputs

      public NodeCompleted.Builder removeOutputs(String key)
      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 public Map<String, com.google.protobuf.Value> getMutableOutputs()
      Deprecated.
      Use alternate mutation accessors instead.
    • putOutputs

      public NodeCompleted.Builder putOutputs(String key, com.google.protobuf.Value value)
      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

      public NodeCompleted.Builder putAllOutputs(Map<String, com.google.protobuf.Value> values)
      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

      public com.google.protobuf.Value.Builder putOutputsBuilderIfAbsent(String key)
      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:
      hasTimestamp in interface NodeCompletedOrBuilder
      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:
      getTimestamp in interface NodeCompletedOrBuilder
      Returns:
      The timestamp.
    • setTimestamp

      public NodeCompleted.Builder setTimestamp(com.google.protobuf.Timestamp value)
      When the node completed execution.
      
      .google.protobuf.Timestamp timestamp = 3;
    • setTimestamp

      public NodeCompleted.Builder setTimestamp(com.google.protobuf.Timestamp.Builder builderForValue)
      When the node completed execution.
      
      .google.protobuf.Timestamp timestamp = 3;
    • mergeTimestamp

      public NodeCompleted.Builder mergeTimestamp(com.google.protobuf.Timestamp value)
      When the node completed execution.
      
      .google.protobuf.Timestamp timestamp = 3;
    • clearTimestamp

      public NodeCompleted.Builder 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:
      getTimestampOrBuilder in interface NodeCompletedOrBuilder
    • getExecutionTimeNanos

      public long getExecutionTimeNanos()
      Execution time in nanoseconds for profiling.
      
      int64 execution_time_nanos = 4;
      Specified by:
      getExecutionTimeNanos in interface NodeCompletedOrBuilder
      Returns:
      The executionTimeNanos.
    • setExecutionTimeNanos

      public NodeCompleted.Builder setExecutionTimeNanos(long value)
      Execution time in nanoseconds for profiling.
      
      int64 execution_time_nanos = 4;
      Parameters:
      value - The executionTimeNanos to set.
      Returns:
      This builder for chaining.
    • clearExecutionTimeNanos

      public NodeCompleted.Builder clearExecutionTimeNanos()
      Execution time in nanoseconds for profiling.
      
      int64 execution_time_nanos = 4;
      Returns:
      This builder for chaining.