Class NodeError.Builder

java.lang.Object
com.google.protobuf.AbstractMessageLite.Builder
com.google.protobuf.AbstractMessage.Builder<NodeError.Builder>
com.google.protobuf.GeneratedMessage.Builder<NodeError.Builder>
com.soulfiremc.grpc.generated.NodeError.Builder
All Implemented Interfaces:
com.google.protobuf.Message.Builder, com.google.protobuf.MessageLite.Builder, com.google.protobuf.MessageLiteOrBuilder, com.google.protobuf.MessageOrBuilder, NodeErrorOrBuilder, Cloneable
Enclosing class:
NodeError

public static final class NodeError.Builder extends com.google.protobuf.GeneratedMessage.Builder<NodeError.Builder> implements NodeErrorOrBuilder
Event emitted when a node encounters an error during execution.
Protobuf type soulfire.v1.NodeError
  • Method Summary

    Modifier and Type
    Method
    Description
     
     
     
    A description of what went wrong.
    The ID of the node that encountered the error.
    When the error occurred.
     
    static final com.google.protobuf.Descriptors.Descriptor
     
    com.google.protobuf.Descriptors.Descriptor
     
    A description of what went wrong.
    com.google.protobuf.ByteString
    A description of what went wrong.
    The ID of the node that encountered the error.
    com.google.protobuf.ByteString
    The ID of the node that encountered the error.
    com.google.protobuf.Timestamp
    When the error occurred.
    com.google.protobuf.Timestamp.Builder
    When the error occurred.
    com.google.protobuf.TimestampOrBuilder
    When the error occurred.
    boolean
    When the error occurred.
    protected com.google.protobuf.GeneratedMessage.FieldAccessorTable
     
    final boolean
     
    mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
     
    mergeFrom(com.google.protobuf.Message other)
     
     
    mergeTimestamp(com.google.protobuf.Timestamp value)
    When the error occurred.
    A description of what went wrong.
    setErrorMessageBytes(com.google.protobuf.ByteString value)
    A description of what went wrong.
    The ID of the node that encountered the error.
    setNodeIdBytes(com.google.protobuf.ByteString value)
    The ID of the node that encountered the error.
    setTimestamp(com.google.protobuf.Timestamp value)
    When the error occurred.
    setTimestamp(com.google.protobuf.Timestamp.Builder builderForValue)
    When the error occurred.

    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, internalGetMapFieldReflection, internalGetMutableMapField, internalGetMutableMapFieldReflection, isClean, markClean, mergeUnknownFields, mergeUnknownLengthDelimitedField, mergeUnknownVarintField, newBuilderForField, onBuilt, onChanged, parseUnknownField, setField, setRepeatedField, setUnknownFields, 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 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.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()
      Specified by:
      internalGetFieldAccessorTable in class com.google.protobuf.GeneratedMessage.Builder<NodeError.Builder>
    • clear

      public NodeError.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<NodeError.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<NodeError.Builder>
    • getDefaultInstanceForType

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

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

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

      public NodeError.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<NodeError.Builder>
    • mergeFrom

      public NodeError.Builder mergeFrom(NodeError other)
    • isInitialized

      public final boolean isInitialized()
      Specified by:
      isInitialized in interface com.google.protobuf.MessageLiteOrBuilder
      Overrides:
      isInitialized in class com.google.protobuf.GeneratedMessage.Builder<NodeError.Builder>
    • mergeFrom

      public NodeError.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<NodeError.Builder>
      Throws:
      IOException
    • getNodeId

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

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

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

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

      public NodeError.Builder setNodeIdBytes(com.google.protobuf.ByteString value)
      The ID of the node that encountered the error.
      
      string node_id = 1;
      Parameters:
      value - The bytes for nodeId to set.
      Returns:
      This builder for chaining.
    • getErrorMessage

      public String getErrorMessage()
      A description of what went wrong.
      
      string error_message = 2;
      Specified by:
      getErrorMessage in interface NodeErrorOrBuilder
      Returns:
      The errorMessage.
    • getErrorMessageBytes

      public com.google.protobuf.ByteString getErrorMessageBytes()
      A description of what went wrong.
      
      string error_message = 2;
      Specified by:
      getErrorMessageBytes in interface NodeErrorOrBuilder
      Returns:
      The bytes for errorMessage.
    • setErrorMessage

      public NodeError.Builder setErrorMessage(String value)
      A description of what went wrong.
      
      string error_message = 2;
      Parameters:
      value - The errorMessage to set.
      Returns:
      This builder for chaining.
    • clearErrorMessage

      public NodeError.Builder clearErrorMessage()
      A description of what went wrong.
      
      string error_message = 2;
      Returns:
      This builder for chaining.
    • setErrorMessageBytes

      public NodeError.Builder setErrorMessageBytes(com.google.protobuf.ByteString value)
      A description of what went wrong.
      
      string error_message = 2;
      Parameters:
      value - The bytes for errorMessage to set.
      Returns:
      This builder for chaining.
    • hasTimestamp

      public boolean hasTimestamp()
      When the error occurred.
      
      .google.protobuf.Timestamp timestamp = 3;
      Specified by:
      hasTimestamp in interface NodeErrorOrBuilder
      Returns:
      Whether the timestamp field is set.
    • getTimestamp

      public com.google.protobuf.Timestamp getTimestamp()
      When the error occurred.
      
      .google.protobuf.Timestamp timestamp = 3;
      Specified by:
      getTimestamp in interface NodeErrorOrBuilder
      Returns:
      The timestamp.
    • setTimestamp

      public NodeError.Builder setTimestamp(com.google.protobuf.Timestamp value)
      When the error occurred.
      
      .google.protobuf.Timestamp timestamp = 3;
    • setTimestamp

      public NodeError.Builder setTimestamp(com.google.protobuf.Timestamp.Builder builderForValue)
      When the error occurred.
      
      .google.protobuf.Timestamp timestamp = 3;
    • mergeTimestamp

      public NodeError.Builder mergeTimestamp(com.google.protobuf.Timestamp value)
      When the error occurred.
      
      .google.protobuf.Timestamp timestamp = 3;
    • clearTimestamp

      public NodeError.Builder clearTimestamp()
      When the error occurred.
      
      .google.protobuf.Timestamp timestamp = 3;
    • getTimestampBuilder

      public com.google.protobuf.Timestamp.Builder getTimestampBuilder()
      When the error occurred.
      
      .google.protobuf.Timestamp timestamp = 3;
    • getTimestampOrBuilder

      public com.google.protobuf.TimestampOrBuilder getTimestampOrBuilder()
      When the error occurred.
      
      .google.protobuf.Timestamp timestamp = 3;
      Specified by:
      getTimestampOrBuilder in interface NodeErrorOrBuilder