/** * <code>repeated .org.jbpm.marshalling.Variable variable = 5;</code> */ public Builder clearVariable() { if (variableBuilder_ == null) { variable_ = java.util.Collections.emptyList(); bitField0_ = (bitField0_ & ~0x00000010); onChanged(); } else { variableBuilder_.clear(); } return this; } /**
/** * <code>optional string deployment_id = 6;</code> */ public Builder setDeploymentIdBytes( com.google.protobuf.ByteString value) { if (value == null) { throw new NullPointerException(); } bitField0_ |= 0x00000020; deploymentId_ = value; onChanged(); return this; }
/** * <code>optional string name = 3;</code> */ public Builder setNameBytes( com.google.protobuf.ByteString value) { if (value == null) { throw new NullPointerException(); } bitField0_ |= 0x00000004; name_ = value; onChanged(); return this; }
/** * <code>repeated .org.jbpm.marshalling.Variable variable = 5;</code> */ public Builder addAllVariable( java.lang.Iterable<? extends org.jbpm.marshalling.impl.JBPMMessages.Variable> values) { if (variableBuilder_ == null) { ensureVariableIsMutable(); com.google.protobuf.AbstractMessageLite.Builder.addAll( values, variable_); onChanged(); } else { variableBuilder_.addAllMessages(values); } return this; } /**
/** * <code>repeated .org.jbpm.marshalling.Variable variable = 5;</code> */ public Builder setVariable( int index, org.jbpm.marshalling.impl.JBPMMessages.Variable.Builder builderForValue) { if (variableBuilder_ == null) { ensureVariableIsMutable(); variable_.set(index, builderForValue.build()); onChanged(); } else { variableBuilder_.setMessage(index, builderForValue.build()); } return this; } /**
/** * <code>optional string name = 3;</code> */ public Builder setName( java.lang.String value) { if (value == null) { throw new NullPointerException(); } bitField0_ |= 0x00000004; name_ = value; onChanged(); return this; } /**
/** * <code>optional string deployment_id = 6;</code> */ public Builder setDeploymentId( java.lang.String value) { if (value == null) { throw new NullPointerException(); } bitField0_ |= 0x00000020; deploymentId_ = value; onChanged(); return this; } /**
/** * <code>repeated .org.jbpm.marshalling.Variable variable = 5;</code> */ public Builder removeVariable(int index) { if (variableBuilder_ == null) { ensureVariableIsMutable(); variable_.remove(index); onChanged(); } else { variableBuilder_.remove(index); } return this; } /**
/** * <code>optional string deployment_id = 6;</code> */ public Builder clearDeploymentId() { bitField0_ = (bitField0_ & ~0x00000020); deploymentId_ = getDefaultInstance().getDeploymentId(); onChanged(); return this; } /**
/** * <code>optional int64 process_instances_id = 2;</code> */ public Builder setProcessInstancesId(long value) { bitField0_ |= 0x00000002; processInstancesId_ = value; onChanged(); return this; } /**
/** * <code>optional int64 node_id = 8;</code> */ public Builder setNodeId(long value) { bitField0_ |= 0x00000080; nodeId_ = value; onChanged(); return this; } /**
/** * <code>optional int64 node_instance_id = 7;</code> */ public Builder clearNodeInstanceId() { bitField0_ = (bitField0_ & ~0x00000040); nodeInstanceId_ = 0L; onChanged(); return this; }
/** * <code>optional int32 state = 4;</code> */ public Builder clearState() { bitField0_ = (bitField0_ & ~0x00000008); state_ = 0; onChanged(); return this; }
/** * <code>optional int64 process_instances_id = 2;</code> */ public Builder clearProcessInstancesId() { bitField0_ = (bitField0_ & ~0x00000002); processInstancesId_ = 0L; onChanged(); return this; }
/** * <code>optional int64 id = 1;</code> */ public Builder clearId() { bitField0_ = (bitField0_ & ~0x00000001); id_ = 0L; onChanged(); return this; }
/** * <code>optional int64 node_instance_id = 7;</code> */ public Builder setNodeInstanceId(long value) { bitField0_ |= 0x00000040; nodeInstanceId_ = value; onChanged(); return this; } /**
/** * <code>optional int32 state = 4;</code> */ public Builder setState(int value) { bitField0_ |= 0x00000008; state_ = value; onChanged(); return this; } /**
/** * <code>optional string name = 3;</code> */ public Builder clearName() { bitField0_ = (bitField0_ & ~0x00000004); name_ = getDefaultInstance().getName(); onChanged(); return this; } /**
/** * <code>optional int64 id = 1;</code> */ public Builder setId(long value) { bitField0_ |= 0x00000001; id_ = value; onChanged(); return this; } /**
/** * <code>optional int64 node_id = 8;</code> */ public Builder clearNodeId() { bitField0_ = (bitField0_ & ~0x00000080); nodeId_ = 0L; onChanged(); return this; } public final Builder setUnknownFields(