Class WorkflowNode (4.37.0) 
  
  
  
   
  
    
  
  
    
    
    
    
  Version 4.37.0keyboard_arrow_down  
  
 
    
    
    
    
      
  
  
  
    
public   final   class  WorkflowNode   extends   GeneratedMessageV3   implements   WorkflowNodeOrBuilder  
   The workflow node.
 Protobuf type google.cloud.dataproc.v1.WorkflowNode
    Inherited Members 
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
      com.google.protobuf.GeneratedMessageV3.<ListT>makeMutableCopy(ListT) 
    
    
      com.google.protobuf.GeneratedMessageV3.<ListT>makeMutableCopy(ListT,int) 
    
    
    
    
    
    
    
    
      com.google.protobuf.GeneratedMessageV3.<T>emptyList(java.lang.Class<T>) 
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
      com.google.protobuf.GeneratedMessageV3.internalGetMapFieldReflection(int) 
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
   
  Static Fields
   
  ERROR_FIELD_NUMBER 
  
    
public   static   final   int   ERROR_FIELD_NUMBER  
  
    
      
        Field Value  
      
        Type Description  
      
        int  
     
  
  JOB_ID_FIELD_NUMBER 
  
    
public   static   final   int   JOB_ID_FIELD_NUMBER  
  
    
      
        Field Value  
      
        Type Description  
      
        int  
     
  
  PREREQUISITE_STEP_IDS_FIELD_NUMBER 
  
    
public   static   final   int   PREREQUISITE_STEP_IDS_FIELD_NUMBER  
  
    
      
        Field Value  
      
        Type Description  
      
        int  
     
  
  STATE_FIELD_NUMBER 
  
    
public   static   final   int   STATE_FIELD_NUMBER  
  
    
      
        Field Value  
      
        Type Description  
      
        int  
     
  
  STEP_ID_FIELD_NUMBER 
  
    
public   static   final   int   STEP_ID_FIELD_NUMBER  
  
    
      
        Field Value  
      
        Type Description  
      
        int  
     
  
  Static Methods
   
  getDefaultInstance() 
  
    
public   static   WorkflowNode   getDefaultInstance ()  
  
  getDescriptor() 
  
    
public   static   final   Descriptors . Descriptor   getDescriptor ()  
  
  newBuilder() 
  
    
public   static   WorkflowNode . Builder   newBuilder ()  
  
  newBuilder(WorkflowNode prototype) 
  
    
public   static   WorkflowNode . Builder   newBuilder ( WorkflowNode   prototype )  
  
  
  
    
public   static   WorkflowNode   parseDelimitedFrom ( InputStream   input )  
  
  
  
  
    
public   static   WorkflowNode   parseDelimitedFrom ( InputStream   input ,   ExtensionRegistryLite   extensionRegistry )  
  
  
  
  parseFrom(byte[] data) 
  
    
public   static   WorkflowNode   parseFrom ( byte []   data )  
  
    
      
        Parameter  
      
        Name Description  
      
        databyte [] 
     
  
  
  
  parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry) 
  
    
public   static   WorkflowNode   parseFrom ( byte []   data ,   ExtensionRegistryLite   extensionRegistry )  
  
  
  
  parseFrom(ByteString data) 
  
    
public   static   WorkflowNode   parseFrom ( ByteString   data )  
  
  
  
  parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry) 
  
    
public   static   WorkflowNode   parseFrom ( ByteString   data ,   ExtensionRegistryLite   extensionRegistry )  
  
  
  
  
    
public   static   WorkflowNode   parseFrom ( CodedInputStream   input )  
  
  
  
  
    
public   static   WorkflowNode   parseFrom ( CodedInputStream   input ,   ExtensionRegistryLite   extensionRegistry )  
  
  
  
  
    
public   static   WorkflowNode   parseFrom ( InputStream   input )  
  
  
  
  
    
public   static   WorkflowNode   parseFrom ( InputStream   input ,   ExtensionRegistryLite   extensionRegistry )  
  
  
  
  parseFrom(ByteBuffer data) 
  
    
public   static   WorkflowNode   parseFrom ( ByteBuffer   data )  
  
  
  
  parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry) 
  
    
public   static   WorkflowNode   parseFrom ( ByteBuffer   data ,   ExtensionRegistryLite   extensionRegistry )  
  
  
  
  parser() 
  
    
public   static   Parser<WorkflowNode>   parser ()  
  
  Methods
   
  equals(Object obj) 
  
    
public   boolean   equals ( Object   obj )  
  
    
      
        Parameter  
      
        Name Description  
      
        objObject  
     
  
  
  Overrides 
  
  getDefaultInstanceForType() 
  
    
public   WorkflowNode   getDefaultInstanceForType ()  
  
  getError() 
  
   Output only. The error detail.
 string error = 6 [(.google.api.field_behavior) = OUTPUT_ONLY];
    
      
        Returns  
      
        Type Description  
      
        String The error.
 
     
  
  getErrorBytes() 
  
    
public   ByteString   getErrorBytes ()  
   Output only. The error detail.
 string error = 6 [(.google.api.field_behavior) = OUTPUT_ONLY];
    
      
        Returns  
      
        Type Description  
      
        ByteString The bytes for error.
 
     
  
  getJobId() 
  
   Output only. The job id; populated after the node enters RUNNING state.
 string job_id = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];
    
      
        Returns  
      
        Type Description  
      
        String The jobId.
 
     
  
  getJobIdBytes() 
  
    
public   ByteString   getJobIdBytes ()  
   Output only. The job id; populated after the node enters RUNNING state.
 string job_id = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];
    
      
        Returns  
      
        Type Description  
      
        ByteString The bytes for jobId.
 
     
  
  getParserForType() 
  
    
public   Parser<WorkflowNode>   getParserForType ()  
  
  Overrides 
  
  getPrerequisiteStepIds(int index) 
  
    
public   String   getPrerequisiteStepIds ( int   index )  
   Output only. Node's prerequisite nodes.
 repeated string prerequisite_step_ids = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];
 
    
      
        Parameter  
      
        Name Description  
      
        indexint The index of the element to return.
 
     
  
  
    
      
        Returns  
      
        Type Description  
      
        String The prerequisiteStepIds at the given index.
 
     
  
  getPrerequisiteStepIdsBytes(int index) 
  
    
public   ByteString   getPrerequisiteStepIdsBytes ( int   index )  
   Output only. Node's prerequisite nodes.
 repeated string prerequisite_step_ids = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];
 
    
      
        Parameter  
      
        Name Description  
      
        indexint The index of the value to return.
 
     
  
  
    
      
        Returns  
      
        Type Description  
      
        ByteString The bytes of the prerequisiteStepIds at the given index.
 
     
  
  getPrerequisiteStepIdsCount() 
  
    
public   int   getPrerequisiteStepIdsCount ()  
   Output only. Node's prerequisite nodes.
 repeated string prerequisite_step_ids = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];
 
    
      
        Returns  
      
        Type Description  
      
        int The count of prerequisiteStepIds.
 
     
  
  getPrerequisiteStepIdsList() 
  
    
public   ProtocolStringList   getPrerequisiteStepIdsList ()  
   Output only. Node's prerequisite nodes.
 repeated string prerequisite_step_ids = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];
 
getSerializedSize() 
  
    
public   int   getSerializedSize ()  
  
    
      
        Returns  
      
        Type Description  
      
        int  
     
  
  Overrides 
  
  getState() 
  
    
public   WorkflowNode . NodeState   getState ()  
   Output only. The node state.
 
 .google.cloud.dataproc.v1.WorkflowNode.NodeState state = 5 [(.google.api.field_behavior) = OUTPUT_ONLY];
 
getStateValue() 
  
    
public   int   getStateValue ()  
   Output only. The node state.
 
 .google.cloud.dataproc.v1.WorkflowNode.NodeState state = 5 [(.google.api.field_behavior) = OUTPUT_ONLY];
 
    
      
        Returns  
      
        Type Description  
      
        int The enum numeric value on the wire for state.
 
     
  
  getStepId() 
  
    
public   String   getStepId ()  
   Output only. The name of the node.
 string step_id = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];
    
      
        Returns  
      
        Type Description  
      
        String The stepId.
 
     
  
  getStepIdBytes() 
  
    
public   ByteString   getStepIdBytes ()  
   Output only. The name of the node.
 string step_id = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];
    
      
        Returns  
      
        Type Description  
      
        ByteString The bytes for stepId.
 
     
  
  hashCode() 
  
  
    
      
        Returns  
      
        Type Description  
      
        int  
     
  
  Overrides 
  
  internalGetFieldAccessorTable() 
  
    
protected   GeneratedMessageV3 . FieldAccessorTable   internalGetFieldAccessorTable ()  
  
  Overrides 
  
  isInitialized() 
  
    
public   final   boolean   isInitialized ()  
  
  Overrides 
  
  newBuilderForType() 
  
    
public   WorkflowNode . Builder   newBuilderForType ()  
  
  newBuilderForType(GeneratedMessageV3.BuilderParent parent) 
  
    
protected   WorkflowNode . Builder   newBuilderForType ( GeneratedMessageV3 . BuilderParent   parent )  
  
  
  Overrides 
  
  newInstance(GeneratedMessageV3.UnusedPrivateParameter unused) 
  
    
protected   Object   newInstance ( GeneratedMessageV3 . UnusedPrivateParameter   unused )  
  
  
    
      
        Returns  
      
        Type Description  
      
        Object  
     
  
  Overrides 
  
  toBuilder() 
  
    
public   WorkflowNode . Builder   toBuilder ()  
  
  writeTo(CodedOutputStream output) 
  
    
public   void   writeTo ( CodedOutputStream   output )  
  
  Overrides 
  
  
 
     
    
  
  
  
     
  
    
    
      
       
    
    
  
  
 
  Except as otherwise noted, the content of this page is licensed under the Creative Commons Attribution 4.0 License , and code samples are licensed under the Apache 2.0 License . For details, see the Google Developers Site Policies . Java is a registered trademark of Oracle and/or its affiliates.
  Last updated 2025-10-11 UTC.
 
 
  
  
  
    
      [[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Missing the information I need","missingTheInformationINeed","thumb-down"],["Too complicated / too many steps","tooComplicatedTooManySteps","thumb-down"],["Out of date","outOfDate","thumb-down"],["Samples / code issue","samplesCodeIssue","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2025-10-11 UTC."],[],[]]