/** * <code>optional .org.jbpm.marshalling.ProcessInstance.NodeInstanceContent content = 4;</code> */ public Builder setContent(org.jbpm.marshalling.impl.JBPMMessages.ProcessInstance.NodeInstanceContent value) { if (contentBuilder_ == null) { if (value == null) { throw new NullPointerException(); } content_ = value; onChanged(); } else { contentBuilder_.setMessage(value); } bitField0_ |= 0x00000004; return this; } /**
/** * <code>optional .org.jbpm.marshalling.ProcessInstance.NodeInstanceContent content = 4;</code> */ public org.jbpm.marshalling.impl.JBPMMessages.ProcessInstance.NodeInstanceContent.Builder getContentBuilder() { bitField0_ |= 0x00000004; onChanged(); return getContentFieldBuilder().getBuilder(); } /**
/** * <code>optional .org.jbpm.marshalling.ProcessInstance.NodeInstanceContent content = 4;</code> */ public Builder setContent( org.jbpm.marshalling.impl.JBPMMessages.ProcessInstance.NodeInstanceContent.Builder builderForValue) { if (contentBuilder_ == null) { content_ = builderForValue.build(); onChanged(); } else { contentBuilder_.setMessage(builderForValue.build()); } bitField0_ |= 0x00000004; return this; } /**
/** * <code>optional int32 level = 5;</code> */ public Builder clearLevel() { bitField0_ = (bitField0_ & ~0x00000008); level_ = 0; onChanged(); return this; }
/** * <code>optional int64 id = 1;</code> */ public Builder setId(long value) { bitField0_ |= 0x00000001; id_ = value; onChanged(); return this; } /**
public Builder mergeFrom(org.jbpm.marshalling.impl.JBPMMessages.ProcessInstance.NodeInstance other) { if (other == org.jbpm.marshalling.impl.JBPMMessages.ProcessInstance.NodeInstance.getDefaultInstance()) return this; if (other.hasId()) { setId(other.getId()); } if (other.hasNodeId()) { setNodeId(other.getNodeId()); } if (other.hasContent()) { mergeContent(other.getContent()); } if (other.hasLevel()) { setLevel(other.getLevel()); } if (other.hasSlaTimerId()) { setSlaTimerId(other.getSlaTimerId()); } if (other.hasSlaDueDate()) { setSlaDueDate(other.getSlaDueDate()); } if (other.hasSlaCompliance()) { setSlaCompliance(other.getSlaCompliance()); } this.mergeUnknownFields(other.unknownFields); onChanged(); return this; }
/** * <code>optional .org.jbpm.marshalling.ProcessInstance.NodeInstanceContent content = 4;</code> */ public Builder mergeContent(org.jbpm.marshalling.impl.JBPMMessages.ProcessInstance.NodeInstanceContent value) { if (contentBuilder_ == null) { if (((bitField0_ & 0x00000004) == 0x00000004) && content_ != null && content_ != org.jbpm.marshalling.impl.JBPMMessages.ProcessInstance.NodeInstanceContent.getDefaultInstance()) { content_ = org.jbpm.marshalling.impl.JBPMMessages.ProcessInstance.NodeInstanceContent.newBuilder(content_).mergeFrom(value).buildPartial(); } else { content_ = value; } onChanged(); } else { contentBuilder_.mergeFrom(value); } bitField0_ |= 0x00000004; return this; } /**
/** * <code>optional .org.jbpm.marshalling.ProcessInstance.NodeInstanceContent content = 4;</code> */ public Builder clearContent() { if (contentBuilder_ == null) { content_ = null; onChanged(); } else { contentBuilder_.clear(); } bitField0_ = (bitField0_ & ~0x00000004); return this; } /**
/** * <code>optional int64 sla_due_date = 7;</code> */ public Builder setSlaDueDate(long value) { bitField0_ |= 0x00000020; slaDueDate_ = value; onChanged(); return this; } /**
/** * <code>optional int64 id = 1;</code> */ public Builder clearId() { bitField0_ = (bitField0_ & ~0x00000001); id_ = 0L; onChanged(); return this; }
/** * <code>optional int32 level = 5;</code> */ public Builder clearLevel() { bitField0_ = (bitField0_ & ~0x00000008); level_ = 0; onChanged(); return this; }
/** * <code>optional int64 node_id = 2;</code> */ public Builder setNodeId(long value) { bitField0_ |= 0x00000002; nodeId_ = value; onChanged(); return this; } /**
/** * <code>optional int64 id = 1;</code> */ public Builder setId(long value) { bitField0_ |= 0x00000001; id_ = value; onChanged(); return this; } /**
/** * <code>optional int32 sla_compliance = 8;</code> */ public Builder setSlaCompliance(int value) { bitField0_ |= 0x00000040; slaCompliance_ = value; onChanged(); return this; } /**
/** * <code>optional int64 sla_timer_id = 6;</code> */ public Builder clearSlaTimerId() { bitField0_ = (bitField0_ & ~0x00000010); slaTimerId_ = 0L; onChanged(); return this; }
/** * <code>optional int32 level = 5;</code> */ public Builder setLevel(int value) { bitField0_ |= 0x00000008; level_ = value; onChanged(); return this; } /**
/** * <code>optional int64 sla_due_date = 7;</code> */ public Builder clearSlaDueDate() { bitField0_ = (bitField0_ & ~0x00000020); slaDueDate_ = 0L; onChanged(); return this; }
/** * <code>optional int64 sla_timer_id = 6;</code> */ public Builder setSlaTimerId(long value) { bitField0_ |= 0x00000010; slaTimerId_ = value; onChanged(); return this; } /**
/** * <code>optional int64 node_id = 2;</code> */ public Builder clearNodeId() { bitField0_ = (bitField0_ & ~0x00000002); nodeId_ = 0L; onChanged(); return this; }
/** * <code>optional int32 sla_compliance = 8;</code> */ public Builder clearSlaCompliance() { bitField0_ = (bitField0_ & ~0x00000040); slaCompliance_ = 0; onChanged(); return this; } public final Builder setUnknownFields(