/** * <pre> * the name of the resource used to deployed the workflow * </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; }
/** * <pre> * the BPMN process ID of the workflow definition * </pre> * * <code>string bpmnProcessId = 3;</code> */ public Builder setBpmnProcessId( java.lang.String value) { if (value == null) { throw new NullPointerException(); } bpmnProcessId_ = value; onChanged(); return this; } /**
/** * <pre> * the name of the resource used to deployed the workflow * </pre> * * <code>string resourceName = 4;</code> */ public Builder setResourceName( java.lang.String value) { if (value == null) { throw new NullPointerException(); } resourceName_ = value; onChanged(); return this; } /**
public Builder mergeFrom(io.zeebe.gateway.protocol.GatewayOuterClass.GetWorkflowResponse other) { if (other == io.zeebe.gateway.protocol.GatewayOuterClass.GetWorkflowResponse.getDefaultInstance()) return this; if (other.getWorkflowKey() != 0L) { setWorkflowKey(other.getWorkflowKey()); } if (other.getVersion() != 0) { setVersion(other.getVersion()); } if (!other.getBpmnProcessId().isEmpty()) { bpmnProcessId_ = other.bpmnProcessId_; onChanged(); } if (!other.getResourceName().isEmpty()) { resourceName_ = other.resourceName_; onChanged(); } if (!other.getBpmnXml().isEmpty()) { bpmnXml_ = other.bpmnXml_; onChanged(); } this.mergeUnknownFields(other.unknownFields); onChanged(); return this; }
/** * <pre> * a BPMN XML representation of the workflow * </pre> * * <code>string bpmnXml = 5;</code> */ public Builder setBpmnXmlBytes( com.google.protobuf.ByteString value) { if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); bpmnXml_ = value; onChanged(); return this; } @java.lang.Override
/** * <pre> * a BPMN XML representation of the workflow * </pre> * * <code>string bpmnXml = 5;</code> */ public Builder setBpmnXml( java.lang.String value) { if (value == null) { throw new NullPointerException(); } bpmnXml_ = value; onChanged(); return this; } /**
/** * <pre> * the BPMN process ID of the workflow definition * </pre> * * <code>string bpmnProcessId = 3;</code> */ public Builder setBpmnProcessIdBytes( com.google.protobuf.ByteString value) { if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); bpmnProcessId_ = value; onChanged(); return this; }
/** * <pre> * the name of the resource used to deployed the workflow * </pre> * * <code>string resourceName = 4;</code> */ public Builder clearResourceName() { resourceName_ = getDefaultInstance().getResourceName(); onChanged(); return this; } /**
/** * <pre> * the BPMN process ID of the workflow definition * </pre> * * <code>string bpmnProcessId = 3;</code> */ public Builder clearBpmnProcessId() { bpmnProcessId_ = getDefaultInstance().getBpmnProcessId(); onChanged(); return this; } /**
/** * <pre> * the unique key identifying the workflow definition (e.g. returned from a workflow in * the DeployWorkflowResponse message) * </pre> * * <code>int64 workflowKey = 1;</code> */ public Builder clearWorkflowKey() { workflowKey_ = 0L; onChanged(); return this; }
/** * <pre> * a BPMN XML representation of the workflow * </pre> * * <code>string bpmnXml = 5;</code> */ public Builder clearBpmnXml() { bpmnXml_ = getDefaultInstance().getBpmnXml(); onChanged(); return this; } /**
/** * <pre> * the version of the process * </pre> * * <code>int32 version = 2;</code> */ public Builder setVersion(int value) { version_ = value; onChanged(); return this; } /**
/** * <pre> * the unique key identifying the workflow definition (e.g. returned from a workflow in * the DeployWorkflowResponse message) * </pre> * * <code>int64 workflowKey = 1;</code> */ public Builder setWorkflowKey(long value) { workflowKey_ = value; onChanged(); return this; } /**
/** * <pre> * the version of the process * </pre> * * <code>int32 version = 2;</code> */ public Builder clearVersion() { version_ = 0; onChanged(); return this; }