/** * <pre> * List of workflow resources to deploy * </pre> * * <code>repeated .gateway_protocol.WorkflowRequestObject workflows = 1;</code> */ public io.zeebe.gateway.protocol.GatewayOuterClass.WorkflowRequestObject.Builder addWorkflowsBuilder() { return getWorkflowsFieldBuilder().addBuilder( io.zeebe.gateway.protocol.GatewayOuterClass.WorkflowRequestObject.getDefaultInstance()); } /**
/** * <pre> * List of workflow resources to deploy * </pre> * * <code>repeated .gateway_protocol.WorkflowRequestObject workflows = 1;</code> */ public io.zeebe.gateway.protocol.GatewayOuterClass.WorkflowRequestObject.Builder addWorkflowsBuilder( int index) { return getWorkflowsFieldBuilder().addBuilder( index, io.zeebe.gateway.protocol.GatewayOuterClass.WorkflowRequestObject.getDefaultInstance()); } /**
public Builder mergeFrom(io.zeebe.gateway.protocol.GatewayOuterClass.WorkflowRequestObject other) { if (other == io.zeebe.gateway.protocol.GatewayOuterClass.WorkflowRequestObject.getDefaultInstance()) return this; if (!other.getName().isEmpty()) { name_ = other.name_; onChanged(); } if (other.type_ != 0) { setTypeValue(other.getTypeValue()); } if (other.getDefinition() != com.google.protobuf.ByteString.EMPTY) { setDefinition(other.getDefinition()); } this.mergeUnknownFields(other.unknownFields); onChanged(); return this; }
/** * <pre> * the process definition as a UTF8-encoded string * </pre> * * <code>bytes definition = 3;</code> */ public Builder clearDefinition() { definition_ = getDefaultInstance().getDefinition(); onChanged(); return this; } @java.lang.Override
/** * <pre> * the resource basename, e.g. myProcess.bpmn * </pre> * * <code>string name = 1;</code> */ public Builder clearName() { name_ = getDefaultInstance().getName(); onChanged(); return this; } /**
@java.lang.Override public io.zeebe.gateway.protocol.GatewayOuterClass.WorkflowRequestObject getDefaultInstanceForType() { return io.zeebe.gateway.protocol.GatewayOuterClass.WorkflowRequestObject.getDefaultInstance(); }