/** * <code>repeated .org.jbpm.marshalling.ProcessInstance.ExclusiveGroupInstance exclusive_group = 10;</code> */ public Builder addExclusiveGroup( int index, org.jbpm.marshalling.impl.JBPMMessages.ProcessInstance.ExclusiveGroupInstance.Builder builderForValue) { if (exclusiveGroupBuilder_ == null) { ensureExclusiveGroupIsMutable(); exclusiveGroup_.add(index, builderForValue.build()); onChanged(); } else { exclusiveGroupBuilder_.addMessage(index, builderForValue.build()); } return this; } /**
public Builder mergeFrom(org.jbpm.marshalling.impl.JBPMMessages.ProcessInstance.ExclusiveGroupInstance other) { if (other == org.jbpm.marshalling.impl.JBPMMessages.ProcessInstance.ExclusiveGroupInstance.getDefaultInstance()) return this; if (!other.groupNodeInstanceId_.isEmpty()) { if (groupNodeInstanceId_.isEmpty()) { groupNodeInstanceId_ = other.groupNodeInstanceId_; bitField0_ = (bitField0_ & ~0x00000001); } else { ensureGroupNodeInstanceIdIsMutable(); groupNodeInstanceId_.addAll(other.groupNodeInstanceId_); } onChanged(); } this.mergeUnknownFields(other.unknownFields); onChanged(); return this; }
public Builder mergeFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { org.jbpm.marshalling.impl.JBPMMessages.ProcessInstance.ExclusiveGroupInstance parsedMessage = null; try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { parsedMessage = (org.jbpm.marshalling.impl.JBPMMessages.ProcessInstance.ExclusiveGroupInstance) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { mergeFrom(parsedMessage); } } return this; } private int bitField0_;
Collection<NodeInstance> groupNodeInstances = exclusiveGroupInstance.getNodeInstances(); for ( NodeInstance groupNodeInstance : groupNodeInstances ) { _excl.addGroupNodeInstanceId( groupNodeInstance.getId() ); _composite.addExclusiveGroup( _excl.build() );
Collection<NodeInstance> groupNodeInstances = exclusiveGroupInstance.getNodeInstances(); for ( NodeInstance nodeInstance : groupNodeInstances ) { _exclusive.addGroupNodeInstanceId( nodeInstance.getId() ); _instance.addExclusiveGroup( _exclusive.build() );
public Builder mergeFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { org.jbpm.marshalling.impl.JBPMMessages.ProcessInstance.ExclusiveGroupInstance parsedMessage = null; try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { parsedMessage = (org.jbpm.marshalling.impl.JBPMMessages.ProcessInstance.ExclusiveGroupInstance) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { mergeFrom(parsedMessage); } } return this; } private int bitField0_;
public Builder mergeFrom(org.jbpm.marshalling.impl.JBPMMessages.ProcessInstance.ExclusiveGroupInstance other) { if (other == org.jbpm.marshalling.impl.JBPMMessages.ProcessInstance.ExclusiveGroupInstance.getDefaultInstance()) return this; if (!other.groupNodeInstanceId_.isEmpty()) { if (groupNodeInstanceId_.isEmpty()) { groupNodeInstanceId_ = other.groupNodeInstanceId_; bitField0_ = (bitField0_ & ~0x00000001); } else { ensureGroupNodeInstanceIdIsMutable(); groupNodeInstanceId_.addAll(other.groupNodeInstanceId_); } onChanged(); } this.mergeUnknownFields(other.unknownFields); onChanged(); return this; }
/** * <code>repeated .org.jbpm.marshalling.ProcessInstance.ExclusiveGroupInstance exclusive_group = 10;</code> */ public Builder addExclusiveGroup( int index, org.jbpm.marshalling.impl.JBPMMessages.ProcessInstance.ExclusiveGroupInstance.Builder builderForValue) { if (exclusiveGroupBuilder_ == null) { ensureExclusiveGroupIsMutable(); exclusiveGroup_.add(index, builderForValue.build()); onChanged(); } else { exclusiveGroupBuilder_.addMessage(index, builderForValue.build()); } return this; } /**
/** * <code>repeated .org.jbpm.marshalling.ProcessInstance.ExclusiveGroupInstance exclusive_group = 10;</code> */ public Builder addExclusiveGroup( org.jbpm.marshalling.impl.JBPMMessages.ProcessInstance.ExclusiveGroupInstance.Builder builderForValue) { if (exclusiveGroupBuilder_ == null) { ensureExclusiveGroupIsMutable(); exclusiveGroup_.add(builderForValue.build()); onChanged(); } else { exclusiveGroupBuilder_.addMessage(builderForValue.build()); } return this; } /**
/** * <code>repeated .org.jbpm.marshalling.ProcessInstance.ExclusiveGroupInstance exclusive_group = 10;</code> */ public Builder setExclusiveGroup( int index, org.jbpm.marshalling.impl.JBPMMessages.ProcessInstance.ExclusiveGroupInstance.Builder builderForValue) { if (exclusiveGroupBuilder_ == null) { ensureExclusiveGroupIsMutable(); exclusiveGroup_.set(index, builderForValue.build()); onChanged(); } else { exclusiveGroupBuilder_.setMessage(index, builderForValue.build()); } return this; } /**
/** * <code>repeated .org.jbpm.marshalling.ProcessInstance.ExclusiveGroupInstance exclusive_group = 5;</code> */ public Builder setExclusiveGroup( int index, org.jbpm.marshalling.impl.JBPMMessages.ProcessInstance.ExclusiveGroupInstance.Builder builderForValue) { if (exclusiveGroupBuilder_ == null) { ensureExclusiveGroupIsMutable(); exclusiveGroup_.set(index, builderForValue.build()); onChanged(); } else { exclusiveGroupBuilder_.setMessage(index, builderForValue.build()); } return this; } /**
/** * <code>repeated .org.jbpm.marshalling.ProcessInstance.ExclusiveGroupInstance exclusive_group = 5;</code> */ public Builder addExclusiveGroup( org.jbpm.marshalling.impl.JBPMMessages.ProcessInstance.ExclusiveGroupInstance.Builder builderForValue) { if (exclusiveGroupBuilder_ == null) { ensureExclusiveGroupIsMutable(); exclusiveGroup_.add(builderForValue.build()); onChanged(); } else { exclusiveGroupBuilder_.addMessage(builderForValue.build()); } return this; } /**
private Builder() { maybeForceBuilderInitialization(); }
/** * <code>repeated .org.jbpm.marshalling.ProcessInstance.ExclusiveGroupInstance exclusive_group = 5;</code> */ public Builder addExclusiveGroup( int index, org.jbpm.marshalling.impl.JBPMMessages.ProcessInstance.ExclusiveGroupInstance.Builder builderForValue) { if (exclusiveGroupBuilder_ == null) { ensureExclusiveGroupIsMutable(); exclusiveGroup_.add(index, builderForValue.build()); onChanged(); } else { exclusiveGroupBuilder_.addMessage(index, builderForValue.build()); } return this; } /**
/** * <code>repeated int64 group_node_instance_id = 1;</code> */ public Builder setGroupNodeInstanceId( int index, long value) { ensureGroupNodeInstanceIdIsMutable(); groupNodeInstanceId_.set(index, value); onChanged(); return this; } /**
public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof org.jbpm.marshalling.impl.JBPMMessages.ProcessInstance.ExclusiveGroupInstance) { return mergeFrom((org.jbpm.marshalling.impl.JBPMMessages.ProcessInstance.ExclusiveGroupInstance)other); } else { super.mergeFrom(other); return this; } }
/** * <code>repeated int64 group_node_instance_id = 1;</code> */ public Builder addAllGroupNodeInstanceId( java.lang.Iterable<? extends java.lang.Long> values) { ensureGroupNodeInstanceIdIsMutable(); com.google.protobuf.AbstractMessageLite.Builder.addAll( values, groupNodeInstanceId_); onChanged(); return this; } /**
/** * <code>repeated int64 group_node_instance_id = 1;</code> */ public Builder addGroupNodeInstanceId(long value) { ensureGroupNodeInstanceIdIsMutable(); groupNodeInstanceId_.add(value); onChanged(); return this; } /**
@java.lang.Override protected Builder newBuilderForType( com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /**