/** * <pre> * the resource name (see: WorkflowRequestObject.name) from which this workflow was * parsed * </pre> * * <code>string resourceName = 4;</code> */ public Builder setResourceName( java.lang.String value) { if (value == null) { throw new NullPointerException(); } resourceName_ = value; onChanged(); return this; } /**
/** * <pre> * the bpmn process ID, as parsed during deployment; together with the version forms a * unique identifier for a specific workflow definition * </pre> * * <code>string bpmnProcessId = 1;</code> */ public Builder setBpmnProcessId( java.lang.String value) { if (value == null) { throw new NullPointerException(); } bpmnProcessId_ = value; onChanged(); return this; } /**
/** * <pre> * the resource name (see: WorkflowRequestObject.name) from which this workflow was * parsed * </pre> * * <code>string resourceName = 4;</code> */ public Builder setResourceNameBytes( com.google.protobuf.ByteString value) { if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); resourceName_ = value; onChanged(); return this; } @java.lang.Override
public Builder mergeFrom(io.zeebe.gateway.protocol.GatewayOuterClass.WorkflowMetadata other) { if (other == io.zeebe.gateway.protocol.GatewayOuterClass.WorkflowMetadata.getDefaultInstance()) return this; if (!other.getBpmnProcessId().isEmpty()) { bpmnProcessId_ = other.bpmnProcessId_; onChanged(); } if (other.getVersion() != 0) { setVersion(other.getVersion()); } if (other.getWorkflowKey() != 0L) { setWorkflowKey(other.getWorkflowKey()); } if (!other.getResourceName().isEmpty()) { resourceName_ = other.resourceName_; onChanged(); } this.mergeUnknownFields(other.unknownFields); onChanged(); return this; }
/** * <pre> * the bpmn process ID, as parsed during deployment; together with the version forms a * unique identifier for a specific workflow definition * </pre> * * <code>string bpmnProcessId = 1;</code> */ public Builder setBpmnProcessIdBytes( com.google.protobuf.ByteString value) { if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); bpmnProcessId_ = value; onChanged(); return this; }
/** * <pre> * the resource name (see: WorkflowRequestObject.name) from which this workflow was * parsed * </pre> * * <code>string resourceName = 4;</code> */ public Builder clearResourceName() { resourceName_ = getDefaultInstance().getResourceName(); onChanged(); return this; } /**
/** * <pre> * the bpmn process ID, as parsed during deployment; together with the version forms a * unique identifier for a specific workflow definition * </pre> * * <code>string bpmnProcessId = 1;</code> */ public Builder clearBpmnProcessId() { bpmnProcessId_ = getDefaultInstance().getBpmnProcessId(); onChanged(); return this; } /**
/** * <pre> * the assigned process version * </pre> * * <code>int32 version = 2;</code> */ public Builder setVersion(int value) { version_ = value; onChanged(); return this; } /**
/** * <pre> * the assigned key, which acts as a unique identifier for this workflow * </pre> * * <code>int64 workflowKey = 3;</code> */ public Builder setWorkflowKey(long value) { workflowKey_ = value; onChanged(); return this; } /**
/** * <pre> * the assigned process version * </pre> * * <code>int32 version = 2;</code> */ public Builder clearVersion() { version_ = 0; onChanged(); return this; }
/** * <pre> * the assigned key, which acts as a unique identifier for this workflow * </pre> * * <code>int64 workflowKey = 3;</code> */ public Builder clearWorkflowKey() { workflowKey_ = 0L; onChanged(); return this; }