/** * <code>repeated .org.jbpm.marshalling.ProcessInstance.NodeInstance node_instance = 7;</code> */ public Builder addNodeInstance( org.jbpm.marshalling.impl.JBPMMessages.ProcessInstance.NodeInstance.Builder builderForValue) { if (nodeInstanceBuilder_ == null) { ensureNodeInstanceIsMutable(); nodeInstance_.add(builderForValue.build()); onChanged(); } else { nodeInstanceBuilder_.addMessage(builderForValue.build()); } return this; } /**
/** * <code>optional .org.jbpm.marshalling.ProcessInstance.NodeInstanceContent content = 4;</code> */ private com.google.protobuf.SingleFieldBuilderV3< org.jbpm.marshalling.impl.JBPMMessages.ProcessInstance.NodeInstanceContent, org.jbpm.marshalling.impl.JBPMMessages.ProcessInstance.NodeInstanceContent.Builder, org.jbpm.marshalling.impl.JBPMMessages.ProcessInstance.NodeInstanceContentOrBuilder> getContentFieldBuilder() { if (contentBuilder_ == null) { contentBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< org.jbpm.marshalling.impl.JBPMMessages.ProcessInstance.NodeInstanceContent, org.jbpm.marshalling.impl.JBPMMessages.ProcessInstance.NodeInstanceContent.Builder, org.jbpm.marshalling.impl.JBPMMessages.ProcessInstance.NodeInstanceContentOrBuilder>( getContent(), getParentForChildren(), isClean()); content_ = null; } return contentBuilder_; }
/** * <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(); } /**
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; }
public JBPMMessages.ProcessInstance.NodeInstance writeNodeInstance(MarshallerWriteContext context, NodeInstance nodeInstance) throws IOException { JBPMMessages.ProcessInstance.NodeInstance.Builder _node = JBPMMessages.ProcessInstance.NodeInstance.newBuilder() .setId( nodeInstance.getId() ) .setNodeId( nodeInstance.getNodeId()) .setLevel(((org.jbpm.workflow.instance.NodeInstance)nodeInstance).getLevel()) .setSlaCompliance(((org.jbpm.workflow.instance.NodeInstance)nodeInstance).getSlaCompliance()); if (((org.jbpm.workflow.instance.NodeInstance)nodeInstance).getSlaDueDate() != null) { _node.setSlaDueDate(((org.jbpm.workflow.instance.NodeInstance)nodeInstance).getSlaDueDate().getTime()); } if (((org.jbpm.workflow.instance.NodeInstance)nodeInstance).getSlaTimerId() != null) { _node.setSlaTimerId(((org.jbpm.workflow.instance.NodeInstance)nodeInstance).getSlaTimerId()); } _node.setContent( writeNodeInstanceContent( _node, nodeInstance, context ) ); return _node.build(); }
public Builder mergeFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { org.jbpm.marshalling.impl.JBPMMessages.ProcessInstance.NodeInstance parsedMessage = null; try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { parsedMessage = (org.jbpm.marshalling.impl.JBPMMessages.ProcessInstance.NodeInstance) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { mergeFrom(parsedMessage); } } return this; } private int bitField0_;
/** * <code>optional .org.jbpm.marshalling.ProcessInstance.NodeInstanceContent content = 4;</code> */ private com.google.protobuf.SingleFieldBuilderV3< org.jbpm.marshalling.impl.JBPMMessages.ProcessInstance.NodeInstanceContent, org.jbpm.marshalling.impl.JBPMMessages.ProcessInstance.NodeInstanceContent.Builder, org.jbpm.marshalling.impl.JBPMMessages.ProcessInstance.NodeInstanceContentOrBuilder> getContentFieldBuilder() { if (contentBuilder_ == null) { contentBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< org.jbpm.marshalling.impl.JBPMMessages.ProcessInstance.NodeInstanceContent, org.jbpm.marshalling.impl.JBPMMessages.ProcessInstance.NodeInstanceContent.Builder, org.jbpm.marshalling.impl.JBPMMessages.ProcessInstance.NodeInstanceContentOrBuilder>( getContent(), getParentForChildren(), isClean()); content_ = null; } return contentBuilder_; }
/** * <code>repeated .org.jbpm.marshalling.ProcessInstance.NodeInstance node_instance = 7;</code> */ public Builder setNodeInstance( int index, org.jbpm.marshalling.impl.JBPMMessages.ProcessInstance.NodeInstance.Builder builderForValue) { if (nodeInstanceBuilder_ == null) { ensureNodeInstanceIsMutable(); nodeInstance_.set(index, builderForValue.build()); onChanged(); } else { nodeInstanceBuilder_.setMessage(index, builderForValue.build()); } return this; } /**
/** * <code>repeated .org.jbpm.marshalling.ProcessInstance.NodeInstance node_instance = 1;</code> */ public Builder addNodeInstance( int index, org.jbpm.marshalling.impl.JBPMMessages.ProcessInstance.NodeInstance.Builder builderForValue) { if (nodeInstanceBuilder_ == null) { ensureNodeInstanceIsMutable(); nodeInstance_.add(index, builderForValue.build()); onChanged(); } else { nodeInstanceBuilder_.addMessage(index, builderForValue.build()); } return this; } /**
/** * <code>repeated .org.jbpm.marshalling.ProcessInstance.NodeInstance node_instance = 1;</code> */ public Builder addNodeInstance( org.jbpm.marshalling.impl.JBPMMessages.ProcessInstance.NodeInstance.Builder builderForValue) { if (nodeInstanceBuilder_ == null) { ensureNodeInstanceIsMutable(); nodeInstance_.add(builderForValue.build()); onChanged(); } else { nodeInstanceBuilder_.addMessage(builderForValue.build()); } return this; } /**
/** * <code>repeated .org.jbpm.marshalling.ProcessInstance.NodeInstance node_instance = 4;</code> */ public Builder setNodeInstance( int index, org.jbpm.marshalling.impl.JBPMMessages.ProcessInstance.NodeInstance.Builder builderForValue) { if (nodeInstanceBuilder_ == null) { ensureNodeInstanceIsMutable(); nodeInstance_.set(index, builderForValue.build()); onChanged(); } else { nodeInstanceBuilder_.setMessage(index, builderForValue.build()); } return this; } /**
/** * <code>repeated .org.jbpm.marshalling.ProcessInstance.NodeInstance node_instance = 1;</code> */ public Builder setNodeInstance( int index, org.jbpm.marshalling.impl.JBPMMessages.ProcessInstance.NodeInstance.Builder builderForValue) { if (nodeInstanceBuilder_ == null) { ensureNodeInstanceIsMutable(); nodeInstance_.set(index, builderForValue.build()); onChanged(); } else { nodeInstanceBuilder_.setMessage(index, builderForValue.build()); } return this; } /**
/** * <code>repeated .org.jbpm.marshalling.ProcessInstance.NodeInstance node_instance = 4;</code> */ public Builder addNodeInstance( int index, org.jbpm.marshalling.impl.JBPMMessages.ProcessInstance.NodeInstance.Builder builderForValue) { if (nodeInstanceBuilder_ == null) { ensureNodeInstanceIsMutable(); nodeInstance_.add(index, builderForValue.build()); onChanged(); } else { nodeInstanceBuilder_.addMessage(index, builderForValue.build()); } return this; } /**
/** * <code>repeated .org.jbpm.marshalling.ProcessInstance.NodeInstance node_instance = 7;</code> */ public Builder addNodeInstance( int index, org.jbpm.marshalling.impl.JBPMMessages.ProcessInstance.NodeInstance.Builder builderForValue) { if (nodeInstanceBuilder_ == null) { ensureNodeInstanceIsMutable(); nodeInstance_.add(index, builderForValue.build()); onChanged(); } else { nodeInstanceBuilder_.addMessage(index, builderForValue.build()); } return this; } /**
private Builder() { maybeForceBuilderInitialization(); }
public static Builder newBuilder(org.jbpm.marshalling.impl.JBPMMessages.ProcessInstance.NodeInstance prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } public Builder toBuilder() {
/** * <code>repeated .org.jbpm.marshalling.ProcessInstance.NodeInstance node_instance = 7;</code> */ public Builder addNodeInstance( org.jbpm.marshalling.impl.JBPMMessages.ProcessInstance.NodeInstance.Builder builderForValue) { if (nodeInstanceBuilder_ == null) { ensureNodeInstanceIsMutable(); nodeInstance_.add(builderForValue.build()); onChanged(); } else { nodeInstanceBuilder_.addMessage(builderForValue.build()); } return this; } /**
/** * <code>repeated .org.jbpm.marshalling.ProcessInstance.NodeInstance node_instance = 4;</code> */ public Builder addNodeInstance( org.jbpm.marshalling.impl.JBPMMessages.ProcessInstance.NodeInstance.Builder builderForValue) { if (nodeInstanceBuilder_ == null) { ensureNodeInstanceIsMutable(); nodeInstance_.add(builderForValue.build()); onChanged(); } else { nodeInstanceBuilder_.addMessage(builderForValue.build()); } return this; } /**
public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof org.jbpm.marshalling.impl.JBPMMessages.ProcessInstance.NodeInstance) { return mergeFrom((org.jbpm.marshalling.impl.JBPMMessages.ProcessInstance.NodeInstance)other); } else { super.mergeFrom(other); return this; } }