public static final class WorkflowNode.Builder extends GeneratedMessageV3.Builder<WorkflowNode.Builder> implements WorkflowNodeOrBuilder
The workflow node.Protobuf type
google.cloud.dataproc.v1.WorkflowNode
getAllFields, getField, getFieldBuilder, getOneofFieldDescriptor, getParentForChildren, getRepeatedField, getRepeatedFieldBuilder, getRepeatedFieldCount, getUnknownFields, getUnknownFieldSetBuilder, hasField, hasOneof, internalGetMapField, internalGetMutableMapField, isClean, markClean, mergeUnknownLengthDelimitedField, mergeUnknownVarintField, newBuilderForField, onBuilt, onChanged, parseUnknownField, setUnknownFieldSetBuilder, setUnknownFieldsProto3
findInitializationErrors, getInitializationErrorString, internalMergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException, toString
addAll, addAll, mergeDelimitedFrom, mergeDelimitedFrom, mergeFrom, newUninitializedMessageException
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
findInitializationErrors, getAllFields, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
mergeDelimitedFrom, mergeDelimitedFrom
mergeFrom
public static final Descriptors.Descriptor getDescriptor()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
internalGetFieldAccessorTable
in class GeneratedMessageV3.Builder<WorkflowNode.Builder>
public WorkflowNode.Builder clear()
clear
in interface Message.Builder
clear
in interface MessageLite.Builder
clear
in class GeneratedMessageV3.Builder<WorkflowNode.Builder>
public Descriptors.Descriptor getDescriptorForType()
getDescriptorForType
in interface Message.Builder
getDescriptorForType
in interface MessageOrBuilder
getDescriptorForType
in class GeneratedMessageV3.Builder<WorkflowNode.Builder>
public WorkflowNode getDefaultInstanceForType()
getDefaultInstanceForType
in interface MessageLiteOrBuilder
getDefaultInstanceForType
in interface MessageOrBuilder
public WorkflowNode build()
build
in interface Message.Builder
build
in interface MessageLite.Builder
public WorkflowNode buildPartial()
buildPartial
in interface Message.Builder
buildPartial
in interface MessageLite.Builder
public WorkflowNode.Builder clone()
clone
in interface Message.Builder
clone
in interface MessageLite.Builder
clone
in class GeneratedMessageV3.Builder<WorkflowNode.Builder>
public WorkflowNode.Builder setField(Descriptors.FieldDescriptor field, Object value)
setField
in interface Message.Builder
setField
in class GeneratedMessageV3.Builder<WorkflowNode.Builder>
public WorkflowNode.Builder clearField(Descriptors.FieldDescriptor field)
clearField
in interface Message.Builder
clearField
in class GeneratedMessageV3.Builder<WorkflowNode.Builder>
public WorkflowNode.Builder clearOneof(Descriptors.OneofDescriptor oneof)
clearOneof
in interface Message.Builder
clearOneof
in class GeneratedMessageV3.Builder<WorkflowNode.Builder>
public WorkflowNode.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
setRepeatedField
in interface Message.Builder
setRepeatedField
in class GeneratedMessageV3.Builder<WorkflowNode.Builder>
public WorkflowNode.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
addRepeatedField
in interface Message.Builder
addRepeatedField
in class GeneratedMessageV3.Builder<WorkflowNode.Builder>
public WorkflowNode.Builder mergeFrom(Message other)
mergeFrom
in interface Message.Builder
mergeFrom
in class AbstractMessage.Builder<WorkflowNode.Builder>
public WorkflowNode.Builder mergeFrom(WorkflowNode other)
public final boolean isInitialized()
isInitialized
in interface MessageLiteOrBuilder
isInitialized
in class GeneratedMessageV3.Builder<WorkflowNode.Builder>
public WorkflowNode.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry) throws IOException
mergeFrom
in interface Message.Builder
mergeFrom
in interface MessageLite.Builder
mergeFrom
in class AbstractMessage.Builder<WorkflowNode.Builder>
IOException
public String getStepId()
Output only. The name of the node.
string step_id = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];
getStepId
in interface WorkflowNodeOrBuilder
public ByteString getStepIdBytes()
Output only. The name of the node.
string step_id = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];
getStepIdBytes
in interface WorkflowNodeOrBuilder
public WorkflowNode.Builder setStepId(String value)
Output only. The name of the node.
string step_id = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];
value
- The stepId to set.public WorkflowNode.Builder clearStepId()
Output only. The name of the node.
string step_id = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];
public WorkflowNode.Builder setStepIdBytes(ByteString value)
Output only. The name of the node.
string step_id = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];
value
- The bytes for stepId to set.public ProtocolStringList getPrerequisiteStepIdsList()
Output only. Node's prerequisite nodes.
repeated string prerequisite_step_ids = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];
getPrerequisiteStepIdsList
in interface WorkflowNodeOrBuilder
public int getPrerequisiteStepIdsCount()
Output only. Node's prerequisite nodes.
repeated string prerequisite_step_ids = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];
getPrerequisiteStepIdsCount
in interface WorkflowNodeOrBuilder
public String getPrerequisiteStepIds(int index)
Output only. Node's prerequisite nodes.
repeated string prerequisite_step_ids = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];
getPrerequisiteStepIds
in interface WorkflowNodeOrBuilder
index
- The index of the element to return.public ByteString getPrerequisiteStepIdsBytes(int index)
Output only. Node's prerequisite nodes.
repeated string prerequisite_step_ids = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];
getPrerequisiteStepIdsBytes
in interface WorkflowNodeOrBuilder
index
- The index of the value to return.public WorkflowNode.Builder setPrerequisiteStepIds(int index, String value)
Output only. Node's prerequisite nodes.
repeated string prerequisite_step_ids = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];
index
- The index to set the value at.value
- The prerequisiteStepIds to set.public WorkflowNode.Builder addPrerequisiteStepIds(String value)
Output only. Node's prerequisite nodes.
repeated string prerequisite_step_ids = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];
value
- The prerequisiteStepIds to add.public WorkflowNode.Builder addAllPrerequisiteStepIds(Iterable<String> values)
Output only. Node's prerequisite nodes.
repeated string prerequisite_step_ids = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];
values
- The prerequisiteStepIds to add.public WorkflowNode.Builder clearPrerequisiteStepIds()
Output only. Node's prerequisite nodes.
repeated string prerequisite_step_ids = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];
public WorkflowNode.Builder addPrerequisiteStepIdsBytes(ByteString value)
Output only. Node's prerequisite nodes.
repeated string prerequisite_step_ids = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];
value
- The bytes of the prerequisiteStepIds to add.public String getJobId()
Output only. The job id; populated after the node enters RUNNING state.
string job_id = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];
getJobId
in interface WorkflowNodeOrBuilder
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];
getJobIdBytes
in interface WorkflowNodeOrBuilder
public WorkflowNode.Builder setJobId(String value)
Output only. The job id; populated after the node enters RUNNING state.
string job_id = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];
value
- The jobId to set.public WorkflowNode.Builder clearJobId()
Output only. The job id; populated after the node enters RUNNING state.
string job_id = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];
public WorkflowNode.Builder setJobIdBytes(ByteString value)
Output only. The job id; populated after the node enters RUNNING state.
string job_id = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];
value
- The bytes for jobId to set.public int getStateValue()
Output only. The node state.
.google.cloud.dataproc.v1.WorkflowNode.NodeState state = 5 [(.google.api.field_behavior) = OUTPUT_ONLY];
getStateValue
in interface WorkflowNodeOrBuilder
public WorkflowNode.Builder setStateValue(int value)
Output only. The node state.
.google.cloud.dataproc.v1.WorkflowNode.NodeState state = 5 [(.google.api.field_behavior) = OUTPUT_ONLY];
value
- The enum numeric value on the wire for state to set.public WorkflowNode.NodeState getState()
Output only. The node state.
.google.cloud.dataproc.v1.WorkflowNode.NodeState state = 5 [(.google.api.field_behavior) = OUTPUT_ONLY];
getState
in interface WorkflowNodeOrBuilder
public WorkflowNode.Builder setState(WorkflowNode.NodeState value)
Output only. The node state.
.google.cloud.dataproc.v1.WorkflowNode.NodeState state = 5 [(.google.api.field_behavior) = OUTPUT_ONLY];
value
- The state to set.public WorkflowNode.Builder clearState()
Output only. The node state.
.google.cloud.dataproc.v1.WorkflowNode.NodeState state = 5 [(.google.api.field_behavior) = OUTPUT_ONLY];
public String getError()
Output only. The error detail.
string error = 6 [(.google.api.field_behavior) = OUTPUT_ONLY];
getError
in interface WorkflowNodeOrBuilder
public ByteString getErrorBytes()
Output only. The error detail.
string error = 6 [(.google.api.field_behavior) = OUTPUT_ONLY];
getErrorBytes
in interface WorkflowNodeOrBuilder
public WorkflowNode.Builder setError(String value)
Output only. The error detail.
string error = 6 [(.google.api.field_behavior) = OUTPUT_ONLY];
value
- The error to set.public WorkflowNode.Builder clearError()
Output only. The error detail.
string error = 6 [(.google.api.field_behavior) = OUTPUT_ONLY];
public WorkflowNode.Builder setErrorBytes(ByteString value)
Output only. The error detail.
string error = 6 [(.google.api.field_behavior) = OUTPUT_ONLY];
value
- The bytes for error to set.public final WorkflowNode.Builder setUnknownFields(UnknownFieldSet unknownFields)
setUnknownFields
in interface Message.Builder
setUnknownFields
in class GeneratedMessageV3.Builder<WorkflowNode.Builder>
public final WorkflowNode.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
mergeUnknownFields
in interface Message.Builder
mergeUnknownFields
in class GeneratedMessageV3.Builder<WorkflowNode.Builder>
Copyright © 2022 Google LLC. All rights reserved.